1 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5 imaginary part less than 1.0 and real part less than 0.5
7 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10 (cacos_test): Add more tests.
11 (casin_test): Likewise.
12 (casinh_test): Likewise.
13 * sysdeps/i386/fpu/libm-test-ulps: Update.
14 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22 (__pow_mp): Replace ONE and MONE with their values.
23 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33 (__pow_mp): Replace ZERO and MZERO with their values.
34 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
42 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
46 2013-03-28 Roland McGrath <roland@hack.frob.com>
48 * include/stdlib.h [!SHARED] (__call_tls_dtors):
49 Declare with __attribute__ ((weak)).
50 * stdlib/exit.c (__libc_atexit) [!SHARED]:
51 Call __call_tls_dtors only if it's not NULL.
53 2013-03-28 Roland McGrath <roland@hack.frob.com>
55 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56 didn't do it already, then set _dl_phdr and _dl_phnum based on the
57 magic __ehdr_start linker symbol if it's defined.
58 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
59 them up here if it was already done.
61 * elf/dl-support.c (_dl_phdr): Make pointer to const.
62 (_dl_aux_init): Use const in cast when setting it.
63 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
64 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
65 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
67 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
70 * csu/libc-tls.c: Nor here.
71 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
73 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
74 (__libc_message): Never call vsyslog.
76 2013-03-28 Alan Modra <amodra@gmail.com>
78 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
80 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
83 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
86 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
88 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
90 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
93 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
94 Don't add gid passed as argument.
96 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
98 2013-03-27 Joseph Myers <joseph@codesourcery.com>
101 * math/k_casinh.c (__kernel_casinh): Handle arguments with
102 imaginary part between 1.0 and 1.5 and real part less than 0.5
104 * math/k_casinhf.c (__kernel_casinhf): Likewise.
105 * math/k_casinhl.c (__kernel_casinhl): Likewise.
106 * math/libm-test.inc (cacos_test): Add more tests.
107 (casin_test): Likewise.
108 (casinh_test): Likewise.
109 * sysdeps/i386/fpu/libm-test-ulps: Update.
110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
112 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
114 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
118 (__dbl_mp): Likewise.
119 (add_magnitudes): Likewise.
120 (sub_magnitudes): Likewise.
128 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
130 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
131 (__dubcos): Likewise.
132 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
133 (__ieee754_acos): Likewise.
134 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
135 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
141 (checkint): Likewise.
142 * sysdeps/ieee754/dbl-64/e_remainder.c
143 (__ieee754_remainder): Likewise.
144 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
147 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
149 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
150 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
151 MANTISSA_STORE_T to store computations on mantissa. Use
152 macros for rounding and division.
154 (__dbl_mp): Likewise.
155 (add_magnitudes): Likewise.
156 (sub_magnitudes): Likewise.
159 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
160 powers of two in terms of TWOPOW macro.
161 (mp_no): Make type of mantissa as MANTISSA_T.
162 [!RADIXI]: Define RADIXI.
163 [!TWO52]: Define TWO52.
164 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
166 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
168 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
169 llroundl symbol when building for PPC32.
171 2013-03-24 Mark H Weaver <mhw@netris.org>
173 * manual/arith.texi (Normalization Functions): Fix prototypes for
174 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
176 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
180 high value to check if expl overflow.
181 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
182 to check for underflow and overflow.
183 * math/libm-test.inc: Add exp test.
185 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
188 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
191 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
193 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
196 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
198 * math/gen-libm-test.pl (parse_args, special_functions): Properly
199 wrap blocks consisting of several statements.
201 * sysdeps/generic/math-tests.h: New file.
202 * sysdeps/i386/fpu/math-tests.h: Likewise.
203 * math/test-snan.c: Include it.
204 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
206 2013-03-21 Joseph Myers <joseph@codesourcery.com>
209 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
210 (__ieee754_j0l): Do not improve calculations using cos of twice
211 input for inputs above LDBL_MAX / 2.0L.
212 (__ieee754_y0l): Likewise.
213 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
214 (__ieee754_j1l): Do not improve calculations using cos of twice
215 input for inputs above LDBL_MAX / 2.0L.
216 (__ieee754_y1l): Likewise.
217 * math/libm-test.inc (j0_test): Add another test.
221 * sysdeps/i386/fpu/libm-test-ulps: Update.
223 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
225 * Rules ($(objpfx)bench-%.c): Include code from a C source
228 2013-03-21 Joseph Myers <joseph@codesourcery.com>
231 * math/k_casinh.c (__kernel_casinh): Handle arguments with
232 imaginary part 1.0 and real part less than 0.5 specially.
233 * math/k_casinhf.c (__kernel_casinhf): Likewise.
234 * math/k_casinhl.c (__kernel_casinhl): Likewise.
235 * math/libm-test.inc (cacos_test): Add more tests.
236 (casin_test): Likewise.
237 (casinh_test): Likewise.
238 * sysdeps/i386/fpu/libm-test-ulps: Update.
239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
241 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
243 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
244 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
246 2013-03-20 Joseph Myers <joseph@codesourcery.com>
248 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
249 * config.make.in (config-cflags-sse4): Remove variable.
250 (config-cflags-avx): Likewise.
251 (config-cflags-sse2avx): Likewise.
252 (config-cflags-novzeroupper): Likewise.
253 (config-asflags-i686): Likewise.
254 (have-mfma4): Likewise.
255 (have-as-vis3): Likewise.
257 * configure.in (MIG): Do not AC_SUBST.
258 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
259 (libc_cv_cc_sse4): Do not AC_SUBST.
260 (libc_cv_cc_avx): Likewise.
261 (libc_cv_cc_sse2avx): Likewise.
262 (libc_cv_cc_novzeroupper): Likewise.
263 (libc_cv_cc_fma4): Likewise.
264 (libc_cv_as_i686): Likewise.
265 (libc_cv_sparc_as_vis3): Likewise.
266 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
268 (config-asflags-i686): Likewise.
269 (config-cflags-avx): Likewise.
270 (config-cflags-sse2avx): Likewise.
271 (have-mfma4): Likewise.
272 (config-cflags-novzeroupper): Likewise.
273 * sysdeps/mach/configure.in (MIG): Likewise.
274 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
275 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
277 (config-cflags-avx): Likewise.
278 (config-cflags-sse2avx): Likewise.
279 (have-mfma4): Likewise.
280 (config-cflags-novzeroupper): Likewise.
281 * configure: Regenerated.
282 * sysdeps/i386/configure: Likewise.
283 * sysdeps/mach/configure: Likewise.
284 * sysdeps/sparc/configure: Likewise.
285 * sysdeps/x86_64/configure: Likewise.
287 2013-03-20 Roland McGrath <roland@hack.frob.com>
290 * locale/programs/localedef.c (options): Put N_ translation marker
291 on argument names, not just descriptions.
293 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
295 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
297 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
300 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
302 2013-03-19 Roland McGrath <roland@hack.frob.com>
304 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
305 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
306 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
307 [!BEFORE_ABORT] (before_abort): New function.
308 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
309 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
310 (writev_for_fatal): New function.
311 (WRITEV_FOR_FATAL): New macro; call that.
312 (backtrace_and_maps): New function.
313 (BEFORE_ABORT): New macro; call that.
314 (struct str_list): Type removed.
315 (__libc_message, __libc_fatal): Functions removed.
316 Include <sysdeps/posix/libc_fatal.c> instead.
318 2013-03-19 Joseph Myers <joseph@codesourcery.com>
320 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
322 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
325 2013-03-19 Andreas Schwab <schwab@suse.de>
327 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
328 * sysdeps/gnu/configure: Regenerate.
330 * configure.in: Substitute libc_cv_rtlddir.
331 * configure: Regenerate.
332 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
333 * Makeconfig (rtlddir, inst_rtlddir): New variables.
334 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
335 * elf/Makefile (install-others, CFLAGS-interp.c)
336 (ldso_install, common-ldd-rewrite): Likewise.
337 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
338 $(inst_slibdir)/$(rtld-installed-name).
339 * scripts/rellns-sh: Add -p option.
340 * Makerules (make-shlib-link): Use rellns-sh to get relative name
343 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
345 * manual/nptl.texi: Renamed to ...
346 * manual/threads.texi: ... this.
347 * manual/Makefile (chapters): Update.
349 2013-03-18 Roland McGrath <roland@hack.frob.com>
352 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
353 on argument names, not just descriptions.
354 * malloc/memusagestat.c (options): Likewise.
355 * nss/getent.c (options): Likewise.
357 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
360 * iconv/iconv_prog.c (options): Put N_ translation marker
361 on argument names, not just descriptions.
362 * iconv/iconvconfig.c (options): Likewise.
364 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
366 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
367 implementation which is faster on all x86_64 architectures.
368 Tested on AMD, Intel Nehalem, SNB, IVB.
369 * sysdeps/x86_64/strnlen.S: Likewise.
371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
372 Remove all multiarch strlen and strnlen versions.
373 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
374 Remove strlen and strnlen related parts.
376 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
378 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
380 * sysdeps/x86_64/multiarch/strlen.S: Remove.
381 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
382 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
383 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
384 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
385 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
387 2013-03-17 Carlos O'Donell <carlos@redhat.com>
389 * manual/memory.texi (Malloc Tunable Parameters):
390 Sort parameters alphabetically. Add comments for missing entries.
392 2013-03-17 David S. Miller <davem@davemloft.net>
394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
396 2013-03-16 Joseph Myers <joseph@codesourcery.com>
399 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
400 for arguments at most half maximum finite value.
401 * math/libm-test.inc (j0_test): Add more tests.
405 * sysdeps/i386/fpu/libm-test-ulps: Update.
406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
409 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
410 1 / x and functions P and Q for arguments above 0x1p256L.
411 (__ieee754_y0l): Likewise.
412 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
413 (__ieee754_y1l): Likewise.
414 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
419 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
421 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
424 2013-03-15 Roland McGrath <roland@hack.frob.com>
426 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
427 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
428 zero since it's initialized to EXEC_PAGESIZE.
430 * sysdeps/unix/sysv/linux/ldsodefs.h
431 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
432 * sysdeps/generic/ldsodefs.h: ... here.
434 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
436 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
438 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
440 * math/test-snan.c: Renamed from
441 sysdeps/powerpc/fpu/test-powerpc-snan.c.
442 * math/Makefile (tests): Add test-snan.
443 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
446 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
447 SUFFIX. Initialize qNaN_var with __builtin_nan family of
449 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
450 __builtin_nan family of functions.
451 * math/libm-test.inc (initialize): Initialize qnan_value with
452 __builtin_nan family of functions.
453 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
455 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
457 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
458 storage class. Initialize qNaN_var and sNaN_var with
459 __builtin_nan and __builtin_nans families of functions,
462 * math/libm-test.inc (acosh_test): Also test with qNaN input.
463 (sqrt_test): Remove duplicate test with qNaN input.
464 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
465 (round_test, signbit_test, significand_test): Note missing +/-Inf
466 as well as qNaN tests.
468 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
469 qNaN_var. Fix a few strings, too.
470 * math/libm-test.inc (nan_value): Rename to qnan_value.
471 * math/gen-libm-test.pl (%beautify): Adjust to that.
472 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
473 * math/test-misc.c (main): Likewise.
474 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
475 to __qnan_bytes, and __qnan_union, respectively.
476 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
478 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
479 and lqnanval, respectively.
480 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
481 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
482 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
483 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
485 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
486 * math/test-misc.c (main) [__x86_64__]: Enable test for long
489 * math/test-misc.c (main): Fix copy'n'pastos.
490 * misc/tst-efgcvt.c (special): Likewise.
492 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
495 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
497 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
498 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
499 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
500 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
502 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
504 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
505 macro to return vdso values correctly in IFUNC implementations.
506 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
507 Optimization by using IFUNC.
509 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
510 Richard Henderson <rth@redhat.com>
511 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
513 * Makefile.in (bench): New target.
514 * NEWS: Mention the benchmark framework.
515 * Rules (bench): Likewise.
516 (binaries-bench): Generate binaries for functions to
518 * benchtests/Makefile: New makefile for benchmark tests.
519 * benchtests/bench-skeleton.c: New skeleton file for benchmark
521 * benchtests/exp-inputs: New input file for EXP function.
522 * benchtests/pow-inputs: New input file for POW function.
523 * scripts/bench.pl: New script to generate source files for
526 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
528 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
529 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
530 computations on mantissa. Use macros for rounding and
533 (__dbl_mp): Likewise.
534 (add_magnitudes): Likewise.
535 (sub_magnitudes): Likewise.
538 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
539 powers of two in terms of TWOPOW macro.
540 (mp_no): Make type of mantissa as MANTISSA_T.
541 [!RADIXI]: Define RADIXI.
542 [!TWO52]: Define TWO52.
543 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
545 * manual/nptl.texi (cindex): Modify threads to pthreads.
547 2013-03-15 Joseph Myers <joseph@codesourcery.com>
549 * sysdeps/x86_64/preconfigure: Regenerated.
551 2013-03-14 Joseph Myers <joseph@codesourcery.com>
554 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
556 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
557 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
559 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
560 * math/libm-test.inc (j0_test): Do not allow one spurious
564 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
566 * manual/Makefile (chapters): Add nptl.
567 * manual/debug.texi (Debugging Support): Add link to Threads
569 * manual/nptl.texi: New file.
571 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
573 2013-03-14 Petr Baudis <pasky@ucw.cz>
575 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
576 for non-NULL pointer before the memory validity test. Pointed
577 out by Holger Brunck <holger.brunck@keymile.com>.
579 2013-03-13 Andreas Schwab <schwab@suse.de>
581 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
584 2013-03-13 Joseph Myers <joseph@codesourcery.com>
586 * timezone/zic.c: Update from tzcode 2013b.
588 2013-03-12 Carlos O'Donell <carlos@redhat.com>
590 * manual/install.texi (Configuring and compiling):
591 Mention i686 and i586.
592 * INSTALL: Regenerate.
594 2013-03-12 Roland McGrath <roland@hack.frob.com>
596 * sysdeps/init_array/elf-init.c: New file.
598 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
599 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
601 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
602 __gmon_start__ as global, but as static with a .preinit_array pointer.
603 * sysdeps/init_array/gmon-start.c: New file. Use that.
604 * sysdeps/init_array/crti.S: New file, empty except for comments.
605 * sysdeps/init_array/crtn.S: Likewise.
607 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
609 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
612 Remove Prefer_SSE_for_memop.
613 * sysdeps/x86_64/multiarch/init-arch.h: Remove
614 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
615 HAS_PREFER_SSE_FOR_MEMOP.
616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
619 Remove bzero, memset ifunc support.
620 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
621 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
622 * sysdeps/x86_64/multiarch/memset.S: Likewise.
623 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
625 2013-03-11 Andreas Schwab <schwab@suse.de>
628 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
631 (GLIBC_2.16): Remove pthread_atfork.
633 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
635 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
636 (ptestcases.h): Likewise.
638 2013-03-08 Roland McGrath <roland@hack.frob.com>
640 * Makeconfig ($(common-objpfx)config.status): Depend on
641 sysdeps/*/preconfigure{,.in} too.
643 2013-03-08 Joseph Myers <joseph@codesourcery.com>
645 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
646 (__free_hook): Use void * instead of __malloc_ptr_t.
647 (__malloc_hook): Likewise.
648 (__realloc_hook): Likewise.
649 (__memalign_hook): Likewise.
650 (__after_morecore_hook): Likewise.
651 * malloc/arena.c (save_malloc_hook): Likewise.
652 (save_free_hook): Likewise.
653 * malloc/hooks.c (malloc_hook_ini): Likewise.
654 (realloc_hook_ini): Likewise.
655 (memalign_hook_ini): Likewise.
656 * malloc/malloc.c (malloc_hook_ini): Likewise.
657 (realloc_hook_ini): Likewise.
658 (memalign_hook_ini): Likewise.
659 (__free_hook): Likewise.
660 (__malloc_hook): Likewise.
661 (__realloc_hook): Likewise.
662 (__memalign_hook): Likewise.
663 (__libc_malloc): Likewise.
664 (__libc_free): Likewise.
665 (__libc_realloc): Likewise.
666 (__libc_memalign): Likewise.
667 (__libc_valloc): Likewise.
668 (__libc_pvalloc): Likewise.
669 (__libc_calloc): Likewise.
670 (__posix_memalign): Likewise.
671 * malloc/morecore.c (__sbrk): Likewise.
672 (__default_morecore): Likewise.
674 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
676 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
677 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
680 * malloc/malloc.h (__malloc_size_t): Remove macro.
681 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
683 (old_memalign_hook): Likewise.
684 (old_realloc_hook): Likewise.
685 (struct hdr): Likewise.
687 (mallochook): Likewise.
688 (memalignhook): Likewise.
689 (reallochook): Likewise.
690 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
691 (tr_old_realloc_hook): Likewise.
692 (tr_old_memalign_hook): Likewise.
693 (tr_mallochook): Likewise.
694 (tr_reallochook): Likewise.
695 (tr_memalignhook): Likewise.
697 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
700 default_ldbl_pack and using as default implementation.
701 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
703 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
704 redundant definition.
705 (ldbl_insert_mantissa): Likewise.
706 (ldbl_canonicalize): Likewise.
707 (ldbl_nearbyint): Likewise.
708 (ldbl_pack): Rename to ldbl_pack_ppc.
709 (ldbl_unpack): Rename to ldbl_unpack_ppc.
710 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
711 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
713 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
716 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
717 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
718 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
720 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
721 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
722 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
724 2013-03-07 Andreas Jaeger <aj@suse.de>
726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
731 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
732 Include mpa.h and declare __MPEXP.
733 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
734 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
735 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
736 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
737 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
738 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
739 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
741 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
742 (__slowpow): Use long double EXPL and LOGL functions to
744 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
745 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
746 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
747 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
748 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
749 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
752 intermediate variable to calculate exponent.
754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
758 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
759 [!NO__SQR]: Define __sqr.
760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
761 and NO__SQR. Remove all code except __mul and __sqr. Include
762 sysdeps/ieee754/dbl-64/mpa.c.
763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
766 * posix/Makefile (tests): Add tst-pathconf.
767 * posix/tst-pathconf.c: New test case.
768 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
770 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
772 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
774 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
776 2013-03-06 Andreas Jaeger <aj@suse.de>
778 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
779 definition via __MAP_ANONYMOUS.
781 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
782 it's not part of Linux headers.
784 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
785 (MAP_HUGE_MASK): Define.
787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
790 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
792 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
793 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
795 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
796 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
798 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
800 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
801 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
802 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
803 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
804 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
805 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
807 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
810 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
811 Handle f2fs and efivarfs.
813 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
816 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
817 (EFIVARFS_MAGIC): Add.
818 (F2FS_LINK_MAX): Add.
820 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
822 * stdio-common/vfprintf.c: Replace __builtin_expect with
825 2013-03-06 Joseph Myers <joseph@codesourcery.com>
828 * sysdeps/generic/bp-sym.h: Remove file.
829 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
830 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
831 <bp-sym.h> and <bp-asm.h>.
832 (__longjmp): Don't use BP_SYM.
833 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
835 (memcpy): Don't use BP_SYM.
836 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
837 <bp-sym.h> and <bp-asm.h>.
838 (memcpy): Don't use BP_SYM.
839 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
841 (memcpy): Don't use BP_SYM.
842 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
844 (memset): Don't use BP_SYM.
845 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
846 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
847 (__bzero): Don't use BP_SYM.
848 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
849 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
850 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
851 <bp-sym.h> and <bp-asm.h>.
852 (memcmp): Don't use BP_SYM. Remove comment about bounded
854 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
855 <bp-sym.h> and <bp-asm.h>.
856 (memcpy): Don't use BP_SYM.
857 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
858 <bp-sym.h> and <bp-asm.h>.
859 (memset): Don't use BP_SYM.
860 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
861 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
862 (__bzero): Don't use BP_SYM.
863 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
864 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
865 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
866 <bp-sym.h> and <bp-asm.h>.
867 (strncmp): Don't use BP_SYM. Remove comment about bounded
869 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
870 <bp-sym.h> and <bp-asm.h>.
871 (memcpy): Don't use BP_SYM.
872 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
873 <bp-sym.h> and <bp-asm.h>.
874 (memset): Don't use BP_SYM.
875 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
876 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
877 (__bzero): Don't use BP_SYM.
878 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
879 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
881 <bp-sym.h> and <bp-asm.h>.
882 (__memchr): Don't use BP_SYM.
883 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
884 <bp-sym.h> and <bp-asm.h>.
885 (memcmp): Don't use BP_SYM. Remove comment about bounded
887 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
888 <bp-sym.h> and <bp-asm.h>.
889 (memcpy): Don't use BP_SYM.
890 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
891 <bp-sym.h> and <bp-asm.h>.
892 (__mempcpy): Don't use BP_SYM.
893 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
894 <bp-sym.h> and <bp-asm.h>.
895 (__memrchr): Don't use BP_SYM.
896 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
897 <bp-sym.h> and <bp-asm.h>.
898 (memset): Don't use BP_SYM.
900 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
901 <bp-sym.h> and <bp-asm.h>.
902 (__rawmemchr): Don't use BP_SYM.
903 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
904 <bp-sym.h> and <bp-asm.h>.
905 (__STRCMP): Don't use BP_SYM.
906 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
907 <bp-sym.h> and <bp-asm.h>.
908 (strchr): Don't use BP_SYM.
909 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
910 <bp-sym.h> and <bp-asm.h>.
911 (__strchrnul): Don't use BP_SYM.
912 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
913 <bp-sym.h> and <bp-asm.h>.
914 (strlen): Don't use BP_SYM.
915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
916 <bp-sym.h> and <bp-asm.h>.
917 (strncmp): Don't use BP_SYM. Remove comment about bounded
919 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
920 <bp-sym.h> and <bp-asm.h>.
921 (__strnlen): Don't use BP_SYM.
922 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
923 <bp-sym.h> and <bp-asm.h>.
924 (__GI__setjmp): Don't use BP_SYM.
926 (__sigsetjmp): Likewise.
927 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
928 (L(start_addresses)): Don't use BP_SYM.
930 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
932 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
933 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
934 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
935 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
936 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
938 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
939 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
940 about bounded pointers.
941 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
942 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
943 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
945 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
946 about bounded pointers. Remove GKM FIXME comments.
947 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
948 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
950 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
951 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
952 Remove GKM FIXME comments.
953 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
954 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
955 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
957 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
958 about bounded pointers. Remove GKM FIXME comment.
959 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
961 (strncmp): Don't use BP_SYM. Remove comment about bounded
963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
964 <bp-sym.h> and <bp-asm.h>.
965 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
967 <bp-sym.h> and <bp-asm.h>.
968 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
971 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
973 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
976 2013-03-05 David S. Miller <davem@davemloft.net>
978 * po/es.po: Update from translation team.
980 2013-03-05 Andreas Jaeger <aj@suse.de>
982 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
984 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
986 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
987 <bits/mman-linux.h> to end of file.
988 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
990 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
991 <bits/mman-linux.h> to end of file.
992 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
995 <bits/mman-linux.h> to end of file.
997 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
998 (MCL_CURRENT, MCL_FUTURE): Define here.
1000 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1005 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1007 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1009 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1010 fourth parameter needed for rt_sigprocmask syscall.
1011 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1012 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1013 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1014 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1015 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1016 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1018 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1021 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1022 comment about bounded pointers.
1023 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1024 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1026 2013-03-04 Andreas Jaeger <aj@suse.de>
1028 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1031 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1032 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1033 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1034 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1036 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1038 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1041 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1042 __ieee754_sqrl instead of __sqrl.
1044 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1046 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1047 * sysdeps/powerpc/fpu_control.h: ... here.
1048 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1049 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1050 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1051 * sysdeps/powerpc/bits/mathinline.h: ... here.
1053 2013-03-01 Roland McGrath <roland@hack.frob.com>
1055 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1056 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1057 to just [NEED_DL_SYSINFO_DSO].
1058 * elf/dl-support.c: Likewise.
1059 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1060 * elf/rtld.c (dl_main): Likewise.
1061 * elf/setup-vdso.h (setup_vdso): Likewise.
1062 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1063 * sysdeps/unix/sysv/linux/dl-sysdep.c
1064 (_dl_discover_osversion): Likewise.
1066 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1068 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1069 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1071 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1073 * NEWS: Mention libm performance improvements and non-x86 PI
1076 * csu/libc-start.c (__pthread_initialize_minimal): Change
1078 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1080 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1083 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1084 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1085 <bp-sym.h> and <bp-asm.h>.
1086 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1087 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1089 (memcpy): Don't use BP_SYM.
1090 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1092 (__mpn_add_n): Don't use BP_SYM.
1093 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1094 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1096 (__mpn_addmul_1): Don't use BP_SYM.
1097 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1098 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1100 (_setjmp): Don't use BP_SYM.
1101 (__novmx_setjmp): Likewise.
1102 (__GI__setjmp): Likewise.
1103 (__vmx_setjmp): Likewise.
1104 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1106 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1107 (__bzero): Don't use BP_SYM.
1108 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1109 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1110 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1111 <bp-sym.h> and <bp-asm.h>.
1112 (memcpy): Don't use BP_SYM.
1113 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1114 <bp-sym.h> and <bp-asm.h>.
1115 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1116 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1117 <bp-sym.h> and <bp-asm.h>.
1118 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1119 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1121 (__mpn_lshift): Don't use BP_SYM.
1122 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1123 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1125 (memset): Don't use BP_SYM.
1126 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1127 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1128 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1130 (__mpn_mul_1): Don't use BP_SYM.
1131 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1132 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1133 <bp-sym.h> and <bp-asm.h>.
1134 (memcmp): Don't use BP_SYM.
1135 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1136 <bp-sym.h> and <bp-asm.h>.
1137 (memcpy): Don't use BP_SYM.
1138 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1139 <bp-sym.h> and <bp-asm.h>.
1140 (memset): Don't use BP_SYM.
1141 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1142 <bp-sym.h> and <bp-asm.h>.
1143 (strncmp): Don't use BP_SYM.
1144 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1145 <bp-sym.h> and <bp-asm.h>.
1146 (memcpy): Don't use BP_SYM.
1147 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1148 <bp-sym.h> and <bp-asm.h>.
1149 (memset): Don't use BP_SYM.
1150 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1151 <bp-sym.h> and <bp-asm.h>.
1152 (__memchr): Don't use BP_SYM.
1153 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1154 <bp-sym.h> and <bp-asm.h>.
1155 (memcmp): Don't use BP_SYM.
1156 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1157 <bp-sym.h> and <bp-asm.h>.
1158 (memcpy): Don't use BP_SYM.
1159 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1160 <bp-sym.h> and <bp-asm.h>.
1161 (__mempcpy): Don't use BP_SYM.
1162 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1163 <bp-sym.h> and <bp-asm.h>.
1164 (__memrchr): Don't use BP_SYM.
1165 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1166 <bp-sym.h> and <bp-asm.h>.
1167 (memset): Don't use BP_SYM.
1168 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1169 <bp-sym.h> and <bp-asm.h>.
1170 (__rawmemchr): Don't use BP_SYM.
1171 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1172 <bp-sym.h> and <bp-asm.h>.
1173 (__STRCMP): Don't use BP_SYM.
1174 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1175 <bp-sym.h> and <bp-asm.h>.
1176 (strchr): Don't use BP_SYM.
1177 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1178 <bp-sym.h> and <bp-asm.h>.
1179 (__strchrnul): Don't use BP_SYM.
1180 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1181 <bp-sym.h> and <bp-asm.h>.
1182 (strlen): Don't use BP_SYM.
1183 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1184 <bp-sym.h> and <bp-asm.h>.
1185 (strncmp): Don't use BP_SYM.
1186 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1187 <bp-sym.h> and <bp-asm.h>.
1188 (__strnlen): Don't use BP_SYM.
1189 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1191 (__mpn_rshift): Don't use BP_SYM.
1192 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1193 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1194 <bp-sym.h> and <bp-asm.h>.
1195 (__sigsetjmp): Don't use BP_SYM.
1196 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1197 (L(start_addresses)): Don't use BP_SYM.
1199 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1201 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1202 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1203 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1204 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1206 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1207 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1208 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1209 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1211 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1213 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1214 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1216 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1218 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1219 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1220 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1222 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1224 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1226 (strncmp): Don't use BP_SYM,
1227 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1229 (__mpn_sub_n): Don't use BP_SYM.
1230 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1231 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1233 (__mpn_submul_1): Don't use BP_SYM.
1234 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1236 <bp-sym.h> and <bp-asm.h>.
1237 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1239 <bp-sym.h> and <bp-asm.h>.
1240 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1243 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1246 Use ZK to minimize writes to Z.
1247 (sub_magnitudes): Simplify code a bit.
1248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1249 Use ZK to minimize writes to Z.
1250 (sub_magnitudes): Simplify code a bit.
1252 2013-02-27 Roland McGrath <roland@hack.frob.com>
1254 * csu/gmon-start.c: Add special exception to license text.
1256 2013-02-27 Richard Henderson <rth@redhat.com>
1258 * scripts/config.guess: Update from config.git.
1259 * scripts/config.sub: Likewise.
1261 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1263 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1265 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1267 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1269 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1271 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1273 2013-02-26 Roland McGrath <roland@hack.frob.com>
1275 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1276 [$(build-shared = yes].
1278 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1280 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1281 (__mul): Reduce iterations for calculating mantissa.
1283 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1285 (__mpranred): Likewise.
1288 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1289 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1291 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1293 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1294 Define __attribute__.
1296 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1298 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1300 * posix/regex_internal.h (__attribute): Remove.
1301 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1302 (re_string_context_at): Likewise.
1303 (bitset_not): Use __attribute__ and mark function as possibly
1305 (bitset_merge): Likewise.
1306 (bitset_mask): Likewise.
1307 (re_string_char_size_at): Likewise.
1308 (re_string_wchar_at): Likewise.
1309 (re_string_elem_size_at): Likewise.
1311 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1313 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1317 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1322 (__dbl_mp): Likewise.
1323 (add_magnitudes): Likewise.
1324 (sub_magnitudes): Likewise.
1328 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1331 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1334 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1338 up changes with default code.
1339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1342 2013-02-24 Allan McRae <allan@archlinux.org>
1344 * manual/socket.texi (The Internet Namespace): Order menu items
1345 to match that in the file.
1347 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1348 node listing of the info page menu.
1350 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1353 * sysdeps/i386/bp-asm.h: Remove file.
1354 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1355 (PARMS): Do not use macros from bp-asm.h.
1359 (__mpn_add_n): Do not use BP_SYM
1360 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1362 (PARMS): Do not use macros from bp-asm.h.
1365 (__mpn_addmul_1): Do not use BP_SYM
1366 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1368 (PARMS): Do not use macros from bp-asm.h.
1370 (_setjmp): Likewise. Do not use BP_SYM.
1371 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1373 (PARMS): Do not use macros from bp-asm.h.
1375 (setjmp): Likewise. Do not use BP_SYM.
1376 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1378 (PARMS): Do not use macros from bp-asm.h.
1379 (__frexp): Do not use BP_SYM.
1381 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1383 (PARMS): Do not use macros from bp-asm.h.
1384 (__frexpf): Do not use BP_SYM.
1386 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1388 (PARMS): Do not use macros from bp-asm.h.
1389 (__frexpl): Do not use BP_SYM.
1391 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1393 (PARMS): Do not use macros from bp-asm.h.
1394 (__remquo): Do not use BP_SYM.
1396 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1398 (PARMS): Do not use macros from bp-asm.h.
1399 (__remquof): Do not use BP_SYM.
1400 (remquof): Likewise.
1401 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1403 (PARMS): Do not use macros from bp-asm.h.
1404 (__remquol): Do not use BP_SYM.
1405 (remquol): Likewise.
1406 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1408 (PARMS): Do not use macros from bp-asm.h.
1411 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1412 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1414 (PARMS): Do not use macros from bp-asm.h.
1415 (strlen): Do not use BP_SYM.
1416 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1418 (PARMS): Do not use macros from bp-asm.h.
1422 (__mpn_add_n): Do not use BP_SYM.
1423 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1425 (PARMS): Do not use macros from bp-asm.h.
1428 (__mpn_addmul_1): Do not use BP_SYM.
1429 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1432 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1434 (PARMS): Do not use macros from bp-asm.h.
1437 (__mpn_lshift): Do not use BP_SYM.
1438 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1440 (PARMS): Do not use macros from bp-asm.h.
1444 (memcpy): Likewise. Do not use BP_SYM.
1445 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1446 libc_hidden_def and weak_alias.
1447 (mempcpy): Do not use BP_SYM in weak_alias.
1448 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1450 (PARMS): Do not use macros from bp-asm.h.
1453 [!BZERO_P] (CHR): Likewise.
1454 (memset): Likewise. Do not use BP_SYM.
1455 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1457 (PARMS): Do not use macros from bp-asm.h.
1460 (__mpn_mul_1): Do not use BP_SYM.
1461 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1463 (PARMS): Do not use macros from bp-asm.h.
1466 (__mpn_rshift): Do not use BP_SYM.
1467 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1469 (PARMS): Do not use macros from bp-asm.h.
1472 (strchr): Likewise. Do not use BP_SYM.
1473 (index): Do not use BP_SYM in weak_alias.
1474 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1476 (PARMS): Do not use macros from bp-asm.h.
1479 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1480 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1482 (PARMS): Do not use macros from bp-asm.h.
1483 (strlen): Do not use BP_SYM.
1484 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1486 (PARMS): Do not use macros from bp-asm.h.
1490 (__mpn_sub_n): Do not use BP_SYM.
1491 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1493 (PARMS): Do not use macros from bp-asm.h.
1496 (__mpn_submul_1): Do not use BP_SYM.
1497 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1499 (PARMS): Do not use macros from bp-asm.h.
1503 (__mpn_add_n): Do not use BP_SYM.
1504 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1507 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1509 (PARMS): Do not use macros from bp-asm.h.
1512 (memcmp): Do not use BP_SYM.
1513 (bcmp): Do not use BP_SYM in weak_alias.
1514 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1516 (PARMS): Do not use macros from bp-asm.h.
1520 (memcpy): Likewise. Do not use BP_SYM.
1521 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1523 (PARMS): Do not use macros from bp-asm.h.
1527 (memmove): Likewise. Do not use BP_SYM.
1528 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1530 (PARMS): Do not use macros from bp-asm.h.
1534 (__mempcpy): Likewise. Do not use BP_SYM.
1535 (mempcpy): Do not use BP_SYM in weak_alias.
1536 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1538 (PARMS): Do not use macros from bp-asm.h.
1541 [!BZERO_P] (CHR): Likewise.
1542 (memset): Likewise. Do not use BP_SYM.
1543 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1545 (PARMS): Do not use macros from bp-asm.h.
1547 (strcmp): Do not use BP_SYM.
1548 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1550 (PARMS): Do not use macros from bp-asm.h.
1553 [USE_AS_STRTOK_R] (SAVE): Likewise.
1554 (FUNCTION): Likewise. Do not use BP_SYM.
1555 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1557 (strtok_r): Likewise.
1558 (__GI___strtok_r): Likewise.
1559 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1560 (PARMS): Do not use macros from bp-asm.h.
1563 (__mpn_lshift): Do not use BP_SYM.
1564 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1565 (PARMS): Do not use macros from bp-asm.h.
1568 (__memchr): Do not use BP_SYM.
1569 (memchr): Do not use BP_SYM in weak_alias.
1570 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1571 (PARMS): Do not use macros from bp-asm.h.
1574 (memcmp): Do not use BP_SYM.
1575 (bcmp): Do not use BP_SYM in weak_alias.
1576 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1577 (PARMS): Do not use macros from bp-asm.h.
1580 (__mpn_mul_1): Do not use BP_SYM.
1581 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1583 (PARMS): Do not use macros from bp-asm.h.
1586 (__rawmemchr): Do not use BP_SYM.
1587 (rawmemchr): Do not use BP_SYM in weak_alias.
1588 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1589 (PARMS): Do not use macros from bp-asm.h.
1592 (__mpn_rshift): Do not use BP_SYM.
1593 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1594 (PARMS): Do not use macros from bp-asm.h.
1596 (__sigsetjmp): Likewise. Do not use BP_SYM.
1597 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1598 (_start): Do not use BP_SYM.
1599 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1600 (PARMS): Do not use macros from bp-asm.h.
1603 (__stpcpy): Likewise. Do not use BP_SYM.
1604 (stpcpy): Do not use BP_SYM in weak_alias.
1605 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1607 (PARMS): Do not use macros from bp-asm.h.
1611 (__stpncpy): Likewise. Do not use BP_SYM.
1612 (stpncpy): Do not use BP_SYM in weak_alias.
1613 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1614 (PARMS): Do not use macros from bp-asm.h.
1617 (strchr): Likewise. Do not use BP_SYM.
1618 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1620 (PARMS): Do not use macros from bp-asm.h.
1623 (__strchrnul): Likewise. Do not use BP_SYM.
1624 (strchrnul): Do not use BP_SYM in weak_alias.
1625 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1627 (PARMS): Do not use macros from bp-asm.h.
1629 (strcspn): Do not use BP_SYM.
1630 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1632 (PARMS): Do not use macros from bp-asm.h.
1635 (strpbrk): Likewise. Do not use BP_SYM.
1636 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1638 (PARMS): Do not use macros from bp-asm.h.
1641 (strrchr): Likewise. Do not use BP_SYM.
1642 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1643 (PARMS): Do not use macros from bp-asm.h.
1645 (strspn): Do not use BP_SYM.
1646 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1647 (PARMS): Do not use macros from bp-asm.h.
1651 (FUNCTION): Likewise. Do not use BP_SYM.
1652 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1654 (strtok_r): Likewise.
1655 (__GI___strtok_r): Likewise.
1656 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1657 (PARMS): Do not use macros from bp-asm.h.
1661 (__mpn_sub_n): Do not use BP_SYM.
1662 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1664 (PARMS): Do not use macros from bp-asm.h.
1667 (__mpn_submul_1): Do not use BP_SYM.
1668 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1670 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1672 (PARMS): Do not use macros from bp-asm.h.
1677 (__clone): Do not use BP_SYM.
1678 (clone): Do not use BP_SYM in weak_alias.
1679 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1681 (PARMS): Do not use macros from bp-asm.h.
1683 (__mmap64): Do not use BP_SYM.
1684 (mmap64): Do not use BP_SYM in weak_alias.
1685 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1686 <bp-sym.h> and <bp-asm.h>.
1687 (PARMS): Do not use macros from bp-asm.h.
1688 (__posix_fadvise64_l64): Do not use BP_SYM.
1689 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1690 (PARMS): Do not use macros from bp-asm.h.
1692 (semtimedop): Do not use BP_SYM.
1693 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1696 2013-02-21 Allan McRae <allan@archlinux.org>
1698 * manual/message.texi (Charset conversion in gettext):
1699 Move @end statement to beginning of line.
1701 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1708 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1713 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1715 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1716 tail-call to the resolved function if pltexit isn't needed.
1718 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1721 or Y being zero as being unlikely.
1722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1725 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1727 * manual/nss.texi (System Databases and Name Service Switch):
1728 Remove frobnicate @pxref.
1730 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1732 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1733 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1735 2013-02-20 Petr Machata <pmachata@redhat.com>
1737 * elf/elf.h (R_ARM_TARGET1): New macro.
1738 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1739 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1740 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1741 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1742 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1743 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1744 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1745 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1746 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1747 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1748 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1749 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1750 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1751 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1752 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1753 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1754 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1755 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1756 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1757 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1758 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1759 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1760 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1761 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1762 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1763 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1764 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1765 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1766 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1767 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1768 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1769 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1770 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1771 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1772 (R_ARM_THM_GOT_BREL12): Likewise.
1773 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1774 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1775 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1776 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1777 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1778 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1779 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1780 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1781 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1783 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1785 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1786 __attribute_used__ to __attribute__ ((unused)).
1788 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1790 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1796 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1799 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1801 (ENTER): Remove both macro definitions.
1803 (CHECK_BOUNDS_LOW): Likewise.
1804 (CHECK_BOUNDS_HIGH): Likewise.
1805 (CHECK_BOUNDS_BOTH): Likewise.
1806 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1807 (RETURN_BOUNDED_POINTER): Likewise.
1808 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1809 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1810 (POP_ERRNO_LOCATION_RETURN): Likewise.
1811 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1812 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1813 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1815 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1816 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1817 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1818 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1819 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1820 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1821 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1822 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1823 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1824 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1825 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1826 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1827 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1828 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1830 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1831 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1833 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1834 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1835 * sysdeps/i386/i586/memset.S (memset): Likewise.
1836 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1837 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1838 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1840 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1841 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1842 Change uses of L(2) to L(out).
1843 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1844 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1845 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1846 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1847 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1849 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1850 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1852 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1853 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1854 (RETURN): Do not use macro LEAVE.
1855 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1856 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1857 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1858 * sysdeps/i386/i686/memset.S (memset): Likewise.
1859 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1860 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1861 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1862 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1864 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1865 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1866 L(1_2) and L(1_3) into L(1).
1867 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1868 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1869 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1870 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1871 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1872 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1873 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1874 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1875 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1877 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1878 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1879 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1880 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1881 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1882 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1883 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1884 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1885 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1886 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1887 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1888 * sysdeps/i386/strspn.S (strspn): Likewise.
1889 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1891 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1892 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1893 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1894 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1896 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1897 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1898 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1900 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1902 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1904 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1907 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1909 * math/atest-exp.c (exp_mpn): Remove ROUND.
1910 * math/atest-exp2.c (exp_mpn): Likewise.
1911 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1913 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1914 * stdlib/tst-tls-atexit-lib.c: Likewise.
1915 * stdlib/tst-tls-atexit.c: Likewise.
1917 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1919 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1920 and __attribute_alloc_size__.
1922 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1924 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1925 __attribute_alloc_size__.
1926 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1927 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1929 2013-02-18 Mike Frysinger <vapier@gentoo.org>
1931 * include/programs/xmalloc.h: New file.
1932 * catgets/gencat.c: Include it.
1933 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1934 * elf/pldd.c: Likewise.
1935 * iconv/iconv_charmap.c: Likewise.
1936 * iconv/iconvconfig.c: Likewise.
1937 * iconv/strtab.c: Likewise.
1938 * locale/programs/locale.c: Likewise.
1939 * locale/programs/localedef.h: Likewise.
1940 * locale/programs/simple-hash.c: Likewise.
1941 * nscd/nscd.h: Likewise.
1942 * nss/makedb.c: Likewise.
1943 * sysdeps/generic/ldconfig.h: Likewise.
1945 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1947 * Versions.def: Add GLIBC_2.18.
1948 * include/link.h (struct link_map): New member l_tls_dtor_count.
1949 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1950 (__call_tls_dtors): Likewise.
1951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1952 __cxa_thread_atexit_impl.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1961 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1969 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1970 (tests): Add test case tst-tls-atexit.
1971 (modules-names): Add shared library for tst-tls-atexit.
1972 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1973 (GLIBC_PRIVATE): Add __call_tls_dtors.
1974 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1976 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1977 * stdlib/tst-tls-atexit.c: New test case.
1978 * stdlib/tst-tls-atexit-lib.c: New test case.
1980 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1982 * elf/Versions (ld): Add _dl_find_dso_for_object.
1983 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1984 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1985 (dl_open_worker): Use _dl_find_dso_for_object.
1986 * elf/dl-sym.c (do_sym): Likewise.
1987 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1989 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1991 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1992 Syntactic changes only.
1993 (_dl_runtime_profile): Do a tail-call to the resolved function.
1995 2013-02-17 Joseph Myers <joseph@codesourcery.com>
1998 * sysdeps/x86_64/bp-asm.h: Remove file.
1999 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2000 <bp-sym.h> and <bp-asm.h>.
2001 (__clone): Do not use BP_SYM.
2002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2003 <bp-sym.h> and <bp-asm.h>.
2004 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2005 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2007 (_setjmp): Do not use BP_SYM.
2008 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2010 (setjmp): Do not use BP_SYM.
2011 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2013 (mempcpy): Do not use BP_SYM in weak_alias.
2014 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2016 (strchr): Do not use BP_SYM.
2017 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2019 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2020 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2021 (_start): Do not use BP_SYM.
2022 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2024 (strcat): Do not use BP_SYM.
2025 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2027 (STRCMP): Do not use BP_SYM.
2028 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2030 (STRCPY): Do not use BP_SYM.
2031 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2033 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2035 (FUNCTION): Do not use BP_SYM.
2036 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2038 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2040 2013-02-17 Andreas Jaeger <aj@suse.de>
2042 * time/Versions: Sort entries.
2043 * string/Versions: Likewise.
2044 * resolv/Versions: Likewise.
2045 * posix/Versions: Likewise.
2046 * iconv/Versions: Likewise.
2047 * elf/Versions: Likewise.
2048 * wcsmbs/Versions: Likewise.
2050 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2052 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2053 loop termination condition.
2055 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2056 variable to calculate EZ.
2059 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2060 the lower precision input.
2062 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2065 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2066 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2067 (run-via-rtld-prefix): Do not handle %-bp tests.
2068 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2069 (all-object-suffixes): Remove .ob.
2070 (bppfx): Remove variable.
2071 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2072 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2073 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2074 [$(build-bounded) = yes] (libtype.ob): Likewise.
2075 * Makerules (elide-routines.ob): Remove variable.
2076 (do-tests-clean): Do not handle *-bp.out.
2077 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2078 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2079 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2080 (tests): Do not include $(tests-bp.out).
2081 (xtests): Do not include $(xtests-bp.out).
2082 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2083 [$(build-bounded) = yes] ($(addprefix
2084 $(objpfx),$(binaries-bounded))): Remove rule.
2085 ($(objpfx)%-bp.out): Remove rule.
2086 * config.make.in (build-bounded): Remove variable.
2087 * crypt/Makefile [$(build-bounded) = yes]
2088 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2089 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2091 [$(build-bounded) = yes] (install-lib): Likewise.
2092 [$(build-bounded) = yes] (generated): Likewise.
2093 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2095 * intl/Makefile [$(build-bounded) = yes]
2096 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2097 * math/Makefile [$(build-bounded) = yes]
2098 ($(tests:%=$(objpfx)%-bp): Likewise.
2099 * misc/Makefile [$(build-bounded) = yes]
2100 ($(objpfx)tst-tsearch-bp): Likewise.
2101 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2102 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2104 * string/Makefile (o-objects.ob): Remove variable.
2105 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2106 (CFLAGS-.ob): Remove variable.
2107 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2108 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2109 both definitions of variable.
2110 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2111 (ASFLAGS-.ob): Remove variable.
2113 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2116 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2117 Remove __BOUNDED_POINTERS__ from condition.
2118 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2119 * string/bits/string2.h [!__NO_STRING_INLINES &&
2120 !__BOUNDED_POINTERS__]: Likewise.
2121 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2123 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2124 Remove conditional code.
2125 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2126 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2127 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2131 * csu/libc-start.c: Do not include <bp-sym.h>.
2132 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2133 * elf/dl-open.c: Do not include <bp-sym.h>.
2134 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2135 * math/fegetenv.c: Do not include <bp-sym.h>.
2136 (fegetenv): Do not use BP_SYM in versioned symbols.
2137 * nptl/sysdeps/pthread/bits/libc-lockP.h
2138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2141 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2143 (__pthread_mutex_destroy): Likewise.
2144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2145 (__pthread_mutex_lock): Likewise.
2146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2147 (__pthread_mutex_trylock): Likewise.
2148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2149 (__pthread_mutex_unlock): Likewise.
2150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2151 (__pthread_mutexattr_init): Likewise.
2152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2153 (__pthread_mutexattr_destroy): Likewise.
2154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2155 (__pthread_mutexattr_settype): Likewise.
2156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2157 (__pthread_rwlock_init): Likewise.
2158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2159 (__pthread_rwlock_destroy): Likewise.
2160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2161 (__pthread_rwlock_rdlock): Likewise.
2162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2163 (__pthread_rwlock_tryrdlock): Likewise.
2164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2165 (__pthread_rwlock_wrlock): Likewise.
2166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2167 (__pthread_rwlock_trywrlock): Likewise.
2168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2169 (__pthread_rwlock_unlock): Likewise.
2170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2171 (__pthread_key_create): Likewise.
2172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2173 (__pthread_setspecific): Likewise.
2174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2175 (__pthread_getspecific): Likewise.
2176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2179 (_pthread_cleanup_push_defer): Likewise.
2180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2181 (_pthread_cleanup_pop_restore): Likewise.
2182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2183 (pthread_setcancelstate): Likewise.
2184 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2186 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2187 (memchr): Do not use BP_SYM in weak_alias.
2188 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2189 (fegetenv): Do not use BP_SYM in versioned symbols.
2190 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2191 (fesetenv): Do not use BP_SYM in versioned symbols.
2192 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2193 (feupdateenv): Do not use BP_SYM in versioned symbols.
2194 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2195 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2196 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2197 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2198 (open64): Do not use BP_SYM in weak_alias.
2199 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2200 (fegetenv): Do not use BP_SYM in versioned symbols.
2201 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2202 (fesetenv): Do not use BP_SYM in versioned symbols.
2203 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2204 (feupdateenv): Do not use BP_SYM in versioned symbols.
2205 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2206 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2207 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2208 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2209 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2210 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2211 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2213 (__libc_start_main): Do not use BP_SYM.
2215 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2218 redundant return line.
2222 (sub_magnitudes): Likewise.
2228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2232 (sub_magnitudes): Likewise.
2239 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2241 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2242 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2245 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2246 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2248 of __mul for squares.
2249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2253 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2254 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2256 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2259 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2261 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2262 prototype or function definition. Rename ubp_* variables and
2263 parameters. Remove argv definitions conditional on
2264 [__BOUNDED_POINTERS__].
2265 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2266 * elf/dl-runtime.c (_dl_fixup): Likewise.
2267 * include/set-hooks.h (RUN_HOOK): Likewise.
2268 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2270 * string/strcpy.c (strcpy): Do not use __unbounded.
2271 * sysdeps/generic/frame.h (struct layout): Likewise.
2272 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2273 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2274 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2275 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2276 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2277 (__backtrace): Likewise.
2278 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2280 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2281 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2282 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2284 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2285 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2286 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2287 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2288 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2289 Do not use __unbounded.
2290 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2291 Rename __unboundedrlimits parameter to rlimits in prototype.
2292 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2293 Do not use __unbounded.
2294 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2296 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2297 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2298 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2299 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2300 __ptrvalue or __unbounded.
2301 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2302 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2304 (__new_msgctl): Do not use __ptrvalue.
2305 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2307 (__libc_msgrcv): Do not use __ptrvalue.
2308 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2309 startup_info): Do not use __unbounded.
2310 (__libc_start_main): Likewise. Rename ubp_* variables and
2311 parameters. Remove argv definitions conditional on
2312 [__BOUNDED_POINTERS__].
2313 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2315 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2317 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2319 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2321 (__new_shmctl): Do not use __ptrvalue.
2322 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2323 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2325 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2326 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2327 (__libc_sigaction): Likewise.
2328 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2329 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2331 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2333 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2335 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2337 * string/mempcpy.c: Implement by calling memcpy.
2339 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2346 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2347 values in the mantissa.
2349 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2350 minimize writes to Z.
2351 (sub_magnitudes): Simplify code a bit.
2353 2013-02-12 Roland McGrath <roland@hack.frob.com>
2355 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2356 from the message. The linker prefixes all warnings with that already.
2358 2013-02-12 Andreas Schwab <schwab@suse.de>
2361 * posix/regexec.c (extend_buffers): Add parameter min_len.
2362 (check_matching): Pass minimum needed length.
2363 (clean_state_log_if_needed): Likewise.
2364 (get_subexp): Likewise.
2365 * posix/Makefile (tests): Add bug-regex34.
2366 (bug-regex34-ENV): Define.
2367 * posix/bug-regex34.c: New file.
2370 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2371 elements compare against the byte sequence of it, not its name.
2372 * posix/Makefile (tests): Add bug-regex35.
2373 (bug-regex35-ENV): Define.
2374 * posix/bug-regex35.c: New file.
2376 2013-02-11 Tom de Vries <tom@codesourcery.com>
2378 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2380 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2381 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2382 (CHECK_EOL): Add undef.
2384 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2386 * bits/stdlib-bsearch.h: New file.
2387 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2388 * stdlib/stdlib.h: Likewise.
2390 2013-02-11 Roland McGrath <roland@hack.frob.com>
2392 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2393 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2395 * manual/search.texi (Array Search Function): Add missing const in
2397 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2398 declaration to use rlim_t.
2399 (Basic Scheduling Functions): Remove erroneous const from
2400 sched_getparam prototype. Remove erroneous * from
2401 sched_get_priority_max and sched_get_priority_min prototypes.
2402 (Resource Usage): Fix summary @comment on vtimes to refer to
2403 sys/vtimes.h rather than vtimes.h.
2404 Add missing *s in vtimes prototype.
2405 (Limits on Resources): Fix ulimit prototype to return long int.
2406 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2407 prototypes to use long int rather than double.
2408 (BSD Random): Fix initstate and setstate to use char *, not void *.
2409 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2410 prototype to make second argument 'struct aiocb64 *const[]'.
2411 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2412 (Status of AIO Operations): Remove erroneous const in aio_return and
2413 aio_return64 prototypes.
2414 (Synchronizing I/O): Fix sync prototype to return void.
2415 * manual/startup.texi (Suboptions): Remove an erroneous const in
2416 getsubopt prototype.
2417 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2418 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2419 use size_t rather than int.
2420 (Scanning All Users): Likewise for getpwent_r.
2421 (Setting Groups): Add missing const to setgroups prototype.
2422 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2423 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2424 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2425 'const void *' rather than 'const char *'.
2426 (Host Address Functions): Likewise for inet_ntop.
2427 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2428 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2429 ssize_t for return value.
2430 (Sending Data): Likewise for send, sendto, sendmsg.
2431 (Socket Option Functions): Add a missing const in setsockopt prototype.
2432 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2433 use wchar_t for the argument.
2434 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2435 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2437 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2438 double/float/long double for second argument.
2439 Fix return types of significand, significandf, significandl.
2440 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2441 argument in fchmod prototype.
2442 (File Owner): Use uid_t and gid_t in fchown prototype.
2443 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2444 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2445 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2446 use 'const struct dirent **' as argument types to CMP function pointer
2448 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2449 (File Times): Fix summary magic @comment for struct utimbuf and utime
2450 to refer to utime.h, not time.h.
2451 * manual/string.texi (Argz Functions): Add missing const in
2452 argz_extract and argz_next prototypes.
2453 (Finding Tokens in a String): Likewise for basename.
2454 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2455 (Copying and Concatenation): Fix typo in wmemmove prototype.
2456 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2457 (Signal Stack): Remove erroneous const in sigstack prototype.
2458 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2460 (Simple Calendar Time): Likewise for stime.
2461 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2463 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2464 say sys/sysctl.h instead.
2465 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2466 and vsyslog prototypes.
2468 2013-02-11 Tom de Vries <tom@codesourcery.com>
2470 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2473 2013-02-11 Roland McGrath <roland@hack.frob.com>
2475 * misc/sys/mman.h: Fix typo in mremap comment.
2477 2013-02-08 Roland McGrath <roland@hack.frob.com>
2479 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2480 the '\0' terminator.
2482 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2485 * debug/segfault.c: Don't include <bp-checks.h>.
2486 * sysdeps/generic/bp-checks.h: Remove file.
2487 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2488 (__GETDENTS): Don't use CHECK_N.
2489 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2490 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2491 (__getgroups): Don't use CHECK_N.
2492 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2493 (setgroups): Don't use CHECK_N.
2494 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2495 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2496 (__libc_msgrcv): Don't use CHECK_N.
2497 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2498 (__libc_msgsnd): Don't use CHECK_N.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2501 (__libc_pread): Don't use CHECK_N.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2503 include <bp-checks.h>.
2504 (__libc_pread64): Don't use CHECK_N.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2506 include <bp-checks.h>.
2507 (__libc_pwrite): Don't use CHECK_N.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2509 include <bp-checks.h>.
2510 (__libc_pwrite64): Don't use CHECK_N.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2513 (__libc_pread): Don't use CHECK_N.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2515 include <bp-checks.h>.
2516 (__libc_pread64): Don't use CHECK_N.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2518 include <bp-checks.h>.
2519 (__libc_pwrite): Don't use CHECK_N.
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2521 include <bp-checks.h>.
2522 (__libc_pwrite64): Don't use CHECK_N.
2523 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2524 (do_pread): Don't use CHECK_N.
2525 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2526 (do_pread64): Don't use CHECK_N.
2527 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2528 (do_pwrite): Don't use CHECK_N.
2529 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2530 (do_pwrite64): Don't use CHECK_N.
2531 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2532 (__libc_readv): Don't use CHECK_N.
2533 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2534 (semop): Don't use CHECK_N.
2535 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2537 (semtimedop): Don't use CHECK_N.
2538 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2539 (__libc_pread): Don't use CHECK_N.
2540 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2542 (__libc_pread64): Don't use CHECK_N.
2543 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2545 (__libc_pwrite): Don't use CHECK_N.
2546 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2548 (__libc_pwrite64): Don't use CHECK_N.
2549 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2551 (__libc_msgrcv): Don't use CHECK_N.
2552 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2553 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2554 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2555 (__libc_writev): Don't use CHECK_N.
2557 2013-02-08 Roland McGrath <roland@hack.frob.com>
2559 * string/strcpy.c: Removed unused variable.
2561 * Makeconfig (+sysdep-includes): Define with := rather than =.
2562 Use an existing include/ subdir of each sysdeps dir before it.
2564 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2566 * nscd/connection.c (register_traced_file): Comment function.
2567 [HAVE_INOTIFY] (union __inev): Define.
2568 [HAVE_INOTIFY] (inotify_check_files): New function.
2569 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2570 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2572 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2574 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2576 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2577 loaded if not already and that a failure is permanent.
2579 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2582 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2583 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2585 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2588 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2589 (CHECK_1_NULL_OK): Likewise.
2590 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2591 (__fxstat): Do not use CHECK_1.
2592 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2594 (___fxstat64): Do not use CHECK_1.
2595 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2597 (__fxstatat): Do not use CHECK_1.
2598 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2600 (__fxstatat64): Do not use CHECK_1.
2601 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2603 (__fxstat): Do not use CHECK_1.
2604 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2606 (__fxstatat): Do not use CHECK_1.
2607 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2609 (__getresgid): Do not use CHECK_1.
2610 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2612 (__getresuid): Do not use CHECK_1.
2613 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2615 (__lxstat): Do not use CHECK_1.
2616 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2618 (__old_msgctl): Do not use CHECK_1.
2619 (__new_msgctl): Likewise.
2620 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2622 (__new_setrlimit): Do not use CHECK_1.
2623 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2625 (__old_shmctl): Do not use CHECK_1.
2626 (__new_shmctl): Likewise.
2627 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2629 (__xstat): Do not use CHECK_1.
2630 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2631 (__lxstat): Do not use CHECK_1.
2632 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2634 (___lxstat64): Do not use CHECK_1.
2635 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2636 (__old_msgctl): Do not use CHECK_1.
2637 (__new_msgctl): Likewise.
2638 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2640 (__gettimeofday): Do not use CHECK_1.
2641 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2642 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2643 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2645 (__gettimeofday): Do not use CHECK_1.
2646 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2647 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2648 (__new_shmctl): Do not use CHECK_1.
2649 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2651 (do_sigtimedwait): Do not use CHECK_1.
2652 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2654 (do_sigwaitinfo): Do not use CHECK_1.
2655 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2657 (msgctl): Do not use CHECK_1.
2658 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2660 (shmctl): Do not use CHECK_1.
2661 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2662 (ustat): Do not use CHECK_1.
2663 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2665 (__fxstat): Do not use CHECK_1.
2666 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2668 (__fxstatat): Do not use CHECK_1.
2669 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2671 (__lxstat): Do not use CHECK_1.
2672 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2674 (__xstat): Do not use CHECK_1.
2675 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2676 (__xstat): Do not use CHECK_1.
2677 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2678 (___xstat64): Do not use CHECK_1.
2681 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2683 (CHECK_BOUNDS_HIGH): Likewise.
2684 * string/strcpy.c: Do not include <bp-checks.h>.
2685 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2687 2013-02-07 Roland McGrath <roland@hack.frob.com>
2689 * nscd/nscd-client.h (__nscd_drop_map_ref):
2690 Add __attribute__ ((unused)).
2691 * nis/nss-nisplus.h (niserr2nss): Likewise.
2693 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2694 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2696 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2697 Remove inline keyword.
2698 * include/rounding-mode.h (round_away): Likewise.
2699 * libio/wfileops.c (adjust_wide_data): Likewise.
2700 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2701 (__m128i_strloadu_tolower): Likewise.
2702 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2703 (__m128i_strloadu_tolower): Likewise.
2704 * time/mktime.c (ydhms_diff): Likewise.
2705 * locale/elem-hash.h (elem_hash): Likewise.
2706 * locale/setlocale.c (setdata): Likewise.
2707 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2708 (re_string_wchar_at): Likewise.
2709 (bitset_not, bitset_merge, bitset_mask): Likewise.
2710 [!(__GNUC__ > 3)] (inline): Remove macro.
2711 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2712 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2713 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2714 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2715 * string/memcmp.c (memcmp_bytes): Likewise.
2716 * locale/programs/locarchive.c (compute_hashval): Likewise.
2717 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2718 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2719 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2720 * nss/getent.c (print_rpc, print_protocols): Likewise.
2721 (print_passwd, print_group, print_aliases): Likewise.
2722 * nis/nss-nisplus.h (niserr2nss): Likewise.
2723 * nscd/connections.c (restart_p): Likewise.
2724 Change return type to bool.
2726 2013-02-05 Roland McGrath <roland@hack.frob.com>
2728 * Makeconfig (all-Depend-files): Add existing
2729 $(sorted-subdirs:=/Depend) files.
2730 (all-subdirs): Remove nss.
2731 * sysdeps/unix/inet/Subdirs: Add it here instead.
2732 * hesiod/Depend: New file.
2734 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2735 instead of calling alloca.
2737 * io/lseek.c (__lseek): Rename to __libc_lseek.
2738 Define __lseek as an alias.
2740 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2742 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2744 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2745 else clause and remove check for non-standard endianness.
2747 2013-02-04 David S. Miller <davem@davemloft.net>
2749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2751 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2754 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2755 (__ubp_memchr): Remove prototype.
2756 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2757 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2758 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2759 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2760 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2762 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2763 (__ubp_memchr): Likewise.
2764 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2765 (__ubp_memchr): Likewise.
2766 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2767 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2768 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2769 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2771 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2772 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2773 (__getcwd): Do not use CHECK_STRING.
2774 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2776 (__real_chown): Do not use CHECK_STRING.
2777 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2779 (fchownat): Do not use CHECK_STRING.
2780 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2782 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2784 (__lchown): Do not use CHECK_STRING.
2785 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2786 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2787 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2788 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2790 include <bp-checks.h>.
2791 (truncate64): Do not use CHECK_STRING.
2792 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2794 (__real_chown): Do not use CHECK_STRING.
2795 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2797 (__lchown): Do not use CHECK_STRING.
2798 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2800 (__chown): Do not use CHECK_STRING.
2801 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2803 (truncate64): Do not use CHECK_STRING.
2804 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2806 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2807 (__xmknod): Do not use CHECK_STRING.
2808 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2810 (__xmknodat): Do not use CHECK_STRING.
2811 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2812 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2814 2013-02-04 Andreas Schwab <schwab@suse.de>
2817 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2818 * include/netdb.h: Likewise for h_errno.
2819 * elf/tst-stackguard1.c: Include <tls.h>.
2821 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2823 * elf/link.h (struct link_map): Extend the l_addr comment.
2824 * include/link.h (struct link_map): Likewise.
2826 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2829 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2830 (BOUNDED_1): Remove macro.
2831 * debug/backtrace.c: Don't include <bp-checks.h>.
2832 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2833 (__backtrace): Likewise.
2834 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2836 (__backtrace): Don't use BOUNDED_1.
2837 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2839 (__backtrace): Don't use BOUNDED_1.
2840 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2841 (__backtrace): Don't use BOUNDED_1.
2842 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2843 (shmat): Don't use BOUNDED_N.
2845 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2848 * sysdeps/generic/bp-start.h: Remove file.
2849 * csu/libc-start.c: Don't include <bp-start.h>.
2850 (LIBC_START_MAIN): Set up __environ directly instead of using
2851 INIT_ARGV_and_ENVIRON.
2852 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2856 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2858 (CHECK_FCNTL): Likewise.
2859 (CHECK_N_PAGES): Likewise.
2862 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2864 (CHECK_SIGSET_NULL_OK): Likewise.
2865 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2867 (sigpending): Don't use CHECK_SIGSET.
2868 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2870 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2871 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2873 (do_sigsuspend): Don't use CHECK_SIGSET.
2874 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2876 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2877 (do_sigwait): Don't use CHECK_SIGSET.
2878 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2880 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2881 include <bp-checks.h>.
2882 (sigpending): Don't use CHECK_SIGSET.
2883 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2884 include <bp-checks.h>.
2885 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2886 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2888 (sigpending): Don't use CHECK_SIGSET.
2889 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2891 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2894 * sysdeps/generic/bp-semctl.h: Remove file.
2895 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2896 <bp-checks.h> and <bp-semctl.h>.
2897 (__old_semctl): Don't use CHECK_SEMCTL.
2898 (__new_semctl): Likewise.
2899 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2901 (__old_semctl): Don't use CHECK_SEMCTL.
2902 (__new_semctl): Likewise.
2903 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2904 <bp-checks.h> and <bp-semctl.h>.
2905 (__old_semctl): Don't use CHECK_SEMCTL.
2906 (__new_semctl): Likewise.
2907 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2908 <bp-checks.h> and <bp-semctl.h>.
2909 (semctl): Don't use CHECK_SEMCTL.
2912 * Makerules (elide-bp-thunks): Remove variable.
2913 (elide-routines.oS): Don't use $(elide-bp-thunks).
2914 (elide-routines.os): Likewise.
2915 (elide-routines.o): Likewise.
2916 (elide-routines.op): Likewise.
2917 (elide-routines.og): Likewise.
2918 (objects): Don't use $(bp-thunks).
2919 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2921 (common-generated): Do not add s-proto-bp.d.
2922 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2925 Do not generate makefile rules for bounded-pointer thunks.
2926 * sysdeps/generic/bp-thunks.h: Remove file.
2927 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2928 * sysdeps/unix/s-proto-bp.S: Likewise.
2931 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2932 parts of result separately when argument is not close to line from
2933 -i to i and one part of argument is small.
2934 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2935 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2936 * math/libm-test.inc (cacos_test): Add more tests.
2937 (casin_test): Likewise.
2938 (casinh_test): Likewise.
2939 * sysdeps/i386/fpu/libm-test-ulps: Update.
2940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2942 2013-01-31 David S. Miller <davem@davemloft.net>
2944 * po/de.po: Update from translation team.
2946 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2948 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2950 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2952 * configure.in (_AC_PROG_CC_C89): New definition.
2953 * configure: Regenerate.
2955 * configure.in (AC_PROG_CPP): New definition.
2956 * configure: Regenerate.
2958 2013-01-23 Joseph Myers <joseph@codesourcery.com>
2960 * debug/tst-backtrace.h: New file.
2961 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2962 (ret): Remove variable.
2964 (FAIL): Remove macro.
2965 (NO_INLINE): Likewise.
2966 (fn1): Use match function instead of strstr.
2967 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2968 (ret): Remove variable.
2970 (FAIL): Remove macro.
2971 (NO_INLINE): Likewise.
2972 (fn): Use match function instead of strstr.
2973 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2974 (ret): Remove variable.
2976 (FAIL): Remove macro.
2977 (NO_INLINE): Likewise.
2978 (handle_signal): Use match function instead of strstr.
2979 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2980 (ret): Remove variable.
2982 (FAIL): Remove macro.
2983 (NO_INLINE): Likewise.
2984 (handle_signal): Use match function instead of strstr.
2986 2013-01-23 Roland McGrath <roland@hack.frob.com>
2988 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2990 2013-01-23 David S. Miller <davem@davemloft.net>
2992 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2993 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2994 argument of CAS if possible.
2995 * sysdeps/sparc/sparc64/bits/atomic.h
2996 (__arch_compare_and_exchange_val_32_acq): Likewise.
2997 (__arch_compare_and_exchange_val_64_acq): Likewise.
2999 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3001 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3002 * sysdeps/posix/ulimit.c: ... this.
3004 * sysdeps/unix/bsd/ulimit.c: Remove file.
3006 2013-01-23 Adam Conrad <adconrad@0c3.net>
3008 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3009 (LDFLAGS-tst-array5): Likewise.
3011 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3014 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3015 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3016 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3017 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3019 2013-01-21 David S. Miller <davem@davemloft.net>
3021 * sysdeps/sparc/backtrace.c: New file.
3022 * sysdeps/sparc/sparc32/backtrace.h: New file.
3023 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3024 * sysdeps/sparc/sparc64/backtrace.h: New file.
3025 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3026 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3029 2013-01-21 Andreas Schwab <schwab@suse.de>
3032 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3035 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3041 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3042 Mark Mitchell <mark@codesourcery.com>
3043 Tom de Vries <tom@codesourcery.com>
3044 Paul Pluzhnikov <ppluzhnikov@google.com>
3046 * debug/tst-backtrace2.c: New file.
3047 * debug/tst-backtrace3.c: Likewise.
3048 * debug/tst-backtrace4.c: Likewise.
3049 * debug/tst-backtrace5.c: Likewise.
3050 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3051 (CFLAGS-tst-backtrace3.c): Likewise.
3052 (CFLAGS-tst-backtrace4.c): Likewise.
3053 (CFLAGS-tst-backtrace5.c): Likewise.
3054 (LDFLAGS-tst-backtrace2): Likewise.
3055 (LDFLAGS-tst-backtrace3): Likewise.
3056 (LDFLAGS-tst-backtrace4): Likewise.
3057 (LDFLAGS-tst-backtrace5): Likewise.
3058 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3059 tst-backtrace4 and tst-backtrace5.
3061 2013-01-18 Anton Blanchard <anton@samba.org>
3062 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3064 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3065 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3066 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3067 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3069 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3070 "+r" and remove output regs list as redundant. Add explicit inline
3071 asm to specify register of return val to work around compiler codegen
3072 bug. Remove (int) cast on return value. Add return type parameter to
3073 use in macro so that this macro does not truncate return value for
3075 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3076 pass to INTERNAL_VSYSCALL_NCS.
3077 (INLINE_VSYSCALL): Add 'long int' as return type to
3078 INTERNAL_VSYSCALL_NCS macro invocation.
3079 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3080 INTERNAL_VSYSCALL_NCS macro invocation.
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3083 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3086 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3087 Fix application of SIMD FP exception mask.
3089 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3090 mp_no from a power of two.
3091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3092 __mpexp_twomm1. Use __pow_mp.
3094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3097 2013-01-17 David S. Miller <davem@davemloft.net>
3099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3101 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3104 * include/complex.h: Condition contents on [!_COMPLEX_H].
3105 (__kernel_casinhf): New prototype.
3106 (__kernel_casinh): Likewise.
3107 (__kernel_casinhl): Likewise.
3108 * math/Makefile (libm_calls): Add k_casinh.
3109 * math/k_casinh.c: New file.
3110 * math/k_casinhf.c: Likewise.
3111 * math/k_casinhl.c: Likewise.
3112 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3113 finite nonzero arguments.
3114 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3115 finite nonzero arguments.
3116 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3117 finite nonzero arguments.
3118 * math/s_casinh.c: Do not include <float.h>.
3119 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3120 * math/s_casinhf.c: Do not include <float.h>.
3121 (__casinhf): Move code for finite nonzero arguments to
3123 * math/s_casinhl.c: Do not include <float.h>.
3124 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3126 (__casinhl): Move code for finite nonzero arguments to
3128 * math/libm-test.inc (cacos_test): Add more tests.
3129 * sysdeps/i386/fpu/libm-test-ulps: Update.
3130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3132 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3134 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3135 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3136 [!HAVE_MREMAP]: Remove [defined linux] case.
3137 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3139 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3141 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3143 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3145 * elf/elf.h (R_386_SIZE32): New relocation.
3146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3148 (elf_machine_rela): Likewise.
3149 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3150 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3152 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3154 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3155 (FP_FAST_FMA): Do not define.
3156 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3157 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3158 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3159 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3160 !_SOFT_FLOAT]: Likewise.
3161 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3162 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3164 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3165 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3166 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3167 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3168 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3169 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3172 2013-01-16 Andreas Schwab <schwab@suse.de>
3175 * include/stdlib.h (__mktemp): Add declaration.
3176 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3177 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3179 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3181 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3183 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3184 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3185 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3187 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3188 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3190 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3192 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3193 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3194 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3196 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3197 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3199 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3201 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3203 2013-01-15 David S. Miller <davem@davemloft.net>
3205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3206 trunc{,f} to libm-sysdep_routes.
3207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3217 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3218 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3219 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3220 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3221 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3222 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3225 nearbyint{,f} to libm-sysdep_routes.
3226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3239 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3240 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3242 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3243 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3244 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3246 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3247 libc_feholdexcept and libc_fesetenv.
3249 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3251 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3253 2013-01-14 David S. Miller <davem@davemloft.net>
3255 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3256 (SPARC_ASM_VIS2_IFUNC): Likewise.
3257 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3259 use of 'siam' instruction.
3260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3293 routines to libm-sysdep_routines.
3294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3297 fdim/fdimf to libm-sysdep_routines.
3298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3306 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3307 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3308 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3309 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3311 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3313 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3316 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3321 local variable MPTWO.
3322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3325 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3327 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3330 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3332 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3334 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3336 * manual/pattern.texi (glob_t): Document gl_flags.
3337 (glob64_t): Likewise.
3339 2013-01-11 David S. Miller <davem@davemloft.net>
3341 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3342 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3343 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3344 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3345 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3346 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3347 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3348 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3349 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3350 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3351 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3352 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3353 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3355 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3356 sparc V9 rather than using V8 code.
3357 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3358 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3360 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3362 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3365 2013-01-11 Roland McGrath <roland@hack.frob.com>
3367 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3368 not in the main loop.
3369 * configure: Regenerated.
3371 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3373 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3374 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3376 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3377 [!__GLIBC_HAVE_LONG_LONG] case.
3378 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3379 condition to just #else.
3380 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3381 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3382 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3383 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3385 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3386 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3387 #elif condition to just #else.
3388 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3389 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3390 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3391 #elif condition to just #else.
3393 2013-01-11 Steve Ellcey <sellcey@mips.com>
3395 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3396 (EF_MIPS_ARCH_64): Fix value.
3397 (EF_MIPS_ARCH_32R2): New.
3398 (EF_MIPS_ARCH_64R2): New.
3400 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3402 * Makeconfig (+link-pie-before-libc): New.
3403 (+link-pie-after-libc): Likewise.
3404 (+link-pie-tests): Likewise.
3405 (+link-pie): Rewritten.
3406 (link-before-libc): Remove $(config-LDFLAGS).
3407 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3408 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3409 (config-LDFLAGS): Renamed to ...
3410 (rtld-LDFLAGS): This.
3411 (rtld-tests-LDFLAGS): New macro.
3412 (link-libc-rpath-link): Likewise.
3413 (link-libc-tests-rpath-link): Likewise.
3414 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3415 (link-libc): Prepand $(link-libc-rpath-link).
3416 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3417 (test-program-prefix): New macro.
3418 (test-via-rtld-prefix): Likewise.
3419 (test-program-cmd): Likewise.
3420 (host-test-program-cmd): Likewise.
3421 * Makefile ($(common-objpfx)testrun.sh): Replace
3422 $(run-program-prefix) with $(test-program-prefix).
3423 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3425 ($(common-objpfx)shlib.lds): Likewise.
3426 (build-module-helper): Likewise.
3427 ($(common-objpfx)format.lds): Likewise.
3428 * Rules (binaries-pie-tests): New.
3429 (binaries-pie-notests): Likewise.
3430 (binaries-pie): Rewritten.
3431 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3432 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3433 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3434 (make-test-out): Replace $(host-built-program-cmd) with
3435 $(host-test-program-cmd).
3436 * config.make.in (build-hardcoded-path-in-tests): New variable.
3437 * configure.in (--enable-hardcoded-path-in-tests): New configure
3439 (hardcoded_path_in_tests): New AC_SUBST.
3440 * configure: Regenerated.
3441 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3442 $(built-program-cmd) with $(test-program-cmd).
3443 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3444 (test_program_cmd): This.
3445 * elf/Makefile ($(objpfx)order.out): Run test with
3446 $(test-program-prefix).
3447 ($(objpfx)order2.out): Likewise.
3448 ($(objpfx)tst-initorder.out): Likewise.
3449 ($(objpfx)tst-initorder2.out): Likewise.
3450 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3451 $(test-program-cmd).
3452 ($(objpfx)tst-array1-static.out): Likewise.
3453 ($(objpfx)tst-array2.out): Likewise.
3454 ($(objpfx)tst-array3.out): Likewise.
3455 ($(objpfx)tst-array4.out): Likewise.
3456 ($(objpfx)tst-array5.out): Likewise.
3457 ($(objpfx)tst-array5-static.out): Likewise.
3458 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3459 $(test-program-cmd).
3460 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3461 $(run-program-prefix) with $(test-program-prefix).
3462 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3463 (test_program_prefix): This.
3464 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3465 $(run-program-prefix) with $(test-program-prefix).
3466 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3467 (test_program_prefix): This.
3468 * iconvdata/tst-tables.sh: Likewise.
3469 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3470 $(run-program-prefix) with $(test-program-prefix).
3471 ($(objpfx)tst-translit.out): Likewise.
3472 ($(objpfx)tst-gettext2.out): Likewise.
3473 ($(objpfx)tst-gettext4.out): Likewise.
3474 ($(objpfx)tst-gettext6.out): Likewise.
3475 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3476 (test_program_prefix): This.
3477 * intl/tst-gettext2.sh: Likewise.
3478 * intl/tst-gettext4.sh Likewise.
3479 * intl/tst-gettext6.sh: Likewise.
3480 * intl/tst-translit.sh: Likewise.
3481 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3482 with $(test-program-cmd).
3483 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3484 $(run-program-prefix) with $(test-program-prefix).
3485 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3486 (test_program_prefix): This.
3487 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3488 $(run-program-prefix) with $(test-program-prefix).
3489 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3490 (test_program_prefix): This.
3491 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3492 * posix/Makefile ($(objpfx)globtest.out): Replace
3493 $(run-via-rtld-prefix) and $(test-wrapper) with
3494 $(test-program-prefix) and $(test-via-rtld-prefix).
3495 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3496 $(test-program-prefix).
3497 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3498 $(host-test-program-cmd).
3499 (tst-spawn-ARGS): Likewise.
3500 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3501 $(test-program-prefix).
3502 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3503 (test_via_rtld_prefix): This.
3504 (test_wrapper): Renamed to ...
3505 (test_program_prefix): This.
3506 (run_program_prefix): Replaced by test_program_prefix.
3507 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3508 (test_program_prefix): This.
3509 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3510 with $(host-test-program-cmd).
3511 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3512 $(run-program-prefix) with $(test-program-prefix).
3513 ($(objpfx)tst-printf.out): Likewise.
3514 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3515 $(test-program-cmd).
3516 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3517 (test_program_prefix): This.
3518 * stdio-common/tst-unbputc.sh: Likewise.
3519 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3520 $(run-program-prefix) with $(test-program-prefix).
3521 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3522 (test_program_prefix): This.
3523 * string/Makefile ($(objpfx)tst-svc.out): Replace
3524 $(built-program-cmd) with $(test-program-cmd).
3526 2013-01-11 Andreas Jaeger <aj@suse.de>
3529 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3530 value. Sync with Linux 3.7.
3532 2013-01-10 David S. Miller <davem@davemloft.net>
3534 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3535 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3536 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3538 2013-01-10 Roland McGrath <roland@hack.frob.com>
3540 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3542 * configure: Regenerated.
3544 2013-01-10 David S. Miller <davem@davemloft.net>
3546 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3547 sparc V9 rather than using V8 code.
3548 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3549 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3551 2013-01-10 Roland McGrath <roland@hack.frob.com>
3553 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3554 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3555 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3556 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3557 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3558 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3559 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3560 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3561 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3562 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3563 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3564 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3565 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3566 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3567 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3568 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3569 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3570 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3571 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3572 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3573 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3574 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3575 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3576 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3577 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3578 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3579 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3581 2013-01-10 David S. Miller <davem@davemloft.net>
3583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3585 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3587 * posix/Makefile (tests-static): New variable.
3588 (tests): Add $(tests-static).
3589 (tst-exec-static-ARGS): New variable.
3590 (tst-spawn-static-ARGS): Likewise.
3591 * posix/tst-exec-static.c: New file.
3592 * posix/tst-spawn-static.c: Likewise.
3593 * posix/tst-exec.c: Support run directly.
3594 * posix/tst-spawn.c: Likewise.
3596 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3598 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3600 * math/bits/mathcalls.h (llrint): Likewise.
3601 (llround): Likewise.
3602 * stdlib/stdlib.h (struct drand48_data): Likewise.
3603 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3604 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3605 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3607 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3609 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3610 (elf_greg_t): Likewise.
3611 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3612 (__jmp_buf): Likewise.
3613 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3615 (llrint): Likewise, for all definitions.
3616 (llrintl): Likewise.
3618 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3619 Remove [__GNUC__] condition.
3620 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3621 condition to just [__USE_ISOC99].
3622 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3624 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3627 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3628 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3630 (_POSIX_V6_ILP32_OFF32): Likewise.
3631 (_XBS5_ILP32_OFF32): Likewise.
3632 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3633 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3635 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3637 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3640 doubles __mpexp_twomm1. Adjust usage.
3641 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3644 2013-01-10 Andreas Schwab <schwab@suse.de>
3647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3648 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3650 2013-01-09 David S. Miller <davem@davemloft.net>
3653 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3654 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3655 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3656 TCP_FASTOPEN): Define.
3657 (tcp_repair_opt): New structure.
3658 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3660 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3661 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3662 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3663 (tcp_cookie_transactions): New structure.
3665 2013-01-09 Anton Blanchard <anton@samba.org>
3667 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3668 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3669 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3670 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3672 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3674 * include/features.h (__USE_ANSI): Remove.
3676 2013-01-09 Roland McGrath <roland@hack.frob.com>
3678 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3680 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3682 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3684 * sysdeps/s390/fpu/libm-test-ulps: Update.
3686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3688 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3693 (__mp_dbl): Likewise.
3694 (__dbl_mp): Likewise.
3695 (add_magnitudes): Likewise.
3696 (sub_magnitudes): Likewise.
3702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3707 (__mp_dbl): Likewise.
3708 (__dbl_mp): Likewise.
3709 (add_magnitudes): Likewise.
3710 (sub_magnitudes): Likewise.
3716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3721 (__mp_dbl): Likewise.
3722 (__dbl_mp): Likewise.
3723 (add_magnitudes): Likewise.
3724 (sub_magnitudes): Likewise.
3731 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3733 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3734 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3735 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3736 2 && __USE_EXTERN_INLINES]: Likewise.
3738 2013-01-08 Andreas Jaeger <aj@suse.de>
3741 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3743 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3744 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3746 2013-01-07 Anton Blanchard <anton@samba.org>
3748 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3749 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3750 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3751 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3752 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3753 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3754 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3755 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3758 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3760 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3762 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3765 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3766 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3767 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3768 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3769 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3771 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3772 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3773 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3774 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3775 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3777 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3778 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3780 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3781 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3782 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3783 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3784 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3785 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3786 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3787 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3788 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3790 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3792 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3794 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3795 (__MALLOC_PMT): Likewise.
3796 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3797 [__GNUC__], only on [_LIBC].
3798 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3799 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3800 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3801 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3802 forward declaration.
3803 (realloc_hook_ini): Likewise.
3804 (memalign_hook_ini): Likewise.
3805 (__libc_memalign): Do not use __MALLOC_PMT in variable
3807 (__libc_valloc): Likewise.
3808 (__libc_pvalloc): Likewise.
3809 (__libc_calloc): Likewise.
3810 (__posix_memalign): Likewise.
3813 * math/s_casinh.c: Include <float.h>.
3814 (__casinh): Do not do computation with squaring and square root
3815 for large arguments.
3816 * math/s_casinhf.c: Include <float.h>.
3817 (__casinhf): Do not do computation with squaring and square root
3818 for large arguments.
3819 * math/s_casinhl.c: Include <float.h>.
3820 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3821 (__casinhl): Do not do computation with squaring and square root
3822 for large arguments.
3823 * math/libm-test.inc (casin_test): Add more tests.
3824 (casinh_test): Likewise.
3825 * sysdeps/i386/fpu/libm-test-ulps: Update.
3826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3828 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3830 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3831 (__x86_64_raw_data_cache_size): Likewise.
3832 (__x86_64_data_cache_size_half): Likewise.
3833 (__x86_64_raw_data_cache_size_half): Likewise.
3834 (__x86_64_shared_cache_size): Likewise.
3835 (__x86_64_raw_shared_cache_size): Likewise.
3836 (__x86_64_shared_cache_size_half): Likewise.
3837 (__x86_64_raw_shared_cache_size_half): Likewise.
3838 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3840 (__x86_data_cache_size): This.
3841 (__x86_64_raw_data_cache_size): Renamed to ...
3842 (__x86_raw_data_cache_size): This.
3843 (__x86_64_data_cache_size_half): Renamed to ...
3844 (__x86_data_cache_size_half): This.
3845 (__x86_64_raw_data_cache_size_half): Renamed to ...
3846 (__x86_raw_data_cache_size_half): This.
3847 (__x86_64_shared_cache_size): Renamed to ...
3848 (__x86_shared_cache_size): This.
3849 (__x86_64_raw_shared_cache_size): Renamed to ...
3850 (__x86_raw_shared_cache_size): This.
3851 (__x86_64_shared_cache_size_half): Renamed to ...
3852 (__x86_shared_cache_size_half): This.
3853 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3854 (__x86_raw_shared_cache_size_half): This.
3855 * sysdeps/x86_64/memcpy.S: Updated.
3856 * sysdeps/x86_64/memset.S: Likewise.
3857 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3858 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3861 2013-01-04 David S. Miller <davem@davemloft.net>
3863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3865 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3867 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3868 1 to avoid redefinition warning.
3869 (__USE_GNU): Don't define.
3870 (init_signaling_nan): Protoize.
3872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3874 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3876 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3878 (__cpymn): Likewise.
3879 (norm): Remove commented code.
3881 (__mp_dbl): Likewise.
3883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3884 (__cpymn): Likewise.
3885 (norm): Remove commented code.
3887 (__mp_dbl): Likewise.
3890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3891 mp_no value for 1.0 and 2.0.
3892 (norm): Use RADIXI instead of radixi.d.
3894 (__mul): Use 0.0 instead of zero.d.
3895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3896 mp_no value for 1.0 and 2.0.
3897 (norm): Use RADIXI instead of radixi.d.
3899 (__mul): Use 0.0 instead of zero.d.
3901 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3904 * math/s_casinh.c (__casinh): Reduce finite argument to first
3905 quadrant then set signs of results at the end.
3906 * math/s_casinhf.c (__casinhf): Likewise.
3907 * math/s_casinhl.c (__casinhl): Likewise.
3908 * math/libm-test.inc (casin_test): Add more tests.
3909 (casinh_test): Likewise.
3910 * sysdeps/i386/fpu/libm-test-ulps: Update.
3911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3913 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3915 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3917 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3919 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3922 (__mp_dbl): Likewise.
3925 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3926 and adjust the header comment.
3928 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3929 variable name from declaration.
3931 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3934 Initialize COMMON_CPUID_INDEX_7 element.
3935 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3936 (CPUID_RTM): Likewise.
3937 (HAS_RTM): Likewise.
3938 (COMMON_CPUID_INDEX_7): New enum.
3940 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3943 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3944 size is zero, record memory as freed.
3946 2013-01-03 Andreas Jaeger <aj@suse.de>
3948 * po/ia.po: Add new Interlingua translation.
3950 2012-01-03 Allan McRae <allan@archlinux.org>
3952 * locale/programs/localedef.c: Fix description of '--posix' flag.
3954 2013-01-02 Joseph Myers <joseph@codesourcery.com>
3956 * NEWS: Update dates in second copyright notice.
3957 * README: Update copyright dates in example.
3958 * manual/libc.texinfo: Update copyright dates.
3959 * scripts/test-installation.pl: Update copyright date in --version
3962 * hurd/ctty-input.c: Fix copyright notice formatting.
3963 * hurd/ctty-output.c: Likewise.
3964 * hurd/dtable.c: Likewise.
3965 * hurd/hurd-raise.c: Likewise.
3966 * hurd/hurdprio.c: Likewise.
3967 * hurd/msgportdemux.c: Likewise.
3968 * misc/sys/file.h: Likewise.
3969 * misc/sys/ioctl.h: Likewise.
3970 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3971 * sysdeps/mach/hurd/chdir.c: Likewise.
3972 * sysdeps/mach/hurd/fchdir.c: Likewise.
3973 * sysdeps/mach/hurd/rename.c: Likewise.
3974 * sysdeps/mach/hurd/rmdir.c: Likewise.
3975 * sysdeps/mach/hurd/seekdir.c: Likewise.
3976 * sysdeps/mach/hurd/setsid.c: Likewise.
3977 * sysdeps/posix/wait3.c: Likewise.
3979 * All files with FSF copyright notices: Update copyright dates
3980 using scripts/update-copyrights.
3981 * intl/plural.c: Regenerated.
3982 * locale/programs/charmap-kw.h: Likewise.
3983 * locale/programs/locfile-kw.h: Likewise.
3985 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3987 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3990 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3991 calculation loop and add branch prediction.
3993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3994 check access beyond bounds of m1np.
3996 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3998 (__inv): Remove local variable MPTWO to use the global
4000 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4003 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4004 MP3HALFS static const.
4006 2013-01-01 David S. Miller <davem@davemloft.net>
4008 * po/ca.po: Update from translation team.
4010 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4012 * scripts/update-copyrights: New file.
4013 * Makeconfig: Reformat copyright notice.
4014 * ctype/ctype.h: Likewise.
4015 * debug/swprintf_chk.c: Likewise.
4016 * elf/dl-cache.c: Likewise.
4017 * elf/dl-debug.c: Likewise.
4018 * elf/dl-object.c: Likewise.
4019 * grp/initgroups.c: Likewise.
4020 * hurd/Makefile: Likewise.
4021 * hurd/hurd/signal.h: Likewise.
4022 * hurd/hurdfault.c: Likewise.
4023 * hurd/hurdioctl.c: Likewise.
4024 * hurd/hurdlookup.c: Likewise.
4025 * hurd/intr-msg.c: Likewise.
4026 * iconv/gconv_open.c: Likewise.
4027 * libio/swprintf.c: Likewise.
4028 * locale/lc-ctype.c: Likewise.
4029 * locale/nl_langinfo.c: Likewise.
4030 * mach/Machrules: Likewise.
4031 * mach/Makefile: Likewise.
4032 * malloc/obstack.h: Likewise.
4033 * manual/Makefile: Likewise.
4034 * manual/tsort.awk: Likewise.
4035 * misc/bits/stab.def: Likewise.
4036 * nis/nis_print_group_entry.c: Likewise.
4037 * nis/nis_table.c: Likewise.
4038 * nis/nss_compat/compat-pwd.c: Likewise.
4039 * nis/nss_compat/compat-spwd.c: Likewise.
4040 * po/Makefile: Likewise.
4041 * posix/fnmatch.c: Likewise.
4042 * posix/regex.h: Likewise.
4043 * resolv/Makefile: Likewise.
4044 * resolv/nss_dns/dns-network.c: Likewise.
4045 * resolv/res_hconf.c: Likewise.
4046 * scripts/gen-sorted.awk: Likewise.
4047 * soft-fp/soft-fp.h: Likewise.
4048 * stdio-common/printf.h: Likewise.
4049 * stdlib/monetary.h: Likewise.
4050 * stdlib/random.c: Likewise.
4051 * stdlib/random_r.c: Likewise.
4052 * sysdeps/generic/Makefile: Likewise.
4053 * sysdeps/gnu/Makefile: Likewise.
4054 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4064 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4066 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4067 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4075 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4082 * sysdeps/mach/hurd/errnos.awk: Likewise.
4083 * sysdeps/mach/hurd/fork.c: Likewise.
4084 * sysdeps/mach/hurd/getcwd.c: Likewise.
4085 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4086 * sysdeps/mach/hurd/mmap.c: Likewise.
4087 * sysdeps/mach/hurd/utimes.c: Likewise.
4088 * sysdeps/mach/hurd/xmknod.c: Likewise.
4089 * sysdeps/posix/profil.c: Likewise.
4090 * sysdeps/posix/readdir_r.c: Likewise.
4091 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4092 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4093 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4094 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4096 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4097 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4098 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4100 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4101 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4102 * sysdeps/pthread/lio_listio.c: Likewise.
4103 * sysdeps/sparc/dl-procinfo.h: Likewise.
4104 * sysdeps/unix/i386/sysdep.S: Likewise.
4105 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4106 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4107 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4108 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4110 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4111 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4112 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4113 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4114 * sysdeps/wordsize-32/divdi3.c: Likewise.
4115 * time/sys/time.h: Likewise.
4116 * wcsmbs/Makefile: Likewise.
4118 2013-01-01 David S. Miller <davem@davemloft.net>
4120 * po/fr.po: Update from translation team.
4122 * catgets/gencat.c: Update copyright year.
4123 * csu/version.c: Likewise.
4124 * debug/catchsegv.sh: Likewise.
4125 * debug/pcprofiledump.c: Likewise.
4126 * debug/xtrace.sh: Likewise.
4127 * elf/ldconfig.c: Likewise.
4128 * elf/ldd.bash.in: Likewise.
4129 * elf/pldd.c: Likewise.
4130 * elf/sotruss.ksh: Likewise.
4131 * elf/sprof.c: Likewise.
4132 * iconv/iconv_prog.c: Likewise.
4133 * iconv/iconvconfig.c: Likewise.
4134 * locale/programs/locale.c: Likewise.
4135 * locale/programs/localedef.c: Likewise.
4136 * login/programs/pt_chown.c: Likewise.
4137 * malloc/memusage.sh: Likewise.
4138 * malloc/memusagestat.c: Likewise.
4139 * malloc/mtrace.pl: Likewise.
4140 * nscd/nscd.c: Likewise.
4141 * nss/getent.c: Likewise.
4142 * nss/makedb.c: Likewise.
4143 * posix/getconf.c: Likewise.
4145 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4147 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4150 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4152 * math/bits/mathcalls.h (modf): Use __nonnull.
4154 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4156 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4157 (split): Use macro CN instead of the bare value.
4158 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4161 instead of the bare value.
4164 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4168 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4170 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4172 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4173 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4174 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4175 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4177 2012-12-28 Andreas Jaeger <aj@suse.de>
4179 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4180 values are from Linux 3.7.
4182 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4183 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4185 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4187 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4190 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4192 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4193 variables with preprocessor constants.
4194 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4195 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4196 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4198 2012-12-27 Bruno Haible <bruno@clisp.org>
4201 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4204 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4207 and use variable directly.
4208 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4210 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4212 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4213 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4215 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4217 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4218 include directive. Remove local variable MPONE.
4219 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4220 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4221 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4223 2012-12-25 David S. Miller <davem@davemloft.net>
4225 * version.h (RELEASE): Set to "development".
4226 (VERSION): Set to "2.17.90".
4227 * NEWS: Add 2.18 section.
4229 2012-12-21 David S. Miller <davem@davemloft.net>
4231 * po/hr.po: Update from translation team.
4233 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4235 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4237 2012-12-19 Steve Ellcey <sellcey@mips.com>
4239 * NEWS: Mention new memcpy for MIPS.
4241 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4243 * manual/contrib.texi (Contributors): Spelling correction.
4245 2012-12-15 David S. Miller <davem@davemloft.net>
4247 * po/ru.po: Update from translation team.
4249 2012-12-13 David S. Miller <davem@davemloft.net>
4251 * NEWS: Mention IFUNC testsuite enhancements.
4253 * po/pl.po: Update from translation team.
4254 * po/bg.po: Likewise.
4256 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4257 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4259 2012-12-11 David S. Miller <davem@davemloft.net>
4261 * po/sv.po: Update from translation team.
4263 * po/vi.po: Update from translation team.
4265 * po/cs.po: Update from translation team.
4267 * po/de.po: Update from translation team.
4268 * po/eo.po: Likewise.
4269 * po/nl.po: Likewise.
4271 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4274 * manual/argp.texi (Argp Helper Functions): Move node to follow
4278 * manual/conf.texi (Limits on File System Capacity): Mention if
4279 terminating null is included in the max size.
4281 2012-12-10 Andreas Jaeger <aj@suse.de>
4283 * po/cs.po: Update from translation team.
4285 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4287 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4288 void pointer and cast to uintptr_t.
4289 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4291 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4292 * sysdeps/s390/s390-64/memset.S: Likewise.
4294 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4297 * menual/message.texi (Message Translation): Fix typos.
4298 (Helper programs for gettext): Likewise.
4300 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4303 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4306 2012-12-07 David S. Miller <davem@davemloft.net>
4308 * po/libc.pot: Update.
4310 2012-12-07 Richard Henderson <rth@redhat.com>
4313 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4314 normal/normal case to before the switch.
4315 (_FP_DIV): Likewise.
4317 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4318 Mike Frysinger <vapier@gentoo.org>
4320 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4321 check for __NR_fadvise64_64.
4323 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4325 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4326 0, not just to plain "0" as a statement.
4327 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4330 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4332 * NEWS: Use sourceware.org in Bugzilla URL.
4334 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4337 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4339 * stdio-common/tst-put-error.c (do_test): Add newline to the
4340 padded test to ensure flush.
4342 2012-12-05 Jeff Law <law@redhat.com>
4344 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4346 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4348 * README: Don't refer to ports add-on as distributed separately.
4349 Mention AArch64 in list of systems supported in the ports add-on.
4351 * LICENSES: Add more non-FSF copyright and license notices.
4353 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4356 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4358 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4359 10000 as width of padded output.
4361 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4363 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4365 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4366 variable LX with __attribute__ ((unused)).
4367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4369 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4372 with __attribute__ ((unused)).
4374 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4376 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4378 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4380 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4381 (CFLAGS-nldbl-acos.c): New variable.
4382 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4383 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4384 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4385 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4386 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4387 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4388 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4389 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4390 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4391 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4392 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4393 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4394 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4395 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4396 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4397 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4398 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4399 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4400 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4401 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4402 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4403 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4404 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4405 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4406 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4407 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4408 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4409 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4410 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4411 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4412 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4413 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4414 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4415 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4416 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4417 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4418 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4419 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4420 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4421 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4422 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4423 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4424 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4425 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4426 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4427 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4428 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4429 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4430 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4431 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4432 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4433 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4434 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4435 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4436 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4437 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4438 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4439 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4440 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4441 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4442 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4443 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4444 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4445 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4446 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4447 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4448 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4449 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4450 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4451 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4452 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4453 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4454 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4455 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4456 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4457 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4458 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4459 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4460 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4461 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4462 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4463 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4464 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4465 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4466 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4467 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4468 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4469 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4470 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4471 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4472 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4473 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4474 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4475 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4476 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4477 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4478 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4481 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4485 whole low double instead of just low 47 bits when splitting values
4488 2012-12-03 Allan McRae <allan@archlinux.org>
4490 * manual/stdio.texi (Predefined Printf Handlers): Remove
4491 @hsep and @vsep usage.
4493 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4495 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4496 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4498 2012-12-03 Jeff Law <law@redhat.com>
4500 * time/sys/time.h (settimeofday): Do not mark TV argument
4503 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4505 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4506 when currently writing and seek to current position when not.
4507 * libio/Makefile (tests): Remove bug-fclose1.
4508 * libio/bug-fclose1.c: Delete.
4510 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4512 * manual/arith.texi (feenableexcept): Fix typo.
4513 (fedisableexcept): Likewise.
4515 2012-11-30 Roland McGrath <roland@hack.frob.com>
4517 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4518 second, differently-typed declaration, rather than a cast.
4520 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4522 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4523 * include/rpc/svc.h: ... here.
4525 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4528 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4529 depending n and resplen2 to catch cases where answer
4532 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4534 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4535 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4537 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4541 2012-11-29 Roland McGrath <roland@hack.frob.com>
4543 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4545 2012-11-28 Jeff Law <law@redhat.com>
4548 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4549 dataset_temporary. Track alloca usage into alloca_used.
4550 If dataset is large allocate and release it via malloc/free.
4552 2012-06-04 Florian Weimer <fweimer@redhat.com>
4555 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4557 2012-11-28 David S. Miller <davem@davemloft.net>
4559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4561 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4564 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4565 of pi/2 rounded to nearest to 64 bits.
4566 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4568 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4571 2012-11-28 Jeff Law <law@redhat.com>
4572 Martin Osvald <mosvald@redhat.com>
4575 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4576 * sunrpc/svc.c: Include time.h.
4577 (__svc_accept_failed): New function.
4578 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4579 any reason other than EINTR, call __svc_accept_failed.
4580 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4581 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4583 2012-11-28 Andreas Schwab <schwab@suse.de>
4585 * scripts/abilist.awk: Also handle indirect functions in .opd
4588 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4591 * sysdeps/x86/fpu/powl_helper.c: New file.
4592 * sysdeps/x86/fpu/Makefile: Likewise.
4593 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4595 (__ieee754_powl): Use __powl_helper for finite arguments except
4596 integer exponents below 8.
4597 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4599 (__ieee754_powl): Use __powl_helper for finite arguments except
4600 integer exponents below 8.
4601 * math/libm-test.inc (pow_test): Add more tests and enable some
4602 previously disabled tests.
4603 * sysdeps/i386/fpu/libm-test-ulps: Update.
4604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4606 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4607 Carlos O'Donell <carlos_odonell@mentor.com>
4609 * nss/makedb.c (is_prime): Assert that input is odd and greater
4610 than 4. Note that fact in a comment too.
4611 (next_prime): Add 4 to input.
4613 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4616 * libio/Makefile (tests): Add test case tst-fwrite-error.
4617 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4618 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4619 * libio/tst-fwrite-error.c: New test case.
4621 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4623 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4624 before casting to void *.
4625 * include/libc-internal.h (__pointer_type): New macro.
4626 (__integer_if_pointer_type_sub): Likewise.
4627 (__integer_if_pointer_type): Likewise.
4628 (cast_to_integer): Likewise.
4629 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4630 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4631 before casting to atomic64_t.
4632 (atomic_exchange_acq): Likewise.
4633 (__arch_exchange_and_add_body): Likewise.
4634 (__arch_add_body): Likewise.
4635 (atomic_add_negative): Likewise.
4636 (atomic_add_zero): Likewise.
4638 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4640 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4641 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4642 (add_fdes): Likewise.
4643 (linear_search_fdes): Likewise.
4644 (binary_search_unencoded_fdes): Likewise.
4646 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4648 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4650 2012-11-24 Adam Conrad <adconrad@0c3.net>
4652 * configure.in: Autodetect C++ header directories.
4653 * configure: Regenerated.
4655 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4657 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4659 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4663 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4665 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4666 LDBL_MANT_DIG == 106]: Disable some tests.
4667 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4669 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4673 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4674 input for small inputs. Return +/- pi/2 for large inputs.
4675 * math/libm-test.inc (atan_test): Add more tests.
4677 * sysdeps/generic/unwind-dw2-fde-glibc.c
4678 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4679 __attribute__ ((unused)).
4682 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4683 x * y if x and y are nonzero and z is zero.
4686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4687 nonzero exponents with absolute value below 0x1p-117 to +/-
4691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4692 up arguments below 2**-450, not just those below 2**-500.
4693 * math/libm-test.inc (hypot_test): Add another test.
4696 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4697 Return a+b for ratio over 2**120, not 2**60.
4698 * math/libm-test.inc (hypot_test): Add another test.
4700 * math/libm-test.inc (clog_test): Use
4701 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4702 (clog10_test): Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4707 2012-11-22 Andreas Schwab <schwab@suse.de>
4709 * sysdeps/i386/fpu/libm-test-ulps: Update.
4711 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4713 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4714 printf output with newline.
4716 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4719 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4720 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4721 -z nodlopen, -z initfirst and -z execstack support.
4722 * configure: Regenerated.
4724 * elf/elf.h (DF_1_NODIRECT): New macro.
4725 (DF_1_IGNMULDEF): Likewise.
4726 (DF_1_NOKSYMS): Likewise.
4727 (DF_1_NOHDR): Likewise.
4728 (DF_1_EDITED): Likewise.
4729 (DF_1_NORELOC): Likewise.
4730 (DF_1_SYMINTPOSE): Likewise.
4731 (DF_1_GLOBAUDIT): Likewise.
4732 (DF_1_SINGLETON): Likewise.
4733 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4734 DT_1_SUPPORTED_MASK bits.
4735 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4737 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4739 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4741 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4743 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4746 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4747 (sendmmsg): Move declarations...
4748 * socket/sys/socket.h: ... here.
4749 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4750 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4752 * socket/recvmmsg.c: ... this new file.
4753 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4754 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4755 definition of __sendmmsg hidden.
4756 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4757 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4758 Move ENOSYS stub into and include it from...
4759 * socket/sendmmsg.c: ... this new file.
4760 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4761 (sysdep_routines): Move recvmmsg and sendmmsg...
4762 * socket/Makefile (routines): ... here.
4763 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4764 (GLIBC_PRIVATE): Add __sendmmsg.
4765 * include/sys/socket.h (__sendmmsg): Add declarations.
4766 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4769 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4771 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4772 variable I1 with __attribute__ ((unused)).
4773 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4775 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4777 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4778 DUMMY variables with __attribute__ ((unused)).
4780 * bits/byteswap.h: Include <bits/types.h>.
4781 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4783 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4785 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4786 string_t. Do not manually set errno.
4787 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4788 length with __strnlen. Make sure to both set errno and return it on
4791 2012-11-19 David S. Miller <davem@davemloft.net>
4793 With help from Joseph Myers.
4794 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4795 very large arguments properly.
4796 * math/libm-test.inc (atan_test): New tests.
4797 (atan2_test): New tests.
4798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4801 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4804 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4807 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4808 [POSIX] (EADDRNOTAVAIL): Likewise.
4809 [POSIX] (EAFNOSUPPORT): Likewise.
4810 [POSIX] (EALREADY): Likewise.
4811 [POSIX] (ECONNABORTED): Likewise.
4812 [POSIX] (ECONNREFUSED): Likewise.
4813 [POSIX] (ECONNRESET): Likewise.
4814 [POSIX] (EDESTADDRREQ): Likewise.
4815 [POSIX] (EDQUOT): Likewise.
4816 [POSIX] (EHOSTUNREACH): Likewise.
4817 [POSIX] (EIDRM): Likewise.
4818 [POSIX] (EISCONN): Likewise.
4819 [POSIX] (ELOOP): Likewise.
4820 [POSIX] (EMULTIHOP): Likewise.
4821 [POSIX] (ENETDOWN): Likewise.
4822 [POSIX] (ENETUNREACH): Likewise.
4823 [POSIX] (ENOBUFS): Likewise.
4824 [POSIX] (ENODATA): Likewise.
4825 [POSIX] (ENOLINK): Likewise.
4826 [POSIX] (ENOMSG): Likewise.
4827 [POSIX] (ENOPROTOOPT): Likewise.
4828 [POSIX] (ENOSR): Likewise.
4829 [POSIX] (ENOSTR): Likewise.
4830 [POSIX] (ENOTCONN): Likewise.
4831 [POSIX] (ENOTSOCK): Likewise.
4832 [POSIX] (EOPNOTSUPP): Likewise.
4833 [POSIX] (EOVERFLOW): Likewise.
4834 [POSIX] (EPROTO): Likewise.
4835 [POSIX] (EPROTONOSUPPORT): Likewise.
4836 [POSIX] (EPROTOTYPE): Likewise.
4837 [POSIX] (ESTALE): Likewise.
4838 [POSIX] (ETIME): Likewise.
4839 [POSIX] (ETXTBSY): Likewise.
4840 [POSIX] (EWOULDBLOCK): Likewise.
4841 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4842 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4843 [POSIX] (SEEK_CUR): Likewise.
4844 [POSIX] (SEEK_END): Likewise.
4845 [POSIX || UNIX98] (mode_t): Do not require.
4846 [POSIX] (off_t): Likewise.
4847 [POSIX] (pid_t): Likewise.
4848 [POSIX] (sys/stat.h): Do not allow header.
4849 [POSIX] (unistd.h): Likewise.
4850 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4851 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4852 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4853 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4855 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4856 sigevent): Specify elements.
4857 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4859 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4860 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4862 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4863 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4864 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4865 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4866 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4867 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4868 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4869 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4870 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4871 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4872 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4873 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4874 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4875 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4877 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4879 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4881 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4883 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4884 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4885 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4886 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4887 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4888 Specify lower bound on value.
4889 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4890 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4891 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4892 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4893 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4894 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4895 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4896 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4898 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4900 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4901 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4902 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4903 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4904 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4905 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4906 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4907 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4908 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4909 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4910 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4911 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4912 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4913 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4914 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4915 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4917 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4919 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4920 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4921 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4922 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4923 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4924 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4926 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4927 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4928 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4929 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4930 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4931 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4932 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4934 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4936 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4937 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4938 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4939 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4940 specify as optional.
4941 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4942 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4943 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4944 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4945 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4946 [XPG3] (NL_LANGMAX): Likewise.
4947 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4948 [POSIX || XPG3] (NL_NMAX): Likewise.
4949 [POSIX || XPG3] (NL_SETMAX): Likewise.
4950 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4951 [XPG3] (NZERO): Likewise.
4952 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4953 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4954 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4955 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4956 (REG_ERANGE): Expect.
4957 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4959 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4960 Use (void) in prototype.
4961 [POSIX] (*_t): Allow.
4962 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4963 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4964 (WRDE_BADVAL): Expect.
4966 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4968 [XPG3 || XPG4] (O_RSYNC): Likewise.
4969 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4971 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4972 [XPG3 || XPG4] (sigqueue): Likewise.
4973 [XPG3 || XPG4] (sigtimedwait): Likewise.
4974 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4975 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4976 [XPG3 || XPG4] (vsnprintf): Likewise.
4977 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4979 [XPG3 || XPG4] (blksize_t): Likewise.
4980 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4982 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4983 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4984 [XPG3 || XPG4] (struct itimerspec): Likewise.
4985 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4986 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4987 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4988 [XPG3 || XPG4] (clockid_t): Likewise.
4989 [XPG3 || XPG4] (timer_t): Likewise.
4990 [XPG3 || XPG4] (clock_getres): Likewise.
4991 [XPG3 || XPG4] (clock_gettime): Likewise.
4992 [XPG3 || XPG4] (clock_settime): Likewise.
4993 [XPG3 || XPG4] (nanosleep): Likewise.
4994 [XPG3 || XPG4] (timer_create): Likewise.
4995 [XPG3 || XPG4] (timer_delete): Likewise.
4996 [XPG3 || XPG4] (timer_gettime): Likewise.
4997 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4998 [XPG3 || XPG4] (timer_settime): Likewise.
4999 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5000 [XPG3 || XPG4] (getlogin_r): Likewise.
5001 [XPG3 || XPG4] (pread): Likewise.
5002 [XPG3 || XPG4] (pthread_atfork): Likewise.
5003 [XPG3 || XPG4] (pwrite): Likewise.
5006 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5009 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5011 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5012 finalizing MALLSTREAM.
5014 * sysdeps/mach/hurd/syncfs.c: New file.
5016 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5019 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5020 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5021 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5022 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5023 (_nss_dns_gethostbyname4_r): Likewise.
5024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5025 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5027 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5030 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5032 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5034 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5035 * elf/cache.c (print_entry): Print ",AArch64" for
5038 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5039 * elf/cache.c (print_entry): Print ",hard-float" for
5042 2012-11-18 David S. Miller <davem@davemloft.net>
5044 With help from Joseph Myers.
5045 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5047 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5049 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5050 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5052 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5053 * math/libm-test.inc (y0_test): New tests.
5054 (y1_test): New tests.
5055 * sysdeps/i386/fpu/libm-test-ulps: Update.
5056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5059 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5061 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5063 * configure: Regenerated.
5065 2012-11-17 David S. Miller <davem@davemloft.net>
5068 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5069 nonzero exponents with absolute value below 0x1p-128 to +/-
5072 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5074 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5076 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5078 * posix/getconf-speclist.c: New file.
5079 * posix/posix-envs.def: Likewise.
5080 * posix/confstr.c (START_ENV_GROUP): New macro.
5081 (END_ENV_GROUP): Likewise.
5082 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5083 (KNOWN_PRESENT_ENV_STRING): Likewise.
5084 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5085 (UNKNOWN_ENVIRONMENT): Likewise.
5086 (confstr): Include posix-envs.def instead of handling
5087 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5088 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5089 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5090 (END_ENV_GROUP): Likewise.
5091 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5092 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5093 (UNKNOWN_ENVIRONMENT): Likewise.
5094 (__sysconf): Include posix-envs.def instead of handling associated
5095 cases directly here.
5096 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5097 preprocessing getconf-speclist.c rather than running getconf or
5098 generating empty file.
5100 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5102 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5104 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5107 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5109 2012-11-16 David S. Miller <davem@davemloft.net>
5111 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5112 smaller than LDBL_EPSILON/2.0L, just return xm1.
5114 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5116 * elf/tst-array1.c (init): Set constructor priority to 1000.
5117 (fini): Set destructor priority to 1000.
5118 * elf/tst-array2dep.c: Likewise.
5120 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5123 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5124 (_IO_new_file_xsputn): Also return EOF if none of the input
5125 data was written when overflow failed.
5126 * libio/iopadn.c (_IO_padn): Likewise.
5127 * libio/iowpadn.c (_IO_wpadn): Likewise.
5128 * stdio-common/tst-put-error.c: Add copyright notice.
5129 (do_test): Add case for printing padded string.
5130 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5131 _IO_padn returned error.
5132 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5133 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5136 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5138 * libio/libioP.h: Add comment note that the references to C++
5139 bits are now obsolete.
5141 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5143 * math/libm-test.inc (check_complex): Use asprintf.
5145 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5147 * debug/pcprofiledump.c (print_version): Update copyright year.
5148 * malloc/memusagestat.c (print_version): Likewise.
5150 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5153 * elf/Makefile (tests): Add tst-audit8.
5154 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5155 ($(objpfx)tst-audit8.out): New target.
5156 (tst-audit8-ENV): New variable.
5157 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5158 audit if l_reloc_result is NULL.
5159 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5160 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5161 * elf/tst-audit8.c: New file.
5163 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5165 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5166 * misc/Makefile (CFLAGS-select.c): Define.
5167 * posix/Makefile (CFLAGS-pause.c): Define.
5169 2012-11-13 David S. Miller <davem@davemloft.net>
5171 * crypt/Makefile: Move test targets after toplevel Rules
5172 inclusion. Grab any necessary sysdep routines when linking.
5173 * crypt/md5.c (md5_process_block): Remove define, we will always
5174 name it __md5_process_block.
5175 (md5_finish_ctx): Update md5_process_block call.
5176 (md5_stream): Likewise.
5177 (md5_process_bytes): Likewise.
5178 (md5_process_block): Rename to __md5_process_block and move to ...
5179 * crypt/md5-block.c: ... here.
5180 * crypt/sha256.c (sha256_process_block): Move to ...
5181 * crypt/sha256-block.c: ... here.
5182 * crypt/sha512.c (sha512_process_block): Move to ...
5183 * crypt/sha512-block.c: ... here.
5184 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5186 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5187 * sysdeps/sparc/sparc64/multiarch/Makefile
5188 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5190 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5191 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5193 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5194 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5195 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5196 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5197 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5198 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5199 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5200 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5203 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5204 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5206 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5208 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5210 * timezone/tzselect.ksh: Update from tzcode git revision
5211 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5212 * timezone/zdump.c: Likewise.
5213 * timezone/zic.c: Likewise.
5214 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5215 in TZVERSION setting, not $(PKGVERSION).
5216 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5217 REPORT_BUGS_TO settings.
5220 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5223 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5225 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5226 detection to immediately after _FP_ROUND().
5227 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5230 2012-11-11 David S. Miller <davem@davemloft.net>
5232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5234 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5235 __close rather than their public counterparts.
5237 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5239 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5241 [UNIX98] (sem_timedwait): Do not expect.
5242 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5243 [XPG4 || UNIX98] (sockatmark): Do not expect.
5244 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5245 (clock_getcpuclockid): Do not expect.
5246 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5247 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5249 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5250 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5251 [UNIX98] (vwscanf): Likewise.
5252 [UNIX98] (vswscanf): Likewise.
5254 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5256 * timezone/version.h: Remove file.
5257 * timezone/README: Do not refer to version.h.
5258 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5260 ($(objpfx)zdump.o): Likewise.
5261 ($(objpfx)version.h): New target.
5263 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5265 * timezone/README: Don't mention modification to tzselect.ksh.
5266 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5267 work on unmodified tzselect.ksh. Substitute version numbers in
5270 * Makefile (format-me): Remove.
5271 (INSTALL): Adjust indentation. Use commands directly instead of
5274 * aclocal.m4 (ACX_PKGVERSION): New macro.
5275 (ACX_BUGURL): Likewise.
5276 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5277 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5278 (REPORT_BUGS_TO): Likewise.
5279 * configure: Regenerated.
5280 * config.h.in (PKGVERSION): New macro.
5281 (REPORT_BUGS_TO): Likewise.
5282 * config.make.in (PKGVERSION): New variable.
5283 (PKGVERSION_TEXI): Likewise.
5284 (REPORT_BUGS_TO): Likewise.
5285 (REPORT_BUGS_TEXI): Likewise.
5286 * Makefile (format-me): Use -I$(common-objpfx)manual.
5287 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5288 ($(common-objpfx)manual/%): New target.
5289 (manual/%): Remove target.
5290 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5291 (print_version): Use PKGVERSION.
5292 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5293 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5295 ($(objpfx)xtrace): Likewise.
5296 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5297 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5298 (print_version): Use PKGVERSION.
5299 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5300 (do_version): Use PKGVERSION.
5301 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5303 (common-ldd-rewrite): Likewise.
5304 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5305 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5306 (print_version): Use PKGVERSION.
5307 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5308 * elf/pldd.c (argp_program_bug_address): Remove variable.
5309 (more_help): New function.
5310 (argp): Use more_help.
5311 (print_version): Use PKGVERSION.
5312 * elf/sln.c (main): Use PKGVERSION.
5313 (usage): Use REPORT_BUGS_TO.
5314 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5315 (top level): Use PKGVERSION.
5316 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5317 (print_version): Use PKGVERSION.
5318 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5319 (print_version): Use PKGVERSION.
5320 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5321 (print_version): Use PKGVERSION.
5322 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5323 (print_version): Use PKGVERSION.
5324 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5325 (print_version): Use PKGVERSION.
5326 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5327 (print_version): Use PKGVERSION.
5328 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5330 ($(objpfx)memusage): Likewise.
5331 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5332 (do_version): Use PKGVERSION.
5333 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5334 (print_version): Use PKGVERSION.
5335 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5336 ($PKGVERSION): New variable.
5337 ($REPORT_BUGS_TO): Likewise.
5338 (usage): Use $REPORT_BUGS_TO.
5339 (top level): Use $PKGVERSION.
5340 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5341 ($(objpfx)pkgvers.texi): New rule.
5342 ($(objpfx)stamp-pkgvers): Likewise.
5343 * manual/install.texi: Include pkgvers.texi.
5344 (--with-pkgversion): Document new configure option.
5345 (--with-bugurl): Likewise.
5346 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5347 than necessarily for this particular distribution. Use
5348 REPORT_BUGS_TO for where to report bugs.
5349 * INSTALL: Regenerated.
5350 * manual/libc.texinfo: Include pkgvers.texi.
5351 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5352 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5353 (print_version): Use PKGVERSION.
5354 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5355 (print_version): Use PKGVERSION.
5356 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5357 (print_version): Use PKGVERSION.
5358 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5359 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5361 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5362 (print_version): Use PKGVERSION.
5363 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5364 (print_version): Use PKGVERSION.
5365 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5368 * timezone/checktab.awk: Update from tzcode 2012i.
5369 * timezone/ialloc.c: Likewise.
5370 * timezone/private.h: Likewise.
5371 * timezone/scheck.c: Likewise.
5372 * timezone/tzfile.h: Likewise.
5373 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5374 (TZVERSION): Hardcode tzcode version number.
5375 * timezone/zdump.c: Update from tzcode 2012i.
5376 * timezone/zic.c: Likewise.
5377 * timezone/version.h: New file.
5378 * timezone/README: Describe version.h. Update upstream location.
5381 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5382 (mktemp): Enable declaration.
5383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5400 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5401 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5402 for copies of such integer values.
5403 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5404 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5406 2012-11-09 Andreas Jaeger <aj@suse.de>
5408 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5409 definitions and declarations that are provided by
5410 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5412 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5414 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5415 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5416 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5419 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5421 * elf/elf.h: Update comment before AArch64 relocations.
5423 2012-11-07 David S. Miller <davem@davemloft.net>
5425 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5426 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5427 (__start_context): Declare.
5428 (__makecontext_ret): Delete.
5429 (__makecontext): Hook up __start_context instead of
5431 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5432 (sysdep_routines): Add __start_context when in stdlib.
5434 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5436 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5437 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5438 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5440 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5441 (READELF): New variable. Use it instead of hardcoded "readelf".
5443 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5445 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5446 * sysdeps/x86/Makefile: Here.
5447 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5448 * sysdeps/x86/tst-xmmymm.sh: This.
5450 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5452 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5454 [UNIX98] (pthread_barrier_t): Do not expect.
5455 [UNIX98] (pthread_barrierattr_t): Likewise.
5456 [UNIX98] (pthread_spinlock_t): Likewise.
5457 [UNIX98] (pthread_barrier_destroy): Likewise.
5458 [UNIX98] (pthread_barrier_init): Likewise.
5459 [UNIX98] (pthread_barrier_wait): Likewise.
5460 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5461 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5462 [UNIX98] (pthread_barrierattr_init): Likewise.
5463 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5464 [UNIX98] (pthread_getcpuclockid): Likewise.
5465 [UNIX98] (pthread_mutex_timedlock): Likewise.
5466 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5467 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5468 [UNIX98] (pthread_sigmask): Likewise.
5469 [UNIX98] (pthread_spin_destroy): Likewise.
5470 [UNIX98] (pthread_spin_init): Likewise.
5471 [UNIX98] (pthread_spin_lock): Likewise.
5472 [UNIX98] (pthread_spin_trylock): Likewise.
5473 [UNIX98] (pthread_spin_unlock): Likewise.
5474 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5476 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5477 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5478 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5479 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5480 [XPG3 || XPG4] (pthread_key_t): Likewise.
5481 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5482 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5483 [XPG3 || XPG4] (pthread_once_t): Likewise.
5484 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5485 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5486 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5487 [XPG3 || XPG4] (pthread_t): Likewise.
5489 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5491 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5493 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5494 Change function return type to int.
5496 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5497 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5498 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5499 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5500 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5501 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5502 [!POSIX] (posix_madvise): Likewise.
5503 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5505 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5506 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5508 (posix_mem_offset): Likewise.
5509 (posix_typed_mem_get_info): Likewise.
5510 (posix_typed_mem_open): Likewise.
5512 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5513 Change condition to [XOPEN2K8].
5515 * conform/conformtest.pl: Preprocess allow-header data with -x c
5516 instead of from stdin.
5517 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5518 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5519 [C99-based standards] (cerfc): Likewise.
5520 [C99-based standards] (cexp2): Likewise.
5521 [C99-based standards] (cexpm1): Likewise.
5522 [C99-based standards] (clog10): Likewise.
5523 [C99-based standards] (clog1p): Likewise.
5524 [C99-based standards] (clog2): Likewise.
5525 [C99-based standards] (clgamma): Likewise.
5526 [C99-based standards] (ctgamma): Likewise.
5527 [C99-based standards] (cerff): Likewise.
5528 [C99-based standards] (cerfcf): Likewise.
5529 [C99-based standards] (cexp2f): Likewise.
5530 [C99-based standards] (cexpm1f): Likewise.
5531 [C99-based standards] (clog10f): Likewise.
5532 [C99-based standards] (clog1pf): Likewise.
5533 [C99-based standards] (clog2f): Likewise.
5534 [C99-based standards] (clgammaf): Likewise.
5535 [C99-based standards] (ctgammaf): Likewise.
5536 [C99-based standards] (cerfl): Likewise.
5537 [C99-based standards] (cerfcl): Likewise.
5538 [C99-based standards] (cexp2l): Likewise.
5539 [C99-based standards] (cexpm1l): Likewise.
5540 [C99-based standards] (clog10l): Likewise.
5541 [C99-based standards] (clog1pl): Likewise.
5542 [C99-based standards] (clog2l): Likewise.
5543 [C99-based standards] (clgammal): Likewise.
5544 [C99-based standards] (ctgammal): Likewise.
5545 * conform/data/inttypes.h-data [C99-based standards]: Include
5546 stdint.h-data. Remove all expectations for stdint.h contents.
5547 [C99-based standards] (PRI*): Do not allow.
5548 [C99-based standards] (SCN*): Likewise.
5549 [C99-based standards] (*_t): Likewise.
5550 [C99-based-standards] (PRId8): Expect macro.
5551 [C99-based-standards] (PRIi8): Likewise.
5552 [C99-based-standards] (PRIo8): Likewise.
5553 [C99-based-standards] (PRIu8): Likewise.
5554 [C99-based-standards] (PRIx8): Likewise.
5555 [C99-based-standards] (PRIX8): Likewise.
5556 [C99-based-standards] (SCNd8): Likewise.
5557 [C99-based-standards] (SCNi8): Likewise.
5558 [C99-based-standards] (SCNo8): Likewise.
5559 [C99-based-standards] (SCNu8): Likewise.
5560 [C99-based-standards] (SCNx8): Likewise.
5561 [C99-based-standards] (PRIdLEAST8): Likewise.
5562 [C99-based-standards] (PRIiLEAST8): Likewise.
5563 [C99-based-standards] (PRIoLEAST8): Likewise.
5564 [C99-based-standards] (PRIuLEAST8): Likewise.
5565 [C99-based-standards] (PRIxLEAST8): Likewise.
5566 [C99-based-standards] (PRIXLEAST8): Likewise.
5567 [C99-based-standards] (SCNdLEAST8): Likewise.
5568 [C99-based-standards] (SCNiLEAST8): Likewise.
5569 [C99-based-standards] (SCNoLEAST8): Likewise.
5570 [C99-based-standards] (SCNuLEAST8): Likewise.
5571 [C99-based-standards] (SCNxLEAST8): Likewise.
5572 [C99-based-standards] (PRIdFAST8): Likewise.
5573 [C99-based-standards] (PRIiFAST8): Likewise.
5574 [C99-based-standards] (PRIoFAST8): Likewise.
5575 [C99-based-standards] (PRIuFAST8): Likewise.
5576 [C99-based-standards] (PRIxFAST8): Likewise.
5577 [C99-based-standards] (PRIXFAST8): Likewise.
5578 [C99-based-standards] (SCNdFAST8): Likewise.
5579 [C99-based-standards] (SCNiFAST8): Likewise.
5580 [C99-based-standards] (SCNoFAST8): Likewise.
5581 [C99-based-standards] (SCNuFAST8): Likewise.
5582 [C99-based-standards] (SCNxFAST8): Likewise.
5583 [C99-based-standards] (PRId16): Likewise.
5584 [C99-based-standards] (PRIi16): Likewise.
5585 [C99-based-standards] (PRIo16): Likewise.
5586 [C99-based-standards] (PRIu16): Likewise.
5587 [C99-based-standards] (PRIx16): Likewise.
5588 [C99-based-standards] (PRIX16): Likewise.
5589 [C99-based-standards] (SCNd16): Likewise.
5590 [C99-based-standards] (SCNi16): Likewise.
5591 [C99-based-standards] (SCNo16): Likewise.
5592 [C99-based-standards] (SCNu16): Likewise.
5593 [C99-based-standards] (SCNx16): Likewise.
5594 [C99-based-standards] (PRIdLEAST16): Likewise.
5595 [C99-based-standards] (PRIiLEAST16): Likewise.
5596 [C99-based-standards] (PRIoLEAST16): Likewise.
5597 [C99-based-standards] (PRIuLEAST16): Likewise.
5598 [C99-based-standards] (PRIxLEAST16): Likewise.
5599 [C99-based-standards] (PRIXLEAST16): Likewise.
5600 [C99-based-standards] (SCNdLEAST16): Likewise.
5601 [C99-based-standards] (SCNiLEAST16): Likewise.
5602 [C99-based-standards] (SCNoLEAST16): Likewise.
5603 [C99-based-standards] (SCNuLEAST16): Likewise.
5604 [C99-based-standards] (SCNxLEAST16): Likewise.
5605 [C99-based-standards] (PRIdFAST16): Likewise.
5606 [C99-based-standards] (PRIiFAST16): Likewise.
5607 [C99-based-standards] (PRIoFAST16): Likewise.
5608 [C99-based-standards] (PRIuFAST16): Likewise.
5609 [C99-based-standards] (PRIxFAST16): Likewise.
5610 [C99-based-standards] (PRIXFAST16): Likewise.
5611 [C99-based-standards] (SCNdFAST16): Likewise.
5612 [C99-based-standards] (SCNiFAST16): Likewise.
5613 [C99-based-standards] (SCNoFAST16): Likewise.
5614 [C99-based-standards] (SCNuFAST16): Likewise.
5615 [C99-based-standards] (SCNxFAST16): Likewise.
5616 [C99-based-standards] (PRId32): Likewise.
5617 [C99-based-standards] (PRIi32): Likewise.
5618 [C99-based-standards] (PRIo32): Likewise.
5619 [C99-based-standards] (PRIu32): Likewise.
5620 [C99-based-standards] (PRIx32): Likewise.
5621 [C99-based-standards] (PRIX32): Likewise.
5622 [C99-based-standards] (SCNd32): Likewise.
5623 [C99-based-standards] (SCNi32): Likewise.
5624 [C99-based-standards] (SCNo32): Likewise.
5625 [C99-based-standards] (SCNu32): Likewise.
5626 [C99-based-standards] (SCNx32): Likewise.
5627 [C99-based-standards] (PRIdLEAST32): Likewise.
5628 [C99-based-standards] (PRIiLEAST32): Likewise.
5629 [C99-based-standards] (PRIoLEAST32): Likewise.
5630 [C99-based-standards] (PRIuLEAST32): Likewise.
5631 [C99-based-standards] (PRIxLEAST32): Likewise.
5632 [C99-based-standards] (PRIXLEAST32): Likewise.
5633 [C99-based-standards] (SCNdLEAST32): Likewise.
5634 [C99-based-standards] (SCNiLEAST32): Likewise.
5635 [C99-based-standards] (SCNoLEAST32): Likewise.
5636 [C99-based-standards] (SCNuLEAST32): Likewise.
5637 [C99-based-standards] (SCNxLEAST32): Likewise.
5638 [C99-based-standards] (PRIdFAST32): Likewise.
5639 [C99-based-standards] (PRIiFAST32): Likewise.
5640 [C99-based-standards] (PRIoFAST32): Likewise.
5641 [C99-based-standards] (PRIuFAST32): Likewise.
5642 [C99-based-standards] (PRIxFAST32): Likewise.
5643 [C99-based-standards] (PRIXFAST32): Likewise.
5644 [C99-based-standards] (SCNdFAST32): Likewise.
5645 [C99-based-standards] (SCNiFAST32): Likewise.
5646 [C99-based-standards] (SCNoFAST32): Likewise.
5647 [C99-based-standards] (SCNuFAST32): Likewise.
5648 [C99-based-standards] (SCNxFAST32): Likewise.
5649 [C99-based-standards] (PRId64): Likewise.
5650 [C99-based-standards] (PRIi64): Likewise.
5651 [C99-based-standards] (PRIo64): Likewise.
5652 [C99-based-standards] (PRIu64): Likewise.
5653 [C99-based-standards] (PRIx64): Likewise.
5654 [C99-based-standards] (PRIX64): Likewise.
5655 [C99-based-standards] (SCNd64): Likewise.
5656 [C99-based-standards] (SCNi64): Likewise.
5657 [C99-based-standards] (SCNo64): Likewise.
5658 [C99-based-standards] (SCNu64): Likewise.
5659 [C99-based-standards] (SCNx64): Likewise.
5660 [C99-based-standards] (PRIdLEAST64): Likewise.
5661 [C99-based-standards] (PRIiLEAST64): Likewise.
5662 [C99-based-standards] (PRIoLEAST64): Likewise.
5663 [C99-based-standards] (PRIuLEAST64): Likewise.
5664 [C99-based-standards] (PRIxLEAST64): Likewise.
5665 [C99-based-standards] (PRIXLEAST64): Likewise.
5666 [C99-based-standards] (SCNdLEAST64): Likewise.
5667 [C99-based-standards] (SCNiLEAST64): Likewise.
5668 [C99-based-standards] (SCNoLEAST64): Likewise.
5669 [C99-based-standards] (SCNuLEAST64): Likewise.
5670 [C99-based-standards] (SCNxLEAST64): Likewise.
5671 [C99-based-standards] (PRIdFAST64): Likewise.
5672 [C99-based-standards] (PRIiFAST64): Likewise.
5673 [C99-based-standards] (PRIoFAST64): Likewise.
5674 [C99-based-standards] (PRIuFAST64): Likewise.
5675 [C99-based-standards] (PRIxFAST64): Likewise.
5676 [C99-based-standards] (PRIXFAST64): Likewise.
5677 [C99-based-standards] (SCNdFAST64): Likewise.
5678 [C99-based-standards] (SCNiFAST64): Likewise.
5679 [C99-based-standards] (SCNoFAST64): Likewise.
5680 [C99-based-standards] (SCNuFAST64): Likewise.
5681 [C99-based-standards] (SCNxFAST64): Likewise.
5682 [C99-based-standards] (PRIdMAX): Likewise.
5683 [C99-based-standards] (PRIiMAX): Likewise.
5684 [C99-based-standards] (PRIoMAX): Likewise.
5685 [C99-based-standards] (PRIuMAX): Likewise.
5686 [C99-based-standards] (PRIxMAX): Likewise.
5687 [C99-based-standards] (PRIXMAX): Likewise.
5688 [C99-based-standards] (SCNdMAX): Likewise.
5689 [C99-based-standards] (SCNiMAX): Likewise.
5690 [C99-based-standards] (SCNoMAX): Likewise.
5691 [C99-based-standards] (SCNuMAX): Likewise.
5692 [C99-based-standards] (SCNxMAX): Likewise.
5693 [C99-based-standards] (PRIdPTR): Likewise.
5694 [C99-based-standards] (PRIiPTR): Likewise.
5695 [C99-based-standards] (PRIoPTR): Likewise.
5696 [C99-based-standards] (PRIuPTR): Likewise.
5697 [C99-based-standards] (PRIxPTR): Likewise.
5698 [C99-based-standards] (PRIXPTR): Likewise.
5699 [C99-based-standards] (SCNdPTR): Likewise.
5700 [C99-based-standards] (SCNiPTR): Likewise.
5701 [C99-based-standards] (SCNoPTR): Likewise.
5702 [C99-based-standards] (SCNuPTR): Likewise.
5703 [C99-based-standards] (SCNxPTR): Likewise.
5704 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5706 * conform/data/stdint.h-data: Update comments to clarify
5708 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5710 [C99-based standards] (INT8_MAX): Likewise.
5711 [C99-based standards] (INT16_MIN): Likewise.
5712 [C99-based standards] (INT16_MAX): Likewise.
5713 [C99-based standards] (INT32_MIN): Likewise.
5714 [C99-based standards] (INT32_MAX): Likewise.
5715 [C99-based standards] (INT64_MIN): Likewise.
5716 [C99-based standards] (INT64_MAX): Likewise.
5717 [C99-based standards] (UINT8_MAX): Likewise.
5718 [C99-based standards] (UINT16_MAX): Likewise.
5719 [C99-based standards] (UINT32_MAX): Likewise.
5720 [C99-based standards] (UINT64_MAX): Likewise.
5721 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5722 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5723 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5724 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5725 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5726 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5727 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5728 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5729 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5730 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5731 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5732 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5733 [C99-based standards] (INT_FAST8_MIN): Likewise.
5734 [C99-based standards] (INT_FAST8_MAX): Likewise.
5735 [C99-based standards] (INT_FAST16_MIN): Likewise.
5736 [C99-based standards] (INT_FAST16_MAX): Likewise.
5737 [C99-based standards] (INT_FAST32_MIN): Likewise.
5738 [C99-based standards] (INT_FAST32_MAX): Likewise.
5739 [C99-based standards] (INT_FAST64_MIN): Likewise.
5740 [C99-based standards] (INT_FAST64_MAX): Likewise.
5741 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5742 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5743 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5744 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5745 [C99-based standards] (INTPTR_MIN): Likewise.
5746 [C99-based standards] (INTPTR_MAX): Likewise.
5747 [C99-based standards] (UINTPTR_MAX): Likewise.
5748 [C99-based standards] (INTMAX_MIN): Likewise.
5749 [C99-based standards] (INTMAX_MAX): Likewise.
5750 [C99-based standards] (UINTMAX_MAX): Likewise.
5751 [C99-based standards] (PTRDIFF_MIN): Likewise.
5752 [C99-based standards] (PTRDIFF_MAX): Likewise.
5753 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5754 [C99-based standards] (SIZE_MAX): Likewise.
5755 [C99-based standards] (WCHAR_MAX): Likewise.
5756 [C99-based standards] (WINT_MAX): Likewise.
5757 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5758 constraint on value.
5759 [C99-based standards] (WCHAR_MIN): Likewise.
5760 [C99-based standards] (WINT_MIN): Likewise.
5761 [C99-based standards] (*_t): Allow.
5762 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5763 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5764 Include math.h-data and complex.h-data. Remove all expectations
5765 of math.h and complex.h contents.
5766 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5768 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5769 (struct tm): Expect tag.
5770 [C99-based-standards] (wcstof): Expect function.
5771 [C99-based-standards] (wcstold): Likewise.
5772 [C99-based-standards] (wcstoll): Likewise.
5773 [C99-based-standards] (wcstoull): Likewise.
5774 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5775 macro-int-constant. Specify type.
5776 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5777 constraint on value.
5778 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5780 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5782 [ISO C standards]: Do not allow headers.
5783 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5784 wcs[abcdefghijklmnopqrstuvwxyz]*.
5785 [ISO C standards] (*_t): Do not allow.
5786 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5788 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5789 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5791 [ISO C standards]: Do not allow headers.
5792 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5793 is[abcdefghijklmnopqrstuvwxyz]*.
5794 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5795 to[abcdefghijklmnopqrstuvwxyz]*.
5796 [ISO C standards] (*_t): Do not allow.
5797 * conform/data/stdalign.h-data: New file.
5798 * conform/data/stdbool.h-data: Likewise.
5799 * conform/data/stdnoreturn.h-data: Likewise.
5801 2012-11-07 Roland McGrath <roland@hack.frob.com>
5804 * manual/filesys.texi (Directory Entries): Typo fix.
5805 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5807 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5809 * elf/elf.h (EM_AARCH64): New macro.
5810 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5811 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5812 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5813 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5814 (R_AARCH64_TLSDESC): Likewise.
5815 (NT_ARM_TLS): Likewise.
5816 (NT_ARM_HW_BREAK): Likewise.
5817 (NT_ARM_HW_WATCH): Likewise.
5819 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5822 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5823 (__ieee754_powl): Saturate nonzero exponents with absolute value
5824 below 0x1p-79 to +/- 0x1p-79.
5825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5826 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5827 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5828 nonzero exponents with absolute value below 0x1p-32 to +/-
5830 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5831 (__ieee754_powl): Saturate nonzero exponents with absolute value
5832 below 0x1p-79 to +/- 0x1p-79.
5833 * math/libm-test.inc (pow_test): Add more tests.
5835 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5837 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5838 _dl_s390_cap_flags with kernel. Increase string length.
5839 (_dl_s390_platforms): Add z196 and zEC12.
5841 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5843 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5844 Change XOPEN21K to XOPEN2K.
5846 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5848 * string/memmove.c: Use memcpy when possible.
5850 2012-11-06 Andreas Jaeger <aj@suse.de>
5852 * po/eo.po: Update from translation team.
5854 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5858 exponent and small x and y exponents, scale x or y up. Increase
5859 by 2 the exponent used in scaling up.
5860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5861 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5862 * math/libm-test.inc (fma_test): Add more tests.
5863 (fma_test_towardzero): Likewise.
5864 (fma_test_downward): Likewise.
5865 (fma_test_upward): Likewise.
5867 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5870 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5874 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5875 namespace for names of struct fields.
5876 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5878 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5879 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5881 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5884 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5886 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5888 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5892 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5895 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5899 definitely overflow as x * y not x * y + z.
5900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5902 * math/libm-test.inc (fma_test): Add more tests.
5903 (fma_test_towardzero): Likewise.
5904 (fma_test_downward): Likewise.
5905 (fma_test_upward): Likewise.
5907 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5911 * include/stub-tag.h: Remove file.
5912 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5914 * manual/maint.texi (Porting): Don't reference it.
5915 * Makerules ($(objpfx)stubs): Likewise.
5916 * dirent/closedir.c: Don't include <stub-tag.h>.
5917 * dirent/dirfd.c: Likewise.
5918 * dirent/fdopendir.c: Likewise.
5919 * dirent/getdents.c: Likewise.
5920 * dirent/getdents64.c: Likewise.
5921 * dirent/opendir.c: Likewise.
5922 * dirent/readdir.c: Likewise.
5923 * dirent/readdir64.c: Likewise.
5924 * dirent/readdir64_r.c: Likewise.
5925 * dirent/readdir_r.c: Likewise.
5926 * dirent/rewinddir.c: Likewise.
5927 * dirent/seekdir.c: Likewise.
5928 * dirent/telldir.c: Likewise.
5929 * gmon/profil.c: Likewise.
5930 * grp/setgroups.c: Likewise.
5931 * inet/if_index.c: Likewise.
5932 * io/access.c: Likewise.
5933 * io/chdir.c: Likewise.
5934 * io/chmod.c: Likewise.
5935 * io/chown.c: Likewise.
5936 * io/close.c: Likewise.
5937 * io/dup.c: Likewise.
5938 * io/dup2.c: Likewise.
5939 * io/dup3.c: Likewise.
5940 * io/euidaccess.c: Likewise.
5941 * io/faccessat.c: Likewise.
5942 * io/fchdir.c: Likewise.
5943 * io/fchmod.c: Likewise.
5944 * io/fchmodat.c: Likewise.
5945 * io/fchown.c: Likewise.
5946 * io/fchownat.c: Likewise.
5947 * io/fcntl.c: Likewise.
5948 * io/flock.c: Likewise.
5949 * io/fstatfs.c: Likewise.
5950 * io/fstatfs64.c: Likewise.
5951 * io/fstatvfs.c: Likewise.
5952 * io/fstatvfs64.c: Likewise.
5953 * io/futimens.c: Likewise.
5954 * io/fxstat.c: Likewise.
5955 * io/fxstat64.c: Likewise.
5956 * io/fxstatat.c: Likewise.
5957 * io/fxstatat64.c: Likewise.
5958 * io/getcwd.c: Likewise.
5959 * io/isatty.c: Likewise.
5960 * io/lchmod.c: Likewise.
5961 * io/lchown.c: Likewise.
5962 * io/link.c: Likewise.
5963 * io/linkat.c: Likewise.
5964 * io/lseek.c: Likewise.
5965 * io/lseek64.c: Likewise.
5966 * io/lxstat64.c: Likewise.
5967 * io/mkdir.c: Likewise.
5968 * io/mkdirat.c: Likewise.
5969 * io/mkfifo.c: Likewise.
5970 * io/mkfifoat.c: Likewise.
5971 * io/open.c: Likewise.
5972 * io/open64.c: Likewise.
5973 * io/openat.c: Likewise.
5974 * io/openat64.c: Likewise.
5975 * io/pipe.c: Likewise.
5976 * io/pipe2.c: Likewise.
5977 * io/poll.c: Likewise.
5978 * io/posix_fadvise.c: Likewise.
5979 * io/posix_fadvise64.c: Likewise.
5980 * io/posix_fallocate.c: Likewise.
5981 * io/posix_fallocate64.c: Likewise.
5982 * io/read.c: Likewise.
5983 * io/readlink.c: Likewise.
5984 * io/readlinkat.c: Likewise.
5985 * io/rmdir.c: Likewise.
5986 * io/sendfile.c: Likewise.
5987 * io/sendfile64.c: Likewise.
5988 * io/statfs.c: Likewise.
5989 * io/statfs64.c: Likewise.
5990 * io/statvfs.c: Likewise.
5991 * io/statvfs64.c: Likewise.
5992 * io/symlink.c: Likewise.
5993 * io/symlinkat.c: Likewise.
5994 * io/ttyname.c: Likewise.
5995 * io/ttyname_r.c: Likewise.
5996 * io/umask.c: Likewise.
5997 * io/unlink.c: Likewise.
5998 * io/unlinkat.c: Likewise.
5999 * io/utime.c: Likewise.
6000 * io/utimensat.c: Likewise.
6001 * io/write.c: Likewise.
6002 * io/xmknod.c: Likewise.
6003 * io/xmknodat.c: Likewise.
6004 * io/xstat.c: Likewise.
6005 * io/xstat64.c: Likewise.
6006 * login/getpt.c: Likewise.
6007 * login/grantpt.c: Likewise.
6008 * login/unlockpt.c: Likewise.
6009 * math/e_acoshl.c: Likewise.
6010 * math/e_acosl.c: Likewise.
6011 * math/e_asinl.c: Likewise.
6012 * math/e_atan2l.c: Likewise.
6013 * math/e_atanhl.c: Likewise.
6014 * math/e_coshl.c: Likewise.
6015 * math/e_expl.c: Likewise.
6016 * math/e_fmodl.c: Likewise.
6017 * math/e_gammal_r.c: Likewise.
6018 * math/e_hypotl.c: Likewise.
6019 * math/e_j0l.c: Likewise.
6020 * math/e_j1l.c: Likewise.
6021 * math/e_jnl.c: Likewise.
6022 * math/e_lgammal_r.c: Likewise.
6023 * math/e_log10l.c: Likewise.
6024 * math/e_log2l.c: Likewise.
6025 * math/e_logl.c: Likewise.
6026 * math/e_powl.c: Likewise.
6027 * math/e_rem_pio2l.c: Likewise.
6028 * math/e_sinhl.c: Likewise.
6029 * math/e_sqrtl.c: Likewise.
6030 * math/fclrexcpt.c: Likewise.
6031 * math/fedisblxcpt.c: Likewise.
6032 * math/feenablxcpt.c: Likewise.
6033 * math/fegetenv.c: Likewise.
6034 * math/fegetexcept.c: Likewise.
6035 * math/fegetround.c: Likewise.
6036 * math/feholdexcpt.c: Likewise.
6037 * math/fesetenv.c: Likewise.
6038 * math/fesetround.c: Likewise.
6039 * math/feupdateenv.c: Likewise.
6040 * math/fgetexcptflg.c: Likewise.
6041 * math/fraiseexcpt.c: Likewise.
6042 * math/fsetexcptflg.c: Likewise.
6043 * math/ftestexcept.c: Likewise.
6044 * math/k_cosl.c: Likewise.
6045 * math/k_rem_pio2l.c: Likewise.
6046 * math/k_sinl.c: Likewise.
6047 * math/k_tanl.c: Likewise.
6048 * math/s_asinhl.c: Likewise.
6049 * math/s_atanl.c: Likewise.
6050 * math/s_cbrtl.c: Likewise.
6051 * math/s_erfl.c: Likewise.
6052 * math/s_expm1l.c: Likewise.
6053 * math/s_log1pl.c: Likewise.
6054 * math/s_tanhl.c: Likewise.
6055 * misc/acct.c: Likewise.
6056 * misc/brk.c: Likewise.
6057 * misc/chflags.c: Likewise.
6058 * misc/chroot.c: Likewise.
6059 * misc/fchflags.c: Likewise.
6060 * misc/fgetxattr.c: Likewise.
6061 * misc/flistxattr.c: Likewise.
6062 * misc/fremovexattr.c: Likewise.
6063 * misc/fsetxattr.c: Likewise.
6064 * misc/fsync.c: Likewise.
6065 * misc/ftruncate.c: Likewise.
6066 * misc/futimes.c: Likewise.
6067 * misc/futimesat.c: Likewise.
6068 * misc/getdomain.c: Likewise.
6069 * misc/getdtsz.c: Likewise.
6070 * misc/gethostid.c: Likewise.
6071 * misc/gethostname.c: Likewise.
6072 * misc/getloadavg.c: Likewise.
6073 * misc/getpagesize.c: Likewise.
6074 * misc/getsysstats.c: Likewise.
6075 * misc/getxattr.c: Likewise.
6076 * misc/gtty.c: Likewise.
6077 * misc/ioctl.c: Likewise.
6078 * misc/lgetxattr.c: Likewise.
6079 * misc/listxattr.c: Likewise.
6080 * misc/llistxattr.c: Likewise.
6081 * misc/lremovexattr.c: Likewise.
6082 * misc/lsetxattr.c: Likewise.
6083 * misc/lutimes.c: Likewise.
6084 * misc/madvise.c: Likewise.
6085 * misc/mincore.c: Likewise.
6086 * misc/mlock.c: Likewise.
6087 * misc/mlockall.c: Likewise.
6088 * misc/mmap.c: Likewise.
6089 * misc/mprotect.c: Likewise.
6090 * misc/msync.c: Likewise.
6091 * misc/munlock.c: Likewise.
6092 * misc/munlockall.c: Likewise.
6093 * misc/munmap.c: Likewise.
6094 * misc/preadv.c: Likewise.
6095 * misc/preadv64.c: Likewise.
6096 * misc/ptrace.c: Likewise.
6097 * misc/pwritev.c: Likewise.
6098 * misc/pwritev64.c: Likewise.
6099 * misc/readv.c: Likewise.
6100 * misc/reboot.c: Likewise.
6101 * misc/remap_file_pages.c: Likewise.
6102 * misc/removexattr.c: Likewise.
6103 * misc/revoke.c: Likewise.
6104 * misc/select.c: Likewise.
6105 * misc/setdomain.c: Likewise.
6106 * misc/setegid.c: Likewise.
6107 * misc/seteuid.c: Likewise.
6108 * misc/sethostid.c: Likewise.
6109 * misc/sethostname.c: Likewise.
6110 * misc/setregid.c: Likewise.
6111 * misc/setreuid.c: Likewise.
6112 * misc/setxattr.c: Likewise.
6113 * misc/sstk.c: Likewise.
6114 * misc/stty.c: Likewise.
6115 * misc/swapoff.c: Likewise.
6116 * misc/swapon.c: Likewise.
6117 * misc/sync.c: Likewise.
6118 * misc/syncfs.c: Likewise.
6119 * misc/syscall.c: Likewise.
6120 * misc/truncate.c: Likewise.
6121 * misc/ualarm.c: Likewise.
6122 * misc/usleep.c: Likewise.
6123 * misc/ustat.c: Likewise.
6124 * misc/utimes.c: Likewise.
6125 * misc/vhangup.c: Likewise.
6126 * misc/writev.c: Likewise.
6127 * posix/_exit.c: Likewise.
6128 * posix/alarm.c: Likewise.
6129 * posix/execve.c: Likewise.
6130 * posix/fexecve.c: Likewise.
6131 * posix/fork.c: Likewise.
6132 * posix/fpathconf.c: Likewise.
6133 * posix/getaddrinfo.c: Likewise.
6134 * posix/getegid.c: Likewise.
6135 * posix/geteuid.c: Likewise.
6136 * posix/getgid.c: Likewise.
6137 * posix/getgroups.c: Likewise.
6138 * posix/getlogin.c: Likewise.
6139 * posix/getlogin_r.c: Likewise.
6140 * posix/getpgid.c: Likewise.
6141 * posix/getpid.c: Likewise.
6142 * posix/getppid.c: Likewise.
6143 * posix/getresgid.c: Likewise.
6144 * posix/getresuid.c: Likewise.
6145 * posix/getsid.c: Likewise.
6146 * posix/getuid.c: Likewise.
6147 * posix/glob64.c: Likewise.
6148 * posix/nanosleep.c: Likewise.
6149 * posix/pathconf.c: Likewise.
6150 * posix/pause.c: Likewise.
6151 * posix/posix_madvise.c: Likewise.
6152 * posix/pread.c: Likewise.
6153 * posix/pread64.c: Likewise.
6154 * posix/pwrite.c: Likewise.
6155 * posix/pwrite64.c: Likewise.
6156 * posix/sched_getaffinity.c: Likewise.
6157 * posix/sched_getp.c: Likewise.
6158 * posix/sched_gets.c: Likewise.
6159 * posix/sched_primax.c: Likewise.
6160 * posix/sched_primin.c: Likewise.
6161 * posix/sched_rr_gi.c: Likewise.
6162 * posix/sched_setaffinity.c: Likewise.
6163 * posix/sched_setp.c: Likewise.
6164 * posix/sched_sets.c: Likewise.
6165 * posix/sched_yield.c: Likewise.
6166 * posix/setgid.c: Likewise.
6167 * posix/setlogin.c: Likewise.
6168 * posix/setpgid.c: Likewise.
6169 * posix/setresgid.c: Likewise.
6170 * posix/setresuid.c: Likewise.
6171 * posix/setsid.c: Likewise.
6172 * posix/setuid.c: Likewise.
6173 * posix/sleep.c: Likewise.
6174 * posix/spawni.c: Likewise.
6175 * posix/sysconf.c: Likewise.
6176 * posix/times.c: Likewise.
6177 * posix/wait.c: Likewise.
6178 * posix/wait3.c: Likewise.
6179 * posix/wait4.c: Likewise.
6180 * posix/waitpid.c: Likewise.
6181 * resolv/gai_sigqueue.c: Likewise.
6182 * resource/getpriority.c: Likewise.
6183 * resource/getrlimit.c: Likewise.
6184 * resource/getrusage.c: Likewise.
6185 * resource/nice.c: Likewise.
6186 * resource/setpriority.c: Likewise.
6187 * resource/setrlimit.c: Likewise.
6188 * resource/ulimit.c: Likewise.
6189 * rt/aio_cancel.c: Likewise.
6190 * rt/aio_fsync.c: Likewise.
6191 * rt/aio_read.c: Likewise.
6192 * rt/aio_sigqueue.c: Likewise.
6193 * rt/aio_suspend.c: Likewise.
6194 * rt/aio_write.c: Likewise.
6195 * rt/clock_getres.c: Likewise.
6196 * rt/clock_gettime.c: Likewise.
6197 * rt/clock_nanosleep.c: Likewise.
6198 * rt/clock_settime.c: Likewise.
6199 * rt/lio_listio.c: Likewise.
6200 * rt/mq_close.c: Likewise.
6201 * rt/mq_getattr.c: Likewise.
6202 * rt/mq_notify.c: Likewise.
6203 * rt/mq_open.c: Likewise.
6204 * rt/mq_receive.c: Likewise.
6205 * rt/mq_send.c: Likewise.
6206 * rt/mq_setattr.c: Likewise.
6207 * rt/mq_timedreceive.c: Likewise.
6208 * rt/mq_timedsend.c: Likewise.
6209 * rt/mq_unlink.c: Likewise.
6210 * rt/shm_open.c: Likewise.
6211 * rt/shm_unlink.c: Likewise.
6212 * rt/timer_create.c: Likewise.
6213 * rt/timer_delete.c: Likewise.
6214 * rt/timer_getoverr.c: Likewise.
6215 * rt/timer_gettime.c: Likewise.
6216 * rt/timer_settime.c: Likewise.
6217 * setjmp/__longjmp.c: Likewise.
6218 * setjmp/setjmp.c: Likewise.
6219 * signal/kill.c: Likewise.
6220 * signal/killpg.c: Likewise.
6221 * signal/raise.c: Likewise.
6222 * signal/sigaction.c: Likewise.
6223 * signal/sigaltstack.c: Likewise.
6224 * signal/sigblock.c: Likewise.
6225 * signal/sigignore.c: Likewise.
6226 * signal/sigintr.c: Likewise.
6227 * signal/signal.c: Likewise.
6228 * signal/sigpause.c: Likewise.
6229 * signal/sigpending.c: Likewise.
6230 * signal/sigqueue.c: Likewise.
6231 * signal/sigreturn.c: Likewise.
6232 * signal/sigset.c: Likewise.
6233 * signal/sigsetmask.c: Likewise.
6234 * signal/sigstack.c: Likewise.
6235 * signal/sigsuspend.c: Likewise.
6236 * signal/sigtimedwait.c: Likewise.
6237 * signal/sigvec.c: Likewise.
6238 * signal/sigwait.c: Likewise.
6239 * signal/sigwaitinfo.c: Likewise.
6240 * signal/sysv_signal.c: Likewise.
6241 * socket/accept.c: Likewise.
6242 * socket/accept4.c: Likewise.
6243 * socket/bind.c: Likewise.
6244 * socket/connect.c: Likewise.
6245 * socket/getpeername.c: Likewise.
6246 * socket/getsockname.c: Likewise.
6247 * socket/getsockopt.c: Likewise.
6248 * socket/isfdtype.c: Likewise.
6249 * socket/listen.c: Likewise.
6250 * socket/recv.c: Likewise.
6251 * socket/recvfrom.c: Likewise.
6252 * socket/recvmsg.c: Likewise.
6253 * socket/send.c: Likewise.
6254 * socket/sendmsg.c: Likewise.
6255 * socket/sendto.c: Likewise.
6256 * socket/setsockopt.c: Likewise.
6257 * socket/shutdown.c: Likewise.
6258 * socket/sockatmark.c: Likewise.
6259 * socket/socket.c: Likewise.
6260 * socket/socketpair.c: Likewise.
6261 * stdio-common/ctermid.c: Likewise.
6262 * stdio-common/cuserid.c: Likewise.
6263 * stdio-common/remove.c: Likewise.
6264 * stdio-common/rename.c: Likewise.
6265 * stdio-common/renameat.c: Likewise.
6266 * stdio-common/tempname.c: Likewise.
6267 * stdlib/getcontext.c: Likewise.
6268 * stdlib/makecontext.c: Likewise.
6269 * stdlib/setcontext.c: Likewise.
6270 * stdlib/swapcontext.c: Likewise.
6271 * stdlib/system.c: Likewise.
6272 * streams/fattach.c: Likewise.
6273 * streams/fdetach.c: Likewise.
6274 * streams/getmsg.c: Likewise.
6275 * streams/getpmsg.c: Likewise.
6276 * streams/putmsg.c: Likewise.
6277 * streams/putpmsg.c: Likewise.
6278 * sysdeps/unix/bsd/getpt.c: Likewise.
6279 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6280 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6281 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6284 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6286 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6287 * sysvipc/msgctl.c: Likewise.
6288 * sysvipc/msgget.c: Likewise.
6289 * sysvipc/msgrcv.c: Likewise.
6290 * sysvipc/msgsnd.c: Likewise.
6291 * sysvipc/semctl.c: Likewise.
6292 * sysvipc/semget.c: Likewise.
6293 * sysvipc/semop.c: Likewise.
6294 * sysvipc/semtimedop.c: Likewise.
6295 * sysvipc/shmat.c: Likewise.
6296 * sysvipc/shmctl.c: Likewise.
6297 * sysvipc/shmdt.c: Likewise.
6298 * sysvipc/shmget.c: Likewise.
6299 * termios/tcdrain.c: Likewise.
6300 * termios/tcflow.c: Likewise.
6301 * termios/tcflush.c: Likewise.
6302 * termios/tcgetattr.c: Likewise.
6303 * termios/tcgetpgrp.c: Likewise.
6304 * termios/tcsendbrk.c: Likewise.
6305 * termios/tcsetattr.c: Likewise.
6306 * termios/tcsetpgrp.c: Likewise.
6307 * time/adjtime.c: Likewise.
6308 * time/clock.c: Likewise.
6309 * time/getitimer.c: Likewise.
6310 * time/gettimeofday.c: Likewise.
6311 * time/setitimer.c: Likewise.
6312 * time/settimeofday.c: Likewise.
6313 * time/stime.c: Likewise.
6314 * time/time.c: Likewise.
6316 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6318 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6321 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6323 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6325 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6329 FE_TONEAREST before applying Dekker multiplication and Knuth
6330 addition. Clear inexact exceptions and check for exact zero
6332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6334 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6335 * math/libm-test.inc (fma_test): Add more tests.
6336 (fma_test_towardzero): Likewise.
6337 (fma_test_downward): Likewise.
6338 (fma_test_upward): Likewise.
6339 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6341 (libc_fesetround): New macro.
6342 (libc_fesetroundf): Likewise.
6343 (libc_fesetroundl): Likewise.
6344 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6346 (libc_fesetround_387): Likewise.
6347 (libc_fesetroundf): New macro.
6348 (libc_fesetround): Likewise.
6349 (libc_fesetroundl): Likewise.
6350 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6352 (libc_fesetroundf): New macro.
6353 (libc_fesetround): Likewise.
6354 (libc_fesetroundl): Likewise.
6355 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6356 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6357 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6359 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6360 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6362 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6363 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6365 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6369 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6370 integer constant usable in #if and use that to give value to enum
6372 (FE_DIVBYZERO): Likewise.
6373 (FE_UNDERFLOW): Likewise.
6374 (FE_OVERFLOW): Likewise.
6375 (FE_INVALID): Likewise.
6376 (FE_INVALID_SNAN): Likewise.
6377 (FE_INVALID_ISI): Likewise.
6378 (FE_INVALID_IDI): Likewise.
6379 (FE_INVALID_ZDZ): Likewise.
6380 (FE_INVALID_IMZ): Likewise.
6381 (FE_INVALID_COMPARE): Likewise.
6382 (FE_INVALID_SOFTWARE): Likewise.
6383 (FE_INVALID_SQRT): Likewise.
6384 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6385 (FE_TONEAREST): Likewise.
6386 (FE_TOWARDZERO): Likewise.
6387 (FE_UPWARD): Likewise.
6388 (FE_DOWNWARD): Likewise.
6389 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6390 (FE_DIVBYZERO): Likewise.
6391 (FE_OVERFLOW): Likewise.
6392 (FE_UNDERFLOW): Likewise.
6393 (FE_INEXACT): Likewise.
6394 (FE_TONEAREST): Likewise.
6395 (FE_DOWNWARD): Likewise.
6396 (FE_UPWARD): Likewise.
6397 (FE_TOWARDZERO): Likewise.
6398 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6399 (FE_UNDERFLOW): Likewise.
6400 (FE_OVERFLOW): Likewise.
6401 (FE_DIVBYZERO): Likewise.
6402 (FE_INVALID): Likewise.
6403 (FE_TONEAREST): Likewise.
6404 (FE_TOWARDZERO): Likewise.
6405 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6406 (FE_OVERFLOW): Likewise.
6407 (FE_UNDERFLOW): Likewise.
6408 (FE_DIVBYZERO): Likewise.
6409 (FE_INEXACT): Likewise.
6410 (FE_TONEAREST): Likewise.
6411 (FE_TOWARDZERO): Likewise.
6412 (FE_UPWARD): Likewise.
6413 (FE_DOWNWARD): Likewise.
6414 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6415 (FE_DIVBYZERO): Likewise.
6416 (FE_OVERFLOW): Likewise.
6417 (FE_UNDERFLOW): Likewise.
6418 (FE_INEXACT): Likewise.
6419 (FE_TONEAREST): Likewise.
6420 (FE_DOWNWARD): Likewise.
6421 (FE_UPWARD): Likewise.
6422 (FE_TOWARDZERO): Likewise.
6424 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6426 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6428 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6430 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6431 commands. Quote $PWD.
6432 (blacklist_exports): Don't use remove_newlines. Replace "declare
6434 (remove_newlines): Remove.
6436 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6438 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6439 * stdlib/stdlib.h (atof): Moved to ...
6440 * include/bits/stdlib-float.h: Here. New file.
6441 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6442 * stdlib/bits/stdlib-float.h: New file.
6443 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6445 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6448 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6450 * conform/conformtest.pl (@headers): Add fenv.h.
6451 * conform/data/fenv.h-data: New file.
6452 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6453 include of <math/fenv.h>.
6455 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6456 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6457 && !UNIX98]. Enables tests for XOPEN2K8.
6458 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6459 POSIX2008]: Likewise.
6461 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6462 (struct rusage): Do not expect type or its members.
6465 * math/math.h (FP_NAN): Define macro to integer constant usable in
6466 #if and use that to give value to enum constant.
6467 (FP_INFINITE): Likewise.
6468 (FP_ZERO): Likewise.
6469 (FP_SUBNORMAL): Likewise.
6470 (FP_NORMAL): Likewise.
6472 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6474 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6475 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6478 2012-11-02 Roland McGrath <roland@hack.frob.com>
6480 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6481 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6482 autoconf-time if not.
6483 * configure.in: Remove AC_PREREQ.
6485 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6487 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6488 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6489 of the internal implementation.
6491 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6493 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6494 except include of <misc/sys/syslog.h>.
6496 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6499 function returns with a NULL context exit with zero.
6501 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6503 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6505 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6507 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6508 (run_program_cmd): This.
6509 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6510 (tst_langinfo): New variable. Use it.
6512 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6514 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6515 floating point opcodes.
6517 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6519 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6522 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6524 * sysdeps/mach/hurd/powerpc: Remove directory.
6525 * sysdeps/mach/powerpc: Likewise.
6527 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6529 * scripts/check-local-headers.sh: Ignore c++ headers.
6531 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6533 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6534 __libc_cleanup_region_start argument.
6536 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6541 x * y using scaling, not as x * y + z.
6542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6544 * math/libm-test.inc (fma_test): Add more tests.
6545 (fma_test_towardzero): Likewise.
6546 (fma_test_downward): Likewise.
6547 (fma_test_upward): Likewise.
6549 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6551 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6553 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6555 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6558 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6560 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6562 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6569 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6572 Fix the order of the list for glibc 2.17.
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6576 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6580 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6583 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6584 for low part of x being zero before using __atanl (y).
6585 * math/libm-test.inc (atan2_test): Add another test.
6587 * manual/install.texi (Configuring and compiling): Document
6588 general use of test-wrapper and test-wrapper-env.
6589 * INSTALL: Regenerated.
6591 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6592 (__fma): Do not extract and scale down low bits on after-rounding
6593 systems when result rounded to normal precision would have normal
6595 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6596 (__fmal): Do not extract and scale down low bits on after-rounding
6597 systems when result rounded to normal precision would have normal
6599 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6600 (__fmal): Do not extract and scale down low bits on after-rounding
6601 systems when result rounded to normal precision would have normal
6603 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6605 (fma_test): Add more tests.
6606 (fma_test_towardzero): Likewise.
6607 (fma_test_downward): Likewise.
6608 (fma_test_upward): Likewise.
6610 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6612 * sysdeps/i386/tininess.h: Renamed to ...
6613 * sysdeps/x86/tininess.h: This.
6614 * sysdeps/x86_64/tininess.h: Removed.
6616 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6618 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6619 input. Use $(build-program-cmd).
6620 ($(objpfx)tst-array1-static.out): Likewise.
6621 ($(objpfx)tst-array2.out): Likewise.
6622 ($(objpfx)tst-array3.out): Likewise.
6623 ($(objpfx)tst-array4.out): Likewise.
6624 ($(objpfx)tst-array5.out): Likewise.
6625 ($(objpfx)tst-array5-static.out): Likewise.
6627 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6629 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6632 * nss/nsswitch.h (nss_interface_function): Provide new
6633 macro for use with NSS functions.
6634 * grp/initgroups.c: Use new macro.
6635 * nss/getXXbyYY.c: Likewise.
6636 * nss/getXXbyYY_r.c: Likewise.
6637 * nss/getXXent.c: Likewise.
6638 * nss/getXXent_r.c: Likewise.
6639 * sysdeps/posix/getaddrinfo.c: Likewise.
6641 2012-10-30 Andreas Jaeger <aj@suse.de>
6643 * po/ru.po: Update Russion translation from translation project.
6645 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6650 result and shift together with sticky bit instead of replicating
6651 round-to-nearest rounding.
6652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6654 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6655 missing underflow exceptions.
6656 (fma_test_towardzero): Add more tests.
6657 (fma_test_downward): Likewise.
6658 (fma_test_upward): Likewise.
6661 * sysdeps/generic/tininess.h: New file.
6662 * sysdeps/i386/tininess.h: Likewise.
6663 * sysdeps/sh/tininess.h: Likewise.
6664 * sysdeps/x86_64/tininess.h: Likewise.
6665 * stdlib/tst-strtod-underflow.c: Likewise.
6666 * stdlib/tst-tininess.c: Likewise.
6667 * stdlib/strtod_l.c: Include <tininess.h>.
6668 (round_and_return): Do not set errno for exact underflow cases.
6669 Force an underflow exception when setting errno for underflow.
6670 Determine underflow based on rounding to normal precision if
6671 TININESS_AFTER_ROUNDING.
6672 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6673 ERANGE for exact underflow cases.
6674 * stdlib/Makefile (tests): Add tst-tininess and
6675 tst-strtod-underflow.
6676 ($(objpfx)tst-tininess): Use $(link-libm).
6677 ($(objpfx)tst-strtod-underflow): Likewise.
6679 2012-10-30 Andreas Jaeger <aj@suse.de>
6682 * elf/Makefile (tests): Remove conditional for have-initfini-array
6683 since this is now always required and the variable does not exist
6685 (tests-static): Likewise.
6686 (modules-names): Likewise.
6688 * po/eo.po: Add Esperanto translation from translation project.
6690 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6691 merged with constructor/destructor.
6692 (init_array): Likewise.
6693 * elf/tst-array2dep.c (fini_array): Likewise.
6694 (init_array): Likewise.
6696 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6698 * manual/message.texi: Delete @cartouche tags.
6700 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6702 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6704 * sysdeps/mach/hurd/fsync.c: Likewise.
6706 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6707 [_POSIX_REALTIME_SIGNALS]: Change condition to
6708 [_POSIX_REALTIME_SIGNALS > 0].
6710 2012-10-27 Andreas Jaeger <aj@suse.de>
6712 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6713 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6715 [__WORDSIZE != 64]: Likewise.
6717 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6719 * iconvdata/tst-table.sh: Remove ${SHELL}.
6720 * iconvdata/tst-tables.sh: Likewise.
6722 2012-10-25 David S. Miller <davem@davemloft.net>
6724 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6725 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6728 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6730 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6731 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6732 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6735 2012-10-25 Roland McGrath <roland@hack.frob.com>
6737 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6738 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6741 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6742 Jim Blandy <jimb@codesourcery.com>
6744 * scripts/cross-test-ssh.sh: New file.
6745 * manual/install.texi (Configuring and compiling): Document use of
6747 * INSTALL: Regenerated.
6749 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6751 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6754 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6756 * Makeconfig (run-program-prefix): Fix comment.
6758 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6759 Jim Blandy <jimb@codesourcery.com>
6761 * Makeconfig (test-wrapper): New variable,
6762 (test-wrapper-env): Likewise.
6763 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6764 (run-built-tests): Define to yes.
6765 (run-program-prefix): Use $(test-wrapper).
6766 (built-program-cmd): Likewise.
6767 * Rules (make-test-out): Use $(test-wrapper-env) and
6768 $(host-built-program-cmd).
6769 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6770 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6772 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6773 $(test-wrapper-env) to tst-rtld-load-self.sh.
6774 ($(objpfx)order2.out): Use $(test-wrapper).
6775 ($(objpfx)tst-initorder.out): Likewise.
6776 ($(objpfx)tst-initorder2.out): Likewise.
6777 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6778 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6779 (test_wrapper_env): New variable. Use it to run ld.so.
6780 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6781 Use it to run ld.so.
6782 (test_wrapper_env): Likewise.
6783 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6784 $(test-wrapper) to run-iconv-test.sh.
6785 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6786 (ICONV): Use $test_wrapper.
6787 * posix/Makefile ($(objpfx)globtest.out): Pass
6788 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6789 globtest.sh, not $(run-program-prefix).
6790 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6791 (test_wrapper): Likewise.
6792 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6793 set together with run_via_rtld_prefix.
6794 (run_program_prefix): Define in terms of test_wrapper and
6795 run_via_rtld_prefix.
6797 2012-10-24 Roland McGrath <roland@hack.frob.com>
6799 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6800 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6804 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6805 Declare __clock_getres, __clock_gettime, __clock_settime,
6806 __clock_nanosleep, and __clock_getcpuclockid.
6807 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6808 Remove librt_hidden_def (clock_gettime).
6809 * sysdeps/unix/clock_gettime.c: Likewise.
6810 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6811 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6812 * rt/clock_getres.c: Define __clock_getres as an alias.
6813 * sysdeps/posix/clock_getres.c: Likewise.
6814 * rt/clock_settime.c: Define __clock_settime as an alias.
6815 * sysdeps/unix/clock_settime.c: Likewise.
6816 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6817 * sysdeps/unix/clock_nanosleep.c: Likewise.
6818 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6819 * rt/clock-compat.c: New file.
6820 * rt/Makefile (librt-routines): Add clock-compat and move
6821 $(clock-routines) to ...
6822 (routines): ... here, new variable.
6823 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6824 Don't add get_clockfreq here.
6825 * rt/Versions (libc: GLIBC_2.17): New version set.
6826 Add clock_* symbols here.
6827 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6828 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6829 (GLIBC_2.17): Add clock_* symbols.
6830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6841 * NEWS: Mention the move.
6843 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6844 Use __open, __read, __close rather than their public counterparts.
6845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6846 (__get_clockfreq_via_cpuinfo): Likewise.
6847 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6848 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6850 * config.h.in (HAVE_IFUNC): New #undef.
6851 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6853 * configure: Regenerated.
6855 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6857 * configure.in: Move READELF check to start of file.
6858 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6859 libc_cv_asm_gnu_indirect_function in the process.
6860 * configure: Regenerated.
6862 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6864 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6865 send the output to /dev/null.
6866 (libc_cv_cc_with_libunwind): Likewise.
6867 (libc_cv_as_noexecstack): Likewise.
6868 * configure: Regenerate.
6870 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6872 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6874 * posix/globtest.sh (TMPDIR): Do not set.
6875 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6876 (testout): Likewise.
6878 2012-10-24 Andreas Jaeger <aj@suse.de>
6880 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6881 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6882 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6883 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6884 posix_fadvise64, posix_fallocate64.
6886 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6887 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6888 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6890 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6892 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6894 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6895 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6896 <bits/fcntl-linux.h>.
6897 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6900 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6901 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6902 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6903 [__WORDSIZE != 64]: Likewise.
6905 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6907 * Makeconfig (run-built-tests): New variable.
6908 * Rules [$(cross-compiling) = yes]: Change condition to
6909 [$(run-built-tests) = no].
6910 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6911 to [$(run-built-tests) = yes].
6912 * elf/Makefile [$(cross-compiling) = no]: Likewise
6913 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6914 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6915 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6916 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6917 * io/Makefile [$(cross-compiling) = no]: Likewise.
6918 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6919 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6920 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6921 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6922 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6923 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6924 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6925 * string/Makefile [$(cross-compiling) = no]: Likewise.
6927 * posix/Makefile ($(objpfx)globtest.out): Pass
6928 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6929 $(rtld-installed-name).
6930 * posix/globtest.sh (elf_objpfx): Remove variable.
6931 (rtld_installed_name): Likewise.
6932 (library_path): Likewise.
6933 (run_program_prefix): New variable. Use for running globtest
6936 2012-10-23 Jim Blandy <jimb@codesourcery.com>
6937 Joseph Myers <joseph@codesourcery.com>
6939 * Makeconfig (host-built-program-cmd): New variable.
6940 * elf/Makefile (tst-stackguard1-ARGS): Use
6941 $(host-built-program-cmd).
6942 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6943 (tst-spawn-ARGS): Likewise.
6944 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6946 2012-10-23 Joseph Myers <joseph@codesourcery.com>
6947 Jim Blandy <jimb@codesourcery.com>
6949 * Makeconfig (run-via-rtld-prefix): New variable.
6950 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6951 (built-program-cmd): Likewise.
6953 2012-10-22 Andreas Jaeger <aj@suse.de>
6955 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6956 __O_RSYNC if it exists, otherwise to O_SYNC.
6958 2012-10-22 Jim Blandy <jimb@codesourcery.com>
6959 Joseph Myers <joseph@codesourcery.com>
6961 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6963 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6965 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6968 2012-10-22 Andreas Jaeger <aj@suse.de>
6970 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6972 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6978 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6985 2012-10-21 Jim Blandy <jimb@codesourcery.com>
6986 Joseph Myers <joseph@codesourcery.com>
6988 * config.make.in (NM): New variable.
6990 2012-10-21 Andreas Jaeger <aj@suse.de>
6992 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6993 definitions and declarations that are provided by
6994 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6996 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6999 * elf/Makefile (tests-static): Add tst-leaks1-static.
7000 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7001 ($(objpfx)tst-leaks1-static): New rule.
7002 ($(objpfx)tst-leaks1-static-mem): Likewise.
7003 (tst-leaks1-static-ENV): New macro.
7004 * elf/dl-open.c (dl_open_worker): Check the main application
7005 only if SHARED is defined.
7006 * elf/tst-leaks1-static.c: New file.
7008 2012-10-20 Andreas Jaeger <aj@suse.de>
7010 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7011 generic values for Linux.
7012 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7013 and declarations that are provided by <bits/fcntl-linux.h> and
7014 include <bits/fcntl-linux.h>.
7015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7018 2012-10-20 Roland McGrath <roland@hack.frob.com>
7020 * io/fcntl.h: Move include of <bits/types.h> to the top and
7021 include it unconditionally.
7023 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7025 * wcsmbs/Makefile (tests-ifunc): New variable.
7026 (tests): Add $(tests-ifunc).
7027 * wcsmbs/test-wcschr-ifunc.c: New file.
7028 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7029 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7030 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7031 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7032 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7034 * string/Makefile (tests-ifunc): New variable.
7035 (tests): Add $(tests-ifunc).
7036 * string/test-memccpy.c (TEST_NAME): New macro.
7037 * string/test-memchr.c (TEST_NAME): Likewise.
7038 * string/test-memcmp.c (TEST_NAME): Likewise.
7039 * string/test-memcpy.c (TEST_NAME): Likewise.
7040 * string/test-memmem.c (TEST_NAME): Likewise.
7041 * string/test-memmove.c (TEST_NAME): Likewise.
7042 * string/test-memset.c (TEST_NAME): Likewise.
7043 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7044 * string/test-stpcpy.c (TEST_NAME): Likewise.
7045 * string/test-stpncpy.c (TEST_NAME): Likewise.
7046 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7047 * string/test-strcasestr.c (TEST_NAME): Likewise.
7048 * string/test-strcat.c (TEST_NAME): Likewise.
7049 * string/test-strchr.c (TEST_NAME): Likewise.
7050 * string/test-strcmp.c(TEST_NAME): Likewise.
7051 * string/test-strcpy.c (TEST_NAME): Likewise.
7052 * string/test-strcspn.c (TEST_NAME): Likewise.
7053 * string/test-strlen.c (TEST_NAME): Likewise.
7054 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7055 * string/test-strncmp.c (TEST_NAME): Likewise.
7056 * string/test-strncpy.c (TEST_NAME): Likewise.
7057 * string/test-strnlen.c (TEST_NAME): Likewise.
7058 * string/test-strpbrk.c (TEST_NAME): Likewise.
7059 * string/test-strrchr.c (TEST_NAME): Likewise.
7060 * string/test-strspn.c (TEST_NAME): Likewise.
7061 * string/test-strstr.c (TEST_NAME): Likewise.
7062 * string/test-bcopy-ifunc.c: New file.
7063 * string/test-bzero-ifunc.c: Likewise.
7064 * string/test-memccpy-ifunc.c: Likewise.
7065 * string/test-memchr-ifunc.c: Likewise.
7066 * string/test-memcmp-ifunc.c: Likewise.
7067 * string/test-memcpy-ifunc.c: Likewise.
7068 * string/test-memmem-ifunc.c: Likewise.
7069 * string/test-memmove-ifunc.c: Likewise.
7070 * string/test-mempcpy-ifunc.c: Likewise.
7071 * string/test-memset-ifunc.c: Likewise.
7072 * string/test-rawmemchr-ifunc.c: Likewise.
7073 * string/test-stpcpy-ifunc.c: Likewise.
7074 * string/test-stpncpy-ifunc.c: Likewise.
7075 * string/test-strcasecmp-ifunc.c: Likewise.
7076 * string/test-strcasestr-ifunc.c: Likewise.
7077 * string/test-strcat-ifunc.c: Likewise.
7078 * string/test-strchr-ifunc.c: Likewise.
7079 * string/test-strchrnul-ifunc.c: Likewise.
7080 * string/test-strcmp-ifunc.c: Likewise.
7081 * string/test-strcpy-ifunc.c: Likewise.
7082 * string/test-strcspn-ifunc.c: Likewise.
7083 * string/test-strlen-ifunc.c: Likewise.
7084 * string/test-strncasecmp-ifunc.c: Likewise.
7085 * string/test-strncat-ifunc.c: Likewise.
7086 * string/test-strncmp-ifunc.c: Likewise.
7087 * string/test-strncpy-ifunc.c: Likewise.
7088 * string/test-strnlen-ifunc.c: Likewise.
7089 * string/test-strpbrk-ifunc.c: Likewise.
7090 * string/test-strrchr-ifunc.c: Likewise.
7091 * string/test-strspn-ifunc.c: Likewise.
7092 * string/test-strstr-ifunc.c: Likewise.
7094 * debug/Makefile (tests-ifunc): New variable.
7095 (tests): Add $(tests-ifunc).
7096 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7097 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7098 * debug/test-stpcpy_chk-ifunc.c: New file.
7099 * debug/test-strcpy_chk-ifunc.c: Likewise.
7101 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7104 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7105 header is not read in.
7107 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7109 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7110 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7111 directly. Pass built executable to script as
7112 $(built-program-cmd).
7113 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7114 $testprogram without using LD_LIBRARY_PATH and $ldso.
7116 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7117 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7118 $(rtld-installed-name).
7119 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7120 (rtld_installed_name): Likewise.
7121 (library_path): Likewise.
7122 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7123 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7124 $(run-program-prefix) to tst-tables.sh.
7125 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7126 it to run tst-table-from and tst-table-to.
7127 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7128 Pass it to tst-table.sh.
7129 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7130 $(run-program-prefix) to tst-gettext.sh.
7131 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7133 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7135 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7137 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7138 to run tst-gettext2.
7139 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7140 to run tst-translit.
7141 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7142 $(run-program-prefix) to tst-mtrace.sh.
7143 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7145 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7146 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7147 $(rtld-installed-name).
7148 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7149 (rtld_installed_name): Likewise.
7150 (run_program_prefix): New variable. Use it to run wordexp-test.
7152 * Makeconfig (ARCH): Remove all definitions.
7153 (machine): Likewise.
7154 [ARCH]: Remove conditional code.
7155 [!objdir]: Give error.
7156 [!objdir] (objpfx): Remove.
7157 [!objdir] (common-objpfx): Likewise.
7158 [!objdir] (common-objdir): Likewise.
7159 * configure.in (config_makefile): Remove. Hardcode Makefile in
7160 AC_CONFIG_FILES call.
7161 * configure: Regenerated.
7164 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7166 (testout): Likewise.
7168 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7169 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7170 $(rtld-installed-name).
7171 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7172 (rtld_installed_name): Likwise.
7173 (runit): Remove function.
7174 (run_getconf): New variable, Use it for running getconf binary.
7176 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7179 * string/test-memmem.c (check_result): New function.
7180 (do_one_test): Use it.
7181 (check1): New function.
7182 (test_main): Use it.
7184 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7186 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7188 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7190 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7191 (_G_LSEEK64): Likewise.
7192 (_G_MMAP64): Likewise.
7193 (_G_FSTAT64): Likewise.
7194 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7195 (_G_LSEEK64): Likewise.
7196 (_G_MMAP64): Likewise.
7197 (_G_FSTAT64): Likewise.
7198 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7199 unconditional. Call __mmap64 directly.
7200 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7201 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7203 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7204 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7206 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7207 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7209 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7210 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7212 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7213 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7215 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7216 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7217 __fxstat64 directly.
7218 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7219 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7221 (freopen64) [!_G_OPEN64]: Remove conditional code.
7222 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7224 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7225 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7227 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7228 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7230 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7231 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7233 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7234 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7236 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7237 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7239 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7240 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7242 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7244 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7247 * manual/memory.texi (Malloc Tunable Parameters): Add note
7248 about free list pointers overwriting some perturb bytes.
7249 Wording suggested by Roland McGrath.
7251 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7253 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7254 (lgamma_test): Likewise.
7255 (tgamma_test): Likewise.
7257 2012-10-16 Florian Weimer <fweimer@redhat.com>
7260 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7261 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7263 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7265 * NEWS: Mention BZ #14716.
7266 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7267 when removing AVAILABLE1_USES_J macro.
7269 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7271 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7272 (__bswap_64): __uint64_t for unsigned 64-bit int.
7274 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7276 * include/string.h (memmem): Declare libc hidden alias.
7277 * string/memmem.c (memmem): Define libc hidden alias.
7278 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7279 __read, __close instead of open, read, close.
7281 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7283 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7284 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7286 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7287 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7288 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7290 (__rawmemchr_sse2): Likewise.
7291 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7292 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7293 (__strchr_sse2): Likewise.
7294 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7295 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7296 (__strcasecmp_sse2): Likewise.
7297 (__strncasecmp_sse2): Likewise.
7298 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7299 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7300 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7301 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7302 (__strrchr_sse2): Likewise.
7303 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7305 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7306 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7307 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7308 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7309 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7310 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7311 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7312 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7313 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7314 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7315 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7316 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7317 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7318 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7319 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7320 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7321 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7322 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7323 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7324 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7325 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7326 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7327 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7328 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7329 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7330 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7331 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7332 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7333 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7334 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7336 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7338 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7339 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7340 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7341 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7343 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7345 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7346 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7347 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7348 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7350 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7351 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7352 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7353 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7354 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7355 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7356 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7357 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7358 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7359 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7360 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7361 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7362 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7363 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7364 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7365 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7366 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7367 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7368 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7369 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7370 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7371 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7372 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7373 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7375 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7376 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7377 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7378 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7379 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7380 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7381 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7382 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7383 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7384 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7385 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7386 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7387 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7388 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7389 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7390 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7392 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7393 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7394 * include/ifunc-impl-list.h: New file.
7395 * misc/ifunc-impl-list.c: Likewise.
7396 * misc/Makefile (routines): Add ifunc-impl-list.
7397 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7398 * string/test-string.h: Include <ifunc-impl-list.h>.
7399 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7400 impl_array): New variables.
7401 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7403 (test_init): Call __libc_ifunc_impl_list to initialize
7404 func_list if TEST_IFUNC and TEST_NAME are defined.
7406 * string/Makefile (strop-tests): Add bcopy and bzero.
7407 * string/test-bcopy.c: New file.
7408 * string/test-bzero.c: Likewise.
7409 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7411 * string/test-memset.c: Support bzero test if TEST_BZERO is
7413 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7415 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7417 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7420 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7422 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7423 * configure: Regenerated.
7425 * Makeconfig (+link-static-before-libc): Don't include
7426 $(link-static-libc).
7428 * libio/libio.h (_IO_pos_t): Remove.
7430 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7432 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7435 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7437 * crypt/crypt-entry.c: Include fips-private.h.
7438 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7439 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7440 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7441 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7443 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7445 * crypt/crypt-private.h: Include stdbool.h.
7446 (_ufc_setup_salt_r): Return bool.
7447 * crypt/crypt-entry.c: Include errno.h.
7448 (__crypt_r): Return NULL with EINVAL for bad salt.
7449 * crypt/crypt_util.c (bad_for_salt): New.
7450 (_ufc_setup_salt_r): Check that salt is long enough and within
7451 the specified alphabet.
7452 * crypt/badsalttest.c: New file.
7453 * crypt/Makefile (tests): Add it.
7454 ($(objpfx)badsalttest): New.
7456 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7458 * NEWS: Add entry for BZ #14602.
7460 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7462 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7464 * math/libm-test.inc: Update comment listing what functions and
7466 (isgreater_test): New function.
7467 (isgreaterequal_test): Likewise.
7468 (isless_test): Likewise.
7469 (islessequal_test): Likewise.
7470 (islessgreater_test): Likewise.
7471 (isunordered_test): Likewise.
7472 (main): Call the new functions.
7474 2012-10-09 Roland McGrath <roland@hack.frob.com>
7476 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7477 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7478 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7479 * sysdeps/i386/configure: Regenerated.
7480 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7481 * sysdeps/mach/configure: Regenerated.
7482 * sysdeps/mach/hurd/configure: Regenerated.
7483 * sysdeps/powerpc/configure: Regenerated.
7484 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7485 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7486 * sysdeps/s390/s390-32/configure: Regenerated.
7487 * sysdeps/s390/s390-64/configure: Regenerated.
7488 * sysdeps/sh/configure: Regenerated.
7489 * sysdeps/sparc/configure: Regenerated.
7490 * sysdeps/unix/sysv/linux/configure: Regenerated.
7491 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7492 * sysdeps/x86_64/configure: Regenerated.
7494 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7495 defined. Don't check if MAP is NULL.
7497 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7499 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7500 (_G_stat64): Likewise.
7501 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7502 (_G_stat64): Likewise.
7503 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7504 instead of struct _G_stat64.
7505 * libio/fileops.c (mmap_remap_check): Likewise.
7506 (decide_maybe_mmap): Likewise.
7507 (_IO_new_file_seekoff): Likewise.
7508 (_IO_file_stat): Likewise.
7509 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7511 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7512 instead of struct _G_stat64.
7513 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7515 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7518 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7520 (CHECK_EOL): New macro.
7521 (two_way_short_needle): Check beginning of haystack for EOL. Use
7523 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7524 Replace with CHECK_EOL.
7525 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7526 Replace with CHECK_EOL.
7528 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7530 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7532 * math/libm-test.inc: Update comment listing what functions and
7534 (finite_test): New function.
7535 (isinf_test): Likewise.
7536 (isnan_test): Likewise.
7537 (fpclassify_test): Test subnormal input.
7538 (isfinite_test): Likewise.
7539 (isnormal_test): Likewise.
7540 (main): Call the new functions.
7542 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7545 * Makerules (%.dynsym): Force C locale when running
7546 $(OBJDUMP) --dynamic-syms.
7548 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7550 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7553 2012-10-06 David S. Miller <davem@davemloft.net>
7555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7556 upper 32-bits of the length value in %o2 since we use branch-on-register
7557 tests which consider the entire 64-bit register.
7559 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7561 * string/test-strstr.c (check2): Add a test for page boundary.
7563 2012-10-05 David S. Miller <davem@davemloft.net>
7565 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7566 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7568 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7570 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7571 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7572 and bzero when HWCAP_SPARC_CRYPTO is present.
7574 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7577 * string/test-strstr.c (check2): New function.
7578 (test_main): Call check2.
7580 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7582 * string/bug-strcasestr1.c (do_test): Moved to ...
7583 * string/test-strcasestr.c (check1): Here. New function.
7584 (do_one_test): Break out result checking code into ...
7585 (check_result): This. New function.
7586 (do_one_test): Call check_result.
7587 (test_main): Call check1.
7588 * string/bug-strchr1.c (do_test): Moved to ...
7589 * string/test-strchr.c (check1): Here. New function.
7590 (do_one_test): Break out result checking code into ...
7591 (check_result): This. New function.
7592 (do_one_test): Call check_result.
7593 (test_main): Call check1.
7594 * string/bug-strstr1.c (main): Moved to ...
7595 * string/test-strstr.c (check1): Here. New function.
7596 (do_one_test): Break out result checking code into ...
7597 (check_result): This. New function.
7598 (do_one_test): Call check_result.
7599 (test_main): Call check1.
7600 * string/bug-strcasestr1.c: Removed.
7601 * string/bug-strchr1.c: Likewise.
7602 * string/bug-strstr1.c: Likewise.
7604 * elf/Makefile (dl-routines): Add hwcaps.
7605 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7606 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7607 (_dl_important_hwcaps): Moved to ...
7608 * elf/dl-hwcaps.c: Here. New file.
7609 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7612 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7613 if IS_IN_rtld isn't defined.
7615 * elf/dl-support.c (_dl_sysinfo_map): New.
7616 Include "get-dynamic-info.h" and "setup-vdso.h".
7617 (_dl_non_dynamic_init): Call setup_vdso.
7618 * elf/dynamic-link.h: Don't include <assert.h>.
7619 (elf_get_dynamic_info): Moved to ...
7620 * elf/get-dynamic-info.h: Here. New file.
7621 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7622 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7623 * elf/setup-vdso.h: Here. New file.
7624 * elf/rtld.c: Include "setup-vdso.h".
7625 (dl_main): Call setup_vdso.
7627 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7629 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7630 creal in comment listing functions tested. List finite, isinf,
7631 isnan, isless, islessequal, isgreater, isgreaterequal,
7632 islessgreater, isunordered, lgamma_r and pow10 as functions and
7633 macros not tested. Mention which functions not tested are aliases
7634 for other functions. Fix typo. Note that signs of NaNs are not
7637 * scripts/config.guess: Update from config.git.
7638 * scripts/config.sub: Likewise.
7640 2012-10-04 Roland McGrath <roland@hack.frob.com>
7642 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7643 * misc/madvise.c (madvise): Renamed to __madvise.
7644 Make madvise a weak alias.
7645 * include/sys/mman.h: Declare __madvise.
7646 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7647 * sysdeps/unix/syscalls.list
7648 (madvise): Make __madvise the strong name, and madvise a weak alias.
7649 * sysdeps/unix/sysv/linux/syscalls.list
7650 (madvise, mmap): Remove redundant entries.
7651 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7652 * malloc/malloc.c (mtrim): Likewise.
7653 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7655 2012-10-03 Roland McGrath <roland@hack.frob.com>
7657 * sysdeps/mach/hurd/dl-cache.c: File removed.
7658 * config.h.in (USE_LDCONFIG): New #undef.
7659 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7660 * configure: Regenerated.
7661 * elf/Makefile (dl-routines): Add dl-cache only under
7662 [$(use-ldconfig) = yes].
7663 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7664 cache on [USE_LDCONFIG].
7665 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7667 * elf/rtld.c (dl_main): Likewise.
7669 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7671 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7672 _SC_LEVEL4_CACHE_LINESIZE.
7674 2012-10-03 Roland McGrath <roland@hack.frob.com>
7676 * sysdeps/unix/bsd/confstr.h: File removed.
7678 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7680 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7683 2012-10-02 Roland McGrath <roland@hack.frob.com>
7685 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7686 Make 'mapoff' field ElfW(Off) rather than off_t.
7688 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7690 * nscd/Makefile: Remove nscd-cflags and all its users.
7691 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7692 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7695 * malloc.c (malloc_printerr): Clarify error message.
7697 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7701 Set bit_FMA_Usable if FMA is supported.
7702 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7704 (bit_FMA4_Usable): Updated.
7705 (index_FMA_Usable): New macro.
7706 (CPUID_FMA): Likewise
7707 (HAS_FMA): Defined with bit_FMA_Usable.
7709 2012-10-01 Roland McGrath <roland@hack.frob.com>
7711 * bits/types.h (__swblk_t): Type removed.
7712 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7713 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7715 (__SWBLK_T_TYPE): Likewise.
7716 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7717 (__SWBLK_T_TYPE): Likewise.
7718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7719 (__SWBLK_T_TYPE): Likewise.
7720 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7721 (__SWBLK_T_TYPE): Likewise.
7723 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7724 Honza Horak <hhorak@redhat.com>
7726 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7727 (xdr_mapname): Use YPMAXMAP as maxsize.
7728 (xdr_peername): Use YPMAXPEER as maxsize.
7729 (xdr_keydat): Use YPAXRECORD as maxsize.
7730 (xdr_valdat): Use YPMAXRECORD as maxsize.
7732 2012-10-01 Roland McGrath <roland@hack.frob.com>
7734 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7736 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7737 * csu/init-first.c: ... here.
7738 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7739 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7740 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7741 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7742 * sysdeps/i386/init-first.c: File removed.
7743 * sysdeps/sh/init-first.c: File removed.
7745 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7749 if x * y might underflow to zero and z is zero.
7750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7752 * math/libm-test.inc (min_subnorm_value): New variable.
7753 (fma_test): Add more tests.
7754 (fma_test_towardzero): Likewise.
7755 (fma_test_downward): Likewise
7756 (fma_test_upward): Likewise.
7757 (initialize): Set min_subnorm_value.
7759 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7764 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7765 mode for addition resulting in exact zero.
7766 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7769 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7771 * math/libm-test.inc (fma_test): Add more tests.
7772 (fma_test_towardzero): New function.
7773 (fma_test_downward): Likewise.
7774 (fma_test_upward): Likewise.
7775 (main): Call the new functions.
7777 2012-09-28 David S. Miller <davem@davemloft.net>
7779 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7781 2012-09-28 Roland McGrath <roland@hack.frob.com>
7783 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7786 * sysdeps/gnu/_G_config.h: Moved to ...
7787 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7788 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7789 * sysdeps/generic/_G_config.h: ... here.
7791 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7793 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7795 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7796 Conditionalize target on [libnss_test1.so-version].
7798 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7800 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7801 (elfobjdir): Move out of conditionals.
7803 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7804 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7805 (__nss_lookup_function): Conditionalize label remove_from_tree on
7806 [!DO_STATIC_NSS || SHARED], matching its only use.
7808 2012-09-28 David S. Miller <davem@davemloft.net>
7810 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7811 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7813 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7815 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7817 when HWCAP_SPARC_CRYPTO is present.
7819 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7821 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7823 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7826 * stdio-common/vfprintf.c (process_string_arg): Revert
7829 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7831 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7833 * stdio-common/tst-sprintf.c: Include <locale.h>
7834 (main): Test sprintf's handling of incomplete multibyte
7837 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7839 * elf/dl-runtime.c (VERSYMIDX): Removed.
7840 * elf/dl-version.c (VERSYMIDX): Likewise.
7841 * elf/do-rel.h (VERSYMIDX): Likewise.
7843 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7844 * elf/rtld.c (VALIDX): Likewise.
7845 (ADDRIDX): Likewise.
7846 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7847 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7848 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7849 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7851 (ADDRIDX): Likewise.
7853 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7855 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7857 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7860 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7862 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7863 addresses are in the same scope as 192.0.2/24.
7864 * posix/gai.conf: Document new scope table defaults.
7866 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7869 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7870 for ftell. Compute offsets from write pointers instead.
7871 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7873 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7876 * libio/Makefile (tests): New test case tst-fseek.
7877 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7878 combination works in wide mode.
7879 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7880 state when the external buffer state changes.
7882 2012-09-27 David S. Miller <davem@davemloft.net>
7885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7886 pass reloc->r_addend in as the 'high' argument to
7887 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7891 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7893 * rt/tst-aio2.c: Include <pthread.h>.
7894 * rt/tst-aio3.c: Likewise.
7896 2012-09-27 Steve Ellcey <sellcey@mips.com>
7898 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7900 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7902 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7903 contents on [SHARED].
7905 2012-09-26 Marek Polacek <polacek@redhat.com>
7909 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7910 for C++ and GCC <4.3 as well as for non GCC compilers.
7912 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7916 2012-09-25 Roland McGrath <roland@hack.frob.com>
7918 * Makefile.in (all, install): Declare with .PHONY.
7919 Reported by Michael Hope <michael.hope@linaro.org>.
7921 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7923 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7924 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7926 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7928 (sydep_routines): Add the new and the internal functions.
7929 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7930 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7932 (GLIBC_2.17): Add the new function.
7933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7934 (GLIBC_2.17): Likewise.
7935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7936 (GLIBC_2.17): Likewise.
7937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7938 (GLIBC_2.17): Likewise.
7939 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7941 2012-09-25 Alan Modra <amodra@gmail.com>
7943 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7944 Add release barrier before setting once_control to say
7945 initialisation is done. Add hints on lwarx. Use macro in
7947 (clear_once_control): Add release barrier.
7949 2012-09-25 Joseph Myers <joseph@codesourcery.com>
7952 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7954 * math/s_clog10.c (__clog10): Likewise.
7955 * math/s_clog10f.c (__clog10f): Likewise.
7956 * math/s_clog10l.c (__clog10l): Likewise.
7957 * math/s_clogf.c (__clogf): Likewise.
7958 * math/s_clogl.c (__clogl): Likewise.
7959 * math/Makefile (libm-calls): Add x2y2m1.
7960 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7961 (__x2y2m1): Likewise.
7962 (__x2y2m1l): Likewise.
7963 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7964 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7965 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7966 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7967 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7968 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7969 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7970 * sysdeps/i386/fpu/libm-test-ulps: Update.
7971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7974 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7975 int as type of variable DEPTH.
7976 (glob): Use size_t instead of int as type of variables NEWCOUNT
7979 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7981 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7983 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7984 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7985 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7986 macros for using routine as __sincosf_ia32.
7987 Use macro for function declaration and weak_alias.
7988 * sysdeps/i386/fpu/libm-test-ulps: Update.
7990 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7993 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7995 * math/s_cexpf.c (__cexpf): Likewise.
7996 * math/s_csinf.c (__csinf): Likewise.
7997 * math/s_csinhf.c (__csinhf): Likewise.
7998 * math/s_ctanf.c (__ctanf): Likewise.
7999 * math/s_ctanhf.c (__ctanhf): Likewise.
8000 * math/s_ccosh.c (__ccoshf): Likewise.
8001 * math/s_cexp.c (__cexpl): Likewise.
8002 * math/s_csin.c (__csin): Likewise.
8003 * math/s_csinh.c (__csinh): Likewise.
8004 * math/s_ctan.c (__ctan): Likewise.
8005 * math/s_ctanh.c (ctanh): Likewise.
8006 * math/s_ccoshl.c (__ccoshl): Likewise.
8007 * math/s_cexpl.c (__cexpl): Likewise.
8008 * math/s_csinl.c (__csinl): Likewise.
8009 * math/s_csinhl.c (__csinhl): Likewise.
8010 * math/s_ctanl.c (__ctanl): Likewise.
8011 * math/s_ctanhl.c (__ctanhl): Likewise.
8013 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8015 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8016 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8017 (_IO_off_t): Define to __off_t, not _G_off_t.
8018 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8019 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8020 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8021 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8022 type of __dummy and __dummy2 fields.
8023 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8024 (_G_ssize_t): Likewise.
8025 (_G_off_t): Likewise.
8026 (_G_pid_t): Likewise.
8027 (_G_uid_t): Likewise.
8028 (_G_wchar_t): Likewise.
8029 (_G_wint_t): Likewise.
8030 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8031 (_G_ssize_t): Likewise.
8032 (_G_off_t): Likewise.
8033 (_G_pid_t): Likewise.
8034 (_G_uid_t): Likewise.
8035 (_G_wchar_t): Likewise.
8036 (_G_wint_t): Likewise.
8037 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8038 (_G_ssize_t): Likewise.
8039 (_G_off_t): Likewise.
8040 (_G_pid_t): Likewise.
8041 (_G_uid_t): Likewise.
8042 (_G_wchar_t): Likewise.
8043 (_G_wint_t): Likewise.
8045 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8047 * malloc/arena.c: Include malloc-sysdep.h.
8048 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8049 is sufficient to shrink the heap or an unmap is needed.
8050 * sysdeps/generic/malloc-sysdep.h: New file. Define
8051 new function check_may_shrink_heap.
8052 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8053 new function check_may_shrink_heap.
8055 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8057 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8060 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8062 * catgets/test-gencat.sh: Add "set -e".
8063 * elf/tst-pathopt.sh: Likewise.
8064 * grp/tst_fgetgrent.sh: Likewise.
8065 * iconvdata/run-iconv-test.sh: Likewise.
8066 * intl/tst-gettext.sh: Likewise.
8067 * intl/tst-gettext2.sh: Likewise.
8068 * intl/tst-gettext4.sh: Likewise.
8069 * intl/tst-gettext6.sh: Likewise.
8070 * intl/tst-translit.sh: Likewise.
8071 * io/ftwtest-sh: Likewise.
8072 * libio/test-freopen.sh: Likewise.
8073 * malloc/tst-mtrace.sh: Likewise.
8074 * posix/globtest.sh: Likewise.
8075 * posix/tst-getconf.sh: Likewise.
8076 * posix/wordexp-tst.sh: Likewise.
8077 * stdio-common/tst-printf.sh: Likewise.
8078 * stdio-common/tst-unbputc.sh: Likewise.
8079 * stdlib/tst-fmtmsg.sh: Likewise.
8080 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8081 * catgets/Makefile: Do not specify -e option when running
8082 testsuite shell scripts.
8083 * elf/Makefile: Likewise.
8084 * grp/Makefile: Likewise.
8085 * iconvdata/Makefile: Likewise.
8086 * intl/Makefile: Likewise.
8087 * io/Makefile: Likewise.
8088 * libio/Makefile: Likewise.
8089 * malloc/Makefile: Likewise.
8090 * posix/Makefile: Likewise.
8091 * stdio-common/Makefile: Likewise.
8092 * stdlib/Makefile: Likewise.
8093 * sysdeps/x86_64/Makefile: Likewise.
8095 * io/ftwtest-sh: Add copyright header.
8096 * posix/globtest.sh: Likewise.
8097 * posix/tst-getconf.sh: Likewise.
8098 * posix/wordexp-tst.sh: Likewise.
8099 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8101 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8104 * Makeconfig (+link): Defined as $(+link-static) if
8105 $(build-shared) isn't yes.
8106 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8108 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8110 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8113 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8114 new chunk size with MALLOC_ALIGN_MASK.
8116 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8119 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8121 (__printf_fphex): Determine rounding using get_rounding_mode and
8123 * stdio-common/tst-printf-round.c (struct hex_test): New
8125 (hex_tests): New variable.
8126 (test_hex_in_one_mode): New function.
8127 (do_test): Also run tests for hex float output.
8129 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8131 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8132 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8133 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8134 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8135 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8136 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8137 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8138 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8140 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8142 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8143 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8144 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8145 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8147 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8150 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8152 * elf/tst-rtld-load-self.sh: New test.
8153 * elf/Makefile: Run it.
8155 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8157 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8158 (tst-writev-ENV): Remove.
8159 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8161 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8163 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8165 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8167 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8169 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8171 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8172 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8173 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8176 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8179 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8180 * config.make.in (have-cpp-asm-debuginfo): Removed.
8181 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8182 * configure: Regenerated.
8184 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8187 * stdio-common/printf_fp.c: Include <stdbool.h> and
8189 (___printf_fp): Determine rounding using get_rounding_mode and
8191 * stdio-common/tst-printf-round.c: New file.
8192 * stdio-common/Makefile (tests): Add tst-printf-round.
8193 (link-libm): New variable.
8194 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8196 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8199 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8200 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8202 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8205 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8207 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8208 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8209 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8210 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8212 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8215 * include/rounding-mode.h: New file.
8216 * sysdeps/generic/get-rounding-mode.h: Likewise.
8217 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8218 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8219 (MAX_VALUE): New macro.
8220 (MIN_VALUE): Likewise.
8221 (overflow_value): New function.
8222 (underflow_value): Likewise.
8223 (round_and_return): Use overflow_value and underflow_value to
8224 determine return values in overflow and underflow cases. Use
8225 round_away to determine rounding depending on rounding mode.
8226 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8227 determine return values in overflow and underflow cases.
8228 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8229 (struct test_results): New structure.
8230 (struct test): Use struct test_results to store expected results
8231 for all rounding modes.
8232 (TEST): Include expected results for all rounding modes.
8233 (test_in_one_mode): New function.
8234 (do_test): Use test_in_one_mode to compute and check results.
8235 Check results for all rounding modes.
8236 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8239 2012-12-09 Allan McRae <allan@archlinux.org>
8241 * sysdeps/i386/fpu/libm-test-ulps: Update
8243 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8245 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8246 (_G_int32_t): Likewise.
8247 (_G_uint16_t): Likewise.
8248 (_G_uint32_t): Likewise.
8249 (_G_HAVE_BOOL): Likewise.
8250 (_G_HAVE_ATEXIT): Likewise.
8251 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8252 (_G_HAVE_IO_FILE_OPEN): Likewise.
8253 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8254 (_G_int32_t): Likewise.
8255 (_G_uint16_t): Likewise.
8256 (_G_uint32_t): Likewise.
8257 (_G_HAVE_BOOL): Likewise.
8258 (_G_HAVE_ATEXIT): Likewise.
8259 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8260 (_G_HAVE_IO_FILE_OPEN): Likewise.
8261 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8262 (_G_int32_t): Likewise.
8263 (_G_uint16_t): Likewise.
8264 (_G_uint32_t): Likewise.
8265 (_G_HAVE_BOOL): Likewise.
8266 (_G_HAVE_ATEXIT): Likewise.
8267 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8268 (_G_HAVE_IO_FILE_OPEN): Likewise.
8270 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8272 * csu/libc-tls.c: Update copyright years.
8274 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8276 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8277 [!_G_USING_THUNKS]: Remove conditional code.
8278 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8279 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8281 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8282 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8283 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8284 (_G_VTABLE_LABEL_PREFIX): Likewise.
8285 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8286 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8287 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8288 (_G_VTABLE_LABEL_PREFIX): Likewise.
8289 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8290 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8291 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8292 (_G_VTABLE_LABEL_PREFIX): Likewise.
8293 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8295 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8297 * libio/Makefile: Include ../Makeconfig before tests.
8298 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8299 only if $(build-shared) is yes.
8301 * iconv/gconv_db.c: Update copyright years.
8303 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8305 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8306 unwind info if defined PIC. Fix special cases description.
8307 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8309 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8311 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8313 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8315 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8317 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8320 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8321 (LDLIBS-tst-chk4): This.
8322 (LDFLAGS-tst-chk5): Renamed to ...
8323 (LDLIBS-tst-chk5): This.
8324 (LDFLAGS-tst-chk6): Renamed to ...
8325 (LDLIBS-tst-chk6): This.
8326 (LDFLAGS-tst-lfschk4): Renamed to ...
8327 (LDLIBS-tst-lfschk4): This.
8328 (LDFLAGS-tst-lfschk5): Renamed to ...
8329 (LDLIBS-tst-lfschk5): This.
8330 (LDFLAGS-tst-lfschk6): Renamed to ...
8331 (LDLIBS-tst-lfschk6): This.
8333 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8334 on $(common-objpfx)soversions.mk.
8336 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8339 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8342 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8344 * malloc/arena.c (arena_get_retry): New function that gets
8345 another arena for the caller to try its request on.
8346 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8347 current arena cannot fulfill the request.
8348 (__libc_memalign): Likewise.
8349 (__libc_memalign): Likewise.
8350 (__libc_pvalloc): Likewise.
8351 (__libc_calloc): Likewise.
8353 2012-09-05 John Tobey <john.tobey@gmail.com>
8356 * manual/arith.texi (Operations on Complex): Fix description
8359 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8362 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8366 * manual/memory.texi (Memory): Make order of menu items match
8369 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8371 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8372 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8373 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8375 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8377 * csu/libc-tls.c (static_dtv): Renamed to ...
8378 (_dl_static_dtv): This. Make it global.
8379 (_dl_initial_dtv): Removed.
8380 (__libc_setup_tls): Updated.
8381 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8382 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8385 2012-09-06 Petr Machata <pmachata@redhat.com>
8387 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8388 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8389 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8390 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8392 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8395 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8396 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8399 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8402 * Makeconfig (link-static-before-libc): Replace $(+prector)
8404 (link-static-after-libc): Replace $(+postctor) with
8406 (link-bounded): Replace $(+prector)/$(+postctor) with
8407 $(+prectorT)/$(+postctorT).
8408 (+prectorT): New macro.
8409 (+postctorT): Likewise.
8411 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8413 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8414 (round_str): Handle values above the maximum for IBM long double
8416 * stdlib/tst-strtod-round.c (tests): Regenerated.
8418 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8420 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8422 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8423 zarch_nohighgprs around the zarch optimized routines.
8424 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8425 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8426 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8429 2012-09-05 David S. Miller <davem@davemloft.net>
8431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8433 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8434 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8435 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8436 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8439 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8441 * malloc/arena.c: Fold copyright years.
8442 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8444 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8446 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8448 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8450 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8452 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8454 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8455 change internal state upon failure.
8457 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8459 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8460 * malloc/memusage.c (mmap): Likewise.
8461 (mmap64, mremap): Likewise. Adjust name in comment.
8463 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8465 * libio/fileops.c: Fix typos in comments.
8466 * libio/oldfileops.c: Likewise.
8467 * libio/wfileops.c: Likewise.
8469 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8472 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8473 (tst-malloc-usable-ENV): Set environment for test case.
8474 * malloc/hooks.c (malloc_check_get_size): New function to get
8476 * malloc/malloc.c (musable): Use malloc_check_get_size.
8477 * malloc/tst-malloc-usable.c: New test case.
8479 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8481 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8483 2012-09-05 Allan McRae <allan@archlinux.org>
8486 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8487 determine header location.
8488 * configure: Regenerated.
8490 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8492 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8494 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8495 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8499 2012-09-04 David S. Miller <davem@davemloft.net>
8501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8505 2012-09-04 Florian Weimer <fweimer@redhat.com>
8507 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8510 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8512 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8515 * libio/iogetdelim.c: Include <limits.h>.
8516 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8517 + len + 1 would overflow.
8519 2012-09-03 Andreas Jaeger <aj@suse.de>
8521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8522 * sysdeps/i386/fpu/libm-test-ulps: Update.
8524 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8526 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8527 Add s_sinf-sse2, s_conf-sse2.
8529 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8530 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8531 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8532 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8534 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8535 for using routine as __sinf_ia32.
8536 Use macro for function declaration and weak_alias.
8537 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8538 for using routine as __cosf_ia32.
8539 Use macro for function declaration and weak_alias.
8541 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8542 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8544 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8545 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8548 * math/libm-test.inc (cos_test): Add more test cases.
8549 (sin_test): Likewise.
8550 (sincos_test): Likewise.
8552 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8554 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8555 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8557 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8559 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8562 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8563 first element of the GOT.
8564 (elf_machine_load_address): Return the difference between
8565 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8567 2012-09-01 Allan McRae <allan@archlinux.org>
8570 * configure.in (AWK): Require gawk version 3.0 or later.
8571 * configure: Regenerated.
8573 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8575 * sysdeps/unix/sysv/linux/kernel-features.h
8576 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8577 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8578 [__NR_clock_getres]: Make code unconditional.
8579 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8580 (clock_getcpuclockid): Remove code left unreachable by removal of
8582 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8584 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8585 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8586 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8587 Make code unconditional.
8588 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8589 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8590 * sysdeps/unix/sysv/linux/clock_settime.c
8591 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8593 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8594 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8596 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8599 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8600 scripts/test-installation.pl.
8602 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8603 and $ld_so_version if it is set.
8605 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8608 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8609 failure if reading from procfs failed.
8610 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8612 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8614 * sysdeps/unix/sysv/linux/kernel-features.h
8615 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8616 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8617 Remove conditional code.
8618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8619 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8620 Remove conditional code.
8621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8622 * sysdeps/unix/sysv/linux/i386/fxstat.c
8623 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8625 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8626 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8628 * sysdeps/unix/sysv/linux/i386/lxstat.c
8629 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8631 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8632 Remove conditional code.
8633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8634 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8635 Remove conditional code.
8636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8637 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8638 <kernel-features.h>.
8639 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8641 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8642 Remove conditional code.
8643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8644 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8647 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8650 * NEWS: Add fixed bug number.
8652 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8655 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8656 underflowing exponent in case of negative sign.
8657 * stdlib/tst-strtod-round-data: Add more tests.
8658 * stdlib/tst-strtod-round.c (tests): Regenerated.
8661 * stdlib/strtod_l.c (NDIG): Remove.
8662 (HEXNDIG): Likewise.
8663 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8664 smallest representable value.
8665 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8666 lie within an exact representation of 1/2 ulp of the result.
8667 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8669 (TENS_P9_IDX): Define unconditionally.
8670 (TENS_P9_SIZE): Likewise.
8671 (TENS_P10_IDX): Likewise.
8672 (TENS_P10_SIZE): Likewise.
8673 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8674 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8675 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8676 entries for 10^2^13 and 10^2^14.
8677 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8678 (TENS_P13_IDX): Define.
8679 (TENS_P13_SIZE): Likewise.
8680 (TENS_P14_IDX): Likewise.
8681 (TENS_P14_SIZE): Likewise.
8682 (_fpioconst_pow10): Change array size to
8683 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8685 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8686 1024]: Add entries for 10^2^13 and 10^2^14.
8687 [LAST_POW10 > _LAST_POW10]: Remove #error.
8688 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8689 (_fpioconst_pow10): Change array size to
8690 FPIOCONST_POW10_ARRAY_SIZE.
8691 * stdlib/gen-fpioconst.c: New file.
8692 * stdlib/gen-tst-strtod-round.c: Likewise.
8693 * stdlib/tst-strtod-round-data: Likewise.
8694 * stdlib/tst-strtod-round.c: Likewise.
8695 * stdlib/Makefile (tests): Add tst-strtod-round.
8698 * stdlib/strtod_l.c: Include <stdint.h>.
8699 (NDEBUG): Do not define.
8700 (round_and_return): Change EXPONENT parameter to type intmax_t.
8701 Rearrange calculations to avoid internal overflow possibilities.
8702 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8703 Rearrange calculations to avoid internal overflow possibilities.
8704 Assert that number fits inside MPNSIZE limbs.
8705 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8706 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8707 calculations and add assertions to avoid internal overflow
8708 possibilities. Add casts to avoid signed/unsigned operations.
8709 * stdlib/tst-strtod-overflow.c: New file.
8710 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8712 2012-08-25 Marek Polacek <polacek@redhat.com>
8714 * time/time.h: Fix some typos in comments.
8716 2012-08-23 Roland McGrath <roland@hack.frob.com>
8718 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8719 * posix/tst-rfc3484-2.c: Likewise.
8720 * posix/tst-rfc3484-3.c: Likewise.
8722 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8724 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8725 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8727 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8729 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8730 #include of fxstatat64.c.
8732 2012-08-22 Roland McGrath <roland@hack.frob.com>
8734 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8735 * shadow/getspent_r.c: Likewise.
8736 * shadow/getspnam.c: Likewise.
8737 * shadow/getspnam_r.c: Likewise.
8738 * gshadow/getsgent.c: Likewise.
8739 * gshadow/getsgent_r.c: Likewise.
8740 * gshadow/getsgnam.c: Likewise.
8741 * gshadow/getsgnam_r.c: Likewise.
8742 * inet/getnetbyad.c: Likewise.
8743 * inet/getnetbyad_r.c: Likewise.
8744 * inet/getnetbynm.c: Likewise.
8745 * inet/getnetbynm_r.c: Likewise.
8746 * inet/getnetent.c: Likewise.
8747 * inet/getnetent_r.c: Likewise.
8748 * inet/getproto.c: Likewise.
8749 * inet/getproto_r.c: Likewise.
8750 * inet/getprtent.c: Likewise.
8751 * inet/getprtent_r.c: Likewise.
8752 * inet/getprtname.c: Likewise.
8753 * inet/getprtname_r.c: Likewise.
8754 * inet/getrpcbyname.c: Likewise.
8755 * inet/getrpcbyname_r.c: Likewise.
8756 * inet/getrpcbynumber.c: Likewise.
8757 * inet/getrpcbynumber_r.c: Likewise.
8758 * inet/getrpcent.c: Likewise.
8759 * inet/getrpcent_r.c: Likewise.
8760 * inet/getaliasent.c: Likewise.
8761 * inet/getaliasent_r.c: Likewise.
8762 * inet/getaliasname.c: Likewise.
8763 * inet/getaliasname_r.c: Likewise.
8764 * nscd/getgrgid_r.c: Likewise.
8765 * nscd/getgrnam_r.c: Likewise.
8766 * nscd/gethstbyad_r.c: Likewise.
8767 * nscd/gethstbynm3_r.c: Likewise.
8768 * nscd/getpwnam_r.c: Likewise.
8769 * nscd/getpwuid_r.c: Likewise.
8770 * nscd/getsrvbynm_r.c: Likewise.
8771 * nscd/getsrvbypt_r.c: Likewise.
8772 * nscd/gai.c: Likewise.
8774 * configure.in (build_nscd): New substituted variable, set
8775 by --disable-build-nscd and defaults to $use_nscd.
8776 * configure: Regenerated.
8777 * config.make.in (build-nscd): New substituted variable.
8778 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8779 Change conditional to require [$(build-nscd) = yes] as well.
8780 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8783 * configure.in (use_nscd): New substituted variable, set by
8784 --disable-nscd. If enabled, define USE_NSCD.
8785 * configure: Regenerated.
8786 * config.h.in: Add USE_NSCD.
8787 * config.make.in (use-nscd): New substituted variable.
8788 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8789 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8790 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8791 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8792 (CFLAGS-getgrnam_r.c): Likewise.
8793 (CFLAGS-initgroups.c): Likewise.
8794 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8795 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8797 * inet/getnetgrent_r.c
8798 (nscd_setnetgrent): New function, broken out of ...
8799 (setnetgrent): ... here. Call it.
8800 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8801 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8802 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8803 * nscd/Makefile (routines, aux): Move definitions after include of
8804 Makeconfig. Conditionalize on [$(use-nscd) != no].
8805 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8806 Conditionalize on [USE_NSCD].
8807 (is_nscd, nscd_init_cb): Likewise.
8808 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8809 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8810 * nss/nss_db/db-init.c: Likewise.
8811 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8813 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8814 (make_request): Use it.
8815 (cache_valid_p): New function.
8816 (__check_pf): Use it.
8817 * NEWS: Add item for --disable-nscd.
8819 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8821 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8822 to support sed >= 4.2.1-20-ga9bf076.
8823 * configure: Regenerated.
8825 2012-08-22 Roland McGrath <roland@hack.frob.com>
8827 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8828 Conditionalize whole body on [IREL].
8830 2012-08-22 Jeff Law <law@redhat.com>
8833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8834 if the family is PF_UNSPEC.
8836 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8838 * Makerules (lib-version): Rename from V.
8839 (install-lib-nosubdir): Change V to lib-version.
8841 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8844 * powerpc32/power6/wcschr.c: New file.
8845 * powerpc32/power6/wcscpy.c: New file.
8846 * powerpc32/power6/wcsrchr.c: New file.
8847 * powerpc64/power6/wcschr.c: New file.
8848 * powerpc64/power6/wcscpy.c: New file.
8849 * powerpc64/power6/wcsrchr.c: New file.
8851 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8853 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8854 (two_way_short_needle): Use it.
8855 * string/strstr.c (AVAILABLE1_USES_J): Define.
8856 * string/strcasestr.c: Likewise.
8858 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8860 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8863 * NEWS: Add an entry.
8864 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8865 define their defaults.
8866 (two_way_short_needle): Detect end-of-string on-the-fly.
8867 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8868 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8869 * string/bug-strcasestr1.c: New test.
8870 * string/Makefile: Run it.
8872 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8875 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8876 the first character.
8878 2012-08-21 Roland McGrath <roland@hack.frob.com>
8880 * csu/elf-init.c (__libc_csu_irel): Function removed.
8881 * csu/libc-start.c (apply_irel): New function.
8882 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8884 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8886 * sysdeps/unix/sysv/linux/kernel-features.h
8887 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8888 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8889 <kernel-features.h>.
8890 [__NR_fadvise64_64]: Make code unconditional.
8891 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8892 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8893 !__NR_fadvise64_64)]: Likewise.
8894 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8895 !__NR_fadvise64_64))]: Likewise.
8896 [__NR_fadvise64]: Make code unconditional.
8897 [!__NR_fadvise64]: Remove conditional code.
8898 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8899 <kernel-features.h>.
8900 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8902 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8905 not include <kernel-features.h>.
8906 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8908 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8910 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8911 include <kernel-features.h>.
8912 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8914 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8917 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8919 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8920 slight instruction rearrangements per scrollpipe analysis.
8921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8923 2012-08-20 Roland McGrath <roland@hack.frob.com>
8925 * manual/syslog.texi (syslog; vsyslog, closelog):
8926 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8927 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8929 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8930 DSOCAPS to match condition on defining it.
8932 2012-08-20 Joseph Myers <joseph@codesourcery.com>
8934 * sysdeps/unix/sysv/linux/kernel-features.h
8935 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8937 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8938 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8940 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8941 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8943 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8944 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8946 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8947 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8949 * sysdeps/unix/sysv/linux/kernel-features.h
8950 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8951 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8953 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8954 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8955 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8956 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8957 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8958 Make code unconditional.
8959 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8960 (__mmap64) [!__NR_mmap2]: Likewise.
8961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8962 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8963 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8964 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8965 [__NR_mmap2]: Make code unconditional.
8966 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8967 (__mmap64) [!__NR_mmap2]: Likewise.
8969 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8971 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8973 2012-08-18 Andreas Jaeger <aj@suse.de>
8975 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8977 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8979 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8980 * include/unistd.h (__have_sock_cloexec): Likewise.
8981 (__have_pipe2): Likewise.
8982 (__have_dup3): Likewise.
8984 2012-08-18 Mike Frysinger <vapier@gentoo.org>
8987 * include/unistd.h (__have_pipe2): Change define into an extern int.
8988 (__have_dup3): Likewise.
8989 * socket/have_sock_cloexec.c: Include fcntl.h.
8990 (__have_pipe2): New variable.
8991 (__have_dup3): Likewise.
8993 2012-08-17 Mike Frysinger <vapier@gentoo.org>
8995 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8997 2012-08-17 Marek Polacek <polacek@redhat.com>
8999 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9000 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9002 2012-08-17 Roland McGrath <roland@hack.frob.com>
9004 * configure.in: Add AC_SUBST for sysheaders.
9005 * configure: Regenerated.
9006 * config.make.in (sysheaders): New substituted variable.
9008 * sysdeps/unix/mkfifo.c: Moved ...
9009 * sysdeps/posix/mkfifo.c: ... here.
9010 * sysdeps/unix/mkfifoat.c: Moved ...
9011 * sysdeps/posix/mkfifoat.c: ... here.
9013 * sysdeps/unix/utime.c: Moved ...
9014 * sysdeps/posix/utime.c: ... here.
9016 * sysdeps/unix/time.c: Moved ...
9017 * sysdeps/posix/time.c: ... here.
9018 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9019 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9021 * sysdeps/unix/nice.c: Moved ...
9022 * sysdeps/posix/nice.c: ... here.
9024 * sysdeps/unix/alarm.c: Moved ...
9025 * sysdeps/posix/alarm.c: ... here.
9027 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9029 2012-08-17 Jeff Law <law@redhat.com>
9031 * intl/Makefile (codeset_mo): New variable.
9032 ($(codeset_mo)): New target.
9033 (tst-codeset.out): Depend on that. Remove explicit rule.
9034 (tst-gettext3.out, tst-gettext5.out): Likewise.
9035 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9036 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9037 * intl/tst-codeset.sh: Remove.
9038 * intl/tst-gettext3.sh: Likewise.
9039 * intl/tst-gettext5.sh: Likewise.
9041 2012-08-17 Roland McGrath <roland@hack.frob.com>
9043 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9044 * sysdeps/unix/syscalls.list: ... here.
9046 * sysdeps/posix/getaddrinfo.c
9047 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9048 (gaiconf_init, gaiconf_reload): Use them.
9050 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9051 Define using time_t rather than struct timespec.
9053 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9054 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9056 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9058 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9059 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9062 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9063 __libc_cleanup_push argument.
9065 * bits/param.h: New file.
9066 * misc/sys/param.h: New file.
9067 * include/sys/param.h: New file.
9068 * misc/Makefile (headers): Add bits/param.h.
9069 * sysdeps/generic/sys/param.h: File removed.
9070 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9071 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9072 * sysdeps/mach/hurd/bits/param.h: New file.
9073 * sysdeps/mach/hurd/sys/param.h: File removed.
9075 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9078 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9080 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9081 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9084 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9085 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9086 rather than -D_IO_MTSAFE_IO conditionally.
9087 * stdio-common/Makefile (CPPFLAGS): Likewise.
9088 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9089 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9090 Use $(libio-mtsafe).
9091 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9093 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9094 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9095 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9096 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9097 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9098 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9099 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9100 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9101 (CFLAGS-fread_u_chk.c): Likewise.
9102 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9103 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9104 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9105 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9106 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9107 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9108 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9109 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9110 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9112 * libio/Makefile: Test [$(libc-reentrant) = yes]
9113 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9116 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9117 * sysdeps/pthread/configure: File removed.
9118 * sysdeps/pthread/Makeconfig: New file.
9119 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9120 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9122 2012-08-16 Gary Benson <gbenson@redhat.com>
9124 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9125 unmapping the first object in a namespace.
9127 2012-08-16 Roland McGrath <roland@hack.frob.com>
9129 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9130 (__internal_setnetgrent): ... this. Add internal_function to
9131 definition. Add libc_hidden_def.
9132 (setnetgrent): Update caller.
9133 (internal_endnetgrent): Renamed to ...
9134 (__internal_endnetgrent): ... this. Add internal_function to
9135 definition. Add libc_hidden_def.
9136 (endnetgrent): Update caller.
9137 (internal_getnetgrent_r): Renamed to ...
9138 (__internal_getnetgrent_r): ... this. Add internal_function to
9139 definition. Add libc_hidden_def.
9140 (__getnetgrent_r): Update caller.
9141 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9143 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9145 * stdlib/longlong.h: Update from GCC.
9147 2012-08-16 Roland McGrath <roland@hack.frob.com>
9149 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9150 on _QL, which is set by umul_ppmm but never used.
9151 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9152 variables, which are set by GMP macros but never used.
9153 * stdio-common/_itowa.c (_itowa): Likewise.
9154 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9155 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9157 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9159 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9160 struct La_sh_regs is not constant.
9161 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9162 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9163 and struct La_sparc64_regs are not constant.
9165 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9167 * sysdeps/unix/sysv/linux/kernel-features.h
9168 (__ASSUME_POSIX_TIMERS): Remove.
9169 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9171 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9172 Make code unconditional.
9173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9174 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9175 Make code unconditional.
9176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9177 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9178 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9180 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9181 Make code unconditional.
9182 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9183 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9184 (__libc_missing_posix_timers): Remove.
9186 2012-08-15 Roland McGrath <roland@hack.frob.com>
9188 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9189 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9191 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9193 * elf/dl-sym.c: Include <stdlib.h>.
9195 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9196 constants, which avoids warnings in 32-bit builds.
9198 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9199 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9201 * misc/lseek.c: File moved to ...
9202 * io/lseek.c: ... here.
9204 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9206 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9207 shifting LEN more than 31 bits at once.
9209 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9212 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9213 segmentation fault for a case of two empty input strings.
9214 * string/test-strncasecmp.c (check1): Renamed to...
9216 (bz14195): Add new testcase for two empty input strings and N > 0.
9217 (test_main): Call new testcase, adapt for renamed function.
9219 2012-08-15 Andreas Jaeger <aj@suse.de>
9222 * crypt/md5test2.c: New test, based on test supplied by Serge
9223 Belyshev <belyshev@depni.sinp.msu.ru>.
9224 * crypt/Makefile (xtests): Add md5test-giant..
9225 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9227 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9230 * crypt/md5.c (md5_process_block): Don't assume the buffer
9231 length is less than 2**32.
9232 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9233 length is less than 2**64.
9235 2012-08-15 Roland McGrath <roland@hack.frob.com>
9237 * string/str-two-way.h: Include <sys/param.h>.
9238 (MAX): Macro removed.
9240 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9241 Move #define and #undef of memmove to just before and after
9242 including <string.h>.
9244 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9245 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9246 and after including <string.h>. Move declarations of
9247 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9248 to before #include "string/memmove.c".
9250 * include/dirent.h: Declare __getdirentries.
9252 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9253 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9255 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9257 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9258 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9259 * sysdeps/i386/configure: Regenerated.
9260 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9261 STABS_CURRENT_FILE, and STABS_FUN.
9262 (END): Remove call to STABS_FUN_END.
9263 (STABS_CURRENT_FILE1): Delete.
9264 (STABS_CURRENT_FILE): Likewise.
9265 (STABS_FUN): Likewise.
9266 (STABS_FUN_END): Likewise.
9267 (STABS_FUN2): Likewise.
9268 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9269 * sysdeps/x86_64/configure: Regenerated.
9271 2012-08-14 Roland McGrath <roland@hack.frob.com>
9273 * elf/dl-open.c: Include <atomic.h>.
9274 * elf/dl-lookup.c: Likewise.
9276 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9278 * sysdeps/unix/sysv/linux/kernel-features.h
9279 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9280 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9282 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9284 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9285 condition on __ASSUME_CLONE_THREAD_FLAGS.
9287 2012-08-14 Andreas Jaeger <aj@suse.de>
9289 * sysdeps/i386/fpu/libm-test-ulps: Update.
9291 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9293 * include/atomic.h (atomic_exchange_and_add): Split into ...
9294 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9297 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9301 2012-08-13 Jeff Law <law@redhat.com>
9303 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9304 null byte in the output string.
9306 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9308 * sysdeps/unix/sysv/linux/kernel-features.h
9309 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9310 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9311 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9312 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9313 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9314 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9315 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9317 2012-08-09 Jeff Law <law@redhat.com>
9320 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9321 When avoid_arena is set, don't retry in the that arena. Pick the
9322 next one, whatever it might be.
9323 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9324 (arena_lock): Pass in new parameter to arena_get2.
9325 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9327 (__libc_malloc): Unify retrying after main arena failure with
9328 __libc_memalign version.
9329 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9331 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9334 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9335 to __redirect_strstr.
9336 (__strstr_sse42): Use typeof __redirect_strstr.
9337 (__strstr_ia32): Likewise.
9338 (__libc_strstr): New prototype.
9339 (strstr): Renamed to ...
9340 (__libc_strstr): This.
9341 (strstr): New strong alias of __libc_strstr.
9342 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9343 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9346 (__libc_time): New prototype.
9347 (time_ifunc): Replace time with __libc_time.
9348 (time): New strong alias and hidden definition of __libc_time.
9349 (__GI_time): Remove strong alias.
9350 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9352 (memmove): Redefined to __redirect_memmove.
9353 (__memmove_sse2): Use typeof __redirect_memmove.
9354 (__memmove_ssse3): Likewise.
9355 (__memmove_ssse3_back): Likewise.
9356 (__libc_memmove): New prototype.
9357 (memmove): Renamed to ...
9358 (__libc_memmove): This.
9359 (memmove): New strong alias of __libc_memmove.
9361 2012-08-08 Mark Salter <msalter@redhat.com>
9364 (R_MN10300_TLS_GD): Define.
9365 (R_MN10300_TLS_LD): Likewise.
9366 (R_MN10300_TLS_LDO): Likewise.
9367 (R_MN10300_TLS_GOTIE): Likewise.
9368 (R_MN10300_TLS_IE): Likewise.
9369 (R_MN10300_TLS_LE): Likewise.
9370 (R_MN10300_TLS_DTPMOD): Likewise.
9371 (R_MN10300_TLS_DTPOFF): Likewise.
9372 (R_MN10300_TLS_TPOFF): Likewise.
9373 (R_MN10300_SYM_DIFF): Likewise.
9374 (R_MN10300_ALIGN): Likewise.
9375 (R_MN10300_NUM): Update.
9377 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9379 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9382 2012-08-08 Roland McGrath <roland@hack.frob.com>
9384 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9386 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9387 sysdeps/unix -> sysdeps/posix move.
9388 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9390 2012-08-07 Allan McRae <allan@archlinux.org>
9393 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9394 (SUNOS_CPP): Likewise.
9395 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9397 (open_input): Call CPP using execvp.
9399 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9401 * sysdeps/unix/sysv/linux/kernel-features.h
9402 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9403 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9404 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9405 (__ASSUME_WAITID_SYSCALL): Likewise.
9406 * sysdeps/unix/sysv/linux/dl-execstack.c
9407 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9409 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9411 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9412 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9413 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9415 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9417 [__ASSUME_WAITID_SYSCALL]: Likewise.
9418 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9420 2012-08-07 Roland McGrath <roland@hack.frob.com>
9422 * sysdeps/unix/closedir.c: Renamed to ...
9423 * sysdeps/posix/closedir.c: ... here.
9424 * sysdeps/unix/dirfd.c: Renamed to ...
9425 * sysdeps/posix/dirfd.c: ... here.
9426 * sysdeps/unix/dirstream.h: Renamed to ...
9427 * sysdeps/posix/dirstream.h: ... here.
9428 * sysdeps/unix/fdopendir.c: Renamed to ...
9429 * sysdeps/posix/fdopendir.c: ... here.
9430 * sysdeps/unix/opendir.c: Renamed to ...
9431 * sysdeps/posix/opendir.c: ... here.
9432 * sysdeps/unix/readdir.c: Renamed to ...
9433 * sysdeps/posix/readdir.c: ... here.
9434 * sysdeps/unix/readdir_r.c: Renamed to ...
9435 * sysdeps/posix/readdir_r.c: ... here.
9436 * sysdeps/unix/rewinddir.c: Renamed to ...
9437 * sysdeps/posix/rewinddir.c: ... here.
9438 * sysdeps/unix/seekdir.c: Renamed to ...
9439 * sysdeps/posix/seekdir.c: ... here.
9440 * sysdeps/unix/telldir.c: Renamed to ...
9441 * sysdeps/posix/telldir.c: ... here.
9442 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9443 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9444 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9445 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9447 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9448 * bits/fcntl.h: ... here.
9450 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9452 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9453 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9454 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9455 (struct flock): Move l_start, l_len to the beginning.
9456 Use __pid_t for l_pid.
9457 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9458 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9459 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9460 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9461 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9462 [__USE_LARGEFILE64] (struct flock64): New type.
9463 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9465 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9466 * bits/dirent.h: ... here.
9468 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9469 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9471 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9473 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9474 Change from 2.6.0 to 2.6.16.
9475 * sysdeps/unix/sysv/linux/configure: Regenerated.
9476 * sysdeps/unix/sysv/linux/kernel-features.h
9477 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9478 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9480 (__ASSUME_UTIMES): Likewise.
9481 (__ASSUME_CLONE_STOPPED): Remove.
9482 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9483 architectures, not kernel version.
9484 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9485 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9486 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9487 (__ASSUME_WAITID_SYSCALL): Likewise.
9488 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9489 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9490 * README: State 2.6.16 as minimum Linux kernel version. Do not
9491 refer to older versions.
9493 2012-08-06 Roland McGrath <roland@hack.frob.com>
9495 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9496 Define alphasort64 as an alias.
9497 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9498 Define versionsort64 as an alias.
9499 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9500 Define scandir64 as an alias.
9501 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9502 Define scandirat64 as an alias.
9503 * dirent/alphasort64.c (alphasort64):
9504 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9505 * dirent/versionsort64.c: Likewise.
9506 * dirent/scandir64.c: Likewise.
9507 * dirent/scandirat64.c: Likewise.
9508 * sysdeps/wordsize-64/alphasort.c: File removed.
9509 * sysdeps/wordsize-64/alphasort64.c: File removed.
9510 * sysdeps/wordsize-64/scandir.c: File removed.
9511 * sysdeps/wordsize-64/scandir64.c: File removed.
9512 * sysdeps/wordsize-64/scandirat.c: File removed.
9513 * sysdeps/wordsize-64/scandirat64.c: File removed.
9514 * sysdeps/wordsize-64/versionsort.c: File removed.
9515 * sysdeps/wordsize-64/versionsort64.c: File removed.
9516 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9517 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9518 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9519 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9520 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9521 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9522 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9523 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9525 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9527 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9529 [defined __arch64__ || defined __sparcv9]
9530 (__INO_T_MATCHES_INO64_T): New macro.
9531 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9532 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9533 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9534 * sysdeps/unix/sysv/linux/bits/dirent.h
9535 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9536 (_DIRENT_MATCHES_DIRENT64): New macro.
9538 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9539 Define lockf64 as an alias.
9540 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9541 Define fseeko64 as an alias.
9542 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9543 Define ftello64 as an alias.
9544 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9545 Define _IO_fgetpos64 and fgetpos64 as aliases.
9546 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9547 Define _IO_fsetpos64 and fsetpos64 as aliases.
9548 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9549 Conditionalize body on this.
9550 * libio/fseeko64.c: Likewise.
9551 * libio/ftello64.c: Likewise.
9552 * libio/iofgetpos64.c: Likewise.
9553 * libio/iofsetpos64.c: Likewise.
9554 * sysdeps/wordsize-64/lockf.c: File removed.
9555 * sysdeps/wordsize-64/lockf64.c: File removed.
9556 * sysdeps/wordsize-64/fseeko.c: File removed.
9557 * sysdeps/wordsize-64/fseeko64.c: File removed.
9558 * sysdeps/wordsize-64/ftello.c: File removed.
9559 * sysdeps/wordsize-64/ftello64.c: File removed.
9560 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9561 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9562 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9563 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9564 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9565 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9566 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9567 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9568 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9569 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9570 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9571 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9572 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9573 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9575 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9577 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9578 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9579 [defined __arch64__ || defined __sparcv9]
9580 (__OFF_T_MATCHES_OFF64_T): New macro.
9581 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9582 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9584 (__OFF_T_MATCHES_OFF64_T): New macro.
9586 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9588 * stdlib/secure-getenv.c (__secure_getenv): Replace
9589 GLIBC_2_16 with GLIBC_2_17.
9591 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9593 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9594 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9596 2012-08-03 David S. Miller <davem@davemloft.net>
9598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9600 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9602 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9604 (__ASSUME_CORRECT_SI_PID): Likewise.
9605 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9606 (__ASSUME_TMPFS_NAME): Likewise.
9607 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9608 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9609 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9610 (HAVE_AUX_SECURE): Make definition unconditional.
9611 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9612 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9614 2012-08-03 Roland McGrath <roland@hack.frob.com>
9616 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9617 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9618 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9619 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9620 __eloop_threshold instead of SYMLOOP_MAX.
9622 * sysdeps/generic/eloop-threshold.h: New file.
9623 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9625 * elf/chroot_canon.c (chroot_canon): Likewise.
9627 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9630 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9631 Change to 2.6.0 everywhere.
9632 * sysdeps/unix/sysv/linux/configure: Regenerated.
9633 * sysdeps/unix/sysv/linux/kernel-features.h
9634 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9635 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9637 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9638 (__ASSUME_FUTEX_REQUEUE): Remove.
9639 (__ASSUME_STATFS64): Define unconditionally.
9640 (__ASSUME_AT_SECURE): Likewise.
9641 (__ASSUME_CORRECT_SI_PID): Likewise.
9642 (__ASSUME_TGKILL): Define without depending on kernel version for
9644 (__ASSUME_UTIMES): Likewise.
9645 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9647 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9648 (__ASSUME_TMPFS_NAME): Likewise.
9649 * README: Update reference to Linux kernel versions.
9651 2012-08-02 Marek Polacek <polacek@redhat.com>
9654 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9655 libc_cv_asm_type_prefix with %.
9656 * configure: Regenerated.
9657 * include/libc-symbols.h: Remove comment about
9658 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9659 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9660 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9661 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9662 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9663 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9664 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9665 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9666 * elf/tst-unique2mod1.c: Likewise.
9667 * elf/tst-unique1mod2.c: Likewise.
9668 * elf/tst-unique1mod1.c: Likewise.
9669 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9670 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9671 Replace ASM_TYPE_DIRECTIVE with .type.
9672 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9673 * sysdeps/i386/sysdep.h: Likewise.
9674 * sysdeps/x86_64/sysdep.h: Likewise.
9675 * sysdeps/sh/sysdep.h: Likewise.
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9677 Do not define ASM_TYPE_DIRECTIVE.
9678 * sysdeps/powerpc/sysdep.h: Likewise.
9679 * sysdeps/powerpc/powerpc32/sysdep.h:
9680 Replace ASM_TYPE_DIRECTIVE with .type.
9681 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9682 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9683 * sysdeps/i386/fpu/e_powf.S: Likewise.
9684 * sysdeps/i386/fpu/e_expl.S: Likewise.
9685 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9686 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9687 * sysdeps/i386/fpu/e_pow.S: Likewise.
9688 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9689 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9690 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9691 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9692 * sysdeps/i386/fpu/e_log2.S: Likewise.
9693 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9694 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9695 * sysdeps/i386/fpu/e_powl.S: Likewise.
9696 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9697 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9698 * sysdeps/i386/fpu/e_logl.S: Likewise.
9699 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9700 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9701 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9702 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9703 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9704 * sysdeps/i386/fpu/e_log.S: Likewise.
9705 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9706 * sysdeps/i386/fpu/e_logf.S: Likewise.
9707 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9709 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9710 * sysdeps/i386/fpu/e_log10.S: Likewise.
9711 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9712 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9713 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9714 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9715 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9716 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9717 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9718 * sysdeps/i386/i686/strtok.S: Likewise.
9719 * sysdeps/i386/i386-mcount.S: Likewise.
9720 * sysdeps/i386/strtok.S: Likewise.
9721 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9722 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9723 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9724 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9725 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9726 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9727 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9728 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9729 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9730 * sysdeps/x86_64/_mcount.S: Likewise.
9731 * sysdeps/x86_64/strtok.S: Likewise.
9732 * sysdeps/sh/_mcount.S: Likewise.
9734 2012-08-01 Roland McGrath <roland@hack.frob.com>
9736 * libio/iofopen.c: Include <fcntl.h>.
9737 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9738 (_IO_fopen64, fopen64): Define as aliases.
9739 * libio/iofopen64.c: Include <fcntl.h>.
9740 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9741 Conditionalize body on this.
9742 * sysdeps/wordsize-64/iofopen.c: File removed.
9743 * sysdeps/wordsize-64/iofopen64.c: File removed.
9745 2012-08-01 Marek Polacek <polacek@redhat.com>
9747 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9748 Use dlfcn directly instead of a variable.
9749 (binfmt-subdir): Do not define.
9752 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9754 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9755 Remove all definitions.
9756 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9757 <kernel-features.h>.
9758 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9759 (miss_F_GETOWN_EX): Remove all definitions.
9760 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9762 [!__ASSUME_FCNTL64]: Remove conditional code.
9763 [__ASSUME_FCNTL64]: Make code unconditional.
9764 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9765 <kernel-features.h>.
9766 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9767 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9768 (lockf64) [__NR_fcntl64]: Make code unconditional.
9769 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9771 * sysdeps/unix/sysv/linux/kernel-features.h
9772 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9773 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9774 Make code unconditional.
9775 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9776 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9778 [__NR_vfork]: Make code unconditional.
9779 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9780 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9782 [__NR_vfork]: Make code unconditional.
9783 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9784 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9786 2012-08-01 Roland McGrath <roland@hack.frob.com>
9788 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9789 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9791 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9792 Define mkstemp64 as an alias.
9793 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9794 Define mkstemps64 as an alias.
9795 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9796 Define mkostemp64 as an alias.
9797 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9798 Define mkostemps64 as an alias.
9799 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9800 Conditionalize body on this.
9801 * misc/mkostemp64.c: Likewise.
9802 * misc/mkostemps64.c: Likewise.
9803 * misc/mkstemps64.c: Likewise.
9804 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9805 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9806 * sysdeps/wordsize-64/mkostemp.c: File removed.
9807 * sysdeps/wordsize-64/mkstemp.c: File removed.
9808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9809 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9811 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9814 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9815 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9816 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9817 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9819 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9820 compat_symbol macros from <shlib-compat.h> rather than the underlying
9821 default_symbol_version and symbol_version macros, so that DEFAULT
9822 lines in shlib-versions are respected.
9823 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9825 2012-08-01 Florian Weimer <fweimer@redhat.com>
9827 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9828 Declare with warn_unused_result.
9829 (setgid, setregid, setegid, setresgid): Likewise.
9830 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9832 * WUR-REPORT: Remove set*id functions.
9834 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9836 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9838 2012-07-31 Roland McGrath <roland@hack.frob.com>
9840 * include/sys/socket.h (__libc_accept, __libc_accept4):
9841 Add attribute_hidden.
9842 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9844 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9846 * inet/getnetgrent_r.c (setup): Likewise.
9848 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9850 2012-07-31 David S. Miller <davem@davemloft.net>
9852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9854 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9857 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9858 value between 1.0 and 2.0 and smaller part has absolute value less
9860 * math/s_clog10.c (__clog10): Likewise.
9861 * math/s_clog10f.c (__clog10f): Likewise.
9862 * math/s_clog10l.c (__clog10l): Likewise.
9863 * math/s_clogf.c (__clogf): Likewise.
9864 * math/s_clogl.c (__clogl): Likewise.
9865 * math/libm-test.inc (clog_test): Add more tests.
9866 (clog10_test): Likewise.
9867 * sysdeps/i386/fpu/libm-test-ulps: Update.
9868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9870 2012-07-31 Florian Weimer <fweimer@redhat.com>
9872 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9873 Exit with zero in case no suitable GID is found, and write a
9874 message to standard error.
9876 2012-07-30 Roland McGrath <roland@hack.frob.com>
9878 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9880 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9881 (MAXPATHLEN): Removed.
9882 (NOGROUP, NODEV): New macros.
9883 (setbit, clrbit, isset, isclr): New macros.
9884 (howmany, roundup, powerof2): New macros.
9885 (DEV_BSIZE): New macro.
9887 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9888 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9890 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9891 definition on [!__NO_LONG_DOUBLE_MATH].
9893 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9894 PTR_MANGLE and PTR_DEMANGLE.
9896 * socket/accept4.c (accept4): Rename to __libc_accept4.
9897 Define accept4 as a weak alias.
9899 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9900 on [_DIRENT_HAVE_D_TYPE].
9901 * io/ftw.c (ftw_dir): Likewise.
9903 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9905 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9907 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9908 Use the BSD numbers rather than the arbitrary ones we had.
9909 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9910 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9911 (SIGXCPU, SIGXFSZ): New macros.
9914 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9915 initializer on [_LIBC_REENTRANT].
9917 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9918 definitions inside [_POSIX_MAPPED_FILES].
9920 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9922 * dirent/opendir.c: Include <fcntl.h>.
9924 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9925 (__libc_getspecific): Likewise.
9926 (__libc_key_create): Likewise.
9928 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9929 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9930 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9931 (tmpfile64): Define as alias.
9932 * sysdeps/wordsize-64/tmpfile.c: File removed.
9933 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9934 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9935 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9937 * stdio-common/vfscanf.c: Include <stdbool.h>.
9938 * nss/makedb.c: Likewise.
9939 * stdio-common/_i18n_number.h: Likewise.
9940 * argp/argp-help.c: Likewise.
9941 * posix/wordexp.c: Likewise.
9942 * sysdeps/posix/spawni.c: Likewise.
9943 * nss/nss_files/files-initgroups.c: Likewise.
9944 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9945 * nss/nss_files/files-initgroups.c: Likewise.
9946 * nss/nss_db/db-netgrp.c: Likewise.
9947 * nss/nss_db/db-initgroups.c: Likewise.
9948 * io/fchmodat.c: Include <sys/stat.h>.
9950 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9951 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9953 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9956 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9957 Add multiple inclusion protection.
9959 2012-07-27 David S. Miller <davem@davemloft.net>
9961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9963 2012-07-27 Gary Benson <gbenson@redhat.com>
9966 * elf/rtld.c: Include <stap-probe.h>.
9967 (dl_main): Added static probes "init_start" and "init_complete".
9968 * elf/dl-load.c: Include <stap-probe.h>.
9969 (lose): Take new parameter "nsid".
9970 Added static probe "map_failed".
9971 (_dl_map_object_from_fd): Pass namespace id to lose.
9972 Added static probe "map_start".
9973 (open_verify): Pass namespace id to lose.
9974 * elf/dl-open.c: Include <stap-probe.h>.
9975 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9976 and "reloc_complete".
9977 * elf/dl-close.c: Include <stap-probe.h>.
9978 (_dl_close_worker): Added static probes "unmap_start" and
9980 * elf/rtld-debugger-interface.txt: New file documenting the above.
9982 2012-07-26 Roland McGrath <roland@hack.frob.com>
9984 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9985 rather than a string variable.
9986 * sunrpc/rpc_main.c (h_output): Likewise.
9987 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9989 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9991 * inet/check_native.c: New file.
9993 2012-07-26 Joseph Myers <joseph@codesourcery.com>
9996 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9997 if larger part has absolute value 1.0.
9998 * math/s_clog10.c (__clog10): Likewise.
9999 * math/s_clog10f.c (__clog10f): Likewise.
10000 * math/s_clog10l.c (__clog10l): Likewise.
10001 * math/s_clogf.c (__clogf): Likewise.
10002 * math/s_clogl.c (__clogl): Likewise.
10003 * math/libm-test.inc (clog_test): Add more tests.
10004 (clog10_test): Likewise.
10005 * sysdeps/i386/fpu/libm-test-ulps: Update.
10006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10008 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10009 (pltexit): Likewise.
10010 (La_regs): Likewise.
10011 (La_retval): Likewise.
10012 (int_retval): Likewise.
10013 Update #error for removed macros to refer only to definitions in
10015 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10017 (pltexit): Likewise.
10018 (La_regs): Likewise.
10019 (La_retval): Likewise.
10020 (int_retval): Likewise.
10021 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10023 (pltexit): Likewise.
10024 (La_regs): Likewise.
10025 (La_retval): Likewise.
10026 (int_retval): Likewise.
10027 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10029 (pltexit): Likewise.
10030 (La_regs): Likewise.
10031 (La_retval): Likewise.
10032 (int_retval): Likewise.
10033 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10035 (pltexit): Likewise.
10036 (La_regs): Likewise.
10037 (La_retval): Likewise.
10038 (int_retval): Likewise.
10039 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10041 (pltexit): Likewise.
10042 (La_regs): Likewise.
10043 (La_retval): Likewise.
10044 (int_retval): Likewise.
10045 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10047 (pltexit): Likewise.
10048 (La_regs): Likewise.
10049 (La_retval): Likewise.
10050 (int_retval): Likewise.
10051 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10052 macro definitions in tst-audit.h.
10053 * sysdeps/i386/tst-audit.h: New file.
10054 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10055 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10056 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10057 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10058 * sysdeps/sh/tst-audit.h: Likewise.
10059 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10060 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10061 * sysdeps/x86_64/tst-audit.h: Likewise.
10063 2012-07-26 Andreas Jaeger <aj@suse.de>
10065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10068 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10069 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10070 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10072 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10073 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10074 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10076 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10079 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10081 (si_call_addr, si_syscall, si_arch): Define new macro.
10082 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10084 (si_call_addr, si_syscall, si_arch): Define new marcro.
10085 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10087 (si_call_addr, si_syscall, si_arch): Define new macro.
10088 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10090 (si_call_addr, si_syscall, si_arch): Define new macro.
10092 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10096 Change to 2.4.21 where previously 2.4.1.
10097 * sysdeps/unix/sysv/linux/configure: Regenerated.
10098 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10099 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10100 Linux kernel version.
10101 (__ASSUME_STD_AUXV): Remove.
10102 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10104 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10105 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10106 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10107 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10108 (__ASSUME_NETLINK_SUPPORT): Likewise.
10109 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10110 (__no_netlink_support): Remove conditional definition.
10111 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10113 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10114 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10115 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10116 (if_nameindex_ioctl): Remove.
10117 (if_nameindex_netlink): Do not handle __no_netlink_support.
10118 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10120 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10121 Remove conditional code.
10122 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10124 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10126 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10127 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10128 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10130 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10131 [!__ASSUME_STD_AUXV]: Remove conditional code.
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10133 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10134 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10136 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10137 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10139 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10141 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10142 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10144 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10146 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10149 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10152 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10153 code unconditional.
10154 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10156 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10158 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10161 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10163 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10166 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10167 code unconditional.
10168 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10170 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10172 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10175 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10176 code unconditional.
10177 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10179 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10181 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10184 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10186 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10187 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10188 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10189 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10190 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10191 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10192 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10193 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10194 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10195 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10196 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10197 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10198 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10199 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10200 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10201 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10202 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10203 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10204 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10206 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10207 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10208 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10210 2012-07-25 Florian Weimer <fweimer@redhat.com>
10212 * Versions.def: Add GLIBC_2.17.
10213 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10214 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10215 Introduce __libc_secure_getenv.
10216 * stdlib/Versions (2.17): Add secure_getenv
10217 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10218 * stdlib/secure-getenv.c: Rename __secure_getenv to
10219 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10220 symbol __secure_getenv for GLIBC_2.0.
10221 * stdlib/tst-secure-getenv.c: New.
10222 * stdlib/Makefile (tests): Add testcase.
10223 * manual/startup.texi (Environment Access): Document
10225 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10226 __libc_secure_getenv.
10227 * inet/ruserpass.c (ruserpass): Likewise.
10228 * malloc/mtrace.c (mtrace): Likewise.
10229 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10230 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10231 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10232 * sysdeps/posix/tempname.c: Likewise. Evaluate
10233 HAVE_SECURE_GETENV.
10234 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10235 __secure_getenv to __libc_secure_getenv.
10236 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10249 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10251 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10252 (struct La_i86_retval): Likewise.
10253 (struct La_x86_64_regs): Likewise.
10254 (struct La_x86_64_retval): Likewise.
10255 (struct La_x32_regs): Likewise.
10256 (struct La_x32_retval): Likewise.
10257 (struct La_ppc32_regs): Likewise.
10258 (struct La_ppc32_retval): Likewise.
10259 (struct La_ppc64_regs): Likewise.
10260 (struct La_ppc64_retval): Likewise.
10261 (struct La_sh_regs): Likewise.
10262 (struct La_sh_retval): Likewise.
10263 (struct La_s390_32_regs): Likewise.
10264 (struct La_s390_32_retval): Likewise.
10265 (struct La_s390_64_regs): Likewise.
10266 (struct La_s390_64_retval): Likewise.
10267 (struct La_sparc32_regs): Likewise.
10268 (struct La_sparc32_retval): Likewise.
10269 (struct La_sparc64_regs): Likewise.
10270 (struct La_sparc64_retval): Likewise.
10271 (struct audit_ifaces): Remove architecture-specific pltenter and
10273 * sysdeps/i386/ldsodefs.h: New file.
10274 * sysdeps/powerpc/ldsodefs.h: Likewise.
10275 * sysdeps/s390/ldsodefs.h: Likewise.
10276 * sysdeps/sh/ldsodefs.h: Likewise.
10277 * sysdeps/sparc/ldsodefs.h: Likewise.
10278 * sysdeps/x86_64/ldsodefs.h: Likewise.
10280 2012-07-25 Marek Polacek <polacek@redhat.com>
10283 * math/libm-test.inc (yn_test): Add another test.
10284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10285 to ERANGE when the result is +-Inf.
10286 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10287 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10288 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10289 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10291 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10293 * conform/data/time.h-data (NULL): Use macro-constant. Require
10295 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10297 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10299 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10301 * configure.in <sysdeps resolving>: Correct printing
10303 * configure: Regenerate.
10305 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10307 * math/w_ilogb.c: Include <limits.h>.
10308 * math/w_ilogbl.c: Likewise.
10310 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10312 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10313 va_copy. Document allowing for unavailable va_copy only as
10314 pre-C99 compatibility.
10315 * manual/string.texi (Copying and Concatenation): Use va_copy
10316 instead of __va_copy in concat example.
10318 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10320 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10321 (__sendto): Use create_address_port. Initialize APORT and deallocate
10324 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10325 with O_NOLINK passed to __file_name_lookup.
10327 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10328 with O_NOLINK passed to __file_name_lookup.
10330 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10331 negative N or less than NGIDS.
10333 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10334 type to string_t. Set ERANGE as errno and return it if NAME is not big
10335 enough. Use memcpy instead of strncpy.
10337 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10339 * elf/Makefile (check-data): Remove.
10340 (localplt.data): New vpath directive.
10341 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10342 instead of $(check-data).
10343 * scripts/data/localplt-generic.data: Move to ...
10344 * sysdeps/generic/localplt.data: ... here.
10345 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10346 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10347 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10350 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10353 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10356 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10359 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10362 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10366 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10368 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10369 PPC32 and PPC64 files.
10370 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10371 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10373 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10375 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10376 __makecontext_ret to ...
10377 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10378 ... here and call exit if uc_link is NULL. New file.
10379 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10380 __makecontext_ret.S.
10381 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10382 __makecontext_ret to ...
10383 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10384 ... here and call exit if uc_link is NULL. New file.
10385 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10386 __makecontext_ret.S.
10388 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10390 * elf/elf.h (R_390_IRELATIVE): New definition.
10391 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10392 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10393 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10394 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10395 (elf_machine_lazy_rel): Likewise.
10396 * sysdeps/s390/dl-irel.h: New file.
10397 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10398 * sysdeps/s390/s390-64/memset.S: New asm code.
10399 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10400 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10401 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10402 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10403 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10404 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10405 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10406 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10407 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10408 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10409 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10410 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10411 * sysdeps/s390/s390-32/memset.S: New asm code.
10412 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10414 2012-07-17 Marek Polacek <polacek@redhat.com>
10417 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10418 * sysdeps/s390/s390-64/configure.in: Likewise.
10419 * sysdeps/sparc/configure.in: Likewise.
10420 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10421 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10422 * sysdeps/i386/configure.in: Likewise.
10423 * sysdeps/x86_64/configure.in: Likewise.
10424 * sysdeps/sh/configure.in: Likewise.
10425 * sysdeps/s390/s390-32/configure: Regenerated.
10426 * sysdeps/s390/s390-64/configure: Likewise.
10427 * sysdeps/x86_64/configure: Likewise.
10428 * sysdeps/sh/configure: Likewise.
10429 * sysdeps/powerpc/powerpc64/configure: Likewise.
10430 * sysdeps/powerpc/powerpc32/configure: Likewise.
10431 * sysdeps/sparc/configure: Likwise.
10432 * sysdeps/i386/configure: Likewise.
10434 * elf/dl-open.c: Comment fixes.
10436 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10438 * Makefile [CXX] (check-data): Remove.
10439 [CXX] (c++-types.data): New vpath directive.
10440 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10441 vpath. Do not allow for C++ type data being missing.
10442 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10443 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10444 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10445 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10446 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10447 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10448 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10451 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10454 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10457 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10460 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10463 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10466 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10469 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10472 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10473 definitions to architecture-specific files.
10474 (TLS_IE): Likewise.
10475 (TLS_LD): Likewise.
10476 (TLS_GD): Likewise.
10477 * sysdeps/i386/tls-macros.h: New file.
10478 * sysdeps/powerpc/tls-macros.h: Likewise.
10479 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10480 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10481 * sysdeps/sh/tls-macros.h: Likewise.
10482 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10483 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10484 * sysdeps/x86_64/tls-macros.h: Likewise.
10486 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10488 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10489 zero value for regular exit case.
10491 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10492 (__start_context): Preserve zero value for regular exit case.
10494 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10495 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10497 * manual/setjmp.texi (setcontext): Clarify normal process
10498 termination when uc_link is the null pointer.
10499 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10502 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10504 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10505 preprocessor. Test for each exception mask separately.
10507 2012-07-16 Andreas Jaeger <aj@suse.de>
10509 * po/ru.po: Update from translation team.
10511 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10513 * conform/data/string.h-data (NULL): Use macro-constant. Require
10515 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10516 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10517 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10518 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10521 2012-07-13 Andreas Jaeger <aj@suse.de>
10523 * po/fr.po: Update from translation team.
10525 2012-07-12 Marek Polacek <polacek@redhat.com>
10528 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10529 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10532 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10535 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10536 Change to 2.4.1 where previously 2.4.0.
10537 * sysdeps/unix/sysv/linux/configure: Regenerated.
10538 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10539 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10541 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10542 (__ASSUME_AT_CLKTCK): Remove.
10543 (__ASSUME_AT_PAGESIZE): Likewise.
10544 (__ASSUME_AT_XID): Likewise.
10545 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10546 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10547 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10549 (HAVE_AUX_PAGESIZE): Likewise.
10550 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10551 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10552 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10554 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10558 the temporary buffer used to invoke __gethostbyname2_r,
10559 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10560 host_data / struct gaih_addrtuple.
10561 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10562 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10563 header file nss/nsswitch.h.
10564 * nss/nsswitch.h (global scope): Add definition of implementation
10565 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10566 resolv/nss_dns/dns-host.c).
10568 2012-07-11 Andreas Jaeger <aj@suse.de>
10570 * po/fr.po: Update from translation team.
10572 * po/sv.po: Update from translation team
10573 * po/fr.po: Another update from translation team.
10575 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10577 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10578 for subnormals or multiply small sinh result by itself.
10579 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10582 2012-07-11 David S. Miller <davem@davemloft.net>
10584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10586 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10589 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10590 (INTERNAL_MARK): Shift it here.
10592 2012-07-10 Marek Polacek <polacek@redhat.com>
10595 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10596 libc_cv_asm_global_directive with .globl.
10597 * configure: Regenerated.
10598 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10600 * sysdeps/i386/configure: Regenerated.
10601 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10603 * sysdeps/x86_64/configure: Regenerated.
10604 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10605 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10606 * elf/tst-unique2mod2.c: Likewise.
10607 * elf/tst-unique2mod1.c: Likewise.
10608 * elf/tst-unique1mod2.c: Likewise.
10609 * elf/tst-unique1mod1.c: Likewise.
10610 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10611 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10612 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10613 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10614 * sysdeps/mach/sysdep.h: Likewise.
10615 * sysdeps/i386/sysdep.h: Likewise.
10616 * sysdeps/i386/i386-mcount.S: Likewise.
10617 * sysdeps/x86_64/_mcount.S: Likewise.
10618 * sysdeps/x86_64/sysdep.h: Likewise.
10619 * sysdeps/sh/_mcount.S: Likewise.
10620 * sysdeps/sh/sysdep.h: Likewise.
10621 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10622 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10623 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10624 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10625 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10626 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10627 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10628 * locale/localeinfo.h: Likewise.
10629 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10630 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10632 2012-07-09 Roland McGrath <roland@hack.frob.com>
10635 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10637 * manual/message.texi (The Uniforum approach): Likewise.
10638 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10639 (glibc iconv Implementation): Likewise.
10641 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10644 * math/s_clog.c (__clog): Avoid scaling a value down where that
10645 could result in underflow.
10646 * math/s_clog10.c (__clog10): Likewise.
10647 * math/s_clog10f.c (__clog10f): Likewise.
10648 * math/s_clog10l.c (__clog10l): Likewise.
10649 * math/s_clogf.c (__clogf): Likewise.
10650 * math/s_clogl.c (__clogl): Likewise.
10651 * math/libm-test.inc (clog_test): Add more tests.
10652 (clog10_test): Likewise.
10653 * sysdeps/i386/fpu/libm-test-ulps: Update.
10654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10656 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10659 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10660 by 7 not 8 to examine high bit of fractional part.
10663 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10664 for call to __mcount_internal.
10665 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10666 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10667 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10669 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10672 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10673 approximation for values within 0x1p-13f of an odd multiple of
10675 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10676 exception. Add more tests.
10677 * sysdeps/i386/fpu/libm-test-ulps: Update.
10680 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10681 inputs and return -1 for them. Do not check for +Inf in case not
10682 reachable for +Inf.
10683 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10684 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10686 and return -1 for them. Do not check for +Inf in case not
10687 reachable for +Inf.
10688 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10690 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10691 and return -1 for them. Do not check for +Inf in case not
10692 reachable for +Inf.
10693 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10694 spurious underflow.
10695 * sysdeps/i386/fpu/libm-test-ulps: Update.
10696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10698 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10700 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10702 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10706 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10707 could result in spurious underflow. Scale down values above
10708 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10709 * math/s_csqrtf.c (__csqrtf): Likewise.
10710 * math/s_csqrtl.c (__csqrtl): Likewise.
10711 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10712 spurious underflow.
10713 * sysdeps/i386/fpu/libm-test-ulps: Update.
10714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10716 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10718 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10720 * catgets/xopen-msg.awk: New file.
10721 * catgets/xopen-msg.sed: Removed.
10723 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10725 * intl/po2test.awk: New file.
10726 * intl/po2test.sed: Removed.
10728 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10731 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10732 or multiply small sinh result by itself.
10733 * math/s_ctanf.c (__ctanf): Likewise.
10734 * math/s_ctanh.c (__ctanh): Likewise.
10735 * math/s_ctanhf.c (__ctanhf): Likewise.
10736 * math/s_ctanhl.c (__ctanhl): Likewise.
10737 * math/s_ctanl.c (__ctanl): Likewise.
10738 * math/libm-test.inc (ctan_test_tonearest): New function.
10739 (ctan_test_towardzero): Likewise.
10740 (ctan_test_downward): Likewise.
10741 (ctan_test_upward): Likewise.
10742 (ctanh_test_tonearest): Likewise.
10743 (ctanh_test_towardzero): Likewise.
10744 (ctanh_test_downward): Likewise.
10745 (ctanh_test_upward): Likewise.
10746 (main): Call these new functions.
10747 * sysdeps/i386/fpu/libm-test-ulps: Update.
10748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10750 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10752 * .gitignore: Delete /ports entry.
10754 2012-07-03 Andreas Jaeger <aj@suse.de>
10756 * po/bg.po: Update from translation team.
10757 * po/cs.po: Likewise.
10758 * po/de.po: Likewise.
10759 * po/hr.po: Likewise.
10760 * po/nl.pl: Likewise.
10761 * po/pl.po: Likewise.
10762 * po/vi.po: Likewise.
10764 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10766 * Makeconfig [!+link] (+link-before-libc): New variable.
10767 [!+link] (+link-after-libc): Likewise.
10768 [!+link] (+link-tests): Likewise.
10769 [!+link] (+link): Define in terms of $(+link-before-libc) and
10770 $(+link-after-libc).
10771 [!+link-static] (+link-static-before-libc): New variable.
10772 [!+link-static] (+link-static-after-libc): Likewise.
10773 [!+link-static] (+link-static-tests): Likewise.
10774 [!+link-static] (+link-static): Define in terms of
10775 $(+link-static-before-libc) and $(+link-static-after-libc).
10776 [build-shared] (link-libc-before-gnulib): New variable.
10777 [build-shared] (link-libc-tests): Likewise.
10778 [build-shared] (link-libc): Define in terms of
10779 $(link-libc-before-gnulib).
10780 [!build-shared] (link-libc-tests): New variable.
10781 (link-libc-static-tests): New variable.
10782 [!gnulib] (gnulib-arch): New variable.
10783 [!gnulib] (gnulib-tests): Likewise.
10784 [!gnulib] (static-gnulib-arch): Likewise.
10785 [!gnulib] (static-gnulib-tests): Likewise.
10786 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10787 Define with "=" instead of ":=".
10788 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10789 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10790 * Rules (binaries-all-notests): New variable.
10791 (binaries-all-tests): Likewise.
10792 (binaries-static-notests): Likewise.
10793 (binaries-static-tests): Likewise.
10794 (binaries-all): Define using $(binaries-all-notests) and
10795 $(binaries-all-tests).
10796 (binaries-static): Define using $(binaries-static-notests) and
10797 $(binaries-static-tests).
10798 (binaries-shared-tests): New variable.
10799 (binaries-shared-notests): Likewise.
10800 (binaries-shared): Remove variable.
10801 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10802 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10803 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10804 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10805 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10806 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10807 * elf/Makefile (sln-modules): New variable.
10808 (extra-objs): Add $(sln-modules:=.o).
10809 (ldconfig-modules): Add static-stubs.
10810 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10811 * elf/static-stubs.c: New file.
10814 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10815 by 7 not 8 to examine high bit of fractional part. Use volatile
10816 variables when splitting into final array of floats if
10817 __FLT_EVAL_METHOD__ != 0.
10818 * math/libm-test.inc (cos_test): Add another test.
10819 (sin_test): Likewise.
10820 * sysdeps/i386/fpu/libm-test-ulps: Update.
10823 * math/libm-test.inc (cosh_test): Add more tests.
10825 * version.h (RELEASE): Set to "development".
10826 (VERSION): Set to "2.16.90".
10828 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10830 * NEWS: Update copyright. Remove last-updated date.
10831 Mention math library bug fixes and timezone data changes.
10832 * README: Mention GNU/Hurd, x32, and HPPA support status.
10834 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10836 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10838 2012-06-27 Andreas Jaeger <aj@suse.de>
10840 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10842 2012-06-25 Andreas Jaeger <aj@suse.de>
10844 * sysdeps/s390/fpu/libm-test-ulps: Update.
10846 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10847 Thomas Schwinge <thomas@codesourcery.com>
10849 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10850 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10851 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10854 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10856 * sysdeps/mach/start.c: Remove file.
10857 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10858 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10859 * sysdeps/sh/init-first.c: Likewise.
10861 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10862 registers for frame unwinding purposes, add CFI directives.
10863 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10864 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10865 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10868 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10869 __fortify_fail returning.
10870 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10872 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10873 sysdeps/sh/____longjmp_chk.S.
10874 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10875 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10876 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10877 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10879 * sysdeps/sh/abort-instr.h: New file.
10880 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10881 process in case exit returns.
10883 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10884 initialize the GOT register before use.
10886 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10887 calculation of ARGC > 4.
10889 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10890 meaningful names to some local labels.
10892 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10893 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10895 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10896 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10897 (__arch_compare_and_exchange_val_16_acq): Likewise.
10898 (__arch_compare_and_exchange_val_32_acq): Likewise.
10899 (atomic_exchange_and_add): Fix gUSA sequence.
10900 (atomic_add): Likewise.
10901 (atomic_add_negative): Likewise.
10902 (atomic_add_zero): Likewise.
10903 (atomic_bit_test_set): Likewise.
10905 2012-06-22 Andreas Schwab <schwab@redhat.com>
10908 * include/link.h (struct link_map): Add l_free_initfini.
10909 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10911 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10912 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10913 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10916 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10918 * configure.in: Use AC_LANG_SOURCE.
10919 * configure: Regenerate.
10921 2012-06-22 Roland McGrath <roland@hack.frob.com>
10923 * configure.in (libc_cv_localstatedir): New substituted variable.
10924 * configure: Regenerated.
10925 * config.make.in (localstatedir): New variable, substituted from
10926 libc_cv_localstatedir.
10927 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10928 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10929 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10930 * sysdeps/gnu/configure: Regenerated.
10932 2012-06-21 Jeff Law <law@redhat.com>
10935 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10936 free. Simplify list management for _LIBC case.
10938 2012-06-21 Joseph Myers <joseph@codesourcery.com>
10941 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10942 Clear sign bit of 64-bit integer value before comparing against
10945 * sysdeps/mach/configure: Regenerated.
10947 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10950 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10952 2012-06-21 Jeff Law <law@redhat.com>
10955 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10956 uint16_t for elements in the "seen" array to avoid char overflows.
10957 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10958 * elf/dl-open.c (dl_open_worker): Likewise.
10960 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10962 * scripts/list-sources.sh: Scan PORTS for translations.
10963 * po/libc.pot: Regenerated.
10965 2012-06-21 Andreas Jaeger <aj@suse.de>
10968 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10970 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10971 * bits/byteswap-16.h (__bswap_16): Likewise.
10972 * bits/byteswap.h (__bswap_constant_16): Likewise.
10974 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10977 * sysdeps/i386/fpu_control.h: Removed.
10978 * sysdeps/x86_64/fpu_control.h: Moved to ...
10979 * sysdeps/x86/fpu_control.h: Here.
10981 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10982 (_FPU_SETCW): Likewise.
10984 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10987 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10988 * sysdeps/x86/fpu/bits/mathinline.h: This.
10989 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10993 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10994 functions if __x86_64__ is defined.
10996 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10998 * string/endian.h: Add !__ASSEMBLER__ condition for including
10999 conversion interfaces.
11001 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11004 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11005 of ABS(x) in calculating zero to negative powers other than odd
11007 * math/libm-test.inc (pow_test): Add more tests.
11009 2012-06-15 Andreas Jaeger <aj@suse.de>
11011 * manual/contrib.texi (Contributors): Update entry of Liubov
11012 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11015 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11017 * string/string.h: Add __wur to GNU version of strerror_r.
11019 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11022 * string/Makefile (tests): Add tst-strtok_r.
11023 * string/tst-strtok_r.c: New file.
11024 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11025 RAX_LP/RDX_LP on SAVE_PTR.
11027 2012-06-14 Roland McGrath <roland@hack.frob.com>
11029 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11031 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11033 * libm_test.inc (csqrt_test): Allow more spurious underflow
11035 (j0_test): Likewise.
11036 (j1_test): Likewise.
11037 (y0_test): Likewise.
11038 (y1_test): Likewise.
11040 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11042 * po/Makefile (libc.pot): Use UTF-8 charset.
11044 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11047 Suppress sign-conversion warning from FD_SET.
11048 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11049 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11050 not unsigned long int.
11051 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11053 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11057 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11058 __extern_always_inline instead of __extern_inline.
11059 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11060 (__signbit): Likewise.
11061 (__signbitl): Support C++ namespace.
11062 (lrintf): New inline function.
11064 (llrintf): Likewise.
11065 (llrint): Likewise.
11075 (floorf): Likewise.
11076 (nearbyint): Likewise.
11077 (nearbyintf): Likewise.
11079 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11081 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11082 non-default versions.
11084 2012-06-11 Roland McGrath <roland@hack.frob.com>
11087 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11089 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11091 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11092 (FE_UPWARD, FE_DOWNWARD): Don't define.
11093 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11094 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11096 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11098 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11099 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11101 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11103 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11105 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11106 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11108 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11111 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11112 * sysdeps/i386/fpu/Implies: New file.
11113 * sysdeps/x86_64/fpu/Implies: Likewise.
11114 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11115 * sysdeps/x86/fpu/bits/fenv.h: This.
11117 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11120 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11123 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11124 character 0xffff that matches the last element of the
11127 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11129 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11132 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11134 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11135 values higher than 25.6283.
11137 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11139 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11140 subnormal exponent extraction and add some __builtin_expect.
11141 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11142 Fix for subnormal mantissa calculation.
11144 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11146 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11147 cpu2 is -1 and errno is not ENOSYS.
11149 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11152 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11153 * sysdeps/x86/bits/string.h: This.
11154 * sysdeps/x86_64/bits/string.h: Removed.
11156 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11157 if not compiling for x86-64, but compiling for >= i486.
11159 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11160 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11162 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11163 New macro from Linux kernel 3.4.0.
11164 (FP_XSTATE_MAGIC2): Likewise.
11165 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11166 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11167 (struct _fpx_sw_bytes): New struct.
11168 (struct _xsave_hdr): Likewise.
11169 (struct _ymmh_state): Likewise.
11170 (struct _xstate): Likewise.
11172 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11173 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11174 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11175 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11176 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11177 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11179 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11180 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11181 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11182 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11183 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11184 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11186 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11189 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11190 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11191 (sysdep_headers): Include sys/platform/ppc.h.
11192 * sysdeps/powerpc/test-gettimebase.c: Test for
11193 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11194 * manual/Makefile (appendices): Include platform.texi.
11195 * manual/contrib.texi (Contributors): Update @node pointers.
11196 * manual/maint.texi (Maintenance): Likewise.
11197 (Platform): New node.
11198 * manual/platform.texi: New file. Document the new features.
11200 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11201 Jakub Jelinek <jakub@redhat.com>
11204 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11205 where __builtin_expect is unavailable.
11207 2012-06-03 David S. Miller <davem@davemloft.net>
11209 * stdlib/longlong.h: Updated from GCC.
11211 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11214 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11215 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11218 (GLIBC_2.16): Likewise.
11220 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11222 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11224 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11227 (default-abi): New variable.
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11229 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11231 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11233 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11235 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11238 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11239 definition. Document in comment.
11241 2012-06-01 David S. Miller <davem@davemloft.net>
11243 * stdlib/longlong.h: Updated from GCC.
11245 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11248 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11249 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11250 sys/debugreg.h sys/io.h here.
11251 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11252 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11254 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11255 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11256 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11257 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11258 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11259 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11261 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11262 Define only if __x86_64__ is defined.
11264 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11267 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11268 Use int64_t for variable i.
11269 * math/libm-test.inc (fmod_test): Add more tests.
11271 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11272 z computation is not scheduled after fetestexcept.
11273 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11274 Use math_force_eval instead of asm to ensure calculation scheduled
11275 before exception test.
11276 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11277 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11279 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11282 computation is not scheduled after fetestexcept.
11284 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11287 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11288 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11290 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11292 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11293 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11295 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11298 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11300 (__WCHAR_MIN): Support __WORDSIZE == 64.
11301 (__WCHAR_MAX): Likewise.
11303 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11304 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11307 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11308 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11311 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11312 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11314 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11315 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11317 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11318 Defined to 1 if __x86_64__ isn't defined.
11319 (_STAT_VER_LINUX_OLD): New.
11320 (st_atime): Remove duplicate.
11321 (st_mtime): Likewise.
11322 (st_ctime): Likewise.
11324 2012-05-31 David S. Miller <davem@davemloft.net>
11326 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11329 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11331 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11335 * elf/dl-reloc.c: Include <_itoa.h>.
11336 (_dl_reloc_bad_type): Remove use of INTUSE.
11337 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11338 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11339 * stdio-common/psiginfo.c (psiginfo): Likewise.
11340 * stdio-common/psignal.c (psignal): Likewise.
11341 * string/strsignal.c (strsignal): Likewise.
11342 * include/signal.h (_sys_siglist): Declare hidden proto.
11343 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11344 INTVARDEF with libc_hidden_data_def.
11345 * stdio-common/itoa-udigits.c: Likewise.
11346 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11347 (_itoa_lower_digits_internal): Remove declaration.
11348 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11349 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11350 (_sys_sigabbrev_internal): Remove aliases.
11351 (_sys_siglist): Define hidden alias.
11353 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11358 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11361 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11362 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11364 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11365 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11366 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11367 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11368 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11369 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11371 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11372 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11373 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11375 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11383 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11384 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11385 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11387 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11388 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11389 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11390 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11391 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11392 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11394 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11395 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11397 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11398 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11402 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11404 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11405 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11407 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11409 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11410 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11411 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11413 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11415 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11417 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11419 * math/math.h (M_El): Use two more decimal places.
11420 (M_LOG2El): Likewise.
11421 (M_LOG10El): Likewise.
11422 (M_LN2l): Likewise.
11423 (M_LN10l): Likewise.
11425 (M_PI_2l): Likewise.
11426 (M_PI_4l): Likewise.
11427 (M_1_PIl): Likewise.
11428 (M_2_PIl): Likewise.
11429 (M_2_SQRTPIl): Likewise.
11430 (M_SQRT2l): Likewise.
11431 (M_SQRT1_2l): Likewise.
11433 2012-05-31 David S. Miller <davem@davemloft.net>
11435 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11436 values between float registers.
11437 * sysdeps/sparc/sparc64/memset.S: Likewise.
11438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11440 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11442 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11443 -D_FORTIFY_SOURCE=1.
11444 (CPPFLAGS-tst-longjmp_chk.c): Define.
11445 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11446 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11447 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11448 CFLAGS-tst-wchar-h.c.
11450 2012-05-31 Marek Polacek <polacek@redhat.com>
11453 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11454 __endmntent_internal): Remove declaration.
11455 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11456 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11457 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11459 2012-05-30 David S. Miller <davem@davemloft.net>
11461 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11462 (___Q_simulate_exceptions): Use real FP ops rather than writing
11464 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11467 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11470 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11471 * sysdeps/x86/bits/xtitypes.h: This.
11473 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11474 * sysdeps/x86/bits/wordsize.h: This.
11476 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11477 * sysdeps/x86/bits/huge_vall.h: This.
11479 * sysdeps/i386/bits/select.h: Removed.
11480 * sysdeps/x86_64/bits/select.h: Renamed to ...
11481 * sysdeps/x86/bits/select.h: This.
11483 * sysdeps/i386/bits/setjmp.h: Removed.
11484 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11485 * sysdeps/x86/bits/setjmp.h: This.
11487 * sysdeps/i386/bits/mathdef.h: Removed.
11488 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11489 * sysdeps/x86/bits/mathdef.h: This.
11491 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11494 * include/sys/socket.h (__connect_internal)
11495 (__libc_sa_len_internal): Remove declaration.
11496 (__connect, __libc_sa_len): Declare hidden_proto.
11497 (SA_LEN): Remove use of INTUSE.
11498 * socket/connect.c: Add libc_hidden_def.
11499 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11500 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11501 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11503 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11504 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11505 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11506 of adding _internal alias.
11508 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11511 * sysdeps/i386/bits/link.h: Removed.
11512 * sysdeps/i386/bits/linkmap.h: Likewise.
11513 * sysdeps/x86_64/bits/link.h: Renamed to ...
11514 * sysdeps/x86/bits/link.h: This.
11515 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11516 * sysdeps/x86/bits/linkmap.h: This.
11518 * sysdeps/i386/bits/endian.h: Removed.
11519 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11520 * sysdeps/x86/bits/endian.h: This.
11522 * sysdeps/i386/bits/byteswap.h: Removed.
11523 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11524 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11525 * sysdeps/x86/bits/byteswap.h: This.
11526 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11527 * sysdeps/x86/bits/byteswap-16.h: This.
11528 * sysdeps/i386/Implies: Add x86.
11529 * sysdeps/x86_64/Implies: Likewise.
11531 2012-05-30 David S. Miller <davem@davemloft.net>
11533 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11534 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11535 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11536 (FP_TRAPPING_EXCEPTIONS): Define.
11537 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11538 (FP_TRAPPING_EXCEPTIONS): Define.
11539 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11540 subnormals only when inexact has been signalled or underflow
11541 exceptions are enabled.
11542 (_FP_PACK_CANONICAL): Likewise.
11544 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11548 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11550 2012-05-30 Richard Henderson <rth@twiddle.net>
11552 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11553 with #ifndef NOT_IN_libc.
11555 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11556 marked to avoid plt entry.
11558 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11561 * Makeconfig (default-abi): New macro.
11562 (abi-includes): Likewise.
11563 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11564 $(abi-$(default-abi)-lib-soname) for soname if defined.
11565 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11567 * Makefile (installed-stubs): Likewise.
11568 * include/stubs-biarch.h: Removed.
11569 * scripts/lib-names.awk: Only handle one library at a time.
11570 * scripts/soversions.awk: Remove WORDSIZE support.
11571 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11573 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11575 (syscall-list-default-condition): Likewise.
11576 (syscall-list-default-condition): Likewise.
11577 (syscall-list-includes): Likewise.
11578 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11579 syscall-list-* with abi-*. Handle undefined abi-variants.
11580 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11581 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11582 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11583 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11584 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11585 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11587 (syscall-list-32-options): Likewise.
11588 (syscall-list-32-condition): Likewise.
11589 (syscall-list-64-options): Likewise.
11590 (syscall-list-64-condition): Likewise.
11591 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11593 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11596 (abi-64-ld-soname): New macro.
11597 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11598 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11601 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11602 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11604 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11606 * sysdeps/unix/sysv/linux/kernel-features.h
11607 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11608 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11609 include <kernel-features.h>.
11610 [!__NR_ftruncate64]: Remove conditional code.
11611 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11612 [__NR_ftruncate64]: Make code unconditional.
11613 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11614 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11615 include <kernel-features.h>.
11616 [!__NR_ftruncate64]: Remove conditional code.
11617 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11618 [__NR_ftruncate64]: Make code unconditional.
11619 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11621 include <kernel-features.h>.
11622 [!__NR_ftruncate64]: Remove conditional code.
11623 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11624 [__NR_ftruncate64]: Make code unconditional.
11625 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11627 include <kernel-features.h>.
11628 [!__NR_ftruncate64]: Remove conditional code.
11629 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11630 [__NR_ftruncate64]: Make code unconditional.
11631 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11633 * configure.in (libc_cv_fpie): Weaken to a compile test using
11634 LIBC_TRY_CC_OPTION.
11635 * configure: Regenerated.
11637 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11652 2012-05-27 David S. Miller <davem@davemloft.net>
11654 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11656 (__Q_simulate_exceptions): Return void. Change to simulate
11657 exceptions by writing into the %fsr.
11658 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11659 (__Qp_handle_exceptions): Likewise.
11661 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11662 __Qp_handle_exceptions.
11663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11664 __Qp_handle_exceptions.
11665 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11666 as unused and give dummy FP_RND_NEAREST initializer.
11667 (FP_INHIBIT_RESULTS): Define.
11668 (___Q_simulate_exceptions): Update declaration.
11669 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11671 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11672 as unused and give dummy FP_RND_NEAREST initializer.
11673 (__Qp_handle_exceptions): Update declaration.
11674 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11677 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11679 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11680 the temporary FPU control word.
11681 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11682 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11683 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11684 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11685 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11686 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11687 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11688 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11689 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11690 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11691 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11693 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11695 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11698 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11700 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11701 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11702 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11703 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11705 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11706 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11709 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11711 * po/h.po: Update from translation team.
11713 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11715 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11717 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11718 handling of denormals.
11719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11720 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11721 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11722 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11728 2012-05-26 Marek Polacek <polacek@redhat.com>
11731 * math/libm-test.inc (fma_test): Don't always expect underflow
11734 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11737 * elf/tst-execstack.c: Include stackinfo.h.
11738 (do_test): Adjust test case to ensure that pthread_getattr_np
11739 behaviour remains the same after marking stack executable.
11741 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11743 * sysdeps/unix/sysv/linux/kernel-features.h
11744 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11745 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11747 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11748 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11749 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11751 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11752 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11754 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11756 * configure.in: Define the default includes to being none.
11757 * configure: Regenerated.
11759 2012-05-25 Roland McGrath <roland@hack.frob.com>
11761 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11762 * sysdeps/x86_64/setjmp.S: Likewise.
11763 * sysdeps/i386/bsd-setjmp.S: Likewise.
11764 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11765 * sysdeps/i386/setjmp.S: Likewise.
11766 * sysdeps/i386/__longjmp.S: Likewise.
11767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11768 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11770 * include/stap-probe.h: New file.
11771 * configure.in: Handle --enable-systemtap.
11772 * configure: Regenerated.
11773 * config.h.in (USE_STAP_PROBE): New #undef.
11774 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11775 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11776 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11778 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11781 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11782 to 2.4.0 where earlier.
11783 * sysdeps/unix/sysv/linux/configure: Regenerated.
11784 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11785 <kernel-features.h>.
11786 [__ASSUME_32BITUIDS]: Make code unconditional.
11787 [!__ASSUME_32BITUIDS]: Remove conditional code.
11788 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11789 <kernel-features.h>.
11790 [__ASSUME_32BITUIDS]: Make code unconditional.
11791 [!__ASSUME_32BITUIDS]: Remove conditional code.
11792 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11793 [__ASSUME_32BITUIDS]: Make code unconditional.
11794 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11795 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11796 <kernel-features.h>.
11797 [__ASSUME_32BITUIDS]: Make code unconditional.
11798 [!__ASSUME_32BITUIDS]: Remove conditional code.
11799 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11800 <kernel-features.h>.
11801 [__ASSUME_32BITUIDS]: Make code unconditional.
11802 [!__ASSUME_32BITUIDS]: Remove conditional code.
11803 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11804 <kernel-features.h>.
11805 [__ASSUME_32BITUIDS]: Make code unconditional.
11806 [!__ASSUME_32BITUIDS]: Remove conditional code.
11807 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11808 <kernel-features.h>.
11809 [__ASSUME_32BITUIDS]: Make code unconditional.
11810 [!__ASSUME_32BITUIDS]: Remove conditional code.
11811 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11812 <kernel-features.h>.
11813 [__ASSUME_32BITUIDS]: Make code unconditional.
11814 [!__ASSUME_32BITUIDS]: Remove conditional code.
11815 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11816 <kernel-features.h>.
11817 [__ASSUME_32BITUIDS]: Make code unconditional.
11818 [!__ASSUME_32BITUIDS]: Remove conditional code.
11819 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11820 <kernel-features.h>.
11821 [__ASSUME_32BITUIDS]: Make code unconditional.
11822 [!__ASSUME_32BITUIDS]: Remove conditional code.
11823 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11824 <kernel-features.h>.
11825 [__ASSUME_32BITUIDS]: Make code unconditional.
11826 [!__ASSUME_32BITUIDS]: Remove conditional code.
11827 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11828 <kernel-features.h>.
11829 [__ASSUME_32BITUIDS]: Make code unconditional.
11830 [!__ASSUME_32BITUIDS]: Remove conditional code.
11831 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11832 <kernel-features.h>.
11833 [__ASSUME_32BITUIDS]: Make code unconditional.
11834 [!__ASSUME_32BITUIDS]: Remove conditional code.
11835 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11836 <kernel-features.h>.
11837 [__NR_setresgid] (__setresgid): Do not declare.
11838 [__ASSUME_32BITUIDS]: Make code unconditional.
11839 [!__ASSUME_32BITUIDS]: Remove conditional code.
11840 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11841 <kernel-features.h>.
11842 [__NR_setresuid] (__setresuid): Do not declare.
11843 [__ASSUME_32BITUIDS]: Make code unconditional.
11844 [!__ASSUME_32BITUIDS]: Remove conditional code.
11845 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11846 <kernel-features.h>.
11847 [__ASSUME_32BITUIDS]: Make code unconditional.
11848 [!__ASSUME_32BITUIDS]: Remove conditional code.
11849 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11850 <kernel-features.h>.
11851 [__ASSUME_32BITUIDS]: Make code unconditional.
11852 [!__ASSUME_32BITUIDS]: Remove conditional code.
11853 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11854 <kernel-features.h>.
11855 [__ASSUME_32BITUIDS]: Make code unconditional.
11856 [!__ASSUME_32BITUIDS]: Remove conditional code.
11857 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11858 <kernel-features.h>.
11859 [__ASSUME_32BITUIDS]: Make code unconditional.
11860 [!__ASSUME_32BITUIDS]: Remove conditional code.
11861 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11862 <kernel-features.h>.
11863 [__ASSUME_32BITUIDS]: Make code unconditional.
11864 [!__ASSUME_32BITUIDS]: Remove conditional code.
11865 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11866 <kernel-features.h>.
11867 [__ASSUME_32BITUIDS]: Make code unconditional.
11868 [!__ASSUME_32BITUIDS]: Remove conditional code.
11869 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11870 <kernel-features.h>.
11871 [__ASSUME_32BITUIDS]: Make code unconditional.
11872 [!__ASSUME_32BITUIDS]: Remove conditional code.
11873 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11874 <kernel-features.h>.
11875 [__ASSUME_32BITUIDS]: Make code unconditional.
11876 [!__ASSUME_32BITUIDS]: Remove conditional code.
11877 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11878 <kernel-features.h>.
11879 [__ASSUME_32BITUIDS]: Make code unconditional.
11880 [!__ASSUME_32BITUIDS]: Remove conditional code.
11881 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11882 <kernel-features.h>.
11883 [__ASSUME_32BITUIDS]: Make code unconditional.
11884 [!__ASSUME_32BITUIDS]: Remove conditional code.
11885 * sysdeps/unix/sysv/linux/kernel-features.h
11886 (__ASSUME_SETRESUID_SYSCALL): Remove.
11887 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11888 (__ASSUME_32BITUIDS): Likewise.
11889 (__ASSUME_LDT_WORKS): Likewise.
11890 (__ASSUME_O_DIRECTORY): Likewise.
11891 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11892 architecture but not kernel version.
11893 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11894 (__ASSUME_MMAP2_SYSCALL): Likewise.
11895 (__ASSUME_STAT64_SYSCALL): Likewise.
11896 (__ASSUME_IPC64): Likewise.
11897 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11898 <kernel-features.h>.
11899 [__ASSUME_32BITUIDS]: Make code unconditional.
11900 [!__ASSUME_32BITUIDS]: Remove conditional code.
11901 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11902 <kernel-features.h>.
11903 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11904 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11905 132096]: Remove conditional code.
11906 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11907 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11908 <kernel-features.h>.
11909 [__ASSUME_32BITUIDS]: Make code unconditional.
11910 [!__ASSUME_32BITUIDS]: Remove conditional code.
11911 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11912 <kernel-features.h>.
11913 [__ASSUME_32BITUIDS]: Make code unconditional.
11914 [!__ASSUME_32BITUIDS]: Remove conditional code.
11915 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11916 <kernel-features.h>.
11917 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11919 (__setresgid): Do not declare.
11920 [__ASSUME_32BITUIDS]: Make code unconditional.
11921 [!__ASSUME_32BITUIDS]: Remove conditional code.
11922 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11923 <kernel-features.h>.
11924 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11926 (__setresuid): Do not declare.
11927 [__ASSUME_32BITUIDS]: Make code unconditional.
11928 [!__ASSUME_32BITUIDS]: Remove conditional code.
11929 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11930 <kernel-features.h>.
11931 [__ASSUME_32BITUIDS]: Make code unconditional.
11932 [!__ASSUME_32BITUIDS]: Remove conditional code.
11933 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11934 <kernel-features.h>.
11935 [__ASSUME_32BITUIDS]: Make code unconditional.
11936 [!__ASSUME_32BITUIDS]: Remove conditional code.
11938 2012-05-25 Richard Henderson <rth@twiddle.net>
11940 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11941 dl_hwcap to ifunc resolver.
11942 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11944 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11945 dl_hwcap to ifunc resolver.
11946 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11948 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11951 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11952 for |x| <= 2**-26, not 2**-57.
11953 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11956 2012-05-24 Jeff Law <law@redhat.com>
11958 * stdio-common/Makefile (tests): Add bug25.
11959 * stdio-common/bug25.c: New test.
11961 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11964 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11965 multiple of MALLOC_ALIGNMENT in size.
11966 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11968 2012-05-24 Joseph Myers <joseph@codesourcery.com>
11970 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11972 (FILENAME_MAX): Use macro-int-constant.
11973 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11974 (_IOFBF): Use macro-int-constant.
11975 (_IOLBF): Likewise.
11976 (_IONBF): Likewise.
11977 (SEEK_CUR): Likewise.
11978 (SEEK_END): Likewise.
11979 (SEEK_SET): Likewise.
11980 (TMP_MAX): Likewise.
11981 (EOF): Use macro-int-constant. Require < 0.
11982 (NULL): Use macro-constant. Require == 0.
11983 (stdin): Require type to be FILE *.
11984 (stdout): Likewise.
11985 (stderr): Likewise.
11986 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11987 macro-int-constant.
11988 (EXIT_SUCCESS): Likewise.
11989 (NULL): Use macro-constant. Require == 0.
11990 (RAND_MAX): Use macro-int-constant.
11991 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11992 [C99-based standards] (strtof): Require function.
11993 [C99-based standards] (strtold): Likewise.
11994 [C99-based standards] (strtoll): Likewise.
11995 [C99-based standards] (strtoull): Likewise.
11996 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11997 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11998 [ISO || ISO99 || ISO11] (math.h): Likewise.
11999 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12000 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12003 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12006 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12007 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12008 * intl/dgettext.c (DCGETTEXT): Likewise.
12009 * intl/gettext.c (DCGETTEXT): Likewise.
12010 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12011 * posix/regex_internal.h (gettext): Likewise.
12012 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12013 Remove declaration.
12014 * include/argz.h (__argz_count_internal)
12015 (__argz_stringify_internal): Remove declaration.
12016 (__argz_count, __argz_stringify): Declare hidden proto.
12017 * intl/dcgettext.c: Remove use of INTDEF.
12018 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12019 * string/argz-stringify.c: Likewise.
12020 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12021 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12022 Declare hidden proto.
12023 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12024 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12025 Declare hidden proto.
12026 * include/stdio.h (__asprintf_internal): Don't declare.
12027 (__asprintf): Don't define as macro. Declare hidden proto.
12028 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12029 (__fsetlocking): Declare hidden proto.
12030 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12031 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12033 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12034 (_IO_setlinebuf): Remove use of INTUSE.
12035 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12036 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12037 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12038 Remove declaration.
12039 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12040 (_IO_do_flush): Remove use of INTUSE.
12041 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12042 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12043 (_IO_adjust_column, _IO_least_wmarker)
12044 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12045 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12046 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12047 (_IO_default_doallocate, _IO_wdefault_doallocate)
12048 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12049 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12050 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12051 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12052 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12053 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12054 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12055 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12056 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12057 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12058 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12059 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12060 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12062 (_IO_flush_all_internal, _IO_adjust_column_internal)
12063 (_IO_default_uflow_internal, _IO_default_finish_internal)
12064 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12065 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12066 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12067 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12068 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12069 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12070 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12071 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12072 (_IO_file_close_internal, _IO_file_close_it_internal)
12073 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12074 (_IO_file_init_internal, _IO_file_attach_internal)
12075 (_IO_file_fopen_internal, _IO_file_read_internal)
12076 (_IO_file_sync_internal, _IO_file_seek_internal)
12077 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12078 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12079 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12080 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12081 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12082 (_IO_list_all_internal, _IO_link_in_internal)
12083 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12084 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12085 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12086 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12087 (_IO_do_write_internal, _IO_padn_internal)
12088 (_IO_getline_info_internal, _IO_getline_internal)
12089 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12090 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12091 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12092 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12093 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12094 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12095 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12096 with libc_hidden_ver, remove use of INTUSE.
12097 * libio/genops.c: Likewise.
12098 * libio/freopen.c: Likewise.
12099 * libio/freopen64.c: Likewise.
12100 * libio/iofclose.c: Likewise.
12101 * libio/iofdopen.c: Likewise.
12102 * libio/iofflush.c: Likewise.
12103 * libio/iofflush_u.c: Likewise.
12104 * libio/iofgets.c: Likewise.
12105 * libio/iofgets_u.c: Likewise.
12106 * libio/iofopen.c: Likewise.
12107 * libio/iofopncook.c: Likewise.
12108 * libio/iofread.c: Likewise.
12109 * libio/iofread_u.c: Likewise.
12110 * libio/ioftell.c: Likewise.
12111 * libio/iofwrite.c: Likewise.
12112 * libio/iogetline.c: Likewise.
12113 * libio/iogets.c: Likewise.
12114 * libio/iogetwline.c: Likewise.
12115 * libio/iopadn.c: Likewise.
12116 * libio/iopopen.c: Likewise.
12117 * libio/ioseekoff.c: Likewise.
12118 * libio/ioseekpos.c: Likewise.
12119 * libio/iosetbuffer.c: Likewise.
12120 * libio/iosetvbuf.c: Likewise.
12121 * libio/ioungetc.c: Likewise.
12122 * libio/ioungetwc.c: Likewise.
12123 * libio/iovdprintf.c: Likewise.
12124 * libio/iovsprintf.c: Likewise.
12125 * libio/iovsscanf.c: Likewise.
12126 * libio/memstream.c: Likewise.
12127 * libio/obprintf.c: Likewise.
12128 * libio/oldfileops.c: Likewise.
12129 * libio/oldiofclose.c: Likewise.
12130 * libio/oldiofdopen.c: Likewise.
12131 * libio/oldiofopen.c: Likewise.
12132 * libio/oldiopopen.c: Likewise.
12133 * libio/oldstdfiles.c: Likewise.
12134 * libio/putc.c: Likewise.
12135 * libio/setbuf.c: Likewise.
12136 * libio/setlinebuf.c: Likewise.
12137 * libio/stdfiles.c: Likewise.
12138 * libio/strops.c: Likewise.
12139 * libio/vasprintf.c: Likewise.
12140 * libio/vscanf.c: Likewise.
12141 * libio/vsnprintf.c: Likewise.
12142 * libio/vswprintf.c: Likewise.
12143 * libio/wfiledoalloc.c: Likewise.
12144 * libio/wfileops.c: Likewise.
12145 * libio/wgenops.c: Likewise.
12146 * libio/wmemstream.c: Likewise.
12147 * libio/wstrops.c: Likewise.
12148 * libio/__fpurge.c: Likewise.
12149 * libio/__fsetlocking.c: Likewise.
12150 * assert/assert.c: Likewise.
12151 * debug/fgets_chk.c: Likewise.
12152 * debug/fgets_u_chk.c: Likewise.
12153 * debug/fread_chk.c: Likewise.
12154 * debug/fread_u_chk.c: Likewise.
12155 * debug/gets_chk.c: Likewise.
12156 * debug/obprintf_chk.c: Likewise.
12157 * debug/vasprintf_chk.c: Likewise.
12158 * debug/vdprintf_chk.c: Likewise.
12159 * debug/vsnprintf_chk.c: Likewise.
12160 * debug/vsprintf_chk.c: Likewise.
12161 * malloc/mtrace.c: Likewise.
12162 * misc/error.c: Likewise.
12163 * misc/syslog.c: Likewise.
12164 * stdio-common/asprintf.c: Likewise.
12165 * stdio-common/fxprintf.c: Likewise.
12166 * stdio-common/getw.c: Likewise.
12167 * stdio-common/isoc99_fscanf.c: Likewise.
12168 * stdio-common/isoc99_scanf.c: Likewise.
12169 * stdio-common/isoc99_vfscanf.c: Likewise.
12170 * stdio-common/isoc99_vscanf.c: Likewise.
12171 * stdio-common/isoc99_vsscanf.c: Likewise.
12172 * stdio-common/printf-prs.c: Likewise.
12173 * stdio-common/printf_fp.c: Likewise.
12174 * stdio-common/printf_fphex.c: Likewise.
12175 * stdio-common/printf_size.c: Likewise.
12176 * stdio-common/putw.c: Likewise.
12177 * stdio-common/scanf.c: Likewise.
12178 * stdio-common/sprintf.c: Likewise.
12179 * stdio-common/tmpfile.c: Likewise.
12180 * stdio-common/vfprintf.c: Likewise.
12181 * stdio-common/vfscanf.c: Likewise.
12182 * stdlib/strfmon_l.c: Likewise.
12183 * sunrpc/openchild.c: Likewise.
12184 * sunrpc/xdr_stdio.c: Likewise.
12185 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12186 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12188 2012-05-24 Roland McGrath <roland@hack.frob.com>
12190 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12192 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12193 in the third column, to generate for the shared library an IFUNC
12194 that uses _dl_vdso_vsym.
12195 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12196 * Makeconfig (object-suffixes-noshared): New variable.
12198 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12199 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12200 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12201 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12204 * include/sys/time.h (__gettimeofday): Remove macro.
12205 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12206 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12208 (__gettimeofday): Add libc_hidden_def.
12209 (gettimeofday): Add libc_hidden_weak.
12210 * sysdeps/mach/gettimeofday.c: Likewise.
12211 * sysdeps/posix/gettimeofday.c: Likewise.
12212 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12213 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12214 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12215 (__gettimeofday_internal): Remove strong_alias.
12216 (__gettimeofday): Add libc_hidden_def.
12217 (gettimeofday): Add libc_hidden_weak.
12218 * sysdeps/unix/syscalls.list (gettimeofday):
12219 Remove __gettimeofday_internal alias.
12221 2012-05-24 Daniel Jacobowitz <drow@false.org>
12222 H.J. Lu <hongjiu.lu@intel.com>
12225 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12226 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12227 (largebin_index_32_big): New.
12228 (largebin_index): Use it for 16-byte alignment.
12229 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12230 correction with front_misalign.
12232 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12260 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12261 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12263 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12267 * math/libm-test.inc (exp_test): Add test from bug 14036.
12268 (pow_test): Add test from bug 10846.
12270 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12272 (special_function): Do not include flags in test name.
12273 (parse_args): Likewise.
12274 * sysdeps/i386/fpu/libm-test-ulps: Update.
12275 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12276 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12277 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12280 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12282 * math/libm-test.inc ("Philosophy"): Update comment about
12284 (UNDERFLOW_EXCEPTION): New macro.
12285 (UNDERFLOW_EXCEPTION_OK): Likewise.
12286 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12287 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12288 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12289 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12290 (INVALID_EXCEPTION_OK): Update value.
12291 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12292 (OVERFLOW_EXCEPTION_OK): Likewise.
12293 (IGNORE_ZERO_INF_SIGN): Likewise.
12294 (test_exceptions): Handle underflow exceptions.
12295 (acos_test): Update for underflow exception expectations.
12296 (cexp_test): Likewise.
12297 (clog_test): Likewise.
12298 (clog10_test): Likewise.
12299 (csqrt_test): Likewise.
12300 (ctan_test): Likewise.
12301 (ctanh_test): Likewise.
12302 (exp_test): Likewise.
12303 (exp10_test): Likewise.
12304 (exp2_test): Likewise.
12305 (expm1_test): Likewise.
12306 (fma_test): Likewise.
12307 (j0_test): Likewise.
12308 (jn_test): Likewise.
12309 (nexttoward_test): Likewise.
12310 (pow_test): Likewise.
12311 (scalbn_test): Likewise.
12312 (scalbln_test): Likewise.
12313 (tan_test): Likewise.
12314 (y1_test): Likewise.
12315 * sysdeps/i386/fpu/libm-test-ulps: Update.
12316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12318 2012-05-23 David S. Miller <davem@davemloft.net>
12320 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12321 (__libc_sigaction): Remove unused local variables.
12323 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12325 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12327 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12329 mktime: avoid signed integer overflow
12330 * time/mktime.c (__mktime_internal): Do not mishandle the case
12331 where diff == INT_MIN.
12333 mktime: simplify computation of average
12334 * time/mktime.c (ranged_convert): Use new time_t_avg function
12335 instead of rolling our own (probably-slower) code.
12337 mktime: do not assume signed right shift propagates sign bit
12338 * time/mktime.c (isdst_differ): New static function.
12339 (__mktime_internal): No need to normalize tm_isdst now.
12340 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12343 mktime: merge another wrapv change from gnulib
12344 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12345 from some compilers.
12347 mktime: remove incorrect attempt at unusual arithmetics
12348 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12349 The code didn't really work on such machines anyway.
12350 (TYPE_MINIMUM): Assume two's complement.
12351 (twos_complement_arithmetic): Verify that long_int and time_t
12352 are two's complement (or unsigned, in the latter case).
12354 mktime: check signed shifts on long_int and time_t, too
12355 * time/mktime.c (SHR): Check that shifts work as desired
12356 on the types long_int and time_t too, as SHR is used on
12359 mktime: do not assume 'long' is wide enough
12360 * time/mktime.c (verify): Move decl up.
12361 (long_int): New type.
12362 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12363 to remove assumption in the code that 'long' is wide enough to
12364 store year values. This assumption is not true on x32 and on
12365 some non-glibc platforms.
12367 mktime: merge wrapv change from gnulib
12368 * time/mktime.c (WRAPV): New macro.
12369 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12370 (guess_time_tm, __mktime_internal): Do not assume that signed
12371 integer overflow wraps around; modern compilers generate code
12372 where this assumption is no longer valid.
12374 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12376 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12377 Replace "jmp L(pseudo_end)" with "ret".
12378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12381 2012-05-23 Andreas Jaeger <aj@suse.de>
12383 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12384 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12386 2012-05-23 Andreas Jaeger <aj@suse.de>
12387 Maximilian Attems <max@stro.at>
12389 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12392 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12395 code so that pseudo_end is just ret and the stack pointer is
12396 correct also for static library in error case.
12398 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12400 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12401 move to syscalls.list.
12402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12407 * manual/install.texi (Running make install): Do not mention Linux
12408 kernel version for which pt_chown is not needed.
12409 (Linux): Do not mention problems with nscd with 2.0 kernels.
12410 * INSTALL: Regenerated.
12412 2012-05-23 Andreas Jaeger <aj@suse.de>
12414 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12415 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12417 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12419 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12421 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12423 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12425 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12426 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12427 * sysdeps/unix/sysv/linux/bits/in.h
12428 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12430 2012-05-22 Roland McGrath <roland@hack.frob.com>
12432 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12433 (PREPARE_VERSION): Just use assert instead, it will be elided
12434 under [NDEBUG] anyway.
12436 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12438 * sysdeps/unix/sysv/linux/Makefile: Include
12439 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12440 (sysdep_routines): Remove sysctl.
12441 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12442 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12443 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12444 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12445 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12447 2012-05-22 Andreas Jaeger <aj@suse.de>
12449 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12450 that pseudo_end is just ret and the stack pointer is correct also
12451 for static library in error case.
12453 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12456 * nss/nsswitch.c (defconfig_entries): New variable.
12457 (__nss_database_lookup): Don't leak defconfig entries.
12458 (nss_parse_service_list): Don't leak on error paths.
12459 (free_database_entries): New function.
12460 (free_defconfig): New function.
12461 (free_mem): Move common code to free_database_entries.
12463 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12465 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12467 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12469 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12470 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12473 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12474 (INTERNAL_SYSCALL_TYPES): Likewise.
12475 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12476 (LOAD_REGS_TYPES_[1-6]): Likewise.
12477 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12478 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12480 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12482 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12483 copysignl for GLIBC_2_0.
12484 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12485 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12486 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12487 logbl for GLIBC_2_0.
12488 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12489 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12491 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12493 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12494 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12496 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12499 * time/mktime.c: Update copyright years.
12501 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12503 mktime: merge comment-quoting-style change from gnulib
12504 * time/mktime.c: Quote 'like this' in comments.
12505 The GNU coding standards suggest that we no longer quote `like this',
12506 as "`" and "'" are typically rendered asymmetrically nowadays.
12507 The typical gnulib style is to quote 'like this' when quoting
12508 code, and "like this" when quoting English.
12510 * time/mktime.c (compile-command): Add "-I.".
12512 mktime: merge mktime-internal.h change from gnulib
12513 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12515 mktime: merge time_r change from gnulib
12516 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12518 mktime: merge DEBUG change from gnulib
12519 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12520 case system <time.h> has a #define.
12522 mktime: merge <sys/types.h> change from gnulib
12523 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12524 since <time.t> is now guaranteed to define time_t.
12526 mktime: merge HAVE_CONFIG_H change from gnulib
12527 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12529 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12534 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12536 (struct rusage): Use anonymous union to pad each field to
12539 2012-05-21 David S. Miller <davem@davemloft.net>
12541 * Makefules (o-iterator): Remove .s cases.
12542 (compile-command.s): Delete.
12543 (COMPILE.s): Delete.
12544 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12546 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12548 * configure.in (libc_cv_predef_stack_protector): Only consider
12549 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12550 * configure: Regenerated.
12552 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12555 New macro. Use R*LP on int and pointer.
12556 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12557 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12558 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12559 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12561 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12562 [__WORDSIZE_TIME64_COMPAT32] instead of
12563 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12564 (struct utmp): Likewise.
12565 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12566 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12568 (__WORDSIZE_TIME64_COMPAT32): This.
12569 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12570 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12571 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12572 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12573 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12574 (__WORDSIZE_TIME64_COMPAT32): New macro.
12576 2012-05-21 Andreas Jaeger <aj@suse.de>
12578 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12579 only if [SHARED]. Add prototype for __wcschr_ia32.
12581 2012-05-21 Roland McGrath <roland@hack.frob.com>
12583 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12584 of %rbp unmolested in the jmp_buf while mangling the low bits.
12585 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12586 unmolested high bits of %rbp while demangling the low bits.
12587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12589 2012-05-21 Andreas Jaeger <aj@suse.de>
12591 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12592 * sunrpc/svc_simple.c: Use it for registerrpc.
12593 * sunrpc/xcrypt.c: Use it for passwd2des.
12595 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12597 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12599 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12600 Don't define if [__SYSCALL_WORDSIZE != 32].
12601 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12604 2012-05-21 Bruno Haible <bruno@clisp.org>
12605 Andreas Jaeger <aj@suse.de>
12607 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12608 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12609 inptr and inend for must_buffer_ch.
12610 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12611 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12612 * stdio-common/Makefile (tests): Remove bug15.
12613 (bug15-ENV): Remove macro.
12614 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12617 2012-05-19 Andreas Jaeger <aj@suse.de>
12618 Roland McGrath <roland@hack.frob.com>
12620 * manual/contrib.texi: Completely rewritten. It contains now an
12621 alphabetical list of contributors and their contributions.
12623 2012-05-21 Richard Henderson <rth@twiddle.net>
12625 * misc/getauxval.c (__getauxval): Use unsigned long int.
12626 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12627 (getauxval): Use unsigned long int.
12629 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12631 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12633 2012-05-21 Roland McGrath <roland@hack.frob.com>
12635 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12636 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12637 __alignof__ (long double).
12639 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12643 2012-05-20 Richard Henderson <rth@twiddle.net>
12645 * misc/getauxval.c: New file.
12646 * misc/sys/auxv.h: New file.
12647 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12648 (routines): Add getauxval.
12649 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12650 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12651 * elf/dl-sysdep.c (_dl_auxv): Remove.
12652 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12653 * elf/dl-support.c (_dl_auxv): New variable.
12654 (_dl_aux_init): Initialize it.
12655 * manual/startup.texi (Auxiliary Vector): New node.
12656 * sysdeps/generic/bits/hwcap.h: New file.
12657 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12658 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12659 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12660 * sysdeps/sparc/sysdep.h: ... here. Include it.
12661 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12662 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12668 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12674 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12678 2012-05-19 David S. Miller <davem@davemloft.net>
12680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12682 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12685 * math/s_ccosh.c: Include <float.h>
12686 (__ccosh): Avoid internal overflow calculating sinh and cosh
12687 values before multiplying by sin and cos values.
12688 * math/s_ccoshf.c: Likewise.
12689 * math/s_ccoshl.c: Likewise.
12690 * math/s_csin.c: Likewise.
12691 * math/s_csinf.c: Likewise.
12692 * math/s_csinl.c: Likewise.
12693 * math/s_csinh.c: Likewise.
12694 * math/s_csinhf.c: Likewise.
12695 * math/s_csinhl.c: Likewise.
12696 * math/libm-test.inc (ccos_test): Add more tests.
12697 (ccosh_test): Likewise.
12698 (csin_test): Likewise.
12699 (csinh_test): Likewise.
12700 * sysdeps/i386/fpu/libm-test-ulps: Update.
12701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12703 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12705 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12706 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12708 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12710 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12712 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12713 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12714 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12715 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12716 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12717 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12718 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12719 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12720 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12721 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12722 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12723 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12724 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12725 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12726 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12727 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12728 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12729 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12730 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12731 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12732 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12733 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12734 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12735 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12736 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12737 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12738 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12739 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12740 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12741 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12742 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12744 2012-05-18 Andreas Jaeger <aj@suse.de>
12746 * csu/.gitignore: Delete.
12748 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12750 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12751 (timex): Use __syscall_slong_t.
12753 2012-05-18 Andreas Jaeger <aj@suse.de>
12754 Carlos O'Donell <carlos_odonell@mentor.com>
12756 * manual/install.texi (Configuring and compiling): Update
12757 description about files modified in the source directory.
12758 * INSTALL: Regenerated.
12760 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12762 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12763 value. Use "or" to set return value to -1.
12764 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12765 negate return value.
12767 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12769 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12770 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12771 failure if the compiler has Graphite support disabled.
12772 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12774 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12775 CFLAGS-memmove.c): Likewise.
12776 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12779 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12781 * sysdeps/x86_64/x32/_itoa.h: New file.
12783 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12784 getdents system call only if kernel and user dirents have the
12785 same d_ino and d_off.
12787 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12788 LLONG_MAX != LONG_MAX.
12789 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12790 (_fitoa_word): Likewise.
12792 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12794 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12795 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12796 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12798 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12799 include <bits/wordsize.h>. Check __x86_64__ instead of
12801 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12802 if __x86_64__ is defined. Use anonymous union on fpstate.
12804 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12807 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12809 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12810 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12811 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12812 Refer to _rtld_local_ro instead of _rtld_global_ro.
12813 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12815 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12817 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12819 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12820 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12821 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12823 * sysdeps/powerpc/powerpc32/dl-machine.c
12824 (__elf_machine_runtime_setup) [PROF]: Don't reference
12827 2012-05-18 Andreas Jaeger <aj@suse.de>
12829 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12830 function only available for GCCs before 3.4 since GCC 3.4
12831 introduced a builtin.
12833 (llrintf): Likewise.
12834 (llrint): Likewise.
12841 (nearbyint): Likewise.
12842 (nearbyintf): Likewise.
12846 (floorf): Likewise.
12848 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12850 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12851 on both fields and cast pointer to __syscall_ulong_t.
12853 * bits/types.h (__fsword_t): New type.
12854 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12855 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12857 (__FSWORD_T_TYPE): Likewise.
12858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12859 (__FSWORD_T_TYPE): Likewise.
12860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12861 (__FSWORD_T_TYPE): Likewise.
12862 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12863 (__FSWORD_T_TYPE): Likewise.
12864 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12865 __SWORD_TYPE with __fsword_t.
12866 (statfs64): Likewise.
12868 2012-05-17 David S. Miller <davem@davemloft.net>
12870 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12872 2012-05-17 Andreas Jaeger <aj@suse.de>
12874 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12877 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12879 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12881 2012-05-17 Andreas Jaeger <aj@suse.de>
12883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12886 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12888 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12890 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12892 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12893 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12895 2012-05-17 Andreas Jaeger <aj@suse.de>
12896 Carlos O'Donell <carlos_odonell@mentor.com>
12899 * sysdeps/x86_64/multiarch/init-arch.h
12900 (bit_YMM_Usable): Rename to...
12901 (bit_AVX_Usable): ... this.
12902 (bit_FMA4_Usable): New macro.
12903 (bit_XMM_state): New macro.
12904 (bit_YMM_state): New macro.
12905 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12906 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12907 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12908 (CPUID_OSXSAVE): New macro.
12909 (CPUID_AVX): New macro.
12910 (CPUID_FMA4): New macro.
12911 (index_YMM_Usable): Rename to...
12912 (index_AVX_Usable): ... this.
12913 (HAS_AVX): Use HAS_ARCH_FEATURE.
12914 (HAS_FMA4): Likewise.
12915 (HAS_YMM_USABLE): Remove.
12916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12917 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12919 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12920 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12921 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12922 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12923 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12925 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12927 * math/libm-test.c: Support platforms without multiple rounding modes.
12928 * math/bug-nextafter.c: Support platforms without FP exceptions.
12929 * math/bug-nexttoward.c: Likewise.
12930 * math/test-fenv.c: Likewise.
12931 * math/test-misc.c: Likewise.
12932 * stdlib/bug-getcontext.c: Likewise.
12934 2012-05-17 Andreas Jaeger <aj@suse.de>
12936 * manual/examples/search.c (critter_cmp): Change signature to
12938 * manual/string.texi (Collation Functions): Likewise.
12940 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12942 * bits/types.h: Fold copyright years.
12943 * bits/typesizes.h: Likewise.
12944 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12948 * time/time.h: Likewise.
12950 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12953 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12954 in instead of returning them. Return void.
12955 (__libc_mallinfo): Accumulate over all arenas.
12956 (__malloc_stats): Adjust for change in int_mallinfo interface.
12958 2012-05-16 Roland McGrath <roland@hack.frob.com>
12961 * configure.in (NM): Add AC_CHECK_TOOL for it.
12962 (libc_extra_cflags): New substituted variable.
12963 Check for -fstack-protector being used implicitly.
12964 * configure: Regenerated.
12965 * config.make.in (config-extra-cflags): New variable,
12966 gets @libc_extra_cflags@.
12967 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12970 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12971 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12972 * configure: Regenerated.
12973 * config.make.in (CPPUNDEFS): New substituted variable.
12974 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12975 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12976 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12978 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12980 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12981 (mq_attr): Use __syscall_slong_t.
12983 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12985 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12986 Check __x86_64__ instead of __WORDSIZE.
12987 (_STAT_VER_LINUX): Likewise.
12988 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12989 __syscall_ulong_t and __syscall_slong_t.
12990 (stat64): Likewise.
12992 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12994 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12996 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12998 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13000 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13002 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13005 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13006 include <bits/wordsize.h>. Check __x86_64__ instead of
13008 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13010 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13012 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13013 include <bits/wordsize.h>. Check __x86_64__ instead of
13015 (user_regs_struct): Use "__extension__ unsigned long long"
13016 instead of "unsigned long" if __x86_64__ is defined.
13017 (user): Likewise. Pad after pointer field if __ILP32__ is
13020 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13022 * configure.in (makeinfo): Require version 4.5 or later. Allow
13024 * configure: Regenerated.
13025 * manual/install.texi (texinfo): Increase version requirement to
13027 * INSTALL: Regenerated.
13029 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13031 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13033 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13035 * sysdeps/x86_64/x32/ffs.c: New file.
13037 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13039 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13040 defined. Use __syscall_ulong_t.
13041 (shminfo): Use __syscall_ulong_t.
13042 (shm_info): Likewise.
13044 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13047 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13049 (msgqnum_t): Use __syscall_ulong_t.
13050 (msglen_t): Likewise.
13051 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13054 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13055 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13057 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13059 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13060 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13062 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13065 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13066 include <bits/wordsize.h>. Check __x86_64__ instead of
13069 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13070 "unsigned long long int" if __x86_64__ is defined.
13071 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13073 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13074 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13075 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13077 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13079 (GET_PC): Cast to uintptr_t first.
13080 (GET_FRAME): Likewise.
13081 (GET_STACK): Likewise.
13083 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13084 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13085 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13086 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13087 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13088 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13089 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13090 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13091 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13092 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13093 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13094 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13095 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13096 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13097 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13098 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13099 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13100 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13101 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13102 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13103 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13104 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13105 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13106 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13107 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13108 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13109 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13110 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13111 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13113 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13115 * Makerules (+depfiles): Also collect depfiles from .oS in
13117 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13118 .oS, $(libnldbl-routines)).
13120 * Makerules (native-compile-mkdep-flags): Define.
13121 * sunrpc/Makefile (extra-objs): Add $(addprefix
13122 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13123 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13124 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13125 calling $(make-target-directory).
13127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13129 * bits/types.h (__snseconds_t): Removed.
13130 * time/time.h (struct timespec): Replace __snseconds_t with
13132 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13133 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13136 (__SNSECONDS_T_TYPE): Likewise.
13137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13138 (__SNSECONDS_T_TYPE): Likewise.
13139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13140 (__SNSECONDS_T_TYPE): Likewise.
13142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13144 * sysdeps/mach/hurd/bits/typesizes.h
13145 (__SYSCALL_SLONG_TYPE): New macro.
13146 (__SYSCALL_ULONG_TYPE): Likewise.
13148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13150 * bits/types.h (__syscall_slong_t): New type.
13151 (__syscall_ulong_t): Likewise.
13153 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13154 (__SYSCALL_ULONG_TYPE): Likewise.
13155 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13156 (__SYSCALL_SLONG_TYPE): Likewise.
13157 (__SYSCALL_ULONG_TYPE): Likewise.
13158 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13159 (__SYSCALL_SLONG_TYPE): Likewise.
13160 (__SYSCALL_ULONG_TYPE): Likewise.
13161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13162 (__SYSCALL_SLONG_TYPE): Likewise.
13163 (__SYSCALL_ULONG_TYPE): Likewise.
13165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13167 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13168 Add sigaltstack-offsets.sym.
13169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13170 <sigaltstack-offsets.h>.
13171 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13172 longjmp_msg pointer.
13173 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13174 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13176 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13178 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13180 * elf/stackguard-macros.h: Remove file.
13181 * sysdeps/generic/stackguard-macros.h: New file.
13182 * sysdeps/i386/stackguard-macros.h: Likewise.
13183 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13184 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13185 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13186 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13187 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13188 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13189 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13190 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13191 <elf/stackguard-macros.h>.
13194 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13195 __aligned__ in attribute.
13196 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13197 (gregset_t): Likewise.
13199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13201 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13202 * sysdeps/x86_64/64/Implies-after: Here. New file.
13203 * sysdeps/x86_64/x32/Implies-after: New file.
13205 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13207 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13208 and access return value for _dl_profile_fixup. Use R10_LP to
13211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13213 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13217 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13218 * sysdeps/x86_64/x32/sysdep.h: New file.
13220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13222 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13223 * sysdeps/x86_64/setjmp.S: Likewise.
13225 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13227 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13228 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13229 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13230 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13231 remove unused global constant.
13233 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13235 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13236 include of <not-cancel.h>.
13238 2012-05-15 Roland McGrath <roland@hack.frob.com>
13240 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13242 2012-05-15 Jeff Law <law@redhat.com>
13243 Andreas Jaeger <aj@suse.de>
13246 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13248 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13249 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13250 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13251 code changing __hst_map_handle.map.
13253 2012-05-15 Roland McGrath <roland@hack.frob.com>
13255 * configure.in (sysnames): Look for Implies-before and Implies-after
13257 * configure: Regenerated.
13259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13261 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13262 8-byte data alignment with LP_SIZE alignment.
13264 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13266 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13271 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13275 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13276 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13279 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13283 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13284 (stackinfo_sub_sp): Likewise.
13286 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13288 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13293 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13303 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13307 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13308 into R11_LP and load __x86_64_shared_cache_size_half into
13311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13313 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13316 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13325 powerpc32/power7/fpu/s_logb.c via #include.
13326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13327 powerpc32/power7/fpu/s_logbf.c via #include.
13328 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13329 powerpc32/power7/fpu/s_logbl.c via #include.
13331 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13333 * README.libm: Remove file.
13335 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13337 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13338 count for x32. Use R*_LP and omit operand-size suffix.
13340 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13342 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13343 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13344 * sysdeps/x86_64/x32/shlib-versions: New file.
13346 2012-05-14 Roland McGrath <roland@hack.frob.com>
13348 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13349 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13350 Use _dl_fatal_printf instead.
13352 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13354 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13355 set if not set by the user. Do not allow for being unset.
13356 * sysdeps/unix/sysv/linux/configure: Regenerated.
13358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13360 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13361 the `q' suffix from lea and replace .quad with ASM_ADDR.
13363 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13366 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13368 (PTR_DEMANGLE): Likewise.
13370 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13372 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13374 (ASM_ADDR): Likewise.
13375 (RAX_LP): Likewise.
13376 (RBP_LP): Likewise.
13377 (RBX_LP): Likewise.
13378 (RCX_LP): Likewise.
13379 (RDI_LP): Likewise.
13380 (RSI_LP): Likewise.
13381 (RSP_LP): Likewise.
13384 (R10_LP): Likewise.
13385 (R10_LP): Likewise.
13386 (R11_LP): Likewise.
13387 (R12_LP): Likewise.
13388 (R13_LP): Likewise.
13389 (R14_LP): Likewise.
13390 (R15_LP): Likewise.
13392 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13394 * sysdeps/x86_64/x32/dl-machine.h: New file.
13396 2012-05-14 Andreas Jaeger <aj@suse.de>
13398 * manual/Makefile (subdir): Remove export of subdir.
13399 (all): Remove target.
13400 (.PHONY): Remove all from list.
13401 (mkinstalldirs): Remove.
13402 (.PHONY): Remove installdirs from list.
13403 ($(inst_infodir)/libc.info): Use make-target-directory.
13404 (installdirs): Remove.
13405 (subdir_%): Remove.
13406 (glibc-targets): Remove.
13409 ($(objpfx)stubs ../po/manual.pot): Remove.
13410 ($(objpfx)stamp%): Remove.
13411 (make-target-directory): Remove.
13412 (subdir_install): Remove.
13413 (routines): Remove.
13420 * manual/.gitignore: Remove, it's not needed anymore.
13421 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13423 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13425 (texis): Renamed to $(objpfx)texis.
13426 (texis-path): New, contains path to generated files.
13427 (chapters.%): Use texis-path for complete path, add extra argument
13429 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13430 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13431 (summary,texi, stamp-summary): Use complete path of
13432 files. Generate files in build dir.
13433 (dir-add.texi): Build in build dir.
13434 (libm-err.texi,stamp-libm-err): Likewise.
13435 (version.texi, stamp-version): Likewise.
13436 (.%c.texi): Likewise.
13437 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13438 (mostlyclean): Remove target.
13439 (realclean): Remove target.
13440 (generated): Add new variable with contents from mostlyclean and
13441 realclean, remove entries duplicated in common-mostlyclean, add
13442 stamp-libm-err and stamp-version.
13443 (generated-dirs): Add libc directory.
13444 ($(inst_infodir)/libc.info): Install files from build dir.
13446 * manual/install.texi (Configuring and compiling): Adjust since
13447 the info files are not part of the tar ball anymore.
13449 2012-05-14 Andreas Jaeger <aj@suse.de>
13451 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13454 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13457 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13458 to 2.2.0 where earlier.
13459 * sysdeps/unix/sysv/linux/configure: Regenerated.
13460 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13461 Remove conditional code.
13462 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13463 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13464 Remove conditional code.
13465 [!__NR_lchown]: Likewise.
13466 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13467 [__NR_lchown]: Likewise.
13468 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13469 comment referencing __ASSUME_LCHOWN_SYSCALL.
13470 * sysdeps/unix/sysv/linux/i386/sigaction.c
13471 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13472 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13473 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13474 Remove conditional code.
13475 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13476 (__protocol_available): Remove #if 0 code.
13477 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13479 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13480 * sysdeps/unix/sysv/linux/kernel-features.h
13481 (__ASSUME_GETCWD_SYSCALL): Don't define.
13482 (__ASSUME_REALTIME_SIGNALS): Likewise.
13483 (__ASSUME_PREAD_SYSCALL): Likewise.
13484 (__ASSUME_PWRITE_SYSCALL): Likewise.
13485 (__ASSUME_POLL_SYSCALL): Likewise.
13486 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13487 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13489 (__ASSUME_SIOCGIFNAME): Don't define.
13490 (__ASSUME_MSG_NOSIGNAL): Likewise.
13491 (__ASSUME_SENDFILE): Define unconditionally.
13492 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13493 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13495 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13496 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13497 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13498 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13499 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13500 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13501 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13503 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13506 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13509 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13510 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13512 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13513 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13515 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13518 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13521 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13524 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13526 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13527 Remove conditional code.
13528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13529 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13530 Remove conditional code.
13531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13532 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13533 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13534 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13535 Remove conditional code.
13536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13537 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13538 Remove conditional code.
13539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13540 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13541 Remove conditional code.
13542 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13543 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13544 Remove conditional code.
13545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13546 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13547 Remove conditional code.
13548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13549 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13550 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13552 * sysdeps/unix/sysv/linux/sigaction.c
13553 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13554 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13555 * sysdeps/unix/sysv/linux/sigpending.c
13556 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13557 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13558 * sysdeps/unix/sysv/linux/sigprocmask.c
13559 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13560 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13561 * sysdeps/unix/sysv/linux/sigsuspend.c
13562 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13563 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13564 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13565 (__libc_missing_rt_sigs): Remove.
13566 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13567 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13568 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13569 Remove conditional code.
13570 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13571 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13573 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13574 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13575 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13576 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13578 2012-05-14 Andreas Jaeger <aj@suse.de>
13580 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13581 it's not used in glibc.
13582 (__coshm1): Likewise.
13583 (__acosh1p): Likewise.
13586 * manual/string.texi (Copying and Concatenation): Add missing
13587 variable in concat example.
13588 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13590 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13593 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13594 __builtin_clzl with __builtin_clzll.
13596 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13599 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13602 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13604 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13605 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13606 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13607 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13609 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13611 * NEWS: Update ia64 info.
13613 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13615 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13618 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13620 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13621 * sysdeps/unix/syscalls.list (dup3): Likewise.
13622 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13623 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13625 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13627 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13628 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13630 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13632 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13634 (TLS_IE): Use mov/add instead of movq/addq to load thread
13636 (TLS_GD_PREFIX): New.
13639 2012-05-11 David S. Miller <davem@davemloft.net>
13641 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13642 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13643 (_FPU_SETCW): Likewise.
13645 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13647 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13648 is 32-byte aligned.
13650 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13653 * iconvdata/gb18030.c: Update tables.
13654 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13655 characters specially.
13656 (BODY for TO_LOOP): Add encoding of missing ranges.
13658 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13661 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13662 * sysdeps/mach/hurd/dup3.c: Likewise.
13663 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13664 * sysdeps/powerpc/memmove.c:: Likewise.
13666 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13669 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13671 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13673 * elf/elf.h (R_X86_64_RELATIVE64): New.
13674 (R_X86_64_NUM): Updated.
13675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13676 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13677 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13678 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13679 tst-quad1pie tst-quad2pie
13680 (modules-names): Add tst-quadmod1 tst-quadmod2.
13681 ($(objpfx)tst-quad1): New dependency.
13682 ($(objpfx)tst-quad2): Likewise.
13683 ($(objpfx)tst-quad1pie): Likewise.
13684 ($(objpfx)tst-quad2pie): Likewise.
13685 * sysdeps/x86_64/tst-quad1.c: New file.
13686 * sysdeps/x86_64/tst-quad1pie.c: New file.
13687 * sysdeps/x86_64/tst-quad2.c: Likewise.
13688 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13689 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13690 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13691 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13692 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13694 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13696 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13697 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13698 * streams/stropts.h (t_scalar_t): Define type.
13700 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13701 (_PATH_PRESERVE): Set to "/var/lib".
13702 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13704 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13707 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13708 if __dir_mkfile succeeded.
13710 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13711 checking for _hurd_dtablesize. Unlock it right after having
13712 finished _hurd_dtable allocation.
13714 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13716 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13717 * sysdeps/mach/hurd/configure: Regenerated.
13718 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13719 special-casing to...
13720 * sysdeps/gnu/configure.in: ... this new file.
13721 * sysdeps/unix/sysv/linux/configure: Regenerated.
13722 * sysdeps/gnu/configure: New generated file.
13724 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13725 for Linux: use nsec instead of usec, as well as:
13726 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13727 members of type struct timespec.
13728 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13730 (struct stat64): Likewise.
13731 (_STATBUF_ST_NSEC): New macro.
13732 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13734 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13735 __strtoul_internal rather than strtoul.
13737 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13739 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13744 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13745 which preserves existing values.
13746 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13748 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13750 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13751 TIMEOUT values. Return EINVAL for NFDS values either negative or
13752 greater than FD_SETSIZE.
13754 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13756 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13757 allocated, call __vm_protect to finish enabling the existing space, and
13758 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13759 allocate the remainder.
13761 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13763 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13764 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13766 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13768 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13769 sysdeps/mach/hurd/readlink.c.
13771 * posix/tst-sysconf.c (posix_options): Only use
13772 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13773 _POSIX_SYNCHRONIZED_IO when they are defined
13774 * sysdeps/mach/hurd/bits/posix_opt.h:
13775 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13776 (_XOPEN_REALTIME): Undefine macro.
13777 (_XOPEN_REALTIME_THREADS): Undefine macro.
13778 (_XOPEN_SHM): Undefine macro.
13779 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13781 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13783 (_POSIX_ASYNC_IO): Undefine macro.
13784 (_POSIX_PRIORITIZED_IO): Undefine macro.
13785 (_POSIX_SPIN_LOCKS): Define macro to -1.
13787 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13788 SA_NODEFER, SA_RESETHAND.
13789 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13790 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13795 * elf/Makefile (pldd-modules): Define unconditionally.
13797 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13799 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13801 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13803 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13804 Return ENOENT when name is empty.
13805 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13807 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13809 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13811 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13813 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13815 Fix mlock in all cases except non-readable pages.
13816 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13817 instead of VM_PROT_ALL as parameter to __vm_wire function.
13819 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13820 (__mkdir): When path is `/', just fail with EEXIST.
13821 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13823 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13825 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13826 <sys/uio.h> (for writev).
13827 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13828 and <sys/param.h> (for MIN).
13830 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13832 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13833 REQUESTED_TIME. Properly set the remaining time and return EINTR
13836 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13838 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13839 Depend on against $(link-rpcuserlibs).
13841 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13843 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13844 (__libc_stack_end): Do not use attribute_relro.
13845 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13846 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13847 to libthread-provided value.
13848 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13851 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13854 * bits/libc-lock.h (__libc_once_get): New macro.
13855 * sysdeps/mach/bits/libc-lock.h: Likewise.
13856 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13857 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13858 instead of using implementation details.
13860 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13861 * libio/freopen.c: Likewise.
13862 * libio/freopen64.c: Likewise.
13863 * misc/syslog.c: Likewise.
13864 * nscd/connections.c: Likewise.
13865 * nscd/netgroupcache.c: Likewise.
13866 * sysdeps/posix/getcwd.c: Likewise.
13868 2012-05-10 Roland McGrath <roland@hack.frob.com>
13870 * math/w_ilogbf.c: Add #include <limits.h>.
13872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13874 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13875 path instead of returning without unlocking.
13877 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13878 immediate-write ioctls.
13879 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13881 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13883 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13884 __builtin_frame_address instead of making assumptions about the
13885 location of the return address relative to DATA. Force early load of
13886 the return address.
13887 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13888 __builtin_frame_address.
13891 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13892 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13893 implement dup3 and do some further code clean-ups.
13894 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13895 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13899 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13901 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13902 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13903 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13904 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13905 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13908 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13909 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13910 when handler == SIG_ERR, not when handler != SIG_ERR.
13912 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13914 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13915 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13918 accept4 for GNU Hurd.
13919 * include/sys/socket.h (__libc_accept4): New prototype.
13920 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13921 to implement __libc_accept4.
13922 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13924 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13926 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13927 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13928 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13929 signal-defines.sym.
13931 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13933 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13935 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13937 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13938 assertion on O_CLOEXEC flag.
13939 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13940 * hurd/intern-fd.c: Likewise.
13941 * hurd/port2fd.c: Likewise.
13943 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13946 * bits/in.h (IPV6_PKTINFO): Define new macro.
13947 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13949 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13954 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13956 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13957 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13959 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13960 * math/libm-test.inc (logb_test) : Additional logb tests.
13962 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13963 Andreas Jaeger <aj@suse.de>
13965 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13966 * configure: Regenerated.
13967 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13968 * config.make.in (link-obsolete-rpc): New substituted variable.
13969 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13970 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13971 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13972 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13973 so that libc.a contains the symbols.
13974 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13975 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13976 * sunrpc/auth_none.c: Likewise.
13977 * sunrpc/auth_unix.c: Likewise.
13978 * sunrpc/authdes_prot.c: Likewise.
13979 * sunrpc/authuxprot.c: Likewise.
13980 * sunrpc/clnt_gen.c: Likewise.
13981 * sunrpc/clnt_perr.c: Likewise.
13982 * sunrpc/clnt_raw.c: Likewise.
13983 * sunrpc/clnt_simp.c: Likewise.
13984 * sunrpc/clnt_tcp.c: Likewise.
13985 * sunrpc/clnt_udp.c: Likewise.
13986 * sunrpc/clnt_unix.c: Likewise.
13987 * sunrpc/des_crypt.c: Likewise.
13988 * sunrpc/des_soft.c: Likewise.
13989 * sunrpc/get_myaddr.c: Likewise.
13990 * sunrpc/key_call.c: Likewise.
13991 * sunrpc/key_prot.c: Likewise.
13992 * sunrpc/netname.c: Likewise.
13993 * sunrpc/pm_getmaps.c: Likewise.
13994 * sunrpc/pm_getport.c: Likewise.
13995 * sunrpc/pmap_clnt.c: Likewise.
13996 * sunrpc/pmap_prot.c: Likewise.
13997 * sunrpc/pmap_prot2.c: Likewise.
13998 * sunrpc/pmap_rmt.c: Likewise.
13999 * sunrpc/publickey.c: Likewise.
14000 * sunrpc/rpc_cmsg.c: Likewise.
14001 * sunrpc/rpc_common.c: Likewise.
14002 * sunrpc/rpc_dtable.c: Likewise.
14003 * sunrpc/rpc_prot.c: Likewise.
14004 * sunrpc/rpc_thread.c: Likewise.
14005 * sunrpc/rtime.c: Likewise.
14006 * sunrpc/svc.c: Likewise.
14007 * sunrpc/svc_auth.c: Likewise.
14008 * sunrpc/svc_raw.c: Likewise.
14009 * sunrpc/svc_run.c: Likewise.
14010 * sunrpc/svc_tcp.c: Likewise.
14011 * sunrpc/svc_udp.c: Likewise.
14012 * sunrpc/svc_unix.c: Likewise.
14013 * sunrpc/svcauth_des.c: Likewise.
14014 * sunrpc/xcrypt.c: Likewise.
14015 * sunrpc/xdr.c: Likewise.
14016 * sunrpc/xdr_array.c: Likewise.
14017 * sunrpc/xdr_float.c: Likewise.
14018 * sunrpc/xdr_intXX_t.c: Likewise.
14019 * sunrpc/xdr_mem.c: Likewise.
14020 * sunrpc/xdr_rec.c: Likewise.
14021 * sunrpc/xdr_ref.c: Likewise.
14022 * sunrpc/xdr_sizeof.c: Likewise.
14023 * sunrpc/xdr_stdio.c: Likewise.
14025 2012-05-10 Roland McGrath <roland@hack.frob.com>
14027 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14028 change. Update copyright years.
14030 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14032 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14034 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14035 Joseph Myers <joseph@codesourcery.com>
14036 Paul Pluzhnikov <ppluzhnikov@google.com>
14039 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14041 [cross-compiling] (extra-libs): Likewise.
14042 [cross-compiling] (extra-libs-others): Likewise.
14043 [cross-compiling] (librpcsvc-routines): Likewise.
14044 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14045 [cross-compiling] (omit-deps): Likewise.
14046 (sunrpc-CPPFLAGS): New variable.
14047 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14048 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14049 (cross-rpcgen-objs): New variable.
14050 (extra-objs): Append $(cross-rpcgen-objs).
14051 ($(cross-rpcgen-objs)): New rule.
14052 ($(objpfx)cross-rpcgen): Likewise.
14053 (rpcgen-cmd): Define to use $(built-program-file). Expand
14055 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14056 ($(objpfx)x%.stmp): Likewise.
14057 * sunrpc/proto.h [IS_IN_build] (_): Define.
14058 [IS_IN_build] (_libc_intl_domainname): Likewise.
14060 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14063 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14064 and R_X86_64_TPOFF64.
14066 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14068 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14069 sysdeps/unix/sysv/syscalls.list.
14072 * sysdeps/unix/sysv/syscalls.list: Remove file.
14074 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14077 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14078 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14079 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14080 (__LC_IDENTIFICATION): Make these macros useful in #if
14081 expressions, as required by C99.
14083 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14085 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14086 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14089 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14091 * stdlib/longlong.h: Updated from GCC.
14093 2012-05-09 Andreas Jaeger <aj@suse.de>
14095 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14096 default is first entry.
14097 (run_mode): Set type.
14098 (main): Remove informal message about syslog.
14099 (options): Fix typo.
14102 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14105 (llrintf): Likewise.
14106 (llrint): Likewise.
14109 (nearbyint): Likewise.
14110 (nearbyintf): Likewise.
14112 2012-05-09 Andreas Jaeger <aj@suse.de>
14113 Pedro Alves <palves@redhat.com>
14115 * nscd/nscd.c (run_mode): Use enum.
14116 (main): Cleanup coding style issue.
14118 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14119 Andreas Jaeger <aj@suse.de>
14121 * nscd/nscd.c (go_background): Replaced with...
14122 (run_mode): ... this.
14123 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14124 (options): Add -F --foreground.
14125 (main): Implement it.
14126 (parse_opt): Parse it.
14128 2012-05-09 Andreas Jaeger <aj@suse.de>
14131 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14132 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14133 -Wconversion warning.
14134 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14137 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14139 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14141 (LC_ALL): Use macro-int-constant.
14142 (LC_COLLATE): Likewise.
14143 (LC_CTYPE): Likewise.
14144 (LC_MESSAGES): Likewise.
14145 (LC_MONETARY): Likewise.
14146 (LC_NUMERIC): Likewise.
14147 (LC_TIME): Likewise.
14148 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14149 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14151 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14153 [C99-based standards] (float_t): Expect type.
14154 [C99-based standards] (double_t): Expect type.
14155 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14157 [C99-based standards] (HUGE_VALL): Likewise.
14158 [C99-based standards] (INFINITY): Likewise.
14159 [C99-based standards] (NAN): Likewise.
14160 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14161 [C99-based standards] (FP_NAN): Likewise.
14162 [C99-based standards] (FP_NORMAL): Likewise.
14163 [C99-based standards] (FP_SUBNORMAL): Likewise.
14164 [C99-based standards] (FP_ZERO): Likewise.
14165 [C99-based standards] (FP_FAST_FMA): Use
14166 optional-macro-int-constant. Specify type. Require == 1.
14167 [C99-based standards] (FP_FAST_FMAF): Likewise.
14168 [C99-based standards] (FP_FAST_FMAL): Likewise.
14169 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14170 [C99-based standards] (FP_ILOGBNAN): Likewise.
14171 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14173 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14174 [C99-based standards] (math_errhandling): Specify type.
14175 [ISO99 || ISO11] (signgam): Do not allow.
14176 [non-C99-based standards] (copysignf): Do not allow.
14177 [non-C99-based standards] (exp2f): Likewise.
14178 [non-C99-based standards] (log2f): Likewise.
14179 [non-C99-based standards] (modff): Allow.
14180 [non-C99-based standards] (erff): Do not allow.
14181 [non-C99-based standards] (erfcf): Likewise.
14182 [non-C99-based standards] (gammaf): Likewise.
14183 [non-C99-based standards] (hypotf): Likewise.
14184 [non-C99-based standards] (j0f): Likewise.
14185 [non-C99-based standards] (j1f): Likewise.
14186 [non-C99-based standards] (jnf): Likewise.
14187 [non-C99-based standards] (lgammaf): Likewise.
14188 [non-C99-based standards] (tgammaf): Likewise.
14189 [non-C99-based standards] (y0f): Likewise.
14190 [non-C99-based standards] (y1f): Likewise.
14191 [non-C99-based standards] (ynf): Likewise.
14192 [non-C99-based standards] (isnanf): Likewise.
14193 [non-C99-based standards] (acoshf): Likewise.
14194 [non-C99-based standards] (asinhf): Likewise.
14195 [non-C99-based standards] (atanhf): Likewise.
14196 [non-C99-based standards] (cbrtf): Likewise.
14197 [non-C99-based standards] (expm1f): Likewise.
14198 [non-C99-based standards] (ilogbf): Likewise.
14199 [non-C99-based standards] (log1pf): Likewise.
14200 [non-C99-based standards] (logbf): Likewise.
14201 [non-C99-based standards] (nextafterf): Likewise.
14202 [non-C99-based standards] (remainderf): Likewise.
14203 [non-C99-based standards] (rintf): Likewise.
14204 [non-C99-based standards] (scalbf): Likewise.
14205 [non-C99-based standards] (copysignl): Likewise.
14206 [non-C99-based standards] (exp2l): Likewise.
14207 [non-C99-based standards] (log2l): Likewise.
14208 [non-C99-based standards] (modfl): Allow.
14209 [non-C99-based standards] (erfl): Do not allow.
14210 [non-C99-based standards] (erfcl): Likewise.
14211 [non-C99-based standards] (gammal): Likewise.
14212 [non-C99-based standards] (hypotl): Likewise.
14213 [non-C99-based standards] (j0l): Likewise.
14214 [non-C99-based standards] (j1l): Likewise.
14215 [non-C99-based standards] (jnl): Likewise.
14216 [non-C99-based standards] (lgammal): Likewise.
14217 [non-C99-based standards] (tgammal): Likewise.
14218 [non-C99-based standards] (y0l): Likewise.
14219 [non-C99-based standards] (y1l): Likewise.
14220 [non-C99-based standards] (ynl): Likewise.
14221 [non-C99-based standards] (isnanl): Likewise.
14222 [non-C99-based standards] (acoshl): Likewise.
14223 [non-C99-based standards] (asinhl): Likewise.
14224 [non-C99-based standards] (atanhl): Likewise.
14225 [non-C99-based standards] (cbrtl): Likewise.
14226 [non-C99-based standards] (expm1l): Likewise.
14227 [non-C99-based standards] (ilogbl): Likewise.
14228 [non-C99-based standards] (log1pl): Likewise.
14229 [non-C99-based standards] (logbl): Likewise.
14230 [non-C99-based standards] (nextafterl): Likewise.
14231 [non-C99-based standards] (remainderl): Likewise.
14232 [non-C99-based standards] (rintl): Likewise.
14233 [non-C99-based standards] (scalbl): Likewise.
14234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14235 [non-C99-based standards] (FP_*): Do not allow.
14236 [C99-based standards] (FP_*): Change to
14237 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14238 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14240 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14241 (SIG_ERR): Likewise.
14242 [X/Open-based standards] (SIG_HOLD): Likewise.
14243 (SIG_IGN): Likewise.
14244 (SIGABRT): Use macro-int-constant. Specify type. Require
14246 (SIGFPE): Likewise.
14247 (SIGILL): Likewise.
14248 (SIGINT): Likewise.
14249 (SIGSEGV): Likewise.
14250 (SIGTER): Likewise.
14251 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14252 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14253 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14254 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14255 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14256 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14257 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14258 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14259 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14260 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14261 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14262 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14263 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14264 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14265 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14266 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14267 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14268 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14269 [X/Open-based standards] (SIGTRAP): Likewise.
14270 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14271 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14272 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14273 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14274 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14277 2012-05-08 Ian Wienand <ianw@vmware.com>
14280 * time/tzset.c (__tzset_parse_tz): Update default rules for
14281 daylight time changes in the Energy Policy Act of 2005.
14283 2012-05-09 Andreas Jaeger <aj@suse.de>
14286 * elf/ldconfig.c (parse_conf): Change string to make clear that
14287 ldconfig only issued a warning if ld.so.conf does not exist.
14289 2012-05-08 David S. Miller <davem@davemloft.net>
14291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14292 movxtod instead of popping the value on the stack.
14294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14296 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14298 * config.h.in: Add HAVE_ARM_PCS_VFP.
14300 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14303 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14304 checking but the checks are disabled for any reason.
14306 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14308 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14309 and ELF64_R_TYPE with ELFW(R_TYPE).
14311 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14313 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14314 (ulimit): Likewise.
14316 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14317 (settimeofday): Likewise.
14319 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14321 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14322 a struct th_u2 inside the union, and move tu_block/tu_code into
14323 a new th_u3 union of tu_block/tu_code inside of that. Move
14324 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14325 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14326 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14327 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14328 (th_stuff): Change to th_u1.tu_stuff.
14330 (th_msg): Change to th_u1.th_u2.tu_data.
14332 2012-05-07 David S. Miller <davem@davemloft.net>
14334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14337 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14338 (SETUP_PIC_REG): Use it.
14339 (SETUP_PIC_REG_LEAF): Use it.
14341 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14345 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14347 (EXPL_FINITE): Likewise.
14348 (FLDLOG): Likewise.
14349 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14350 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14352 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14354 (EXPL_FINITE): Likewise.
14355 (FLDLOG): Likewise.
14356 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14357 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14359 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14360 test of -max_value argument for long double.
14361 * sysdeps/i386/fpu/libm-test-ulps: Update.
14362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14364 2012-05-06 David S. Miller <davem@davemloft.net>
14366 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14367 quad soft-float symbols whose references which are compiler
14369 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14371 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14375 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14377 (EXPL_FINITE): Likewise.
14378 (FLDLOG): Likewise.
14381 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14382 Adjust comments for base varying.
14383 (__expl_finite): Change alias to EXPL_FINITE.
14384 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14386 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14387 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14388 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14389 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14392 (EXPL_FINITE): Likewise.
14393 (FLDLOG): Likewise.
14396 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14397 Adjust comments for base varying.
14398 (__expl_finite): Change alias to EXPL_FINITE.
14399 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14404 * math/libm-test.inc (check_float_internal): Correct ulp
14405 calculation for subnormal expected results.
14407 2012-05-06 Andreas Jaeger <aj@suse.de>
14409 * Makeconfig (+math-flags): New, set to -frounding-math.
14410 (+cflags): Add +math-flags so that all of glibc gets compiled with
14413 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14415 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14417 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14423 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14424 (__ieee754_expl): Allow for and saturate large arguments.
14425 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14426 (u_threshold): Likewise.
14427 (__exp): Call __ieee754_exp before checking for overflow and
14429 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14430 (u_threshold): Likewise.
14431 (__expf): Call __ieee754_expf before checking for overflow and
14433 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14434 (u_threshold): Likewise.
14435 (__expl): Call __ieee754_expl before checking for overflow and
14437 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14438 (__ieee754_expl): Allow for and saturate large arguments.
14439 * math/libm-test.inc (exp_test): Add another test. Do not allow
14440 missing overflow exception on overflow.
14441 (expm1_test): Do not allow missing overflow exception on overflow.
14443 * sysdeps/i386/fpu/e_expl.c: Move to ...
14444 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14445 rather than using inline asm.
14446 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14447 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14448 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14450 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14453 (signal): Likewise.
14457 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14459 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14460 sysdeps/unix/common/syscalls.list.
14461 (fchmod): Likewise.
14462 (fchown): Likewise.
14463 (ftruncate): Likewise.
14464 (getrusage): Likewise.
14465 (gettimeofday): Likewise.
14466 (setpgid): Likewise.
14467 (setregid): Likewise.
14468 (setreuid): Likewise.
14469 (sigaction): Likewise.
14470 (truncate): Likewise.
14471 (vhangup): Likewise.
14472 * sysdeps/unix/common/syscalls.list: Remove file.
14473 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14474 * sysdeps/unix/sysv/linux/Implies: Likewise.
14476 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14478 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14480 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14484 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14487 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14490 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14493 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14496 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14499 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14502 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14506 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14510 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14513 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14517 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14521 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14523 * sysdeps/unix/common/bits/dirent.h: Remove file.
14524 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14526 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14527 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14528 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14529 * sysdeps/unix/bsd/isatty.c: Likewise.
14530 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14531 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14532 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14534 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14538 long double comparison inaccuracies.
14539 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14542 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14544 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14545 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14547 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14551 nonzero digits before rounding a hex value.
14552 * stdlib/tst-strtod.c (tests): Add another test.
14554 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14556 * sysdeps/s390/fpu/libm-test-ulps: Update.
14558 2012-05-03 Andreas Jaeger <aj@suse.de>
14560 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14561 does not get optimized out.
14562 (malloc_opt_barrier): New.
14564 2012-05-03 Andreas Jaeger <aj@suse.de>
14565 Roland McGrath <roland@hack.frob.com>
14567 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14568 intermediate file deletion.
14569 (generated): Add .symlist files.
14571 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14574 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14575 Redirect under this condition.
14576 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14577 [__USE_GNU] (__dprintf_chk): Not under this condition.
14578 [__USE_GNU] (__vdprintf_chk): Likewise.
14579 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14580 under this condition.
14581 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14582 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14583 [__USE_XOPEN2K8] (vdprintf): Likewise.
14584 [__USE_GNU] (__dprintf_chk): Not under this condition.
14585 [__USE_GNU] (__vdprintf_chk): Likewise.
14586 [__USE_GNU] (dprintf): Likewise.
14587 [__USE_GNU] (vdprintf): Likewise.
14589 2012-05-03 Roland McGrath <roland@hack.frob.com>
14591 * elf/Makefile (common-generated): Set this instead of generated for
14592 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14593 $(all-built-dso)-derived lists.
14595 2012-05-03 Andreas Jaeger <aj@suse.de>
14597 * sysdeps/i386/fpu/libm-test-ulps: Update.
14600 * FAQ.in: Likewise.
14601 * scripts/gen-FAQ.pl: Likewise.
14602 * manual/install.texi (Installation): Point to online location of
14604 * Makefile (files-for-dist): Remove FAQ.
14607 2012-05-02 Allan McRae <allan@archlinux.org>
14609 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14610 (LDFLAGS-reldepmod5.so): Likewise.
14611 (LDFLAGS-reldep6mod1.so): Likewise.
14612 (LDFLAGS-reldep6mod4.so): Likewise.
14613 (LDFLAGS-reldep8mod3.so): Likewise.
14614 (LDFLAGS-unload4mod1.so): Likewise.
14615 (LDFLAGS-unload4mod2.so): Likewise.
14616 (LDFLAGS-tst-initorder): Likewise.
14617 (LDFLAGS-tst-initordera2.so): Likewise.
14618 (LDFLAGS-tst-initordera3.so): Likewise.
14619 (LDFLAGS-tst-initordera4.so): Likewise.
14620 (LDFLAGS-tst-initorderb2.so): Likewise.
14621 (LDFLAGS-noload): Likewise.
14622 (LDFLAGS-next): Likewise.
14623 (LDFLAGS-order2mod1.so): Likewise.
14624 (LDFLAGS-order2mod2.so): Likewise.
14625 (LDFLAGS-tst-initorder2): Likewise.
14626 (LDFLAGS-tst-initorder2a.so): Likewise.
14627 (LDFLAGS-tst-initorder2b.so): Likewise.
14628 (LDFLAGS-tst-initorder2c.so): Likewise.
14629 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14631 2012-05-02 David S. Miller <davem@davemloft.net>
14633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14635 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14638 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14640 2012-05-02 Andreas Jaeger <aj@suse.de>
14642 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14643 since we manipulate rounding mode.
14644 (CPPFLAGS-test-idouble.c): Likewise.
14645 (CPPFLAGS-test-ifloat.c): Likewise.
14646 (CFLAGS-test-ldouble.c): Likewise.
14647 (CFLAGS-test-double.c): Likewise.
14648 (CFLAGS-test-float.c): Likewise.
14649 (CFLAGS-test-misc.c): Likewise.
14650 (CFLAGS-test-test-fenv.c): Likewise.
14652 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14657 comparisons to determine direction to adjust input.
14659 2012-05-01 Roland McGrath <roland@hack.frob.com>
14661 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14662 output to the target.
14664 * scripts/localplt.awk: New file.
14665 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14666 (check-localplt-CFLAGS): Variable removed.
14667 ($(all-built-dso:=.jmprel)): New static pattern rule.
14668 (generated): Add those targets.
14669 (localplt-built-dso): New variable.
14670 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14672 * elf/check-localplt.c: File removed.
14674 * scripts/check-execstack.awk: New file.
14675 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14676 (check-execstack-CFLAGS): Variable removed.
14677 ($(objpfx)check-execstack.h): Target removed.
14678 ($(objpfx)execstack-default): New target.
14679 (generated): Add that instead of check-execstack.h.
14680 ($(all-built-dso:=.phdr)): New static pattern rule.
14681 (generated): Add those targets.
14682 * elf/check-execstack.c: File removed.
14684 * scripts/check-textrel.awk: New file.
14685 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14686 (check-textrel-CFLAGS): Variable removed.
14687 (all-built-dso): Use := to define.o
14688 ($(all-built-dso:=.dyn)): New static pattern rule.
14689 (generated): Add those targets.
14690 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14691 * config.make.in (READELF): New substituted variable.
14692 * elf/check-textrel.c: File removed.
14694 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14696 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14698 * conform/data/ctype.h-data [C99-based standards] (isblank):
14700 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14701 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14702 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14703 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14704 Specify type. Require positive value.
14705 (EILSEQ): Likewise.
14706 (ERANGE): Likewise.
14707 [ISO || POSIX] (EILSEQ): Do not expect.
14708 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14709 Specify type. Require positive value.
14710 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14711 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14712 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14713 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14714 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14715 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14716 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14717 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14718 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14719 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14720 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14721 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14722 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14723 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14724 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14725 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14726 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14727 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14728 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14729 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14730 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14731 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14732 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14733 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14734 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14735 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14736 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14737 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14738 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14739 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14740 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14741 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14742 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14743 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14744 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14745 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14746 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14747 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14748 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14749 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14750 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14751 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14752 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14753 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14754 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14755 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14756 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14757 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14758 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14759 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14760 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14761 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14762 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14763 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14764 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14765 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14766 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14767 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14768 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14769 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14770 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14771 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14772 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14773 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14774 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14775 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14776 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14777 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14778 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14779 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14780 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14781 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14782 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14783 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14784 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14785 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14786 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14788 (FLT_ROUNDS): Expect as macro, not constant.
14789 (FLT_MANT_DIG): Use macro-int-constant.
14790 (DBL_MANT_DIG): Likewise.
14791 (LDBL_MANT_DIG): Likewise.
14792 (FLT_DIG): Likewise.
14793 (DBL_DIG): Likewise.
14794 (LDBL_DIG): Likewise.
14795 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14796 (DBL_MIN_EXP): Likewise.
14797 (LDBL_MIN_EXP): Likewise.
14798 (FLT_MAX_EXP): Use macro-int-constant.
14799 (DBL_MAX_EXP): Likewise.
14800 (LDBL_MAX_EXP): Likewise.
14801 (FLT_MAX_10_EXP): Likewise.
14802 (DBL_MAX_10_EXP): Likewise.
14803 (LDBL_MAX_10_EXP): Likewise.
14804 (FLT_MAX): Use macro-constant.
14805 (DBL_MAX): Likewise.
14806 (LDBL_MAX): Likewise.
14807 (FLT_EPSILON): Use macro-constant. Give upper bound.
14808 (DBL_EPSILON): Likewise.
14809 (LDBL_EPSILON): Likewise.
14810 (FLT_MIN): Likewise.
14811 (DBL_MIN): Likewise.
14812 (LDBL_MIN): Likewise.
14813 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14814 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14815 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14816 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14817 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14818 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14819 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14820 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14821 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14822 [ISO11] (FLT_TRUE_MIN): Likewise.
14823 [ISO11] (LDBL_TRUE_MIN): Likewise.
14824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14825 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14826 (SCHAR_MIN): Use macro-int-constant. Specify type.
14827 (SCHAR_MAX): Likewise.
14828 (UCHAR_MAX): Likewise.
14829 (CHAR_MIN): Likewise.
14830 (CHAR_MAX): Likewise.
14831 (MB_LEN_MAX): Use macro-int-constant.
14832 (SHRT_MIN): Use macro-int-constant. Specify type.
14833 (SHRT_MAX): Likewise.
14834 (USHRT_MAX): Likewise.
14835 (INT_MAX): Likewise.
14836 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14838 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14840 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14842 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14843 bound negative. Suffix upper bound with "L".
14844 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14846 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14848 [C99-based standards] (LLONG_MAX): Likewise.
14849 [C99-based standards] (ULLONG_MAX): Likewise.
14850 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14852 [ISO11] (max_align_t): Require type.
14853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14855 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14856 from $CFLAGS, without defining away __attribute__ calls.
14857 (checknamespace): Use $CFLAGS_namespace.
14859 * conform/conformtest.pl (@keywords): Only include C99 keywords
14860 for standards based on C99 or C11.
14862 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14864 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14867 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14868 usability of symbols in #if.
14870 * conform/conformtest.pl: If macro or constant types start
14871 "promoted:", expect the symbol to be of the following type
14872 promoted by the integer promotions.
14874 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14875 in one place. Also handle "macro-constant".
14877 * conform/conformtest.pl: Only accept expected macro values with
14878 "==". Parse all "macro" lines in one place.
14879 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14881 * conform/conformtest.pl: Handle braced types on "constant" lines
14882 instead of handling "typed-constant".
14883 * conform/data/signal.h-data: Use "constant" instead of
14886 * conform/conformtest.pl: Handle "optional-" at start of lines in
14887 one place rather than duplicating several cases. Handle each
14888 format of "macro" line with initial "optional-".
14890 * conform/conformtest.pl: Only accept expected constant or
14891 optional-constant values with "==". Parse all "constant" lines in
14892 one place. Parse all "optional-constant" lines in one place.
14893 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14894 * conform/data/fmtmsg.h-data: Likewise.
14895 * conform/data/netinet/in.h-data: Likewise.
14896 * conform/data/tar.h-data: Likewise.
14897 * conform/data/limits.h-data: Use "==" form on "constant" and
14898 "optional-constant" lines.
14900 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14901 Use -std=c99 for XOPEN2K.
14902 (@knownproblems): Remove.
14903 (newtoken): Don't check %isknown.
14905 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14906 Do not expect macro.
14907 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14908 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14909 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14910 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14911 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14912 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14913 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14914 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14915 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14916 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14917 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14918 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14919 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14920 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14921 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14922 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14923 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14924 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14925 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14926 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14927 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14928 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14929 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14930 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14931 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14932 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14933 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14934 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14935 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14936 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14937 [XPG3] (acosh): Likewise.
14938 [XPG3] (asinh): Likewise.
14939 [XPG3] (atanh): Likewise.
14940 [XPG3] (cbrt): Likewise.
14941 [XPG3] (expm1): Likewise.
14942 [XPG3] (ilogb): Likewise.
14943 [XPG3] (log1p): Likewise.
14944 [XPG3] (logb): Likewise.
14945 [XPG3] (nextafter): Likewise.
14946 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14947 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14948 [XPG3] (remainder): Likewise.
14949 [XPG3] (rint): Likewise.
14950 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14951 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14952 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14953 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14954 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14955 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14956 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14957 [UNIX98 || XOPEN2K] (scalb): Expect.
14958 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14959 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14960 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14961 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14962 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14963 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14964 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14965 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14966 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14967 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14968 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14969 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14970 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14971 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14972 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14973 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14974 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14975 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14976 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14977 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14978 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14979 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14980 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14981 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14982 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14983 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14984 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14985 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14986 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14987 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14988 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14989 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14990 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14991 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14992 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14993 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14994 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14995 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14996 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14997 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14998 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14999 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15000 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15001 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15002 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15003 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15004 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15005 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15006 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15007 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15008 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15009 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15010 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15011 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15012 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15013 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15014 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15015 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15016 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15017 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15018 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15019 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15020 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15021 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15022 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15023 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15024 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15025 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15026 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15027 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15028 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15029 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15030 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15031 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15032 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15033 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15034 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15035 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15036 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15037 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15038 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15039 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15040 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15041 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15042 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15043 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15044 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15045 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15046 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15047 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15048 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15049 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15050 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15051 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15052 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15053 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15054 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15055 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15057 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15058 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15060 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15061 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15064 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15067 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15068 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15073 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15074 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15082 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15083 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15085 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15086 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15087 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15088 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15089 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15090 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15091 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15092 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15093 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15096 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15097 _XOPEN_SOURCE_EXTENDED for XPG4.
15099 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15101 * Makeconfig (localtime): Remove variable.
15102 (inst_localtime-file): Likewise.
15104 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15125 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15129 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15130 comparisons to determine direction to adjust input.
15131 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15132 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15133 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15135 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15137 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15139 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15140 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15142 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15144 * math/libm-test.inc (nexttoward_test): Add more tests.
15146 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15150 in version GLIBC_2.1, not GLIBC_2.0.
15151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15154 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15157 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15159 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15160 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15161 * math/libm-test.inc (acos_test): Add more tests.
15162 (asin_test): Likewise.
15163 * sysdeps/i386/fpu/libm-test-ulps: Update.
15164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15167 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15169 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15170 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15171 * math/libm-test.inc (acos_test_tonearest): New function.
15172 (acos_test_towardzero): Likewise.
15173 (acos_test_downward): Likewise.
15174 (acos_test_upward): Likewise.
15175 (asin_test_tonearest): Likewise.
15176 (asin_test_towardzero): Likewise.
15177 (asin_test_downward): Likewise.
15178 (asin_test_upward): Likewise.
15179 (main): Call the new functions.
15180 * sysdeps/i386/fpu/libm-test-ulps: Update.
15181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15185 * math/e_exp10.c: Include <float.h>.
15186 (__ieee754_exp10): Handle underflow here rather than multiplying
15187 large negative argument by M_LN10.
15188 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15190 * math/e_exp10l.c: Include <float.h>.
15191 (__ieee754_exp10l): Handle underflow here rather than multiplying
15192 large negative argument by M_LN10l.
15193 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15194 spurious overflow exception on underflow.
15196 2012-04-29 Marek Polacek <polacek@redhat.com>
15198 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15199 (__fortify_function): New macro.
15200 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15201 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15202 __extern_always_inline.
15203 * libio/bits/stdio2.h: Likewise.
15204 * libio/bits/stdio.h: Likewise.
15205 * string/string.h: Likewise.
15206 * string/bits/string3.h: Likewise.
15207 * include/stdio.h: Likewise.
15208 * stdlib/bits/stdlib.h: Likewise.
15209 * stdlib/stdlib.h: Likewise.
15210 * rt/bits/mqueue2.h: Likewise.
15211 * rt/mqueue.h: Likewise.
15212 * posix/bits/unistd.h: Likewise.
15213 * posix/unistd.h: Likewise.
15214 * io/bits/poll2.h: Likewise.
15215 * io/bits/fcntl2.h: Likewise.
15216 * io/fcntl.h: Likewise.
15217 * io/sys/poll.h: Likewise.
15218 * misc/bits/syslog.h: Likewise.
15219 * misc/bits/syslog-ldbl.h: Likewise.
15220 * misc/sys/syslog.h: Likewise.
15221 * socket/bits/socket2.h: Likewise.
15222 * socket/sys/socket.h: Likewise.
15223 * debug/tst-chk1.c: Likewise.
15224 * wcsmbs/bits/wchar2.h: Likewise.
15225 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15226 * wcsmbs/wchar.h: Likewise.
15228 2012-04-29 Andreas Jaeger <aj@suse.de>
15230 * Makerules (tests): Remove enable-check-abi protection.
15231 (check-abi-warn): Remove.
15232 (check-abi-%): Remove check-abi-warn usage.
15234 * configure.in: Remove check-abi configure option.
15235 * configure: Regenerated.
15236 * config.make.in (enable-check-abi): Remove.
15238 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15241 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15242 double functions to double *_finite functions.
15245 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15246 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15248 * stdio-common/Makefile (tests): Add tst-sprintf3.
15249 * stdio-common/tst-sprintf3.c: New file.
15251 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15252 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15254 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15256 * conform/conformtest.pl: Remove duplicate typed-constant
15259 2012-04-28 David S. Miller <davem@davemloft.net>
15261 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15262 (check-abi-%): Remove AWK script prerequisite and explicit
15264 (check-abi): Rewrite to just diff the symlist with the abilist.
15265 (config-tls, config-abi-config): Delete, no longer used.
15266 (update-abi-%): Remove AWK script and explicit abilist directory.
15267 (update-abi): Rewrite to simply compare and conditionally copy the
15268 symlist and the sysdep abilist file. Remove update-abi-config
15270 * abilist/ld.abilist: Remove.
15271 * abilist/libBrokenLocale.abilist: Remove.
15272 * abilist/libanl.abilist: Remove.
15273 * abilist/libcrypt.abilist: Remove.
15274 * abilist/libdl.abilist: Remove.
15275 * abilist/librt.abilist: Remove.
15276 * abilist/libthread_db.abilist: Remove.
15277 * abilist/libutil.abilist: Remove.
15278 * scripts/extract-abilist.awk: Remove.
15279 * scripts/merge-abilist.awk: Remove.
15280 * sysdeps/generic/libcidn.abilist: New file.
15281 * sysdeps/generic/libnss_compat.abilist: New file.
15282 * sysdeps/generic/libnss_db.abilist: New file.
15283 * sysdeps/generic/libnss_dns.abilist: New file.
15284 * sysdeps/generic/libnss_files.abilist: New file.
15285 * sysdeps/generic/libnss_hesiod.abilist: New file.
15286 * sysdeps/generic/libnss_nis.abilist: New file.
15287 * sysdeps/generic/libnss_nisplus.abilist: New file.
15288 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15289 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15290 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15293 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15294 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15295 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15296 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15297 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15298 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15299 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15300 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15302 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15303 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15304 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15305 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15307 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15308 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15309 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15310 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15311 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15312 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15314 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15315 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15316 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15318 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15421 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15422 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15423 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15426 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15427 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15428 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15429 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15430 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15431 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15432 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15433 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15434 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15486 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15488 * conform/conformtest.pl: Fix typo in handling typed-constant from
15491 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15493 * README: Cut down references to pre-2.6 Linux kernels and
15494 Linuxthreads. Update lists of configurations in libc and ports
15495 and sort alphabetically. Say "or newer" with Linux kernel version
15498 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15500 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15503 * math/libm-test.inc (logb_test_downward): New test to expose
15504 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15507 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15510 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15512 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15513 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15515 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15517 * sysdeps/unix/i386/brk.S: Remove file.
15518 * sysdeps/unix/i386/dl-brk.S: Likewise.
15519 * sysdeps/unix/i386/pipe.S: Likewise.
15520 * sysdeps/unix/i386/sigreturn.S: Likewise.
15521 * sysdeps/unix/i386/syscall.S: Likewise.
15522 * sysdeps/unix/i386/vfork.S: Likewise.
15523 * sysdeps/unix/i386/wait.S: Likewise.
15525 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15526 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15528 * configure.in (arm*-none*): Do not allow without
15529 --enable-hacker-mode.
15530 (netbsd*): Remove case setting base_os.
15531 (386bsd*): Likewise.
15532 (freebsd*): Likewise.
15535 (sunos*): Likewise.
15536 (ultrix*): Likewise.
15537 (newsos*): Likewise.
15538 (dynix*): Likewise.
15544 (minix*): Likewise.
15545 (irix4*): Likewise.
15546 (irix6*): Likewise.
15547 (solaris[2-9]*): Likewise.
15549 * configure: Regenerated.
15551 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15554 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15555 overflow or cancellation in calculating denominator.
15556 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15558 down expression to avoid unexpected rounding in newer GCCs.
15559 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15561 2012-04-26 David S. Miller <davem@davemloft.net>
15563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15564 long-double compat symbols.
15565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15579 2012-04-25 David S. Miller <davem@davemloft.net>
15581 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15582 HWCAP_* values only after the memory barriers have been defined.
15583 (atomic_full_barrier): Define.
15584 (atomic_read_barrier): Define.
15585 (atomic_write_barrier): Define.
15587 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15589 * shlib-versions: Add libgcc_s version information.
15590 * sysdeps/generic/libgcc_s.h: Remove.
15591 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15593 * sysdeps/gnu/unwind-resume.c: Likewise.
15594 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15596 2012-04-25 David S. Miller <davem@davemloft.net>
15598 * sysdeps/unix/sparc/brk.S: Delete.
15599 * sysdeps/unix/sparc/dl-brk.S: Delete.
15600 * sysdeps/unix/sparc/pipe.S: Delete.
15601 * sysdeps/unix/sparc/sysdep.S: Delete.
15602 * sysdeps/unix/sparc/sysdep.h: Delete.
15603 * sysdeps/unix/sparc/vfork.S: Delete.
15604 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15605 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15606 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15607 ret_ERRVAL, r0, r1, MOVE): Define.
15608 (JUMPTARGET): Remove.
15609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15610 sysdeps/unix/sparc/sysdep.h
15611 (ENTRY, END): Remove.
15612 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15614 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15616 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15617 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15620 * timezone/README: Update upstream location and email address for
15622 * timezone/zdump.c: Update from tzcode 2012b.
15623 * timezone/zic.c: Likewise.
15625 * configure.in (libc_cv_as_needed): Remove test.
15626 * configure: Regenerated.
15627 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15628 conditional definition.
15629 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15630 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15631 * config.make.in (have-as-needed): Remove variable.
15633 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15634 Paul Pluzhnikov <ppluzhnikov@google.com>
15636 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15639 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15641 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15642 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15643 * sysdeps/sh/strlen.S: Likewise.
15645 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15647 * sysdeps/unix/fork.S: Remove file.
15648 * sysdeps/unix/i386/fork.S: Likewise.
15649 * sysdeps/unix/sparc/fork.S: Likewise.
15651 * sysdeps/unix/system.c: Remove file.
15652 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15654 * sysdeps/unix/getegid.S: Remove file.
15655 * sysdeps/unix/geteuid.S: Likewise.
15657 2012-04-24 Roland McGrath <roland@hack.frob.com>
15659 * scripts/check-localplt.awk: New file.
15660 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15662 * scripts/data/localplt-generic.data: Add a comment.
15664 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15665 NODE when __dir_mkfile failed.
15666 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15667 Reported by Ludovic Courtès <ludo@gnu.org>.
15669 2012-04-24 Andreas Jaeger <aj@suse.de>
15671 * Makerules (common-clean): Also remove gen-as-const-headers
15674 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15676 * Makerules (native-compile): Do not change working directory for
15677 build. Use $(OUTPUT_OPTION) in command.
15678 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15680 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15683 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15684 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15685 * math/libm-test.inc (floor_test): Add more tests.
15686 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15688 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15690 * sysdeps/unix/getdents.c: Remove file.
15691 * sysdeps/unix/sysv/getdents.c: Likewise.
15692 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15694 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15695 sysdeps/unix/mman/syscalls.list.
15697 (mprotect): Likewise.
15699 (munmap): Likewise.
15700 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15701 * sysdeps/unix/mman/syscalls.list: Remove.
15702 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15704 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15705 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15706 * configure: Regenerated.
15707 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15708 $(libgcc_s_suffix).
15709 * config.make.in (libgcc_s_suffix): Remove variable.
15711 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15713 * sysdeps/unix/sysv/gethostname.c: Move to ...
15714 * sysdeps/posix/gethostname.c: ... here.
15716 * sysdeps/unix/execve.S: Remove file.
15718 * sysdeps/unix/_exit.S: Remove file.
15720 2012-04-23 Andreas Jaeger <aj@suse.de>
15723 * manual/Makefile: Remove make dist support, there's no
15724 need for a stand-alone documentation tar ball.
15725 (TEXI2DVI): Define always, it's not in Makeconfig.
15728 (edition): Removed.
15729 (glibc-doc-$(edition).tar): Removed
15733 (ETAGS): Remove, it's in Makeconfig.
15734 (move-if-change): Remove, it's in Makeconfig.
15736 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15739 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15740 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15741 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15742 (strtod_l, strtof_l, strtold_l): Remove __wur.
15743 It is not necessarily an error to ignore strtol's return value.
15744 One can reliably look at the stored endptr to decide whether
15745 the number had valid syntax.
15747 2012-04-21 Andreas Jaeger <aj@suse.de>
15750 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15752 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15754 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15755 * sysdeps/unix/sysv/Versions: Remove file.
15757 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15762 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15765 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15766 version from __vm86.
15768 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15770 * sysdeps/unix/common/lxstat.c: Remove file.
15771 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15773 * sysdeps/unix/sysv/Makefile: Remove file.
15775 * sysdeps/unix/sysv/direct.h: Remove file.
15777 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15778 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15779 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15780 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15781 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15782 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15783 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15785 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15787 * sysdeps/unix/xmknod.c: Remove file.
15788 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15790 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15792 * sysdeps/unix/sysv/i386/time.S: Remove file.
15794 * sysdeps/unix/fxstat.c: Remove file.
15795 * sysdeps/unix/xstat.c: Likewise.
15796 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15798 * sysdeps/unix/sysv/sigaction.c: Remove file.
15800 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15801 (sysdep_headers): Remove variable.
15802 [termio.h not in sysdep_headers] (generated): Likewise.
15803 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15804 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15805 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15806 * sysdeps/unix/sysv/tcflow.c: Likewise.
15807 * sysdeps/unix/sysv/tcflush.c: Likewise.
15808 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15809 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15810 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15811 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15812 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15814 * sysdeps/unix/siglist.c: Remove file.
15816 * sysdeps/unix/getppid.S: Remove file.
15818 * sysdeps/unix/mkdir.c: Remove file.
15819 * sysdeps/unix/rmdir.c: Likewise.
15821 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15823 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15825 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15826 errlist-compat value.
15828 2012-04-18 David S. Miller <davem@davemloft.net>
15830 * sysdeps/generic/memcopy.h (reg_char): Delete.
15831 * debug/strcat_chk.c: Use char, not reg_char.
15832 * debug/strcpy_chk.c: Likewise.
15833 * debug/strncat_chk.c: Likewise.
15834 * debug/strncpy_chk.c: Likewise.
15835 * string/memchr.c: Likewise.
15836 * string/memrchr.c: Likewise.
15837 * string/rawmemchr.c: Likewise.
15838 * string/strcat.c: Likewise.
15839 * string/strchr.c: Likewise.
15840 * string/strchrnul.c: Likewise.
15841 * string/strcmp.c: Likewise.
15842 * string/strcpy.c: Likewise.
15843 * string/strncat.c: Likewise.
15844 * string/strncmp.c: Likewise.
15845 * string/strncpy.c: Likewise.
15847 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15849 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15850 __builtin_memcopy is called when src and dest ranges are known to not
15853 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15855 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15856 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15857 fwd_align_merge macro call.
15858 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15859 bwd_align_merge macro call.
15860 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15862 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15864 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15865 bwd_align_merge macros.
15866 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15867 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15868 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15870 2012-04-18 David S. Miller <davem@davemloft.net>
15872 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15874 2012-04-18 Andreas Jaeger <aj@suse.de>
15877 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15878 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15879 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15881 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15882 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15883 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15885 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15886 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15887 Adjust for changed ldbl-128 files.
15889 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15890 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15891 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15893 2012-04-17 David S. Miller <davem@davemloft.net>
15895 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15897 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15899 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15900 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15901 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15902 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15903 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15904 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15906 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15909 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15910 * math/libm-test.inc: Add ilogb errno and exception tests.
15911 * math/w_ilogb.c: New file: ilogb wrapper.
15912 * math/w_ilogbf.c: New file: ilogbf wrapper.
15913 * math/w_ilogbl.c: New file: ilogbl wrapper.
15914 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15915 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15916 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15917 exception being thrown with 0.0 as argument.
15918 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15919 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15920 exception being thrown with 0.0 as argument.
15921 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15922 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15923 exception being thrown with 0.0 as argument.
15924 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15925 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15926 exception being thrown with 0.0 as argument.
15927 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15928 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15929 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15930 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15931 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15932 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15933 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15934 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15935 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15937 2012-04-17 Petr Baudis <pasky@ucw.cz>
15939 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15942 2012-04-16 Marek Polacek <polacek@redhat.com>
15944 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15946 2012-04-16 Marek Polacek <polacek@redhat.com>
15948 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15949 operands of fdivp instruction.
15951 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15953 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15954 * elf/tst-auditmod3b.c: Likewise.
15955 * elf/tst-auditmod4b.c: Likewise.
15956 * elf/tst-auditmod5b.c: Likewise.
15957 * elf/tst-auditmod6b.c: Likewise.
15958 * elf/tst-auditmod6c.c: Likewise.
15959 * elf/tst-auditmod7b.c: Likewise.
15960 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15961 * sysdeps/x86_64/preconfigure.in: Likewise.
15962 * sysdeps/x86_64/preconfigure: Regenerated.
15964 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15966 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15969 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
15971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15972 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15974 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15977 * locale/iso-639.def: Fix gl language name. Spotted by
15980 2012-04-12 Roland McGrath <roland@hack.frob.com>
15983 * libio/libio.h (__io_write_fn): Update comment.
15985 2012-04-12 Petr Baudis <pasky@ucw.cz>
15988 * stdio.texi (Hook Functions): The user provided writer function
15989 is not allowed to return -1.
15991 2012-04-11 David S. Miller <davem@davemloft.net>
15993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15995 2012-04-11 Mike Frysinger <vapier@gentoo.org>
15997 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15998 Add a leading slash to rtkaio.
16000 2012-04-11 Jim Meyering <meyering@redhat.com>
16003 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16004 It is not necessarily an error to ignore fwrite's return
16005 value. One can reliably use ferror to test for errors after
16008 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16010 * bits/types.h (__snseconds_t): New type.
16011 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16013 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16014 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16015 (__SNSECONDS_T_TYPE): Likewise.
16016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16017 (__SNSECONDS_T_TYPE): Likewise.
16018 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16019 (__SNSECONDS_T_TYPE): Likewise.
16021 2012-04-10 Andreas Jaeger <aj@suse.de>
16024 * manual/time.texi (Processor Time): Return type of times is
16025 elapsed real time since an arbitrary point in the past.
16026 (CPU Time): Move CLK_TCK from here...
16027 (Processor Time): ...to here. Correct description.
16028 * manual/conf.texi (Constants for Sysconf): Correct description of
16031 2012-04-10 David S. Miller <davem@davemloft.net>
16034 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16035 where the is a gap between DT_REL(A) and DT_JMPREL.
16037 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16039 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16040 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16041 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16043 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16045 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16046 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16047 (dl_main): Handle --inhibit-cache.
16048 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16050 * elf/dl-load.c (_dl_map_object): Use it.
16051 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16053 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16056 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16057 (__ieee754_powl): Saturate large exponents rather than testing for
16058 overflow of y*log2(x).
16059 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16060 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16064 * math/s_ctan.c: Include <float.h>.
16065 (__ctan): Avoid internal overflow or cancellation in calculating
16067 * math/s_ctanf.c: Likewise.
16068 * math/s_ctanl.c: Likewise.
16069 * math/s_ctanh.c: Likewise.
16070 * math/s_ctanhf.c: Likewise.
16071 * math/s_ctanhl.c: Likewise.
16072 * math/libm-test.inc (ctan_test): Add more tests.
16073 (ctanh_test): Likewise.
16074 * sysdeps/i386/fpu/libm-test-ulps: Update.
16075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16077 2012-04-09 Andreas Jaeger <aj@suse.de>
16080 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16081 is an optional BSD extension.
16084 * manual/stdio.texi (Opening Streams): Document additional fopen
16087 2012-04-09 Roland McGrath <roland@hack.frob.com>
16089 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16090 %eax without telling the compiler.
16092 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16095 * manual/install.texi: Use sourceware.org.
16097 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16100 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16101 (__ieee754_pow): Generate overflow and underflow using huge*huge
16102 and tiny*tiny rather than just returning constant infinity or zero
16103 for large exponents.
16104 * math/libm-test.inc (pow_test): Require overflow exceptions for
16105 applicable cases of large exponents.
16108 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16109 (__ieee754_pow): Use iterative multiplication algorithm only for
16110 integer exponents with absolute value below 1024. Check for odd
16111 integer exponents when using algorithm for real exponents.
16112 * math/libm-test.inc (pow_test): Add more tests.
16113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16115 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16118 * math/libm-test.inc (exp_test): Do not allow overflow exception
16121 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16124 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16125 instead of __kernel_standard_f.
16127 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16129 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16130 * sysdeps/x86_64/memset_chk.S: Likewise.
16132 2012-04-08 Andreas Jaeger <aj@suse.de>
16135 * manual/startup.texi (Environment Access): Describe return value
16136 for putenv and setenv.
16139 * manual/filesys.texi (Directory Entries): Add description for
16143 * manual/filesys.texi (Directory Entries): Clarify that it's file
16144 system not operating system in the description of DT_UNKNOWN.
16147 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16149 2012-04-08 Stephen Compall <s11@member.fsf.org>
16152 * manual/llio.texi (Opening and Closing Files): Add cross
16153 reference to explain mode argument.
16155 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16157 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16158 * sysdeps/x86_64/memset_chk.S: Likewise.
16160 2012-04-07 David S. Miller <davem@davemloft.net>
16162 * elf/elf.h (R_SPARC_WDISP10): Define.
16163 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16165 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16166 R_SPARC_SIZE64 and R_SPARC_H34.
16168 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16171 conditions and remove no longer applicable assertion.
16173 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16175 * bits/byteswap.h: Include <features.h>.
16176 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16177 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16179 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16181 * bits/byteswap.h (__bswap_16): Removed.
16182 Include <bits/byteswap-16.h> to get __bswap_16.
16183 * sysdeps/i386/bits/byteswap.h: Likewise.
16184 * sysdeps/s390/bits/byteswap.h: Likewise.
16185 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16186 * bits/byteswap-16.h: New file.
16187 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16188 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16189 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16190 * string/Makefile (headers): Add bits/byteswap-16.h.
16192 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16195 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16197 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16198 * nss/tst-nss-static.c: New.
16200 2012-04-06 Robert Millan <rmh@gnu.org>
16203 * manual/llio.texi (File Position Primitive): lseek
16204 refers to WHENCE when it really means OFFSET.
16206 2012-04-06 Andreas Jaeger <aj@suse.de>
16208 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16209 strncmp declarations.
16211 * abilist/libc.abilist: Add __poll and __ppoll.
16213 2012-04-05 David S. Miller <davem@davemloft.net>
16215 * scripts/check-local-headers.sh: Accept a host triplet in the
16216 path matched by the exclude regexp.
16218 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16220 * sysdeps/powerpc/powerpc32/dl-machine.h
16221 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16222 * sysdeps/s390/s390-32/dl-machine.h
16223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16224 * sysdeps/sparc/sparc32/dl-machine.h
16225 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16226 * sysdeps/sparc/sparc64/dl-machine.h
16227 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16229 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16231 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16232 undefined symbol errors.
16234 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16237 2012-04-05 Michael Matz <matz@suse.de>
16240 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16242 2012-04-05 Andreas Jaeger <aj@suse.de>
16245 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16248 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16250 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16251 which ROUND is no valid rounding mode.
16253 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16255 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16257 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16259 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16261 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16262 an exception using FPU order intentionally.
16264 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16266 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16267 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16268 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16269 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16271 2012-04-05 Simon Josefsson <simon@josefsson.org>
16274 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16275 EINVAL when BUFLEN is too smal.
16277 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16280 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16281 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16283 2012-04-03 Andreas Jaeger <aj@suse.de>
16286 * manual/setjmp.texi (System V contexts): Fix sentence.
16289 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16290 New macro for this case.
16291 [!__GNUC__] (__bswap_64): New inline function for this case.
16292 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16293 * bits/byteswap.h: Likewise.
16294 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16295 ull, guard with __GLIBC_HAVE_LONG_LONG.
16297 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16298 __GLIBC_HAVE_LONG_LONG.
16300 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16301 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16303 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16306 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16307 inptr and inend, rather than using last_ch.
16309 2012-04-02 David S. Miller <davem@davemloft.net>
16311 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16312 * stdio-common/printf-parse.h (read_int): Change return type to
16313 'int', return -1 on INT_MAX overflow.
16314 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16315 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16316 overflows INT_MAX. Check for overflow of in-format-string precision
16317 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16318 SIZE_MAX not INT_MAX for integer overflow test.
16319 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16320 skip the construct in the format string but do not record anything.
16321 * stdio-common/bug22.c: Adjust to test both width/prevision
16322 INT_MAX overflow as well as total length INT_MAX overflow. Check
16323 explicitly for proper errno values.
16325 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16327 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16329 * string/test-strcmp.c [! WIDE]: Likewise.
16330 * time/tst-mktime2.c: Likewise for INT_MAX.
16331 * string/test-string.h: #include <sys/param.h> for MIN.
16333 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16334 * sysdeps/i386/init-first.c (init): Likewise.
16335 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16336 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16337 * sysdeps/sh/init-first.c (init): Likewise.
16339 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16341 * po/ru.po: Update from translation team.
16342 * po/vi.po: Likewise.
16344 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16346 * resolv/nss_dns/dns-host.c: Merge copyright years.
16348 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16350 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16351 Optimize memcpy with prefetch if
16352 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16353 src, dst pointers have unequal 16 byte alignments.
16355 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16358 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16359 from a CNAME entry and return the minimum ttl for the query.
16360 (gaih_getanswer_slice): Likewise.
16362 2012-03-30 Jeff Law <law@redhat.com>
16364 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16366 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16367 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16369 * resolv/nss_dns/dns-host.c: Update copyright year.
16371 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16373 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16374 requests to save a system call. Fix check that all bytes are sent.
16376 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16377 comments for sendmmsg.
16379 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16382 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16383 with only 1 character between 0x0041 and 0x01b0.
16384 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16385 * wcsmbs/tst-mbsnrtowcs.c: New file.
16387 2012-03-29 David S. Miller <davem@davemloft.net>
16389 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16390 small copies by hand.
16392 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16395 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16396 _nss_compat_initgroups_dyn): Fall back to malloc/free
16397 for large group memberships.
16399 2012-03-28 David S. Miller <davem@davemloft.net>
16401 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16402 that branches into memcpy.
16403 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16404 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16406 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16409 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16410 implementation too.
16411 * sysdeps/sparc/mempcpy.S: New file.
16413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16414 the IFUNC routine in the libc case.
16415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16417 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16418 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16419 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16420 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16421 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16422 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16423 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16424 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16426 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16427 loop to 256 bytes instead of 64 bytes and fix test signedness.
16429 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16430 * sysdeps/sparc/sparc32/Makefile: rather than here...
16431 * sysdeps/sparc/sparc64/Makefile: and here.
16433 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16435 * malloc/mallocbug.c: Avoid warnings about unused variables.
16437 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16440 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16441 in the right place. Discard and retry query if response is
16442 larger than input buffer size.
16444 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16449 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16450 x for large integer exponent.
16451 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16452 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16453 sign of result as needed afterwards.
16454 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16455 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16456 result for underflowing pow the same as for overflow.
16457 (__kernel_standard_l): Handle powl overflow and underflow here
16458 rather than calling __kernel_standard.
16459 * math/libm-test.inc (pow_test): Add more tests.
16474 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16475 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16476 (__kernel_standard_l): New function.
16477 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16479 * math/w_acosl.c (__acosl): Likewise.
16480 * math/w_asinl.c (__asinl): Likewise.
16481 * math/w_atan2l.c (__atan2l): Likewise.
16482 * math/w_atanhl.c (__atanhl): Likewise.
16483 * math/w_coshl.c (__coshl): Likewise.
16484 * math/w_exp10l.c (__exp10l): Likewise.
16485 * math/w_exp2l.c (__exp2l): Likewise.
16486 * math/w_fmodl.c (__fmodl): Likewise.
16487 * math/w_hypotl.c (__hypotl): Likewise.
16488 * math/w_j0l.c (__j0l, __y0l): Likewise.
16489 * math/w_j1l.c (__j1l, __y1l): Likewise.
16490 * math/w_jnl.c (__jnl, __ynl): Likewise.
16491 * math/w_lgammal.c (__lgammal): Likewise.
16492 * math/w_log10l.c (__log10l): Likewise.
16493 * math/w_log2l.c (__log2l): Likewise.
16494 * math/w_logl.c (__logl): Likewise.
16495 * math/w_powl.c (__powl): Likewise.
16496 * math/w_remainderl.c (__remainderl): Likewise.
16497 * math/w_scalbl.c (sysv_scalbl): Likewise.
16498 * math/w_sinhl.c (__sinhl): Likewise.
16499 * math/w_sqrtl.c (__sqrtl): Likewise.
16500 * math/w_tgammal.c (__tgammal): Likewise.
16501 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16502 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16503 * math/libm-test.inc (acos_test): Add more tests.
16504 (acosh_test): Likewise.
16505 (asin_test): Likewise.
16506 (atanh_test): Likewise.
16507 (exp_test): Likewise.
16508 (exp10_test): Likewise.
16509 (exp2_test): Likewise.
16510 (expm1_test): Likewise.
16511 (lgamma_test): Likewise.
16512 (log_test): Likewise.
16513 (log10_test): Likewise.
16514 (log1p_test): Likewise.
16515 (log2_test): Likewise.
16516 (pow_test): Do not allow some spurious overflow exceptions.
16517 (sqrt_test): Add more tests.
16518 (tgamma_test): Likewise.
16519 (y0_test): Likewise.
16520 (y1_test): Likewise.
16521 (yn_test): Likewise.
16523 2012-03-27 Anton Blanchard <anton@samba.org>
16525 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16527 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16528 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16529 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16531 2012-03-27 David S. Miller <davem@davemloft.net>
16533 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16535 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16536 have-as-vis3 check.
16538 2012-03-27 Andreas Jaeger <aj@suse.de>
16540 * sysdeps/x86_64/elf/configure.in: Moved to ...
16541 * sysdeps/x86_64/configure.in: ... here.
16542 * sysdeps/x86_64/elf/start.S: Moved to ...
16543 * sysdeps/x86_64/start.S: ... here.
16544 * sysdeps/x86_64/elf/configure: Delete.
16546 * sysdeps/x86_64/configure.in: Merge contents from
16547 sysdeps/i386/configure.in (without i686 check).
16549 * sysdeps/i386/elf/Versions: Merge into ...
16550 * sysdeps/i386/Versions: ... this.
16551 * sysdeps/i386/elf/Versions: Delete file.
16552 * sysdeps/i386/elf/start.S: Moved to ...
16553 * sysdeps/i386/start.S: ...here.
16554 * sysdeps/i386/elf/configure.in: Merge into...
16555 * sysdeps/i386/configure.in: ...here.
16556 * sysdeps/i386/elf/configure.in: Delete file.
16557 * sysdeps/i386/elf/configure: Delete file.
16559 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16560 * debug/backtracesyms.c: ... here.
16561 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16562 * debug/backtracesymsfd.c: ... here.
16563 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16564 * sysdeps/generic/ifunc-sel.h: ... here.
16566 * sysdeps/unix/i386/start.c: Delete file.
16567 * sysdeps/unix/sparc/start.c: Delete file.
16568 * sysdeps/unix/start.c: Delete file.
16570 * sysdeps/sh/elf/configure.in: Moved to ...
16571 * sysdeps/sh/configure.in: ... here.
16572 * sysdeps/sh/elf/start.S: Moved to ...
16573 * sysdeps/sh/start.S: ... here.
16574 * sysdeps/sh/elf/configure: Delete file.
16576 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16577 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16578 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16579 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16580 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16581 * sysdeps/powerpc/powerpc64/start.S: here.
16582 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16583 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16584 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16585 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16586 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16588 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16589 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16590 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16591 * sysdeps/powerpc/powerpc32/start.S: ... here.
16592 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16593 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16594 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16596 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16597 * sysdeps/powerpc/ifunc-sel.h: ... here.
16598 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16599 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16601 * sysdeps/sparc/elf/configure.in: Moved to ...
16602 * sysdeps/sparc/configure.in: ... here.
16603 * sysdeps/sparc/elf/configure: Delete file.
16604 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16605 * sysdeps/sparc/sparc32/start.S: ... here.
16606 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16607 * sysdeps/sparc/sparc64/start.S: ... here.
16608 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16609 * sysdeps/sparc/sparc32/Makefile: ... this.
16610 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16611 * sysdeps/sparc/sparc64/Makefile: ... this.
16613 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16614 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16615 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16616 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16617 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16618 * sysdeps/s390/s390-32/setjmp.S: ... here.
16619 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16620 * sysdeps/s390/s390-32/configure.in: ... here.
16621 * sysdeps/s390/s390-32/elf/configure: Delete file.
16622 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16623 * sysdeps/s390/s390-32/start.S: ... here.
16625 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16626 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16627 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16628 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16629 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16630 * sysdeps/s390/s390-64/setjmp.S: ... here.
16631 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16632 * sysdeps/s390/s390-64/configure.in: ... here
16633 * sysdeps/s390/s390-64/elf/configure: Delete file.
16634 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16635 * sysdeps/s390/s390-64/start.S: ... here.
16636 * sysdeps/s390/s390-64/elf/configure: Delete.
16638 * configure.in: Remove support for elf directories in sysdeps.
16640 * configure: Regenerated.
16641 * sysdeps/i386/configure: Regenerated.
16642 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16643 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16644 * sysdeps/s390/s390-32/configure: Regenerated.
16645 * sysdeps/s390/s390-64/configure: Regenerated.
16646 * sysdeps/sh/configure: Regenerated.
16647 * sysdeps/sparc/configure: Regenerated.
16648 * sysdeps/x86_64/configure: Regenerated.
16650 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16655 denormal result into account.
16657 2012-03-25 Roland McGrath <roland@hack.frob.com>
16659 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16660 Reported by Allan McRae <allan@archlinux.org>.
16662 2012-03-23 Jeff Law <law@redhat.com>
16664 * nss/getnssent.c (__nss_getent): Fix typo.
16666 2012-03-23 David S. Miller <davem@davemloft.net>
16668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16670 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16672 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16673 to pad to uint64_t for each field.
16674 (dl_tls_index): Replace unsigned long with uint64_t.
16676 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16677 Paul Pluzhnikov <ppluzhnikov@google.com>
16680 * grp/Makefile (otherlibs): Don't set it.
16681 * inet/Makefile (otherlibs): Likewise.
16682 * login/Makefile (otherlibs): Likewise.
16683 * nscd/Makefile (otherlibs): Likewise.
16684 * posix/Makefile (otherlibs): Likewise.
16685 * pwd/Makefile (otherlibs): Likewise.
16686 * rt/Makefile (otherlibs): Likewise.
16687 * sunrpc/Makefile (otherlibs): Likewise.
16688 * nss/Makefile (otherlibs): Likewise.
16689 Add libnss_files to routines and static-only-routines.
16690 ($(objpfx)getent): Remove rule.
16691 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16692 static-only-routines.
16694 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16697 * math/s_cexp.c: Include <float.h>.
16698 (__cexp): Handle exp result overflowing not necessarily
16699 overflowing both real and imaginary parts of result.
16700 * math/s_cexpf.c: Likewise.
16701 * math/s_cexpl.c: Likewise.
16702 * math/libm-test.inc (cexp_test): Add more tests.
16703 * sysdeps/i386/fpu/libm-test-ulps: Update.
16704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16706 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16708 * include/link.h (ELFW): New macro.
16709 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16710 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16712 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16714 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16717 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16719 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16721 (struct La_x32_retval): Likewise.
16723 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16725 * sysdeps/x86_64/preconfigure.in: New file.
16726 * sysdeps/x86_64/preconfigure: New generated file.
16728 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16731 * math/e_exp2l.c: Include <float.h>.
16732 (__ieee754_exp2l): Handle overflow and underflow cases
16733 separately. Only pass fractional part of argument to
16735 * math/libm-test.inc (exp2_test): Add more tests.
16737 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16738 negating x to take absolute value.
16739 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16744 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16745 computing low part if x was negated.
16746 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16748 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16750 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16751 la_x32_gnu_pltexit.
16752 (pltexit): Cast int_retval to ptrdiff_t.
16753 * elf/tst-auditmod3b.c: Likewise.
16754 * elf/tst-auditmod4b.c: Likewise.
16755 * elf/tst-auditmod5b.c: Likewise.
16756 * elf/tst-auditmod6b.c: Likewise.
16757 * elf/tst-auditmod6c.c: Likewise.
16758 * elf/tst-auditmod7b.c: Likewise.
16760 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16761 and x32_gnu_pltexit.
16763 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16764 __ELF_NATIVE_CLASS.
16765 (La_x32_regs): New macro.
16766 (La_x32_retval): Likewise.
16767 (la_x32_gnu_pltenter): New function prototype.
16768 (la_x32_gnu_pltexit): Likewise.
16770 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16777 * configure.in (libc_cv_cc_nofma): Check for option to disable
16778 generation of FMA instructions.
16779 * configure: Regenerate.
16780 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16781 * sysdeps/ieee754/dbl-64/Makefile: New file.
16782 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16783 Remove brandred-fma4.
16784 (CFLAGS-brandred-fma4.c): Remove.
16785 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16786 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16788 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16791 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16793 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16794 LLONG_MAX != LONG_MAX.
16795 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16796 (_fitoa_word): Likewise.
16797 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16798 LLONG_MAX != LONG_MAX.
16799 * stdio-common/_itowa.h: Include <_itoa.h>.
16800 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16801 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16802 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16803 only if not defined.
16804 (_ITOA_WORD_TYPE): Likewise.
16805 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16806 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16808 2012-03-21 David S. Miller <davem@davemloft.net>
16810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16812 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16814 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16815 of x86_64 when setting libc_cv_slibdir, libdir and
16817 * sysdeps/unix/sysv/linux/configure: Regenerated.
16819 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16821 * manual/lang.texi (Old Varargs): Remove section.
16822 (How Variadic): Update menu.
16823 (va_start): Do not mention varargs.h.
16825 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16826 Joseph Myers <joseph@codesourcery.com>
16828 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16830 * configure: Regenerated.
16832 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16834 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16835 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16838 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16841 * Makefile (files-for-dist): Remove NOTES.
16842 (NOTES): Remove rule.
16843 * README: Don't refer to NOTES.
16844 * manual/creature.texi: Don't include macros.texi.
16845 * manual/intro.texi (creature.texi): Remove comment referring to
16848 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16849 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16850 * configure: Regenerated.
16851 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16852 LIBC_TRY_CC_OPTION.
16853 (libc_cv_as_i686): Likewise.
16854 (libc_cv_cc_avx): Likewise.
16855 (libc_cv_cc_sse2avx): Likewise.
16856 (libc_cv_cc_fma4): Likewise.
16857 (libc_cv_cc_novzeroupper): Likewise.
16858 * sysdeps/i386/configure: Regenerated.
16861 * sysdeps/i386/fpu/s_cexp.S: Remove.
16862 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16863 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16864 * math/libm-test.inc (cexp_test): Add more tests.
16865 * sysdeps/i386/fpu/libm-test-ulps: Update.
16866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16868 2012-03-21 Allan McRae <allan@archlinux.org>
16870 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16872 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16875 * math/w_exp2.c: Do not include <float.h>.
16876 (o_threshold, u_threshold): Remove.
16877 (__exp2): Calculate result before checking finiteness and calling
16879 * math/w_exp2f.c: Likewise.
16880 * math/w_exp2l.c: Likewise.
16881 * math/libm-test.inc (exp2_test): Require overflow exception for
16885 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16886 range of signed 64-bit integers before using fistpll. Remove
16887 checks for whether integers fit in mantissa bits.
16888 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16889 the range of signed 32-bit integers before using fistpl. Remove
16890 checks for whether integers fit in mantissa bits.
16891 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16892 (__ieee754_powl): Test for y outside the range of signed 64-bit
16893 integers before using fistpll. Reduce 64-bit values to 63-bit
16895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16896 divide-by-zero is raised for zero to large negative powers.
16897 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16898 (__ieee754_powl): Test for y outside the range of signed 64-bit
16899 integers before using fistpll. Reduce 64-bit values to 63-bit
16901 * math/libm-test.inc (pow_test): Add more tests.
16903 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16905 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16906 <stdio-common/_itoa.h>.
16907 * debug/segfault.c: Likewise.
16908 * elf/dl-cache.c: Likewise.
16909 * elf/dl-minimal.c: Likewise.
16910 * elf/dl-misc.c: Likewise.
16911 * elf/dl-sysdep.c: Likewise.
16912 * elf/dl-version.c: Likewise.
16913 * elf/rtld.c: Likewise.
16914 * hurd/hurdsock.c: Likewise.
16915 * hurd/lookup-retry.c: Likewise.
16916 * malloc/malloc.c: Likewise.
16917 * malloc/mtrace.c: Likewise.
16918 * nscd/nscd_getgr_r.c: Likewise.
16919 * nscd/nscd_getpw_r.c: Likewise.
16920 * nscd/nscd_getserv_r.c: Likewise.
16921 * posix/getopt_init.c: Likewise.
16922 * posix/wordexp.c: Likewise.
16923 * stdio-common/_itoa.c: Likewise.
16924 * stdio-common/printf_fphex.c: Likewise.
16925 * stdio-common/vfprintf.c: Likewise.
16926 * string/_strerror.c: Likewise.
16927 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16928 * sysdeps/i386/i686/hp-timing.h: Likewise.
16929 * sysdeps/mach/_strerror.c: Likewise.
16930 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16931 * sysdeps/mach/hurd/sethostid.c: Likewise.
16932 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16933 * sysdeps/mach/xpg-strerror.c: Likewise.
16934 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16936 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16937 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16938 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16939 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16940 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16941 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16942 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16943 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16944 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16945 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16946 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16947 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16948 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16949 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16950 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16951 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16952 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16953 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16954 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16956 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16958 * stdio-common/_itoa.h: Moved to ...
16959 * sysdeps/generic/_itoa.h: Here.
16961 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16963 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16964 instead of "_itoa.h" and "_itowa.h".
16965 * stdio-common/vfprintf.: Likewise.
16967 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16969 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16971 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16972 (__signbit): Likwise.
16973 (llrintf): Likwise.
16976 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16978 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16981 2012-03-20 Joseph Myers <joseph@codesourcery.com>
16983 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16984 OVERFLOW_EXCEPTION_OK.
16985 * math/libm-test.inc ("Philosophy"): Update comment about
16987 (OVERFLOW_EXCEPTION): Define.
16988 (OVERFLOW_EXCEPTION_OK): Likewise.
16989 (INVALID_EXCEPTION_OK): Renumber.
16990 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16991 (IGNORE_ZERO_INF_SIGN): Likewise.
16992 (test_exceptions): Handle FE_OVERFLOW.
16993 (exp10_test): Expect overflow exceptions.
16994 (exp2_test): Likewise.
16995 (expm1_test): Likewise.
16996 (nextafter_test): Likewise.
16997 (pow_test): Likewise.
16998 (scalbn_test): Likewise.
16999 (scalbln_test): Likewise.
17001 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17003 * sysdeps/x86_64/bits/atomic.h
17004 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17006 (atomic_exchange_acq): Likewise.
17007 (__arch_exchange_and_add_body): Likewise.
17008 (__arch_add_body): Likewise.
17009 (atomic_add_negative): Likewise.
17010 (atomic_add_zero): Likewise.
17012 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17014 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17015 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17017 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17019 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17020 Check __x86_64__ instead of __WORDSIZE.
17022 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17024 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17026 2012-03-19 David S. Miller <davem@davemloft.net>
17028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17030 * sysdeps/sparc/fpu/fenv_private.h: New file.
17031 * sysdeps/sparc/fpu/math_private.h: Use it.
17032 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17034 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17035 (libc_feholdexcept_setroundl): Remove.
17036 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17038 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17039 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17041 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17043 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17044 int64_t instead of long int.
17045 (INSERT_WORDS64): Likwise.
17047 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17049 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17050 _Unwind_GetCFA return to _Unwind_Ptr first.
17052 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17055 * math/s_clog.c: Include <float.h>.
17056 (__clog): Scale large or subnormal inputs.
17057 * math/s_clogf.c: Likewise.
17058 * math/s_clogl.c: Likewise.
17059 * math/s_clog10.c: Include <float.h>.
17060 (M_LOG10_2): Define.
17061 (__clog10): Scale large or subnormal inputs.
17062 * math/s_clog10f.c: Likewise.
17063 * math/s_clog10l.c: Likewise.
17064 * math/libm-test.inc (clog_test): Add more tests.
17065 (clog10_test): Likewise.
17066 * sysdeps/i386/fpu/libm-test-ulps: Update.
17067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17072 * math/libm-test.inc (atan2_test): Add another test.
17074 * Makerules (common-objdir-compile): Remove.
17075 * sysdeps/unix/Makefile (config-generated): Do not add
17076 $(unix-generated) to variable.
17077 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17078 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17080 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17082 [generic bits/local_lim.h] (before-compile): Do not append to
17084 [generic bits/local_lim.h] (common-generated): Likewise.
17085 [generic sys/param.h] (before-compile): Do not append to variable.
17086 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17087 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17088 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17089 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17091 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17092 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17093 [generic sys/param.h] ($(addprefix
17094 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17095 [generic sys/param.h] (common-generated): Do not append to
17097 [generic sys/param.h] (sysdep_headers): Likewise.
17098 [generic bits/errno.h] (before-compile): Do not append to
17100 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17102 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17103 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17104 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17105 [generic bits/errno.h] (common-generated): Do not append to
17107 [generic bits/ioctls.h] (before-compile): Do not append to
17109 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17111 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17112 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17113 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17115 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17116 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17117 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17118 [generic bits/ioctls.h] (common-generated): Do not append to
17120 [generic sys/syscall.h] (syscall.h): Remove variable.
17121 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17123 [generic sys/syscall.h] (before-compile): Do not append to
17125 [generic sys/syscall.h] (common-generated): Likewise.
17126 * sysdeps/unix/errnos-tmpl.c: Remove file.
17127 * sysdeps/unix/errnos.awk: Likewise.
17128 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17129 * sysdeps/unix/ioctls.awk: Likewise.
17130 * sysdeps/unix/mk-local_lim.c: Likewise.
17131 * sysdeps/unix/snarf-ioctls: Likewise.
17133 2012-03-19 Richard Henderson <rth@twiddle.net>
17135 * sysdeps/i386/fpu/fenv_private.h: New file.
17136 * sysdeps/i386/fpu/math_private.h: Use it.
17137 (math_opt_barrier, math_force_eval): Remove.
17138 (libc_feholdexcept_setround_53bit): Remove.
17139 (libc_feupdateenv_53bit): Remove.
17140 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17141 (math_opt_barrier, math_force_eval): Remove.
17142 (libc_feholdexcept): Remove.
17143 (libc_feholdexcept_setround): Remove.
17144 (libc_fetestexcept, libc_fesetenv): Remove.
17145 (libc_feupdateenv_test): Remove.
17146 (libc_feupdateenv, libc_feholdsetround): Remove.
17147 (libc_feresetround): Remove.
17149 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17150 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17152 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17153 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17154 (libc_feupdateenv_testl): New.
17155 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17156 (libc_feupdateenv_testf): New.
17157 (libc_feupdateenv): Use libc_feupdateenv_test.
17158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17159 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17161 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17162 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17163 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17164 (libc_feresetround_noex): New.
17165 (libc_feresetround_noexf): New.
17166 (libc_feresetround_noexl): New.
17167 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17168 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17169 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17170 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17175 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17177 SET_RESTORE_ROUND_NOEX.
17178 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17179 SET_RESTORE_ROUND_NOEXF.
17180 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17181 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17182 (libc_feholdsetroundf): New.
17183 (libc_feresetround, libc_feresetroundf): New.
17185 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17186 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17187 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17189 * sysdeps/generic/math_private.h: Include <fenv.h>.
17190 (default_libc_feholdexcept): New.
17191 (default_libc_feholdexcept_setround): New.
17192 (default_libc_fesetenv, default_libc_feupdateenv): New.
17193 (libc_feholdexcept): Only define if undefined.
17194 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17195 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17196 (libc_feholdexcept_setroundl): Likewise.
17197 (libc_feholdexcept_setround_53bit): Likewise.
17198 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17199 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17200 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17201 (libc_feupdateenv_53bit): Likewise.
17202 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17203 (libc_feholdexcept): Convert from macro to inline function.
17204 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17205 (libc_fesetenv, libc_feupdateenv): Likewise.
17207 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17208 not previously defined.
17209 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17210 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17211 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17212 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17213 * sysdeps/ieee754/flt-32/math_private.h: New file.
17214 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17215 math_private.h below SET_FLOAT_WORD.
17216 (__isnan, __isinf_ns, __finite): Remove.
17217 (__isnanf, __isinf_nsf, __finitef): Remove.
17219 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17223 2012-03-17 David S. Miller <davem@davemloft.net>
17226 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17229 2012-03-16 David S. Miller <davem@davemloft.net>
17231 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17235 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17237 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17238 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17239 sysdep_routines when subdir is sysvipc.
17240 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17241 __getshmlba helper.
17243 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17245 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17247 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17250 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17253 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17254 (__lround): Renamed to ...
17255 (__llround): This. Replace long int with long long int.
17256 Define lround functions as aliases of llround functions.
17257 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17259 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17261 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17262 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17263 adresses to uintptr_t. Replace "long int" and "unsigned long
17264 int" with "greg_t" on va_arg.
17266 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17268 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17269 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17271 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17272 Move e_machine check before EI_CLASS check. Handle x32
17273 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17274 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17275 SKIP_EM_IA_64 and include
17276 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17278 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17279 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17280 (add_system_dir): New macro.
17282 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17283 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17285 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17296 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17298 * math/w_j0f.c (j0f): Likewise.
17300 * math/w_j0l.c (__j0l): Likewise.
17302 * math/w_j1.c (j1): Likewise.
17304 * math/w_j1f.c (j1f): Likewise.
17306 * math/w_j1l.c (__j1l): Likewise.
17308 * math/w_jn.c (jn): Likewise.
17310 * math/w_jnf.c (jnf): Likewise.
17312 * math/w_jnl.c (__jnl): Likewise.
17314 * math/libm-test.inc (j0_test): Add more tests.
17315 (j1_test): Likewise.
17316 (jn_test): Likewise. Add trailing semicolon to existing test.
17317 (y0_test): Likewise.
17318 (y1_test): Likewise.
17319 * sysdeps/i386/fpu/libm-test-ulps: Update.
17320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17324 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17325 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17326 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17327 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17328 (__tanl): Set errno for infinite argument.
17329 * sysdeps/i386/fpu/mptan.c: Remove.
17330 * sysdeps/i386/fpu/s_tan.S: Likewise.
17331 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17332 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17333 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17334 * math/libm-test.inc (tan_test): Add more tests and enable more
17335 tests for double and long double.
17336 * sysdeps/i386/fpu/libm-test-ulps: Update.
17337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17339 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17341 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17342 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17344 2012-03-16 Roland McGrath <roland@hack.frob.com>
17346 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17347 * configure.in: Use it for both main tree and add-ons.
17348 * configure: Regenerated.
17350 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17352 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17354 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17356 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17360 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17361 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17366 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17367 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17368 != 0 for prec == 2.
17369 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17370 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17371 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17372 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17373 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17374 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17375 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17376 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17377 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17378 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17379 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17380 * math/libm-test.inc (cos_test): Add more tests and enable more
17381 tests for long double.
17382 (sin_test): Likewise.
17383 (sincos_test): Likewise.
17384 * sysdeps/i386/fpu/libm-test-ulps: Update.
17385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17387 2012-03-16 David S. Miller <davem@davemloft.net>
17389 * sysdeps/sparc/fpu/math_private.h: New file.
17391 2012-03-15 David S. Miller <davem@davemloft.net>
17393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17407 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17408 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17410 * sysdeps/sparc/sparc-ifunc.h: New file.
17411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17437 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17438 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17449 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17456 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17458 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17462 2012-03-15 Andreas Jaeger <aj@suse.de>
17465 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17466 ieee754/flt-32 implementation for sin, cos and sincos.
17467 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17468 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17469 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17470 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17471 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17472 ieee754/flt-32 implementation for tan.
17474 * math/libm-test.inc (cos_test): Enable some large input tests for
17476 (sin_test): Likewise.
17477 (sincos_test): Likewise.
17478 (tan_test): Add tests for large input.
17480 * sysdeps/i386/fpu/libm-test-ulps: Update.
17482 2012-03-15 Andreas Jaeger <aj@suse.de>
17485 * math/libm-test.inc (cos_test): Add more test cases.
17486 (sin_test): Likewise.
17487 (sincos_test): Likewise.
17489 2012-03-15 Andreas Jaeger <aj@suse.de>
17492 * math/libm-test.inc (cos_test): Add a test case for large input
17494 (sin_test): Likewise.
17495 (sincos_test): Likewise.
17497 2012-03-15 Andreas Jaeger <aj@suse.de>,
17498 Joseph Myers <joseph@codesourcery.com>
17501 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17502 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17503 * sysdeps/i386/fpu/branred.c: Likewise.
17504 * sysdeps/i386/fpu/dosincos.c: Likewise.
17505 * sysdeps/i386/fpu/mpa.c: Likewise.
17506 * sysdeps/i386/fpu/s_cos.S: Likewise.
17507 * sysdeps/i386/fpu/s_sin.S: Likewise.
17508 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17509 * sysdeps/i386/fpu/sincos32.c: Likewise.
17511 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17513 (libc_feupdateenv_53bit): Define.
17514 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17516 (libc_feupdateenv_53bit): Define.
17518 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17519 53 bit (without extend i386 double precision).
17521 * math/libm-test.inc (sincos_test): Add tests for large input.
17525 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17527 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17531 2012-03-15 David S. Miller <davem@davemloft.net>
17533 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17534 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17535 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17536 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17561 fmin/fmax sysdep routines.
17562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17564 2012-03-14 David S. Miller <davem@davemloft.net>
17566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17572 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17594 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17638 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17643 * sysdeps/sparc/configure.in: New file.
17644 * sysdeps/sparc/configure: Generate.
17645 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17646 * configure: Regenerate.
17647 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17648 * config.make.in (have-as-vis3): New.
17649 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17650 available use -Av9d instead of -Av9a.
17651 * sysdeps/sparc/sparc64/Makefile: Likewise.
17652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17664 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17667 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17668 fzeros/fnegs to load 0x80000000 into a float register instead of
17670 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17672 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17676 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17677 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17678 ($(inst_includedir)/bits/syscall.h): Remove rule.
17679 ($(objpfx)bits/syscall.d): Include instead of
17680 $(objpfx)syscall-list.d.
17681 (generated): Change syscall-list.h and syscall-list.d to
17682 bits/syscall.h and bits/syscall.d.
17684 2012-03-14 Roland McGrath <roland@hack.frob.com>
17687 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17689 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17692 * math/s_csqrt.c: Include <float.h>.
17693 (__csqrt): Scale large or subnormal inputs.
17694 * math/s_csqrtf.c: Likewise.
17695 * math/s_csqrtl.c: Likewise.
17696 * math/libm-test.inc (csqrt_test): Add more tests.
17697 * sysdeps/i386/fpu/libm-test-ulps: Update.
17698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17701 * math/libm-test.inc (hypot_test): Add more tests.
17703 2012-03-13 David S. Miller <davem@davemloft.net>
17706 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17707 double-precision for the calculation instead of scaling.
17709 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17711 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17712 manipulate bits before adding and subtracting TWO52[sx].
17713 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17714 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17716 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17718 2012-03-13 David S. Miller <davem@davemloft.net>
17720 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17721 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17723 rtld-global-offsets.h
17724 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17726 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17729 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17731 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17732 'err' in the ifdef scope in which it is actually used.
17734 * nss/nss_db/db-init.c: Include string.h
17736 2012-03-12 David S. Miller <davem@davemloft.net>
17738 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17739 masking out of the most significant byte of random value used.
17740 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17741 Fix coding style in previous change.
17743 * sysdeps/unix/sysv/linux/kernel-features.h
17744 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17745 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17747 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17750 2012-03-11 David S. Miller <davem@davemloft.net>
17752 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17753 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17755 for 'resultvar' otherwise things get truncated on 64-bit.
17757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17758 Fix masking out of the most significant byte of random value used.
17760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17762 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17766 2012-03-09 David S. Miller <davem@davemloft.net>
17768 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17769 variables with appropriate CPP guards.
17770 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17771 frame pointer, not the stack pointer. Correct layout comments. Fix test
17772 on resulting framesize and the management of the outregs buffer for pltexit.
17773 Preserve floating point return values across _dl_call_pltexit call.
17774 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17775 framesize and the management of the outregs buffer for pltexit.
17776 Preserve floating point return values across _dl_call_pltexit
17778 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17779 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17780 (print_exit): Fix format string for return register value.
17782 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17784 * sunrpc/Makefile (others): Add rpcgen.
17785 ($(objpfx)rpcgen): Remove special build rule and dependency on
17787 * sunrpc/rpcgen.c: New file.
17789 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17792 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17793 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17794 * sysdeps/i386/crti.S: Likewise.
17795 * sysdeps/i386/crtn.S: Likewise.
17796 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17797 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17798 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17799 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17800 * sysdeps/sh/crti.S: Likewise.
17801 * sysdeps/sh/crtn.S: Likewise.
17802 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17805 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17807 * locale/programs/locfile-kw.gperf: Likewise.
17808 * locale/programs/charmap-kw.h: Regenerated.
17809 * locale/programs/locfile-kw.h: Likewise.
17812 * intl/plural.y: Replace FSF snail mail address with URL.
17813 * intl/plural.c: Regenerated.
17815 2012-03-09 Richard Henderson <rth@twiddle.net>
17817 * include/math_private.h: Remove file.
17818 * math/math_private.h: Move file ...
17819 * sysdeps/generic/math_private.h: ... here.
17821 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17822 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17825 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17826 and <math_private.h>.
17827 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17828 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17829 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17830 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17831 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17851 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17857 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17859 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17860 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17864 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17865 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17867 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17868 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17869 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17873 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17874 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17876 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17877 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17878 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17879 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17881 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17888 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17900 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17901 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17910 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17914 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17915 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17918 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17920 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17921 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17922 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17924 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17927 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17928 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17929 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17930 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17931 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17932 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17934 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17935 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17936 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17937 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17938 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17939 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17940 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17941 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17942 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17947 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17948 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17950 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17951 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17954 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17956 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17957 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17958 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17960 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17961 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17962 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17963 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17965 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17966 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17969 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17970 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17971 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17972 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17973 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17974 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17975 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17976 * sysdeps/ieee754/k_standard.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18030 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18033 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18034 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18039 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18040 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18043 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18044 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18049 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18050 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18054 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18058 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18061 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18068 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18069 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18070 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18073 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18074 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18075 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18076 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18084 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18085 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18086 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18088 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18089 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18090 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18091 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18093 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18094 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18096 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18098 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18099 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18102 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18103 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18109 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18126 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18127 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18137 * sysdeps/ieee754/s_lib_version.c: Likewise.
18138 * sysdeps/ieee754/s_matherr.c: Likewise.
18139 * sysdeps/ieee754/s_signgam.c: Likewise.
18140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18142 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18143 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18144 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18145 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18146 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18147 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18148 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18149 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18150 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18151 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18152 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18153 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18154 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18156 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18162 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18164 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18165 * sunrpc/rpc_main.c: Likewise.
18166 * sunrpc/rpc_svcout.c: Likewise.
18168 2012-03-09 David S. Miller <davem@davemloft.net>
18170 * include/math_private.h: New file.
18172 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18174 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18175 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18176 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18177 from <bits/socket_type.h>.
18178 (enum __socket_type): Don't define here.
18179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18181 bits/socket_type.h.
18184 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18185 checking __USE_GNU.
18187 * Makerules ($(inst_includedir)/%.h): New rule.
18188 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18189 (install-others): Remove variable setting.
18190 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18192 2012-03-08 Richard Henderson <rth@twiddle.net>
18194 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18195 from macro to inline function; merge with the
18196 !__LIBC_INTERNAL_MATH_INLINES version.
18197 (__ieee754_sqrtf): Likewise.
18199 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18200 to inline function.
18201 (__rintf, __floor, __floorf): Likewise.
18203 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18204 macro to inline function.
18205 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18208 not <math/math_private.h>.
18210 2012-03-08 David S. Miller <davem@davemloft.net>
18212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18214 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18216 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18218 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18220 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18221 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18223 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18225 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18226 be defined individually, they must be defined as a block. Define
18227 S for printing a string instead of hidint the different by using a
18228 macro for adding the 'l'.
18229 * stdio-common/tst-fphex-wide.c: Adjust.
18231 2012-03-07 Marek Polacek <polacek@redhat.com>
18233 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18235 2012-03-08 Marek Polacek <polacek@redhat.com>
18238 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18239 * stdio-common/tst-fphex.c: Define a few macros to make the
18240 test reusable. Use them.
18241 * stdio-common/tst-fphex-wide.c: New file.
18243 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18246 * manual/macros.texi (gnusystems): New macro.
18247 (nongnusystems): Likewise.
18248 (gnulinuxhurdsystems): Likewise.
18249 (gnuhurdsystems): Likewise..
18250 (gnulinuxsystems): Likewise.
18251 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18252 variants of the GNU system, not "GNU system".
18253 * manual/conf.texi: Likewise.
18254 * manual/errno.texi: Likewise. Update example of errno macro
18256 * manual/filesys.texi: Likewise.
18257 (getumask): Document as specific to GNU/Hurd.
18258 * manual/install.texi: Likewise. Reword some references to
18260 * manual/intro.texi: Likewise.
18261 * manual/io.texi: Likewise.
18262 (File Name Portability): Detail which constraints are inapplicable
18263 to all GNU systems and which are only inapplicable to GNU/Hurd.
18264 * manual/job.texi: Likewise.
18265 * manual/llio.texi: Likewise.
18266 (O_NOCTTY): Document as present on GNU/Linux.
18267 * manual/maint.texi: Likewise.
18268 * manual/memory.texi: Likewise.
18269 * manual/pattern.texi: Likewise.
18270 * manual/pipe.texi: Likewise.
18271 * manual/process.texi: Likewise.
18272 * manual/resource.texi: Likewise.
18273 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18275 * manual/setjmp.texi: Likewise.
18276 * manual/signal.texi: Likewise.
18277 * manual/startup.texi: Likewise.
18278 * manual/stdio.texi: Likewise.
18279 * manual/terminal.texi: Likewise.
18280 (ONLCR): Document as POSIX.
18281 (OXTABS): Document availability on GNU/Linux as XTABS.
18282 (ONOEOT): Document availability separately from other bits.
18283 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18284 * manual/time.texi: Likewise.
18285 * manual/users.texi: Likewise.
18286 * INSTALL: Regenerated.
18287 * sysdeps/gnu/errlist.c: Regenerated.
18289 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18290 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18291 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18293 * configure: Regenerated.
18295 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18297 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18298 default includes instead of AC_HEADER_CHECK.
18299 * sysdeps/i386/configure: Regenerated.
18302 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18303 * math/s_cacoshf.c (__cacoshf): Likewise.
18304 * math/s_cacoshl.c (__cacoshl): Likewise.
18305 * math/s_casinh.c (__casinh): Set signs of result from argument.
18306 * math/s_casinhf.c (__casinhf): Likewise.
18307 * math/s_casinhl.c (__casinhl): Likewise.
18308 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18309 (casinh_test): Add more tests.
18310 * sysdeps/i386/fpu/libm-test-ulps: Update.
18311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18313 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18315 * po/zh_TW.po: Update from translation team.
18317 * login/Makefile (distribute): Remove variable.
18318 * catgets/Makefile: Likewise.
18319 * mach/Makefile: Likewise.
18320 * malloc/Makefile: Likewise.
18321 * misc/Makefile: Likewise.
18322 * iconv/Makefile: Likewise.
18323 * nscd/Makefile: Likewise.
18324 * hurd/Makefile: Likewise.
18325 * manual/Makefile: Likewise.
18326 * locale/Makefile: Likewise.
18327 * intl/Makefile: Likewise.
18328 * conform/Makefile: Likewise.
18329 * nss/Makefile: Likewise.
18330 * time/Makefile: Likewise.
18331 * soft-fp/Makefile: Likewise.
18332 * dirent/Makefile: Likewise.
18333 * gmon/Makefile: Likewise.
18334 * po/Makefile: Likewise.
18335 * rt/Makefile: Likewise.
18336 * socket/Makefile: Likewise.
18337 * math/Makefile: Likewise.
18338 * signal/Makefile: Likewise.
18339 * debug/Makefile: Likewise.
18340 * elf/Makefile: Likewise.
18341 * timezone/Makefile: Likewise.
18342 * stdlib/Makefile: Likewise.
18343 * iconvdata/Makefile: Likewise.
18344 * sunrpc/Makefile: Likewise.
18345 * io/Makefile: Likewise.
18346 * argp/Makefile: Likewise.
18347 * inet/Makefile: Likewise.
18348 * hesiod/Makefile: Likewise.
18349 * grp/Makefile: Likewise.
18350 * csu/Makefile: Likewise.
18351 * wctype/Makefile: Likewise.
18352 * crypt/Makefile: Likewise.
18353 * libio/Makefile: Likewise.
18354 * string/Makefile: Likewise.
18355 * nis/Makefile: Likewise.
18356 * resolv/Makefile: Likewise.
18357 * stdio-common/Makefile: Likewise.
18358 * wcsmbs/Makefile: Likewise.
18359 * dlfcn/Makefile: Likewise.
18360 * posix/Makefile: Likewise.
18363 * timezone/Makefile: Don't install timezone files, just the programs
18366 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18368 * nss/databases.def: Add missing gshadow entry.
18370 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18372 2012-03-06 Marek Polacek <polacek@redhat.com>
18375 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18376 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18377 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18378 * stdio-common/tst-long-dbl-fphex.c: New file.
18380 2012-03-06 David S. Miller <davem@davemloft.net>
18382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18383 (set_obp_int): New function.
18384 (get_obp_int): New function.
18385 (__get_clockfreq_via_dev_openprom): Likewise.
18386 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18387 Avoid unused variable warnings on 'val' and use builtin_expect.
18388 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18390 (INLINE_CLONE_SYSCALL): Likewise.
18392 2012-03-05 David S. Miller <davem@davemloft.net>
18394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18396 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18401 only for |x| >= 40.
18402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18404 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18407 Replace gettimeofday with __vdso_gettimeofday.
18409 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18410 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18411 __vdso_clock_gettime and __vdso_getcpu.
18413 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18414 time with __vdso_time.
18416 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18418 * manual/lang.texi (size_t): Note types to which size_t may be
18419 equivalent with the GNU C Library, but do not describe when
18420 differences between them are significant.
18422 2012-03-05 Andreas Jaeger <aj@suse.de>
18424 * sysdeps/i386/fpu/libm-test-ulps: Update.
18426 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18429 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18430 (__ieee754_pow): Save and restore rounding mode and use
18431 round-to-nearest for main computations.
18432 * math/libm-test.inc (pow_test_tonearest): New function.
18433 (pow_test_towardzero): Likewise.
18434 (pow_test_downward): Likewise.
18435 (pow_test_upward): Likewise.
18436 (main): Call the new functions.
18437 * sysdeps/i386/fpu/libm-test-ulps: Update.
18438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18441 * math/libm-test.inc (cosh_test_tonearest): New function.
18442 (cosh_test_towardzero): Likewise.
18443 (cosh_test_downward): Likewise.
18444 (cosh_test_upward): Likewise.
18445 (sinh_test_tonearest): Likewise.
18446 (sinh_test_towardzero): Likewise.
18447 (sinh_test_downward): Likewise.
18448 (sinh_test_upward): Likewise.
18449 (main): Call the new functions.
18450 * sysdeps/i386/fpu/libm-test-ulps: Update.
18451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18453 2012-03-05 Tom de Vries <tom@codesourcery.com>
18455 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18456 default stack guard is set in last bytes.
18457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18459 2012-03-05 Kees Cook <keescook@chromium.org>
18461 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18464 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18465 possibly allocate from heap instead of stack.
18466 * stdio-common/bug-vfprintf-nargs.c: New file.
18467 * stdio-common/Makefile (tests): Add nargs overflow test.
18469 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18473 2012-03-03 Marek Polacek <polacek@redhat.com>
18475 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18476 * math/math_private.h: Likewise.
18477 * stdlib/tst-strtod.c: Likewise.
18478 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18479 * sysdeps/x86_64/bits/atomic.h: Likewise.
18481 2012-03-02 David S. Miller <davem@davemloft.net>
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18487 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18488 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18489 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18490 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18492 2012-03-02 Roland McGrath <roland@hack.frob.com>
18495 * manual/examples/README: New file, says the example source files
18496 can be used under GPL>=2.
18497 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18498 line containing just "*/".
18499 * manual/examples/add.c: Add copyright header (GPL>=2).
18500 * manual/examples/argp-ex1.c: Likewise.
18501 * manual/examples/argp-ex2.c: Likewise.
18502 * manual/examples/argp-ex3.c: Likewise.
18503 * manual/examples/argp-ex4.c: Likewise.
18504 * manual/examples/atexit.c: Likewise.
18505 * manual/examples/db.c: Likewise.
18506 * manual/examples/dir.c: Likewise.
18507 * manual/examples/dir2.c: Likewise.
18508 * manual/examples/execinfo.c: Likewise.
18509 * manual/examples/filecli.c: Likewise.
18510 * manual/examples/filesrv.c: Likewise.
18511 * manual/examples/fmtmsgexpl.c: Likewise.
18512 * manual/examples/genpass.c: Likewise.
18513 * manual/examples/inetcli.c: Likewise.
18514 * manual/examples/inetsrv.c: Likewise.
18515 * manual/examples/isockad.c: Likewise.
18516 * manual/examples/longopt.c: Likewise.
18517 * manual/examples/memopen.c: Likewise.
18518 * manual/examples/memstrm.c: Likewise.
18519 * manual/examples/mkfsock.c: Likewise.
18520 * manual/examples/mkisock.c: Likewise.
18521 * manual/examples/mygetpass.c: Likewise.
18522 * manual/examples/pipe.c: Likewise.
18523 * manual/examples/popen.c: Likewise.
18524 * manual/examples/rprintf.c: Likewise.
18525 * manual/examples/search.c: Likewise.
18526 * manual/examples/select.c: Likewise.
18527 * manual/examples/setjmp.c: Likewise.
18528 * manual/examples/sigh1.c: Likewise.
18529 * manual/examples/sigusr.c: Likewise.
18530 * manual/examples/stpcpy.c: Likewise.
18531 * manual/examples/strdupa.c: Likewise.
18532 * manual/examples/strftim.c: Likewise.
18533 * manual/examples/strncat.c: Likewise.
18534 * manual/examples/subopt.c: Likewise.
18535 * manual/examples/swapcontext.c: Likewise.
18536 * manual/examples/termios.c: Likewise.
18537 * manual/examples/testopt.c: Likewise.
18538 * manual/examples/testpass.c: Likewise.
18539 * manual/examples/timeval_subtract.c: Likewise.
18542 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18544 * manual/timeval_subtract.c.texi: ... here, new file.
18546 2012-03-02 David S. Miller <davem@davemloft.net>
18548 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18550 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18553 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18554 (__sin): Save and restore rounding mode and use round-to-nearest
18555 for all computations.
18556 (__cos): Save and restore rounding mode and use round-to-nearest
18557 for all computations.
18558 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18560 (tan): Save and restore rounding mode and use round-to-nearest for
18562 * math/libm-test.inc (cos_test_tonearest): New function.
18563 (cos_test_towardzero): Likewise.
18564 (cos_test_downward): Likewise.
18565 (cos_test_upward): Likewise.
18566 (sin_test_tonearest): Likewise.
18567 (sin_test_towardzero): Likewise.
18568 (sin_test_downward): Likewise.
18569 (sin_test_upward): Likewise.
18570 (tan_test_tonearest): Likewise.
18571 (tan_test_towardzero): Likewise.
18572 (tan_test_downward): Likewise.
18573 (tan_test_upward): Likewise.
18574 (main): Call the new functions.
18575 * sysdeps/i386/fpu/libm-test-ulps: Update.
18576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18579 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18580 small n, then large n, before computing and testing k+n.
18581 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18586 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18587 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18594 * math/libm-test.inc (scalbn_test): Add more tests.
18595 (scalbln_test): Likewise.
18597 * manual/filesys.texi (mode_t): Describe constraints on size and
18598 signedness, not exact equivalence to a particular type.
18600 (ino64_t): Likewise.
18602 (nlink_t): Likewise.
18603 (blkcnt_t): Likewise.
18604 (blkcnt64_t): Likewise.
18605 * manual/llio.texi (off_t): Likewise.
18608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18609 (__ieee754_exp): Save and restore rounding mode and use
18610 round-to-nearest for all computations.
18611 * math/libm-test.inc (exp_test_tonearest): New function.
18612 (exp_test_towardzero): Likewise.
18613 (exp_test_downward): Likewise.
18614 (exp_test_upward): Likewise.
18615 (main): Call the new functions.
18616 * sysdeps/i386/fpu/libm-test-ulps: Update.
18617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18619 2012-03-01 Chris Demetriou <cgd@google.com>
18621 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18622 have predictable order.
18624 2012-03-01 David S. Miller <davem@davemloft.net>
18626 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18628 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18629 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18630 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18631 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18633 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18634 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18635 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18637 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18638 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18639 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18640 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18641 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18646 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18649 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18651 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18652 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18653 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18654 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18656 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18657 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18660 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18662 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18663 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18665 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18666 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18667 * sysdeps/sparc/elf/configure: Regenerated.
18669 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18671 * configure.in (AS, LD): Require binutils 2.20 or later.
18672 * configure: Regenerated.
18673 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18674 as required minimum version.
18675 * INSTALL: Regenerated.
18679 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18680 before squaring exponent.
18681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18682 bottom long double and 27 bits of top long double before squaring
18684 * math/libm-test.inc (erfc_test): Add more tests.
18685 * sysdeps/i386/fpu/libm-test-ulps: Update.
18686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18689 2012-03-01 Kai Tietz <ktietz@redhat.com>
18691 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18692 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18693 containing bit-fields.
18694 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18695 * soft-fp/single.h (_FP_UNION_S): Likewise.
18696 * soft-fp/double.h (_FP_UNION_D): Likewise.
18698 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18701 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18702 not include ../strcmp.S.
18703 [USE_AS_STRNCASECMP_L]: Likewise.
18704 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18705 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18706 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18707 (__strncasecmp_l_ia32): Define as alias to
18708 __strncasecmp_l_nonascii.
18711 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18712 * sysdeps/i386/fpu/libm-test-ulps: Update.
18713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18715 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18718 2012-02-29 Jeff Law <law@redhat.com>
18720 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18721 out of bounds read.
18723 2012-02-29 Marek Polacek <polacek@redhat.com>
18726 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18727 * elf/Makefile: Add rules to run tst-unused-dep.out.
18729 2012-02-28 David S. Miller <davem@davemloft.net>
18731 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18732 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18735 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18736 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18738 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18740 * math/libm-test.inc (llround_test): Move one test from
18741 lround_test. Use TEST_f_L in moved test.
18742 (lround_test): Move misplaced test to llround_test. Add testcase
18745 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18747 * sysdeps/x86_64/fpu/e_expf.S: New file.
18748 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18750 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18753 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18754 of remain_len that may cause incomplete multi-byte character and
18756 * posix/bug-regex33.c: New file.
18757 * posix/Makefile (tests): Add bug-regex33.
18759 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18761 * manual/macros.texi: New file.
18762 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18763 * manual/libc.texinfo: Include macros.texi.
18764 * manual/creatute.texi: Likewise.
18765 * manual/install.texi: Likewise.
18766 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18767 @glibcadj{} in references to the GNU C Library.
18768 * manual/charset.texi: Likewise.
18769 * manual/conf.texi: Likewise.
18770 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18771 when not using those macros.
18772 * manual/creature.texi: Likewise.
18773 * manual/crypt.texi: Likewise.
18774 * manual/errno.texi: Likewise.
18775 * manual/filesys.texi: Likewise.
18776 * manual/header.texi: Likewise.
18777 * manual/install.texi: Likewise.
18778 * manual/intro.texi: Likewise.
18779 * manual/io.texi: Likewise.
18780 * manual/job.texi: Likewise.
18781 * manual/lang.texi: Likewise.
18782 * manual/libc.texiinfo: Likewise.
18783 * manual/llio.texi: Likewise.
18784 * manual/locale.texi: Likewise.
18785 * manual/maint.texi: Likewise.
18786 * manual/math.texi: Likewise.
18787 * manual/memory.texi: Likewise.
18788 * manual/message.texi: Likewise.
18789 * manual/nss.texi: Likewise.
18790 * manual/pattern.texi: Likewise.
18791 * manual/process.texi: Likewise.
18792 * manual/resource.texi: Likewise.
18793 * manual/search.texi: Likewise.
18794 * manual/setjmp.texi: Likewise.
18795 * manual/signal.texi: Likewise.
18796 * manual/socket.texi: Likewise.
18797 * manual/startup.texi: Likewise.
18798 * manual/stdio.texi: Likewise.
18799 * manual/string.texi: Likewise.
18800 * manual/sysinfo.texi: Likewise.
18801 * manual/syslog.texi: Likewise.
18802 * manual/terminal.texi: Likewise.
18803 * manual/time.texi: Likewise.
18804 * manual/users.texi: Likewise.
18805 * INSTALL: Regenerated.
18806 * NOTES: Regenerated.
18807 * sysdeps/gnu/errlist.c: Regenerated.
18809 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18811 * include/dirent.h: Include <dirstream.h> before
18814 2012-02-28 David S. Miller <davem@davemloft.net>
18816 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18817 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18818 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18819 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18821 2012-02-27 David S. Miller <davem@davemloft.net>
18823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18825 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18826 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18829 frame pointer instead of stack pointer relative arg slot.
18830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18831 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18832 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18834 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18837 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18839 2012-02-27 David S. Miller <davem@davemloft.net>
18841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18847 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18850 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18852 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18853 later. Allow versions 5-9.
18854 * configure: Regenerated.
18855 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18856 required minimum version and 4.6 as recommended version. Do not
18857 mention bugs in GCC 2.7 and 2.8.
18858 * INSTALL: Regenerated.
18860 2012-02-27 David S. Miller <davem@davemloft.net>
18862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18868 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18872 manipulate bits before adding and subtracting TWO112[sx].
18873 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18875 2012-02-27 Roland McGrath <roland@hack.frob.com>
18878 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18879 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18880 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18881 being in POSIX, because they are in 1003.1-2008.
18883 * rt/tst-aio.c: Include <fcntl.h>.
18884 * rt/tst-aio7.c: Likewise.
18885 * rt/tst-aio64.c: Likewise.
18887 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18889 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18891 * manual/install.texi (--with-headers): Describe headers as
18892 interface headers, not private headers.
18893 (Specific advice for GNU/Linux systems): Describe use of headers
18894 from "make headers_install", not private headers from older
18896 * INSTALL: Regenerated.
18897 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18899 * sysdeps/unix/sysv/linux/configure: Regenerated.
18901 * manual/llio.texi (fclean): Remove documentation.
18903 * manual/Makefile (libc-texi-generated): New variable. Include
18905 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18906 $(libc-texi-generated), not duplicated list of files.
18907 (version.texi, stamp-version): New rules.
18908 (realclean): Remove $(libc-texi-generated), not individual files
18909 from that list. Do not remove dir-add.texinfo.
18910 * manual/libc.texinfo: Comment out uses of edition numbers and
18911 references to printed manual. Remove last-updated dates.
18912 (EDITION): Comment out.
18914 (VERSION, UPDATED): Remove.
18915 (version.texi): Include.
18917 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18919 * sysdeps/posix/spawni.c: Include <signal.h>.
18920 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18921 * sysdeps/pthread/aio_fsync.c: Likewise.
18923 2012-02-26 Ulrich Drepper <drepper@gmail.com>
18925 * conform/Makefile (tests): Run only when not cross-compiling and
18926 when fast-check is not defined.
18928 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18929 * conform/data/limits.h-data: Fixes for POSIX2008.
18930 * conform/run-conformtest.sh: Run all tests.
18931 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18933 * include/bits/dlfcn.h: Likewise.
18934 * include/langinfo.h: Likewise.
18935 * include/monetary.h: Likewise.
18936 * include/sys/poll.h: Likewise.
18938 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18940 * posix/spawn.h: Define __need_sigset_t.
18941 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18942 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18943 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18944 to get sigevent_t only.
18945 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18946 only for __USE_GNU.
18947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18948 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18949 process_vm_writev only for __USE_GNU.
18950 * termios/termios.h: Declare tcgetsid also for POSIX2008.
18952 * conform/Makefile: For now ignore errors from run-conformtest.
18953 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18954 POSIX to avoid namespace pollution. Don't prepend headers.
18955 * conform/data/aio.h-data: Fixes for POSIX testing.
18956 * conform/data/fcntl.h-data: Likewise.
18957 * conform/data/glob.h-data: Likewise.
18958 * conform/data/grp.h-data: Likewise.
18959 * conform/data/pthread.h-data: Likewise.
18960 * conform/data/pwd.h-data: Likewise.
18961 * conform/data/signal.h-data: Likewise.
18962 * conform/data/spawn.h-data: Likewise.
18963 * conform/data/stdio.h-data: Likewise.
18964 * conform/data/stdlib.h-data: Likewise.
18965 * conform/data/stropts.h-data: Likewise.
18966 * conform/data/sys/mman.h-data: Likewise.
18967 * conform/data/sys/stat.h-data: Likewise.
18968 * conform/data/sys/types.h-data: Likewise.
18969 * conform/data/sys/wait.h-data: Likewise.
18970 * conform/data/time.h-data: Likewise.
18971 * conform/data/unistd.h-data: Likewise.
18972 * conform/data/utime.h-data: Likewise.
18974 * io/sys/stat.h: fchmod was always in POSIX.
18975 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18976 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18977 * rt/aio.h: Define __need_timespec before including <time.h>.
18978 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18979 struct. Add forward declaration of pthread_attr_t and use it in
18981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18983 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18984 always remove CLK_TCK definition.
18986 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18988 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18990 2012-02-25 Ulrich Drepper <drepper@gmail.com>
18992 * conform/run-conformtest.sh: New file.
18993 * conform/Makefile: Run run-conformtest for tests.
18994 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18997 * conform/data/uchar.h-data: New file.
18998 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18999 * conform/data/arpa/inet.h-data: Likewise.
19000 * conform/data/assert.h-data: Likewise.
19001 * conform/data/complex.h-data: Likewise.
19002 * conform/data/cpio.h-data: Likewise.
19003 * conform/data/ctype.h-data: Likewise.
19004 * conform/data/dirent.h-data: Likewise.
19005 * conform/data/dlfcn.h-data: Likewise.
19006 * conform/data/errno.h-data: Likewise.
19007 * conform/data/fcntl.h-data: Likewise.
19008 * conform/data/float.h-data: Likewise.
19009 * conform/data/fmtmsg.h-data: Likewise.
19010 * conform/data/fnmatch.h-data: Likewise.
19011 * conform/data/ftw.h-data: Likewise.
19012 * conform/data/glob.h-data: Likewise.
19013 * conform/data/grp.h-data: Likewise.
19014 * conform/data/iconv.h-data: Likewise.
19015 * conform/data/inttypes.h-data: Likewise.
19016 * conform/data/langinfo.h-data: Likewise.
19017 * conform/data/libgen.h-data: Likewise.
19018 * conform/data/limits.h-data: Likewise.
19019 * conform/data/locale.h-data: Likewise.
19020 * conform/data/math.h-data: Likewise.
19021 * conform/data/monetary.h-data: Likewise.
19022 * conform/data/mqueue.h-data: Likewise.
19023 * conform/data/ndbm.h-data: Likewise.
19024 * conform/data/net/if.h-data: Likewise.
19025 * conform/data/netdb.h-data: Likewise.
19026 * conform/data/netinet/in.h-data: Likewise.
19027 * conform/data/nl_types.h-data: Likewise.
19028 * conform/data/poll.h-data: Likewise.
19029 * conform/data/pthread.h-data: Likewise.
19030 * conform/data/pwd.h-data: Likewise.
19031 * conform/data/regex.h-data: Likewise.
19032 * conform/data/sched.h-data: Likewise.
19033 * conform/data/search.h-data: Likewise.
19034 * conform/data/semaphore.h-data: Likewise.
19035 * conform/data/setjmp.h-data: Likewise.
19036 * conform/data/signal.h-data: Likewise.
19037 * conform/data/spawn.h-data: Likewise.
19038 * conform/data/stdarg.h-data: Likewise.
19039 * conform/data/stdio.h-data: Likewise.
19040 * conform/data/stdlib.h-data: Likewise.
19041 * conform/data/string.h-data: Likewise.
19042 * conform/data/strings.h-data: Likewise.
19043 * conform/data/stropts.h-data: Likewise.
19044 * conform/data/sys/ipc.h-data: Likewise.
19045 * conform/data/sys/mman.h-data: Likewise.
19046 * conform/data/sys/msg.h-data: Likewise.
19047 * conform/data/sys/resource.h-data: Likewise.
19048 * conform/data/sys/select.h-data: Likewise.
19049 * conform/data/sys/sem.h-data: Likewise.
19050 * conform/data/sys/shm.h-data: Likewise.
19051 * conform/data/sys/socket.h-data: Likewise.
19052 * conform/data/sys/stat.h-data: Likewise.
19053 * conform/data/sys/statvfs.h-data: Likewise.
19054 * conform/data/sys/time.h-data: Likewise.
19055 * conform/data/sys/timeb.h-data: Likewise.
19056 * conform/data/sys/times.h-data: Likewise.
19057 * conform/data/sys/types.h-data: Likewise.
19058 * conform/data/sys/uio.h-data: Likewise.
19059 * conform/data/sys/un.h-data: Likewise.
19060 * conform/data/sys/utsname.h-data: Likewise.
19061 * conform/data/sys/wait.h-data: Likewise.
19062 * conform/data/syslog.h-data: Likewise.
19063 * conform/data/tar.h-data: Likewise.
19064 * conform/data/termios.h-data: Likewise.
19065 * conform/data/utime.h-data: Likewise.
19066 * conform/data/utmpx.h-data: Likewise.
19067 * conform/data/varargs.h-data: Likewise.
19068 * conform/data/wchar.h-data: Likewise.
19069 * conform/data/wctype.h-data: Likewise.
19070 * conform/data/wordexp.h-data: Likewise.
19072 * include/stropts.h: New file.
19073 * include/uchar.h: New file.
19074 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19075 * include/assert.h: Likewise.
19076 * include/ctype.h: Likewise.
19077 * include/dirent.h: Likewise.
19078 * include/dlfcn.h: Likewise.
19079 * include/fcntl.h: Likewise.
19080 * include/fnmatch.h: Likewise.
19081 * include/glob.h: Likewise.
19082 * include/grp.h: Likewise.
19083 * include/libio.h: Likewise.
19084 * include/locale.h: Likewise.
19085 * include/math.h: Likewise.
19086 * include/net/if.h: Likewise.
19087 * include/netdb.h: Likewise.
19088 * include/netinet/in.h: Likewise.
19089 * include/pthread.h: Likewise.
19090 * include/pwd.h: Likewise.
19091 * include/regex.h: Likewise.
19092 * include/sched.h: Likewise.
19093 * include/search.h: Likewise.
19094 * include/setjmp.h: Likewise.
19095 * include/signal.h: Likewise.
19096 * include/stdio.h: Likewise.
19097 * include/stdlib.h: Likewise.
19098 * include/string.h: Likewise.
19099 * include/sys/cdefs.h: Likewise.
19100 * include/sys/mman.h: Likewise.
19101 * include/sys/msg.h: Likewise.
19102 * include/sys/resource.h: Likewise.
19103 * include/sys/select.h: Likewise.
19104 * include/sys/socket.h: Likewise.
19105 * include/sys/stat.h: Likewise.
19106 * include/sys/statvfs.h: Likewise.
19107 * include/sys/time.h: Likewise.
19108 * include/sys/times.h: Likewise.
19109 * include/sys/uio.h: Likewise.
19110 * include/sys/utsname.h: Likewise.
19111 * include/sys/wait.h: Likewise.
19112 * include/termios.h: Likewise.
19113 * include/time.h: Likewise.
19114 * include/ulimit.h: Likewise.
19115 * include/unistd.h: Likewise.
19116 * include/utime.h: Likewise.
19117 * include/wchar.h: Likewise.
19118 * include/wctype.h: Likewise.
19119 * include/wordexp.h: Likewise.
19121 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19123 * time/time.h: TIME_UTC must be a macro.
19124 Make timespec_get available for ISO C11 only as well.
19126 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19128 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19129 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19131 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19133 * configure.in: Use -o not -a in test for unsupported multi-arch.
19135 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19137 * manual/texinfo.tex: Update to version 2012-01-19.16.
19139 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19141 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19143 2012-02-24 Roland McGrath <roland@hack.frob.com>
19146 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19147 * manual/fdl-1.3.texi: New file.
19148 * manual/fdl-1.1.texi: File removed.
19151 * manual/libc.texinfo (FDL_VERSION): New @set.
19152 Use it for mention of FDL in cover text.
19153 (Documentation License): Use it in @include file name.
19155 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19156 Roland McGrath <roland@hack.frob.com>
19159 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19160 not LONG_LONG_MAX and LONG_LONG_MIN.
19161 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19162 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19164 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19166 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19170 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19171 manipulate bits before adding and subtracting TWO23[sx].
19172 * math/libm-test.inc (nearbyint_test): Add more tests.
19174 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19177 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19178 bits before adding and subtracting TWO23[sx].
19179 * math/libm-test.inc (rint_test): Add more tests.
19180 (rint_test_tonearest): Likewise.
19181 (rint_test_towardzero): Likewise.
19182 (rint_test_downward): Likewise.
19183 (rint_test_upward: Likewise.
19185 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19188 * include/stdc-predef.h: New file. Extracted from features.h.
19189 * include/features.h: Include stdc-predef.h.
19190 * Makefile (headers): Add stdc-predef.h.
19191 * CONFORMANCE (Compiler limitations): Update.
19193 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19195 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19197 2012-02-21 David S. Miller <davem@davemloft.net>
19199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19202 2012-02-20 David S. Miller <davem@davemloft.net>
19204 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19205 using a normal save/restore sequence, rather than allocating a
19206 dummy stack frame just to store a frame pointer and restore.
19207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19209 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19211 * manual/install.texi: Fix stray word in line-wrapped comment.
19213 2012-02-20 David S. Miller <davem@davemloft.net>
19215 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19216 both binutils and gcc support GOTDATA.
19218 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19219 "rd %pc" in the PIC register setup sequences.
19221 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19222 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19223 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19224 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19230 (SYSCALL_ERROR_HANDLER): Likewise.
19231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19234 (SYSCALL_ERROR_HANDLER): Likewise.
19236 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19237 (HAVE_GCC_GOTDATA): New.
19238 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19239 relocation support in both binutils and gcc.
19240 * sysdeps/sparc/elf/configure: Regenerate.
19242 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19243 * sysdeps/sparc/sparc32/elf/configure: Delete.
19244 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19245 * sysdeps/sparc/sparc64/elf/configure: Delete.
19246 * sysdeps/sparc/elf/configure.in: New file.
19247 * sysdeps/sparc/elf/configure: Generate.
19249 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19250 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19251 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19252 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19253 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19255 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19257 * manual/install.texi: Do not mention specific glibc version
19259 * manual/libc.texinfo (VERSION, UPDATED): Update.
19260 (@copying): Use @copyright{} and range of years.
19262 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19265 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19266 [crti.S not in sysdirs] (generated): Do not append.
19267 [crti.S not in sysdirs] (omit-deps): Likewise.
19268 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19269 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19270 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19271 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19272 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19274 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19275 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19276 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19277 * csu/defs.awk: Remove file.
19278 * sysdeps/generic/initfini.c: Likewise.
19279 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19281 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19284 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19286 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19287 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19288 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19291 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19293 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19294 (__EPOLL_PACKED): Define to empty if not defined by
19296 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19300 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19302 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19303 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19305 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19307 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19311 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19313 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19320 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19325 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19327 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19328 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19330 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19332 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19335 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19337 * math/w_acos.c: Use non-signaling floating-point comparisons.
19338 * math/w_acosf.c: Likewise.
19339 * math/w_acosh.c: Likewise.
19340 * math/w_acoshf.c: Likewise.
19341 * math/w_acoshl.c: Likewise.
19342 * math/w_acosl.c: Likewise.
19343 * math/w_asin.c: Likewise.
19344 * math/w_asinf.c: Likewise.
19345 * math/w_asinl.c: Likewise.
19346 * math/w_atanh.c: Likewise.
19347 * math/w_atanhf.c: Likewise.
19348 * math/w_atanhl.c: Likewise.
19349 * math/w_exp2.c: Likewise.
19350 * math/w_exp2f.c: Likewise.
19351 * math/w_exp2l.c: Likewise.
19352 * math/w_j0.c: Likewise.
19353 * math/w_j0f.c: Likewise.
19354 * math/w_j0l.c: Likewise.
19355 * math/w_j1.c: Likewise.
19356 * math/w_j1f.c: Likewise.
19357 * math/w_j1l.c: Likewise.
19358 * math/w_jn.c: Likewise.
19359 * math/w_jnf.c: Likewise.
19360 * math/w_log.c: Likewise.
19361 * math/w_log10.c: Likewise.
19362 * math/w_log10f.c: Likewise.
19363 * math/w_log10l.c: Likewise.
19364 * math/w_log2.c: Likewise.
19365 * math/w_log2f.c: Likewise.
19366 * math/w_log2l.c: Likewise.
19367 * math/w_logf.c: Likewise.
19368 * math/w_logl.c: Likewise.
19369 * math/w_sqrt.c: Likewise.
19370 * math/w_sqrtf.c: Likewise.
19371 * math/w_sqrtl.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19375 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19376 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19378 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19381 * manual/string.texi (strnlen): Use correct parameter name in
19382 equivalent expression.
19384 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19387 * manual/users.texi (seteuid): Consistently use neweuid for
19390 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19393 * manual/nss.texi (Services in the NSS configuration): Correct
19394 list of services in example configuration file.
19396 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19399 * manual/arith.texi: Remove statements about negative zero
19400 behaving identically to zero.
19402 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19405 * manual/install.texi: Do not document upgrading from libc5.
19407 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19410 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19412 2012-02-18 David S. Miller <davem@davemloft.net>
19414 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19415 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19416 %o7 across the call.
19417 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19420 SETUP_PIC_REG_LEAF.
19421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19422 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19423 * sysdeps/sparc/crtn.S: Likewise.
19425 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19427 * aout/Makefile: Remove.
19429 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19432 * manual/examples/argp-ex1.c (main): Format definition in GNU
19434 * manual/examples/argp-ex2.c (main): Likewise.
19435 * manual/examples/argp-ex3.c (main): Likewise.
19436 * manual/examples/argp-ex4.c (main): Likewise.
19437 * manual/examples/longopt.c (main): Use new-style prototype
19439 * manual/examples/strncat.c (main): Specify return type and use
19440 (void) for arguments.
19441 * manual/examples/subopt.c (main): Use char **argv argument.
19443 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19446 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19449 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19452 * manual/string.texi (strchr): Change when strchrnul is
19455 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19458 * manual/locale.texi (setlocale): Document LOCPATH.
19460 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19463 * manual/process.texi (execle): Move @dots{} before last argument.
19465 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19468 * manual/charset.texi (Generic Charset Conversion): Fix typo
19469 (LC_TYPE -> LC_CTYPE).
19471 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19474 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19475 (scalbnf): Likewise.
19476 (scalbnl): Likewise.
19477 (scalbln): Likewise.
19478 (scalblnf): Likewise.
19479 (scalblnl): Likewise.
19480 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19481 (vwarnx): Likewise.
19484 * manual/filesys.texi (telldir): Use braces around return type.
19485 * manual/llio.texi (mmap): Add space after comma.
19486 (mmap64): Likewise.
19487 * manual/math.texi (jn): Use @var{} on parameter names.
19493 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19495 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19497 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19498 (sched_get_priority_max): Likewise.
19499 * manual/signal.texi (sigvec): Add space after comma.
19500 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19502 (if_indextoname): Likewise.
19503 (if_freenameindex): Likewise.
19504 (sendto): Use ',' instead of '.' in prototype.
19505 * manual/startup.texi (syscall): Use @dots{} instead of literal
19507 * manual/stdio.texi (__fpending): Separate initial words of
19508 paragraph from @deftypefun line.
19509 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19511 (vsyslog): Use @var{} on parameter names.
19512 * manual/terminal.texi (stty): Use @var{} on parameter names.
19513 * manual/users.texi (getutmp): Use @var{} on parameter names.
19514 (getutmpx): Likewise.
19516 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19519 * manual/stdio.texi (fopen): Fix typos in description of
19522 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19525 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19526 get clock_id definition.
19528 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19531 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19532 (madvise): Cast every argument to void on its own.
19534 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19537 * manual/startup.texi (Exit Status): Fix typo.
19539 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19542 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19543 * manual/examples/argp-ex2.c: Likewise.
19544 * manual/examples/argp-ex3.c: Likewise.
19546 2012-02-16 Richard Henderson <rth@redhat.com>
19548 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19549 * sysdeps/s390/s390-32/initfini.c: Remove.
19550 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19551 * sysdeps/s390/s390-64/initfini.c: Remove.
19553 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19555 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19556 compiler output for sysdeps/generic/initfini.c.
19557 * sysdeps/sh/elf/initfini.c: Remove file.
19559 2012-02-16 David S. Miller <davem@davemloft.net>
19562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19564 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19565 * sysdeps/sparc/crti.S: New file.
19566 * sysdeps/sparc/crtn.S: New file.
19567 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19568 * sysdeps/sparc/sparc64/Makefile: Likewise.
19570 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19573 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19575 2012-02-15 Roland McGrath <roland@hack.frob.com>
19578 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19580 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19581 (write, read, close): Likewise.
19582 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19584 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19586 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19587 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19588 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19589 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19591 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19595 2012-02-14 Marek Polacek <polacek@redhat.com>
19597 * sysdeps/x86_64/crti.S: New file.
19598 * sysdeps/x86_64/crtn.S: New file.
19599 * sysdeps/x86_64/elf/initfini.c: Remove file.
19601 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19603 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19604 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19605 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19606 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19608 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19612 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19614 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19615 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19616 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19617 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19619 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19623 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19625 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19626 __feraiseexcept instead of feraiseexcept.
19628 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19629 nanosleep invocations.
19630 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19631 strings, and add error checking for a nanosleep invocations.
19633 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19635 Replace FSF snail mail address with URLs, as per GNU coding standards.
19636 Most of the snail mail addresses were wrong anyway, and omitting
19637 them makes the source code easier to maintain. Almost all of the
19638 changes are to license notices and to locale LC_IDENTIFICATION
19639 addresses, except for this one:
19640 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19641 not its snail mail address.
19643 2012-02-09 Richard Henderson <rth@twiddle.net>
19645 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19646 of kernel-features.h.
19648 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19650 2012-02-08 Marek Polacek <polacek@redhat.com>
19652 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19653 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19654 * sysdeps/gnu/_G_config.h: Likewise.
19655 * sysdeps/generic/_G_config.h: Likewise.
19657 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19659 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19663 * sysdeps/powerpc/powerpc32/crti.S: New file.
19664 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19665 * sysdeps/powerpc/powerpc64/crti.S: New file.
19666 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19668 * Makeconfig (have-initfini): Don't set.
19669 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19670 * configure.in (nopic_initfini): Don't substitute.
19671 * config.h.in (HAVE_INITFINI): Don't #undef.
19672 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19673 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19675 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19677 Support crti.S and crtn.S provided directly by architectures.
19678 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19679 [crti.S in sysdirs] (omit-deps): Likewise.
19680 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19681 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19682 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19683 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19684 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19685 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19686 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19687 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19688 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19689 compiler output for sysdeps/generic/initfini.c.
19690 * sysdeps/i386/elf/Makefile: Remove file.
19691 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19693 2012-02-07 Marek Polacek <polacek@redhat.com>
19695 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19696 * sysdeps/gnu/_G_config.h: Likewise.
19697 * sysdeps/mach/hurd/_G_config.h: Likewise.
19699 2012-02-07 Marek Polacek <polacek@redhat.com>
19701 * math/Makefile (tests): Add tst-CMPLX2.
19702 * math/tst-CMPLX2.c: New file.
19704 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19706 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19708 * math/libm-test.inc (jn_test): Add missing L suffix.
19710 2012-02-06 Marek Polacek <polacek@redhat.com>
19712 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19713 * sysdeps/i386/fpu/e_powf.S: Likewise.
19714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19715 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19717 * sysdeps/i386/fpu/e_pow.S: Likewise.
19718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19722 * sysdeps/i386/fpu/e_log2.S: Likewise.
19723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19725 * sysdeps/i386/fpu/e_powl.S: Likewise.
19726 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19729 * sysdeps/i386/fpu/e_logl.S: Likewise.
19730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19731 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19732 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19733 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19734 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19735 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19736 * sysdeps/i386/fpu/e_log.S: Likewise.
19737 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19739 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19740 * sysdeps/i386/fpu/e_logf.S: Likewise.
19741 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19743 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19744 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19746 * sysdeps/i386/fpu/e_log10.S: Likewise.
19747 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19748 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19749 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19750 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19752 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19753 * sysdeps/i386/asm-syntax.h: Likewise.
19754 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19755 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19756 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19757 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19758 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19759 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19760 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19761 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19763 * sysdeps/powerpc/sysdep.h: Likewise.
19764 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19767 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19770 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19772 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19774 * sysdeps/i386/sysdep.h: Include <features.h>.
19775 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19778 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19780 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19782 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19785 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19787 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19788 (SETUP_PIC_REG): Use GET_PC_THUNK.
19789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19792 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19794 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19795 for non-PIC compilation.
19796 (SETUP_PIC_REG): Add .p2align directive.
19797 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19798 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19799 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19800 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19801 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19802 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19805 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19806 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19807 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19808 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19809 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19810 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19811 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19812 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19813 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19814 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19815 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19816 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19818 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19819 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19820 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19825 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19826 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19827 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19829 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19830 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19831 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19839 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19841 * math/tst-CMPLX.c: Include <stdio.h>.
19843 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19845 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19848 * sysdeps/sparc/bits/mathdef.h: Likewise.
19850 2012-01-31 Marek Polacek <polacek@redhat.com>
19852 * libio/libio.h: Don't define _PARAMS.
19853 * locale/programs/config.h: Don't define PARAMS.
19854 * stdlib/strtol_l.c: Likewise.
19855 (__strtol_l): Remove PARAMS from the prototype.
19857 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19859 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19860 names. Just use the correct names. Remove unnecessary wrapper
19862 * malloc/arena.c: Likewise.
19863 * malloc/hooks.c: Likewise.
19865 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19866 ARENA_TEST says not to. Simplify test for creation of a new arena.
19867 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19869 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19871 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19873 (update_get_addr): New function.
19874 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19875 GET_ADDR_MODULE parameter.
19877 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19879 * crypt/cert.c: Remove __STDC__ conditionals.
19880 * crypt/crypt-entry.c: Likewise.
19881 * crypt/crypt_util.c: Likewise.
19882 * libio/filedoalloc.c: Likewise.
19883 * libio/fileops.c: Likewise.
19884 * libio/genops.c: Likewise.
19885 * libio/iofclose.c: Likewise.
19886 * libio/iofdopen.c: Likewise.
19887 * libio/iofopen.c: Likewise.
19888 * libio/iofopen64.c: Likewise.
19889 * libio/iogetdelim.c: Likewise.
19890 * libio/iopopen.c: Likewise.
19891 * libio/obprintf.c: Likewise.
19892 * libio/oldfileops.c: Likewise.
19893 * libio/oldiofclose.c: Likewise.
19894 * libio/oldiofdopen.c: Likewise.
19895 * libio/oldiofopen.c: Likewise.
19896 * libio/oldiopopen.c: Likewise.
19897 * libio/wfiledoalloc.c: Likewise.
19898 * libio/wgenops.c: Likewise.
19899 * locale/programs/xmalloc.c: Likewise.
19900 * misc/syslog.c: Likewise.
19901 * stdio-common/xbug.c: Likewise.
19902 * string/memchr.c: Likewise.
19903 * string/memcmp.c: Likewise.
19904 * string/memrchr.c: Likewise.
19905 * string/rawmemchr.c: Likewise.
19906 * sysdeps/posix/getcwd.c: Likewise.
19907 * time/strftime_l.c: Likewise.
19909 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19911 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19912 * config.make.in (config-cflags-sse2avx): Define.
19913 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19916 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19918 * scripts/config.guess: Update from upstream config git repository.
19919 * scripts/config.sub: Likewise.
19921 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19923 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19925 (R_TILEPRO_*, R_TILEGX_*): New macros.
19927 * scripts/firstversions.awk: Fix bug in version range handling.
19929 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19931 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19933 * include/sys/epoll.h: New file.
19934 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19937 2012-01-28 Ulrich Drepper <drepper@gmail.com>
19939 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19940 Avoid unnecessary __WORDSIZE == 64 test.
19941 (fmaxf): Use VEX format if possible.
19946 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19947 * math/math_private.h: Remove libc_fegetround* and
19949 * sysdeps/i386/configure.in: Check for -msse2avx.
19950 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19951 also if SSE2AVX is defined.
19952 Remove libc_fegetround* and libc_fesetround*.
19953 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19954 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19963 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19965 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19967 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19969 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19971 2012-01-27 Ulrich Drepper <drepper@gmail.com>
19974 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19976 * Makeconfig (libm): Define.
19977 * elf/Makefile: Add rules to build and run tst-relsort1.
19978 * elf/tst-relsort1.c: New file.
19979 * elf/tst-relsort1mod1.c: New file.
19980 * elf/tst-relsort1mod2.c: New file.
19982 2012-01-27 Joseph Myers <joseph@codesourcery.com>
19984 * math/s_ldexp.c: Remove __STDC__ conditionals.
19985 * math/s_ldexpf.c: Likewise.
19986 * math/s_ldexpl.c: Likewise.
19987 * math/s_nextafter.c: Likewise.
19988 * math/s_nexttowardf.c: Likewise.
19989 * math/s_significand.c: Likewise.
19990 * math/s_significandf.c: Likewise.
19991 * math/s_significandl.c: Likewise.
19992 * math/w_jnl.c: Likewise.
19993 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19994 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19995 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19996 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19997 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19999 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20005 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20006 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20007 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20014 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20015 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20016 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20017 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20018 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20019 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20020 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20021 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20022 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20023 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20024 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20027 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20028 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20029 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20033 * sysdeps/ieee754/k_standard.c: Likewise.
20034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20035 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20046 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20047 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20053 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20059 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20065 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20068 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20070 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20073 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20074 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20077 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20079 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20081 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20082 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20084 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20090 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20094 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20095 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20096 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20098 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20099 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20100 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20101 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20104 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20105 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20106 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20108 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20110 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20111 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20112 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20113 * sysdeps/ieee754/s_matherr.c: Likewise.
20114 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20115 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20119 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20121 * crypt/md5.h: Remove __STDC__ conditionals.
20122 * libio/libioP.h: Likewise.
20123 * locale/programs/config.h: Likewise.
20124 * sysdeps/generic/sysdep.h: Likewise.
20125 * sysdeps/i386/asm-syntax.h: Likewise.
20126 * sysdeps/s390/asm-syntax.h: Likewise.
20127 * sysdeps/unix/sysdep.h: Likewise.
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20131 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20133 * libio/libio.h: Remove __STDC__ conditionals.
20134 * malloc/obstack.h: Likewise.
20135 * math/complex.h: Likewise.
20136 * math/math.h: Likewise.
20137 * sysdeps/generic/_G_config.h: Likewise.
20138 * sysdeps/gnu/_G_config.h: Likewise.
20139 * sysdeps/mach/hurd/_G_config.h: Likewise.
20140 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20141 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20142 * sysdeps/sparc/bits/mathdef.h: Likewise.
20144 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20148 Clean up HAS_* macros.
20149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20150 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20160 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20162 * elf/tst-unique3.cc (gets): Remove declaration.
20163 * elf/tst-unique3lib.cc (gets): Likewise.
20164 * elf/tst-unique3lib2.cc (gets): Likewise.
20165 * elf/tst-unique4.cc (gets): Likewise.
20167 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20169 * include/stdio.h: Add C++ protection. Add gets declarations and
20171 * debug/tst-chk1.c: Don't declare gets here.
20172 * stdio-common/tst-gets.c: Likewise.
20174 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20176 * posix/glob: Remove directory.
20178 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20180 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20182 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20184 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20185 of the non-standard EPFNOSUPPORT.
20187 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20189 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20190 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20191 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20193 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20195 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20197 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20199 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20201 * nscd/grpcache.c (cache_addgr): Likewise.
20202 * nscd/hstcache.c (cache_addhst): Likewise.
20203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20204 * nscd/pwdcache.c (cache_addpw): Likewise.
20205 * nscd/servicescache.c (cache_addserv): Likewise.
20207 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20209 * malloc/malloc.c: Various cleanups.
20210 * malloc/hooks.c: Likewise.
20212 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20213 * stdlib/bug-fmtmsg1.c: New file.
20215 * stdlib/fmtmsg.c (init): Add missing unlock.
20216 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20218 2012-01-12 Marek Polacek <polacek@redhat.com>
20220 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20223 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20225 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20226 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20227 macro to ensure uniqueness of label name.
20228 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20229 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20231 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20235 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20236 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20240 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20244 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20245 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20248 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20250 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20251 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20255 * math/bits/math-finite.h: Add ldexp support.
20257 2012-01-10 Marek Polacek <polacek@redhat.com>
20259 * locale/programs/localedef.h (show_archive_content): Add noreturn
20262 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20266 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20268 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20270 * io/Makefile (headers): Add bits/poll2.h.
20272 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20275 typo #include statement.
20277 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20279 * include/sys/cdefs.h: Define __attribute_alloc_size.
20280 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20281 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20282 * elf/pldd.c: Likewise.
20283 * iconv/iconv_charmap.c: Likewise.
20284 * iconv/iconvconfig.c: Likewise.
20285 * iconv/strtab.c: Likewise.
20286 * locale/programs/locale.c: Likewise.
20287 * locale/programs/localedef.h: Likewise.
20288 * locale/programs/simple-hash.c: Likewise.
20289 * nscd/nscd.h: Likewise.
20290 * nss/makedb.c: Likewise.
20291 * sysdeps/generic/ldconfig.h: Likewise.
20292 * locale/programs/localedef.c: Remove xmalloc prototype.
20293 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20295 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20297 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20300 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20302 * math/Makefile (tests): Add tst-CMPLX.
20303 * math/tst-CMPLX.c: New file.
20305 * math/complex.h (CMPLXL): Fix typo.
20307 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20308 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20310 * debug/tst-chk1.c: Add poll and ppoll tests.
20311 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20312 * include/sys/poll.h: Add hidden proto for ppoll.
20313 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20314 * sysdeps/mach/hurd/ppoll.c: Likewise.
20315 * io/ppoll.c: Likewise.
20316 * debug/poll_chk.c: New file.
20317 * debug/ppoll_chk.c: New file.
20318 * include/bits/poll2.h: New file.
20319 * io/bits/poll2.h: New file.
20322 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20324 * configure.in: static is always set to yes. Remove.
20325 * config.make.in: Don't set build-static.
20326 * Makeconfig: Remove use of build-static.
20327 * dlfcn/Makefile: Likewise.
20328 * elf/Makefile: Likewise.
20329 * math/Makefile: Likewise.
20330 * misc/Makefile: Likewise.
20331 * nptl/Makefile: Likewise.
20332 * sysdeps/mach/hurd/Makefile: Likewise.
20334 * configure.in: PWD_P is not used anymore.
20335 * config.make.in: Remove PWD_P entry.
20337 * configure.in: Remove last remnants of RANLIB.
20338 No need to check for signed size_t anymore.
20339 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20341 Remove __builtin_expect test because we require at least gcc 3.4.
20342 * aclocal.m4: Likewise.
20344 * wcsmbs/mbrtoc16.c: Implement using towc function.
20345 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20346 * wcsmbs/wcsmbsload.c: Likewise.
20347 * iconv/gconv_simple.c: Likewise.
20348 * iconv/gconv_int.h: Likewise.
20349 * iconv/gconv_builtin.h: Likewise.
20350 * iconv/iconv_prog.c: Remove CHAR16 handling.
20352 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20354 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20356 * configure.in: Remove --with-elf and --enable-bounded options.
20357 Dont set base_machine for ia64. More non-ELF conditions removed.
20358 Remove testing and setting of leading underscore information.
20359 * config.make.in (build-bounded): Set to no.
20360 * config.h.in: Remove NO_UNDERSCORES entry.
20361 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20363 * csu/start.c: Remove !NO_UNDERSCORE code.
20364 * locale/localeinfo.h: Likewise.
20365 * sysdeps/generic/machine-gmon.h: Likewise.
20366 * sysdeps/generic/sysdep.h: Likewise.
20367 * sysdeps/i386/sysdep.h: Likewise.
20368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20369 * sysdeps/mach/sysdep.h: Likewise.
20370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20372 * sysdeps/sh/sysdep.h: Likewise.
20373 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20374 * sysdeps/unix/i386/sysdep.S: Likewise.
20375 * sysdeps/unix/sparc/start.c: Likewise.
20376 * sysdeps/unix/sparc/sysdep.S: Likewise.
20377 * sysdeps/unix/sparc/sysdep.h: Likewise.
20378 * sysdeps/unix/start.c: Likewise.
20379 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20380 * sysdeps/x86_64/sysdep.h: Likewise.
20382 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20385 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20387 * argp/argp-fmtstream.h: Use const instead __const.
20388 * argp/argp.h: Likewise.
20389 * assert/assert.h: Likewise.
20390 * bits/fenv.h: Likewise.
20391 * bits/sched.h: Likewise.
20392 * bits/sigset.h: Likewise.
20393 * bits/sigthread.h: Likewise.
20394 * catgets/nl_types.h: Likewise.
20395 * conform/data/pthread.h-data: Likewise.
20396 * crypt/crypt-private.h: Likewise.
20397 * crypt/crypt.h: Likewise.
20398 * crypt/crypt_util.c: Likewise.
20399 * ctype/ctype.h: Likewise.
20400 * debug/execinfo.h: Likewise.
20401 * debug/mbsnrtowcs_chk.c: Likewise.
20402 * debug/mbsrtowcs_chk.c: Likewise.
20403 * debug/wcsnrtombs_chk.c: Likewise.
20404 * debug/wcsrtombs_chk.c: Likewise.
20405 * debug/wcstombs_chk.c: Likewise.
20406 * dirent/dirent.h: Likewise.
20407 * dlfcn/dlfcn.h: Likewise.
20408 * elf/neededtest4.c: Likewise.
20409 * grp/grp.h: Likewise.
20410 * gshadow/gshadow.h: Likewise.
20411 * iconv/gconv.h: Likewise.
20412 * iconv/gconv_int.h: Likewise.
20413 * iconv/gconv_simple.c: Likewise.
20414 * iconv/iconv.h: Likewise.
20415 * iconv/loop.c: Likewise.
20416 * iconv/skeleton.c: Likewise.
20417 * include/aio.h: Likewise.
20418 * include/aliases.h: Likewise.
20419 * include/argz.h: Likewise.
20420 * include/arpa/inet.h: Likewise.
20421 * include/assert.h: Likewise.
20422 * include/dirent.h: Likewise.
20423 * include/dlfcn.h: Likewise.
20424 * include/execinfo.h: Likewise.
20425 * include/fcntl.h: Likewise.
20426 * include/fenv.h: Likewise.
20427 * include/glob.h: Likewise.
20428 * include/grp.h: Likewise.
20429 * include/libintl.h: Likewise.
20430 * include/mntent.h: Likewise.
20431 * include/netdb.h: Likewise.
20432 * include/pwd.h: Likewise.
20433 * include/rpc/netdb.h: Likewise.
20434 * include/sched.h: Likewise.
20435 * include/search.h: Likewise.
20436 * include/shadow.h: Likewise.
20437 * include/signal.h: Likewise.
20438 * include/stdio.h: Likewise.
20439 * include/stdlib.h: Likewise.
20440 * include/string.h: Likewise.
20441 * include/sys/socket.h: Likewise.
20442 * include/sys/stat.h: Likewise.
20443 * include/sys/statfs.h: Likewise.
20444 * include/sys/statvfs.h: Likewise.
20445 * include/sys/syslog.h: Likewise.
20446 * include/sys/time.h: Likewise.
20447 * include/sys/uio.h: Likewise.
20448 * include/time.h: Likewise.
20449 * include/unistd.h: Likewise.
20450 * include/utmp.h: Likewise.
20451 * include/wchar.h: Likewise.
20452 * include/wctype.h: Likewise.
20453 * inet/aliases.h: Likewise.
20454 * inet/arpa/inet.h: Likewise.
20455 * inet/netinet/ether.h: Likewise.
20456 * inet/netinet/in.h: Likewise.
20457 * intl/libintl.h: Likewise.
20458 * io/bits/fcntl2.h: Likewise.
20459 * io/fcntl.h: Likewise.
20460 * io/ftw.h: Likewise.
20461 * io/sys/poll.h: Likewise.
20462 * io/sys/stat.h: Likewise.
20463 * io/sys/statfs.h: Likewise.
20464 * io/sys/statvfs.h: Likewise.
20465 * io/utime.h: Likewise.
20466 * libio/bits/stdio.h: Likewise.
20467 * libio/bits/stdio2.h: Likewise.
20468 * libio/libio.h: Likewise.
20469 * libio/libioP.h: Likewise.
20470 * libio/stdio.h: Likewise.
20471 * locale/lc-ctype.c: Likewise.
20472 * locale/locale.h: Likewise.
20473 * login/utmp.h: Likewise.
20474 * malloc/arena.c: Likewise.
20475 * malloc/malloc.c: Likewise.
20476 * malloc/malloc.h: Likewise.
20477 * malloc/mcheck.c: Likewise.
20478 * malloc/mtrace.c: Likewise.
20479 * math/bits/mathcalls.h: Likewise.
20480 * math/fenv.h: Likewise.
20481 * math/math_private.h: Likewise.
20482 * misc/bits/error.h: Likewise.
20483 * misc/bits/syslog.h: Likewise.
20484 * misc/err.h: Likewise.
20485 * misc/error.h: Likewise.
20486 * misc/fstab.h: Likewise.
20487 * misc/mntent.h: Likewise.
20488 * misc/regexp.h: Likewise.
20489 * misc/search.h: Likewise.
20490 * misc/sgtty.h: Likewise.
20491 * misc/sys/mman.h: Likewise.
20492 * misc/sys/syslog.h: Likewise.
20493 * misc/sys/uio.h: Likewise.
20494 * misc/sys/xattr.h: Likewise.
20495 * misc/ttyent.h: Likewise.
20496 * nis/rpcsvc/ypclnt.h: Likewise.
20497 * nss/nss.h: Likewise.
20498 * posix/bits/unistd.h: Likewise.
20499 * posix/fnmatch.h: Likewise.
20500 * posix/glob.h: Likewise.
20501 * posix/sched.h: Likewise.
20502 * posix/spawn.h: Likewise.
20503 * posix/sys/wait.h: Likewise.
20504 * posix/unistd.h: Likewise.
20505 * posix/wordexp.h: Likewise.
20506 * pwd/pwd.h: Likewise.
20507 * resolv/netdb.h: Likewise.
20508 * resource/sys/resource.h: Likewise.
20509 * rt/aio.h: Likewise.
20510 * rt/bits/mqueue2.h: Likewise.
20511 * rt/mqueue.h: Likewise.
20512 * shadow/shadow.h: Likewise.
20513 * signal/signal.h: Likewise.
20514 * socket/send.c: Likewise.
20515 * socket/sendto.c: Likewise.
20516 * socket/sys/socket.h: Likewise.
20517 * stdio-common/printf.h: Likewise.
20518 * stdlib/bits/stdlib.h: Likewise.
20519 * stdlib/fmtmsg.h: Likewise.
20520 * stdlib/monetary.h: Likewise.
20521 * stdlib/stdlib.h: Likewise.
20522 * stdlib/ucontext.h: Likewise.
20523 * streams/stropts.h: Likewise.
20524 * string/argz.h: Likewise.
20525 * string/bits/string2.h: Likewise.
20526 * string/string.h: Likewise.
20527 * string/strings.h: Likewise.
20528 * sunrpc/rpc/auth.h: Likewise.
20529 * sunrpc/rpc/auth_des.h: Likewise.
20530 * sunrpc/rpc/clnt.h: Likewise.
20531 * sunrpc/rpc/netdb.h: Likewise.
20532 * sunrpc/rpc/pmap_clnt.h: Likewise.
20533 * sunrpc/rpc/xdr.h: Likewise.
20534 * sysdeps/generic/inttypes.h: Likewise.
20535 * sysdeps/generic/net/if.h: Likewise.
20536 * sysdeps/generic/sys/swap.h: Likewise.
20537 * sysdeps/gnu/net/if.h: Likewise.
20538 * sysdeps/gnu/utmpx.h: Likewise.
20539 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20540 * sysdeps/i386/i486/bits/string.h: Likewise.
20541 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20542 * sysdeps/s390/bits/string.h: Likewise.
20543 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20544 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20545 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20546 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20547 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20548 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20549 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20550 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20551 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20552 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20553 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20554 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20555 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20556 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20557 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20558 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20559 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20561 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20564 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20565 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20566 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20567 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20568 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20569 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20571 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20573 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20574 * sysvipc/sys/ipc.h: Likewise.
20575 * sysvipc/sys/msg.h: Likewise.
20576 * sysvipc/sys/sem.h: Likewise.
20577 * sysvipc/sys/shm.h: Likewise.
20578 * termios/termios.h: Likewise.
20579 * time/sys/time.h: Likewise.
20580 * time/time.h: Likewise.
20581 * wcsmbs/bits/wchar2.h: Likewise.
20582 * wcsmbs/uchar.h: Likewise.
20583 * wcsmbs/wchar.h: Likewise.
20584 * wctype/wctype.h: Likewise.
20587 * Makeconfig: Remove all but ELF support including AIX support.
20588 * Makerules: Likewise.
20589 * config.h.in: Likewise.
20590 * config.make.in: Likewise.
20591 * configure: Likewise.
20592 * configure.in: Likewise.
20593 * csu/Makefile: Likewise.
20594 * csu/version.c: Likewise.
20595 * debug/Makefile: Likewise.
20596 * dlfcn/Makefile: Likewise.
20597 * elf/Makefile: Likewise.
20598 * extra-lib.mk: Likewise.
20599 * iconv/Makefile: Likewise.
20600 * include/libc-symbols.h: Likewise.
20601 * include/shlib-compat.h: Likewise.
20602 * resolv/Makefile: Likewise.
20603 * resolv/res_libc.c: Likewise.
20604 * rt/Makefile: Likewise.
20605 * sysdeps/i386/asm-syntax.h: Likewise.
20606 * sysdeps/i386/sysdep.h: Likewise.
20607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20608 * sysdeps/mach/sysdep.h: Likewise.
20609 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20610 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20611 * sysdeps/s390/asm-syntax.h: Likewise.
20612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20614 * sysdeps/sh/sysdep.h: Likewise.
20615 * sysdeps/unix/sparc/sysdep.h: Likewise.
20616 * sysdeps/wordsize-32/divdi3.c: Likewise.
20617 * sysdeps/x86_64/sysdep.h: Likewise.
20619 * argp/Versions: Remove _argp_unlock_xxx.
20622 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20623 * abilist/libBrokenLocale.abilist: Likewise.
20624 * abilist/libanl.abilist: Likewise.
20625 * abilist/libc.abilist: Likewise.
20626 * abilist/libcrypt.abilist: Likewise.
20627 * abilist/libdl.abilist: Likewise.
20628 * abilist/libm.abilist: Likewise.
20629 * abilist/libnsl.abilist: Likewise.
20630 * abilist/libpthread.abilist: Likewise.
20631 * abilist/libresolv.abilist: Likewise.
20632 * abilist/librt.abilist: Likewise.
20633 * abilist/libthread_db.abilist: Likewise.
20634 * abilist/libutil.abilist: Likewise.
20635 * abilist/libnss_db.abilist: New file.
20637 * scripts/abilist.awk: Add support for indirect functions.
20639 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20641 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20643 * shlib-versions: Remove entries for ports architectures.
20645 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20647 * elf/stackguard-macros.h: Remove support for IA-64.
20648 * elf/tst-auditmod1.c: Likewise.
20649 * sysdeps/generic/ldsodefs.h: Likewise.
20651 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20652 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20656 * configure.in: Remove --enable-omitfp support.
20658 * config.make.in: Likewise.
20659 * Makeconfig: Likewise.
20660 * manual/install.texi: Likewise.
20662 In case anyone cares, the IA-64 architecture could move to ports.
20663 * sysdeps/ia64/*: Removed.
20664 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20665 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20668 * configure.in: Remove entries for unsupported architectures.
20671 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20672 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20674 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20675 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20676 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20677 fall back to using wcrtomb.
20678 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20679 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20681 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20682 * wcsmbs/tst-c16c32-1.c: New file.
20684 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20687 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20689 * elf/tst-unique3.cc: Add explicit declaration of gets.
20690 * elf/tst-unique3lib.cc: Likewise.
20691 * elf/tst-unique3lib2.cc: Likewise.
20692 * elf/tst-unique4.cc: Likewise.
20694 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20696 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20699 * assert/assert.h (static_assert): Don't define for C++.
20700 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20701 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20703 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20705 * iconv/loop.c (single loop): Fix assertion in storing of
20708 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20710 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20712 * posix/getconf.c: Update copyright year.
20713 * nss/getent.c: Likewise.
20714 * nss/makedb.c: Likewise.
20715 * iconv/iconvconfig.c: Likewise.
20716 * iconv/iconv_prog.c: Likewise.
20717 * elf/ldconfig.c: Likewise.
20718 * elf/pldd.c: Likewise.
20719 * elf/sotruss.ksh: Likewise.
20720 * catgets/gencat.c: Likewise.
20721 * csu/version.c: Likewise.
20722 * elf/ldd.bash.in: Likewise.
20723 * elf/sprof.c (print_version): Likewise.
20724 * locale/programs/locale.c: Likewise.
20725 * locale/programs/localedef.c: Likewise.
20726 * login/programs/pt_chown.c: Likewise.
20727 * nscd/nscd.c (print_version): Likewise.
20728 * debug/xtrace.sh: Likewise.
20729 * malloc/memusage.sh: Likewise.
20730 * malloc/mtrace.pl: Likewise.
20731 * debug/catchsegv.sh: Likewise.
20733 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20735 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20738 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20741 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20742 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20744 * iconv/gconv_int.h: Likewise.
20745 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20746 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20747 from libc for GLIBC_2.16.
20748 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20749 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20750 * wcsmbs/uchar.h: Really define mbstate_t.
20751 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20752 * wcsmbs/c16rtomb.c: New file.
20753 * wcsmbs/mbrtoc16.c: New file.
20754 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20755 for C/POSIX locale.
20756 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20757 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20759 * wcsmbs/wchar.h: Add missing __restrict.
20761 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20764 * time/Makefile (routines): Add timespec_get.
20765 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20766 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20767 timespec for ISO C11.
20768 * time/timespec_get.c: New file.
20769 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20770 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20773 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20774 * stdlib/stdlib.h: Declare aligned_alloc.
20775 * Versions.def: Add GLIBC_2.16 for libc.
20776 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20779 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20782 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20786 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20789 * assert/assert.h (static_assert): Define.
20791 * version.h: Update for 2.16 development version.
20794 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20797 * version.h (RELEASE): Bump for 2.15 release.
20798 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20800 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20801 Patch by Marek Polacek <mpolacek@redhat.com>.
20803 * bits/byteswap.h: Protect long long constants with __extension__.
20804 * sysdeps/i386/bits/byteswap.h: Likewise.
20805 * sysdeps/ia64/bits/byteswap.h: Likewise.
20806 * sysdeps/s390/bits/byteswap.h: Likewise.
20807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20809 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20813 destination buffer.
20814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20816 2011-12-23 Marek Polacek <polacek@redhat.com>
20818 * elf/dl-addr.c (determine_info): Add inline keyword.
20819 * elf/tst-auditmod4b.c (check_avx): Likewise.
20820 * elf/tst-auditmod6b.c (check_avx): Likewise.
20821 * elf/tst-auditmod6c.c (check_avx): Likewise.
20822 * elf/tst-auditmod7b.c (check_avx): Likewise.
20824 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20826 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20829 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20833 processing for last bytes.
20835 2011-08-06 Bruno Haible <bruno@clisp.org>
20838 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20839 U+0385, not to U+1FEE.
20842 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20843 entry for U+00A5 U+0301.
20845 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20848 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20849 buffer for the output is too small.
20851 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20855 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20856 SSE flags if possible.
20858 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20862 processing for last bytes.
20864 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20866 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20867 (syscall-list-default-options, syscall-list-default-condition)
20868 (syscall-list-includes): Define.
20869 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20870 list of ABIs and options and #if conditions for each ABI. Do not
20871 handle common syscalls between ABIs specially.
20872 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20874 (syscall-list-variants, syscall-list-32bit-options)
20875 (syscall-list-32bit-condition, syscall-list-64bit-options)
20876 (syscall-list-64bit-condition): Define.
20877 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20878 (syscall-list-variants, syscall-list-32bit-options)
20879 (syscall-list-32bit-condition, syscall-list-64bit-options)
20880 (syscall-list-64bit-condition): Define.
20881 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20883 (syscall-list-variants, syscall-list-32bit-options)
20884 (syscall-list-32bit-condition, syscall-list-64bit-options)
20885 (syscall-list-64bit-condition): Define.
20886 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20888 (syscall-list-variants, syscall-list-32bit-options)
20889 (syscall-list-32bit-condition, syscall-list-64bit-options)
20890 (syscall-list-64bit-condition): Define.
20892 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20894 * locale/iso-639.def: Add brx entry.
20897 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20898 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20900 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20901 __feraiseexcept_renamed.
20903 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20906 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20907 EPOLLET with unsigned values.
20908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20911 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20912 to large cancellation.
20913 * math/s_cacoshf.c: Likewise.
20914 * math/s_cacoshl.c: Likewise.
20916 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20920 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20921 * math/s_cacoshf.c: Likewise.
20922 * math/s_cacoshl.c: Likewise.
20924 2011-12-21 Ulrich Drepper <drepper@gmail.com>
20927 * iconv/gconv.h: Define __GCONV_SWAP.
20928 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20929 * iconvdata/utf-16.c: Likewise.
20930 * iconvdata/utf-32.c: Likewise.
20932 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20935 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20936 numerator after shifting it by one limb.
20938 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20940 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20941 under [__USE_EXTERN_INLINES].
20943 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20946 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20948 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20950 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20951 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20953 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20955 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20956 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20957 for strncasecmp/strncasecmp_l compilation.
20958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20959 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20961 2011-12-08 Marek Polacek <mpolacek@redhat.com>
20964 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20967 2011-12-17 Ulrich Drepper <drepper@gmail.com>
20970 * time/tzfile.c (__tzfile_read): Check values from file header.
20972 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20974 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20975 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20976 * powerpc/powerpc32/dl-start.S: Likewise.
20977 * powerpc/powerpc32/elf/start.S: Likewise.
20978 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20979 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20980 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20981 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20982 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20983 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20984 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20985 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20986 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20987 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20988 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20989 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20990 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20991 * powerpc/powerpc32/memset.S: Likewise.
20992 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20993 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20994 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20995 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20996 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20997 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20998 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20999 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21000 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21001 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21002 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21003 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21004 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21006 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21008 * math/libm-test.inc: Added more nearbyint tests.
21009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21011 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21014 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21016 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21019 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21021 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21022 Add wcscpy-ssse3 wcscpy-c.
21023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21024 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21025 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21026 * sysdeps/x86_64/wcschr.S: New file.
21027 * sysdeps/x86_64/wcsrchr.S: New file.
21028 * string/test-strcmp.c: Remove checking of wcscmp function for
21030 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21031 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21032 wcsrchr-sse2 wcsrchr-c.
21033 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21034 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21035 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21036 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21037 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21038 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21039 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21040 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21042 * wcsmbc/wcschr.c (WCSCHR): New macro.
21044 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21046 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21047 * wcsmbs/test-wcsrchr.c: New file.
21048 * string/test-strrchr.c: Add wcsrchr support.
21050 * wcsmbs/test-wcscpy.c: New file.
21051 * string/test-strcpy.c: Add wcscpy support.
21054 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21056 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21059 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21062 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21064 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21067 Minor optimizations.
21069 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21070 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21071 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21073 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21075 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21076 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21077 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21078 for gcc to avoid warnings.
21079 * inet/Makefile (tests): Add tst-checks.
21080 * inet/tst-checks.c: New file.
21082 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21085 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21088 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21089 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21091 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21093 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21095 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21098 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21100 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21102 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21103 conditional on GCC version.
21104 (__arch_compare_and_exchange_val_8_acq)
21105 (__arch_compare_and_exchange_val_16_acq)
21106 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21107 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21108 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21110 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21112 * sysdeps/sh/backtrace.c: New file.
21114 2011-12-02 Andreas Schwab <schwab@redhat.com>
21116 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21119 2011-12-01 Andreas Schwab <schwab@redhat.com>
21121 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21122 falling back to utime.
21124 2011-11-30 Andreas Schwab <schwab@redhat.com>
21126 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21127 expectations for float.
21129 2011-11-29 Andreas Schwab <schwab@redhat.com>
21131 * locale/weight.h (findidx): Add parameter len.
21132 * locale/weightwc.h (findidx): Likewise.
21133 * posix/fnmatch_loop.c (FCT): Adjust caller.
21134 * posix/regcomp.c (build_equiv_class): Likewise.
21135 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21136 * posix/regexec.c (check_node_accept_bytes): Likewise.
21137 * string/strcoll_l.c (STRCOLL): Likewise.
21138 * string/strxfrm_l.c (STRXFRM): Likewise.
21140 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21142 * Makefile.in: Remove CVSOPT handling.
21143 * configure.in: Remove use of AC_REVISION.
21144 * iconvdata/Makefile (distribute): No need to filter out CVS.
21145 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21148 2011-11-16 Andreas Schwab <schwab@redhat.com>
21150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21151 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21152 [USE_AS_STRNCASECMP_L]: Likewise.
21153 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21154 NO_TLS_DIRECT_SEG_REFS.
21155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21156 Fix argument offsets for non-PIC.
21157 [USE_AS_STRNCASECMP_L]: Likewise.
21158 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21159 NO_TLS_DIRECT_SEG_REFS.
21161 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21163 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21165 * locale/loadlocale.c (_nl_load_locale): Likewise.
21167 2011-11-15 Andreas Schwab <schwab@redhat.com>
21169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21170 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21172 (SYSCALL_GETTIME): Set errno on error.
21174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21175 count references to noai6ai_cached.
21177 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21179 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21181 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21182 FD_CLOEXEC for /proc/self/maps.
21184 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21185 FD_CLOEXEC for /proc/meminfo.
21187 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21190 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21191 FD_CLOEXEC for given file.
21193 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21195 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21196 FD_CLOEXEC for /etc/hosts.
21197 (_gethtent): Likewise.
21199 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21201 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21202 cancellation and set FD_CLOEXEC for /etc/netgroup.
21204 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21205 reading /etc/publickey.
21207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21208 allow cancellation when reading /etc/group.
21210 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21212 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21214 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21215 when using data file.
21217 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21219 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21220 (write_nis_obj): Use "c" and "e" in fopen.
21222 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21224 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21226 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21228 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21230 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21233 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21235 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21237 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21239 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21240 file parsing and set FD_CLOEXEC.
21242 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21244 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21246 2011-11-14 Andreas Schwab <schwab@redhat.com>
21248 * malloc/arena.c (arena_get2): Don't call reused_arena when
21249 _int_new_arena failed.
21251 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21253 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21254 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21255 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21256 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21259 to compile strcasecmp and strncasecmp.
21260 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21261 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21265 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21267 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21268 locale-defines.sym to gen-as-const-headers.
21269 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21270 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21272 to compile strcasecmp and strncasecmp.
21273 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21274 strcasecmp_l and strncasecmp_l.
21275 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21276 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21277 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21278 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21279 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21280 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21281 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21282 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21283 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21284 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21285 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21287 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21289 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21290 result of SYSDEP_GETTIME_CPU to retval.
21291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21292 parameter list to macro. Remove trailing semicolon. Adjust users.
21294 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21297 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21299 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21302 from unused variable.
21304 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21306 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21309 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21312 * sunrpc/rpc_prot.c (rejected): Fix case value.
21314 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21315 unsigned long long int to avoid warnings in shift.
21317 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21319 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21322 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21323 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21326 * nis/nis_table.c (nis_list): Use variable of correct type for
21327 result of __follow_path call.
21329 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21331 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21332 of math functions ceil, trunc, floor, round, and sqrt, when
21333 avaliable on the platform.
21334 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21336 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21338 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21340 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21342 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21345 2011-11-11 Roland McGrath <roland@hack.frob.com>
21347 * include/unistd.h: Fix __readlink return type.
21348 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21350 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21352 * stdlib/ucontext.h: Undo last change for makecontext.
21354 2011-11-11 Andreas Schwab <schwab@redhat.com>
21356 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21358 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21359 * setjmp/setjmp.h: Mark functions as non-leaf.
21360 * setjmp/bits/setjmp2.h: Likewise.
21361 * stdlib/ucontext.h: Likewise.
21363 2011-11-10 Andreas Schwab <schwab@redhat.com>
21365 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21366 (reused_arena): Don't check arena limit.
21367 (arena_get2): Atomically check arena limit.
21369 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21371 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21372 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21377 2011-11-07 Andreas Schwab <schwab@redhat.com>
21379 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21380 handler when locking.
21382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21383 Fix size of allocated buffer.
21385 2011-11-04 Andreas Schwab <schwab@redhat.com>
21388 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21389 declarations for long double functions.
21390 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21392 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21394 2011-11-03 Andreas Schwab <schwab@redhat.com>
21396 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21399 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21402 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21404 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21406 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21408 * include/alloca.h (stackinfo_alloca_round): Define.
21409 (extend_alloca): Use it.
21410 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21411 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21414 * scripts/check-local-headers.sh: Ignore libaudit.h.
21416 * nscd/Makefile (extra-objs): Make recursively expanded.
21418 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21420 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21423 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21424 * posix/tst-rfc3484-2.c: Likewise.
21425 * posix/tst-rfc3484-3.c: Likewise.
21427 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21429 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21431 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21432 process_vm_writev from libc using GLIBC_2.15 version.
21434 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21436 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21438 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21441 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21444 * nss/getent.c (initgroups_keys): Show error message in case no group
21447 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21448 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21449 __bump_nl_timestamp.
21450 * nscd/connections (nscd_init): When host database is served open
21451 netlink socket and request notification about configuration changes.
21452 (main_loop_poll): Track netlink file descriptor and bump timestamp
21453 in case data becomes available.
21454 (main_loop_epoll): Likewise.
21455 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21456 (database_pers_head): Add extra_data fileds.
21457 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21459 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21462 in6ai data, call __free_in6ai.
21463 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21464 Add -DHAVE_NETLINK.
21465 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21466 interface information. Reuse previous data if netlink timestamp
21468 (__bump_nl_timestamp): New function.
21469 (__free_in6ai): New function.
21471 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21473 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21474 close_not_cancel_no_status here.
21475 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21477 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21480 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21483 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21484 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21485 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21487 2011-07-03 Andreas Jaeger <aj@suse.de>
21490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21491 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21492 * math/libm-test.inc (sin_test): Add test case.
21494 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21497 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21500 * elf/chroot_canon.c (chroot_canon): Cleanups.
21502 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21505 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21506 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21508 * string/test-strchr.c: Make usable for strchrnul testing.
21509 * string/test-strchrnul.c: New file.
21510 * string/Makefile (strop-tests): Add strchrnul.
21512 * po/it.po: Update from translation team.
21513 * po/es.po: Likewise.
21515 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21518 the three constants needed as parameters. Drop the others.
21519 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21520 __m128i_strloadu_tolower.
21521 Create and initialize variable zero and use it in all the places
21522 where _mm_setzero_si128 was used.
21524 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21525 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21526 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21529 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21530 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21531 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21532 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21533 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21534 __mpranred, __mptan.
21535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21542 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21543 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21545 2011-10-28 Andreas Schwab <schwab@redhat.com>
21547 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21548 redefine if SHARED.
21549 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21552 wide char related routines to wcsmbs subdir.
21554 2011-10-27 Andreas Schwab <schwab@redhat.com>
21557 * misc/sys/cdefs.h (__THROWNL): Define.
21558 * posix/unistd.h: Use __THREADNL instead of __THREAD
21559 for memory synchronization functions.
21561 2011-10-26 Roland McGrath <roland@hack.frob.com>
21564 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21566 * manual/stdio.texi (Obstack Streams): Node removed.
21568 2011-10-26 Andreas Schwab <schwab@redhat.com>
21570 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21571 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21574 * math/math_private.h (math_force_eval): Allow non-addressable
21576 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21578 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21581 file is not needed.
21583 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21585 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21586 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21590 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21592 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21593 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21594 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21595 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21596 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21597 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21598 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21599 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21600 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21601 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21602 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21603 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21607 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21608 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21609 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21610 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21612 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21613 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21616 place. Use VEX encoding when compiling for AVX.
21618 2011-10-25 Andreas Schwab <schwab@redhat.com>
21620 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21621 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21623 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21625 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21627 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21628 useless if() expression.
21629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21630 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21640 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21642 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21645 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21647 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21649 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21651 2011-10-25 Andreas Schwab <schwab@redhat.com>
21653 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21655 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21657 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21659 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21660 .text section. Avoid duplicate constants.
21661 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21669 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21670 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21671 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21672 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21673 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21674 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21675 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21677 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21681 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21682 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21683 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21684 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21685 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21690 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21701 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21702 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21703 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21707 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21709 * sysdeps/x86_64/dla.h: Move to ...
21710 * sysdeps/x86_64/fpu/dla.h: ...here.
21711 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21712 situations. Use __builtin_fma only for gcc 4.6 and up.
21714 * config.make.in: Add have-mfma4 entry.
21715 * configure.in: Substitute libc_cv_cc_fma4.
21716 * math/Makefile (dbl-only-routines): Add sincostab.
21717 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21718 Use __sincostab not sincos.
21719 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21726 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21727 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21728 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21729 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21732 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21734 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21735 define aliases when function name is a macro.
21736 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21737 sysdeps/ieee754/dbl-64/sincos.tbl.
21738 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21739 fma4-enabled routines.
21740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21741 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21742 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21743 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21744 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21745 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21749 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21750 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21752 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21753 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21755 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21756 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21757 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21758 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21760 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21761 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21771 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21782 2011-10-24 Andreas Schwab <schwab@redhat.com>
21784 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21786 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21790 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21794 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21795 Remove unused variable magic_bits.
21796 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21798 * string/strnlen.c: Define and use STRNLEN macro.
21799 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21800 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21802 * wcsmbs/wcslen.c: Define and use WCSLEN.
21803 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21804 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21805 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21806 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21807 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21808 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21811 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21814 strnlen-sse2-no-bsf.
21815 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21817 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21818 Add strnlen support.
21819 (USE_AS_STRNLEN): New macro.
21820 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21821 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21822 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21823 * sysdeps/x86_64/wcslen.S: New file.
21825 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21828 XMM-moves are used for copying on small sizes.
21830 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21832 * wcsmbs/Makefile (strop-tests): Add wcschr.
21833 * wcsmbs/test-wcschr.c: New file.
21834 * string/test-strchr.c: Update.
21835 Add wcschr support.
21838 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21840 * wcsmbs/Makefile (strop-tests): Add wcslen.
21841 * wcsmbs/test-wcslen.c: New file.
21842 * string/test-strlen.c: Update.
21843 Add wcslen support.
21846 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21848 * po/it.po: Update from translation team.
21850 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21852 * sysdeps/x86_64/wcscmp.S: Update.
21853 Fix wrong comparison semantics.
21854 wcscmp shall use signed comparison not unsigned.
21855 Don't use substraction to avoid overflow bug.
21856 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21857 * wcsmbc/wcscmp.c: Likewise.
21858 * string/test-strcmp.c: Likewise.
21859 Add new tests to check cases with negative values.
21861 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21863 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21864 * sysdeps/x86_64/dla.h: ...here. New file.
21865 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21869 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21875 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21878 __ynl_finite aliases.
21880 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21884 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21886 [DLA_FMA] (EMULV): Use DLA_FMA.
21887 [DLA_FMA] (MUL12): Use EMULV.
21888 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21889 that are not needed.
21890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21898 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21900 * math/s_nan.c: Undef __nan.
21901 * math/s_nanf.c: Undef __nanf.
21902 * math/s_nanl.c: Undef __nanl.
21903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21906 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21908 * math/s_catan.c: Add branch predictions.
21909 * math/s_catanf.c: Likewise.
21910 * math/s_catanh.c: Likewise.
21911 * math/s_catanhf.c: Likewise.
21912 * math/s_catanhl.c: Likewise.
21913 * math/s_catanl.c: Likewise.
21914 * math/s_cexp.c: Likewise.
21915 * math/s_cexpf.c: Likewise.
21916 * math/s_cexpl.c: Likewise.
21917 * math/s_clog.c: Likewise.
21918 * math/s_clog10.c: Likewise.
21919 * math/s_clog10f.c: Likewise.
21920 * math/s_clog10l.c: Likewise.
21921 * math/s_clogf.c: Likewise.
21922 * math/s_clogl.c: Likewise.
21923 * math/s_csqrt.c: Likewise.
21924 * math/s_csqrtf.c: Likewise.
21925 * math/s_csqrtl.c: Likewise.
21926 * math/s_ctanf.c: Likewise.
21927 * math/s_ctanh.c: Likewise.
21928 * math/s_ctanhf.c: Likewise.
21929 * math/s_ctanhl.c: Likewise.
21930 * math/s_ctanl.c: Likewise.
21932 * math/math_private.h: Define __nan, __nanf, __nanl.
21933 * math/s_cacosh.c: Include <math_private.h>.
21934 * math/s_cacoshl.c: Likewise.
21935 * math/s_casinh.c: Likewise.
21936 * math/s_casinhf.c: Likewise.
21937 * math/s_casinhl.c: Likewise.
21938 * math/s_ccos.c: Rely entire on ccosh.
21939 * math/s_ccosf.c: Rely entire on ccoshf.
21940 * math/s_ccosl.c: Rely entirely on ccoshl.
21941 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21942 Remove tests for FE_INVALID.
21943 * math/s_ccoshf.c: Likewise.
21944 * math/s_ccoshl.c: Likewise.
21945 * math/s_csin.c: Likewise.
21946 * math/s_csinf.c: Likewise.
21947 * math/s_csinh.c Likewise.
21948 * math/s_csinhf.c: Likewise.
21949 * math/s_csinhl.c: Likewise.
21950 * math/s_csinl.c: Likewise.
21951 * math/s_ctan.c: Likewise.
21952 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21953 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21954 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21956 2011-10-21 Ulrich Drepper <drepper@gmail.com>
21958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21959 compilation problems.
21961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21964 2011-10-20 Ulrich Drepper <drepper@gmail.com>
21966 * sysdeps/i386/configure.in: Test for -mfma4 option.
21967 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21968 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21969 COMMON_CPUID_INDEX_80000001.
21970 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21971 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21972 use it if FMA3 is not supported.
21973 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21975 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21976 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21978 2011-10-20 Andreas Schwab <schwab@redhat.com>
21981 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21982 it would create a cycle with a link time dependency.
21984 2011-10-19 Ulrich Drepper <drepper@gmail.com>
21986 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21988 * string/Makefile (strop-tests): Add rawmemchr.
21989 * string/test-rawmemchr.c: New file.
21991 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21993 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21994 when compiling str{,n}casecmp and when AVX is available. Hook up
21995 new optimized code in initializers.
21997 2011-10-19 Andreas Schwab <schwab@redhat.com>
21999 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22000 __feraiseexcept instead of feraiseexcept.
22002 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22004 * math/math_private.h: Define defaults for libc_fetestexcept and
22006 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22007 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22008 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22009 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22011 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22012 libc_fetestexcept and libc_feupdateenv.
22014 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22015 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22016 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22017 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22018 libc_feholdexcept_setround.
22020 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22021 Add s_nearbyint-c and s_nearbyintf-c.
22022 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22023 nearbyintf inlines.
22024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22026 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22029 * math/math_private.h: Define defaults for libc_fegetround,
22030 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22031 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22032 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22034 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22035 standard functions.
22036 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22037 Remove comments and hacks for old compiler versions.
22038 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22039 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22040 libc_feholdexceptl.
22042 2011-10-18 Andreas Schwab <schwab@redhat.com>
22044 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22045 (__feraiseexcept_renamed): Add __NTH.
22046 (feraiseexcept): Add __NTH. Rename local variables to fix
22047 namespace violations.
22049 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22051 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22053 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22055 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22056 recently added interfaces.
22057 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22059 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22060 about macro parameter expansion.
22062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22063 __NO_MATH_INLINES is defined. Cleanups.
22065 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22066 and __floorf is target has SSE4.1.
22067 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22068 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22069 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22072 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22074 (floorf): Likewise.
22076 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22078 2011-10-17 Andreas Schwab <schwab@redhat.com>
22080 * misc/sys/cdefs.h: Fix last change.
22082 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22085 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22087 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22089 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22098 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22099 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22100 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22101 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22102 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22103 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22104 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22105 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22106 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22107 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22108 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22110 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22112 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22113 ceil, ceilf, floor, floorf.
22115 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22116 Perform IRELATIVE relocations last.
22118 * elf/do-rel.h: Add another parameter nrelative, replacing the
22119 local variable with the same name. Change name of the function
22120 to end in Rel or Rela (uppercase).
22121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22122 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22123 elf_dynamic_do_##reloc function.
22125 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22127 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22128 is sufficient, at least on modern CPUs.
22130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22132 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22133 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22135 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22137 * math/bits/math-finite.h: Add entries for exp.
22138 * math/e_expl.c: Add __*_finite alias.
22139 * sysdeps/i386/fpu/e_exp.S: Likewise.
22140 * sysdeps/i386/fpu/e_expf.S: Likewise.
22141 * sysdeps/i386/fpu/e_expl.c: Likewise.
22142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22143 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22146 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22150 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22151 is sufficient, at least on modern CPUs.
22153 * ctype/ctype-info.c (__ctype_init): Define.
22154 * include/ctype.h (__ctype_init): Declare.
22155 (__ctype_b_loc): The variable is always initialized.
22156 (__ctype_toupper_loc): Likewise.
22157 (__ctype_tolower_loc): Likewise.
22158 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22159 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22161 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22163 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22165 * configure.in: Also look in $cxxmachine/include for C++ system
22168 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22170 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22171 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22172 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22173 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22175 (USE_AS_WMEMCMP): New macro.
22177 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22178 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22179 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22180 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22182 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22183 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22184 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22185 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22186 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22187 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22188 (USE_AS_WMEMCMP): New macro.
22189 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22190 * sysdeps/string/test-memcmp.c: Update.
22191 Fix simple_wmemcmp.
22193 * wcsmbs/wmemcmp.c: Update.
22194 (WMEMCMP): New macro.
22197 2011-10-12 Andreas Jaeger <aj@suse.de>
22200 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22202 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22204 * libio/iofwide.c (do_length): Avoid warning.
22206 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22208 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22210 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22212 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22213 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22214 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22215 * sysdeps/i386/i686/fpu/e_log.S: New file.
22216 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22217 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22219 * ctype/ctype.h: Add support for inlined isXXX functions when
22220 compiling C++ code.
22222 2011-10-14 Andreas Schwab <schwab@redhat.com>
22224 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22226 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22228 2011-10-13 Roland McGrath <roland@hack.frob.com>
22231 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22233 2011-10-13 Andreas Schwab <schwab@redhat.com>
22235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22236 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22239 * sysdeps/x86_64/memrchr.S: Check for zero size.
22241 * string/stratcliff.c: Add memrchr tests.
22243 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22246 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22247 rawmemchr-sse2 rawmemchr-sse2-bsf.
22248 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22249 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22250 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22251 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22252 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22253 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22254 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22255 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22256 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22257 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22258 * string/memrchr.c (MEMRCHR): New macro.
22260 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22262 Add integration with gcc's -ffinite-math-only and optimize wrapper
22264 * Versions.def: Define GLIBC_2.15 version for libm.
22265 * math/Makefile (headers): Add bits/math-finite.h.
22266 * math/bits/math-finite.h: New file.
22267 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22268 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22269 * math/e_acoshl.c: Add __*_finite alias.
22270 * math/e_acosl.c: Likewise.
22271 * math/e_asinl.c: Likewise.
22272 * math/e_atan2l.c: Likewise.
22273 * math/e_atanhl.c: Likewise.
22274 * math/e_coshl.c: Likewise.
22275 * math/e_exp10.c: Likewise.
22276 * math/e_exp10f.c: Likewise.
22277 * math/e_exp10l.c: Likewise.
22278 * math/e_exp2l.c: Likewise.
22279 * math/e_fmodl.c: Likewise.
22280 * math/e_gammal_r.c: Likewise.
22281 * math/e_hypotl.c: Likewise.
22282 * math/e_j0l.c: Likewise.
22283 * math/e_j1l.c: Likewise.
22284 * math/e_jnl.c: Likewise.
22285 * math/e_lgammal_r.c: Likewise.
22286 * math/e_log10l.c: Likewise.
22287 * math/e_log2l.c: Likewise.
22288 * math/e_logl.c: Likewise.
22289 * math/e_powl.c: Likewise.
22290 * math/e_sinhl.c: Likewise.
22291 * math/e_sqrtl.c: Likewise.
22292 * math/e_scalb.c: Completely rewritten and optimized.
22293 * math/e_scalbf.c: Likewise.
22294 * math/e_scalbl.c: Likewise.
22295 * math/w_acos.c: Likewise.
22296 * math/w_acosf.c: Likewise.
22297 * math/w_acosl.c: Likewise.
22298 * math/w_acosh.c: Likewise.
22299 * math/w_acoshf.c: Likewise.
22300 * math/w_acoshl.c: Likewise.
22301 * math/w_asin.c: Likewise.
22302 * math/w_asinf.c: Likewise.
22303 * math/w_asinl.c: Likewise.
22304 * math/w_atan2.c: Likewise.
22305 * math/w_atan2f.c: Likewise.
22306 * math/w_atan2l.c: Likewise.
22307 * math/w_atanh.c: Likewise.
22308 * math/w_atanhf.c: Likewise.
22309 * math/w_atanhl.c: Likewise.
22310 * math/w_exp10.c: Likewise.
22311 * math/w_exp10f.c: Likewise.
22312 * math/w_exp10l.c: Likewise.
22313 * math/w_fmod.c: Likewise.
22314 * math/w_fmodf.c: Likewise.
22315 * math/w_fmodl.c: Likewise.
22316 * math/w_j0.c: Likewise.
22317 * math/w_j0f.c: Likewise.
22318 * math/w_j0l.c: Likewise.
22319 * math/w_j1.c: Likewise.
22320 * math/w_j1f.c: Likewise.
22321 * math/w_j1l.c: Likewise.
22322 * math/w_jn.c: Likewise.
22323 * math/w_jnf.c: Likewise.
22324 * math/w_log.c: Likewise.
22325 * math/w_logf.c: Likewise.
22326 * math/w_logl.c: Likewise.
22327 * math/w_log10.c: Likewise.
22328 * math/w_log10f.c: Likewise.
22329 * math/w_log10l.c: Likewise.
22330 * math/w_log2.c: Likewise.
22331 * math/w_log2f.c: Likewise.
22332 * math/w_log2l.c: Likewise.
22333 * math/w_pow.c: Likewise.
22334 * math/w_powf.c: Likewise.
22335 * math/w_powl.c: Likewise.
22336 * math/w_remainder.c: Likewise.
22337 * math/w_remainderf.c: Likewise.
22338 * math/w_remainderl.c: Likewise.
22339 * math/w_scalb.c: Likewise.
22340 * math/w_scalbf.c: Likewise.
22341 * math/w_scalbl.c: Likewise.
22342 * math/w_sqrt.c: Likewise.
22343 * math/w_sqrtf.c: Likewise.
22344 * math/w_sqrtl.c: Likewise.
22345 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22346 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22348 * math/math_private.h: Declare __kernel_standard_f.
22349 * math/w_cosh.c: Remove cruft and optimize a bit.
22350 * math/w_coshf.c: Likewise.
22351 * math/w_coshl.c: Likewise.
22352 * math/w_exp2.c: Likewise.
22353 * math/w_exp2f.c: Likewise.
22354 * math/w_exp2l.c: Likewise.
22355 * math/w_hypot.c: Likewise.
22356 * math/w_hypotf.c: Likewise.
22357 * math/w_hypotl.c: Likewise.
22358 * math/w_lgamma.c: Likewise.
22359 * math/w_lgamma_r.c: Likewise.
22360 * math/w_lgammaf.c: Likewise.
22361 * math/w_lgammaf_r.c: Likewise.
22362 * math/w_lgammal.c: Likewise.
22363 * math/w_lgammal_r.c: Likewise.
22364 * math/w_sinh.c: Likewise.
22365 * math/w_sinhf.c: Likewise.
22366 * math/w_sinhl.c: Likewise.
22367 * math/w_tgamma.c: Likewise.
22368 * math/w_tgammaf.c: Likewise.
22369 * math/w_tgammal.c: Likewise.
22370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22371 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22372 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22373 Minor optimizations. Pretty printing. Remove cruft.
22374 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22378 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22379 * sysdeps/i386/fpu/e_asin.S: Likewise.
22380 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22381 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22382 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22383 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22385 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22387 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22388 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22389 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22390 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22391 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22392 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22393 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22394 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22395 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22396 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22397 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22398 * sysdeps/i386/fpu/e_log.S: Likewise.
22399 * sysdeps/i386/fpu/e_log10.S: Likewise.
22400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22401 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22402 * sysdeps/i386/fpu/e_log2.S: Likewise.
22403 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22404 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22405 * sysdeps/i386/fpu/e_logf.S: Likewise.
22406 * sysdeps/i386/fpu/e_logl.S: Likewise.
22407 * sysdeps/i386/fpu/e_pow.S: Likewise.
22408 * sysdeps/i386/fpu/e_powf.S: Likewise.
22409 * sysdeps/i386/fpu/e_powl.S: Likewise.
22410 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22411 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22412 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22413 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22415 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22416 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22417 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22418 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22445 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22447 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22448 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22450 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22453 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22454 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22455 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22456 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22460 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22461 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22463 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22464 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22465 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22466 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22471 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22474 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22475 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22476 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22477 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22478 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22480 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22484 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22486 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22489 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22490 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22491 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22493 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22496 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22500 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22501 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22502 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22504 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22506 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22508 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22510 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22512 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22513 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22514 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22515 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22516 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22517 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22518 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22519 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22520 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22521 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22522 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22524 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22527 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22529 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22530 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22531 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22532 (__isnanf): Likewise.
22533 (__isinf_ns): Likewise.
22534 (__isinf_nsf): Likewise.
22535 (__finite): Likewise.
22536 (__finitef): Likewise.
22537 (__ieee754_sqrt): Define as macro.
22538 (__ieee754_sqrtf): Define as macro.
22539 (__ieee754_sqrtl): Define as macro.
22540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22542 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22543 __FINITE_MATH_ONLY__ consistent.
22544 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22546 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22548 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22553 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22555 * po/ja.po: Update from translation team.
22557 2011-10-08 Roland McGrath <roland@hack.frob.com>
22559 * locale/programs/locarchive.c (prepare_address_space): New function.
22560 (create_archive, enlarge_archive, open_archive): Use it.
22562 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22563 inside [SHARED], where it is used.
22565 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22567 * nss/getent.c (netgroup_keys): Remove unused variable.
22568 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22570 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22572 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22573 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22575 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22576 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22577 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22578 * math/Makefile (libm-calls): Add s_isinf_ns.
22579 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22580 * math/multc3.c: Likewise.
22581 * math/s_casin.c: Likewise.
22582 * math/s_casinf.c: Likewise.
22583 * math/s_casinl.c: Likewise.
22584 * math/s_ccos.c: Likewise.
22585 * math/s_ccosf.c: Likewise.
22586 * math/s_ccosl.c: Likewise.
22587 * math/s_ctan.c: Likewise.
22588 * math/s_ctanf.c: Likewise.
22589 * math/s_ctanh.c: Likewise.
22590 * math/s_ctanhf.c: Likewise.
22591 * math/s_ctanhl.c: Likewise.
22592 * math/s_ctanl.c: Likewise.
22593 * math/w_fmod.c: Likewise.
22594 * math/w_fmodf.c: Likewise.
22595 * math/w_fmodl.c: Likewise.
22596 * math/w_remainder.c: Likewise.
22597 * math/w_remainderf.c: Likewise.
22598 * math/w_remainderl.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22600 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22603 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22604 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22605 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22606 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22608 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22610 * stdio-common/printf_fphex.c: Likewise.
22611 * stdio-common/printf_size.c: Likewise.
22613 * math/e_exp10.c: Include math_private.h using <...> not "...".
22614 * math/e_exp10f.c: Likewise.
22615 * math/e_exp10l.c: Likewise.
22616 * math/e_exp2l.c: Likewise.
22617 * math/e_j0l.c: Likewise.
22618 * math/e_j1l.c: Likewise.
22619 * math/e_jnl.c: Likewise.
22620 * math/e_lgammal_r.c: Likewise.
22621 * math/e_rem_pio2l.c: Likewise.
22622 * math/e_scalb.c: Likewise.
22623 * math/e_scalbf.c: Likewise.
22624 * math/e_scalbl.c: Likewise.
22625 * math/k_cosl.c: Likewise.
22626 * math/k_sinl.c: Likewise.
22627 * math/k_tanl.c: Likewise.
22628 * math/s_cacoshf.c: Likewise.
22629 * math/s_catan.c: Likewise.
22630 * math/s_catanf.c: Likewise.
22631 * math/s_catanh.c: Likewise.
22632 * math/s_catanhf.c: Likewise.
22633 * math/s_catanhl.c: Likewise.
22634 * math/s_catanl.c: Likewise.
22635 * math/s_ccosh.c: Likewise.
22636 * math/s_ccoshf.c: Likewise.
22637 * math/s_ccoshl.c: Likewise.
22638 * math/s_cexp.c: Likewise.
22639 * math/s_cexpf.c: Likewise.
22640 * math/s_cexpl.c: Likewise.
22641 * math/s_clog.c: Likewise.
22642 * math/s_clog10.c: Likewise.
22643 * math/s_clog10f.c: Likewise.
22644 * math/s_clog10l.c: Likewise.
22645 * math/s_clogf.c: Likewise.
22646 * math/s_clogl.c: Likewise.
22647 * math/s_csin.c: Likewise.
22648 * math/s_csinf.c: Likewise.
22649 * math/s_csinh.c: Likewise.
22650 * math/s_csinhf.c: Likewise.
22651 * math/s_csinhl.c: Likewise.
22652 * math/s_csinl.c: Likewise.
22653 * math/s_csqrt.c: Likewise.
22654 * math/s_csqrtf.c: Likewise.
22655 * math/s_csqrtl.c: Likewise.
22656 * math/s_ctan.c: Likewise.
22657 * math/s_ctanf.c: Likewise.
22658 * math/s_ctanh.c: Likewise.
22659 * math/s_ctanhf.c: Likewise.
22660 * math/s_ctanhl.c: Likewise.
22661 * math/s_ctanl.c: Likewise.
22662 * math/s_ldexp.c: Likewise.
22663 * math/s_ldexpf.c: Likewise.
22664 * math/s_ldexpl.c: Likewise.
22665 * math/s_significand.c: Likewise.
22666 * math/s_significandf.c: Likewise.
22667 * math/s_significandl.c: Likewise.
22668 * math/w_acos.c: Likewise.
22669 * math/w_acosf.c: Likewise.
22670 * math/w_acosh.c: Likewise.
22671 * math/w_acoshf.c: Likewise.
22672 * math/w_acoshl.c: Likewise.
22673 * math/w_acosl.c: Likewise.
22674 * math/w_asin.c: Likewise.
22675 * math/w_asinf.c: Likewise.
22676 * math/w_asinl.c: Likewise.
22677 * math/w_atan2.c: Likewise.
22678 * math/w_atan2f.c: Likewise.
22679 * math/w_atan2l.c: Likewise.
22680 * math/w_atanh.c: Likewise.
22681 * math/w_atanhf.c: Likewise.
22682 * math/w_atanhl.c: Likewise.
22683 * math/w_cosh.c: Likewise.
22684 * math/w_coshf.c: Likewise.
22685 * math/w_coshl.c: Likewise.
22686 * math/w_dremf.c: Likewise.
22687 * math/w_exp10.c: Likewise.
22688 * math/w_exp10f.c: Likewise.
22689 * math/w_exp10l.c: Likewise.
22690 * math/w_exp2.c: Likewise.
22691 * math/w_exp2f.c: Likewise.
22692 * math/w_fmod.c: Likewise.
22693 * math/w_fmodf.c: Likewise.
22694 * math/w_fmodl.c: Likewise.
22695 * math/w_hypot.c: Likewise.
22696 * math/w_hypotf.c: Likewise.
22697 * math/w_hypotl.c: Likewise.
22698 * math/w_j0.c: Likewise.
22699 * math/w_j0f.c: Likewise.
22700 * math/w_j0l.c: Likewise.
22701 * math/w_j1.c: Likewise.
22702 * math/w_j1f.c: Likewise.
22703 * math/w_j1l.c: Likewise.
22704 * math/w_jn.c: Likewise.
22705 * math/w_jnf.c: Likewise.
22706 * math/w_jnl.c: Likewise.
22707 * math/w_lgamma.c: Likewise.
22708 * math/w_lgamma_r.c: Likewise.
22709 * math/w_lgammaf.c: Likewise.
22710 * math/w_lgammaf_r.c: Likewise.
22711 * math/w_lgammal.c: Likewise.
22712 * math/w_lgammal_r.c: Likewise.
22713 * math/w_log.c: Likewise.
22714 * math/w_log10.c: Likewise.
22715 * math/w_log10f.c: Likewise.
22716 * math/w_log10l.c: Likewise.
22717 * math/w_log2.c: Likewise.
22718 * math/w_log2f.c: Likewise.
22719 * math/w_log2l.c: Likewise.
22720 * math/w_logf.c: Likewise.
22721 * math/w_logl.c: Likewise.
22722 * math/w_pow.c: Likewise.
22723 * math/w_powf.c: Likewise.
22724 * math/w_powl.c: Likewise.
22725 * math/w_remainder.c: Likewise.
22726 * math/w_remainderf.c: Likewise.
22727 * math/w_remainderl.c: Likewise.
22728 * math/w_scalb.c: Likewise.
22729 * math/w_scalbf.c: Likewise.
22730 * math/w_scalbl.c: Likewise.
22731 * math/w_sinh.c: Likewise.
22732 * math/w_sinhf.c: Likewise.
22733 * math/w_sinhl.c: Likewise.
22734 * math/w_sqrt.c: Likewise.
22735 * math/w_sqrtf.c: Likewise.
22736 * math/w_sqrtl.c: Likewise.
22737 * math/w_tgamma.c: Likewise.
22738 * math/w_tgammaf.c: Likewise.
22739 * math/w_tgammal.c: Likewise.
22741 * po/ja.po: Update from translation team.
22743 2011-09-29 Andreas Jaeger <aj@suse.de>
22746 * sunrpc/netname.c (netname2host): Fix logic.
22750 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22752 * math/w_remainder.c (__remainder): Likewise.
22753 * math/w_remainderf.c (__remainderf): Likewise.
22754 * math/libm-test.inc (remainder_test): Add test cases.
22756 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22758 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22761 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22763 * string/test-memcmp.c: Avoid unncessary #defines.
22764 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22766 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22768 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22769 Use new sse2 version for core i3 - i7 as it's faster
22770 than sse42 version.
22771 (bit_Prefer_PMINUB_for_stringop): New.
22772 * sysdeps/x86_64/rawmemchr.S: Update.
22773 Replace with faster SSE2 version.
22774 * sysdeps/x86_64/memrchr.S: New file.
22775 * sysdeps/x86_64/memchr.S: Update.
22776 Replace with faster SSE2 version.
22778 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22780 * elf/dl-load.c (lose): Add cast to avoid warning.
22782 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22784 * po/ca.po: Update from translation team.
22786 * inet/getnetgrent_r.c: Hook up nscd.
22787 * nscd/Makefile (routines): Add nscd_netgroup.
22788 (nscd-modules): Add netgroupcache.
22789 (CFLAGS-netgroupcache.c): Define.
22790 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22791 (cache_search): Add const to second parameter.
22792 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22794 (dbs): Add netgrdb entry.
22795 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22796 (verify_persistent_db): Handle netgrdb.
22797 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22798 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22800 (netgroup_response_header): Define.
22801 (innetgroup_response_header): Define.
22802 (datahead): Add netgroup_response_header and innetgroup_response_header
22804 * nscd/nscd.conf: Add entries for netgroup cache.
22805 * nscd/nscd.h (dbtype): Add netgrdb.
22806 (_PATH_NSCD_NETGROUP_DB): Define.
22807 (netgroup_iov_disabled): Declare.
22808 (xmalloc, xcalloc, xrealloc): Move declarations here.
22809 (cache_search): Adjust prototype.
22810 Add netgroup-related prototypes.
22811 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22812 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22813 (__nscd_innetgr): Declare.
22814 * nscd/selinux.c (perms): Use access_vector_t as element type and
22815 add netgroup-related initializers.
22816 * nscd/netgroupcache.c: New file.
22817 * nscd/nscd_netgroup.c: New file.
22818 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22819 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22820 For four parameters use innetgr.
22821 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22822 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22823 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22824 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22826 * nscd/connections.c (register_traced_file): Don't register file
22827 for disabled databases.
22829 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22831 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22833 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22834 from tree and freeing node.
22836 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22838 * nss/nsswitch.c (__nss_database_lookup): Handle
22839 nss_parse_service_list out of memory case.
22841 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22843 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22844 out of memory case.
22846 2011-10-04 Andreas Schwab <schwab@redhat.com>
22848 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22849 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22851 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22852 elf_machine_rela, elf_machine_lazy_rel.
22853 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22854 (ELF_DYNAMIC_DO_REL): Likewise.
22855 (ELF_DYNAMIC_DO_RELA): Likewise.
22856 (ELF_DYNAMIC_RELOCATE): Likewise.
22857 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22858 to ELF_DYNAMIC_DO_REL.
22859 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22860 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22861 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22864 skip_ifunc, don't call ifunc function if non-zero.
22865 (elf_machine_rela): Likewise.
22866 (elf_machine_lazy_rel): Likewise.
22867 (elf_machine_lazy_rela): Likewise.
22868 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22869 (elf_machine_lazy_rel): Likewise.
22870 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22872 (elf_machine_lazy_rel): Likewise.
22873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22875 (elf_machine_lazy_rel): Likewise.
22876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22877 (elf_machine_lazy_rel): Likewise.
22878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22879 (elf_machine_lazy_rel): Likewise.
22880 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22881 (elf_machine_lazy_rel): Likewise.
22882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22883 (elf_machine_lazy_rel): Likewise.
22884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22885 (elf_machine_lazy_rel): Likewise.
22886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22887 (elf_machine_lazy_rel): Likewise.
22889 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22891 * nss/nss_files/files-init.c (_nss_files_init): Use static
22892 initialization for all the *_traced_file variables.
22894 2011-09-28 Andreas Schwab <schwab@redhat.com>
22896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22898 2011-09-27 Roland McGrath <roland@hack.frob.com>
22901 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22903 2011-09-27 Andreas Schwab <schwab@redhat.com>
22905 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22906 Reread the line before reparsing it.
22908 2011-09-26 Andreas Schwab <schwab@redhat.com>
22910 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22912 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22913 Maxim Kuvyrkov <maxim@codesourcery.com>
22914 Joseph Myers <joseph@codesourcery.com>
22916 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22917 if needed for __stack_chk_guard.
22919 2011-09-19 Roland McGrath <roland@hack.frob.com>
22921 * sysdeps/posix/spawni.c (script_execute): Always define it.
22922 It will be optimized away if unused.
22923 (maybe_script_execute): New function.
22924 (__spawni): Call it.
22926 * Makerules: Don't include tls.make.
22927 (config-tls): Always set to thread.
22928 * tls.make.c: File removed.
22930 2011-09-19 Mike Frysinger <vapier@gentoo.org>
22932 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22933 * config.make.in (CPPFLAGS-config): New substituted variable.
22935 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22937 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22940 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22941 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22943 2011-09-15 Roland McGrath <roland@hack.frob.com>
22945 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22946 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22948 (CALL_FAIL): Likewise.
22949 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22950 (CALL_FAIL): Macro removed.
22951 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22953 2011-09-15 Ulrich Drepper <drepper@gmail.com>
22955 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22956 for __FINITE_MATH_ONLY__ == 1.
22958 2011-09-15 Andreas Schwab <schwab@redhat.com>
22960 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22961 __ieee754_sqrt instead of sqrt.
22962 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22963 __ieee754_sqrtf instead of sqrtf.
22964 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22965 __floorf instead of floorf.
22966 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22967 __floorf, __truncf instead of floorf, truncf.
22969 2011-09-14 Ulrich Drepper <drepper@gmail.com>
22971 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22973 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22974 __extern_always_inline.
22975 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22978 2011-09-14 Andreas Schwab <schwab@redhat.com>
22980 * elf/rtld.c (dl_main): Also relocate in dependency order when
22981 doing symbol dependency testing.
22983 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22986 Always define `refsym'.
22988 2011-09-13 Andreas Schwab <schwab@redhat.com>
22990 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22991 (__FD_ELT): Renamed from __FDELT.
22992 * misc/bits/select2.h (__FD_ELT): Likewise.
22993 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22994 __FD_MASK instead of __FDELT, __FDMASK.
22995 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22997 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23000 * elf/Makefile (gen-ldd): Fix pattern.
23002 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23003 (init_tls): Likewise.
23005 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23009 2011-09-12 Andreas Schwab <schwab@redhat.com>
23011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23012 `struct cmsghdr *' instead of `void *'.
23013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23016 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23018 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23020 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23021 ldd_rewrite_script.
23023 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23025 * configure.in: Remove --with-tls option.
23026 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23027 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23028 out in case it is missing.
23029 * sysdeps/ia64/elf/configure.in: Likewise.
23030 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23031 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23032 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23033 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23034 * sysdeps/sh/elf/configure.in: Likewise.
23035 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23036 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23037 * sysdeps/x86_64/elf/configure.in: Likewise.
23038 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23039 * sysdeps/mach/hurd/tls.h: Likewise.
23042 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23045 * configure.in: Fix use of AC_INIT.
23047 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23049 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23051 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23053 * malloc/hooks.c: Likewise.
23056 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23057 variables statically.
23058 (narenas): Initialize.
23059 (list_lock): Initialize.
23060 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23061 initializtion of main_arena and list_lock. Small cleanups.
23062 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23063 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23064 Add initializers to main_arena and mp_.
23065 (malloc_state): Remove pagesize member. Change all users to use
23068 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23069 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23070 is always initialized.
23072 * malloc/malloc.c: Removed unused configurations and dead code.
23073 * malloc/arena.c: Likewise.
23074 * malloc/hooks.c: Likewise.
23075 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23077 * include/tls.h: Removed. USE___THREAD must always be defined.
23078 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23079 * elf/dl-libc.c: Likewise.
23080 * elf/dl-tsd.c: Likewise.
23081 * include/errno.h: Likewise.
23082 * include/netdb.h: Likewise.
23083 * include/resolv.h: Likewise.
23084 * inet/herrno-loc.c: Likewise.
23085 * inet/herrno.c: Likewise.
23086 * malloc/arena.c: Likewise.
23087 * malloc/hooks.c: Likewise.
23088 * malloc/malloc.c: Likewise.
23089 * resolv/res-state.c: Likewise.
23090 * resolv/res_libc.c: Likewise.
23091 * sysdeps/i386/dl-machine.h: Likewise.
23092 * sysdeps/ia64/dl-machine.h: Likewise.
23093 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23094 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23095 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23096 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23097 * sysdeps/sh/dl-machine.h: Likewise.
23098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23100 * sysdeps/unix/i386/sysdep.S: Likewise.
23101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23102 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23107 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23112 * sysdeps/x86_64/dl-machine.h: Likewise.
23113 * tls.make.c: Likewise.
23115 * configure.in: Remove --with-__thread option. Make tests for
23116 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23117 tls_model attribute fail if no support is available. Remove
23119 * Makeconfig: Adjust for dropped configure option. All features are
23121 * Makerules: Likewise.
23122 * Versions.def: Likewise.
23123 * argp/argp-fmtstream.c: Likewise.
23124 * argp/argp-fmtstream.h: Likewise.
23125 * argp/argp-help.c: Likewise.
23126 * assert/assert.c: Likewise.
23127 * config.h.in: Likewise.
23128 * config.make.in: Likewise.
23129 * configure: Likewise.
23130 * configure.in: Likewise.
23131 * csu/Versions: Likewise.
23132 * csu/init.c: Likewise.
23133 * elf/tst-audit2.c: Likewise.
23134 * elf/tst-tls10.c: Likewise.
23135 * elf/tst-tls10.h: Likewise.
23136 * elf/tst-tls11.c: Likewise.
23137 * elf/tst-tls12.c: Likewise.
23138 * elf/tst-tls14.c: Likewise.
23139 * elf/tst-tlsmod11.c: Likewise.
23140 * elf/tst-tlsmod12.c: Likewise.
23141 * elf/tst-tlsmod13.c: Likewise.
23142 * elf/tst-tlsmod13a.c: Likewise.
23143 * elf/tst-tlsmod14a.c: Likewise.
23144 * elf/tst-tlsmod15b.c: Likewise.
23145 * elf/tst-tlsmod16a.c: Likewise.
23146 * elf/tst-tlsmod16b.c: Likewise.
23147 * elf/tst-tlsmod7.c: Likewise.
23148 * elf/tst-tlsmod8.c: Likewise.
23149 * elf/tst-tlsmod9.c: Likewise.
23150 * gmon/gmon.c: Likewise.
23151 * grp/fgetgrent_r.c: Likewise.
23152 * grp/putgrent.c: Likewise.
23153 * hurd/fopenport.c: Likewise.
23154 * include/libc-symbols.h: Likewise.
23155 * include/tls.h: Likewise.
23156 * intl/gettextP.h: Likewise.
23157 * intl/loadinfo.h: Likewise.
23158 * locale/global-locale.c: Likewise.
23159 * locale/localeinfo.h: Likewise.
23160 * mach/devstream.c: Likewise.
23161 * malloc/arena.c: Likewise.
23162 * malloc/set-freeres.c: Likewise.
23163 * misc/err.c: Likewise.
23164 * misc/getttyent.c: Likewise.
23165 * misc/mntent_r.c: Likewise.
23166 * posix/getopt.c: Likewise.
23167 * posix/wordexp.c: Likewise.
23168 * pwd/fgetpwent_r.c: Likewise.
23169 * resolv/Versions: Likewise.
23170 * resolv/res_hconf.c: Likewise.
23171 * shadow/fgetspent_r.c: Likewise.
23172 * shadow/putspent.c: Likewise.
23173 * stdio-common/printf_fphex.c: Likewise.
23174 * stdio-common/tmpfile.c: Likewise.
23175 * stdlib/abort.c: Likewise.
23176 * stdlib/fmtmsg.c: Likewise.
23177 * sunrpc/auth_unix.c: Likewise.
23178 * sunrpc/clnt_perr.c: Likewise.
23179 * sunrpc/clnt_tcp.c: Likewise.
23180 * sunrpc/clnt_udp.c: Likewise.
23181 * sunrpc/clnt_unix.c: Likewise.
23182 * sunrpc/openchild.c: Likewise.
23183 * sunrpc/svc_simple.c: Likewise.
23184 * sunrpc/svc_tcp.c: Likewise.
23185 * sunrpc/svc_udp.c: Likewise.
23186 * sunrpc/svc_unix.c: Likewise.
23187 * sunrpc/xdr.c: Likewise.
23188 * sunrpc/xdr_array.c: Likewise.
23189 * sunrpc/xdr_rec.c: Likewise.
23190 * sunrpc/xdr_ref.c: Likewise.
23191 * sunrpc/xdr_stdio.c: Likewise.
23193 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23195 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23197 2011-07-03 Andreas Jaeger <aj@suse.de>
23199 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23200 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23201 regenerate with gen-libm-tests.pl.
23203 2010-05-12 Petr Baudis <pasky@suse.cz>
23206 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23207 around j0() zero points by switching to j1().
23208 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23213 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23215 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23217 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23220 Patch in part by Pavel Roskin <proski@gnu.org>.
23223 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23225 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23226 Free memory block if necessary.
23229 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23230 be NULL. Don't lock in this case.
23232 2011-09-09 Roland McGrath <roland@hack.frob.com>
23234 * elf/elf.h (ELFOSABI_GNU): New macro.
23235 (ELFOSABI_LINUX): Define to that.
23237 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23239 * string/strncat.c (strncat): Undef the symbol in case it has been
23240 defined in bits/string.h.
23242 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23244 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23246 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23249 2011-08-17 Andreas Jaeger <aj@suse.de>
23251 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23253 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23254 Ian Lance Taylor <iant@google.com>
23256 * math/libm-test.inc (lround_test): New testcase.
23257 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23259 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23261 * Makefile: Remove support for automatic cvs check-ins.
23262 * Makerules: Likewise.
23263 * config.make.in: Likewise.
23264 * configure.in: Likewise.
23265 * intl/Makefile: Likewise.
23266 * locale/Makefile: Likewise.
23267 * po/Makefile: Likewise.
23268 * posix/Makefile: Likewise.
23269 * sysdeps/gnu/Makefile: Likewise.
23270 * sysdeps/mach/hurd/Makefile: Likewise.
23271 * sysdeps/sparc/sparc32/Makefile: Likewise.
23274 * posix/Makefile (bug-regex32-ENV): Define.
23275 Patch by John Stanley <jpsinthemix@verizon.net>.
23277 * misc/Makefile (headers): Add bits/select2.h.
23278 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23279 * misc/bits/select2.h: New file.
23280 * include/bits/select2.h: New file.
23281 * debug/Makefile (routines): Add fdelt_chk.
23282 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23283 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23285 * debug/fdelt_chk.c: New file.
23287 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23288 * wcsmbs/test-wmemcmp.c: Likewise.
23289 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23290 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23292 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23294 * string/Makefile (strop-tests): Add memcmp.
23295 * string/test-wmemcmp.c: New file.
23296 * string/test-memcmp.c: Add wmemcmp support.
23298 2011-09-08 Roland McGrath <roland@hack.frob.com>
23301 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23304 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23305 garbage value in a __mach_port_mod_refs call in the cases of the
23306 task-self and thread-self ports.
23308 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23310 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23312 2011-09-08 Andreas Schwab <schwab@redhat.com>
23314 * elf/dl-load.c (lose): Check for non-null L.
23316 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23318 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23320 * elf/dl-libc.c (dlerror_run): Pass back error code from
23324 * elf/dl-load.c (lose): Free l_origin if it is valid.
23326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23328 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23332 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23333 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23335 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23337 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23338 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23339 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23340 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23341 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23342 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23343 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23344 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23345 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23346 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23348 2011-08-15 Alan Modra <amodra@gmail.com>
23351 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23352 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23353 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23354 ppc_mcount to static-only-routines.
23355 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23357 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23358 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23360 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23362 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23363 for finite and infinity parameters.
23365 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23368 and add nop instructions for throughput optimization.
23369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23371 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23373 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23374 aligned copy for power7 with vector-scalar instructions.
23375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23377 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23382 2011-09-07 Andreas Schwab <schwab@redhat.com>
23385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23388 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23390 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23391 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23392 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23393 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23396 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23399 Forgot to demangle the pointer.
23401 * sysdeps/i386/sysdep.h: Define atom_text_section.
23402 * sysdeps/x86_64/sysdep.h: Likewise.
23403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23404 section with atom_text_section.
23405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23406 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23407 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23409 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23411 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23413 already be defined. Change to take two parameters and don't assign
23414 result to variable. Adjust all users.
23415 Define INTERNAL_GETTIME if not already defined.
23416 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23419 HAVE_CLOCK_GETTIME_VSYSCALL.
23420 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23423 gettimeofday vsyscall, just use time.
23425 2011-09-06 Andreas Schwab <schwab@redhat.com>
23427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23430 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23432 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23436 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23438 syscall if possible.
23440 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23442 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23443 e_ident. Don't pass to find_mapsXX.
23444 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23446 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23449 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23450 * sysdeps/x86_64/multiarch/strchr.S: Update.
23451 Check bit_slow_BSF bit.
23452 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23453 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23456 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23459 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23461 (tryshell): Define.
23462 (__spawni): Change last parameter to be flag. Test
23463 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23464 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23465 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23466 * posix/spawni.c: Likewise.
23467 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23468 * posix/spawnp.c: Likewise. Change normal version to use
23469 SPAWN_XFLAGS_USE_PATH.
23470 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23471 SPAWN_XFLAGS_TRY_SHELL.
23474 * posix/glob.h: Remove gcc 1.x support.
23477 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23479 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23482 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23484 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23485 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23486 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23491 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23493 * sysdeps/x86_64/wcscmp.S: New file.
23495 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23496 wcscmp-c wcscmp-sse2
23497 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23498 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23500 * wcsmbs/wcscmp.c: Allow renaming.
23502 2011-09-05 David S. Miller <davem@davemloft.net>
23504 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23505 stack slot, rather than the struct return pointer slot.
23506 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23507 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23509 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23511 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23513 * po/ja.po: Update from translation team.
23516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23517 kernel in 64-bit binaries.
23519 2011-09-01 David S. Miller <davem@davemloft.net>
23521 * elf/elf.h (HWCAP_SPARC_*): Move to..
23522 * sysdeps/sparc/sysdep.h: this new file and add new values.
23523 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23524 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23525 _DL_HWCAP_COUNT to 24.
23526 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23528 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23529 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23530 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23532 instead of magic constants.
23533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23535 2011-08-31 David S. Miller <davem@davemloft.net>
23537 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23539 Reimplement to do errno handling inline.
23540 (SYSCALL_ERROR_HANDLER): New macro.
23541 (__SYSCALL_STRING): Do not do errno handling in asm.
23542 (__CLONE_SYSCALL_STRING): Delete.
23543 (__INTERNAL_SYSCALL_STRING): Delete.
23544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23545 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23546 (PSEUDO): Reimplement to do errno handling inline.
23547 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23548 (SYSCALL_ERROR_HANDLER): New macro.
23549 (__SYSCALL_STRING): Do not do errno handling in asm.
23550 (__CLONE_SYSCALL_STRING): Delete.
23551 (__INTERNAL_SYSCALL_STRING): Delete.
23552 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23553 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23555 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23556 (inline_syscall*): Add 'err' argument.
23557 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23558 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23559 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23560 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23562 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23563 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23565 2011-08-30 Andreas Schwab <schwab@redhat.com>
23567 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23569 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23571 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23574 2011-08-24 David S. Miller <davem@davemloft.net>
23576 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23578 2011-08-24 Andreas Schwab <schwab@redhat.com>
23580 * elf/Makefile: Add rules to build and run unload8 test.
23581 * elf/unload8.c: New file.
23582 * elf/unload8mod1.c: New file.
23583 * elf/unload8mod1x.c: New file.
23584 * elf/unload8mod2.c: New file.
23585 * elf/unload8mod3.c: New file.
23587 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23590 2011-08-23 David S. Miller <davem@davemloft.net>
23592 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23593 subtract stack bias.
23594 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23595 %sp not %fp in calculations.
23596 (_JMPBUF_UNWINDS_ADJ): Likewise.
23598 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23599 (aio_suspend): Call it to force an exception region around the
23600 AIO_MISC_WAIT() invocation.
23602 2011-08-23 Andreas Schwab <schwab@redhat.com>
23604 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23607 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23609 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23611 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23612 and <dl-machine.h>.
23613 (Elf64_FuncDesc): Remove.
23615 2011-08-22 David S. Miller <davem@davemloft.net>
23617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23618 sigaltstack check, add missing cfi directives.
23619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23620 missing cfi directives, and sigaltstack handling.
23622 2011-08-16 Andreas Schwab <schwab@redhat.com>
23625 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23626 object is seen twice.
23627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23629 * elf/Makefile (distribute): Add tst-initorder2.c.
23630 (tests): Add tst-initorder2.
23631 (modules-names): Add tst-initorder2a tst-initorder2b
23632 tst-initorder2c tst-initorder2d. Add rules to build them.
23633 ($(objpfx)tst-initorder2.out): New rule.
23634 * elf/tst-initorder2.c: New file.
23635 * elf/tst-initorder2.exp: New file.
23637 2011-08-22 Andreas Schwab <schwab@redhat.com>
23639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23641 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23642 dependencies back to end of function.
23644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23645 $(elfobjdir)/ld.so.
23647 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23650 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23652 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23653 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23654 of __vdso_gettimeofday.
23655 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23656 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23658 (_libc_vdso_platform_setup): Remove initialization of
23659 __vdso_gettimeofday and __vdso_time.
23661 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23663 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23664 and fgetc_unlocked.
23665 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23668 * elf/dl-open.c (add_to_global): Report additions to the global scope
23669 for LD_DEBUG=scopes.
23670 (dl_open_worker): Also print scope of newly loaded dependencies.
23671 (_dl_show_scope): Indicate if there is no scope.
23674 * stdio-common/Makefile (tests): Add bug24.
23675 * stdio-common/bug24.c: New file.
23677 2011-08-19 Andreas Jaeger <aj@suse.de>
23680 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23681 non-existant file when using close-on-exec mode.
23683 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23686 the very first instruction.
23688 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23689 the CFI state in the end.
23690 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23691 inclusion of dl-trampoline.h.
23692 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23694 2011-08-19 Andreas Schwab <schwab@redhat.com>
23696 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23697 expectations for long double.
23699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23700 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23702 2011-08-14 David S. Miller <davem@davemloft.net>
23704 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23705 artificual limit depends upon the system page size.
23707 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23709 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23710 * resolv/Makefile: Define CFLAGS-libresolv.
23712 2011-08-17 Andreas Schwab <schwab@redhat.com>
23714 * nss/makedb.c (compute_tables): Make variables used in nested
23717 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23719 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23720 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23721 if buffer was too small.
23723 * elf/pldd.c (main): Attach to all threads in the process.
23724 Rewrite /proc handling to use *at functions.
23726 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23728 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23729 specifies first scope to show.
23730 (dl_open_worker): Update callers. Move printing scope of new
23731 object to before the relocation.
23732 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23733 * sysdeps/generic/ldsodefs.h: Update declaration.
23735 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23736 string for the scope number.
23738 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23740 * nscd/servicescache.c (cache_addserv): Make sure written is always
23743 2011-08-14 Roland McGrath <roland@hack.frob.com>
23745 * sysdeps/i386/i486/bits/atomic.h
23746 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23747 statement expression, so as to suppress "set but not used" warning.
23748 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23750 * string/strncat.c (STRNCAT): Use prototype definition.
23752 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23753 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23755 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23756 (localedef-modules): Add localedef.
23757 (locale-modules): Add locale.
23759 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23760 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23761 to avoid a warning.
23763 2011-08-14 David S. Miller <davem@davemloft.net>
23765 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23766 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23768 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23770 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23771 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23772 * elf/rtld.c (dl_main): Set l_name of vDSO.
23773 Call _dl_show_scope when DL_DEBUG_SCOPES.
23774 (process_dl_debug): Recognize scopes flag and also set it for all.
23775 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23776 Declare _dl_show_scope.
23778 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23779 (do_dlopen): Pass caller_dlopen to dl_open.
23780 (__libc_dlopen_mode): Initialize caller_dlopen.
23782 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23783 of libc. Make tolower call locale-independent. Optimize a bit by
23784 using isdigit instead of isalnum.
23785 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23787 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23789 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23790 was a dependency or dynamically loaded.
23792 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23794 * intl/l10nflist.c: Allow architecture-specific pop function.
23795 * sysdeps/x86_64/l10nflist.c: New file.
23797 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23800 2011-08-10 Andreas Schwab <schwab@redhat.com>
23802 * include/dirent.h: Add libc_hidden_proto for scandirat and
23803 scandirat64. Don't declare __scandirat64.
23804 * dirent/scandirat.c: Add libc_hidden_def.
23805 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23806 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23808 2011-08-10 David S. Miller <davem@davemloft.net>
23810 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23816 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23818 * Versions.def [libc]: Add GLIBC_2.15.
23819 * dirent/Makefile (routines): Add scandirat and scandirat64.
23820 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23822 * dirent/dirent.h: Declare scandirat and scandirat64.
23823 * dirent/scandirat.c: New file.
23824 * dirent/scandirat64.c: New file.
23825 * sysdeps/wordsize-64/scandirat.c: New file.
23826 * sysdeps/wordsize-64/scandirat64.c: New file.
23827 * dirent/opendir.c: Define opendirat.
23828 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23830 * dirent/scandir64.c: Adjust for scandir.c change.
23831 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23832 __scandirat64, and __scandir_cancel_handler.
23833 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23834 additional parameter and use openat instead of open (outside of ld.so).
23835 Add new __opendir as wrapper around __opendirat.
23836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23837 here without requiring old scandirat implementation.
23839 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23841 * dirent/scandir.c (cancel_handler): Renamed to
23842 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23843 defined. Adjust users.
23844 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23847 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23849 * string/test-string.h (IMPL): Use __STRING to expand name and then
23852 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23855 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23857 * string/Makefile: Update.
23858 (strop-tests): Append strncat.
23859 * string/test-wcscmp.c: New file.
23860 New comprehensive test for wcscmp.
23861 * string/test-strcmp.c: Update.
23862 (WIDE): New define.
23864 2011-07-22 Andreas Schwab <schwab@redhat.com>
23866 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23869 2011-07-26 Andreas Schwab <schwab@redhat.com>
23871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23872 encoding to ACE if AI_IDN.
23874 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23877 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23879 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23882 Fix overflow bug in strncat.
23883 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23885 * string/test-strncat.c: Update.
23886 Add new tests for checking overflow bugs.
23888 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23891 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23892 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23893 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23894 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23895 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23896 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23897 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23898 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23901 (USE_AS_STRCAT): Define.
23902 Add strcat and strncat support.
23903 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23905 2011-07-25 Andreas Schwab <schwab@redhat.com>
23907 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23908 __n bigger than INT_MAX+1.
23909 (__strncmp_g): Likewise.
23911 2011-07-23 Ulrich Drepper <drepper@gmail.com>
23913 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23914 * libio/stido.h: Likewise.
23916 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23921 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23924 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23928 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23933 (_dl_x86_64_save_sse): Likewise.
23935 2011-07-22 Ulrich Drepper <drepper@gmail.com>
23937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23939 (_dl_x86_64_save_sse): Likewise.
23941 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23943 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23945 2011-07-21 Andreas Schwab <schwab@redhat.com>
23947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23949 (_dl_x86_64_save_sse): Use correct AVX check.
23951 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23954 bug in strncpy/strncat.
23955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23957 2011-07-21 Ulrich Drepper <drepper@gmail.com>
23959 * string/tester.c (test_strcat): Add tests for different alignments
23960 of source and destination.
23961 (test_strncat): Likewise.
23963 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23966 * posix/glob.c (glob): Check passed in values before using them in
23967 expressions to avoid some overflows.
23968 (glob_in_dir): Likewise.
23971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23972 check for AVX enablement so that we don't crash with old kernels and
23974 * elf/tst-audit4.c: Add same checks here.
23975 * elf/tst-audit6.c: Likewise.
23977 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23979 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23981 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23983 2011-07-20 Ulrich Drepper <drepper@gmail.com>
23985 * po/cs.po: Update from translation team.
23986 * po/bg.po: Likewise.
23988 2011-07-12 Marek Polacek <mpolacek@redhat.com>
23990 * misc/sys/cdefs.h: Add support for const attribute.
23991 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23992 to gnu_dev_{major,minor,makedev} functions.
23994 2011-07-20 Marek Polacek <mpolacek@redhat.com>
23996 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23998 2011-07-20 Andreas Schwab <schwab@redhat.com>
24000 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24003 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24006 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24007 register in order to avoid conflicts with the soft frame pointer
24008 being held in r11 when necessary.
24009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24010 (INTERNAL_VSYSCALL_NCS): Likewise.
24012 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24014 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24015 * elf/dl-fini.c (_dl_fini): Adjust caller.
24016 * elf/dl-close.c (_dl_close_worker): Likewise.
24017 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24019 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24021 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24022 "aux_cache->nlibs < 0".
24024 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24025 in the reload-count case.
24027 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24030 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24031 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24032 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24033 * sysdeps/x86_64/multiarch/strcat.S: New file.
24034 * sysdeps/x86_64/multiarch/strncat.S: New file.
24035 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24036 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24037 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24038 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24040 (USE_AS_STRCAT): Define.
24041 Add strcat and strncat support.
24042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24044 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24045 * string/strncat.c: Update.
24046 (USE_AS_STRNCAT): Define.
24047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24048 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24050 * sysdeps/x86_64/multiarch/init-arch.h
24051 (bit_Prefer_PMINUB_for_stringop): New.
24052 (index_Prefer_PMINUB_for_stringop): Likewise.
24053 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24054 bit_Prefer_PMINUB_for_stringop.
24056 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24058 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24060 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24061 of casting of buffer.
24062 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24063 buffer32 and buffer64.
24064 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24065 writes instead of casting of buffer.
24066 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24068 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24071 2011-07-19 Andreas Schwab <schwab@redhat.com>
24073 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24075 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24077 * nscd/nscd.c (termination_handler): Don't do anything for a database
24078 if it has not yet been initialized.
24080 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24082 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24084 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24086 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24088 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24090 * po/nl.po: Update from translation team.
24091 * po/sv.po: Likewise.
24093 2011-07-16 Roland McGrath <roland@hack.frob.com>
24095 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24096 now disallowed by GCC.
24098 * configure.in (use-default-link): Default to yes if a test -shared
24099 link meets our qualifications.
24100 * configure: Regenerated.
24102 * config.make.in (output-format): New variable.
24103 * configure.in: Check for ld --print-output-format support.
24104 * configure: Regenerated.
24105 * Makerules ($(common-objpfx)format.lds)
24106 [$(output-format) != unknown]: Just use $(output-format),
24107 instead of the linker-script munging.
24109 2011-07-14 Roland McGrath <roland@hack.frob.com>
24111 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24112 of $(common-objpfx)shlib.lds.
24113 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24115 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24116 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24118 * configure.in (-z relro check): Adjust test code to add a large
24119 writable data section after it.
24120 * configure: Regenerated.
24122 2011-07-11 Roland McGrath <roland@hack.frob.com>
24124 * configure.in (-z relro check): Fix test code to make the variable
24126 * configure: Regenerated.
24128 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24130 * nscd/nscd.h (struct traced_file): Define.
24131 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24132 elements. Add traced_files.
24133 (inotify_fd): Declare.
24134 (register_traced_file): Declare.
24135 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24136 (inotify_fd): Export.
24137 (resolv_conf_descr): Remove.
24138 (nscd_init): Move inotify descriptor creation to main.
24139 Don't register files for notification here.
24140 (register_traced_file): New function.
24141 (invalidate_cache): Don't use reset_res to determine whether to call
24142 res_init, go through the list of registered files.
24143 (main_loop_poll): The inotify descriptors are now stored in the
24144 structures for the traced files.
24145 (main_loop_epoll): Likewise
24146 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24147 to __nss_disable_nscd.
24148 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24149 for a database anymore. Check the records for all the registered
24151 * nss/Makefile (libnss_files-routines): Add files-init.
24152 (libnss_db-routines): Add db-init.
24153 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24154 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24155 * nss/nss_db/db-init.c: New file.
24156 * nss/nss_files/files-init.c: New file.
24157 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24158 __nss_lookup_function.
24159 (__nss_lookup_function): Call nss_load_library.
24160 (nss_load_all_libraries): New function.
24161 (__nss_disable_nscd): Take parameter with callback function for files
24162 to register. Set is_nscd. Load all the DSOs for the NSS modules
24163 used for the cached services.
24164 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24165 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24166 options for features to all the files in nscd.
24168 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24170 2011-07-10 Roland McGrath <roland@hack.frob.com>
24172 * csu/elf-init.c (__libc_csu_init): Comment typo.
24174 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24176 * po/pl.po: Update from translation team.
24177 * po/ja.po: Likewise.
24178 * po/ru.po: Likewise.
24179 * po/ko.po: Likewise.
24180 * po/fr.po: Likewise.
24182 2011-07-09 Roland McGrath <roland@hack.frob.com>
24184 * configure.in (.ctors/.dtors header and trailer check):
24185 Use an empirical test on a built program.
24186 * configure: Regenerated.
24188 * configure.in (-z relro check): Use an empirical test on a built DSO.
24189 Detect, but do not require, on ia64.
24190 * configure: Regenerated.
24192 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24193 Update tests that use readelf to use $READELF instead.
24194 * configure: Regenerated.
24196 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24198 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24199 if the result is not used.
24201 2011-07-05 Andreas Jaeger <aj@suse.de>
24204 * stdlib/tst-strtod.c: Add testcase.
24206 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24208 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24209 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24210 The latter has a higher limit. Take additional parameter to pass to
24212 (__pathconf): Pass file to __statfs_link_max.
24213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24215 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24219 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24223 (__statfs_filesize_max): Likewise.
24224 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24226 2011-07-05 Andreas Jaeger <aj@suse.de>
24228 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24230 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24232 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24234 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24237 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24239 * Makefile (strop-tests): Add strncat.
24240 * string/test-strncat.c: New file.
24242 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24244 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24246 2011-06-21 Andreas Jaeger <aj@suse.de>
24248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24249 Copy rule from iconvdata/Makefile.
24251 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24254 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24255 but no long options are defined, just return 'W'.
24257 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24260 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24262 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24264 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24266 (innetgr): Likewise.
24268 2011-07-05 Roland McGrath <roland@hack.frob.com>
24270 * config.make.in (install_root): Default to $(DESTDIR).
24272 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24276 2011-07-02 Roland McGrath <roland@hack.frob.com>
24278 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24280 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24281 containing directory rather than embedding absolute directory names.
24283 * scripts/check-local-headers.sh: Rewritten using awk.
24284 Match by word, not by line. Print error messages for matches.
24285 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24287 * Makerules [shlib-lds-flags empty]:
24288 ($(common-objpfx)libc_pic.opts): New target.
24289 ($(common-objpfx)libc_pic.os.clean): New target.
24290 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24292 * config.make.in (OBJCOPY): New variable.
24293 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24294 * configure: Regenerated.
24296 * config.make.in (use-default-link): New variable.
24297 * configure.in (use_default_link): Grok --with-default-link to set it.
24298 * configure: Regenerated.
24299 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24300 (shlib-lds, shlib-lds-flags): Define to empty.
24302 * Makerules (shlib-lds): New variable.
24303 (shlib-lds-flags): New variable.
24304 (build-shlib, build-moduile, build-module-asneeded): Use it.
24305 ($(common-objpfx)libc.so): Use $(shlib-lds).
24306 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24307 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24309 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24310 DT_FLAGS/DT_FLAGS_1 with zero flags.
24312 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24313 linker script munging.
24315 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24317 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24319 * crypt/sha512.c (sha512_process_block): Perform total addition using
24320 128-bit if possible.
24321 (__sha512_finish_ctx): Likewise.
24322 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24324 * crypt/sha256.c (SWAP64): Define.
24325 (sha256_process_block): Perform total addition using 64-bit if
24327 (__sha256_finish_ctx): Likewise.
24329 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24331 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24333 * nscd/hstcache.c (cache_addhst): Likewise.
24334 * nscd/grpcache.c (cache_addgr): Likewise.
24335 * nscd/aicache.c (addhstaiX): Likewise
24336 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24338 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24340 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24342 * nscd/hstcache.c (cache_addhst): Likewise.
24343 * nscd/grpcache.c (cache_addgr): Likewise.
24344 * nscd/aicache.c (addhstaiX): Likewise
24346 2011-07-01 Andreas Schwab <schwab@redhat.com>
24348 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24349 domain only when needed.
24351 2011-06-30 Andreas Schwab <schwab@redhat.com>
24353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24354 is always restored.
24356 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24358 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24359 are re-adding the entry.
24360 * nscd/servicescache.c (cache_addserv): Likewise.
24362 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24364 * sysdeps/generic/dl-irel.h: fix protection against multiple
24366 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24368 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24371 * malloc/memusage.sh: Fix quoting in message.
24372 * debug/xtrace.sh: Likewise.
24374 * configure.in: Remove support for --experimental-malloc option, make
24376 * config.make.in: Likewise.
24377 * malloc/Makefile: Likewise.
24379 2011-06-27 Andreas Schwab <schwab@redhat.com>
24381 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24382 two-byte characters.
24384 2011-06-27 Roland McGrath <roland@hack.frob.com>
24386 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24387 AC_CACHE_CHECK invocation.
24388 * configure: Regenerated.
24390 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24392 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24395 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24396 bit from old_res_options.
24398 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24400 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24401 value type for setfct.
24403 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24406 __gettimeofday instead of gettimeofday.
24408 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24410 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24412 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24419 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24422 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24423 strcpy-sse2-unaligned strncpy-sse2-unaligned
24424 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24425 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24426 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24427 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24428 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24429 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24430 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24431 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24432 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24433 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24434 (STRCPY): Support SSE2 and SSSE3 versions.
24436 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24440 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24441 kernels which artificially limit size of requests.
24443 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24446 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24447 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24448 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24449 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24450 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24451 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24452 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24455 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24456 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24457 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24458 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24459 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24461 Enable unaligned load optimization for Intel Core i3, i5 and i7
24463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24465 (index_Fast_Unaligned_Load): Define.
24466 (HAS_FAST_UNALIGNED_LOAD): Define.
24468 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24470 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24472 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24476 until it is clear that the information is realy needed.
24477 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24479 2011-06-22 Andreas Schwab <schwab@redhat.com>
24481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24483 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24486 /sys/devices/system/cpu/online if it is usable.
24488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24489 reading the information from the /proc filesystem to once a second.
24491 2011-06-21 Andreas Jaeger <aj@suse.de>
24493 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24494 NULL after inclusion of kernel headers.
24496 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24498 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24499 calls to internal_setent.
24502 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24503 addresses using gethostbyname4_r ignore IPv4 addresses.
24505 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24506 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24508 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24510 2011-06-20 David S. Miller <davem@davemloft.net>
24512 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24514 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24516 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24517 (elf_irel): Use it.
24518 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24519 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24520 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24521 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24522 * sysdeps/x86_64/dl-irel.h: Likewise.
24524 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24525 * elf/dl-sym.c: Likewise.
24527 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24529 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24530 need to dereference resplen2.
24532 2011-06-14 Andreas Schwab <schwab@redhat.com>
24534 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24536 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24538 * Makeconfig: Define vardbdir and inst_vardbdir.
24539 * nss/Makefile: Add rules to install db-Makefile.
24541 * nss/nss_db/db-XXX.c: Cleanup.
24543 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24544 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24546 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24547 * nss/makedb.c: Implement -g option to specify that value strings
24548 are generated and should not be added to table iterated over for
24550 * nss/nss_db/db-initgroups.c: New file.
24552 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24555 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24556 (internal_getgrouplist): Adjust to name change.
24557 Update use_initgroups_entry if this is not the first call.
24558 * nss/databases.def: Add initgroups entry.
24560 * nss/makedb.c (compute_tables): Check result of multiple hash table
24561 sizes to minimize maximum chain length.
24563 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24565 * Versions.def: Add entry for libnss_db.
24566 * shlib-versions: Likewise.
24567 * nss/Makefile: Add rules to build libnss_db.
24568 * nss/Versions: Add libnss_db information. Organize libnss_files
24570 * nss/db-Makefile: Add gshadow support. Change rules for the new
24571 makedb progra. Some minor improvements to generate smaller files.
24572 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24574 * nss/makedb.c: ...here.
24575 Improve database format to be smaller and require less memory at
24577 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24579 * nss/nss_db/db-netgrp.c: Likewise.
24580 * nss/nss_db/db-open.c: Likewise.
24581 * nss/nss_files/flies-XXX.x: Adjust comments.
24582 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24583 * nss/nss_files/files-grp.c: Likewise.
24584 * nss/nss_files/files-hosts.c: Likewise.
24585 * nss/nss_files/files-network.c: Likewise.
24586 * nss/nss_files/files-proto.c: Likewise.
24587 * nss/nss_files/files-pwd.c: Likewise.
24588 * nss/nss_files/files-rpc.c: Likewise.
24589 * nss/nss_files/files-service.c: Likewise.
24590 * nss/nss_files/files-sgrp.c: Likewise.
24591 * nss/nss_files/files-spwd.c: Likewise.
24592 * nss/nss_db/db-alias.c: Removed.
24593 * nss/nss_db/dummy-db.h: Removed.
24595 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24597 * nss/makedb.c: Rewritten to not use database library.
24598 * nss/Makefile: Update to build new makedb program.
24600 2011-06-14 Andreas Jaeger <aj@suse.de>
24602 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24603 memset declaration.
24605 2011-06-10 Andreas Schwab <schwab@redhat.com>
24607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24610 2011-06-10 Roland McGrath <roland@hack.frob.com>
24612 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24613 * elf/Makefile ($(objpfx)ld.so): Likewise.
24615 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24616 Don't list ld.so twice in dependencies.
24618 * posix/bug-regex31.c: Include <stdlib.h>.
24620 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24622 * nis/nss_compat/compat-spwd.c
24623 (getspent_next_nss_netgr): Remove unused variable.
24624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24626 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24627 nonmembers" output to use the right array.
24629 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24631 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24633 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24634 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24635 * catgets/gencat.c (read_input_file): Likewise.
24636 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24638 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24639 variable definition inside #if's controlling its use.
24641 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24643 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24645 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24647 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24650 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24652 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24653 * configure: Regenerated.
24655 * Makerules: Revert last change.
24656 * elf/Makefile: Likewise.
24658 2011-06-09 Roland McGrath <roland@hack.frob.com>
24660 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24661 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24662 (reloc-link): Likewise.
24664 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24666 * elf/Makefile: Add rules to build pldd.
24667 * elf/pldd.c: New file.
24668 * elf/pldd-xx.c: New file.
24670 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24672 * version.h: Update for 2.15 development version.
24674 2011-06-07 David S. Miller <davem@davemloft.net>
24676 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24679 elf_machine_lazy_rel): Likewise.
24680 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24682 elf_machine_lazy_rel): Likewise.
24683 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24684 dl_hwcap via passed in argument.
24685 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24688 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24690 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24692 2011-06-06 Roland McGrath <roland@hack.frob.com>
24695 * manual/fdl-1.1.texi: New file, verbatim from:
24696 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24697 * manual/lgpl-2.1.texi: New file, verbatim from:
24698 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24699 * manual/Makefile (licenses): New variable, list those new file names.
24701 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24703 * manual/fdl.texi: File removed.
24704 * manual/lesser.texi: File removed.
24705 * manual/libc.texinfo (Copying, Documentation License):
24706 Use new @include file names, put @appendix directive before @include.
24708 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24711 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24712 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24713 (mq_open): Add __NTH.
24715 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24718 Assume Intel Core i3/i5/i7 processor if AVX is available.
24720 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24725 2011-05-31 Andreas Schwab <schwab@redhat.com>
24727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24728 memory. Use alloca_account. Fix memory leak when retrying.
24730 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24732 * version.h (RELEASE): Bump for 2.14 release.
24733 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24735 * config.make.in (RANLIB): Remove entry.
24737 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24739 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24740 (libc.pot): Work around missing support for .ksh extension in xgettext.
24743 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24744 if both request failed.
24745 (send_dg): In case of server errors clear resplen or *resplen2.
24748 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24749 when there are multiple maps.
24750 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24751 (_dl_fini): Remove test here.
24753 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24755 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24758 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24759 bit from old_res_options.
24760 (gaih_inet): Likewise.
24763 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24766 * resolv/res_init.c (res_setoptions): Make the code more compact.
24769 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24773 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24775 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24778 * malloc/malloc.h: Declare malloc hook variables as volatile.
24780 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24784 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24785 raise in the comment.
24786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24790 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24793 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24794 grow the buffers more if it already has to be sufficient.
24795 (build_wcs_upper_buffer): Likewise.
24796 * posix/regexec.c (check_matching): Likewise.
24797 (clean_state_log_if_needed): Likewise.
24798 (extend_buffers): Don't enlarge buffers beyond size of the input
24800 Patches mostly by Emil Wojak <emil@wojak.eu>.
24801 * posix/bug-regex32.c: New file.
24802 * posix/Makefile (tests): Add bug-regex32.
24804 * locale/findlocale.c (_nl_find_locale): Return right away if
24805 _nl_explode_name failed.
24806 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24810 * debug/xtrace.sh: Unify messages.
24811 * malloc/memusage.sh: Likewise.
24814 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24815 time symbol from vDSO. Substitute with vsyscall if not available.
24816 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24819 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24820 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24821 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24822 Add sendmmsg and internal_sendmmsg.
24823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24824 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24825 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24827 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24828 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24831 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24835 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24841 * iconvdata/Makefile (tests): Add bug-iconv9.
24842 * iconvdata/bug-iconv9.c: New file.
24844 2011-05-27 Andreas Schwab <schwab@redhat.com>
24847 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24849 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24852 (struct user_regs_struct): Change intcs field back to cs.
24854 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24856 * po/ja.po: Update from translation team.
24858 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24861 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24862 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24864 2011-05-20 Andreas Schwab <schwab@redhat.com>
24866 * stdlib/longlong.h: Update from GCC.
24868 2011-05-23 Andreas Schwab <schwab@redhat.com>
24870 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24872 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24873 Add parameter name.
24874 (__sysconf): Pass it down.
24876 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24879 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24882 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24883 add in in __libc_use_alloca calls. Adjust callers.
24884 (glob): Use malloc in some situations.
24886 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24887 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24890 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24892 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24893 and CLOCK_BOOTTIME_ALARM.
24896 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24899 * string/_strerror.c (__strerror_r): Print negative errors as signed
24903 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24904 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24905 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24907 * configure.in: Fix typo in redirection and correct removal of test
24908 files in two cases.
24911 * locale/setlocale.c (new_composite_name): Fix test to check for
24912 identical name of all categories.
24915 * libio/filedoalloc.c (local_isatty): New function.
24916 (_IO_file_doallocate): Use local_isatty.
24917 * stdio-common/perror.c (perror): In case a new stream is used
24918 forward the stream error.
24919 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24922 2011-05-20 Ulrich Drepper <drepper@gmail.com>
24925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24927 * include/alloca.h (extend_alloca_account): Define.
24930 * posix/regex.h: Fix comments with documentation of user-accessible
24931 fields after compilation and describe correct free'ing of pattern
24932 after re_compile_pattern.
24933 Patch by Reuben Thomas <rrt@sc3d.org>.
24935 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24937 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24938 and -mno-altivec to prevent the compiler from using Altivec and/or
24939 VSX instructions when the corresponding registers are not available.
24941 2011-05-19 Andreas Schwab <schwab@redhat.com>
24943 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24945 2011-05-19 Ulrich Drepper <drepper@gmail.com>
24947 * libio/freopen.c (freopen): Use __dup2, not dup2.
24948 * libio/freopen64.c (freopen64): Likewise.
24950 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24953 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24954 * math/Makefile (tests): Add test-powl.
24955 (CFLAGS-test-powl.c): Define.
24956 * math/test-powl.c: New file.
24958 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24960 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24962 2011-05-17 Ulrich Drepper <drepper@gmail.com>
24965 * iconvdata/gb18030.c: Update to GB18020-2005.
24967 2011-05-16 Ulrich Drepper <drepper@gmail.com>
24969 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24970 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24971 Patch by Aharon Robbins <arnold@skeeve.com>.
24974 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24978 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24979 through underflows.
24982 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24983 point to strings before performing equality test for error_one_per_line
24987 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24991 (struct user_fpregs_struct): Avoid __uint*_t types.
24994 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24995 symbol info. Use it instead of calling _dl_addr locally.
24996 (lock_and_info): New function.
24997 (tr_freehook): Call lock_and_info and pass symbol info as additional
24998 parameter to tr_where.
24999 (tr_mallochook): Likewise.
25000 (tr_reallochook): Likewise.
25001 (tr_memalignhook): Likewise.
25003 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25004 used and couldn't be at all thread-safe.
25006 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25008 * libio/freopen.c (freopen): Don't close old file descriptor
25009 before the new one is opened. Instead dup the new file descriptor
25010 to the old one after the new stream is created.
25011 * libio/freopen64.c (freopen64): Likewise.
25012 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25013 * libio/fileops.c (_IO_new_file_close_it): Handle new
25014 _IO_FLAGS2_NOCLOSE flag.
25015 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25016 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25017 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25018 _IO_FLAGS2_NOCLOSE flag.
25019 * include/unistd.h: Add hidden_proto for dup3.
25020 Define __have_dup3.
25021 * io/dup3.c: Define hidden symbol.
25022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25025 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25026 when an incomplete long option is used.
25027 * posix/tst-getopt_long1.c: New file.
25028 * posix/Makefile (tests): Add tst-getopt_long1.
25031 * scripts/config.guess: Update from autoconf-2.68.
25032 * scripts/config.sub: Likewise.
25035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25037 (has_cpuclock): ...this. New function.
25038 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25039 macro here based on has_cpuclock code.
25042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25043 First byte (not low byte) is now always NUL.
25044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25047 Use non-cancelable interfaces.
25050 * locale/iso-639.def: Add entry for Sorani.
25053 * include/stdlib.h: Move include protection to the right place.
25054 Define abort_msg_s. Declare __abort_msg with it.
25055 * stdlib/abort.c (__abort_msg): Adjust type.
25056 * assert/assert.c (__assert_fail_base): New function. Majority
25057 of code from __assert_fail. Allocate memory for __abort_msg with
25059 (__assert_fail): Now call __assert_fail_base.
25060 * assert/assert-perr.c: Remove bulk of implementation. Use
25061 __assert_fail_base.
25062 * include/assert.hL Declare __assert_fail_base.
25063 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25065 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25067 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25071 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25072 until all modules are registered in the DTV.
25073 * elf/Makefile: Add rules to build and run tst-tls19.
25074 * elf/tst-tls19.c: New file.
25075 * elf/tst-tls19mod1.c: New file.
25076 * elf/tst-tls19mod2.c: New file.
25077 * elf/tst-tls19mod3.c: New file.
25078 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25081 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25085 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25086 two-byte sequence errors.
25087 * iconvdata/Makefile (tests): Add bug-iconv8.
25088 * iconvdata/bug-iconv8.c: New file.
25091 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25094 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25097 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25098 (dummy_getcfa): New function.
25099 (init): Get _Unwind_GetCFA address, use dummy if not found.
25100 (backtrace_helper): In recursion check, also check whether CFA changes.
25101 (__backtrace): Completely initialize arg.
25103 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25104 storing incomplete byte sequence in state object. Avoid testing for
25105 guaranteed too small input if we know there is enough data available.
25107 2011-05-11 Andreas Schwab <schwab@redhat.com>
25109 * Makeconfig (+link-pie): Indent.
25110 * Rules (binaries-pie): Define if $(have-fpie) and
25112 (binaries-shared): Also filter out $(binaries-pie).
25113 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25114 * nscd/Makefile (others-pie): Add nscd.
25115 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25116 ($(objpfx)nscd): Remove command override.
25117 * login/Makefile (others-pie): Add pt_chown.
25118 ($(objpfx)pt_chown): Remove command override.
25119 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25120 remove command overrides.
25122 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25124 * libio/tst_putwc.c: Fix error messages.
25127 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25128 currently writing and seek to current position when not.
25129 * libio/Makefile (tests): Add bug-fclose1.
25130 * libio/bug-fclose1.c: New file.
25132 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25135 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25136 don't set DF_1_NODELETE here.
25137 (do_lookup_x): When entering new entry test for copy relocation
25138 and if necessary set DF_1_NODELETE flag.
25139 * elf/tst-unique4.cc: New file.
25140 * elf/tst-unique4.h: New file.
25141 * elf/tst-unique4lib.cc: New file.
25142 * elf/Makefile: Add rules to build and run tst-unique4.
25143 Patch by Piotr Bury <pbury@goahead.com>.
25145 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25148 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25151 * misc/mntent_r.c (addmntent): Flush the stream after the output
25154 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25155 (is_trusted_path_normalize): Skip initial colon. Append slash
25156 to empty buffer. Duplicate is_trusted_path code but allow
25157 constructed patch to be prefix.
25158 (is_dst): Allow $ORIGIN followed by /.
25159 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25160 Correct testing of result of is_trusted_path_normalize
25161 (decompose_rpath): Fix warning.
25163 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25166 * grp/initgroups.c (internal_getgrouplist): When we found the service
25167 list through the initgroups entry in nsswitch.conf do not always
25168 continue on a successful lookup. Don't always use the
25169 __nss_group_database value if it is set.
25170 * nss/nsswitch.conf (initgroups): Change action for successful db
25171 lookup to continue for compatibility.
25173 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25176 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25178 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25180 * iconvdata/tst-tables.sh: Likewise.
25181 * iconvdata/cp770.c: New file.
25182 * iconvdata/cp771.c: New file.
25183 * iconvdata/cp772.c: New file.
25184 * iconvdata/cp773.c: New file.
25185 * iconvdata/cp774.c: New file.
25186 * iconvdata/testdata/CP770: New file.
25187 * iconvdata/testdata/CP770..UTF8: New file.
25188 * iconvdata/testdata/CP771: New file.
25189 * iconvdata/testdata/CP771..UTF8: New file.
25190 * iconvdata/testdata/CP772: New file.
25191 * iconvdata/testdata/CP772..UTF8: New file.
25192 * iconvdata/testdata/CP773: New file.
25193 * iconvdata/testdata/CP773..UTF8: New file.
25194 * iconvdata/testdata/CP774: New file.
25195 * iconvdata/testdata/CP774..UTF8: New file.
25197 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25199 * iconvdata/gen-8bit-gap.sh: Likewise.
25200 * iconvdata/gen-8bit.sh: Likewise.
25202 * locale/iso-639.def: Add ary entry.
25205 * locale/C-translit.h.in: Add U20A1 transliteration.
25208 * locale/iso-639.def: Add wae entry.
25209 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25212 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25216 * locale/C-translit.h.in: Add entry for U20B9.
25217 Patch by pravin.d.s@gmail.com.
25219 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25222 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25223 ENAMETOOLONG use generic getcwd.
25224 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25225 in rtld. Use *stat64.
25226 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25227 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25228 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25229 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25230 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25231 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25232 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25233 __fstatat64 macros.
25234 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25235 * dirent/rewinddir.c: Add libc_hidden_def.
25236 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25237 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25239 * include/dirent.h (__alloc_dir): Add flags parameter.
25240 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25241 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25243 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25244 from fdopendir if O_CLOEXEC is already set.
25246 2011-03-15 Alan Modra <amodra@gmail.com>
25248 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25249 l_tls_firstbyte_offset non-zero. Save padding offset in
25250 l_tls_firstbyte_offset for later use.
25251 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25252 freeing static tls block.
25254 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25256 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25257 where #ifdef was intended. The intent is to prevent ARG_MAX from
25258 being defined by the kernel headers.
25260 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25263 * resolv/resolv.h: Define RES_NOTLDQUERY.
25264 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25265 no-tld-query and set RES_NOTLDQUERY.
25266 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25267 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25268 modern BIND to search name as TLD unless forbidden.
25270 2011-05-07 Petr Baudis <pasky@suse.cz>
25271 Ulrich Drepper <drepper@gmail.com>
25274 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25275 (is_trusted_path): ...to here.
25276 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25277 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25278 using is_trusted_path_normalize() in setuid scripts.
25280 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25282 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25283 __BEGIN/__END_DECLS.
25285 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25288 NSS_STATUS_NOTFOUND if no record was found.
25290 2011-05-05 Andreas Schwab <schwab@redhat.com>
25292 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25293 (headers-not-in-tirpc): Remove rpc/netdb.h
25294 * resolv/netdb.h: Revert last change.
25296 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25298 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25299 circular dependency between libgcc.a and libc.a.
25301 2011-05-05 Andreas Schwab <schwab@redhat.com>
25303 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25304 * nis/Makefile: Don't install rpcsvc/*.
25305 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25306 instead of <rpc/types.h>.
25307 (MAXHOSTNAMELEN): Define.
25309 2011-05-03 Andreas Schwab <schwab@redhat.com>
25311 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25313 2011-04-28 Maciej Babinski <mbabinski@google.com>
25316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25317 gethostbyname4_r when IPv6 results are possible.
25319 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25322 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25323 _PC_PIPE_BUF handling.
25325 2011-04-30 Bruno Haible <bruno@clisp.org>
25328 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25329 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25331 * inet/getnameinfo.c (getnameinfo): Likewise.
25333 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25335 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25336 to groups setting in database lookup.
25337 * nss/nsswitch.conf: Add initgroups entry.
25339 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25342 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25344 Patch by Eric Blake <eblake@redhat.com>.
25346 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25348 * sunrpc/Makefile (need-export-routines): Add svc_run.
25349 (routines): Remove svc_run.
25350 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25351 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25352 * sunrpc/svc_run.c (svc_run): Likewise.
25353 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25355 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25358 problem in reallocation in last patch.
25360 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25362 * sunrpc/Makefile: Move inclusion of Rules.
25364 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25366 * nss/nss_files/files-initgroups.c: New file.
25367 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25368 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25369 _nss_files_initgroups_dyn.
25371 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25373 * elf/elf.h (R_ARM_IRELATIVE): Define.
25375 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25377 * po/ru.po: Update from translation team.
25379 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25381 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25384 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25387 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25388 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25393 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25401 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25404 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25406 * stdlib/bug-getcontext.c: New file.
25407 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25409 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25411 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25412 instructions into .machine "z9-109".
25413 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25414 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25416 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25418 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25419 between environment variables and auxiliary vector.
25421 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25423 * Makefile: Add rules to build linkobj/libc.so.
25424 * include/libc-symbols.h: Define libc_hidden_nolink.
25425 * include/rpc/auth.h: Mark functions which are to be hidden.
25426 * include/rpc/auth_des.h: Likewise.
25427 * include/rpc/auth_unix.h: Likewise.
25428 * include/rpc/clnt.h: Likewise.
25429 * include/rpc/des_crypt.h: Likewise.
25430 * include/rpc/key_prot.h: Likewise.
25431 * include/rpc/pmap_clnt.h: Likewise.
25432 * include/rpc/pmap_prot.h: Likewise.
25433 * include/rpc/pmap_rmt.h: Likewise.
25434 * include/rpc/rpc_msg.h: Likewise.
25435 * include/rpc/svc.h: Likewise.
25436 * include/rpc/svc_auth.h: Likewise.
25437 * include/rpc/xdr.h: Likewise.
25438 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25439 * nss/Makefile: Likewise.
25440 * sunrpc/Makefile: Don't install headers. Build library with normal
25441 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25442 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25443 for the compat linking library. Remove use of INTDEF/INTUSE.
25444 * sunrpc/auth_none.c: Likewise.
25445 * sunrpc/auth_unix.c: Likewise.
25446 * sunrpc/authdes_prot.c: Likewise.
25447 * sunrpc/authuxprot.c: Likewise.
25448 * sunrpc/clnt_gen.c: Likewise.
25449 * sunrpc/clnt_perr.c: Likewise.
25450 * sunrpc/clnt_raw.c: Likewise.
25451 * sunrpc/clnt_simp.c: Likewise.
25452 * sunrpc/clnt_tcp.c: Likewise.
25453 * sunrpc/clnt_udp.c: Likewise.
25454 * sunrpc/clnt_unix.c: Likewise.
25455 * sunrpc/des_crypt.c: Likewise.
25456 * sunrpc/des_soft.c: Likewise.
25457 * sunrpc/get_myaddr.c: Likewise.
25458 * sunrpc/key_call.c: Likewise.
25459 * sunrpc/key_prot.c: Likewise.
25460 * sunrpc/netname.c: Likewise.
25461 * sunrpc/pm_getmaps.c: Likewise.
25462 * sunrpc/pm_getport.c: Likewise.
25463 * sunrpc/pmap_clnt.c: Likewise.
25464 * sunrpc/pmap_prot.c: Likewise.
25465 * sunrpc/pmap_prot2.c: Likewise.
25466 * sunrpc/pmap_rmt.c: Likewise.
25467 * sunrpc/publickey.c: Likewise.
25468 * sunrpc/rpc_cmsg.c: Likewise.
25469 * sunrpc/rpc_common.c: Likewise.
25470 * sunrpc/rpc_dtable.c: Likewise.
25471 * sunrpc/rpc_prot.c: Likewise.
25472 * sunrpc/rpc_thread.c: Likewise.
25473 * sunrpc/rtime.c: Likewise.
25474 * sunrpc/svc.c: Likewise.
25475 * sunrpc/svc_auth.c: Likewise.
25476 * sunrpc/svc_authux.c: Likewise.
25477 * sunrpc/svc_raw.c: Likewise.
25478 * sunrpc/svc_run.c: Likewise.
25479 * sunrpc/svc_simple.c: Likewise.
25480 * sunrpc/svc_tcp.c: Likewise.
25481 * sunrpc/svc_udp.c: Likewise.
25482 * sunrpc/svc_unix.c: Likewise.
25483 * sunrpc/svcauth_des.c: Likewise.
25484 * sunrpc/xcrypt.c: Likewise.
25485 * sunrpc/xdr.c: Likewise.
25486 * sunrpc/xdr_array.c: Likewise.
25487 * sunrpc/xdr_float.c: Likewise.
25488 * sunrpc/xdr_intXX_t.c: Likewise.
25489 * sunrpc/xdr_mem.c: Likewise.
25490 * sunrpc/xdr_rec.c: Likewise.
25491 * sunrpc/xdr_ref.c: Likewise.
25492 * sunrpc/xdr_sizeof.c: Likewise.
25493 * sunrpc/xdr_stdio.c: Likewise.
25495 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25498 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25499 * sysdeps/ia64/dl-tls.h: Likewise.
25500 * sysdeps/powerpc/dl-tls.h: Likewise.
25501 * sysdeps/s390/dl-tls.h: Likewise.
25502 * sysdeps/sh/dl-tls.h: Likewise.
25503 * sysdeps/sparc/dl-tls.h: Likewise.
25504 * sysdeps/x86_64/dl-tls.h: Likewise.
25505 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25507 2011-03-14 Andreas Schwab <schwab@redhat.com>
25509 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25510 rpath element also skip the following colon.
25511 (expand_dynamic_string_token): Add is_path parameter and pass
25512 down to DL_DST_REQUIRED and _dl_dst_substitute.
25513 (decompose_rpath): Call expand_dynamic_string_token with
25514 non-zero is_path. Ignore empty rpaths.
25515 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25518 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25523 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25526 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25527 Patch by Filipe David Manana <fdmanana@apache.org>.
25529 2011-04-07 Andreas Schwab <schwab@redhat.com>
25531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25532 Maintain aligned stack.
25533 (CHECK_RSP): Remove unused macro.
25535 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25537 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25540 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25542 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25544 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25546 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25549 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25550 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25551 * sysdeps/x86_64/memmove.c: New file.
25552 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25553 (memcpy): Renamed to ...
25554 (__new_memcpy): This.
25555 (memcpy): Provide GLIBC_2_14 memcpy.
25556 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25557 (memcpy): Provide GLIBC_2_2_5 memcpy.
25559 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25562 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25564 2011-03-30 Andreas Schwab <schwab@redhat.com>
25566 * misc/syncfs.c: New file.
25567 * misc/Makefile (routines): Add syncfs.
25568 * posix/unistd.h: Declare syncfs.
25569 * sysdeps/unix/syscalls.list: Add syncfs.
25571 2011-04-01 Andreas Schwab <schwab@redhat.com>
25573 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25580 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25583 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25593 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25594 sync_file_range.c with -fexceptions.
25595 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25596 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25597 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25598 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25599 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25600 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25602 sync_file_range as cancellation point
25603 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25604 now a wrapper around __call_sync_file_range with cancellation handling.
25605 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25606 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25607 function name to __call_sync_file_range.
25608 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25609 Add call_sync_file_range.
25611 2011-04-01 Andreas Schwab <schwab@redhat.com>
25613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25616 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25618 * iconv/iconv.h: Fix typo in comment.
25619 * io/fcntl.h: Likewise.
25620 * libio/stdio.h: Likewise.
25621 * posix/spawn.h: Likewise.
25622 * posix/unistd.h: Likewise.
25623 * stdlib/stdlib.h: Likewise.
25624 * time/time.h: Likewise.
25625 * wcsmbs/wchar.h: Likewise.
25627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25628 open_by_handle): Add.
25629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25630 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25631 Augment a few comments.
25632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25637 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25640 * io/fcntl.h (AT_EMPTY_PATH): Define.
25642 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25644 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25645 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25646 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25648 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25649 * Versions.def: Add GLIBC_2.14.
25650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25653 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25657 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25659 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25662 * string/test-strncmp.c (do_page_test): New function.
25663 (check2): Likewise.
25664 (test_main): Call check2.
25665 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25667 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25670 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25671 Handle cache information in CPU leaf 4.
25672 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25674 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25677 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25678 character representation.
25679 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25681 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25683 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25684 END(__isnan) to END(__isnanf) to match function entry point/label
25685 EALIGN(__isnanf,...).
25687 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25689 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25691 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25694 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25695 copy from the symbol referenced in the relocation to initialize the
25697 Patch by Piotr Bury <pbury@goahead.com>.
25698 * elf/Makefile: Add rules to build and tst-unique3.
25699 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25700 * elf/tst-unique3.cc: New file.
25701 * elf/tst-unique3.h: New file.
25702 * elf/tst-unique3lib.cc: New file.
25703 * elf/tst-unique3lib2.cc: New file.
25705 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25707 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25709 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25710 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25713 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25715 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25716 to-be-loaded object along a path to loader is ld.so.
25718 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25719 Ulrich Drepper <drepper@gmail.com>
25721 * sysdeps/x86_64/memset.S: After aligning destination, code
25722 branches to different locations depending on the value of
25723 misalignment, when multiarch is enabled. Fix this.
25725 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25727 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25728 Set _x86_64_preferred_memory_instruction for AMD processsors.
25729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25730 Set bit_Prefer_SSE_for_memop for AMD processors.
25732 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25734 * libio/fmemopen.c (fmemopen): Optimize a bit.
25736 2011-03-03 Andreas Schwab <schwab@redhat.com>
25738 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25740 2011-03-03 Roland McGrath <roland@redhat.com>
25742 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25744 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25746 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25747 __bzero_ultra1 instead of __memset_ultra1.
25749 2011-02-23 Andreas Schwab <schwab@redhat.com>
25750 Ulrich Drepper <drepper@gmail.com>
25753 * include/link.h (struct link_map): Add l_orig_initfini.
25754 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25755 returning unsuccessfully.
25756 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25757 close of a file loaded at startup, restore the original l_initfini
25759 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25760 list, store the pointer.
25761 * elf/Makefile ($(objpfx)noload-mem): New rule.
25762 (noload-ENV): Define.
25763 (tests): Add $(objpfx)noload-mem.
25764 * elf/noload.c: Include <memcheck.h>.
25765 (main): Call mtrace. Close all opened handles.
25767 2011-02-17 Andreas Schwab <schwab@redhat.com>
25770 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25771 dependencies are missing.
25773 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25775 Fix __if_freereq crash: Unlike the generic version which uses free,
25777 * sysdeps/mach/hurd/ifreq.h: New file.
25779 2011-01-27 Petr Baudis <pasky@suse.cz>
25780 Ulrich Drepper <drepper@gmail.com>
25783 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25784 to extend_alloca().
25785 * stdio-common/bug23.c: New file.
25786 * stdio-common/Makefile (tests): Add bug23.
25788 2010-09-28 Andreas Schwab <schwab@redhat.com>
25789 Ulrich Drepper <drepper@gmail.com>
25792 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25793 before performing relro protection. At old place add assertion
25794 to make sure nothing changed.
25796 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25797 Glauber de Oliveira Costa <glommer@gmail.com>
25799 * elf/elf.h: Add new ARM TLS relocs.
25801 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25804 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25806 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25808 * sysdeps/wordsize-64/tst-writev.c: New file.
25810 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25812 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25813 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25814 insns in _dl_start to prevent a TOC reference before relocs are
25817 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25820 * Makeconfig: Remove RANLIB definition.
25821 * Makerules: Don't use RANLIB.
25822 * aclocal.m4: Remove ranlib test.
25823 * configure.in: No need to check for ranlib.
25824 * elf/rtld-Rules: Don't use RANLIB.
25826 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25828 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25830 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25831 inclusion protection macro.
25833 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25834 SIGRTMIN and SIGRTMAX and print information in that case only when
25835 SIGRTMIN is defined.
25837 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25839 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25840 arginfo fn returning -1.
25842 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25843 and thousands string is zero terminated.
25845 2011-02-03 Andreas Schwab <schwab@redhat.com>
25847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25848 sysdeps/unix/sysv/linux/bits/socket.h.
25850 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25852 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25853 (__CPU_COUNT): Remove old macros.
25854 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25855 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25856 (__CPU_ALLOC, __CPU_FREE): Add macros.
25857 (__sched_cpualloc, __sched_cpufree): Add declarations.
25859 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25861 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25862 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25863 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25864 (readdhstai): Return value of addhstaiX call.
25865 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25866 (addgrbyX): Return value returned by cache_addgr.
25867 (readdgrbyname): Return value returned by addgrbyX.
25868 (readdgrbygid): Likewise.
25869 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25870 (addpwbyX): Return value returned by cache_addpw.
25871 (readdpwbyname): Return value returned by addhstbyX.
25872 (readdpwbyuid): Likewise.
25873 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25874 (addservbyX): Return value returned by cache_addserv.
25875 (readdservbyname): Return value returned by addservbyX:
25876 (readdservbyport): Likewise.
25877 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25878 (addhstbyX): Return value returned by cache_addhst.
25879 (readdhstbyname): Return value returned by addhstbyX.
25880 (readdhstbyaddr): Likewise.
25881 (readdhstbynamev6): Likewise.
25882 (readdhstbyaddrv6): Likewise.
25883 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25884 (readdinitgroups): Return value returned by addinitgroupsX.
25885 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25886 (prune_cache): Keep track of timeout value of re-added entries.
25887 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25888 * nscd/nscd.h: Adjust prototypes of readd* functions.
25890 2011-02-04 Roland McGrath <roland@redhat.com>
25892 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25893 (nis_stats): Likewise.
25894 * nis/nis_modify.c (nis_modify): Likewise.
25895 * nis/nis_remove.c (nis_remove): Likewise.
25896 * nis/nis_add.c (nis_add): Likewise.
25898 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25900 * posix/fnmatch_loop.c: Add some consts.
25902 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25904 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25907 * config.make.in (config-cflags-novzeroupper): Define.
25908 * configure.in: Substitute libc_cv_cc_novzeroupper.
25909 * elf/Makefile (AVX-CFLAGS): Define.
25910 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25911 (CFLAGS-tst-auditmod4a.c): Likewise.
25912 (CFLAGS-tst-auditmod4b.c): Likewise.
25913 (CFLAGS-tst-auditmod6b.c): Likewise.
25914 (CFLAGS-tst-auditmod6c.c): Likewise.
25915 (CFLAGS-tst-auditmod7b.c): Likewise.
25916 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25918 2011-02-02 Ulrich Drepper <drepper@gmail.com>
25920 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25921 function to the callback.
25922 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25924 2011-02-02 Andreas Schwab <schwab@redhat.com>
25926 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25929 2011-01-19 Ulrich Drepper <drepper@gmail.com>
25932 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25934 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25936 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25939 * elf/Makefile: Add rules to build and run new test.
25940 * elf/tst-initorder.c: New file.
25941 * elf/tst-initorder.exp: New file.
25942 * elf/tst-initordera1.c: New file.
25943 * elf/tst-initordera2.c: New file.
25944 * elf/tst-initordera3.c: New file.
25945 * elf/tst-initordera4.c: New file.
25946 * elf/tst-initorderb1.c: New file.
25947 * elf/tst-initorderb2.c: New file.
25948 * elf/tst-order-a1.c: New file.
25949 * elf/tst-order-a2.c: New file.
25950 * elf/tst-order-a3.c: New file.
25951 * elf/tst-order-a4.c: New file.
25952 * elf/tst-order-b1.c: New file.
25953 * elf/tst-order-b2.c: New file.
25954 * elf/tst-order-main.c: New file.
25955 New test case by George Gensure <werkt0@gmail.com>.
25957 2010-10-01 Andreas Schwab <schwab@redhat.com>
25959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25960 decoding ACE if AI_CANONIDN.
25962 2011-01-18 Ulrich Drepper <drepper@gmail.com>
25964 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25966 2011-01-17 Ulrich Drepper <drepper@gmail.com>
25968 * version.h (RELEASE): Bump for 2.13 release.
25969 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25971 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25975 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25980 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25982 * posix/getconf.c: Update copyright year.
25983 * catgets/gencat.c: Likewise.
25984 * csu/version.c: Likewise.
25985 * debug/catchsegv.sh: Likewise.
25986 * debug/xtrace.sh: Likewise.
25987 * elf/ldconfig.c: Likewise.
25988 * elf/ldd.bash.in: Likewise.
25989 * elf/sprof.c (print_version): Likewise.
25990 * iconv/iconv_prog.c: Likewise.
25991 * iconv/iconvconfig.c: Likewise.
25992 * locale/programs/locale.c: Likewise.
25993 * locale/programs/localedef.c: Likewise.
25994 * malloc/memusage.sh: Likewise.
25995 * malloc/mtrace.pl: Likewise.
25996 * nscd/nscd.c (print_version): Likewise.
25997 * nss/getent.c: Likewise.
25999 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26000 PF_CAIF, and PF_ALG.
26001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26003 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26005 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26006 (modules-names): Use them.
26007 (ifunc-test-modules, ifunc-pie-tests): Define.
26008 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26009 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26010 (test-extras): Likewise.
26011 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26012 $(compile-command.c).
26013 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26014 (all-built-dso): Define.
26015 (check-textrel.out, check-execstack.out): Depend on it.
26017 * configure.in: Don't override --enable-multi-arch.
26019 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26022 * nscd/hstcache.c (tryagain): Define.
26023 (cache_addhst): Return tryagain not notfound for temporary errors.
26024 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26027 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26031 to make the syscall.
26032 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26035 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26036 and fall back to matching as normal character if the string ends before
26037 the matching ']' is found. This is what POSIX requires.
26038 * posix/testfnm.c: Adjust test result.
26039 * posix/globtest.sh: Adjust test result. Add new test.
26040 * posix/tst-fnmatch.input: Likewise.
26041 * posix/tst-fnmatch2.c: Add new test.
26043 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26045 * elf/Makefile (check-execstack): Revert last change. Depend on
26047 (check-execstack.h): New target.
26048 (generated): Add check-execstack.h.
26049 * elf/check-execstack.c: Include "check-execstack.h".
26050 (main): Revert last change.
26051 (handle_file): Return zero if GNU_STACK is absent and
26052 DEFAULT_STACK_PERMS doesn't include PF_X.
26054 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26056 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26057 in child fails because the descriptor is already closed.
26058 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26059 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26060 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26063 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26067 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26068 temporary buffer used to handle multi lookups locally.
26069 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26071 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26073 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26076 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26078 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26079 alignment for SSE2.
26081 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26084 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26085 characters. When rounding increased number of integer digits recompute
26087 * stdio-common/tst-grouping.c: New file.
26088 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26090 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26092 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26093 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26095 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26097 * bits/select.h: Likewise.
26099 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26101 * po/ja.po: Update from translation team.
26103 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26106 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26107 implementation just like for lxstat, fxstatat, et al.
26109 2010-12-27 Jim Meyering <meyering@redhat.com>
26112 * posix/regexec.c (build_trtable): Return failure indication upon
26113 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26115 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26118 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26119 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26120 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26124 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26127 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26128 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26130 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26132 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26133 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26134 script has SORT_BY_INIT_PRIORITY.
26135 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26136 NO_CTORS_DTORS_SECTIONS is defined.
26137 * elf/soinit.c: Likewise.
26138 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26139 NO_CTORS_DTORS_SECTIONS is defined.
26140 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26141 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26142 * sysdeps/sh/init-first.c: Likewise.
26143 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26145 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26147 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26148 always use the slow path.
26150 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26152 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26153 similar rule which adds the sysdep directories to the header search in
26154 order to pick up the correct platform stackinfo.h.
26155 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26156 perform test if it is, otherwise return successfully without testing.
26157 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26158 DEFAULT_STACK_PERMS define in stackinfo.h.
26159 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26160 defined in stackinfo.h.
26161 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26162 DEFAULT_STACK_PERMS defined in stackinfo.h.
26163 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26164 * sysdeps/ia64/stackinfo.h: Likewise.
26165 * sysdeps/s390/stackinfo.h: Likewise.
26166 * sysdeps/sh/stackinfo.h: Likewise.
26167 * sysdeps/sparc/stackinfo.h: Likewise.
26168 * sysdeps/x86_64/stackinfo.h: Likewise.
26169 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26170 PF_X for powerpc64. Retain PF_X for powerpc32.
26172 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26174 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26176 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26177 GETDENTS_64BIT_ALIGNED.
26179 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26181 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26183 2010-12-10 Andreas Schwab <schwab@redhat.com>
26185 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26188 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26189 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26191 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26192 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26194 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26197 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26200 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26202 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26204 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26206 * po/it.po: Update from translation team.
26208 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26213 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26215 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26217 2010-11-24 Andreas Schwab <schwab@redhat.com>
26219 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26221 (gaih_getanswer_slice): Likewise.
26223 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26227 2010-05-31 Petr Baudis <pasky@suse.cz>
26230 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26231 silently even in the chroot mode.
26233 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26235 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26236 last patch a bit. Pretty printing
26238 2010-05-31 Petr Baudis <pasky@suse.cz>
26241 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26242 initialization of skip_initgroups_dyn.
26244 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26249 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26251 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26253 2010-11-11 Andreas Schwab <schwab@redhat.com>
26255 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26256 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26257 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26258 ($(objpfx)tst-fnmatch-mem): New rule.
26259 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26260 * posix/tst-fnmatch.c (main): Call mtrace.
26262 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26265 Support Intel processor model 6 and model 0x2c.
26267 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26272 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26275 * string/test-strncasecmp.c (check_result): New function.
26276 (do_one_test): Use it.
26277 (check1): New function.
26278 (test_main): Use it.
26279 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26280 Support strcasecmp and strncasecmp.
26282 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26285 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26288 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26290 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26294 * sysdeps/x86_64/multiarch/bzero.S: New file.
26295 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26296 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26297 * sysdeps/x86_64/multiarch/memset.S: New file.
26298 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26300 Set bit_Prefer_SSE_for_memop for Intel processors.
26301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26303 (index_Prefer_SSE_for_memop): Define.
26304 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26306 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26308 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26309 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26311 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26314 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26315 (__x86_64_raw_data_cache_size_half): Likewise.
26316 (__x86_64_raw_shared_cache_size): Likewise.
26317 (__x86_64_raw_shared_cache_size_half): Likewise.
26319 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26320 (__x86_64_raw_data_cache_size_half): Likewise.
26321 (__x86_64_raw_shared_cache_size): Likewise.
26322 (__x86_64_raw_shared_cache_size_half): Likewise.
26323 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26324 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26325 and __x86_64_raw_shared_cache_size_half. Round
26326 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26327 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26328 to multiple of 256 bytes.
26330 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26334 of inacessible symlinks. Verify result of symlink before returning it.
26335 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26336 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26338 2010-10-28 Erich Ritz <erichritz@gmail.com>
26340 * math/math.h (isinf): Fix typo in comment.
26342 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26344 * po/da.po: Update from translation team.
26346 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26348 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26349 is added to the list.
26351 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26352 Ulrich Drepper <drepper@gmail.com>
26354 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26355 the global list here. Move code to...
26356 (_dl_add_to_namespace_list): ...here. New function.
26357 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26358 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26359 * elf/dl-load.c (lose): Don't remove the element from the list.
26360 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26361 (_dl_map_object): Likewise.
26363 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26366 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26367 into all bytes of SSE register.
26368 Patch by Richard Li <richardpku@gmail.com>.
26370 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26373 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26376 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26378 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26379 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26380 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26386 2010-10-22 Andreas Schwab <schwab@redhat.com>
26388 * include/dlfcn.h (__RTLD_SECURE): Define.
26389 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26390 mode & __RTLD_SECURE instead.
26391 (open_path): Rename preloaded parameter to secure.
26392 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26393 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26394 * elf/dl-deps.c (openaux): Likewise.
26395 * elf/rtld.c (struct map_args): Remove is_preloaded.
26396 (map_doit): Don't use it.
26397 (dl_main): Likewise.
26398 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26399 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26401 2010-09-09 Andreas Schwab <schwab@redhat.com>
26403 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26404 (sysd-rules-targets): Remove duplicates.
26405 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26406 rtld-%.$o dependency.
26408 2010-10-18 Andreas Schwab <schwab@redhat.com>
26410 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26411 _dl_map_object do it.
26413 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26415 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26416 fast fma builtins, define the macros in the C99 standard.
26417 (FP_FAST_FMAF): Likewise.
26418 (FP_FAST_FMAL): Likewise.
26419 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26421 * bits/mathdef.h: Update copyright year.
26422 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26424 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26426 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26427 builtins, define the macros in the C99 standard.
26428 (FP_FAST_FMAF): Likewise.
26429 (FP_FAST_FMAL): Likewise.
26430 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26432 (FP_FAST_FMAF): Likewise.
26434 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26437 * math/libm-test.inc (fma_test): Some new testcases.
26438 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26440 y and infinite z. Do multiplication by C already in long double.
26441 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26443 y and infinite z. Do bitwise or of inexact bit into u.d.
26444 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26445 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26446 * sysdeps/i386/fpu/s_fma.S: Removed.
26447 * sysdeps/i386/fpu/s_fmal.S: Removed.
26449 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26452 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26454 computation is not scheduled after fetestexcept. Fix value
26455 of minimum denormal long double.
26457 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26460 * math/libm-test.inc (fma_test): Add some more tests.
26461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26464 2010-10-15 Andreas Schwab <schwab@redhat.com>
26466 * scripts/data/localplt-s390-linux-gnu.data: New file.
26467 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26469 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26472 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26473 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26475 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26477 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26479 if one of x and y is very large and the other is subnormal.
26480 * sysdeps/s390/fpu/s_fmaf.c: New file.
26481 * sysdeps/s390/fpu/s_fma.c: New file.
26482 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26483 * sysdeps/powerpc/fpu/s_fma.S: New file.
26484 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26485 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26486 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26488 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26491 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26494 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26495 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26496 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26497 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26498 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26499 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26501 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26504 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26505 * posix/bug-regex31.input: Add test case.
26507 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26509 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26510 * posix/bug-regex31.input: New file.
26513 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26514 (parse_sub_exp): Fix last change, use postorder.
26516 * posix/bug-regex31.c: New file.
26517 * posix/Makefile: Add rules to build and run bug-regex31.
26519 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26522 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26525 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26526 to have entries in sys_siglist.
26529 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26532 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26535 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26536 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26537 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26538 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26539 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26540 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26541 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26542 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26543 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26544 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26545 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26546 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26547 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26548 * math/ftestexcept.c (fetestexcept): Likewise.
26549 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26550 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26551 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26552 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26553 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26554 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26557 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26560 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26563 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26565 * string/bug-strstr1.c: New file.
26566 * string/Makefile: Add rules to build and run bug-strstr1.
26568 2010-10-05 Eric Blake <eblake@redhat.com>
26571 * string/str-two-way.h (two_way_long_needle): Always clear memory
26572 when skipping input due to the shift table.
26574 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26577 * malloc/mcheck.c: Handle large requests.
26580 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26581 for strncmp and strncasecmp.
26582 * string/stratcliff.c: Add tests for strcmp and strncmp.
26583 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26585 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26587 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26590 2010-09-30 Andreas Jaeger <aj@suse.de>
26592 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26593 (CGROUP_SUPER_MAGIC): Define.
26594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26595 Handle btrfs and cgroup file systems.
26596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26599 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26601 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26602 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26604 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26607 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26608 trying to locate the ELF header.
26610 2010-09-27 Andreas Schwab <schwab@redhat.com>
26613 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26614 Mask out sign-bit copies when constructing f_fsid.
26616 2010-09-24 Petr Baudis <pasky@suse.cz>
26618 * debug/stack_chk_fail_local.c: Add missing licence exception.
26619 * debug/warning-nop.c: Likewise.
26621 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26623 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26624 implementing getdents64 using getdents syscall, set d_type if
26625 __ASSUME_GETDENTS32_D_TYPE.
26627 2010-09-16 Andreas Schwab <schwab@redhat.com>
26629 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26630 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26632 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26635 * posix/unistd.h: Undo change of feature selection for ftruncate from
26638 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26640 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26643 2010-09-20 Andreas Schwab <schwab@redhat.com>
26645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26649 2010-09-14 Andreas Schwab <schwab@redhat.com>
26651 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26652 variables after CHECK_SP call.
26653 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26655 2010-09-13 Andreas Schwab <schwab@redhat.com>
26656 Ulrich Drepper <drepper@redhat.com>
26658 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26659 re-relocationg ld.so.
26660 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26661 _dl_init_paths call.
26662 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26665 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26667 * resolv/res_init.c (__res_vinit): Count the default server we added.
26669 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26670 Ulrich Drepper <drepper@redhat.com>
26673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26674 (____longjmp_chk): Use %ebx for saving value across system call.
26677 2010-09-06 Andreas Schwab <schwab@redhat.com>
26679 * manual/Makefile: Don't mix pattern rules with normal rules.
26681 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26683 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26685 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26686 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26687 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26688 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26692 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26695 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26696 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26698 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26700 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26701 * sysdeps/x86_64/addmul_1.S: Likewise.
26702 * sysdeps/x86_64/lshift.S: Likewise.
26703 * sysdeps/x86_64/mul_1.S: Likewise.
26704 * sysdeps/x86_64/rshift.S: Likewise.
26705 * sysdeps/x86_64/sub_n.S: Likewise.
26706 * sysdeps/x86_64/submul_1.S: Likewise.
26708 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26710 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26711 Define __sched_param instead of SCHED_* and sched_param when
26712 <bits/sched.h> is included with __need_schedparam defined.
26713 * bits/sched.h [__need_schedparam]
26714 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26715 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26716 (__defined_schedparam): Define to 1.
26717 (__sched_param): New structure, identical to sched_param.
26718 (__need_schedparam): Undefine.
26720 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26723 (epoll_create1): Declare.
26725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26727 2010-08-31 Andreas Schwab <schwab@redhat.com>
26730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26731 shifting retval into place.
26733 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26735 * nis/rpcsvc/nis.h: Update copyright notice.
26736 * nis/rpcsvc/nis.x: Likewise.
26737 * nis/rpcsvc/nis_callback.h: Likewise.
26738 * nis/rpcsvc/nis_callback.x: Likewise.
26739 * nis/rpcsvc/nis_object.x: Likewise.
26740 * nis/rpcsvc/nis_tags.h: Likewise.
26741 * nis/rpcsvc/yp.h: Likewise.
26742 * nis/rpcsvc/yp.x: Likewise.
26743 * nis/rpcsvc/ypupd.h: Likewise.
26744 * nis/yp_xdr.c: Likewise.
26745 * nis/ypupdate_xdr.c: Likewise.
26747 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26748 mainly the body of pmap_getport. Add parameters to specify timeouts.
26749 (pmap_getport): Use __libc_rpc_getport.
26750 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26751 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26752 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26754 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26759 2010-08-27 Roland McGrath <roland@redhat.com>
26761 * sysdeps/i386/i686/multiarch/Makefile
26762 (CFLAGS-varshift.c): New variable.
26764 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26766 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26767 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26771 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26773 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26775 * sysdeps/x86_64/strlen.S: Unroll the loop.
26776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26777 strlen-sse2 strlen-sse2-bsf.
26778 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26779 __strlen_no_bsf if bit_Slow_BSF is set.
26780 (__strlen_sse42): Removed.
26781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26782 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26784 2010-08-25 Roland McGrath <roland@redhat.com>
26786 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26787 * sysdeps/x86_64/multiarch/varshift.c: New file.
26788 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26789 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26790 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26791 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26793 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26796 strlen-sse2 strlen-sse2-bsf.
26797 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26798 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26799 (__strlen_sse2): Removed.
26800 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26803 bit_Slow_BSF for Atom.
26804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26805 (index_Slow_BSF): Define.
26806 (HAS_SLOW_BSF): Define.
26808 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26811 * resolv/res_init.c (__res_vinit): When no server address at all
26812 is given default to loopback.
26814 2010-08-24 Roland McGrath <roland@redhat.com>
26816 * configure.in: Remove config-name.h generation.
26817 * configure: Regenerated.
26818 * config-name.in: File removed.
26819 * scripts/config-uname.sh: New file.
26820 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26821 ($(objdir)config-name.h): New target.
26823 * sunrpc/rpc_parse.h: Avoid nested comment.
26825 2010-08-24 Richard Henderson <rth@redhat.com>
26826 Ulrich Drepper <drepper@redhat.com>
26827 H.J. Lu <hongjiu.lu@intel.com>
26829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26831 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26832 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26833 _mm_alignr_epi8 with _mm_loadu_si128.
26834 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26835 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26836 (__m128i_shift_right): Removed.
26837 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26838 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26839 * sysdeps/x86_64/multiarch/varshift.h: New file.
26840 * sysdeps/x86_64/multiarch/varshift.S: New file.
26842 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26844 * configure.in: Move assembler checks to before sysdep dir checking.
26846 2010-08-20 Petr Baudis <pasky@suse.cz>
26848 * LICENSES: Sync the sunrpc license.
26850 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26852 * sunrpc/auth_des.c: Update copyright notice once again.
26853 * sunrpc/auth_none.c: Likewise.
26854 * sunrpc/auth_unix.c: Likewise.
26855 * sunrpc/authdes_prot.c: Likewise.
26856 * sunrpc/authuxprot.c: Likewise.
26857 * sunrpc/bindrsvprt.c: Likewise.
26858 * sunrpc/clnt_gen.c: Likewise.
26859 * sunrpc/clnt_perr.c: Likewise.
26860 * sunrpc/clnt_raw.c: Likewise.
26861 * sunrpc/clnt_simp.c: Likewise.
26862 * sunrpc/clnt_tcp.c: Likewise.
26863 * sunrpc/clnt_udp.c: Likewise.
26864 * sunrpc/clnt_unix.c: Likewise.
26865 * sunrpc/des_crypt.c: Likewise.
26866 * sunrpc/des_soft.c: Likewise.
26867 * sunrpc/get_myaddr.c: Likewise.
26868 * sunrpc/getrpcport.c: Likewise.
26869 * sunrpc/key_call.c: Likewise.
26870 * sunrpc/key_prot.c: Likewise.
26871 * sunrpc/openchild.c: Likewise.
26872 * sunrpc/pm_getmaps.c: Likewise.
26873 * sunrpc/pm_getport.c: Likewise.
26874 * sunrpc/pmap_clnt.c: Likewise.
26875 * sunrpc/pmap_prot.c: Likewise.
26876 * sunrpc/pmap_prot2.c: Likewise.
26877 * sunrpc/pmap_rmt.c: Likewise.
26878 * sunrpc/rpc/auth.h: Likewise.
26879 * sunrpc/rpc/auth_unix.h: Likewise.
26880 * sunrpc/rpc/clnt.h: Likewise.
26881 * sunrpc/rpc/des_crypt.h: Likewise.
26882 * sunrpc/rpc/key_prot.h: Likewise.
26883 * sunrpc/rpc/netdb.h: Likewise.
26884 * sunrpc/rpc/pmap_clnt.h: Likewise.
26885 * sunrpc/rpc/pmap_prot.h: Likewise.
26886 * sunrpc/rpc/pmap_rmt.h: Likewise.
26887 * sunrpc/rpc/rpc.h: Likewise.
26888 * sunrpc/rpc/rpc_des.h: Likewise.
26889 * sunrpc/rpc/rpc_msg.h: Likewise.
26890 * sunrpc/rpc/svc.h: Likewise.
26891 * sunrpc/rpc/svc_auth.h: Likewise.
26892 * sunrpc/rpc/types.h: Likewise.
26893 * sunrpc/rpc/xdr.h: Likewise.
26894 * sunrpc/rpc_clntout.c: Likewise.
26895 * sunrpc/rpc_cmsg.c: Likewise.
26896 * sunrpc/rpc_common.c: Likewise.
26897 * sunrpc/rpc_cout.c: Likewise.
26898 * sunrpc/rpc_dtable.c: Likewise.
26899 * sunrpc/rpc_hout.c: Likewise.
26900 * sunrpc/rpc_main.c: Likewise.
26901 * sunrpc/rpc_parse.c: Likewise.
26902 * sunrpc/rpc_parse.h: Likewise.
26903 * sunrpc/rpc_prot.c: Likewise.
26904 * sunrpc/rpc_sample.c: Likewise.
26905 * sunrpc/rpc_scan.c: Likewise.
26906 * sunrpc/rpc_scan.h: Likewise.
26907 * sunrpc/rpc_svcout.c: Likewise.
26908 * sunrpc/rpc_tblout.c: Likewise.
26909 * sunrpc/rpc_util.c: Likewise.
26910 * sunrpc/rpc_util.h: Likewise.
26911 * sunrpc/rpcinfo.c: Likewise.
26912 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26913 * sunrpc/rpcsvc/key_prot.x: Likewise.
26914 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26915 * sunrpc/rpcsvc/mount.x: Likewise.
26916 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26917 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26918 * sunrpc/rpcsvc/rex.x: Likewise.
26919 * sunrpc/rpcsvc/rstat.x: Likewise.
26920 * sunrpc/rpcsvc/rusers.x: Likewise.
26921 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26922 * sunrpc/rpcsvc/spray.x: Likewise.
26923 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26924 * sunrpc/rtime.c: Likewise.
26925 * sunrpc/svc.c: Likewise.
26926 * sunrpc/svc_auth.c: Likewise.
26927 * sunrpc/svc_authux.c: Likewise.
26928 * sunrpc/svc_raw.c: Likewise.
26929 * sunrpc/svc_run.c: Likewise.
26930 * sunrpc/svc_simple.c: Likewise.
26931 * sunrpc/svc_tcp.c: Likewise.
26932 * sunrpc/svc_udp.c: Likewise.
26933 * sunrpc/svc_unix.c: Likewise.
26934 * sunrpc/svcauth_des.c: Likewise.
26935 * sunrpc/xcrypt.c: Likewise.
26936 * sunrpc/xdr.c: Likewise.
26937 * sunrpc/xdr_array.c: Likewise.
26938 * sunrpc/xdr_float.c: Likewise.
26939 * sunrpc/xdr_mem.c: Likewise.
26940 * sunrpc/xdr_rec.c: Likewise.
26941 * sunrpc/xdr_ref.c: Likewise.
26942 * sunrpc/xdr_sizeof.c: Likewise.
26943 * sunrpc/xdr_stdio.c: Likewise.
26945 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26948 2010-08-19 Andreas Schwab <schwab@redhat.com>
26950 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26952 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
26954 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26957 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26959 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26960 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26961 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26963 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26964 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26966 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26967 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26969 2010-07-26 Anton Blanchard <anton@samba.org>
26971 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26972 * malloc/arena.c (heap_trim): Likewise.
26974 2010-08-16 Ulrich Drepper <drepper@redhat.com>
26976 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26979 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26981 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26983 * sysdeps/i386/elf/Makefile: New file.
26985 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26987 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26988 from fanotify_init.
26989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26992 2010-08-15 Ulrich Drepper <drepper@redhat.com>
26994 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26996 * sysdeps/multiarch/strcmp.S: Likewise.
26998 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27000 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27001 strncase_l-nonascii.
27002 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27003 Add strncase_l-ssse3.
27004 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27005 * sysdeps/x86_64/strcmp.S: Likewise.
27006 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27007 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27008 * sysdeps/x86_64/strncase.S: New file.
27009 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27010 * sysdeps/x86_64/strncase_l.S: New file.
27011 * string/Makefile (strop-tests): Add strncasecmp.
27012 * string/test-strncasecmp.c: New file.
27014 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27017 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27018 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27020 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27022 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27024 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27026 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27030 2010-05-01 Alan Modra <amodra@gmail.com>
27032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27033 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27034 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27035 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27036 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27037 tidying. Don't tail-call __sigjmp_save for static lib.
27038 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27040 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27041 (CALL_MCOUNT): Add eh info, and nop after bl.
27042 (TAIL_CALL_SYSCALL_ERROR): New macro.
27043 (PSEUDO_RET): Use it.
27044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27045 Correct save location of integer regs and cr.
27046 (_dl_profile_resolve): Correct cr save location. Delete nops
27047 after bl when SHARED. Reduce cfi size a little by better
27048 placement of cfi directives.
27049 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27050 make a stack frame. Instead use parm save area as a temp.
27051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27052 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27054 Don't make a stack frame for parent, use parm save area.
27055 Increase child stack frame to 112 bytes. Don't save unused reg,
27056 and adjust reg usage. Set up cfi on error recovery and
27057 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27059 (__makecontext): Add dummy nop after jump to exit.
27060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27061 Use correct parm save area and cr save, reduce stack frame.
27062 Correct cfi for possible PSEUDO_RET frame setup.
27063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27064 Branch to local label emitted by PSEUDO_RET rather than
27067 2010-08-12 Andreas Schwab <schwab@redhat.com>
27070 * locale/programs/locale.c (print_assignment): New function.
27071 (show_locale_vars): Use it.
27073 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27075 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27077 (struct statfs64): Likewise.
27078 (_STATFS_F_FLAGS): Define.
27079 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27081 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27082 (ST_VALID): Define locally.
27083 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27084 __statvfs_getflags, use the provided value.
27085 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27086 __ASSUME_STATFS_F_FLAGS.
27088 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27090 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27091 Add sys/fanotify.h.
27092 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27093 fanotify_mask for GLIBC_2.13.
27094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27095 fanotify_init and fanotify_mark.
27096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27097 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27099 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27101 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27102 prlimit64 for GLIBC_2.13.
27103 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27105 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27108 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27113 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27116 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27117 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27119 * nss/Makefile: Add rules to build and run tst-nss-test1.
27120 * shlib-versions: Add entry for libnss_test1.
27121 * nss/nss_test1.c: New file.
27122 * nss/tst-nss-test1.c: New file.
27124 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27125 (__nss_configure_lookup): Set appropriate entry in
27126 __nss_configure_lookup to true.
27127 * nss/nsswitch.h: Define enum with indeces of databases in
27128 databases and __nss_database_custom arrays. Declare
27129 __nss_database_custom.
27130 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27131 to avoid using nscd when custom rules are installed.
27132 * nss/getXXbyYY_r.c: Likewise.
27133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27135 * nss/nss_files/files-parse.c: Whitespace fixes.
27137 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27140 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27141 * posix/fnmatch_loop.c: Likewise.
27143 2010-07-17 Andi Kleen <ak@linux.intel.com>
27145 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27146 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27147 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27148 * Versions.def [GLIBC_2.13]: Add.
27150 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27153 Also fail if tpwd after pwuid call is NULL.
27155 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27157 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27158 when converting to ms.
27160 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27162 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27163 EOPNOTSUPP errors with ENOTTY.
27164 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27165 EOPNOTSUPP errors with ENOTTY.
27167 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27169 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27170 Add strcasecmp_l-ssse3.
27171 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27173 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27175 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27177 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27179 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27181 * string/Makefile (strop-tests): Add strcasecmp.
27182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27183 strcasecmp_l-nonascii.
27184 (gen-as-const-headers): Add locale-defines.sym.
27185 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27186 * sysdeps/x86_64/strcasecmp.S: New file.
27187 * sysdeps/x86_64/strcasecmp_l.S: New file.
27188 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27189 * sysdeps/x86_64/locale-defines.sym: New file.
27190 * string/test-strcasecmp.c: New file.
27192 * string/test-strcasestr.c: Test both ends of the range of characters.
27193 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27195 2010-07-29 Roland McGrath <roland@redhat.com>
27198 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27200 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27202 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27205 2010-07-27 Andreas Schwab <schwab@redhat.com>
27207 * manual/memory.texi (Malloc Tunable Parameters): Document
27210 2010-07-26 Roland McGrath <roland@redhat.com>
27213 * configure.in (-fgnu89-inline check): Set and substitute
27214 gnu89_inline, not libc_cv_gnu89_inline.
27215 * configure: Regenerated.
27216 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27218 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27220 * string/test-strnlen.c: New file.
27221 * string/Makefile (strop-tests): Add strnlen.
27222 * string/tester.c (test_strnlen): Add a few more test cases.
27223 * string/tst-strlen.c: Better error reporting.
27225 * sysdeps/x86_64/strnlen.S: New file.
27227 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27230 lower-latency instructions.
27232 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27234 * string/test-strcasestr.c: New file.
27235 * string/test-strstr.c: New file.
27236 * string/Makefile (strop-tests): Add strstr and strcasestr.
27237 * string/str-two-way.h: Don't undefine MAX.
27238 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27240 2010-07-21 Andreas Schwab <schwab@redhat.com>
27242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27243 strcasestr-nonascii.
27244 (CFLAGS-strcasestr-nonascii.c): Define.
27245 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27247 Remove unused attribute.
27249 2010-07-20 Roland McGrath <roland@redhat.com>
27251 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27252 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27253 ld.so.cache was broken. With it, there is no way to disable dsocaps
27254 like LD_HWCAP_MASK can disable hwcaps.
27256 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27258 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27260 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27262 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27263 call in strcasestr.
27264 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27265 __strcasestr_sse42_nonascii.
27266 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27267 strcasestr-nonascii.c.
27268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27270 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27277 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27282 2010-07-06 Andreas Schwab <schwab@redhat.com>
27285 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27288 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27291 _PC_PIPE_BUF using F_GETPIPE_SZ.
27293 2010-07-05 Roland McGrath <roland@redhat.com>
27295 * manual/arith.texi (Rounding Functions): Fix rint description
27296 implicit in round description.
27298 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27300 * elf/Makefile: Fix linking for a few tests to make recent linker
27303 2010-06-30 Andreas Schwab <schwab@redhat.com>
27305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27306 $(common-objpfx)libc_nonshared.a.
27308 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27310 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27311 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27312 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27313 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27314 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27316 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27317 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27332 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27333 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27334 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27335 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27336 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27337 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27338 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27339 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27340 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27341 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27342 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27343 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27359 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27361 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27362 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27363 * string/memmove.c (memmove): Renamed to ...
27364 (MEMMOVE): ...this. Default to memmove.
27365 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27366 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27369 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27370 mempcpy-ssse3-back memmove-ssse3-back.
27371 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27374 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27375 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27376 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27377 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27378 * sysdeps/x86_64/multiarch/memmove.c: New file.
27379 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27380 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27381 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27382 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27383 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27386 (index_Fast_Copy_Backward): Define.
27387 (HAS_ARCH_FEATURE): Define.
27388 (HAS_FAST_REP_STRING): Define.
27389 (HAS_FAST_COPY_BACKWARD): Define.
27391 2010-06-21 Andreas Schwab <schwab@redhat.com>
27393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27394 Restore proper fallback handling.
27396 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27399 * posix/group_member.c (__group_member): Correct checking loop.
27401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27402 OOM in getpwuid_r correctly. Return error number when the caller
27403 should return, otherwise -1.
27404 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27405 call returning > 0 value.
27406 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27408 2010-06-07 Andreas Schwab <schwab@redhat.com>
27410 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27411 libc_nonshared.a from targets in modules-names.
27413 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27415 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27418 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27425 2010-06-02 Andreas Schwab <schwab@redhat.com>
27427 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27429 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27431 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27440 2010-06-14 Roland McGrath <roland@redhat.com>
27442 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27444 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27446 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27447 __REDIRECT followed by __THROW.
27448 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27449 * posix/getopt.h (getopt): Likewise.
27451 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27453 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27454 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27455 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27457 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27458 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27460 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27464 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27468 Properly check family and model.
27470 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27474 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27476 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27478 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27480 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27483 2010-05-19 Andreas Schwab <schwab@redhat.com>
27485 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27488 2010-05-21 Andreas Schwab <schwab@redhat.com>
27490 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27491 and internal_recvmmsg.
27492 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27493 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27495 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27497 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27498 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27499 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27501 2010-05-20 Andreas Schwab <schwab@redhat.com>
27503 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27505 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27507 POWER7 optimizations.
27508 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27509 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27511 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27513 * version.h: Update for 2.13 development version.
27515 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27517 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27518 exceptions. Return 0.
27520 2010-05-07 Roland McGrath <roland@redhat.com>
27522 * elf/ldconfig.c (main): Add a const.
27524 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27526 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27527 (args_options): Add no-idn option.
27528 (ahosts_keys_int): Add idn_flags to ai_flags.
27529 (parse_option): Handle 'i' option to clear idn_flags.
27531 * malloc/malloc.c (_int_free): Possible race in the most recently
27532 added check. Only act on the data if no current modification
27535 See ChangeLog.17 for earlier changes.