1 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3 * stdio-common/tstdiomisc.c (F): Properly collect individual
7 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9 Instead, use input NaN values or generate a qNaN by arithmetic
10 operation. Also fix bugs to comply with the standard.
11 * math/libm-test.inc (remainder_test): Add more tests.
14 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16 input NaN values or generate a qNaN by arithmetic operation.
18 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29 * math/s_cexpf.c (__cexpf): Likewise.
30 * math/s_cexpl.c (__cexpl): Likewise.
31 * math/libm-test.inc (cexp_test): Add more tests.
33 2013-04-03 Andreas Schwab <schwab@suse.de>
36 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37 order arrays from heap if bigger than alloca cutoff.
39 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
41 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42 (SNAN_TESTS_double): Refer to GCC PR56831.
43 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
46 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
48 * Rules (bench): Move bench.out after the run is complete.
50 * Rules (bench): Echo currently running benchmark.
52 * benchtests/Makefile (bench): Add atan and slowatan.
53 * benchtests/atan-inputs: New file.
54 * benchtests/slowatan-inputs: New file.
55 * benchtests/slowatan.c: New file.
57 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62 * sysdeps/unix/sysv/linux/kernel-features.h
63 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
64 __ASSUME_XFS_RESTRICTED_CHOWN.
65 * sysdeps/unix/sysv/linux/pathconf.c
66 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67 Save and restore errno.
69 2013-04-02 Joseph Myers <joseph@codesourcery.com>
72 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
73 arguments using __kernel_casinh.
74 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
75 arguments using __kernel_casinhf.
76 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
77 arguments using __kernel_casinhl.
78 * math/libm-test.inc (cacosh_test): Add more tests.
79 * sysdeps/i386/fpu/libm-test-ulps: Update.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
84 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
85 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
87 * bench/Makefile (bench): Add sin and slowsin.
88 * benchtests/sin-inputs: New file.
89 * benchtests/slowsin-inputs: New file.
90 * benchtests/slowsin.c: New file.
92 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
93 (bench): Add slowexp and slowpow.
94 (exp-ITER): Increase iterations.
96 * benchtests/exp-inputs: Change input.
97 * benchtests/pow-inputs: Likewise.
98 * benchtests/slowexp-inputs: New file.
99 * benchtests/slowexp.c: New file.
100 * benchtests/slowpow-inputs: New file.
101 * benchtests/slowpow.c: New file.
103 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
105 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
107 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
108 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
109 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
110 * benchtests/Makefile: Add rint benchtest.
111 * benchtests/rint-inputs: Input for rint benchtest.
113 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
115 * Versions.def (libm): Add GLIBC_2.18.
116 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
117 hidden libm prototypes.
118 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
119 * math/Makefile (libm-calls): Add s_issignaling.
120 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
121 __issignalingf, __issignalingl. Adjust all libm.abilist files.
122 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
124 * math/math.h [__USE_GNU] (issignaling): New macro.
125 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
126 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
127 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
128 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
129 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
130 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
131 * manual/arith.texi (issignaling): New section.
132 * manual/libm-err-tab.pl (@all_functions): Update comment.
133 * math/gen-libm-test.pl (parse_args): Apply special handling for
135 * math/libm-test.inc (print_float, issignaling_test): New
137 (check_float_internal): Add issignaling checks.
138 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
140 * sysdeps/powerpc/math-tests.h: New file.
141 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
143 * math/test-snan.c (TEST_FUNC): Likewise.
145 2013-03-30 David S. Miller <davem@davemloft.net>
147 * po/de.po: Update from translation team.
149 2013-03-30 Joseph Myers <joseph@codesourcery.com>
152 * math/k_casinh.c (__kernel_casinh): Handle arguments with
153 imaginary part less than 1.0 and real part less than 0.5
155 * math/k_casinhf.c (__kernel_casinhf): Likewise.
156 * math/k_casinhl.c (__kernel_casinhl): Likewise.
157 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
158 (cacos_test): Add more tests.
159 (casin_test): Likewise.
160 (casinh_test): Likewise.
161 * sysdeps/i386/fpu/libm-test-ulps: Update.
162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
164 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
166 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
169 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
170 (__pow_mp): Replace ONE and MONE with their values.
171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
172 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
173 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
174 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
175 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
176 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
178 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
180 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
181 (__pow_mp): Replace ZERO and MZERO with their values.
182 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
183 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
184 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
186 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
187 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
190 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
192 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
194 2013-03-28 Roland McGrath <roland@hack.frob.com>
196 * include/stdlib.h [!SHARED] (__call_tls_dtors):
197 Declare with __attribute__ ((weak)).
198 * stdlib/exit.c (__libc_atexit) [!SHARED]:
199 Call __call_tls_dtors only if it's not NULL.
201 2013-03-28 Roland McGrath <roland@hack.frob.com>
203 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
204 didn't do it already, then set _dl_phdr and _dl_phnum based on the
205 magic __ehdr_start linker symbol if it's defined.
206 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
207 them up here if it was already done.
209 * elf/dl-support.c (_dl_phdr): Make pointer to const.
210 (_dl_aux_init): Use const in cast when setting it.
211 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
212 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
213 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
215 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
217 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
218 * csu/libc-tls.c: Nor here.
219 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
221 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
222 (__libc_message): Never call vsyslog.
224 2013-03-28 Alan Modra <amodra@gmail.com>
226 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
228 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
231 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
234 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
238 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
241 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
242 Don't add gid passed as argument.
244 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
246 2013-03-27 Joseph Myers <joseph@codesourcery.com>
249 * math/k_casinh.c (__kernel_casinh): Handle arguments with
250 imaginary part between 1.0 and 1.5 and real part less than 0.5
252 * math/k_casinhf.c (__kernel_casinhf): Likewise.
253 * math/k_casinhl.c (__kernel_casinhl): Likewise.
254 * math/libm-test.inc (cacos_test): Add more tests.
255 (casin_test): Likewise.
256 (casinh_test): Likewise.
257 * sysdeps/i386/fpu/libm-test-ulps: Update.
258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
260 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
262 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
266 (__dbl_mp): Likewise.
267 (add_magnitudes): Likewise.
268 (sub_magnitudes): Likewise.
276 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
278 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
279 (__dubcos): Likewise.
280 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
281 (__ieee754_acos): Likewise.
282 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
283 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
289 (checkint): Likewise.
290 * sysdeps/ieee754/dbl-64/e_remainder.c
291 (__ieee754_remainder): Likewise.
292 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
293 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
295 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
297 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
298 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
299 MANTISSA_STORE_T to store computations on mantissa. Use
300 macros for rounding and division.
302 (__dbl_mp): Likewise.
303 (add_magnitudes): Likewise.
304 (sub_magnitudes): Likewise.
307 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
308 powers of two in terms of TWOPOW macro.
309 (mp_no): Make type of mantissa as MANTISSA_T.
310 [!RADIXI]: Define RADIXI.
311 [!TWO52]: Define TWO52.
312 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
314 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
316 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
317 llroundl symbol when building for PPC32.
319 2013-03-24 Mark H Weaver <mhw@netris.org>
321 * manual/arith.texi (Normalization Functions): Fix prototypes for
322 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
324 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
327 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
328 high value to check if expl overflow.
329 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
330 to check for underflow and overflow.
331 * math/libm-test.inc: Add exp test.
333 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
336 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
339 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
341 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
344 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
346 * math/gen-libm-test.pl (parse_args, special_functions): Properly
347 wrap blocks consisting of several statements.
349 * sysdeps/generic/math-tests.h: New file.
350 * sysdeps/i386/fpu/math-tests.h: Likewise.
351 * math/test-snan.c: Include it.
352 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
354 2013-03-21 Joseph Myers <joseph@codesourcery.com>
357 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
358 (__ieee754_j0l): Do not improve calculations using cos of twice
359 input for inputs above LDBL_MAX / 2.0L.
360 (__ieee754_y0l): Likewise.
361 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
362 (__ieee754_j1l): Do not improve calculations using cos of twice
363 input for inputs above LDBL_MAX / 2.0L.
364 (__ieee754_y1l): Likewise.
365 * math/libm-test.inc (j0_test): Add another test.
369 * sysdeps/i386/fpu/libm-test-ulps: Update.
371 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
373 * Rules ($(objpfx)bench-%.c): Include code from a C source
376 2013-03-21 Joseph Myers <joseph@codesourcery.com>
379 * math/k_casinh.c (__kernel_casinh): Handle arguments with
380 imaginary part 1.0 and real part less than 0.5 specially.
381 * math/k_casinhf.c (__kernel_casinhf): Likewise.
382 * math/k_casinhl.c (__kernel_casinhl): Likewise.
383 * math/libm-test.inc (cacos_test): Add more tests.
384 (casin_test): Likewise.
385 (casinh_test): Likewise.
386 * sysdeps/i386/fpu/libm-test-ulps: Update.
387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
389 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
391 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
392 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
394 2013-03-20 Joseph Myers <joseph@codesourcery.com>
396 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
397 * config.make.in (config-cflags-sse4): Remove variable.
398 (config-cflags-avx): Likewise.
399 (config-cflags-sse2avx): Likewise.
400 (config-cflags-novzeroupper): Likewise.
401 (config-asflags-i686): Likewise.
402 (have-mfma4): Likewise.
403 (have-as-vis3): Likewise.
405 * configure.in (MIG): Do not AC_SUBST.
406 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
407 (libc_cv_cc_sse4): Do not AC_SUBST.
408 (libc_cv_cc_avx): Likewise.
409 (libc_cv_cc_sse2avx): Likewise.
410 (libc_cv_cc_novzeroupper): Likewise.
411 (libc_cv_cc_fma4): Likewise.
412 (libc_cv_as_i686): Likewise.
413 (libc_cv_sparc_as_vis3): Likewise.
414 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
416 (config-asflags-i686): Likewise.
417 (config-cflags-avx): Likewise.
418 (config-cflags-sse2avx): Likewise.
419 (have-mfma4): Likewise.
420 (config-cflags-novzeroupper): Likewise.
421 * sysdeps/mach/configure.in (MIG): Likewise.
422 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
423 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
425 (config-cflags-avx): Likewise.
426 (config-cflags-sse2avx): Likewise.
427 (have-mfma4): Likewise.
428 (config-cflags-novzeroupper): Likewise.
429 * configure: Regenerated.
430 * sysdeps/i386/configure: Likewise.
431 * sysdeps/mach/configure: Likewise.
432 * sysdeps/sparc/configure: Likewise.
433 * sysdeps/x86_64/configure: Likewise.
435 2013-03-20 Roland McGrath <roland@hack.frob.com>
438 * locale/programs/localedef.c (options): Put N_ translation marker
439 on argument names, not just descriptions.
441 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
443 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
445 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
448 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
450 2013-03-19 Roland McGrath <roland@hack.frob.com>
452 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
453 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
454 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
455 [!BEFORE_ABORT] (before_abort): New function.
456 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
457 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
458 (writev_for_fatal): New function.
459 (WRITEV_FOR_FATAL): New macro; call that.
460 (backtrace_and_maps): New function.
461 (BEFORE_ABORT): New macro; call that.
462 (struct str_list): Type removed.
463 (__libc_message, __libc_fatal): Functions removed.
464 Include <sysdeps/posix/libc_fatal.c> instead.
466 2013-03-19 Joseph Myers <joseph@codesourcery.com>
468 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
470 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
473 2013-03-19 Andreas Schwab <schwab@suse.de>
475 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
476 * sysdeps/gnu/configure: Regenerate.
478 * configure.in: Substitute libc_cv_rtlddir.
479 * configure: Regenerate.
480 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
481 * Makeconfig (rtlddir, inst_rtlddir): New variables.
482 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
483 * elf/Makefile (install-others, CFLAGS-interp.c)
484 (ldso_install, common-ldd-rewrite): Likewise.
485 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
486 $(inst_slibdir)/$(rtld-installed-name).
487 * scripts/rellns-sh: Add -p option.
488 * Makerules (make-shlib-link): Use rellns-sh to get relative name
491 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
493 * manual/nptl.texi: Renamed to ...
494 * manual/threads.texi: ... this.
495 * manual/Makefile (chapters): Update.
497 2013-03-18 Roland McGrath <roland@hack.frob.com>
500 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
501 on argument names, not just descriptions.
502 * malloc/memusagestat.c (options): Likewise.
503 * nss/getent.c (options): Likewise.
505 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
508 * iconv/iconv_prog.c (options): Put N_ translation marker
509 on argument names, not just descriptions.
510 * iconv/iconvconfig.c (options): Likewise.
512 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
514 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
515 implementation which is faster on all x86_64 architectures.
516 Tested on AMD, Intel Nehalem, SNB, IVB.
517 * sysdeps/x86_64/strnlen.S: Likewise.
519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
520 Remove all multiarch strlen and strnlen versions.
521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
522 Remove strlen and strnlen related parts.
524 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
528 * sysdeps/x86_64/multiarch/strlen.S: Remove.
529 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
530 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
531 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
532 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
533 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
535 2013-03-17 Carlos O'Donell <carlos@redhat.com>
537 * manual/memory.texi (Malloc Tunable Parameters):
538 Sort parameters alphabetically. Add comments for missing entries.
540 2013-03-17 David S. Miller <davem@davemloft.net>
542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
544 2013-03-16 Joseph Myers <joseph@codesourcery.com>
547 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
548 for arguments at most half maximum finite value.
549 * math/libm-test.inc (j0_test): Add more tests.
553 * sysdeps/i386/fpu/libm-test-ulps: Update.
554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
557 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
558 1 / x and functions P and Q for arguments above 0x1p256L.
559 (__ieee754_y0l): Likewise.
560 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
561 (__ieee754_y1l): Likewise.
562 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
567 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
569 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
572 2013-03-15 Roland McGrath <roland@hack.frob.com>
574 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
575 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
576 zero since it's initialized to EXEC_PAGESIZE.
578 * sysdeps/unix/sysv/linux/ldsodefs.h
579 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
580 * sysdeps/generic/ldsodefs.h: ... here.
582 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
584 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
586 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
588 * math/test-snan.c: Renamed from
589 sysdeps/powerpc/fpu/test-powerpc-snan.c.
590 * math/Makefile (tests): Add test-snan.
591 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
594 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
595 SUFFIX. Initialize qNaN_var with __builtin_nan family of
597 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
598 __builtin_nan family of functions.
599 * math/libm-test.inc (initialize): Initialize qnan_value with
600 __builtin_nan family of functions.
601 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
603 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
605 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
606 storage class. Initialize qNaN_var and sNaN_var with
607 __builtin_nan and __builtin_nans families of functions,
610 * math/libm-test.inc (acosh_test): Also test with qNaN input.
611 (sqrt_test): Remove duplicate test with qNaN input.
612 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
613 (round_test, signbit_test, significand_test): Note missing +/-Inf
614 as well as qNaN tests.
616 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
617 qNaN_var. Fix a few strings, too.
618 * math/libm-test.inc (nan_value): Rename to qnan_value.
619 * math/gen-libm-test.pl (%beautify): Adjust to that.
620 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
621 * math/test-misc.c (main): Likewise.
622 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
623 to __qnan_bytes, and __qnan_union, respectively.
624 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
626 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
627 and lqnanval, respectively.
628 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
629 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
630 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
631 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
633 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
634 * math/test-misc.c (main) [__x86_64__]: Enable test for long
637 * math/test-misc.c (main): Fix copy'n'pastos.
638 * misc/tst-efgcvt.c (special): Likewise.
640 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
643 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
645 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
646 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
647 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
648 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
650 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
652 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
653 macro to return vdso values correctly in IFUNC implementations.
654 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
655 Optimization by using IFUNC.
657 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
658 Richard Henderson <rth@redhat.com>
659 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
661 * Makefile.in (bench): New target.
662 * NEWS: Mention the benchmark framework.
663 * Rules (bench): Likewise.
664 (binaries-bench): Generate binaries for functions to
666 * benchtests/Makefile: New makefile for benchmark tests.
667 * benchtests/bench-skeleton.c: New skeleton file for benchmark
669 * benchtests/exp-inputs: New input file for EXP function.
670 * benchtests/pow-inputs: New input file for POW function.
671 * scripts/bench.pl: New script to generate source files for
674 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
676 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
677 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
678 computations on mantissa. Use macros for rounding and
681 (__dbl_mp): Likewise.
682 (add_magnitudes): Likewise.
683 (sub_magnitudes): Likewise.
686 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
687 powers of two in terms of TWOPOW macro.
688 (mp_no): Make type of mantissa as MANTISSA_T.
689 [!RADIXI]: Define RADIXI.
690 [!TWO52]: Define TWO52.
691 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
693 * manual/nptl.texi (cindex): Modify threads to pthreads.
695 2013-03-15 Joseph Myers <joseph@codesourcery.com>
697 * sysdeps/x86_64/preconfigure: Regenerated.
699 2013-03-14 Joseph Myers <joseph@codesourcery.com>
702 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
704 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
705 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
707 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
708 * math/libm-test.inc (j0_test): Do not allow one spurious
712 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
714 * manual/Makefile (chapters): Add nptl.
715 * manual/debug.texi (Debugging Support): Add link to Threads
717 * manual/nptl.texi: New file.
719 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
721 2013-03-14 Petr Baudis <pasky@ucw.cz>
723 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
724 for non-NULL pointer before the memory validity test. Pointed
725 out by Holger Brunck <holger.brunck@keymile.com>.
727 2013-03-13 Andreas Schwab <schwab@suse.de>
729 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
732 2013-03-13 Joseph Myers <joseph@codesourcery.com>
734 * timezone/zic.c: Update from tzcode 2013b.
736 2013-03-12 Carlos O'Donell <carlos@redhat.com>
738 * manual/install.texi (Configuring and compiling):
739 Mention i686 and i586.
740 * INSTALL: Regenerate.
742 2013-03-12 Roland McGrath <roland@hack.frob.com>
744 * sysdeps/init_array/elf-init.c: New file.
746 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
747 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
749 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
750 __gmon_start__ as global, but as static with a .preinit_array pointer.
751 * sysdeps/init_array/gmon-start.c: New file. Use that.
752 * sysdeps/init_array/crti.S: New file, empty except for comments.
753 * sysdeps/init_array/crtn.S: Likewise.
755 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
757 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
760 Remove Prefer_SSE_for_memop.
761 * sysdeps/x86_64/multiarch/init-arch.h: Remove
762 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
763 HAS_PREFER_SSE_FOR_MEMOP.
764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
767 Remove bzero, memset ifunc support.
768 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
769 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
770 * sysdeps/x86_64/multiarch/memset.S: Likewise.
771 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
773 2013-03-11 Andreas Schwab <schwab@suse.de>
776 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
779 (GLIBC_2.16): Remove pthread_atfork.
781 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
783 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
784 (ptestcases.h): Likewise.
786 2013-03-08 Roland McGrath <roland@hack.frob.com>
788 * Makeconfig ($(common-objpfx)config.status): Depend on
789 sysdeps/*/preconfigure{,.in} too.
791 2013-03-08 Joseph Myers <joseph@codesourcery.com>
793 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
794 (__free_hook): Use void * instead of __malloc_ptr_t.
795 (__malloc_hook): Likewise.
796 (__realloc_hook): Likewise.
797 (__memalign_hook): Likewise.
798 (__after_morecore_hook): Likewise.
799 * malloc/arena.c (save_malloc_hook): Likewise.
800 (save_free_hook): Likewise.
801 * malloc/hooks.c (malloc_hook_ini): Likewise.
802 (realloc_hook_ini): Likewise.
803 (memalign_hook_ini): Likewise.
804 * malloc/malloc.c (malloc_hook_ini): Likewise.
805 (realloc_hook_ini): Likewise.
806 (memalign_hook_ini): Likewise.
807 (__free_hook): Likewise.
808 (__malloc_hook): Likewise.
809 (__realloc_hook): Likewise.
810 (__memalign_hook): Likewise.
811 (__libc_malloc): Likewise.
812 (__libc_free): Likewise.
813 (__libc_realloc): Likewise.
814 (__libc_memalign): Likewise.
815 (__libc_valloc): Likewise.
816 (__libc_pvalloc): Likewise.
817 (__libc_calloc): Likewise.
818 (__posix_memalign): Likewise.
819 * malloc/morecore.c (__sbrk): Likewise.
820 (__default_morecore): Likewise.
822 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
824 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
825 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
828 * malloc/malloc.h (__malloc_size_t): Remove macro.
829 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
831 (old_memalign_hook): Likewise.
832 (old_realloc_hook): Likewise.
833 (struct hdr): Likewise.
835 (mallochook): Likewise.
836 (memalignhook): Likewise.
837 (reallochook): Likewise.
838 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
839 (tr_old_realloc_hook): Likewise.
840 (tr_old_memalign_hook): Likewise.
841 (tr_mallochook): Likewise.
842 (tr_reallochook): Likewise.
843 (tr_memalignhook): Likewise.
845 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
848 default_ldbl_pack and using as default implementation.
849 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
851 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
852 redundant definition.
853 (ldbl_insert_mantissa): Likewise.
854 (ldbl_canonicalize): Likewise.
855 (ldbl_nearbyint): Likewise.
856 (ldbl_pack): Rename to ldbl_pack_ppc.
857 (ldbl_unpack): Rename to ldbl_unpack_ppc.
858 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
859 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
861 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
864 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
865 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
866 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
868 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
869 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
870 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
872 2013-03-07 Andreas Jaeger <aj@suse.de>
874 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
877 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
879 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
880 Include mpa.h and declare __MPEXP.
881 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
882 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
883 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
884 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
885 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
886 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
887 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
889 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
890 (__slowpow): Use long double EXPL and LOGL functions to
892 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
893 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
894 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
895 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
896 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
897 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
900 intermediate variable to calculate exponent.
902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
906 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
907 [!NO__SQR]: Define __sqr.
908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
909 and NO__SQR. Remove all code except __mul and __sqr. Include
910 sysdeps/ieee754/dbl-64/mpa.c.
911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
914 * posix/Makefile (tests): Add tst-pathconf.
915 * posix/tst-pathconf.c: New test case.
916 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
918 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
920 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
922 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
924 2013-03-06 Andreas Jaeger <aj@suse.de>
926 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
927 definition via __MAP_ANONYMOUS.
929 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
930 it's not part of Linux headers.
932 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
933 (MAP_HUGE_MASK): Define.
935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
938 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
940 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
941 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
943 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
944 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
946 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
948 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
949 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
950 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
951 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
952 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
953 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
955 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
959 Handle f2fs and efivarfs.
961 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
964 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
965 (EFIVARFS_MAGIC): Add.
966 (F2FS_LINK_MAX): Add.
968 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
970 * stdio-common/vfprintf.c: Replace __builtin_expect with
973 2013-03-06 Joseph Myers <joseph@codesourcery.com>
976 * sysdeps/generic/bp-sym.h: Remove file.
977 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
978 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
979 <bp-sym.h> and <bp-asm.h>.
980 (__longjmp): Don't use BP_SYM.
981 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
983 (memcpy): Don't use BP_SYM.
984 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
985 <bp-sym.h> and <bp-asm.h>.
986 (memcpy): Don't use BP_SYM.
987 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
989 (memcpy): Don't use BP_SYM.
990 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
992 (memset): Don't use BP_SYM.
993 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
994 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
995 (__bzero): Don't use BP_SYM.
996 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
997 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
998 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
999 <bp-sym.h> and <bp-asm.h>.
1000 (memcmp): Don't use BP_SYM. Remove comment about bounded
1002 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1003 <bp-sym.h> and <bp-asm.h>.
1004 (memcpy): Don't use BP_SYM.
1005 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1006 <bp-sym.h> and <bp-asm.h>.
1007 (memset): Don't use BP_SYM.
1008 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1009 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1010 (__bzero): Don't use BP_SYM.
1011 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1012 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1013 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1014 <bp-sym.h> and <bp-asm.h>.
1015 (strncmp): Don't use BP_SYM. Remove comment about bounded
1017 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1018 <bp-sym.h> and <bp-asm.h>.
1019 (memcpy): Don't use BP_SYM.
1020 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1021 <bp-sym.h> and <bp-asm.h>.
1022 (memset): Don't use BP_SYM.
1023 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1024 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1025 (__bzero): Don't use BP_SYM.
1026 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1027 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1028 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1029 <bp-sym.h> and <bp-asm.h>.
1030 (__memchr): Don't use BP_SYM.
1031 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1032 <bp-sym.h> and <bp-asm.h>.
1033 (memcmp): Don't use BP_SYM. Remove comment about bounded
1035 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1036 <bp-sym.h> and <bp-asm.h>.
1037 (memcpy): Don't use BP_SYM.
1038 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1039 <bp-sym.h> and <bp-asm.h>.
1040 (__mempcpy): Don't use BP_SYM.
1041 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1042 <bp-sym.h> and <bp-asm.h>.
1043 (__memrchr): Don't use BP_SYM.
1044 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1045 <bp-sym.h> and <bp-asm.h>.
1046 (memset): Don't use BP_SYM.
1047 (__bzero): Likewise.
1048 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1049 <bp-sym.h> and <bp-asm.h>.
1050 (__rawmemchr): Don't use BP_SYM.
1051 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1052 <bp-sym.h> and <bp-asm.h>.
1053 (__STRCMP): Don't use BP_SYM.
1054 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1055 <bp-sym.h> and <bp-asm.h>.
1056 (strchr): Don't use BP_SYM.
1057 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1058 <bp-sym.h> and <bp-asm.h>.
1059 (__strchrnul): Don't use BP_SYM.
1060 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1061 <bp-sym.h> and <bp-asm.h>.
1062 (strlen): Don't use BP_SYM.
1063 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1064 <bp-sym.h> and <bp-asm.h>.
1065 (strncmp): Don't use BP_SYM. Remove comment about bounded
1067 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1068 <bp-sym.h> and <bp-asm.h>.
1069 (__strnlen): Don't use BP_SYM.
1070 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1071 <bp-sym.h> and <bp-asm.h>.
1072 (__GI__setjmp): Don't use BP_SYM.
1073 (_setjmp): Likewise.
1074 (__sigsetjmp): Likewise.
1075 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1076 (L(start_addresses)): Don't use BP_SYM.
1078 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1080 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1081 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1082 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1083 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1084 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1086 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1087 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1088 about bounded pointers.
1089 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1090 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1091 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1093 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1094 about bounded pointers. Remove GKM FIXME comments.
1095 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1096 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1098 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1099 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1100 Remove GKM FIXME comments.
1101 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1102 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1103 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1105 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1106 about bounded pointers. Remove GKM FIXME comment.
1107 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1109 (strncmp): Don't use BP_SYM. Remove comment about bounded
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1112 <bp-sym.h> and <bp-asm.h>.
1113 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1115 <bp-sym.h> and <bp-asm.h>.
1116 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1119 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1121 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1124 2013-03-05 David S. Miller <davem@davemloft.net>
1126 * po/es.po: Update from translation team.
1128 2013-03-05 Andreas Jaeger <aj@suse.de>
1130 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1131 <bits/mman-linux.h>.
1132 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1134 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1135 <bits/mman-linux.h> to end of file.
1136 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1138 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1139 <bits/mman-linux.h> to end of file.
1140 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1142 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1143 <bits/mman-linux.h> to end of file.
1145 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1146 (MCL_CURRENT, MCL_FUTURE): Define here.
1148 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1153 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1155 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1157 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1158 fourth parameter needed for rt_sigprocmask syscall.
1159 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1160 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1161 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1162 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1163 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1164 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1166 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1169 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1170 comment about bounded pointers.
1171 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1172 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1174 2013-03-04 Andreas Jaeger <aj@suse.de>
1176 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1179 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1180 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1181 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1182 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1183 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1184 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1186 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1190 __ieee754_sqrl instead of __sqrl.
1192 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1194 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1195 * sysdeps/powerpc/fpu_control.h: ... here.
1196 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1197 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1198 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1199 * sysdeps/powerpc/bits/mathinline.h: ... here.
1201 2013-03-01 Roland McGrath <roland@hack.frob.com>
1203 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1204 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1205 to just [NEED_DL_SYSINFO_DSO].
1206 * elf/dl-support.c: Likewise.
1207 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1208 * elf/rtld.c (dl_main): Likewise.
1209 * elf/setup-vdso.h (setup_vdso): Likewise.
1210 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1211 * sysdeps/unix/sysv/linux/dl-sysdep.c
1212 (_dl_discover_osversion): Likewise.
1214 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1216 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1217 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1219 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1221 * NEWS: Mention libm performance improvements and non-x86 PI
1224 * csu/libc-start.c (__pthread_initialize_minimal): Change
1226 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1228 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1231 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1232 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1233 <bp-sym.h> and <bp-asm.h>.
1234 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1235 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1237 (memcpy): Don't use BP_SYM.
1238 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1240 (__mpn_add_n): Don't use BP_SYM.
1241 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1242 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1244 (__mpn_addmul_1): Don't use BP_SYM.
1245 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1246 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1248 (_setjmp): Don't use BP_SYM.
1249 (__novmx_setjmp): Likewise.
1250 (__GI__setjmp): Likewise.
1251 (__vmx_setjmp): Likewise.
1252 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1254 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1255 (__bzero): Don't use BP_SYM.
1256 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1257 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1258 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1259 <bp-sym.h> and <bp-asm.h>.
1260 (memcpy): Don't use BP_SYM.
1261 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1262 <bp-sym.h> and <bp-asm.h>.
1263 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1264 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1265 <bp-sym.h> and <bp-asm.h>.
1266 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1267 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1269 (__mpn_lshift): Don't use BP_SYM.
1270 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1271 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1273 (memset): Don't use BP_SYM.
1274 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1275 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1276 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1278 (__mpn_mul_1): Don't use BP_SYM.
1279 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1280 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1281 <bp-sym.h> and <bp-asm.h>.
1282 (memcmp): Don't use BP_SYM.
1283 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1284 <bp-sym.h> and <bp-asm.h>.
1285 (memcpy): Don't use BP_SYM.
1286 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1287 <bp-sym.h> and <bp-asm.h>.
1288 (memset): Don't use BP_SYM.
1289 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1290 <bp-sym.h> and <bp-asm.h>.
1291 (strncmp): Don't use BP_SYM.
1292 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1293 <bp-sym.h> and <bp-asm.h>.
1294 (memcpy): Don't use BP_SYM.
1295 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1296 <bp-sym.h> and <bp-asm.h>.
1297 (memset): Don't use BP_SYM.
1298 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1299 <bp-sym.h> and <bp-asm.h>.
1300 (__memchr): Don't use BP_SYM.
1301 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1302 <bp-sym.h> and <bp-asm.h>.
1303 (memcmp): Don't use BP_SYM.
1304 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1305 <bp-sym.h> and <bp-asm.h>.
1306 (memcpy): Don't use BP_SYM.
1307 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1308 <bp-sym.h> and <bp-asm.h>.
1309 (__mempcpy): Don't use BP_SYM.
1310 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1311 <bp-sym.h> and <bp-asm.h>.
1312 (__memrchr): Don't use BP_SYM.
1313 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1314 <bp-sym.h> and <bp-asm.h>.
1315 (memset): Don't use BP_SYM.
1316 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1317 <bp-sym.h> and <bp-asm.h>.
1318 (__rawmemchr): Don't use BP_SYM.
1319 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1320 <bp-sym.h> and <bp-asm.h>.
1321 (__STRCMP): Don't use BP_SYM.
1322 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1323 <bp-sym.h> and <bp-asm.h>.
1324 (strchr): Don't use BP_SYM.
1325 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1326 <bp-sym.h> and <bp-asm.h>.
1327 (__strchrnul): Don't use BP_SYM.
1328 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1329 <bp-sym.h> and <bp-asm.h>.
1330 (strlen): Don't use BP_SYM.
1331 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1332 <bp-sym.h> and <bp-asm.h>.
1333 (strncmp): Don't use BP_SYM.
1334 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1335 <bp-sym.h> and <bp-asm.h>.
1336 (__strnlen): Don't use BP_SYM.
1337 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1339 (__mpn_rshift): Don't use BP_SYM.
1340 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1341 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1342 <bp-sym.h> and <bp-asm.h>.
1343 (__sigsetjmp): Don't use BP_SYM.
1344 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1345 (L(start_addresses)): Don't use BP_SYM.
1347 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1349 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1350 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1351 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1352 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1354 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1355 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1356 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1357 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1359 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1361 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1362 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1364 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1366 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1367 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1368 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1370 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1372 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1374 (strncmp): Don't use BP_SYM,
1375 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1377 (__mpn_sub_n): Don't use BP_SYM.
1378 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1379 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1381 (__mpn_submul_1): Don't use BP_SYM.
1382 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1384 <bp-sym.h> and <bp-asm.h>.
1385 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1387 <bp-sym.h> and <bp-asm.h>.
1388 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1391 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1394 Use ZK to minimize writes to Z.
1395 (sub_magnitudes): Simplify code a bit.
1396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1397 Use ZK to minimize writes to Z.
1398 (sub_magnitudes): Simplify code a bit.
1400 2013-02-27 Roland McGrath <roland@hack.frob.com>
1402 * csu/gmon-start.c: Add special exception to license text.
1404 2013-02-27 Richard Henderson <rth@redhat.com>
1406 * scripts/config.guess: Update from config.git.
1407 * scripts/config.sub: Likewise.
1409 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1411 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1413 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1415 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1417 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1419 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1421 2013-02-26 Roland McGrath <roland@hack.frob.com>
1423 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1424 [$(build-shared = yes].
1426 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1428 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1429 (__mul): Reduce iterations for calculating mantissa.
1431 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1433 (__mpranred): Likewise.
1436 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1437 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1439 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1441 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1442 Define __attribute__.
1444 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1446 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1448 * posix/regex_internal.h (__attribute): Remove.
1449 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1450 (re_string_context_at): Likewise.
1451 (bitset_not): Use __attribute__ and mark function as possibly
1453 (bitset_merge): Likewise.
1454 (bitset_mask): Likewise.
1455 (re_string_char_size_at): Likewise.
1456 (re_string_wchar_at): Likewise.
1457 (re_string_elem_size_at): Likewise.
1459 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1461 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1465 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1470 (__dbl_mp): Likewise.
1471 (add_magnitudes): Likewise.
1472 (sub_magnitudes): Likewise.
1476 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1479 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1482 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1486 up changes with default code.
1487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1490 2013-02-24 Allan McRae <allan@archlinux.org>
1492 * manual/socket.texi (The Internet Namespace): Order menu items
1493 to match that in the file.
1495 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1496 node listing of the info page menu.
1498 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1501 * sysdeps/i386/bp-asm.h: Remove file.
1502 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1503 (PARMS): Do not use macros from bp-asm.h.
1507 (__mpn_add_n): Do not use BP_SYM
1508 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1510 (PARMS): Do not use macros from bp-asm.h.
1513 (__mpn_addmul_1): Do not use BP_SYM
1514 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1516 (PARMS): Do not use macros from bp-asm.h.
1518 (_setjmp): Likewise. Do not use BP_SYM.
1519 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1521 (PARMS): Do not use macros from bp-asm.h.
1523 (setjmp): Likewise. Do not use BP_SYM.
1524 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1526 (PARMS): Do not use macros from bp-asm.h.
1527 (__frexp): Do not use BP_SYM.
1529 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1531 (PARMS): Do not use macros from bp-asm.h.
1532 (__frexpf): Do not use BP_SYM.
1534 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1536 (PARMS): Do not use macros from bp-asm.h.
1537 (__frexpl): Do not use BP_SYM.
1539 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1541 (PARMS): Do not use macros from bp-asm.h.
1542 (__remquo): Do not use BP_SYM.
1544 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1546 (PARMS): Do not use macros from bp-asm.h.
1547 (__remquof): Do not use BP_SYM.
1548 (remquof): Likewise.
1549 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1551 (PARMS): Do not use macros from bp-asm.h.
1552 (__remquol): Do not use BP_SYM.
1553 (remquol): Likewise.
1554 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1556 (PARMS): Do not use macros from bp-asm.h.
1559 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1560 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1562 (PARMS): Do not use macros from bp-asm.h.
1563 (strlen): Do not use BP_SYM.
1564 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1566 (PARMS): Do not use macros from bp-asm.h.
1570 (__mpn_add_n): Do not use BP_SYM.
1571 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1573 (PARMS): Do not use macros from bp-asm.h.
1576 (__mpn_addmul_1): Do not use BP_SYM.
1577 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1580 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1582 (PARMS): Do not use macros from bp-asm.h.
1585 (__mpn_lshift): Do not use BP_SYM.
1586 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1588 (PARMS): Do not use macros from bp-asm.h.
1592 (memcpy): Likewise. Do not use BP_SYM.
1593 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1594 libc_hidden_def and weak_alias.
1595 (mempcpy): Do not use BP_SYM in weak_alias.
1596 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1598 (PARMS): Do not use macros from bp-asm.h.
1601 [!BZERO_P] (CHR): Likewise.
1602 (memset): Likewise. Do not use BP_SYM.
1603 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1605 (PARMS): Do not use macros from bp-asm.h.
1608 (__mpn_mul_1): Do not use BP_SYM.
1609 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1611 (PARMS): Do not use macros from bp-asm.h.
1614 (__mpn_rshift): Do not use BP_SYM.
1615 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1617 (PARMS): Do not use macros from bp-asm.h.
1620 (strchr): Likewise. Do not use BP_SYM.
1621 (index): Do not use BP_SYM in weak_alias.
1622 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1624 (PARMS): Do not use macros from bp-asm.h.
1627 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1628 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1630 (PARMS): Do not use macros from bp-asm.h.
1631 (strlen): Do not use BP_SYM.
1632 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1634 (PARMS): Do not use macros from bp-asm.h.
1638 (__mpn_sub_n): Do not use BP_SYM.
1639 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1641 (PARMS): Do not use macros from bp-asm.h.
1644 (__mpn_submul_1): Do not use BP_SYM.
1645 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1647 (PARMS): Do not use macros from bp-asm.h.
1651 (__mpn_add_n): Do not use BP_SYM.
1652 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1655 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1657 (PARMS): Do not use macros from bp-asm.h.
1660 (memcmp): Do not use BP_SYM.
1661 (bcmp): Do not use BP_SYM in weak_alias.
1662 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1664 (PARMS): Do not use macros from bp-asm.h.
1668 (memcpy): Likewise. Do not use BP_SYM.
1669 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1671 (PARMS): Do not use macros from bp-asm.h.
1675 (memmove): Likewise. Do not use BP_SYM.
1676 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1678 (PARMS): Do not use macros from bp-asm.h.
1682 (__mempcpy): Likewise. Do not use BP_SYM.
1683 (mempcpy): Do not use BP_SYM in weak_alias.
1684 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1686 (PARMS): Do not use macros from bp-asm.h.
1689 [!BZERO_P] (CHR): Likewise.
1690 (memset): Likewise. Do not use BP_SYM.
1691 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1693 (PARMS): Do not use macros from bp-asm.h.
1695 (strcmp): Do not use BP_SYM.
1696 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1698 (PARMS): Do not use macros from bp-asm.h.
1701 [USE_AS_STRTOK_R] (SAVE): Likewise.
1702 (FUNCTION): Likewise. Do not use BP_SYM.
1703 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1705 (strtok_r): Likewise.
1706 (__GI___strtok_r): Likewise.
1707 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1708 (PARMS): Do not use macros from bp-asm.h.
1711 (__mpn_lshift): Do not use BP_SYM.
1712 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1713 (PARMS): Do not use macros from bp-asm.h.
1716 (__memchr): Do not use BP_SYM.
1717 (memchr): Do not use BP_SYM in weak_alias.
1718 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1719 (PARMS): Do not use macros from bp-asm.h.
1722 (memcmp): Do not use BP_SYM.
1723 (bcmp): Do not use BP_SYM in weak_alias.
1724 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1725 (PARMS): Do not use macros from bp-asm.h.
1728 (__mpn_mul_1): Do not use BP_SYM.
1729 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1731 (PARMS): Do not use macros from bp-asm.h.
1734 (__rawmemchr): Do not use BP_SYM.
1735 (rawmemchr): Do not use BP_SYM in weak_alias.
1736 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1737 (PARMS): Do not use macros from bp-asm.h.
1740 (__mpn_rshift): Do not use BP_SYM.
1741 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1742 (PARMS): Do not use macros from bp-asm.h.
1744 (__sigsetjmp): Likewise. Do not use BP_SYM.
1745 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1746 (_start): Do not use BP_SYM.
1747 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1748 (PARMS): Do not use macros from bp-asm.h.
1751 (__stpcpy): Likewise. Do not use BP_SYM.
1752 (stpcpy): Do not use BP_SYM in weak_alias.
1753 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1755 (PARMS): Do not use macros from bp-asm.h.
1759 (__stpncpy): Likewise. Do not use BP_SYM.
1760 (stpncpy): Do not use BP_SYM in weak_alias.
1761 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1762 (PARMS): Do not use macros from bp-asm.h.
1765 (strchr): Likewise. Do not use BP_SYM.
1766 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1768 (PARMS): Do not use macros from bp-asm.h.
1771 (__strchrnul): Likewise. Do not use BP_SYM.
1772 (strchrnul): Do not use BP_SYM in weak_alias.
1773 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1775 (PARMS): Do not use macros from bp-asm.h.
1777 (strcspn): Do not use BP_SYM.
1778 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1780 (PARMS): Do not use macros from bp-asm.h.
1783 (strpbrk): Likewise. Do not use BP_SYM.
1784 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1786 (PARMS): Do not use macros from bp-asm.h.
1789 (strrchr): Likewise. Do not use BP_SYM.
1790 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1791 (PARMS): Do not use macros from bp-asm.h.
1793 (strspn): Do not use BP_SYM.
1794 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1795 (PARMS): Do not use macros from bp-asm.h.
1799 (FUNCTION): Likewise. Do not use BP_SYM.
1800 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1802 (strtok_r): Likewise.
1803 (__GI___strtok_r): Likewise.
1804 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1805 (PARMS): Do not use macros from bp-asm.h.
1809 (__mpn_sub_n): Do not use BP_SYM.
1810 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1812 (PARMS): Do not use macros from bp-asm.h.
1815 (__mpn_submul_1): Do not use BP_SYM.
1816 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1818 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1820 (PARMS): Do not use macros from bp-asm.h.
1825 (__clone): Do not use BP_SYM.
1826 (clone): Do not use BP_SYM in weak_alias.
1827 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1829 (PARMS): Do not use macros from bp-asm.h.
1831 (__mmap64): Do not use BP_SYM.
1832 (mmap64): Do not use BP_SYM in weak_alias.
1833 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1834 <bp-sym.h> and <bp-asm.h>.
1835 (PARMS): Do not use macros from bp-asm.h.
1836 (__posix_fadvise64_l64): Do not use BP_SYM.
1837 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1838 (PARMS): Do not use macros from bp-asm.h.
1840 (semtimedop): Do not use BP_SYM.
1841 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1844 2013-02-21 Allan McRae <allan@archlinux.org>
1846 * manual/message.texi (Charset conversion in gettext):
1847 Move @end statement to beginning of line.
1849 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1856 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1861 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1863 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1864 tail-call to the resolved function if pltexit isn't needed.
1866 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1869 or Y being zero as being unlikely.
1870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1873 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1875 * manual/nss.texi (System Databases and Name Service Switch):
1876 Remove frobnicate @pxref.
1878 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1880 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1881 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1883 2013-02-20 Petr Machata <pmachata@redhat.com>
1885 * elf/elf.h (R_ARM_TARGET1): New macro.
1886 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1887 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1888 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1889 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1890 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1891 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1892 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1893 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1894 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1895 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1896 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1897 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1898 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1899 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1900 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1901 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1902 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1903 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1904 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1905 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1906 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1907 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1908 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1909 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1910 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1911 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1912 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1913 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1914 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1915 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1916 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1917 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1918 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1919 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1920 (R_ARM_THM_GOT_BREL12): Likewise.
1921 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1922 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1923 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1924 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1925 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1926 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1927 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1928 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1929 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1931 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1933 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1934 __attribute_used__ to __attribute__ ((unused)).
1936 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1938 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1944 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1947 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1949 (ENTER): Remove both macro definitions.
1951 (CHECK_BOUNDS_LOW): Likewise.
1952 (CHECK_BOUNDS_HIGH): Likewise.
1953 (CHECK_BOUNDS_BOTH): Likewise.
1954 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1955 (RETURN_BOUNDED_POINTER): Likewise.
1956 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1957 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1958 (POP_ERRNO_LOCATION_RETURN): Likewise.
1959 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1960 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1961 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1963 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1964 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1965 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1966 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1967 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1968 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1969 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1970 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1971 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1972 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1973 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1974 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1975 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1976 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1978 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1979 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1981 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1982 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1983 * sysdeps/i386/i586/memset.S (memset): Likewise.
1984 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1985 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1986 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1988 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1989 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1990 Change uses of L(2) to L(out).
1991 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1992 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1993 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1994 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1995 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1997 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1998 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2000 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2001 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2002 (RETURN): Do not use macro LEAVE.
2003 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2004 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2005 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2006 * sysdeps/i386/i686/memset.S (memset): Likewise.
2007 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2008 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2009 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2010 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2012 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2013 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2014 L(1_2) and L(1_3) into L(1).
2015 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2016 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2017 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2018 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2019 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2020 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2021 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2022 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2023 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2025 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2026 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2027 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2028 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2029 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2030 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2031 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2032 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2033 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2034 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2035 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2036 * sysdeps/i386/strspn.S (strspn): Likewise.
2037 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2039 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2040 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2041 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2042 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2044 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2045 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2046 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2048 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2050 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2052 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2055 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2057 * math/atest-exp.c (exp_mpn): Remove ROUND.
2058 * math/atest-exp2.c (exp_mpn): Likewise.
2059 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2061 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2062 * stdlib/tst-tls-atexit-lib.c: Likewise.
2063 * stdlib/tst-tls-atexit.c: Likewise.
2065 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2067 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2068 and __attribute_alloc_size__.
2070 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2072 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2073 __attribute_alloc_size__.
2074 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2075 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2077 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2079 * include/programs/xmalloc.h: New file.
2080 * catgets/gencat.c: Include it.
2081 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2082 * elf/pldd.c: Likewise.
2083 * iconv/iconv_charmap.c: Likewise.
2084 * iconv/iconvconfig.c: Likewise.
2085 * iconv/strtab.c: Likewise.
2086 * locale/programs/locale.c: Likewise.
2087 * locale/programs/localedef.h: Likewise.
2088 * locale/programs/simple-hash.c: Likewise.
2089 * nscd/nscd.h: Likewise.
2090 * nss/makedb.c: Likewise.
2091 * sysdeps/generic/ldconfig.h: Likewise.
2093 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2095 * Versions.def: Add GLIBC_2.18.
2096 * include/link.h (struct link_map): New member l_tls_dtor_count.
2097 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2098 (__call_tls_dtors): Likewise.
2099 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2100 __cxa_thread_atexit_impl.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2109 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2117 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2118 (tests): Add test case tst-tls-atexit.
2119 (modules-names): Add shared library for tst-tls-atexit.
2120 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2121 (GLIBC_PRIVATE): Add __call_tls_dtors.
2122 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2124 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2125 * stdlib/tst-tls-atexit.c: New test case.
2126 * stdlib/tst-tls-atexit-lib.c: New test case.
2128 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2130 * elf/Versions (ld): Add _dl_find_dso_for_object.
2131 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2132 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2133 (dl_open_worker): Use _dl_find_dso_for_object.
2134 * elf/dl-sym.c (do_sym): Likewise.
2135 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2137 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2139 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2140 Syntactic changes only.
2141 (_dl_runtime_profile): Do a tail-call to the resolved function.
2143 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2146 * sysdeps/x86_64/bp-asm.h: Remove file.
2147 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2148 <bp-sym.h> and <bp-asm.h>.
2149 (__clone): Do not use BP_SYM.
2150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2151 <bp-sym.h> and <bp-asm.h>.
2152 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2153 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2155 (_setjmp): Do not use BP_SYM.
2156 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2158 (setjmp): Do not use BP_SYM.
2159 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2161 (mempcpy): Do not use BP_SYM in weak_alias.
2162 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2164 (strchr): Do not use BP_SYM.
2165 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2167 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2168 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2169 (_start): Do not use BP_SYM.
2170 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2172 (strcat): Do not use BP_SYM.
2173 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2175 (STRCMP): Do not use BP_SYM.
2176 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2178 (STRCPY): Do not use BP_SYM.
2179 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2181 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2183 (FUNCTION): Do not use BP_SYM.
2184 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2186 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2188 2013-02-17 Andreas Jaeger <aj@suse.de>
2190 * time/Versions: Sort entries.
2191 * string/Versions: Likewise.
2192 * resolv/Versions: Likewise.
2193 * posix/Versions: Likewise.
2194 * iconv/Versions: Likewise.
2195 * elf/Versions: Likewise.
2196 * wcsmbs/Versions: Likewise.
2198 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2200 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2201 loop termination condition.
2203 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2204 variable to calculate EZ.
2207 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2208 the lower precision input.
2210 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2213 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2214 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2215 (run-via-rtld-prefix): Do not handle %-bp tests.
2216 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2217 (all-object-suffixes): Remove .ob.
2218 (bppfx): Remove variable.
2219 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2220 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2221 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2222 [$(build-bounded) = yes] (libtype.ob): Likewise.
2223 * Makerules (elide-routines.ob): Remove variable.
2224 (do-tests-clean): Do not handle *-bp.out.
2225 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2226 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2227 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2228 (tests): Do not include $(tests-bp.out).
2229 (xtests): Do not include $(xtests-bp.out).
2230 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2231 [$(build-bounded) = yes] ($(addprefix
2232 $(objpfx),$(binaries-bounded))): Remove rule.
2233 ($(objpfx)%-bp.out): Remove rule.
2234 * config.make.in (build-bounded): Remove variable.
2235 * crypt/Makefile [$(build-bounded) = yes]
2236 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2237 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2239 [$(build-bounded) = yes] (install-lib): Likewise.
2240 [$(build-bounded) = yes] (generated): Likewise.
2241 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2243 * intl/Makefile [$(build-bounded) = yes]
2244 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2245 * math/Makefile [$(build-bounded) = yes]
2246 ($(tests:%=$(objpfx)%-bp): Likewise.
2247 * misc/Makefile [$(build-bounded) = yes]
2248 ($(objpfx)tst-tsearch-bp): Likewise.
2249 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2250 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2252 * string/Makefile (o-objects.ob): Remove variable.
2253 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2254 (CFLAGS-.ob): Remove variable.
2255 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2256 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2257 both definitions of variable.
2258 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2259 (ASFLAGS-.ob): Remove variable.
2261 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2264 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2265 Remove __BOUNDED_POINTERS__ from condition.
2266 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2267 * string/bits/string2.h [!__NO_STRING_INLINES &&
2268 !__BOUNDED_POINTERS__]: Likewise.
2269 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2271 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2272 Remove conditional code.
2273 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2274 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2275 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2279 * csu/libc-start.c: Do not include <bp-sym.h>.
2280 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2281 * elf/dl-open.c: Do not include <bp-sym.h>.
2282 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2283 * math/fegetenv.c: Do not include <bp-sym.h>.
2284 (fegetenv): Do not use BP_SYM in versioned symbols.
2285 * nptl/sysdeps/pthread/bits/libc-lockP.h
2286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2289 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2291 (__pthread_mutex_destroy): Likewise.
2292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2293 (__pthread_mutex_lock): Likewise.
2294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2295 (__pthread_mutex_trylock): Likewise.
2296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2297 (__pthread_mutex_unlock): Likewise.
2298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2299 (__pthread_mutexattr_init): Likewise.
2300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2301 (__pthread_mutexattr_destroy): Likewise.
2302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2303 (__pthread_mutexattr_settype): Likewise.
2304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2305 (__pthread_rwlock_init): Likewise.
2306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2307 (__pthread_rwlock_destroy): Likewise.
2308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2309 (__pthread_rwlock_rdlock): Likewise.
2310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2311 (__pthread_rwlock_tryrdlock): Likewise.
2312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2313 (__pthread_rwlock_wrlock): Likewise.
2314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2315 (__pthread_rwlock_trywrlock): Likewise.
2316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2317 (__pthread_rwlock_unlock): Likewise.
2318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2319 (__pthread_key_create): Likewise.
2320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2321 (__pthread_setspecific): Likewise.
2322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2323 (__pthread_getspecific): Likewise.
2324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2327 (_pthread_cleanup_push_defer): Likewise.
2328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2329 (_pthread_cleanup_pop_restore): Likewise.
2330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2331 (pthread_setcancelstate): Likewise.
2332 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2334 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2335 (memchr): Do not use BP_SYM in weak_alias.
2336 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2337 (fegetenv): Do not use BP_SYM in versioned symbols.
2338 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2339 (fesetenv): Do not use BP_SYM in versioned symbols.
2340 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2341 (feupdateenv): Do not use BP_SYM in versioned symbols.
2342 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2343 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2344 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2345 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2346 (open64): Do not use BP_SYM in weak_alias.
2347 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2348 (fegetenv): Do not use BP_SYM in versioned symbols.
2349 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2350 (fesetenv): Do not use BP_SYM in versioned symbols.
2351 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2352 (feupdateenv): Do not use BP_SYM in versioned symbols.
2353 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2354 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2355 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2356 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2357 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2358 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2359 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2361 (__libc_start_main): Do not use BP_SYM.
2363 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2366 redundant return line.
2370 (sub_magnitudes): Likewise.
2376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2380 (sub_magnitudes): Likewise.
2387 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2390 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2393 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2394 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2396 of __mul for squares.
2397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2401 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2404 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2407 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2409 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2410 prototype or function definition. Rename ubp_* variables and
2411 parameters. Remove argv definitions conditional on
2412 [__BOUNDED_POINTERS__].
2413 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2414 * elf/dl-runtime.c (_dl_fixup): Likewise.
2415 * include/set-hooks.h (RUN_HOOK): Likewise.
2416 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2418 * string/strcpy.c (strcpy): Do not use __unbounded.
2419 * sysdeps/generic/frame.h (struct layout): Likewise.
2420 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2421 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2422 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2423 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2424 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2425 (__backtrace): Likewise.
2426 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2428 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2429 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2430 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2432 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2433 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2434 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2435 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2436 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2437 Do not use __unbounded.
2438 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2439 Rename __unboundedrlimits parameter to rlimits in prototype.
2440 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2441 Do not use __unbounded.
2442 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2444 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2445 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2446 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2447 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2448 __ptrvalue or __unbounded.
2449 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2450 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2452 (__new_msgctl): Do not use __ptrvalue.
2453 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2455 (__libc_msgrcv): Do not use __ptrvalue.
2456 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2457 startup_info): Do not use __unbounded.
2458 (__libc_start_main): Likewise. Rename ubp_* variables and
2459 parameters. Remove argv definitions conditional on
2460 [__BOUNDED_POINTERS__].
2461 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2463 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2465 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2467 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2469 (__new_shmctl): Do not use __ptrvalue.
2470 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2471 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2473 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2474 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2475 (__libc_sigaction): Likewise.
2476 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2477 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2479 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2481 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2483 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2485 * string/mempcpy.c: Implement by calling memcpy.
2487 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2494 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2495 values in the mantissa.
2497 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2498 minimize writes to Z.
2499 (sub_magnitudes): Simplify code a bit.
2501 2013-02-12 Roland McGrath <roland@hack.frob.com>
2503 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2504 from the message. The linker prefixes all warnings with that already.
2506 2013-02-12 Andreas Schwab <schwab@suse.de>
2509 * posix/regexec.c (extend_buffers): Add parameter min_len.
2510 (check_matching): Pass minimum needed length.
2511 (clean_state_log_if_needed): Likewise.
2512 (get_subexp): Likewise.
2513 * posix/Makefile (tests): Add bug-regex34.
2514 (bug-regex34-ENV): Define.
2515 * posix/bug-regex34.c: New file.
2518 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2519 elements compare against the byte sequence of it, not its name.
2520 * posix/Makefile (tests): Add bug-regex35.
2521 (bug-regex35-ENV): Define.
2522 * posix/bug-regex35.c: New file.
2524 2013-02-11 Tom de Vries <tom@codesourcery.com>
2526 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2528 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2529 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2530 (CHECK_EOL): Add undef.
2532 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2534 * bits/stdlib-bsearch.h: New file.
2535 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2536 * stdlib/stdlib.h: Likewise.
2538 2013-02-11 Roland McGrath <roland@hack.frob.com>
2540 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2541 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2543 * manual/search.texi (Array Search Function): Add missing const in
2545 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2546 declaration to use rlim_t.
2547 (Basic Scheduling Functions): Remove erroneous const from
2548 sched_getparam prototype. Remove erroneous * from
2549 sched_get_priority_max and sched_get_priority_min prototypes.
2550 (Resource Usage): Fix summary @comment on vtimes to refer to
2551 sys/vtimes.h rather than vtimes.h.
2552 Add missing *s in vtimes prototype.
2553 (Limits on Resources): Fix ulimit prototype to return long int.
2554 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2555 prototypes to use long int rather than double.
2556 (BSD Random): Fix initstate and setstate to use char *, not void *.
2557 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2558 prototype to make second argument 'struct aiocb64 *const[]'.
2559 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2560 (Status of AIO Operations): Remove erroneous const in aio_return and
2561 aio_return64 prototypes.
2562 (Synchronizing I/O): Fix sync prototype to return void.
2563 * manual/startup.texi (Suboptions): Remove an erroneous const in
2564 getsubopt prototype.
2565 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2566 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2567 use size_t rather than int.
2568 (Scanning All Users): Likewise for getpwent_r.
2569 (Setting Groups): Add missing const to setgroups prototype.
2570 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2571 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2572 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2573 'const void *' rather than 'const char *'.
2574 (Host Address Functions): Likewise for inet_ntop.
2575 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2576 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2577 ssize_t for return value.
2578 (Sending Data): Likewise for send, sendto, sendmsg.
2579 (Socket Option Functions): Add a missing const in setsockopt prototype.
2580 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2581 use wchar_t for the argument.
2582 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2583 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2585 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2586 double/float/long double for second argument.
2587 Fix return types of significand, significandf, significandl.
2588 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2589 argument in fchmod prototype.
2590 (File Owner): Use uid_t and gid_t in fchown prototype.
2591 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2592 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2593 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2594 use 'const struct dirent **' as argument types to CMP function pointer
2596 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2597 (File Times): Fix summary magic @comment for struct utimbuf and utime
2598 to refer to utime.h, not time.h.
2599 * manual/string.texi (Argz Functions): Add missing const in
2600 argz_extract and argz_next prototypes.
2601 (Finding Tokens in a String): Likewise for basename.
2602 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2603 (Copying and Concatenation): Fix typo in wmemmove prototype.
2604 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2605 (Signal Stack): Remove erroneous const in sigstack prototype.
2606 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2608 (Simple Calendar Time): Likewise for stime.
2609 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2611 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2612 say sys/sysctl.h instead.
2613 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2614 and vsyslog prototypes.
2616 2013-02-11 Tom de Vries <tom@codesourcery.com>
2618 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2621 2013-02-11 Roland McGrath <roland@hack.frob.com>
2623 * misc/sys/mman.h: Fix typo in mremap comment.
2625 2013-02-08 Roland McGrath <roland@hack.frob.com>
2627 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2628 the '\0' terminator.
2630 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2633 * debug/segfault.c: Don't include <bp-checks.h>.
2634 * sysdeps/generic/bp-checks.h: Remove file.
2635 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2636 (__GETDENTS): Don't use CHECK_N.
2637 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2638 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2639 (__getgroups): Don't use CHECK_N.
2640 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2641 (setgroups): Don't use CHECK_N.
2642 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2643 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2644 (__libc_msgrcv): Don't use CHECK_N.
2645 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2646 (__libc_msgsnd): Don't use CHECK_N.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2649 (__libc_pread): Don't use CHECK_N.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2651 include <bp-checks.h>.
2652 (__libc_pread64): Don't use CHECK_N.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2654 include <bp-checks.h>.
2655 (__libc_pwrite): Don't use CHECK_N.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2657 include <bp-checks.h>.
2658 (__libc_pwrite64): Don't use CHECK_N.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2661 (__libc_pread): Don't use CHECK_N.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2663 include <bp-checks.h>.
2664 (__libc_pread64): Don't use CHECK_N.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2666 include <bp-checks.h>.
2667 (__libc_pwrite): Don't use CHECK_N.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2669 include <bp-checks.h>.
2670 (__libc_pwrite64): Don't use CHECK_N.
2671 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2672 (do_pread): Don't use CHECK_N.
2673 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2674 (do_pread64): Don't use CHECK_N.
2675 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2676 (do_pwrite): Don't use CHECK_N.
2677 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2678 (do_pwrite64): Don't use CHECK_N.
2679 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2680 (__libc_readv): Don't use CHECK_N.
2681 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2682 (semop): Don't use CHECK_N.
2683 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2685 (semtimedop): Don't use CHECK_N.
2686 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2687 (__libc_pread): Don't use CHECK_N.
2688 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2690 (__libc_pread64): Don't use CHECK_N.
2691 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2693 (__libc_pwrite): Don't use CHECK_N.
2694 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2696 (__libc_pwrite64): Don't use CHECK_N.
2697 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2699 (__libc_msgrcv): Don't use CHECK_N.
2700 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2701 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2702 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2703 (__libc_writev): Don't use CHECK_N.
2705 2013-02-08 Roland McGrath <roland@hack.frob.com>
2707 * string/strcpy.c: Removed unused variable.
2709 * Makeconfig (+sysdep-includes): Define with := rather than =.
2710 Use an existing include/ subdir of each sysdeps dir before it.
2712 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2714 * nscd/connection.c (register_traced_file): Comment function.
2715 [HAVE_INOTIFY] (union __inev): Define.
2716 [HAVE_INOTIFY] (inotify_check_files): New function.
2717 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2718 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2720 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2722 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2724 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2725 loaded if not already and that a failure is permanent.
2727 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2730 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2731 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2733 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2736 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2737 (CHECK_1_NULL_OK): Likewise.
2738 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2739 (__fxstat): Do not use CHECK_1.
2740 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2742 (___fxstat64): Do not use CHECK_1.
2743 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2745 (__fxstatat): Do not use CHECK_1.
2746 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2748 (__fxstatat64): Do not use CHECK_1.
2749 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2751 (__fxstat): Do not use CHECK_1.
2752 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2754 (__fxstatat): Do not use CHECK_1.
2755 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2757 (__getresgid): Do not use CHECK_1.
2758 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2760 (__getresuid): Do not use CHECK_1.
2761 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2763 (__lxstat): Do not use CHECK_1.
2764 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2766 (__old_msgctl): Do not use CHECK_1.
2767 (__new_msgctl): Likewise.
2768 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2770 (__new_setrlimit): Do not use CHECK_1.
2771 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2773 (__old_shmctl): Do not use CHECK_1.
2774 (__new_shmctl): Likewise.
2775 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2777 (__xstat): Do not use CHECK_1.
2778 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2779 (__lxstat): Do not use CHECK_1.
2780 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2782 (___lxstat64): Do not use CHECK_1.
2783 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2784 (__old_msgctl): Do not use CHECK_1.
2785 (__new_msgctl): Likewise.
2786 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2788 (__gettimeofday): Do not use CHECK_1.
2789 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2790 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2791 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2793 (__gettimeofday): Do not use CHECK_1.
2794 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2795 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2796 (__new_shmctl): Do not use CHECK_1.
2797 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2799 (do_sigtimedwait): Do not use CHECK_1.
2800 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2802 (do_sigwaitinfo): Do not use CHECK_1.
2803 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2805 (msgctl): Do not use CHECK_1.
2806 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2808 (shmctl): Do not use CHECK_1.
2809 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2810 (ustat): Do not use CHECK_1.
2811 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2813 (__fxstat): Do not use CHECK_1.
2814 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2816 (__fxstatat): Do not use CHECK_1.
2817 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2819 (__lxstat): Do not use CHECK_1.
2820 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2822 (__xstat): Do not use CHECK_1.
2823 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2824 (__xstat): Do not use CHECK_1.
2825 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2826 (___xstat64): Do not use CHECK_1.
2829 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2831 (CHECK_BOUNDS_HIGH): Likewise.
2832 * string/strcpy.c: Do not include <bp-checks.h>.
2833 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2835 2013-02-07 Roland McGrath <roland@hack.frob.com>
2837 * nscd/nscd-client.h (__nscd_drop_map_ref):
2838 Add __attribute__ ((unused)).
2839 * nis/nss-nisplus.h (niserr2nss): Likewise.
2841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2842 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2844 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2845 Remove inline keyword.
2846 * include/rounding-mode.h (round_away): Likewise.
2847 * libio/wfileops.c (adjust_wide_data): Likewise.
2848 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2849 (__m128i_strloadu_tolower): Likewise.
2850 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2851 (__m128i_strloadu_tolower): Likewise.
2852 * time/mktime.c (ydhms_diff): Likewise.
2853 * locale/elem-hash.h (elem_hash): Likewise.
2854 * locale/setlocale.c (setdata): Likewise.
2855 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2856 (re_string_wchar_at): Likewise.
2857 (bitset_not, bitset_merge, bitset_mask): Likewise.
2858 [!(__GNUC__ > 3)] (inline): Remove macro.
2859 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2860 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2861 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2862 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2863 * string/memcmp.c (memcmp_bytes): Likewise.
2864 * locale/programs/locarchive.c (compute_hashval): Likewise.
2865 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2866 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2867 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2868 * nss/getent.c (print_rpc, print_protocols): Likewise.
2869 (print_passwd, print_group, print_aliases): Likewise.
2870 * nis/nss-nisplus.h (niserr2nss): Likewise.
2871 * nscd/connections.c (restart_p): Likewise.
2872 Change return type to bool.
2874 2013-02-05 Roland McGrath <roland@hack.frob.com>
2876 * Makeconfig (all-Depend-files): Add existing
2877 $(sorted-subdirs:=/Depend) files.
2878 (all-subdirs): Remove nss.
2879 * sysdeps/unix/inet/Subdirs: Add it here instead.
2880 * hesiod/Depend: New file.
2882 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2883 instead of calling alloca.
2885 * io/lseek.c (__lseek): Rename to __libc_lseek.
2886 Define __lseek as an alias.
2888 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2890 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2892 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2893 else clause and remove check for non-standard endianness.
2895 2013-02-04 David S. Miller <davem@davemloft.net>
2897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2899 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2902 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2903 (__ubp_memchr): Remove prototype.
2904 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2905 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2906 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2907 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2908 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2910 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2911 (__ubp_memchr): Likewise.
2912 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2913 (__ubp_memchr): Likewise.
2914 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2915 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2916 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2917 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2919 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2920 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2921 (__getcwd): Do not use CHECK_STRING.
2922 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2924 (__real_chown): Do not use CHECK_STRING.
2925 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2927 (fchownat): Do not use CHECK_STRING.
2928 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2930 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2932 (__lchown): Do not use CHECK_STRING.
2933 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2934 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2935 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2936 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2938 include <bp-checks.h>.
2939 (truncate64): Do not use CHECK_STRING.
2940 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2942 (__real_chown): Do not use CHECK_STRING.
2943 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2945 (__lchown): Do not use CHECK_STRING.
2946 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2948 (__chown): Do not use CHECK_STRING.
2949 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2951 (truncate64): Do not use CHECK_STRING.
2952 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2954 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2955 (__xmknod): Do not use CHECK_STRING.
2956 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2958 (__xmknodat): Do not use CHECK_STRING.
2959 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2960 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2962 2013-02-04 Andreas Schwab <schwab@suse.de>
2965 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2966 * include/netdb.h: Likewise for h_errno.
2967 * elf/tst-stackguard1.c: Include <tls.h>.
2969 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2971 * elf/link.h (struct link_map): Extend the l_addr comment.
2972 * include/link.h (struct link_map): Likewise.
2974 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2977 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2978 (BOUNDED_1): Remove macro.
2979 * debug/backtrace.c: Don't include <bp-checks.h>.
2980 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2981 (__backtrace): Likewise.
2982 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2984 (__backtrace): Don't use BOUNDED_1.
2985 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2987 (__backtrace): Don't use BOUNDED_1.
2988 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2989 (__backtrace): Don't use BOUNDED_1.
2990 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2991 (shmat): Don't use BOUNDED_N.
2993 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2996 * sysdeps/generic/bp-start.h: Remove file.
2997 * csu/libc-start.c: Don't include <bp-start.h>.
2998 (LIBC_START_MAIN): Set up __environ directly instead of using
2999 INIT_ARGV_and_ENVIRON.
3000 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3004 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3006 (CHECK_FCNTL): Likewise.
3007 (CHECK_N_PAGES): Likewise.
3010 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3012 (CHECK_SIGSET_NULL_OK): Likewise.
3013 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3015 (sigpending): Don't use CHECK_SIGSET.
3016 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3018 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3019 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3021 (do_sigsuspend): Don't use CHECK_SIGSET.
3022 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3024 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3025 (do_sigwait): Don't use CHECK_SIGSET.
3026 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3028 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3029 include <bp-checks.h>.
3030 (sigpending): Don't use CHECK_SIGSET.
3031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3032 include <bp-checks.h>.
3033 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3034 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3036 (sigpending): Don't use CHECK_SIGSET.
3037 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3042 * sysdeps/generic/bp-semctl.h: Remove file.
3043 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3044 <bp-checks.h> and <bp-semctl.h>.
3045 (__old_semctl): Don't use CHECK_SEMCTL.
3046 (__new_semctl): Likewise.
3047 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3049 (__old_semctl): Don't use CHECK_SEMCTL.
3050 (__new_semctl): Likewise.
3051 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3052 <bp-checks.h> and <bp-semctl.h>.
3053 (__old_semctl): Don't use CHECK_SEMCTL.
3054 (__new_semctl): Likewise.
3055 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3056 <bp-checks.h> and <bp-semctl.h>.
3057 (semctl): Don't use CHECK_SEMCTL.
3060 * Makerules (elide-bp-thunks): Remove variable.
3061 (elide-routines.oS): Don't use $(elide-bp-thunks).
3062 (elide-routines.os): Likewise.
3063 (elide-routines.o): Likewise.
3064 (elide-routines.op): Likewise.
3065 (elide-routines.og): Likewise.
3066 (objects): Don't use $(bp-thunks).
3067 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3069 (common-generated): Do not add s-proto-bp.d.
3070 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3073 Do not generate makefile rules for bounded-pointer thunks.
3074 * sysdeps/generic/bp-thunks.h: Remove file.
3075 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3076 * sysdeps/unix/s-proto-bp.S: Likewise.
3079 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3080 parts of result separately when argument is not close to line from
3081 -i to i and one part of argument is small.
3082 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3083 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3084 * math/libm-test.inc (cacos_test): Add more tests.
3085 (casin_test): Likewise.
3086 (casinh_test): Likewise.
3087 * sysdeps/i386/fpu/libm-test-ulps: Update.
3088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3090 2013-01-31 David S. Miller <davem@davemloft.net>
3092 * po/de.po: Update from translation team.
3094 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3096 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3098 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3100 * configure.in (_AC_PROG_CC_C89): New definition.
3101 * configure: Regenerate.
3103 * configure.in (AC_PROG_CPP): New definition.
3104 * configure: Regenerate.
3106 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3108 * debug/tst-backtrace.h: New file.
3109 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3110 (ret): Remove variable.
3112 (FAIL): Remove macro.
3113 (NO_INLINE): Likewise.
3114 (fn1): Use match function instead of strstr.
3115 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3116 (ret): Remove variable.
3118 (FAIL): Remove macro.
3119 (NO_INLINE): Likewise.
3120 (fn): Use match function instead of strstr.
3121 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3122 (ret): Remove variable.
3124 (FAIL): Remove macro.
3125 (NO_INLINE): Likewise.
3126 (handle_signal): Use match function instead of strstr.
3127 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3128 (ret): Remove variable.
3130 (FAIL): Remove macro.
3131 (NO_INLINE): Likewise.
3132 (handle_signal): Use match function instead of strstr.
3134 2013-01-23 Roland McGrath <roland@hack.frob.com>
3136 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3138 2013-01-23 David S. Miller <davem@davemloft.net>
3140 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3141 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3142 argument of CAS if possible.
3143 * sysdeps/sparc/sparc64/bits/atomic.h
3144 (__arch_compare_and_exchange_val_32_acq): Likewise.
3145 (__arch_compare_and_exchange_val_64_acq): Likewise.
3147 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3149 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3150 * sysdeps/posix/ulimit.c: ... this.
3152 * sysdeps/unix/bsd/ulimit.c: Remove file.
3154 2013-01-23 Adam Conrad <adconrad@0c3.net>
3156 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3157 (LDFLAGS-tst-array5): Likewise.
3159 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3162 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3163 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3164 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3165 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3167 2013-01-21 David S. Miller <davem@davemloft.net>
3169 * sysdeps/sparc/backtrace.c: New file.
3170 * sysdeps/sparc/sparc32/backtrace.h: New file.
3171 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3172 * sysdeps/sparc/sparc64/backtrace.h: New file.
3173 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3174 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3177 2013-01-21 Andreas Schwab <schwab@suse.de>
3180 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3183 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3189 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3190 Mark Mitchell <mark@codesourcery.com>
3191 Tom de Vries <tom@codesourcery.com>
3192 Paul Pluzhnikov <ppluzhnikov@google.com>
3194 * debug/tst-backtrace2.c: New file.
3195 * debug/tst-backtrace3.c: Likewise.
3196 * debug/tst-backtrace4.c: Likewise.
3197 * debug/tst-backtrace5.c: Likewise.
3198 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3199 (CFLAGS-tst-backtrace3.c): Likewise.
3200 (CFLAGS-tst-backtrace4.c): Likewise.
3201 (CFLAGS-tst-backtrace5.c): Likewise.
3202 (LDFLAGS-tst-backtrace2): Likewise.
3203 (LDFLAGS-tst-backtrace3): Likewise.
3204 (LDFLAGS-tst-backtrace4): Likewise.
3205 (LDFLAGS-tst-backtrace5): Likewise.
3206 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3207 tst-backtrace4 and tst-backtrace5.
3209 2013-01-18 Anton Blanchard <anton@samba.org>
3210 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3212 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3213 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3214 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3215 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3217 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3218 "+r" and remove output regs list as redundant. Add explicit inline
3219 asm to specify register of return val to work around compiler codegen
3220 bug. Remove (int) cast on return value. Add return type parameter to
3221 use in macro so that this macro does not truncate return value for
3223 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3224 pass to INTERNAL_VSYSCALL_NCS.
3225 (INLINE_VSYSCALL): Add 'long int' as return type to
3226 INTERNAL_VSYSCALL_NCS macro invocation.
3227 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3228 INTERNAL_VSYSCALL_NCS macro invocation.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3231 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3234 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3235 Fix application of SIMD FP exception mask.
3237 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3238 mp_no from a power of two.
3239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3240 __mpexp_twomm1. Use __pow_mp.
3242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3245 2013-01-17 David S. Miller <davem@davemloft.net>
3247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3249 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3252 * include/complex.h: Condition contents on [!_COMPLEX_H].
3253 (__kernel_casinhf): New prototype.
3254 (__kernel_casinh): Likewise.
3255 (__kernel_casinhl): Likewise.
3256 * math/Makefile (libm_calls): Add k_casinh.
3257 * math/k_casinh.c: New file.
3258 * math/k_casinhf.c: Likewise.
3259 * math/k_casinhl.c: Likewise.
3260 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3261 finite nonzero arguments.
3262 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3263 finite nonzero arguments.
3264 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3265 finite nonzero arguments.
3266 * math/s_casinh.c: Do not include <float.h>.
3267 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3268 * math/s_casinhf.c: Do not include <float.h>.
3269 (__casinhf): Move code for finite nonzero arguments to
3271 * math/s_casinhl.c: Do not include <float.h>.
3272 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3274 (__casinhl): Move code for finite nonzero arguments to
3276 * math/libm-test.inc (cacos_test): Add more tests.
3277 * sysdeps/i386/fpu/libm-test-ulps: Update.
3278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3280 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3282 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3283 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3284 [!HAVE_MREMAP]: Remove [defined linux] case.
3285 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3287 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3289 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3291 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3293 * elf/elf.h (R_386_SIZE32): New relocation.
3294 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3296 (elf_machine_rela): Likewise.
3297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3298 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3300 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3302 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3303 (FP_FAST_FMA): Do not define.
3304 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3305 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3306 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3307 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3308 !_SOFT_FLOAT]: Likewise.
3309 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3313 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3314 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3315 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3316 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3317 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3320 2013-01-16 Andreas Schwab <schwab@suse.de>
3323 * include/stdlib.h (__mktemp): Add declaration.
3324 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3325 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3327 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3329 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3331 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3332 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3333 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3335 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3336 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3338 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3340 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3341 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3342 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3344 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3345 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3347 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3349 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3351 2013-01-15 David S. Miller <davem@davemloft.net>
3353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3354 trunc{,f} to libm-sysdep_routes.
3355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3365 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3366 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3367 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3368 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3369 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3370 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3373 nearbyint{,f} to libm-sysdep_routes.
3374 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3387 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3390 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3391 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3392 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3394 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3395 libc_feholdexcept and libc_fesetenv.
3397 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3399 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3401 2013-01-14 David S. Miller <davem@davemloft.net>
3403 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3404 (SPARC_ASM_VIS2_IFUNC): Likewise.
3405 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3407 use of 'siam' instruction.
3408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3441 routines to libm-sysdep_routines.
3442 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3445 fdim/fdimf to libm-sysdep_routines.
3446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3454 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3455 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3456 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3457 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3459 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3461 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3464 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3469 local variable MPTWO.
3470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3473 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3475 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3478 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3480 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3482 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3484 * manual/pattern.texi (glob_t): Document gl_flags.
3485 (glob64_t): Likewise.
3487 2013-01-11 David S. Miller <davem@davemloft.net>
3489 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3490 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3491 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3492 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3493 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3494 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3495 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3496 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3497 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3498 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3499 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3500 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3501 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3504 sparc V9 rather than using V8 code.
3505 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3506 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3510 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3513 2013-01-11 Roland McGrath <roland@hack.frob.com>
3515 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3516 not in the main loop.
3517 * configure: Regenerated.
3519 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3521 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3522 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3524 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3525 [!__GLIBC_HAVE_LONG_LONG] case.
3526 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3527 condition to just #else.
3528 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3529 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3530 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3531 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3533 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3534 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3535 #elif condition to just #else.
3536 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3537 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3538 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3539 #elif condition to just #else.
3541 2013-01-11 Steve Ellcey <sellcey@mips.com>
3543 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3544 (EF_MIPS_ARCH_64): Fix value.
3545 (EF_MIPS_ARCH_32R2): New.
3546 (EF_MIPS_ARCH_64R2): New.
3548 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3550 * Makeconfig (+link-pie-before-libc): New.
3551 (+link-pie-after-libc): Likewise.
3552 (+link-pie-tests): Likewise.
3553 (+link-pie): Rewritten.
3554 (link-before-libc): Remove $(config-LDFLAGS).
3555 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3556 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3557 (config-LDFLAGS): Renamed to ...
3558 (rtld-LDFLAGS): This.
3559 (rtld-tests-LDFLAGS): New macro.
3560 (link-libc-rpath-link): Likewise.
3561 (link-libc-tests-rpath-link): Likewise.
3562 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3563 (link-libc): Prepand $(link-libc-rpath-link).
3564 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3565 (test-program-prefix): New macro.
3566 (test-via-rtld-prefix): Likewise.
3567 (test-program-cmd): Likewise.
3568 (host-test-program-cmd): Likewise.
3569 * Makefile ($(common-objpfx)testrun.sh): Replace
3570 $(run-program-prefix) with $(test-program-prefix).
3571 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3573 ($(common-objpfx)shlib.lds): Likewise.
3574 (build-module-helper): Likewise.
3575 ($(common-objpfx)format.lds): Likewise.
3576 * Rules (binaries-pie-tests): New.
3577 (binaries-pie-notests): Likewise.
3578 (binaries-pie): Rewritten.
3579 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3580 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3581 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3582 (make-test-out): Replace $(host-built-program-cmd) with
3583 $(host-test-program-cmd).
3584 * config.make.in (build-hardcoded-path-in-tests): New variable.
3585 * configure.in (--enable-hardcoded-path-in-tests): New configure
3587 (hardcoded_path_in_tests): New AC_SUBST.
3588 * configure: Regenerated.
3589 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3590 $(built-program-cmd) with $(test-program-cmd).
3591 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3592 (test_program_cmd): This.
3593 * elf/Makefile ($(objpfx)order.out): Run test with
3594 $(test-program-prefix).
3595 ($(objpfx)order2.out): Likewise.
3596 ($(objpfx)tst-initorder.out): Likewise.
3597 ($(objpfx)tst-initorder2.out): Likewise.
3598 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3599 $(test-program-cmd).
3600 ($(objpfx)tst-array1-static.out): Likewise.
3601 ($(objpfx)tst-array2.out): Likewise.
3602 ($(objpfx)tst-array3.out): Likewise.
3603 ($(objpfx)tst-array4.out): Likewise.
3604 ($(objpfx)tst-array5.out): Likewise.
3605 ($(objpfx)tst-array5-static.out): Likewise.
3606 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3607 $(test-program-cmd).
3608 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3609 $(run-program-prefix) with $(test-program-prefix).
3610 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3611 (test_program_prefix): This.
3612 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3613 $(run-program-prefix) with $(test-program-prefix).
3614 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3615 (test_program_prefix): This.
3616 * iconvdata/tst-tables.sh: Likewise.
3617 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3618 $(run-program-prefix) with $(test-program-prefix).
3619 ($(objpfx)tst-translit.out): Likewise.
3620 ($(objpfx)tst-gettext2.out): Likewise.
3621 ($(objpfx)tst-gettext4.out): Likewise.
3622 ($(objpfx)tst-gettext6.out): Likewise.
3623 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3624 (test_program_prefix): This.
3625 * intl/tst-gettext2.sh: Likewise.
3626 * intl/tst-gettext4.sh Likewise.
3627 * intl/tst-gettext6.sh: Likewise.
3628 * intl/tst-translit.sh: Likewise.
3629 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3630 with $(test-program-cmd).
3631 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3632 $(run-program-prefix) with $(test-program-prefix).
3633 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3634 (test_program_prefix): This.
3635 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3636 $(run-program-prefix) with $(test-program-prefix).
3637 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3638 (test_program_prefix): This.
3639 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3640 * posix/Makefile ($(objpfx)globtest.out): Replace
3641 $(run-via-rtld-prefix) and $(test-wrapper) with
3642 $(test-program-prefix) and $(test-via-rtld-prefix).
3643 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3644 $(test-program-prefix).
3645 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3646 $(host-test-program-cmd).
3647 (tst-spawn-ARGS): Likewise.
3648 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3649 $(test-program-prefix).
3650 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3651 (test_via_rtld_prefix): This.
3652 (test_wrapper): Renamed to ...
3653 (test_program_prefix): This.
3654 (run_program_prefix): Replaced by test_program_prefix.
3655 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3656 (test_program_prefix): This.
3657 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3658 with $(host-test-program-cmd).
3659 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3660 $(run-program-prefix) with $(test-program-prefix).
3661 ($(objpfx)tst-printf.out): Likewise.
3662 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3663 $(test-program-cmd).
3664 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3665 (test_program_prefix): This.
3666 * stdio-common/tst-unbputc.sh: Likewise.
3667 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3668 $(run-program-prefix) with $(test-program-prefix).
3669 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3670 (test_program_prefix): This.
3671 * string/Makefile ($(objpfx)tst-svc.out): Replace
3672 $(built-program-cmd) with $(test-program-cmd).
3674 2013-01-11 Andreas Jaeger <aj@suse.de>
3677 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3678 value. Sync with Linux 3.7.
3680 2013-01-10 David S. Miller <davem@davemloft.net>
3682 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3683 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3684 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3686 2013-01-10 Roland McGrath <roland@hack.frob.com>
3688 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3690 * configure: Regenerated.
3692 2013-01-10 David S. Miller <davem@davemloft.net>
3694 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3695 sparc V9 rather than using V8 code.
3696 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3697 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3699 2013-01-10 Roland McGrath <roland@hack.frob.com>
3701 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3702 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3703 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3704 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3705 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3706 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3707 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3708 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3709 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3710 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3711 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3712 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3713 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3714 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3715 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3716 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3717 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3718 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3719 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3720 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3721 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3722 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3723 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3724 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3725 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3726 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3727 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3729 2013-01-10 David S. Miller <davem@davemloft.net>
3731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3733 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3735 * posix/Makefile (tests-static): New variable.
3736 (tests): Add $(tests-static).
3737 (tst-exec-static-ARGS): New variable.
3738 (tst-spawn-static-ARGS): Likewise.
3739 * posix/tst-exec-static.c: New file.
3740 * posix/tst-spawn-static.c: Likewise.
3741 * posix/tst-exec.c: Support run directly.
3742 * posix/tst-spawn.c: Likewise.
3744 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3746 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3748 * math/bits/mathcalls.h (llrint): Likewise.
3749 (llround): Likewise.
3750 * stdlib/stdlib.h (struct drand48_data): Likewise.
3751 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3752 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3755 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3757 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3758 (elf_greg_t): Likewise.
3759 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3760 (__jmp_buf): Likewise.
3761 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3763 (llrint): Likewise, for all definitions.
3764 (llrintl): Likewise.
3766 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3767 Remove [__GNUC__] condition.
3768 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3769 condition to just [__USE_ISOC99].
3770 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3772 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3775 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3776 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3778 (_POSIX_V6_ILP32_OFF32): Likewise.
3779 (_XBS5_ILP32_OFF32): Likewise.
3780 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3781 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3783 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3785 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3788 doubles __mpexp_twomm1. Adjust usage.
3789 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3792 2013-01-10 Andreas Schwab <schwab@suse.de>
3795 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3796 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3798 2013-01-09 David S. Miller <davem@davemloft.net>
3801 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3802 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3803 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3804 TCP_FASTOPEN): Define.
3805 (tcp_repair_opt): New structure.
3806 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3808 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3809 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3810 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3811 (tcp_cookie_transactions): New structure.
3813 2013-01-09 Anton Blanchard <anton@samba.org>
3815 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3816 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3817 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3820 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3822 * include/features.h (__USE_ANSI): Remove.
3824 2013-01-09 Roland McGrath <roland@hack.frob.com>
3826 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3828 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3830 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3832 * sysdeps/s390/fpu/libm-test-ulps: Update.
3834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3836 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3841 (__mp_dbl): Likewise.
3842 (__dbl_mp): Likewise.
3843 (add_magnitudes): Likewise.
3844 (sub_magnitudes): Likewise.
3850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3855 (__mp_dbl): Likewise.
3856 (__dbl_mp): Likewise.
3857 (add_magnitudes): Likewise.
3858 (sub_magnitudes): Likewise.
3864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3869 (__mp_dbl): Likewise.
3870 (__dbl_mp): Likewise.
3871 (add_magnitudes): Likewise.
3872 (sub_magnitudes): Likewise.
3879 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3881 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3882 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3883 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3884 2 && __USE_EXTERN_INLINES]: Likewise.
3886 2013-01-08 Andreas Jaeger <aj@suse.de>
3889 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3891 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3892 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3894 2013-01-07 Anton Blanchard <anton@samba.org>
3896 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3897 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3898 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3899 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3900 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3901 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3902 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3903 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3905 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3906 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3908 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3909 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3910 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3911 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3912 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3913 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3914 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3915 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3917 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3918 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3919 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3921 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3922 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3923 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3924 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3925 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3926 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3928 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3929 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3932 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3934 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3935 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3936 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3940 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3942 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3943 (__MALLOC_PMT): Likewise.
3944 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3945 [__GNUC__], only on [_LIBC].
3946 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3947 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3948 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3949 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3950 forward declaration.
3951 (realloc_hook_ini): Likewise.
3952 (memalign_hook_ini): Likewise.
3953 (__libc_memalign): Do not use __MALLOC_PMT in variable
3955 (__libc_valloc): Likewise.
3956 (__libc_pvalloc): Likewise.
3957 (__libc_calloc): Likewise.
3958 (__posix_memalign): Likewise.
3961 * math/s_casinh.c: Include <float.h>.
3962 (__casinh): Do not do computation with squaring and square root
3963 for large arguments.
3964 * math/s_casinhf.c: Include <float.h>.
3965 (__casinhf): Do not do computation with squaring and square root
3966 for large arguments.
3967 * math/s_casinhl.c: Include <float.h>.
3968 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3969 (__casinhl): Do not do computation with squaring and square root
3970 for large arguments.
3971 * math/libm-test.inc (casin_test): Add more tests.
3972 (casinh_test): Likewise.
3973 * sysdeps/i386/fpu/libm-test-ulps: Update.
3974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3976 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3978 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3979 (__x86_64_raw_data_cache_size): Likewise.
3980 (__x86_64_data_cache_size_half): Likewise.
3981 (__x86_64_raw_data_cache_size_half): Likewise.
3982 (__x86_64_shared_cache_size): Likewise.
3983 (__x86_64_raw_shared_cache_size): Likewise.
3984 (__x86_64_shared_cache_size_half): Likewise.
3985 (__x86_64_raw_shared_cache_size_half): Likewise.
3986 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3988 (__x86_data_cache_size): This.
3989 (__x86_64_raw_data_cache_size): Renamed to ...
3990 (__x86_raw_data_cache_size): This.
3991 (__x86_64_data_cache_size_half): Renamed to ...
3992 (__x86_data_cache_size_half): This.
3993 (__x86_64_raw_data_cache_size_half): Renamed to ...
3994 (__x86_raw_data_cache_size_half): This.
3995 (__x86_64_shared_cache_size): Renamed to ...
3996 (__x86_shared_cache_size): This.
3997 (__x86_64_raw_shared_cache_size): Renamed to ...
3998 (__x86_raw_shared_cache_size): This.
3999 (__x86_64_shared_cache_size_half): Renamed to ...
4000 (__x86_shared_cache_size_half): This.
4001 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4002 (__x86_raw_shared_cache_size_half): This.
4003 * sysdeps/x86_64/memcpy.S: Updated.
4004 * sysdeps/x86_64/memset.S: Likewise.
4005 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4006 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4009 2013-01-04 David S. Miller <davem@davemloft.net>
4011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4013 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4015 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4016 1 to avoid redefinition warning.
4017 (__USE_GNU): Don't define.
4018 (init_signaling_nan): Protoize.
4020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4022 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4024 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4026 (__cpymn): Likewise.
4027 (norm): Remove commented code.
4029 (__mp_dbl): Likewise.
4031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4032 (__cpymn): Likewise.
4033 (norm): Remove commented code.
4035 (__mp_dbl): Likewise.
4038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4039 mp_no value for 1.0 and 2.0.
4040 (norm): Use RADIXI instead of radixi.d.
4042 (__mul): Use 0.0 instead of zero.d.
4043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4044 mp_no value for 1.0 and 2.0.
4045 (norm): Use RADIXI instead of radixi.d.
4047 (__mul): Use 0.0 instead of zero.d.
4049 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4052 * math/s_casinh.c (__casinh): Reduce finite argument to first
4053 quadrant then set signs of results at the end.
4054 * math/s_casinhf.c (__casinhf): Likewise.
4055 * math/s_casinhl.c (__casinhl): Likewise.
4056 * math/libm-test.inc (casin_test): Add more tests.
4057 (casinh_test): Likewise.
4058 * sysdeps/i386/fpu/libm-test-ulps: Update.
4059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4061 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4063 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4065 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4067 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4070 (__mp_dbl): Likewise.
4073 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4074 and adjust the header comment.
4076 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4077 variable name from declaration.
4079 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4082 Initialize COMMON_CPUID_INDEX_7 element.
4083 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4084 (CPUID_RTM): Likewise.
4085 (HAS_RTM): Likewise.
4086 (COMMON_CPUID_INDEX_7): New enum.
4088 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4091 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4092 size is zero, record memory as freed.
4094 2013-01-03 Andreas Jaeger <aj@suse.de>
4096 * po/ia.po: Add new Interlingua translation.
4098 2012-01-03 Allan McRae <allan@archlinux.org>
4100 * locale/programs/localedef.c: Fix description of '--posix' flag.
4102 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4104 * NEWS: Update dates in second copyright notice.
4105 * README: Update copyright dates in example.
4106 * manual/libc.texinfo: Update copyright dates.
4107 * scripts/test-installation.pl: Update copyright date in --version
4110 * hurd/ctty-input.c: Fix copyright notice formatting.
4111 * hurd/ctty-output.c: Likewise.
4112 * hurd/dtable.c: Likewise.
4113 * hurd/hurd-raise.c: Likewise.
4114 * hurd/hurdprio.c: Likewise.
4115 * hurd/msgportdemux.c: Likewise.
4116 * misc/sys/file.h: Likewise.
4117 * misc/sys/ioctl.h: Likewise.
4118 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4119 * sysdeps/mach/hurd/chdir.c: Likewise.
4120 * sysdeps/mach/hurd/fchdir.c: Likewise.
4121 * sysdeps/mach/hurd/rename.c: Likewise.
4122 * sysdeps/mach/hurd/rmdir.c: Likewise.
4123 * sysdeps/mach/hurd/seekdir.c: Likewise.
4124 * sysdeps/mach/hurd/setsid.c: Likewise.
4125 * sysdeps/posix/wait3.c: Likewise.
4127 * All files with FSF copyright notices: Update copyright dates
4128 using scripts/update-copyrights.
4129 * intl/plural.c: Regenerated.
4130 * locale/programs/charmap-kw.h: Likewise.
4131 * locale/programs/locfile-kw.h: Likewise.
4133 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4135 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4138 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4139 calculation loop and add branch prediction.
4141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4142 check access beyond bounds of m1np.
4144 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4146 (__inv): Remove local variable MPTWO to use the global
4148 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4149 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4151 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4152 MP3HALFS static const.
4154 2013-01-01 David S. Miller <davem@davemloft.net>
4156 * po/ca.po: Update from translation team.
4158 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4160 * scripts/update-copyrights: New file.
4161 * Makeconfig: Reformat copyright notice.
4162 * ctype/ctype.h: Likewise.
4163 * debug/swprintf_chk.c: Likewise.
4164 * elf/dl-cache.c: Likewise.
4165 * elf/dl-debug.c: Likewise.
4166 * elf/dl-object.c: Likewise.
4167 * grp/initgroups.c: Likewise.
4168 * hurd/Makefile: Likewise.
4169 * hurd/hurd/signal.h: Likewise.
4170 * hurd/hurdfault.c: Likewise.
4171 * hurd/hurdioctl.c: Likewise.
4172 * hurd/hurdlookup.c: Likewise.
4173 * hurd/intr-msg.c: Likewise.
4174 * iconv/gconv_open.c: Likewise.
4175 * libio/swprintf.c: Likewise.
4176 * locale/lc-ctype.c: Likewise.
4177 * locale/nl_langinfo.c: Likewise.
4178 * mach/Machrules: Likewise.
4179 * mach/Makefile: Likewise.
4180 * malloc/obstack.h: Likewise.
4181 * manual/Makefile: Likewise.
4182 * manual/tsort.awk: Likewise.
4183 * misc/bits/stab.def: Likewise.
4184 * nis/nis_print_group_entry.c: Likewise.
4185 * nis/nis_table.c: Likewise.
4186 * nis/nss_compat/compat-pwd.c: Likewise.
4187 * nis/nss_compat/compat-spwd.c: Likewise.
4188 * po/Makefile: Likewise.
4189 * posix/fnmatch.c: Likewise.
4190 * posix/regex.h: Likewise.
4191 * resolv/Makefile: Likewise.
4192 * resolv/nss_dns/dns-network.c: Likewise.
4193 * resolv/res_hconf.c: Likewise.
4194 * scripts/gen-sorted.awk: Likewise.
4195 * soft-fp/soft-fp.h: Likewise.
4196 * stdio-common/printf.h: Likewise.
4197 * stdlib/monetary.h: Likewise.
4198 * stdlib/random.c: Likewise.
4199 * stdlib/random_r.c: Likewise.
4200 * sysdeps/generic/Makefile: Likewise.
4201 * sysdeps/gnu/Makefile: Likewise.
4202 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4230 * sysdeps/mach/hurd/errnos.awk: Likewise.
4231 * sysdeps/mach/hurd/fork.c: Likewise.
4232 * sysdeps/mach/hurd/getcwd.c: Likewise.
4233 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4234 * sysdeps/mach/hurd/mmap.c: Likewise.
4235 * sysdeps/mach/hurd/utimes.c: Likewise.
4236 * sysdeps/mach/hurd/xmknod.c: Likewise.
4237 * sysdeps/posix/profil.c: Likewise.
4238 * sysdeps/posix/readdir_r.c: Likewise.
4239 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4240 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4241 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4242 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4244 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4245 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4246 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4248 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4249 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4250 * sysdeps/pthread/lio_listio.c: Likewise.
4251 * sysdeps/sparc/dl-procinfo.h: Likewise.
4252 * sysdeps/unix/i386/sysdep.S: Likewise.
4253 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4254 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4255 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4256 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4258 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4259 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4260 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4261 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4262 * sysdeps/wordsize-32/divdi3.c: Likewise.
4263 * time/sys/time.h: Likewise.
4264 * wcsmbs/Makefile: Likewise.
4266 2013-01-01 David S. Miller <davem@davemloft.net>
4268 * po/fr.po: Update from translation team.
4270 * catgets/gencat.c: Update copyright year.
4271 * csu/version.c: Likewise.
4272 * debug/catchsegv.sh: Likewise.
4273 * debug/pcprofiledump.c: Likewise.
4274 * debug/xtrace.sh: Likewise.
4275 * elf/ldconfig.c: Likewise.
4276 * elf/ldd.bash.in: Likewise.
4277 * elf/pldd.c: Likewise.
4278 * elf/sotruss.ksh: Likewise.
4279 * elf/sprof.c: Likewise.
4280 * iconv/iconv_prog.c: Likewise.
4281 * iconv/iconvconfig.c: Likewise.
4282 * locale/programs/locale.c: Likewise.
4283 * locale/programs/localedef.c: Likewise.
4284 * login/programs/pt_chown.c: Likewise.
4285 * malloc/memusage.sh: Likewise.
4286 * malloc/memusagestat.c: Likewise.
4287 * malloc/mtrace.pl: Likewise.
4288 * nscd/nscd.c: Likewise.
4289 * nss/getent.c: Likewise.
4290 * nss/makedb.c: Likewise.
4291 * posix/getconf.c: Likewise.
4293 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4295 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4298 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4300 * math/bits/mathcalls.h (modf): Use __nonnull.
4302 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4304 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4305 (split): Use macro CN instead of the bare value.
4306 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4309 instead of the bare value.
4312 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4316 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4318 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4320 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4321 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4322 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4323 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4325 2012-12-28 Andreas Jaeger <aj@suse.de>
4327 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4328 values are from Linux 3.7.
4330 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4331 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4333 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4335 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4338 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4340 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4341 variables with preprocessor constants.
4342 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4343 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4344 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4346 2012-12-27 Bruno Haible <bruno@clisp.org>
4349 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4352 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4355 and use variable directly.
4356 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4358 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4360 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4361 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4363 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4365 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4366 include directive. Remove local variable MPONE.
4367 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4368 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4369 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4371 2012-12-25 David S. Miller <davem@davemloft.net>
4373 * version.h (RELEASE): Set to "development".
4374 (VERSION): Set to "2.17.90".
4375 * NEWS: Add 2.18 section.
4377 2012-12-21 David S. Miller <davem@davemloft.net>
4379 * po/hr.po: Update from translation team.
4381 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4383 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4385 2012-12-19 Steve Ellcey <sellcey@mips.com>
4387 * NEWS: Mention new memcpy for MIPS.
4389 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4391 * manual/contrib.texi (Contributors): Spelling correction.
4393 2012-12-15 David S. Miller <davem@davemloft.net>
4395 * po/ru.po: Update from translation team.
4397 2012-12-13 David S. Miller <davem@davemloft.net>
4399 * NEWS: Mention IFUNC testsuite enhancements.
4401 * po/pl.po: Update from translation team.
4402 * po/bg.po: Likewise.
4404 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4405 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4407 2012-12-11 David S. Miller <davem@davemloft.net>
4409 * po/sv.po: Update from translation team.
4411 * po/vi.po: Update from translation team.
4413 * po/cs.po: Update from translation team.
4415 * po/de.po: Update from translation team.
4416 * po/eo.po: Likewise.
4417 * po/nl.po: Likewise.
4419 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4422 * manual/argp.texi (Argp Helper Functions): Move node to follow
4426 * manual/conf.texi (Limits on File System Capacity): Mention if
4427 terminating null is included in the max size.
4429 2012-12-10 Andreas Jaeger <aj@suse.de>
4431 * po/cs.po: Update from translation team.
4433 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4435 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4436 void pointer and cast to uintptr_t.
4437 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4439 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4440 * sysdeps/s390/s390-64/memset.S: Likewise.
4442 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4445 * menual/message.texi (Message Translation): Fix typos.
4446 (Helper programs for gettext): Likewise.
4448 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4451 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4454 2012-12-07 David S. Miller <davem@davemloft.net>
4456 * po/libc.pot: Update.
4458 2012-12-07 Richard Henderson <rth@redhat.com>
4461 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4462 normal/normal case to before the switch.
4463 (_FP_DIV): Likewise.
4465 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4466 Mike Frysinger <vapier@gentoo.org>
4468 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4469 check for __NR_fadvise64_64.
4471 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4473 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4474 0, not just to plain "0" as a statement.
4475 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4478 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4480 * NEWS: Use sourceware.org in Bugzilla URL.
4482 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4485 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4487 * stdio-common/tst-put-error.c (do_test): Add newline to the
4488 padded test to ensure flush.
4490 2012-12-05 Jeff Law <law@redhat.com>
4492 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4494 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4496 * README: Don't refer to ports add-on as distributed separately.
4497 Mention AArch64 in list of systems supported in the ports add-on.
4499 * LICENSES: Add more non-FSF copyright and license notices.
4501 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4504 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4506 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4507 10000 as width of padded output.
4509 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4511 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4513 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4514 variable LX with __attribute__ ((unused)).
4515 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4517 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4518 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4519 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4520 with __attribute__ ((unused)).
4522 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4524 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4526 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4528 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4529 (CFLAGS-nldbl-acos.c): New variable.
4530 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4531 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4532 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4533 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4534 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4535 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4536 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4537 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4538 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4539 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4540 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4541 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4624 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4629 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4633 whole low double instead of just low 47 bits when splitting values
4636 2012-12-03 Allan McRae <allan@archlinux.org>
4638 * manual/stdio.texi (Predefined Printf Handlers): Remove
4639 @hsep and @vsep usage.
4641 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4643 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4644 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4646 2012-12-03 Jeff Law <law@redhat.com>
4648 * time/sys/time.h (settimeofday): Do not mark TV argument
4651 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4653 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4654 when currently writing and seek to current position when not.
4655 * libio/Makefile (tests): Remove bug-fclose1.
4656 * libio/bug-fclose1.c: Delete.
4658 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4660 * manual/arith.texi (feenableexcept): Fix typo.
4661 (fedisableexcept): Likewise.
4663 2012-11-30 Roland McGrath <roland@hack.frob.com>
4665 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4666 second, differently-typed declaration, rather than a cast.
4668 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4670 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4671 * include/rpc/svc.h: ... here.
4673 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4676 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4677 depending n and resplen2 to catch cases where answer
4680 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4682 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4683 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4685 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4687 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4689 2012-11-29 Roland McGrath <roland@hack.frob.com>
4691 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4693 2012-11-28 Jeff Law <law@redhat.com>
4696 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4697 dataset_temporary. Track alloca usage into alloca_used.
4698 If dataset is large allocate and release it via malloc/free.
4700 2012-06-04 Florian Weimer <fweimer@redhat.com>
4703 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4705 2012-11-28 David S. Miller <davem@davemloft.net>
4707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4709 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4712 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4713 of pi/2 rounded to nearest to 64 bits.
4714 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4716 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4719 2012-11-28 Jeff Law <law@redhat.com>
4720 Martin Osvald <mosvald@redhat.com>
4723 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4724 * sunrpc/svc.c: Include time.h.
4725 (__svc_accept_failed): New function.
4726 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4727 any reason other than EINTR, call __svc_accept_failed.
4728 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4729 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4731 2012-11-28 Andreas Schwab <schwab@suse.de>
4733 * scripts/abilist.awk: Also handle indirect functions in .opd
4736 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4739 * sysdeps/x86/fpu/powl_helper.c: New file.
4740 * sysdeps/x86/fpu/Makefile: Likewise.
4741 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4743 (__ieee754_powl): Use __powl_helper for finite arguments except
4744 integer exponents below 8.
4745 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4747 (__ieee754_powl): Use __powl_helper for finite arguments except
4748 integer exponents below 8.
4749 * math/libm-test.inc (pow_test): Add more tests and enable some
4750 previously disabled tests.
4751 * sysdeps/i386/fpu/libm-test-ulps: Update.
4752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4754 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4755 Carlos O'Donell <carlos_odonell@mentor.com>
4757 * nss/makedb.c (is_prime): Assert that input is odd and greater
4758 than 4. Note that fact in a comment too.
4759 (next_prime): Add 4 to input.
4761 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4764 * libio/Makefile (tests): Add test case tst-fwrite-error.
4765 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4766 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4767 * libio/tst-fwrite-error.c: New test case.
4769 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4771 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4772 before casting to void *.
4773 * include/libc-internal.h (__pointer_type): New macro.
4774 (__integer_if_pointer_type_sub): Likewise.
4775 (__integer_if_pointer_type): Likewise.
4776 (cast_to_integer): Likewise.
4777 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4778 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4779 before casting to atomic64_t.
4780 (atomic_exchange_acq): Likewise.
4781 (__arch_exchange_and_add_body): Likewise.
4782 (__arch_add_body): Likewise.
4783 (atomic_add_negative): Likewise.
4784 (atomic_add_zero): Likewise.
4786 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4788 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4789 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4790 (add_fdes): Likewise.
4791 (linear_search_fdes): Likewise.
4792 (binary_search_unencoded_fdes): Likewise.
4794 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4796 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4798 2012-11-24 Adam Conrad <adconrad@0c3.net>
4800 * configure.in: Autodetect C++ header directories.
4801 * configure: Regenerated.
4803 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4805 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4807 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4811 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4813 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4814 LDBL_MANT_DIG == 106]: Disable some tests.
4815 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4817 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4821 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4822 input for small inputs. Return +/- pi/2 for large inputs.
4823 * math/libm-test.inc (atan_test): Add more tests.
4825 * sysdeps/generic/unwind-dw2-fde-glibc.c
4826 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4827 __attribute__ ((unused)).
4830 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4831 x * y if x and y are nonzero and z is zero.
4834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4835 nonzero exponents with absolute value below 0x1p-117 to +/-
4839 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4840 up arguments below 2**-450, not just those below 2**-500.
4841 * math/libm-test.inc (hypot_test): Add another test.
4844 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4845 Return a+b for ratio over 2**120, not 2**60.
4846 * math/libm-test.inc (hypot_test): Add another test.
4848 * math/libm-test.inc (clog_test): Use
4849 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4850 (clog10_test): Likewise.
4853 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4855 2012-11-22 Andreas Schwab <schwab@suse.de>
4857 * sysdeps/i386/fpu/libm-test-ulps: Update.
4859 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4861 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4862 printf output with newline.
4864 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4867 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4868 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4869 -z nodlopen, -z initfirst and -z execstack support.
4870 * configure: Regenerated.
4872 * elf/elf.h (DF_1_NODIRECT): New macro.
4873 (DF_1_IGNMULDEF): Likewise.
4874 (DF_1_NOKSYMS): Likewise.
4875 (DF_1_NOHDR): Likewise.
4876 (DF_1_EDITED): Likewise.
4877 (DF_1_NORELOC): Likewise.
4878 (DF_1_SYMINTPOSE): Likewise.
4879 (DF_1_GLOBAUDIT): Likewise.
4880 (DF_1_SINGLETON): Likewise.
4881 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4882 DT_1_SUPPORTED_MASK bits.
4883 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4885 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4887 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4889 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4891 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4894 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4895 (sendmmsg): Move declarations...
4896 * socket/sys/socket.h: ... here.
4897 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4898 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4900 * socket/recvmmsg.c: ... this new file.
4901 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4902 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4903 definition of __sendmmsg hidden.
4904 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4905 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4906 Move ENOSYS stub into and include it from...
4907 * socket/sendmmsg.c: ... this new file.
4908 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4909 (sysdep_routines): Move recvmmsg and sendmmsg...
4910 * socket/Makefile (routines): ... here.
4911 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4912 (GLIBC_PRIVATE): Add __sendmmsg.
4913 * include/sys/socket.h (__sendmmsg): Add declarations.
4914 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4917 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4919 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4920 variable I1 with __attribute__ ((unused)).
4921 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4923 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4925 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4926 DUMMY variables with __attribute__ ((unused)).
4928 * bits/byteswap.h: Include <bits/types.h>.
4929 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4931 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4933 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4934 string_t. Do not manually set errno.
4935 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4936 length with __strnlen. Make sure to both set errno and return it on
4939 2012-11-19 David S. Miller <davem@davemloft.net>
4941 With help from Joseph Myers.
4942 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4943 very large arguments properly.
4944 * math/libm-test.inc (atan_test): New tests.
4945 (atan2_test): New tests.
4946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4949 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4952 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4955 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4956 [POSIX] (EADDRNOTAVAIL): Likewise.
4957 [POSIX] (EAFNOSUPPORT): Likewise.
4958 [POSIX] (EALREADY): Likewise.
4959 [POSIX] (ECONNABORTED): Likewise.
4960 [POSIX] (ECONNREFUSED): Likewise.
4961 [POSIX] (ECONNRESET): Likewise.
4962 [POSIX] (EDESTADDRREQ): Likewise.
4963 [POSIX] (EDQUOT): Likewise.
4964 [POSIX] (EHOSTUNREACH): Likewise.
4965 [POSIX] (EIDRM): Likewise.
4966 [POSIX] (EISCONN): Likewise.
4967 [POSIX] (ELOOP): Likewise.
4968 [POSIX] (EMULTIHOP): Likewise.
4969 [POSIX] (ENETDOWN): Likewise.
4970 [POSIX] (ENETUNREACH): Likewise.
4971 [POSIX] (ENOBUFS): Likewise.
4972 [POSIX] (ENODATA): Likewise.
4973 [POSIX] (ENOLINK): Likewise.
4974 [POSIX] (ENOMSG): Likewise.
4975 [POSIX] (ENOPROTOOPT): Likewise.
4976 [POSIX] (ENOSR): Likewise.
4977 [POSIX] (ENOSTR): Likewise.
4978 [POSIX] (ENOTCONN): Likewise.
4979 [POSIX] (ENOTSOCK): Likewise.
4980 [POSIX] (EOPNOTSUPP): Likewise.
4981 [POSIX] (EOVERFLOW): Likewise.
4982 [POSIX] (EPROTO): Likewise.
4983 [POSIX] (EPROTONOSUPPORT): Likewise.
4984 [POSIX] (EPROTOTYPE): Likewise.
4985 [POSIX] (ESTALE): Likewise.
4986 [POSIX] (ETIME): Likewise.
4987 [POSIX] (ETXTBSY): Likewise.
4988 [POSIX] (EWOULDBLOCK): Likewise.
4989 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4990 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4991 [POSIX] (SEEK_CUR): Likewise.
4992 [POSIX] (SEEK_END): Likewise.
4993 [POSIX || UNIX98] (mode_t): Do not require.
4994 [POSIX] (off_t): Likewise.
4995 [POSIX] (pid_t): Likewise.
4996 [POSIX] (sys/stat.h): Do not allow header.
4997 [POSIX] (unistd.h): Likewise.
4998 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4999 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5000 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5001 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5003 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5004 sigevent): Specify elements.
5005 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5007 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5008 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5010 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5011 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5012 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5013 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5014 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5015 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5016 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5017 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5019 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5020 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5021 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5022 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5025 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5027 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5029 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5031 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5033 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5034 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5035 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5036 Specify lower bound on value.
5037 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5038 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5040 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5041 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5042 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5043 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5044 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5046 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5048 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5049 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5051 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5052 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5053 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5054 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5055 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5056 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5057 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5058 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5059 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5060 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5061 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5062 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5063 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5065 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5067 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5069 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5070 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5071 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5072 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5074 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5075 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5076 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5077 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5078 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5079 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5083 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5084 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5085 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5086 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5087 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5088 specify as optional.
5089 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5090 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5092 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5093 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5094 [XPG3] (NL_LANGMAX): Likewise.
5095 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5096 [POSIX || XPG3] (NL_NMAX): Likewise.
5097 [POSIX || XPG3] (NL_SETMAX): Likewise.
5098 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5099 [XPG3] (NZERO): Likewise.
5100 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5101 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5102 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5103 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5104 (REG_ERANGE): Expect.
5105 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5107 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5108 Use (void) in prototype.
5109 [POSIX] (*_t): Allow.
5110 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5111 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5112 (WRDE_BADVAL): Expect.
5114 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5116 [XPG3 || XPG4] (O_RSYNC): Likewise.
5117 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5119 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5120 [XPG3 || XPG4] (sigqueue): Likewise.
5121 [XPG3 || XPG4] (sigtimedwait): Likewise.
5122 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5123 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5124 [XPG3 || XPG4] (vsnprintf): Likewise.
5125 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5127 [XPG3 || XPG4] (blksize_t): Likewise.
5128 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5130 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5131 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5132 [XPG3 || XPG4] (struct itimerspec): Likewise.
5133 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5134 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5135 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5136 [XPG3 || XPG4] (clockid_t): Likewise.
5137 [XPG3 || XPG4] (timer_t): Likewise.
5138 [XPG3 || XPG4] (clock_getres): Likewise.
5139 [XPG3 || XPG4] (clock_gettime): Likewise.
5140 [XPG3 || XPG4] (clock_settime): Likewise.
5141 [XPG3 || XPG4] (nanosleep): Likewise.
5142 [XPG3 || XPG4] (timer_create): Likewise.
5143 [XPG3 || XPG4] (timer_delete): Likewise.
5144 [XPG3 || XPG4] (timer_gettime): Likewise.
5145 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5146 [XPG3 || XPG4] (timer_settime): Likewise.
5147 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5148 [XPG3 || XPG4] (getlogin_r): Likewise.
5149 [XPG3 || XPG4] (pread): Likewise.
5150 [XPG3 || XPG4] (pthread_atfork): Likewise.
5151 [XPG3 || XPG4] (pwrite): Likewise.
5154 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5157 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5159 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5160 finalizing MALLSTREAM.
5162 * sysdeps/mach/hurd/syncfs.c: New file.
5164 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5167 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5168 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5169 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5170 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5171 (_nss_dns_gethostbyname4_r): Likewise.
5172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5173 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5175 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5178 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5180 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5182 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5183 * elf/cache.c (print_entry): Print ",AArch64" for
5186 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5187 * elf/cache.c (print_entry): Print ",hard-float" for
5190 2012-11-18 David S. Miller <davem@davemloft.net>
5192 With help from Joseph Myers.
5193 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5195 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5197 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5198 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5200 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5201 * math/libm-test.inc (y0_test): New tests.
5202 (y1_test): New tests.
5203 * sysdeps/i386/fpu/libm-test-ulps: Update.
5204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5207 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5209 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5211 * configure: Regenerated.
5213 2012-11-17 David S. Miller <davem@davemloft.net>
5216 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5217 nonzero exponents with absolute value below 0x1p-128 to +/-
5220 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5222 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5224 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5226 * posix/getconf-speclist.c: New file.
5227 * posix/posix-envs.def: Likewise.
5228 * posix/confstr.c (START_ENV_GROUP): New macro.
5229 (END_ENV_GROUP): Likewise.
5230 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5231 (KNOWN_PRESENT_ENV_STRING): Likewise.
5232 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5233 (UNKNOWN_ENVIRONMENT): Likewise.
5234 (confstr): Include posix-envs.def instead of handling
5235 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5236 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5237 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5238 (END_ENV_GROUP): Likewise.
5239 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5240 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5241 (UNKNOWN_ENVIRONMENT): Likewise.
5242 (__sysconf): Include posix-envs.def instead of handling associated
5243 cases directly here.
5244 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5245 preprocessing getconf-speclist.c rather than running getconf or
5246 generating empty file.
5248 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5250 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5252 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5255 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5257 2012-11-16 David S. Miller <davem@davemloft.net>
5259 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5260 smaller than LDBL_EPSILON/2.0L, just return xm1.
5262 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5264 * elf/tst-array1.c (init): Set constructor priority to 1000.
5265 (fini): Set destructor priority to 1000.
5266 * elf/tst-array2dep.c: Likewise.
5268 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5271 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5272 (_IO_new_file_xsputn): Also return EOF if none of the input
5273 data was written when overflow failed.
5274 * libio/iopadn.c (_IO_padn): Likewise.
5275 * libio/iowpadn.c (_IO_wpadn): Likewise.
5276 * stdio-common/tst-put-error.c: Add copyright notice.
5277 (do_test): Add case for printing padded string.
5278 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5279 _IO_padn returned error.
5280 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5281 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5284 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5286 * libio/libioP.h: Add comment note that the references to C++
5287 bits are now obsolete.
5289 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5291 * math/libm-test.inc (check_complex): Use asprintf.
5293 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5295 * debug/pcprofiledump.c (print_version): Update copyright year.
5296 * malloc/memusagestat.c (print_version): Likewise.
5298 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5301 * elf/Makefile (tests): Add tst-audit8.
5302 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5303 ($(objpfx)tst-audit8.out): New target.
5304 (tst-audit8-ENV): New variable.
5305 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5306 audit if l_reloc_result is NULL.
5307 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5308 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5309 * elf/tst-audit8.c: New file.
5311 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5313 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5314 * misc/Makefile (CFLAGS-select.c): Define.
5315 * posix/Makefile (CFLAGS-pause.c): Define.
5317 2012-11-13 David S. Miller <davem@davemloft.net>
5319 * crypt/Makefile: Move test targets after toplevel Rules
5320 inclusion. Grab any necessary sysdep routines when linking.
5321 * crypt/md5.c (md5_process_block): Remove define, we will always
5322 name it __md5_process_block.
5323 (md5_finish_ctx): Update md5_process_block call.
5324 (md5_stream): Likewise.
5325 (md5_process_bytes): Likewise.
5326 (md5_process_block): Rename to __md5_process_block and move to ...
5327 * crypt/md5-block.c: ... here.
5328 * crypt/sha256.c (sha256_process_block): Move to ...
5329 * crypt/sha256-block.c: ... here.
5330 * crypt/sha512.c (sha512_process_block): Move to ...
5331 * crypt/sha512-block.c: ... here.
5332 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5334 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5335 * sysdeps/sparc/sparc64/multiarch/Makefile
5336 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5338 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5339 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5341 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5342 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5343 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5344 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5345 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5346 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5347 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5348 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5351 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5352 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5354 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5356 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5358 * timezone/tzselect.ksh: Update from tzcode git revision
5359 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5360 * timezone/zdump.c: Likewise.
5361 * timezone/zic.c: Likewise.
5362 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5363 in TZVERSION setting, not $(PKGVERSION).
5364 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5365 REPORT_BUGS_TO settings.
5368 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5371 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5373 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5374 detection to immediately after _FP_ROUND().
5375 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5378 2012-11-11 David S. Miller <davem@davemloft.net>
5380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5382 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5383 __close rather than their public counterparts.
5385 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5387 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5389 [UNIX98] (sem_timedwait): Do not expect.
5390 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5391 [XPG4 || UNIX98] (sockatmark): Do not expect.
5392 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5393 (clock_getcpuclockid): Do not expect.
5394 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5395 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5397 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5398 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5399 [UNIX98] (vwscanf): Likewise.
5400 [UNIX98] (vswscanf): Likewise.
5402 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5404 * timezone/version.h: Remove file.
5405 * timezone/README: Do not refer to version.h.
5406 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5408 ($(objpfx)zdump.o): Likewise.
5409 ($(objpfx)version.h): New target.
5411 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5413 * timezone/README: Don't mention modification to tzselect.ksh.
5414 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5415 work on unmodified tzselect.ksh. Substitute version numbers in
5418 * Makefile (format-me): Remove.
5419 (INSTALL): Adjust indentation. Use commands directly instead of
5422 * aclocal.m4 (ACX_PKGVERSION): New macro.
5423 (ACX_BUGURL): Likewise.
5424 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5425 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5426 (REPORT_BUGS_TO): Likewise.
5427 * configure: Regenerated.
5428 * config.h.in (PKGVERSION): New macro.
5429 (REPORT_BUGS_TO): Likewise.
5430 * config.make.in (PKGVERSION): New variable.
5431 (PKGVERSION_TEXI): Likewise.
5432 (REPORT_BUGS_TO): Likewise.
5433 (REPORT_BUGS_TEXI): Likewise.
5434 * Makefile (format-me): Use -I$(common-objpfx)manual.
5435 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5436 ($(common-objpfx)manual/%): New target.
5437 (manual/%): Remove target.
5438 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5439 (print_version): Use PKGVERSION.
5440 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5441 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5443 ($(objpfx)xtrace): Likewise.
5444 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5445 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5446 (print_version): Use PKGVERSION.
5447 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5448 (do_version): Use PKGVERSION.
5449 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5451 (common-ldd-rewrite): Likewise.
5452 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5453 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5454 (print_version): Use PKGVERSION.
5455 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5456 * elf/pldd.c (argp_program_bug_address): Remove variable.
5457 (more_help): New function.
5458 (argp): Use more_help.
5459 (print_version): Use PKGVERSION.
5460 * elf/sln.c (main): Use PKGVERSION.
5461 (usage): Use REPORT_BUGS_TO.
5462 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5463 (top level): Use PKGVERSION.
5464 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5465 (print_version): Use PKGVERSION.
5466 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5467 (print_version): Use PKGVERSION.
5468 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5469 (print_version): Use PKGVERSION.
5470 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5471 (print_version): Use PKGVERSION.
5472 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5473 (print_version): Use PKGVERSION.
5474 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5475 (print_version): Use PKGVERSION.
5476 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5478 ($(objpfx)memusage): Likewise.
5479 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5480 (do_version): Use PKGVERSION.
5481 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5482 (print_version): Use PKGVERSION.
5483 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5484 ($PKGVERSION): New variable.
5485 ($REPORT_BUGS_TO): Likewise.
5486 (usage): Use $REPORT_BUGS_TO.
5487 (top level): Use $PKGVERSION.
5488 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5489 ($(objpfx)pkgvers.texi): New rule.
5490 ($(objpfx)stamp-pkgvers): Likewise.
5491 * manual/install.texi: Include pkgvers.texi.
5492 (--with-pkgversion): Document new configure option.
5493 (--with-bugurl): Likewise.
5494 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5495 than necessarily for this particular distribution. Use
5496 REPORT_BUGS_TO for where to report bugs.
5497 * INSTALL: Regenerated.
5498 * manual/libc.texinfo: Include pkgvers.texi.
5499 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5500 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5501 (print_version): Use PKGVERSION.
5502 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5503 (print_version): Use PKGVERSION.
5504 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5505 (print_version): Use PKGVERSION.
5506 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5507 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5509 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5510 (print_version): Use PKGVERSION.
5511 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5512 (print_version): Use PKGVERSION.
5513 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5516 * timezone/checktab.awk: Update from tzcode 2012i.
5517 * timezone/ialloc.c: Likewise.
5518 * timezone/private.h: Likewise.
5519 * timezone/scheck.c: Likewise.
5520 * timezone/tzfile.h: Likewise.
5521 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5522 (TZVERSION): Hardcode tzcode version number.
5523 * timezone/zdump.c: Update from tzcode 2012i.
5524 * timezone/zic.c: Likewise.
5525 * timezone/version.h: New file.
5526 * timezone/README: Describe version.h. Update upstream location.
5529 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5530 (mktemp): Enable declaration.
5531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5548 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5549 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5550 for copies of such integer values.
5551 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5552 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5554 2012-11-09 Andreas Jaeger <aj@suse.de>
5556 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5557 definitions and declarations that are provided by
5558 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5560 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5562 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5563 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5564 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5567 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5569 * elf/elf.h: Update comment before AArch64 relocations.
5571 2012-11-07 David S. Miller <davem@davemloft.net>
5573 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5574 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5575 (__start_context): Declare.
5576 (__makecontext_ret): Delete.
5577 (__makecontext): Hook up __start_context instead of
5579 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5580 (sysdep_routines): Add __start_context when in stdlib.
5582 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5584 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5585 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5586 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5588 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5589 (READELF): New variable. Use it instead of hardcoded "readelf".
5591 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5593 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5594 * sysdeps/x86/Makefile: Here.
5595 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5596 * sysdeps/x86/tst-xmmymm.sh: This.
5598 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5600 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5602 [UNIX98] (pthread_barrier_t): Do not expect.
5603 [UNIX98] (pthread_barrierattr_t): Likewise.
5604 [UNIX98] (pthread_spinlock_t): Likewise.
5605 [UNIX98] (pthread_barrier_destroy): Likewise.
5606 [UNIX98] (pthread_barrier_init): Likewise.
5607 [UNIX98] (pthread_barrier_wait): Likewise.
5608 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5609 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5610 [UNIX98] (pthread_barrierattr_init): Likewise.
5611 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5612 [UNIX98] (pthread_getcpuclockid): Likewise.
5613 [UNIX98] (pthread_mutex_timedlock): Likewise.
5614 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5615 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5616 [UNIX98] (pthread_sigmask): Likewise.
5617 [UNIX98] (pthread_spin_destroy): Likewise.
5618 [UNIX98] (pthread_spin_init): Likewise.
5619 [UNIX98] (pthread_spin_lock): Likewise.
5620 [UNIX98] (pthread_spin_trylock): Likewise.
5621 [UNIX98] (pthread_spin_unlock): Likewise.
5622 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5624 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5626 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5627 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5628 [XPG3 || XPG4] (pthread_key_t): Likewise.
5629 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5630 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5631 [XPG3 || XPG4] (pthread_once_t): Likewise.
5632 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5633 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5634 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5635 [XPG3 || XPG4] (pthread_t): Likewise.
5637 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5639 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5641 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5642 Change function return type to int.
5644 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5645 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5646 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5647 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5648 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5649 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5650 [!POSIX] (posix_madvise): Likewise.
5651 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5653 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5654 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5656 (posix_mem_offset): Likewise.
5657 (posix_typed_mem_get_info): Likewise.
5658 (posix_typed_mem_open): Likewise.
5660 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5661 Change condition to [XOPEN2K8].
5663 * conform/conformtest.pl: Preprocess allow-header data with -x c
5664 instead of from stdin.
5665 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5666 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5667 [C99-based standards] (cerfc): Likewise.
5668 [C99-based standards] (cexp2): Likewise.
5669 [C99-based standards] (cexpm1): Likewise.
5670 [C99-based standards] (clog10): Likewise.
5671 [C99-based standards] (clog1p): Likewise.
5672 [C99-based standards] (clog2): Likewise.
5673 [C99-based standards] (clgamma): Likewise.
5674 [C99-based standards] (ctgamma): Likewise.
5675 [C99-based standards] (cerff): Likewise.
5676 [C99-based standards] (cerfcf): Likewise.
5677 [C99-based standards] (cexp2f): Likewise.
5678 [C99-based standards] (cexpm1f): Likewise.
5679 [C99-based standards] (clog10f): Likewise.
5680 [C99-based standards] (clog1pf): Likewise.
5681 [C99-based standards] (clog2f): Likewise.
5682 [C99-based standards] (clgammaf): Likewise.
5683 [C99-based standards] (ctgammaf): Likewise.
5684 [C99-based standards] (cerfl): Likewise.
5685 [C99-based standards] (cerfcl): Likewise.
5686 [C99-based standards] (cexp2l): Likewise.
5687 [C99-based standards] (cexpm1l): Likewise.
5688 [C99-based standards] (clog10l): Likewise.
5689 [C99-based standards] (clog1pl): Likewise.
5690 [C99-based standards] (clog2l): Likewise.
5691 [C99-based standards] (clgammal): Likewise.
5692 [C99-based standards] (ctgammal): Likewise.
5693 * conform/data/inttypes.h-data [C99-based standards]: Include
5694 stdint.h-data. Remove all expectations for stdint.h contents.
5695 [C99-based standards] (PRI*): Do not allow.
5696 [C99-based standards] (SCN*): Likewise.
5697 [C99-based standards] (*_t): Likewise.
5698 [C99-based-standards] (PRId8): Expect macro.
5699 [C99-based-standards] (PRIi8): Likewise.
5700 [C99-based-standards] (PRIo8): Likewise.
5701 [C99-based-standards] (PRIu8): Likewise.
5702 [C99-based-standards] (PRIx8): Likewise.
5703 [C99-based-standards] (PRIX8): Likewise.
5704 [C99-based-standards] (SCNd8): Likewise.
5705 [C99-based-standards] (SCNi8): Likewise.
5706 [C99-based-standards] (SCNo8): Likewise.
5707 [C99-based-standards] (SCNu8): Likewise.
5708 [C99-based-standards] (SCNx8): Likewise.
5709 [C99-based-standards] (PRIdLEAST8): Likewise.
5710 [C99-based-standards] (PRIiLEAST8): Likewise.
5711 [C99-based-standards] (PRIoLEAST8): Likewise.
5712 [C99-based-standards] (PRIuLEAST8): Likewise.
5713 [C99-based-standards] (PRIxLEAST8): Likewise.
5714 [C99-based-standards] (PRIXLEAST8): Likewise.
5715 [C99-based-standards] (SCNdLEAST8): Likewise.
5716 [C99-based-standards] (SCNiLEAST8): Likewise.
5717 [C99-based-standards] (SCNoLEAST8): Likewise.
5718 [C99-based-standards] (SCNuLEAST8): Likewise.
5719 [C99-based-standards] (SCNxLEAST8): Likewise.
5720 [C99-based-standards] (PRIdFAST8): Likewise.
5721 [C99-based-standards] (PRIiFAST8): Likewise.
5722 [C99-based-standards] (PRIoFAST8): Likewise.
5723 [C99-based-standards] (PRIuFAST8): Likewise.
5724 [C99-based-standards] (PRIxFAST8): Likewise.
5725 [C99-based-standards] (PRIXFAST8): Likewise.
5726 [C99-based-standards] (SCNdFAST8): Likewise.
5727 [C99-based-standards] (SCNiFAST8): Likewise.
5728 [C99-based-standards] (SCNoFAST8): Likewise.
5729 [C99-based-standards] (SCNuFAST8): Likewise.
5730 [C99-based-standards] (SCNxFAST8): Likewise.
5731 [C99-based-standards] (PRId16): Likewise.
5732 [C99-based-standards] (PRIi16): Likewise.
5733 [C99-based-standards] (PRIo16): Likewise.
5734 [C99-based-standards] (PRIu16): Likewise.
5735 [C99-based-standards] (PRIx16): Likewise.
5736 [C99-based-standards] (PRIX16): Likewise.
5737 [C99-based-standards] (SCNd16): Likewise.
5738 [C99-based-standards] (SCNi16): Likewise.
5739 [C99-based-standards] (SCNo16): Likewise.
5740 [C99-based-standards] (SCNu16): Likewise.
5741 [C99-based-standards] (SCNx16): Likewise.
5742 [C99-based-standards] (PRIdLEAST16): Likewise.
5743 [C99-based-standards] (PRIiLEAST16): Likewise.
5744 [C99-based-standards] (PRIoLEAST16): Likewise.
5745 [C99-based-standards] (PRIuLEAST16): Likewise.
5746 [C99-based-standards] (PRIxLEAST16): Likewise.
5747 [C99-based-standards] (PRIXLEAST16): Likewise.
5748 [C99-based-standards] (SCNdLEAST16): Likewise.
5749 [C99-based-standards] (SCNiLEAST16): Likewise.
5750 [C99-based-standards] (SCNoLEAST16): Likewise.
5751 [C99-based-standards] (SCNuLEAST16): Likewise.
5752 [C99-based-standards] (SCNxLEAST16): Likewise.
5753 [C99-based-standards] (PRIdFAST16): Likewise.
5754 [C99-based-standards] (PRIiFAST16): Likewise.
5755 [C99-based-standards] (PRIoFAST16): Likewise.
5756 [C99-based-standards] (PRIuFAST16): Likewise.
5757 [C99-based-standards] (PRIxFAST16): Likewise.
5758 [C99-based-standards] (PRIXFAST16): Likewise.
5759 [C99-based-standards] (SCNdFAST16): Likewise.
5760 [C99-based-standards] (SCNiFAST16): Likewise.
5761 [C99-based-standards] (SCNoFAST16): Likewise.
5762 [C99-based-standards] (SCNuFAST16): Likewise.
5763 [C99-based-standards] (SCNxFAST16): Likewise.
5764 [C99-based-standards] (PRId32): Likewise.
5765 [C99-based-standards] (PRIi32): Likewise.
5766 [C99-based-standards] (PRIo32): Likewise.
5767 [C99-based-standards] (PRIu32): Likewise.
5768 [C99-based-standards] (PRIx32): Likewise.
5769 [C99-based-standards] (PRIX32): Likewise.
5770 [C99-based-standards] (SCNd32): Likewise.
5771 [C99-based-standards] (SCNi32): Likewise.
5772 [C99-based-standards] (SCNo32): Likewise.
5773 [C99-based-standards] (SCNu32): Likewise.
5774 [C99-based-standards] (SCNx32): Likewise.
5775 [C99-based-standards] (PRIdLEAST32): Likewise.
5776 [C99-based-standards] (PRIiLEAST32): Likewise.
5777 [C99-based-standards] (PRIoLEAST32): Likewise.
5778 [C99-based-standards] (PRIuLEAST32): Likewise.
5779 [C99-based-standards] (PRIxLEAST32): Likewise.
5780 [C99-based-standards] (PRIXLEAST32): Likewise.
5781 [C99-based-standards] (SCNdLEAST32): Likewise.
5782 [C99-based-standards] (SCNiLEAST32): Likewise.
5783 [C99-based-standards] (SCNoLEAST32): Likewise.
5784 [C99-based-standards] (SCNuLEAST32): Likewise.
5785 [C99-based-standards] (SCNxLEAST32): Likewise.
5786 [C99-based-standards] (PRIdFAST32): Likewise.
5787 [C99-based-standards] (PRIiFAST32): Likewise.
5788 [C99-based-standards] (PRIoFAST32): Likewise.
5789 [C99-based-standards] (PRIuFAST32): Likewise.
5790 [C99-based-standards] (PRIxFAST32): Likewise.
5791 [C99-based-standards] (PRIXFAST32): Likewise.
5792 [C99-based-standards] (SCNdFAST32): Likewise.
5793 [C99-based-standards] (SCNiFAST32): Likewise.
5794 [C99-based-standards] (SCNoFAST32): Likewise.
5795 [C99-based-standards] (SCNuFAST32): Likewise.
5796 [C99-based-standards] (SCNxFAST32): Likewise.
5797 [C99-based-standards] (PRId64): Likewise.
5798 [C99-based-standards] (PRIi64): Likewise.
5799 [C99-based-standards] (PRIo64): Likewise.
5800 [C99-based-standards] (PRIu64): Likewise.
5801 [C99-based-standards] (PRIx64): Likewise.
5802 [C99-based-standards] (PRIX64): Likewise.
5803 [C99-based-standards] (SCNd64): Likewise.
5804 [C99-based-standards] (SCNi64): Likewise.
5805 [C99-based-standards] (SCNo64): Likewise.
5806 [C99-based-standards] (SCNu64): Likewise.
5807 [C99-based-standards] (SCNx64): Likewise.
5808 [C99-based-standards] (PRIdLEAST64): Likewise.
5809 [C99-based-standards] (PRIiLEAST64): Likewise.
5810 [C99-based-standards] (PRIoLEAST64): Likewise.
5811 [C99-based-standards] (PRIuLEAST64): Likewise.
5812 [C99-based-standards] (PRIxLEAST64): Likewise.
5813 [C99-based-standards] (PRIXLEAST64): Likewise.
5814 [C99-based-standards] (SCNdLEAST64): Likewise.
5815 [C99-based-standards] (SCNiLEAST64): Likewise.
5816 [C99-based-standards] (SCNoLEAST64): Likewise.
5817 [C99-based-standards] (SCNuLEAST64): Likewise.
5818 [C99-based-standards] (SCNxLEAST64): Likewise.
5819 [C99-based-standards] (PRIdFAST64): Likewise.
5820 [C99-based-standards] (PRIiFAST64): Likewise.
5821 [C99-based-standards] (PRIoFAST64): Likewise.
5822 [C99-based-standards] (PRIuFAST64): Likewise.
5823 [C99-based-standards] (PRIxFAST64): Likewise.
5824 [C99-based-standards] (PRIXFAST64): Likewise.
5825 [C99-based-standards] (SCNdFAST64): Likewise.
5826 [C99-based-standards] (SCNiFAST64): Likewise.
5827 [C99-based-standards] (SCNoFAST64): Likewise.
5828 [C99-based-standards] (SCNuFAST64): Likewise.
5829 [C99-based-standards] (SCNxFAST64): Likewise.
5830 [C99-based-standards] (PRIdMAX): Likewise.
5831 [C99-based-standards] (PRIiMAX): Likewise.
5832 [C99-based-standards] (PRIoMAX): Likewise.
5833 [C99-based-standards] (PRIuMAX): Likewise.
5834 [C99-based-standards] (PRIxMAX): Likewise.
5835 [C99-based-standards] (PRIXMAX): Likewise.
5836 [C99-based-standards] (SCNdMAX): Likewise.
5837 [C99-based-standards] (SCNiMAX): Likewise.
5838 [C99-based-standards] (SCNoMAX): Likewise.
5839 [C99-based-standards] (SCNuMAX): Likewise.
5840 [C99-based-standards] (SCNxMAX): Likewise.
5841 [C99-based-standards] (PRIdPTR): Likewise.
5842 [C99-based-standards] (PRIiPTR): Likewise.
5843 [C99-based-standards] (PRIoPTR): Likewise.
5844 [C99-based-standards] (PRIuPTR): Likewise.
5845 [C99-based-standards] (PRIxPTR): Likewise.
5846 [C99-based-standards] (PRIXPTR): Likewise.
5847 [C99-based-standards] (SCNdPTR): Likewise.
5848 [C99-based-standards] (SCNiPTR): Likewise.
5849 [C99-based-standards] (SCNoPTR): Likewise.
5850 [C99-based-standards] (SCNuPTR): Likewise.
5851 [C99-based-standards] (SCNxPTR): Likewise.
5852 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5854 * conform/data/stdint.h-data: Update comments to clarify
5856 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5858 [C99-based standards] (INT8_MAX): Likewise.
5859 [C99-based standards] (INT16_MIN): Likewise.
5860 [C99-based standards] (INT16_MAX): Likewise.
5861 [C99-based standards] (INT32_MIN): Likewise.
5862 [C99-based standards] (INT32_MAX): Likewise.
5863 [C99-based standards] (INT64_MIN): Likewise.
5864 [C99-based standards] (INT64_MAX): Likewise.
5865 [C99-based standards] (UINT8_MAX): Likewise.
5866 [C99-based standards] (UINT16_MAX): Likewise.
5867 [C99-based standards] (UINT32_MAX): Likewise.
5868 [C99-based standards] (UINT64_MAX): Likewise.
5869 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5870 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5871 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5872 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5873 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5874 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5875 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5876 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5877 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5878 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5879 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5880 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5881 [C99-based standards] (INT_FAST8_MIN): Likewise.
5882 [C99-based standards] (INT_FAST8_MAX): Likewise.
5883 [C99-based standards] (INT_FAST16_MIN): Likewise.
5884 [C99-based standards] (INT_FAST16_MAX): Likewise.
5885 [C99-based standards] (INT_FAST32_MIN): Likewise.
5886 [C99-based standards] (INT_FAST32_MAX): Likewise.
5887 [C99-based standards] (INT_FAST64_MIN): Likewise.
5888 [C99-based standards] (INT_FAST64_MAX): Likewise.
5889 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5890 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5891 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5892 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5893 [C99-based standards] (INTPTR_MIN): Likewise.
5894 [C99-based standards] (INTPTR_MAX): Likewise.
5895 [C99-based standards] (UINTPTR_MAX): Likewise.
5896 [C99-based standards] (INTMAX_MIN): Likewise.
5897 [C99-based standards] (INTMAX_MAX): Likewise.
5898 [C99-based standards] (UINTMAX_MAX): Likewise.
5899 [C99-based standards] (PTRDIFF_MIN): Likewise.
5900 [C99-based standards] (PTRDIFF_MAX): Likewise.
5901 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5902 [C99-based standards] (SIZE_MAX): Likewise.
5903 [C99-based standards] (WCHAR_MAX): Likewise.
5904 [C99-based standards] (WINT_MAX): Likewise.
5905 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5906 constraint on value.
5907 [C99-based standards] (WCHAR_MIN): Likewise.
5908 [C99-based standards] (WINT_MIN): Likewise.
5909 [C99-based standards] (*_t): Allow.
5910 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5911 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5912 Include math.h-data and complex.h-data. Remove all expectations
5913 of math.h and complex.h contents.
5914 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5916 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5917 (struct tm): Expect tag.
5918 [C99-based-standards] (wcstof): Expect function.
5919 [C99-based-standards] (wcstold): Likewise.
5920 [C99-based-standards] (wcstoll): Likewise.
5921 [C99-based-standards] (wcstoull): Likewise.
5922 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5923 macro-int-constant. Specify type.
5924 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5925 constraint on value.
5926 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5928 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5930 [ISO C standards]: Do not allow headers.
5931 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5932 wcs[abcdefghijklmnopqrstuvwxyz]*.
5933 [ISO C standards] (*_t): Do not allow.
5934 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5936 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5937 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5939 [ISO C standards]: Do not allow headers.
5940 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5941 is[abcdefghijklmnopqrstuvwxyz]*.
5942 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5943 to[abcdefghijklmnopqrstuvwxyz]*.
5944 [ISO C standards] (*_t): Do not allow.
5945 * conform/data/stdalign.h-data: New file.
5946 * conform/data/stdbool.h-data: Likewise.
5947 * conform/data/stdnoreturn.h-data: Likewise.
5949 2012-11-07 Roland McGrath <roland@hack.frob.com>
5952 * manual/filesys.texi (Directory Entries): Typo fix.
5953 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5955 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5957 * elf/elf.h (EM_AARCH64): New macro.
5958 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5959 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5960 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5961 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5962 (R_AARCH64_TLSDESC): Likewise.
5963 (NT_ARM_TLS): Likewise.
5964 (NT_ARM_HW_BREAK): Likewise.
5965 (NT_ARM_HW_WATCH): Likewise.
5967 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5970 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5971 (__ieee754_powl): Saturate nonzero exponents with absolute value
5972 below 0x1p-79 to +/- 0x1p-79.
5973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5974 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5975 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5976 nonzero exponents with absolute value below 0x1p-32 to +/-
5978 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5979 (__ieee754_powl): Saturate nonzero exponents with absolute value
5980 below 0x1p-79 to +/- 0x1p-79.
5981 * math/libm-test.inc (pow_test): Add more tests.
5983 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5985 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5986 _dl_s390_cap_flags with kernel. Increase string length.
5987 (_dl_s390_platforms): Add z196 and zEC12.
5989 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5991 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5992 Change XOPEN21K to XOPEN2K.
5994 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5996 * string/memmove.c: Use memcpy when possible.
5998 2012-11-06 Andreas Jaeger <aj@suse.de>
6000 * po/eo.po: Update from translation team.
6002 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6006 exponent and small x and y exponents, scale x or y up. Increase
6007 by 2 the exponent used in scaling up.
6008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6009 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6010 * math/libm-test.inc (fma_test): Add more tests.
6011 (fma_test_towardzero): Likewise.
6012 (fma_test_downward): Likewise.
6013 (fma_test_upward): Likewise.
6015 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6018 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6022 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6023 namespace for names of struct fields.
6024 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6026 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6027 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6029 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6032 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6034 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6036 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6040 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6043 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6047 definitely overflow as x * y not x * y + z.
6048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6050 * math/libm-test.inc (fma_test): Add more tests.
6051 (fma_test_towardzero): Likewise.
6052 (fma_test_downward): Likewise.
6053 (fma_test_upward): Likewise.
6055 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6059 * include/stub-tag.h: Remove file.
6060 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6062 * manual/maint.texi (Porting): Don't reference it.
6063 * Makerules ($(objpfx)stubs): Likewise.
6064 * dirent/closedir.c: Don't include <stub-tag.h>.
6065 * dirent/dirfd.c: Likewise.
6066 * dirent/fdopendir.c: Likewise.
6067 * dirent/getdents.c: Likewise.
6068 * dirent/getdents64.c: Likewise.
6069 * dirent/opendir.c: Likewise.
6070 * dirent/readdir.c: Likewise.
6071 * dirent/readdir64.c: Likewise.
6072 * dirent/readdir64_r.c: Likewise.
6073 * dirent/readdir_r.c: Likewise.
6074 * dirent/rewinddir.c: Likewise.
6075 * dirent/seekdir.c: Likewise.
6076 * dirent/telldir.c: Likewise.
6077 * gmon/profil.c: Likewise.
6078 * grp/setgroups.c: Likewise.
6079 * inet/if_index.c: Likewise.
6080 * io/access.c: Likewise.
6081 * io/chdir.c: Likewise.
6082 * io/chmod.c: Likewise.
6083 * io/chown.c: Likewise.
6084 * io/close.c: Likewise.
6085 * io/dup.c: Likewise.
6086 * io/dup2.c: Likewise.
6087 * io/dup3.c: Likewise.
6088 * io/euidaccess.c: Likewise.
6089 * io/faccessat.c: Likewise.
6090 * io/fchdir.c: Likewise.
6091 * io/fchmod.c: Likewise.
6092 * io/fchmodat.c: Likewise.
6093 * io/fchown.c: Likewise.
6094 * io/fchownat.c: Likewise.
6095 * io/fcntl.c: Likewise.
6096 * io/flock.c: Likewise.
6097 * io/fstatfs.c: Likewise.
6098 * io/fstatfs64.c: Likewise.
6099 * io/fstatvfs.c: Likewise.
6100 * io/fstatvfs64.c: Likewise.
6101 * io/futimens.c: Likewise.
6102 * io/fxstat.c: Likewise.
6103 * io/fxstat64.c: Likewise.
6104 * io/fxstatat.c: Likewise.
6105 * io/fxstatat64.c: Likewise.
6106 * io/getcwd.c: Likewise.
6107 * io/isatty.c: Likewise.
6108 * io/lchmod.c: Likewise.
6109 * io/lchown.c: Likewise.
6110 * io/link.c: Likewise.
6111 * io/linkat.c: Likewise.
6112 * io/lseek.c: Likewise.
6113 * io/lseek64.c: Likewise.
6114 * io/lxstat64.c: Likewise.
6115 * io/mkdir.c: Likewise.
6116 * io/mkdirat.c: Likewise.
6117 * io/mkfifo.c: Likewise.
6118 * io/mkfifoat.c: Likewise.
6119 * io/open.c: Likewise.
6120 * io/open64.c: Likewise.
6121 * io/openat.c: Likewise.
6122 * io/openat64.c: Likewise.
6123 * io/pipe.c: Likewise.
6124 * io/pipe2.c: Likewise.
6125 * io/poll.c: Likewise.
6126 * io/posix_fadvise.c: Likewise.
6127 * io/posix_fadvise64.c: Likewise.
6128 * io/posix_fallocate.c: Likewise.
6129 * io/posix_fallocate64.c: Likewise.
6130 * io/read.c: Likewise.
6131 * io/readlink.c: Likewise.
6132 * io/readlinkat.c: Likewise.
6133 * io/rmdir.c: Likewise.
6134 * io/sendfile.c: Likewise.
6135 * io/sendfile64.c: Likewise.
6136 * io/statfs.c: Likewise.
6137 * io/statfs64.c: Likewise.
6138 * io/statvfs.c: Likewise.
6139 * io/statvfs64.c: Likewise.
6140 * io/symlink.c: Likewise.
6141 * io/symlinkat.c: Likewise.
6142 * io/ttyname.c: Likewise.
6143 * io/ttyname_r.c: Likewise.
6144 * io/umask.c: Likewise.
6145 * io/unlink.c: Likewise.
6146 * io/unlinkat.c: Likewise.
6147 * io/utime.c: Likewise.
6148 * io/utimensat.c: Likewise.
6149 * io/write.c: Likewise.
6150 * io/xmknod.c: Likewise.
6151 * io/xmknodat.c: Likewise.
6152 * io/xstat.c: Likewise.
6153 * io/xstat64.c: Likewise.
6154 * login/getpt.c: Likewise.
6155 * login/grantpt.c: Likewise.
6156 * login/unlockpt.c: Likewise.
6157 * math/e_acoshl.c: Likewise.
6158 * math/e_acosl.c: Likewise.
6159 * math/e_asinl.c: Likewise.
6160 * math/e_atan2l.c: Likewise.
6161 * math/e_atanhl.c: Likewise.
6162 * math/e_coshl.c: Likewise.
6163 * math/e_expl.c: Likewise.
6164 * math/e_fmodl.c: Likewise.
6165 * math/e_gammal_r.c: Likewise.
6166 * math/e_hypotl.c: Likewise.
6167 * math/e_j0l.c: Likewise.
6168 * math/e_j1l.c: Likewise.
6169 * math/e_jnl.c: Likewise.
6170 * math/e_lgammal_r.c: Likewise.
6171 * math/e_log10l.c: Likewise.
6172 * math/e_log2l.c: Likewise.
6173 * math/e_logl.c: Likewise.
6174 * math/e_powl.c: Likewise.
6175 * math/e_rem_pio2l.c: Likewise.
6176 * math/e_sinhl.c: Likewise.
6177 * math/e_sqrtl.c: Likewise.
6178 * math/fclrexcpt.c: Likewise.
6179 * math/fedisblxcpt.c: Likewise.
6180 * math/feenablxcpt.c: Likewise.
6181 * math/fegetenv.c: Likewise.
6182 * math/fegetexcept.c: Likewise.
6183 * math/fegetround.c: Likewise.
6184 * math/feholdexcpt.c: Likewise.
6185 * math/fesetenv.c: Likewise.
6186 * math/fesetround.c: Likewise.
6187 * math/feupdateenv.c: Likewise.
6188 * math/fgetexcptflg.c: Likewise.
6189 * math/fraiseexcpt.c: Likewise.
6190 * math/fsetexcptflg.c: Likewise.
6191 * math/ftestexcept.c: Likewise.
6192 * math/k_cosl.c: Likewise.
6193 * math/k_rem_pio2l.c: Likewise.
6194 * math/k_sinl.c: Likewise.
6195 * math/k_tanl.c: Likewise.
6196 * math/s_asinhl.c: Likewise.
6197 * math/s_atanl.c: Likewise.
6198 * math/s_cbrtl.c: Likewise.
6199 * math/s_erfl.c: Likewise.
6200 * math/s_expm1l.c: Likewise.
6201 * math/s_log1pl.c: Likewise.
6202 * math/s_tanhl.c: Likewise.
6203 * misc/acct.c: Likewise.
6204 * misc/brk.c: Likewise.
6205 * misc/chflags.c: Likewise.
6206 * misc/chroot.c: Likewise.
6207 * misc/fchflags.c: Likewise.
6208 * misc/fgetxattr.c: Likewise.
6209 * misc/flistxattr.c: Likewise.
6210 * misc/fremovexattr.c: Likewise.
6211 * misc/fsetxattr.c: Likewise.
6212 * misc/fsync.c: Likewise.
6213 * misc/ftruncate.c: Likewise.
6214 * misc/futimes.c: Likewise.
6215 * misc/futimesat.c: Likewise.
6216 * misc/getdomain.c: Likewise.
6217 * misc/getdtsz.c: Likewise.
6218 * misc/gethostid.c: Likewise.
6219 * misc/gethostname.c: Likewise.
6220 * misc/getloadavg.c: Likewise.
6221 * misc/getpagesize.c: Likewise.
6222 * misc/getsysstats.c: Likewise.
6223 * misc/getxattr.c: Likewise.
6224 * misc/gtty.c: Likewise.
6225 * misc/ioctl.c: Likewise.
6226 * misc/lgetxattr.c: Likewise.
6227 * misc/listxattr.c: Likewise.
6228 * misc/llistxattr.c: Likewise.
6229 * misc/lremovexattr.c: Likewise.
6230 * misc/lsetxattr.c: Likewise.
6231 * misc/lutimes.c: Likewise.
6232 * misc/madvise.c: Likewise.
6233 * misc/mincore.c: Likewise.
6234 * misc/mlock.c: Likewise.
6235 * misc/mlockall.c: Likewise.
6236 * misc/mmap.c: Likewise.
6237 * misc/mprotect.c: Likewise.
6238 * misc/msync.c: Likewise.
6239 * misc/munlock.c: Likewise.
6240 * misc/munlockall.c: Likewise.
6241 * misc/munmap.c: Likewise.
6242 * misc/preadv.c: Likewise.
6243 * misc/preadv64.c: Likewise.
6244 * misc/ptrace.c: Likewise.
6245 * misc/pwritev.c: Likewise.
6246 * misc/pwritev64.c: Likewise.
6247 * misc/readv.c: Likewise.
6248 * misc/reboot.c: Likewise.
6249 * misc/remap_file_pages.c: Likewise.
6250 * misc/removexattr.c: Likewise.
6251 * misc/revoke.c: Likewise.
6252 * misc/select.c: Likewise.
6253 * misc/setdomain.c: Likewise.
6254 * misc/setegid.c: Likewise.
6255 * misc/seteuid.c: Likewise.
6256 * misc/sethostid.c: Likewise.
6257 * misc/sethostname.c: Likewise.
6258 * misc/setregid.c: Likewise.
6259 * misc/setreuid.c: Likewise.
6260 * misc/setxattr.c: Likewise.
6261 * misc/sstk.c: Likewise.
6262 * misc/stty.c: Likewise.
6263 * misc/swapoff.c: Likewise.
6264 * misc/swapon.c: Likewise.
6265 * misc/sync.c: Likewise.
6266 * misc/syncfs.c: Likewise.
6267 * misc/syscall.c: Likewise.
6268 * misc/truncate.c: Likewise.
6269 * misc/ualarm.c: Likewise.
6270 * misc/usleep.c: Likewise.
6271 * misc/ustat.c: Likewise.
6272 * misc/utimes.c: Likewise.
6273 * misc/vhangup.c: Likewise.
6274 * misc/writev.c: Likewise.
6275 * posix/_exit.c: Likewise.
6276 * posix/alarm.c: Likewise.
6277 * posix/execve.c: Likewise.
6278 * posix/fexecve.c: Likewise.
6279 * posix/fork.c: Likewise.
6280 * posix/fpathconf.c: Likewise.
6281 * posix/getaddrinfo.c: Likewise.
6282 * posix/getegid.c: Likewise.
6283 * posix/geteuid.c: Likewise.
6284 * posix/getgid.c: Likewise.
6285 * posix/getgroups.c: Likewise.
6286 * posix/getlogin.c: Likewise.
6287 * posix/getlogin_r.c: Likewise.
6288 * posix/getpgid.c: Likewise.
6289 * posix/getpid.c: Likewise.
6290 * posix/getppid.c: Likewise.
6291 * posix/getresgid.c: Likewise.
6292 * posix/getresuid.c: Likewise.
6293 * posix/getsid.c: Likewise.
6294 * posix/getuid.c: Likewise.
6295 * posix/glob64.c: Likewise.
6296 * posix/nanosleep.c: Likewise.
6297 * posix/pathconf.c: Likewise.
6298 * posix/pause.c: Likewise.
6299 * posix/posix_madvise.c: Likewise.
6300 * posix/pread.c: Likewise.
6301 * posix/pread64.c: Likewise.
6302 * posix/pwrite.c: Likewise.
6303 * posix/pwrite64.c: Likewise.
6304 * posix/sched_getaffinity.c: Likewise.
6305 * posix/sched_getp.c: Likewise.
6306 * posix/sched_gets.c: Likewise.
6307 * posix/sched_primax.c: Likewise.
6308 * posix/sched_primin.c: Likewise.
6309 * posix/sched_rr_gi.c: Likewise.
6310 * posix/sched_setaffinity.c: Likewise.
6311 * posix/sched_setp.c: Likewise.
6312 * posix/sched_sets.c: Likewise.
6313 * posix/sched_yield.c: Likewise.
6314 * posix/setgid.c: Likewise.
6315 * posix/setlogin.c: Likewise.
6316 * posix/setpgid.c: Likewise.
6317 * posix/setresgid.c: Likewise.
6318 * posix/setresuid.c: Likewise.
6319 * posix/setsid.c: Likewise.
6320 * posix/setuid.c: Likewise.
6321 * posix/sleep.c: Likewise.
6322 * posix/spawni.c: Likewise.
6323 * posix/sysconf.c: Likewise.
6324 * posix/times.c: Likewise.
6325 * posix/wait.c: Likewise.
6326 * posix/wait3.c: Likewise.
6327 * posix/wait4.c: Likewise.
6328 * posix/waitpid.c: Likewise.
6329 * resolv/gai_sigqueue.c: Likewise.
6330 * resource/getpriority.c: Likewise.
6331 * resource/getrlimit.c: Likewise.
6332 * resource/getrusage.c: Likewise.
6333 * resource/nice.c: Likewise.
6334 * resource/setpriority.c: Likewise.
6335 * resource/setrlimit.c: Likewise.
6336 * resource/ulimit.c: Likewise.
6337 * rt/aio_cancel.c: Likewise.
6338 * rt/aio_fsync.c: Likewise.
6339 * rt/aio_read.c: Likewise.
6340 * rt/aio_sigqueue.c: Likewise.
6341 * rt/aio_suspend.c: Likewise.
6342 * rt/aio_write.c: Likewise.
6343 * rt/clock_getres.c: Likewise.
6344 * rt/clock_gettime.c: Likewise.
6345 * rt/clock_nanosleep.c: Likewise.
6346 * rt/clock_settime.c: Likewise.
6347 * rt/lio_listio.c: Likewise.
6348 * rt/mq_close.c: Likewise.
6349 * rt/mq_getattr.c: Likewise.
6350 * rt/mq_notify.c: Likewise.
6351 * rt/mq_open.c: Likewise.
6352 * rt/mq_receive.c: Likewise.
6353 * rt/mq_send.c: Likewise.
6354 * rt/mq_setattr.c: Likewise.
6355 * rt/mq_timedreceive.c: Likewise.
6356 * rt/mq_timedsend.c: Likewise.
6357 * rt/mq_unlink.c: Likewise.
6358 * rt/shm_open.c: Likewise.
6359 * rt/shm_unlink.c: Likewise.
6360 * rt/timer_create.c: Likewise.
6361 * rt/timer_delete.c: Likewise.
6362 * rt/timer_getoverr.c: Likewise.
6363 * rt/timer_gettime.c: Likewise.
6364 * rt/timer_settime.c: Likewise.
6365 * setjmp/__longjmp.c: Likewise.
6366 * setjmp/setjmp.c: Likewise.
6367 * signal/kill.c: Likewise.
6368 * signal/killpg.c: Likewise.
6369 * signal/raise.c: Likewise.
6370 * signal/sigaction.c: Likewise.
6371 * signal/sigaltstack.c: Likewise.
6372 * signal/sigblock.c: Likewise.
6373 * signal/sigignore.c: Likewise.
6374 * signal/sigintr.c: Likewise.
6375 * signal/signal.c: Likewise.
6376 * signal/sigpause.c: Likewise.
6377 * signal/sigpending.c: Likewise.
6378 * signal/sigqueue.c: Likewise.
6379 * signal/sigreturn.c: Likewise.
6380 * signal/sigset.c: Likewise.
6381 * signal/sigsetmask.c: Likewise.
6382 * signal/sigstack.c: Likewise.
6383 * signal/sigsuspend.c: Likewise.
6384 * signal/sigtimedwait.c: Likewise.
6385 * signal/sigvec.c: Likewise.
6386 * signal/sigwait.c: Likewise.
6387 * signal/sigwaitinfo.c: Likewise.
6388 * signal/sysv_signal.c: Likewise.
6389 * socket/accept.c: Likewise.
6390 * socket/accept4.c: Likewise.
6391 * socket/bind.c: Likewise.
6392 * socket/connect.c: Likewise.
6393 * socket/getpeername.c: Likewise.
6394 * socket/getsockname.c: Likewise.
6395 * socket/getsockopt.c: Likewise.
6396 * socket/isfdtype.c: Likewise.
6397 * socket/listen.c: Likewise.
6398 * socket/recv.c: Likewise.
6399 * socket/recvfrom.c: Likewise.
6400 * socket/recvmsg.c: Likewise.
6401 * socket/send.c: Likewise.
6402 * socket/sendmsg.c: Likewise.
6403 * socket/sendto.c: Likewise.
6404 * socket/setsockopt.c: Likewise.
6405 * socket/shutdown.c: Likewise.
6406 * socket/sockatmark.c: Likewise.
6407 * socket/socket.c: Likewise.
6408 * socket/socketpair.c: Likewise.
6409 * stdio-common/ctermid.c: Likewise.
6410 * stdio-common/cuserid.c: Likewise.
6411 * stdio-common/remove.c: Likewise.
6412 * stdio-common/rename.c: Likewise.
6413 * stdio-common/renameat.c: Likewise.
6414 * stdio-common/tempname.c: Likewise.
6415 * stdlib/getcontext.c: Likewise.
6416 * stdlib/makecontext.c: Likewise.
6417 * stdlib/setcontext.c: Likewise.
6418 * stdlib/swapcontext.c: Likewise.
6419 * stdlib/system.c: Likewise.
6420 * streams/fattach.c: Likewise.
6421 * streams/fdetach.c: Likewise.
6422 * streams/getmsg.c: Likewise.
6423 * streams/getpmsg.c: Likewise.
6424 * streams/putmsg.c: Likewise.
6425 * streams/putpmsg.c: Likewise.
6426 * sysdeps/unix/bsd/getpt.c: Likewise.
6427 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6428 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6429 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6432 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6433 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6434 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6435 * sysvipc/msgctl.c: Likewise.
6436 * sysvipc/msgget.c: Likewise.
6437 * sysvipc/msgrcv.c: Likewise.
6438 * sysvipc/msgsnd.c: Likewise.
6439 * sysvipc/semctl.c: Likewise.
6440 * sysvipc/semget.c: Likewise.
6441 * sysvipc/semop.c: Likewise.
6442 * sysvipc/semtimedop.c: Likewise.
6443 * sysvipc/shmat.c: Likewise.
6444 * sysvipc/shmctl.c: Likewise.
6445 * sysvipc/shmdt.c: Likewise.
6446 * sysvipc/shmget.c: Likewise.
6447 * termios/tcdrain.c: Likewise.
6448 * termios/tcflow.c: Likewise.
6449 * termios/tcflush.c: Likewise.
6450 * termios/tcgetattr.c: Likewise.
6451 * termios/tcgetpgrp.c: Likewise.
6452 * termios/tcsendbrk.c: Likewise.
6453 * termios/tcsetattr.c: Likewise.
6454 * termios/tcsetpgrp.c: Likewise.
6455 * time/adjtime.c: Likewise.
6456 * time/clock.c: Likewise.
6457 * time/getitimer.c: Likewise.
6458 * time/gettimeofday.c: Likewise.
6459 * time/setitimer.c: Likewise.
6460 * time/settimeofday.c: Likewise.
6461 * time/stime.c: Likewise.
6462 * time/time.c: Likewise.
6464 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6466 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6469 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6471 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6473 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6477 FE_TONEAREST before applying Dekker multiplication and Knuth
6478 addition. Clear inexact exceptions and check for exact zero
6480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6481 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6482 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6483 * math/libm-test.inc (fma_test): Add more tests.
6484 (fma_test_towardzero): Likewise.
6485 (fma_test_downward): Likewise.
6486 (fma_test_upward): Likewise.
6487 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6489 (libc_fesetround): New macro.
6490 (libc_fesetroundf): Likewise.
6491 (libc_fesetroundl): Likewise.
6492 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6494 (libc_fesetround_387): Likewise.
6495 (libc_fesetroundf): New macro.
6496 (libc_fesetround): Likewise.
6497 (libc_fesetroundl): Likewise.
6498 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6500 (libc_fesetroundf): New macro.
6501 (libc_fesetround): Likewise.
6502 (libc_fesetroundl): Likewise.
6503 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6504 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6505 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6507 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6508 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6510 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6511 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6513 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6517 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6518 integer constant usable in #if and use that to give value to enum
6520 (FE_DIVBYZERO): Likewise.
6521 (FE_UNDERFLOW): Likewise.
6522 (FE_OVERFLOW): Likewise.
6523 (FE_INVALID): Likewise.
6524 (FE_INVALID_SNAN): Likewise.
6525 (FE_INVALID_ISI): Likewise.
6526 (FE_INVALID_IDI): Likewise.
6527 (FE_INVALID_ZDZ): Likewise.
6528 (FE_INVALID_IMZ): Likewise.
6529 (FE_INVALID_COMPARE): Likewise.
6530 (FE_INVALID_SOFTWARE): Likewise.
6531 (FE_INVALID_SQRT): Likewise.
6532 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6533 (FE_TONEAREST): Likewise.
6534 (FE_TOWARDZERO): Likewise.
6535 (FE_UPWARD): Likewise.
6536 (FE_DOWNWARD): Likewise.
6537 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6538 (FE_DIVBYZERO): Likewise.
6539 (FE_OVERFLOW): Likewise.
6540 (FE_UNDERFLOW): Likewise.
6541 (FE_INEXACT): Likewise.
6542 (FE_TONEAREST): Likewise.
6543 (FE_DOWNWARD): Likewise.
6544 (FE_UPWARD): Likewise.
6545 (FE_TOWARDZERO): Likewise.
6546 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6547 (FE_UNDERFLOW): Likewise.
6548 (FE_OVERFLOW): Likewise.
6549 (FE_DIVBYZERO): Likewise.
6550 (FE_INVALID): Likewise.
6551 (FE_TONEAREST): Likewise.
6552 (FE_TOWARDZERO): Likewise.
6553 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6554 (FE_OVERFLOW): Likewise.
6555 (FE_UNDERFLOW): Likewise.
6556 (FE_DIVBYZERO): Likewise.
6557 (FE_INEXACT): Likewise.
6558 (FE_TONEAREST): Likewise.
6559 (FE_TOWARDZERO): Likewise.
6560 (FE_UPWARD): Likewise.
6561 (FE_DOWNWARD): Likewise.
6562 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6563 (FE_DIVBYZERO): Likewise.
6564 (FE_OVERFLOW): Likewise.
6565 (FE_UNDERFLOW): Likewise.
6566 (FE_INEXACT): Likewise.
6567 (FE_TONEAREST): Likewise.
6568 (FE_DOWNWARD): Likewise.
6569 (FE_UPWARD): Likewise.
6570 (FE_TOWARDZERO): Likewise.
6572 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6574 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6576 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6578 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6579 commands. Quote $PWD.
6580 (blacklist_exports): Don't use remove_newlines. Replace "declare
6582 (remove_newlines): Remove.
6584 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6586 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6587 * stdlib/stdlib.h (atof): Moved to ...
6588 * include/bits/stdlib-float.h: Here. New file.
6589 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6590 * stdlib/bits/stdlib-float.h: New file.
6591 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6593 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6596 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6598 * conform/conformtest.pl (@headers): Add fenv.h.
6599 * conform/data/fenv.h-data: New file.
6600 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6601 include of <math/fenv.h>.
6603 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6604 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6605 && !UNIX98]. Enables tests for XOPEN2K8.
6606 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6607 POSIX2008]: Likewise.
6609 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6610 (struct rusage): Do not expect type or its members.
6613 * math/math.h (FP_NAN): Define macro to integer constant usable in
6614 #if and use that to give value to enum constant.
6615 (FP_INFINITE): Likewise.
6616 (FP_ZERO): Likewise.
6617 (FP_SUBNORMAL): Likewise.
6618 (FP_NORMAL): Likewise.
6620 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6622 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6623 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6626 2012-11-02 Roland McGrath <roland@hack.frob.com>
6628 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6629 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6630 autoconf-time if not.
6631 * configure.in: Remove AC_PREREQ.
6633 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6635 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6636 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6637 of the internal implementation.
6639 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6641 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6642 except include of <misc/sys/syslog.h>.
6644 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6647 function returns with a NULL context exit with zero.
6649 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6651 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6653 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6655 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6656 (run_program_cmd): This.
6657 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6658 (tst_langinfo): New variable. Use it.
6660 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6662 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6663 floating point opcodes.
6665 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6667 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6670 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6672 * sysdeps/mach/hurd/powerpc: Remove directory.
6673 * sysdeps/mach/powerpc: Likewise.
6675 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6677 * scripts/check-local-headers.sh: Ignore c++ headers.
6679 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6681 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6682 __libc_cleanup_region_start argument.
6684 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6689 x * y using scaling, not as x * y + z.
6690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6691 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6692 * math/libm-test.inc (fma_test): Add more tests.
6693 (fma_test_towardzero): Likewise.
6694 (fma_test_downward): Likewise.
6695 (fma_test_upward): Likewise.
6697 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6699 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6701 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6703 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6706 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6708 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6710 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6717 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6720 Fix the order of the list for glibc 2.17.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6724 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6728 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6731 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6732 for low part of x being zero before using __atanl (y).
6733 * math/libm-test.inc (atan2_test): Add another test.
6735 * manual/install.texi (Configuring and compiling): Document
6736 general use of test-wrapper and test-wrapper-env.
6737 * INSTALL: Regenerated.
6739 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6740 (__fma): Do not extract and scale down low bits on after-rounding
6741 systems when result rounded to normal precision would have normal
6743 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6744 (__fmal): Do not extract and scale down low bits on after-rounding
6745 systems when result rounded to normal precision would have normal
6747 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6748 (__fmal): Do not extract and scale down low bits on after-rounding
6749 systems when result rounded to normal precision would have normal
6751 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6753 (fma_test): Add more tests.
6754 (fma_test_towardzero): Likewise.
6755 (fma_test_downward): Likewise.
6756 (fma_test_upward): Likewise.
6758 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6760 * sysdeps/i386/tininess.h: Renamed to ...
6761 * sysdeps/x86/tininess.h: This.
6762 * sysdeps/x86_64/tininess.h: Removed.
6764 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6766 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6767 input. Use $(build-program-cmd).
6768 ($(objpfx)tst-array1-static.out): Likewise.
6769 ($(objpfx)tst-array2.out): Likewise.
6770 ($(objpfx)tst-array3.out): Likewise.
6771 ($(objpfx)tst-array4.out): Likewise.
6772 ($(objpfx)tst-array5.out): Likewise.
6773 ($(objpfx)tst-array5-static.out): Likewise.
6775 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6777 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6780 * nss/nsswitch.h (nss_interface_function): Provide new
6781 macro for use with NSS functions.
6782 * grp/initgroups.c: Use new macro.
6783 * nss/getXXbyYY.c: Likewise.
6784 * nss/getXXbyYY_r.c: Likewise.
6785 * nss/getXXent.c: Likewise.
6786 * nss/getXXent_r.c: Likewise.
6787 * sysdeps/posix/getaddrinfo.c: Likewise.
6789 2012-10-30 Andreas Jaeger <aj@suse.de>
6791 * po/ru.po: Update Russion translation from translation project.
6793 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6798 result and shift together with sticky bit instead of replicating
6799 round-to-nearest rounding.
6800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6801 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6802 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6803 missing underflow exceptions.
6804 (fma_test_towardzero): Add more tests.
6805 (fma_test_downward): Likewise.
6806 (fma_test_upward): Likewise.
6809 * sysdeps/generic/tininess.h: New file.
6810 * sysdeps/i386/tininess.h: Likewise.
6811 * sysdeps/sh/tininess.h: Likewise.
6812 * sysdeps/x86_64/tininess.h: Likewise.
6813 * stdlib/tst-strtod-underflow.c: Likewise.
6814 * stdlib/tst-tininess.c: Likewise.
6815 * stdlib/strtod_l.c: Include <tininess.h>.
6816 (round_and_return): Do not set errno for exact underflow cases.
6817 Force an underflow exception when setting errno for underflow.
6818 Determine underflow based on rounding to normal precision if
6819 TININESS_AFTER_ROUNDING.
6820 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6821 ERANGE for exact underflow cases.
6822 * stdlib/Makefile (tests): Add tst-tininess and
6823 tst-strtod-underflow.
6824 ($(objpfx)tst-tininess): Use $(link-libm).
6825 ($(objpfx)tst-strtod-underflow): Likewise.
6827 2012-10-30 Andreas Jaeger <aj@suse.de>
6830 * elf/Makefile (tests): Remove conditional for have-initfini-array
6831 since this is now always required and the variable does not exist
6833 (tests-static): Likewise.
6834 (modules-names): Likewise.
6836 * po/eo.po: Add Esperanto translation from translation project.
6838 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6839 merged with constructor/destructor.
6840 (init_array): Likewise.
6841 * elf/tst-array2dep.c (fini_array): Likewise.
6842 (init_array): Likewise.
6844 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6846 * manual/message.texi: Delete @cartouche tags.
6848 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6850 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6852 * sysdeps/mach/hurd/fsync.c: Likewise.
6854 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6855 [_POSIX_REALTIME_SIGNALS]: Change condition to
6856 [_POSIX_REALTIME_SIGNALS > 0].
6858 2012-10-27 Andreas Jaeger <aj@suse.de>
6860 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6861 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6863 [__WORDSIZE != 64]: Likewise.
6865 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6867 * iconvdata/tst-table.sh: Remove ${SHELL}.
6868 * iconvdata/tst-tables.sh: Likewise.
6870 2012-10-25 David S. Miller <davem@davemloft.net>
6872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6873 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6878 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6879 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6880 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6883 2012-10-25 Roland McGrath <roland@hack.frob.com>
6885 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6886 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6889 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6890 Jim Blandy <jimb@codesourcery.com>
6892 * scripts/cross-test-ssh.sh: New file.
6893 * manual/install.texi (Configuring and compiling): Document use of
6895 * INSTALL: Regenerated.
6897 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6899 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6902 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6904 * Makeconfig (run-program-prefix): Fix comment.
6906 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6907 Jim Blandy <jimb@codesourcery.com>
6909 * Makeconfig (test-wrapper): New variable,
6910 (test-wrapper-env): Likewise.
6911 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6912 (run-built-tests): Define to yes.
6913 (run-program-prefix): Use $(test-wrapper).
6914 (built-program-cmd): Likewise.
6915 * Rules (make-test-out): Use $(test-wrapper-env) and
6916 $(host-built-program-cmd).
6917 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6918 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6920 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6921 $(test-wrapper-env) to tst-rtld-load-self.sh.
6922 ($(objpfx)order2.out): Use $(test-wrapper).
6923 ($(objpfx)tst-initorder.out): Likewise.
6924 ($(objpfx)tst-initorder2.out): Likewise.
6925 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6926 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6927 (test_wrapper_env): New variable. Use it to run ld.so.
6928 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6929 Use it to run ld.so.
6930 (test_wrapper_env): Likewise.
6931 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6932 $(test-wrapper) to run-iconv-test.sh.
6933 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6934 (ICONV): Use $test_wrapper.
6935 * posix/Makefile ($(objpfx)globtest.out): Pass
6936 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6937 globtest.sh, not $(run-program-prefix).
6938 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6939 (test_wrapper): Likewise.
6940 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6941 set together with run_via_rtld_prefix.
6942 (run_program_prefix): Define in terms of test_wrapper and
6943 run_via_rtld_prefix.
6945 2012-10-24 Roland McGrath <roland@hack.frob.com>
6947 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6948 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6952 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6953 Declare __clock_getres, __clock_gettime, __clock_settime,
6954 __clock_nanosleep, and __clock_getcpuclockid.
6955 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6956 Remove librt_hidden_def (clock_gettime).
6957 * sysdeps/unix/clock_gettime.c: Likewise.
6958 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6959 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6960 * rt/clock_getres.c: Define __clock_getres as an alias.
6961 * sysdeps/posix/clock_getres.c: Likewise.
6962 * rt/clock_settime.c: Define __clock_settime as an alias.
6963 * sysdeps/unix/clock_settime.c: Likewise.
6964 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6965 * sysdeps/unix/clock_nanosleep.c: Likewise.
6966 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6967 * rt/clock-compat.c: New file.
6968 * rt/Makefile (librt-routines): Add clock-compat and move
6969 $(clock-routines) to ...
6970 (routines): ... here, new variable.
6971 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6972 Don't add get_clockfreq here.
6973 * rt/Versions (libc: GLIBC_2.17): New version set.
6974 Add clock_* symbols here.
6975 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6977 (GLIBC_2.17): Add clock_* symbols.
6978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6989 * NEWS: Mention the move.
6991 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6992 Use __open, __read, __close rather than their public counterparts.
6993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6994 (__get_clockfreq_via_cpuinfo): Likewise.
6995 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6996 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6998 * config.h.in (HAVE_IFUNC): New #undef.
6999 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7001 * configure: Regenerated.
7003 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7005 * configure.in: Move READELF check to start of file.
7006 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7007 libc_cv_asm_gnu_indirect_function in the process.
7008 * configure: Regenerated.
7010 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7012 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7013 send the output to /dev/null.
7014 (libc_cv_cc_with_libunwind): Likewise.
7015 (libc_cv_as_noexecstack): Likewise.
7016 * configure: Regenerate.
7018 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7020 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7022 * posix/globtest.sh (TMPDIR): Do not set.
7023 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7024 (testout): Likewise.
7026 2012-10-24 Andreas Jaeger <aj@suse.de>
7028 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7029 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7030 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7031 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7032 posix_fadvise64, posix_fallocate64.
7034 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7035 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7036 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7038 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7040 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7043 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7044 <bits/fcntl-linux.h>.
7045 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7048 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7049 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7050 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7051 [__WORDSIZE != 64]: Likewise.
7053 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7055 * Makeconfig (run-built-tests): New variable.
7056 * Rules [$(cross-compiling) = yes]: Change condition to
7057 [$(run-built-tests) = no].
7058 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7059 to [$(run-built-tests) = yes].
7060 * elf/Makefile [$(cross-compiling) = no]: Likewise
7061 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7062 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7063 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7064 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7065 * io/Makefile [$(cross-compiling) = no]: Likewise.
7066 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7067 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7068 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7069 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7070 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7071 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7072 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7073 * string/Makefile [$(cross-compiling) = no]: Likewise.
7075 * posix/Makefile ($(objpfx)globtest.out): Pass
7076 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7077 $(rtld-installed-name).
7078 * posix/globtest.sh (elf_objpfx): Remove variable.
7079 (rtld_installed_name): Likewise.
7080 (library_path): Likewise.
7081 (run_program_prefix): New variable. Use for running globtest
7084 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7085 Joseph Myers <joseph@codesourcery.com>
7087 * Makeconfig (host-built-program-cmd): New variable.
7088 * elf/Makefile (tst-stackguard1-ARGS): Use
7089 $(host-built-program-cmd).
7090 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7091 (tst-spawn-ARGS): Likewise.
7092 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7094 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7095 Jim Blandy <jimb@codesourcery.com>
7097 * Makeconfig (run-via-rtld-prefix): New variable.
7098 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7099 (built-program-cmd): Likewise.
7101 2012-10-22 Andreas Jaeger <aj@suse.de>
7103 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7104 __O_RSYNC if it exists, otherwise to O_SYNC.
7106 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7107 Joseph Myers <joseph@codesourcery.com>
7109 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7111 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7113 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7116 2012-10-22 Andreas Jaeger <aj@suse.de>
7118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7126 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7133 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7134 Joseph Myers <joseph@codesourcery.com>
7136 * config.make.in (NM): New variable.
7138 2012-10-21 Andreas Jaeger <aj@suse.de>
7140 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7141 definitions and declarations that are provided by
7142 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7144 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7147 * elf/Makefile (tests-static): Add tst-leaks1-static.
7148 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7149 ($(objpfx)tst-leaks1-static): New rule.
7150 ($(objpfx)tst-leaks1-static-mem): Likewise.
7151 (tst-leaks1-static-ENV): New macro.
7152 * elf/dl-open.c (dl_open_worker): Check the main application
7153 only if SHARED is defined.
7154 * elf/tst-leaks1-static.c: New file.
7156 2012-10-20 Andreas Jaeger <aj@suse.de>
7158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7159 generic values for Linux.
7160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7161 and declarations that are provided by <bits/fcntl-linux.h> and
7162 include <bits/fcntl-linux.h>.
7163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7166 2012-10-20 Roland McGrath <roland@hack.frob.com>
7168 * io/fcntl.h: Move include of <bits/types.h> to the top and
7169 include it unconditionally.
7171 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7173 * wcsmbs/Makefile (tests-ifunc): New variable.
7174 (tests): Add $(tests-ifunc).
7175 * wcsmbs/test-wcschr-ifunc.c: New file.
7176 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7177 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7178 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7179 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7180 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7182 * string/Makefile (tests-ifunc): New variable.
7183 (tests): Add $(tests-ifunc).
7184 * string/test-memccpy.c (TEST_NAME): New macro.
7185 * string/test-memchr.c (TEST_NAME): Likewise.
7186 * string/test-memcmp.c (TEST_NAME): Likewise.
7187 * string/test-memcpy.c (TEST_NAME): Likewise.
7188 * string/test-memmem.c (TEST_NAME): Likewise.
7189 * string/test-memmove.c (TEST_NAME): Likewise.
7190 * string/test-memset.c (TEST_NAME): Likewise.
7191 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7192 * string/test-stpcpy.c (TEST_NAME): Likewise.
7193 * string/test-stpncpy.c (TEST_NAME): Likewise.
7194 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7195 * string/test-strcasestr.c (TEST_NAME): Likewise.
7196 * string/test-strcat.c (TEST_NAME): Likewise.
7197 * string/test-strchr.c (TEST_NAME): Likewise.
7198 * string/test-strcmp.c(TEST_NAME): Likewise.
7199 * string/test-strcpy.c (TEST_NAME): Likewise.
7200 * string/test-strcspn.c (TEST_NAME): Likewise.
7201 * string/test-strlen.c (TEST_NAME): Likewise.
7202 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7203 * string/test-strncmp.c (TEST_NAME): Likewise.
7204 * string/test-strncpy.c (TEST_NAME): Likewise.
7205 * string/test-strnlen.c (TEST_NAME): Likewise.
7206 * string/test-strpbrk.c (TEST_NAME): Likewise.
7207 * string/test-strrchr.c (TEST_NAME): Likewise.
7208 * string/test-strspn.c (TEST_NAME): Likewise.
7209 * string/test-strstr.c (TEST_NAME): Likewise.
7210 * string/test-bcopy-ifunc.c: New file.
7211 * string/test-bzero-ifunc.c: Likewise.
7212 * string/test-memccpy-ifunc.c: Likewise.
7213 * string/test-memchr-ifunc.c: Likewise.
7214 * string/test-memcmp-ifunc.c: Likewise.
7215 * string/test-memcpy-ifunc.c: Likewise.
7216 * string/test-memmem-ifunc.c: Likewise.
7217 * string/test-memmove-ifunc.c: Likewise.
7218 * string/test-mempcpy-ifunc.c: Likewise.
7219 * string/test-memset-ifunc.c: Likewise.
7220 * string/test-rawmemchr-ifunc.c: Likewise.
7221 * string/test-stpcpy-ifunc.c: Likewise.
7222 * string/test-stpncpy-ifunc.c: Likewise.
7223 * string/test-strcasecmp-ifunc.c: Likewise.
7224 * string/test-strcasestr-ifunc.c: Likewise.
7225 * string/test-strcat-ifunc.c: Likewise.
7226 * string/test-strchr-ifunc.c: Likewise.
7227 * string/test-strchrnul-ifunc.c: Likewise.
7228 * string/test-strcmp-ifunc.c: Likewise.
7229 * string/test-strcpy-ifunc.c: Likewise.
7230 * string/test-strcspn-ifunc.c: Likewise.
7231 * string/test-strlen-ifunc.c: Likewise.
7232 * string/test-strncasecmp-ifunc.c: Likewise.
7233 * string/test-strncat-ifunc.c: Likewise.
7234 * string/test-strncmp-ifunc.c: Likewise.
7235 * string/test-strncpy-ifunc.c: Likewise.
7236 * string/test-strnlen-ifunc.c: Likewise.
7237 * string/test-strpbrk-ifunc.c: Likewise.
7238 * string/test-strrchr-ifunc.c: Likewise.
7239 * string/test-strspn-ifunc.c: Likewise.
7240 * string/test-strstr-ifunc.c: Likewise.
7242 * debug/Makefile (tests-ifunc): New variable.
7243 (tests): Add $(tests-ifunc).
7244 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7245 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7246 * debug/test-stpcpy_chk-ifunc.c: New file.
7247 * debug/test-strcpy_chk-ifunc.c: Likewise.
7249 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7252 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7253 header is not read in.
7255 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7257 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7258 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7259 directly. Pass built executable to script as
7260 $(built-program-cmd).
7261 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7262 $testprogram without using LD_LIBRARY_PATH and $ldso.
7264 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7265 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7266 $(rtld-installed-name).
7267 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7268 (rtld_installed_name): Likewise.
7269 (library_path): Likewise.
7270 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7271 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7272 $(run-program-prefix) to tst-tables.sh.
7273 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7274 it to run tst-table-from and tst-table-to.
7275 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7276 Pass it to tst-table.sh.
7277 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7278 $(run-program-prefix) to tst-gettext.sh.
7279 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7281 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7283 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7285 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7286 to run tst-gettext2.
7287 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7288 to run tst-translit.
7289 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7290 $(run-program-prefix) to tst-mtrace.sh.
7291 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7293 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7294 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7295 $(rtld-installed-name).
7296 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7297 (rtld_installed_name): Likewise.
7298 (run_program_prefix): New variable. Use it to run wordexp-test.
7300 * Makeconfig (ARCH): Remove all definitions.
7301 (machine): Likewise.
7302 [ARCH]: Remove conditional code.
7303 [!objdir]: Give error.
7304 [!objdir] (objpfx): Remove.
7305 [!objdir] (common-objpfx): Likewise.
7306 [!objdir] (common-objdir): Likewise.
7307 * configure.in (config_makefile): Remove. Hardcode Makefile in
7308 AC_CONFIG_FILES call.
7309 * configure: Regenerated.
7312 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7314 (testout): Likewise.
7316 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7317 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7318 $(rtld-installed-name).
7319 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7320 (rtld_installed_name): Likwise.
7321 (runit): Remove function.
7322 (run_getconf): New variable, Use it for running getconf binary.
7324 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7327 * string/test-memmem.c (check_result): New function.
7328 (do_one_test): Use it.
7329 (check1): New function.
7330 (test_main): Use it.
7332 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7334 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7336 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7338 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7339 (_G_LSEEK64): Likewise.
7340 (_G_MMAP64): Likewise.
7341 (_G_FSTAT64): Likewise.
7342 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7343 (_G_LSEEK64): Likewise.
7344 (_G_MMAP64): Likewise.
7345 (_G_FSTAT64): Likewise.
7346 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7347 unconditional. Call __mmap64 directly.
7348 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7349 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7351 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7352 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7354 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7355 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7357 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7358 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7360 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7361 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7363 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7364 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7365 __fxstat64 directly.
7366 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7367 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7369 (freopen64) [!_G_OPEN64]: Remove conditional code.
7370 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7372 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7373 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7375 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7376 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7378 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7379 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7381 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7382 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7384 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7385 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7387 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7388 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7390 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7392 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7395 * manual/memory.texi (Malloc Tunable Parameters): Add note
7396 about free list pointers overwriting some perturb bytes.
7397 Wording suggested by Roland McGrath.
7399 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7401 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7402 (lgamma_test): Likewise.
7403 (tgamma_test): Likewise.
7405 2012-10-16 Florian Weimer <fweimer@redhat.com>
7408 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7409 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7411 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7413 * NEWS: Mention BZ #14716.
7414 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7415 when removing AVAILABLE1_USES_J macro.
7417 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7419 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7420 (__bswap_64): __uint64_t for unsigned 64-bit int.
7422 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7424 * include/string.h (memmem): Declare libc hidden alias.
7425 * string/memmem.c (memmem): Define libc hidden alias.
7426 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7427 __read, __close instead of open, read, close.
7429 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7432 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7434 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7435 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7436 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7438 (__rawmemchr_sse2): Likewise.
7439 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7440 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7441 (__strchr_sse2): Likewise.
7442 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7443 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7444 (__strcasecmp_sse2): Likewise.
7445 (__strncasecmp_sse2): Likewise.
7446 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7447 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7448 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7449 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7450 (__strrchr_sse2): Likewise.
7451 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7453 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7454 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7455 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7456 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7457 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7458 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7459 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7460 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7461 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7462 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7463 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7464 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7465 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7466 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7467 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7468 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7469 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7470 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7471 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7472 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7473 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7474 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7475 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7476 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7477 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7478 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7479 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7480 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7481 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7482 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7484 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7486 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7487 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7488 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7489 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7491 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7493 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7494 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7495 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7496 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7498 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7500 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7516 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7522 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7524 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7525 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7528 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7529 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7530 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7531 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7532 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7533 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7534 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7535 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7536 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7538 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7540 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7541 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7542 * include/ifunc-impl-list.h: New file.
7543 * misc/ifunc-impl-list.c: Likewise.
7544 * misc/Makefile (routines): Add ifunc-impl-list.
7545 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7546 * string/test-string.h: Include <ifunc-impl-list.h>.
7547 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7548 impl_array): New variables.
7549 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7551 (test_init): Call __libc_ifunc_impl_list to initialize
7552 func_list if TEST_IFUNC and TEST_NAME are defined.
7554 * string/Makefile (strop-tests): Add bcopy and bzero.
7555 * string/test-bcopy.c: New file.
7556 * string/test-bzero.c: Likewise.
7557 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7559 * string/test-memset.c: Support bzero test if TEST_BZERO is
7561 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7563 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7565 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7568 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7570 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7571 * configure: Regenerated.
7573 * Makeconfig (+link-static-before-libc): Don't include
7574 $(link-static-libc).
7576 * libio/libio.h (_IO_pos_t): Remove.
7578 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7580 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7583 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7585 * crypt/crypt-entry.c: Include fips-private.h.
7586 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7587 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7588 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7589 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7591 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7593 * crypt/crypt-private.h: Include stdbool.h.
7594 (_ufc_setup_salt_r): Return bool.
7595 * crypt/crypt-entry.c: Include errno.h.
7596 (__crypt_r): Return NULL with EINVAL for bad salt.
7597 * crypt/crypt_util.c (bad_for_salt): New.
7598 (_ufc_setup_salt_r): Check that salt is long enough and within
7599 the specified alphabet.
7600 * crypt/badsalttest.c: New file.
7601 * crypt/Makefile (tests): Add it.
7602 ($(objpfx)badsalttest): New.
7604 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7606 * NEWS: Add entry for BZ #14602.
7608 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7610 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7612 * math/libm-test.inc: Update comment listing what functions and
7614 (isgreater_test): New function.
7615 (isgreaterequal_test): Likewise.
7616 (isless_test): Likewise.
7617 (islessequal_test): Likewise.
7618 (islessgreater_test): Likewise.
7619 (isunordered_test): Likewise.
7620 (main): Call the new functions.
7622 2012-10-09 Roland McGrath <roland@hack.frob.com>
7624 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7625 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7626 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7627 * sysdeps/i386/configure: Regenerated.
7628 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7629 * sysdeps/mach/configure: Regenerated.
7630 * sysdeps/mach/hurd/configure: Regenerated.
7631 * sysdeps/powerpc/configure: Regenerated.
7632 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7633 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7634 * sysdeps/s390/s390-32/configure: Regenerated.
7635 * sysdeps/s390/s390-64/configure: Regenerated.
7636 * sysdeps/sh/configure: Regenerated.
7637 * sysdeps/sparc/configure: Regenerated.
7638 * sysdeps/unix/sysv/linux/configure: Regenerated.
7639 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7640 * sysdeps/x86_64/configure: Regenerated.
7642 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7643 defined. Don't check if MAP is NULL.
7645 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7647 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7648 (_G_stat64): Likewise.
7649 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7650 (_G_stat64): Likewise.
7651 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7652 instead of struct _G_stat64.
7653 * libio/fileops.c (mmap_remap_check): Likewise.
7654 (decide_maybe_mmap): Likewise.
7655 (_IO_new_file_seekoff): Likewise.
7656 (_IO_file_stat): Likewise.
7657 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7659 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7660 instead of struct _G_stat64.
7661 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7663 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7666 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7668 (CHECK_EOL): New macro.
7669 (two_way_short_needle): Check beginning of haystack for EOL. Use
7671 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7672 Replace with CHECK_EOL.
7673 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7674 Replace with CHECK_EOL.
7676 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7678 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7680 * math/libm-test.inc: Update comment listing what functions and
7682 (finite_test): New function.
7683 (isinf_test): Likewise.
7684 (isnan_test): Likewise.
7685 (fpclassify_test): Test subnormal input.
7686 (isfinite_test): Likewise.
7687 (isnormal_test): Likewise.
7688 (main): Call the new functions.
7690 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7693 * Makerules (%.dynsym): Force C locale when running
7694 $(OBJDUMP) --dynamic-syms.
7696 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7698 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7701 2012-10-06 David S. Miller <davem@davemloft.net>
7703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7704 upper 32-bits of the length value in %o2 since we use branch-on-register
7705 tests which consider the entire 64-bit register.
7707 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7709 * string/test-strstr.c (check2): Add a test for page boundary.
7711 2012-10-05 David S. Miller <davem@davemloft.net>
7713 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7714 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7716 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7718 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7719 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7720 and bzero when HWCAP_SPARC_CRYPTO is present.
7722 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7725 * string/test-strstr.c (check2): New function.
7726 (test_main): Call check2.
7728 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7730 * string/bug-strcasestr1.c (do_test): Moved to ...
7731 * string/test-strcasestr.c (check1): Here. New function.
7732 (do_one_test): Break out result checking code into ...
7733 (check_result): This. New function.
7734 (do_one_test): Call check_result.
7735 (test_main): Call check1.
7736 * string/bug-strchr1.c (do_test): Moved to ...
7737 * string/test-strchr.c (check1): Here. New function.
7738 (do_one_test): Break out result checking code into ...
7739 (check_result): This. New function.
7740 (do_one_test): Call check_result.
7741 (test_main): Call check1.
7742 * string/bug-strstr1.c (main): Moved to ...
7743 * string/test-strstr.c (check1): Here. New function.
7744 (do_one_test): Break out result checking code into ...
7745 (check_result): This. New function.
7746 (do_one_test): Call check_result.
7747 (test_main): Call check1.
7748 * string/bug-strcasestr1.c: Removed.
7749 * string/bug-strchr1.c: Likewise.
7750 * string/bug-strstr1.c: Likewise.
7752 * elf/Makefile (dl-routines): Add hwcaps.
7753 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7754 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7755 (_dl_important_hwcaps): Moved to ...
7756 * elf/dl-hwcaps.c: Here. New file.
7757 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7760 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7761 if IS_IN_rtld isn't defined.
7763 * elf/dl-support.c (_dl_sysinfo_map): New.
7764 Include "get-dynamic-info.h" and "setup-vdso.h".
7765 (_dl_non_dynamic_init): Call setup_vdso.
7766 * elf/dynamic-link.h: Don't include <assert.h>.
7767 (elf_get_dynamic_info): Moved to ...
7768 * elf/get-dynamic-info.h: Here. New file.
7769 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7770 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7771 * elf/setup-vdso.h: Here. New file.
7772 * elf/rtld.c: Include "setup-vdso.h".
7773 (dl_main): Call setup_vdso.
7775 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7777 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7778 creal in comment listing functions tested. List finite, isinf,
7779 isnan, isless, islessequal, isgreater, isgreaterequal,
7780 islessgreater, isunordered, lgamma_r and pow10 as functions and
7781 macros not tested. Mention which functions not tested are aliases
7782 for other functions. Fix typo. Note that signs of NaNs are not
7785 * scripts/config.guess: Update from config.git.
7786 * scripts/config.sub: Likewise.
7788 2012-10-04 Roland McGrath <roland@hack.frob.com>
7790 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7791 * misc/madvise.c (madvise): Renamed to __madvise.
7792 Make madvise a weak alias.
7793 * include/sys/mman.h: Declare __madvise.
7794 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7795 * sysdeps/unix/syscalls.list
7796 (madvise): Make __madvise the strong name, and madvise a weak alias.
7797 * sysdeps/unix/sysv/linux/syscalls.list
7798 (madvise, mmap): Remove redundant entries.
7799 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7800 * malloc/malloc.c (mtrim): Likewise.
7801 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7803 2012-10-03 Roland McGrath <roland@hack.frob.com>
7805 * sysdeps/mach/hurd/dl-cache.c: File removed.
7806 * config.h.in (USE_LDCONFIG): New #undef.
7807 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7808 * configure: Regenerated.
7809 * elf/Makefile (dl-routines): Add dl-cache only under
7810 [$(use-ldconfig) = yes].
7811 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7812 cache on [USE_LDCONFIG].
7813 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7815 * elf/rtld.c (dl_main): Likewise.
7817 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7819 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7820 _SC_LEVEL4_CACHE_LINESIZE.
7822 2012-10-03 Roland McGrath <roland@hack.frob.com>
7824 * sysdeps/unix/bsd/confstr.h: File removed.
7826 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7828 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7831 2012-10-02 Roland McGrath <roland@hack.frob.com>
7833 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7834 Make 'mapoff' field ElfW(Off) rather than off_t.
7836 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7838 * nscd/Makefile: Remove nscd-cflags and all its users.
7839 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7840 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7843 * malloc.c (malloc_printerr): Clarify error message.
7845 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7849 Set bit_FMA_Usable if FMA is supported.
7850 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7852 (bit_FMA4_Usable): Updated.
7853 (index_FMA_Usable): New macro.
7854 (CPUID_FMA): Likewise
7855 (HAS_FMA): Defined with bit_FMA_Usable.
7857 2012-10-01 Roland McGrath <roland@hack.frob.com>
7859 * bits/types.h (__swblk_t): Type removed.
7860 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7861 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7863 (__SWBLK_T_TYPE): Likewise.
7864 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7865 (__SWBLK_T_TYPE): Likewise.
7866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7867 (__SWBLK_T_TYPE): Likewise.
7868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7869 (__SWBLK_T_TYPE): Likewise.
7871 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7872 Honza Horak <hhorak@redhat.com>
7874 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7875 (xdr_mapname): Use YPMAXMAP as maxsize.
7876 (xdr_peername): Use YPMAXPEER as maxsize.
7877 (xdr_keydat): Use YPAXRECORD as maxsize.
7878 (xdr_valdat): Use YPMAXRECORD as maxsize.
7880 2012-10-01 Roland McGrath <roland@hack.frob.com>
7882 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7884 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7885 * csu/init-first.c: ... here.
7886 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7887 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7888 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7890 * sysdeps/i386/init-first.c: File removed.
7891 * sysdeps/sh/init-first.c: File removed.
7893 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7897 if x * y might underflow to zero and z is zero.
7898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7899 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7900 * math/libm-test.inc (min_subnorm_value): New variable.
7901 (fma_test): Add more tests.
7902 (fma_test_towardzero): Likewise.
7903 (fma_test_downward): Likewise
7904 (fma_test_upward): Likewise.
7905 (initialize): Set min_subnorm_value.
7907 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7912 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7913 mode for addition resulting in exact zero.
7914 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7917 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7919 * math/libm-test.inc (fma_test): Add more tests.
7920 (fma_test_towardzero): New function.
7921 (fma_test_downward): Likewise.
7922 (fma_test_upward): Likewise.
7923 (main): Call the new functions.
7925 2012-09-28 David S. Miller <davem@davemloft.net>
7927 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7929 2012-09-28 Roland McGrath <roland@hack.frob.com>
7931 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7934 * sysdeps/gnu/_G_config.h: Moved to ...
7935 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7936 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7937 * sysdeps/generic/_G_config.h: ... here.
7939 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7941 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7943 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7944 Conditionalize target on [libnss_test1.so-version].
7946 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7948 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7949 (elfobjdir): Move out of conditionals.
7951 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7952 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7953 (__nss_lookup_function): Conditionalize label remove_from_tree on
7954 [!DO_STATIC_NSS || SHARED], matching its only use.
7956 2012-09-28 David S. Miller <davem@davemloft.net>
7958 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7959 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7961 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7963 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7965 when HWCAP_SPARC_CRYPTO is present.
7967 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7969 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7971 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7974 * stdio-common/vfprintf.c (process_string_arg): Revert
7977 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7979 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7981 * stdio-common/tst-sprintf.c: Include <locale.h>
7982 (main): Test sprintf's handling of incomplete multibyte
7985 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7987 * elf/dl-runtime.c (VERSYMIDX): Removed.
7988 * elf/dl-version.c (VERSYMIDX): Likewise.
7989 * elf/do-rel.h (VERSYMIDX): Likewise.
7991 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7992 * elf/rtld.c (VALIDX): Likewise.
7993 (ADDRIDX): Likewise.
7994 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7995 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7996 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7997 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7999 (ADDRIDX): Likewise.
8001 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8003 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8005 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8008 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8010 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8011 addresses are in the same scope as 192.0.2/24.
8012 * posix/gai.conf: Document new scope table defaults.
8014 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8017 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8018 for ftell. Compute offsets from write pointers instead.
8019 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8021 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8024 * libio/Makefile (tests): New test case tst-fseek.
8025 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8026 combination works in wide mode.
8027 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8028 state when the external buffer state changes.
8030 2012-09-27 David S. Miller <davem@davemloft.net>
8033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8034 pass reloc->r_addend in as the 'high' argument to
8035 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8039 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8041 * rt/tst-aio2.c: Include <pthread.h>.
8042 * rt/tst-aio3.c: Likewise.
8044 2012-09-27 Steve Ellcey <sellcey@mips.com>
8046 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8048 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8050 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8051 contents on [SHARED].
8053 2012-09-26 Marek Polacek <polacek@redhat.com>
8057 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8058 for C++ and GCC <4.3 as well as for non GCC compilers.
8060 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8064 2012-09-25 Roland McGrath <roland@hack.frob.com>
8066 * Makefile.in (all, install): Declare with .PHONY.
8067 Reported by Michael Hope <michael.hope@linaro.org>.
8069 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8071 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8072 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8074 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8076 (sydep_routines): Add the new and the internal functions.
8077 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8078 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8080 (GLIBC_2.17): Add the new function.
8081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8082 (GLIBC_2.17): Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8084 (GLIBC_2.17): Likewise.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8086 (GLIBC_2.17): Likewise.
8087 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8089 2012-09-25 Alan Modra <amodra@gmail.com>
8091 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8092 Add release barrier before setting once_control to say
8093 initialisation is done. Add hints on lwarx. Use macro in
8095 (clear_once_control): Add release barrier.
8097 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8100 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8102 * math/s_clog10.c (__clog10): Likewise.
8103 * math/s_clog10f.c (__clog10f): Likewise.
8104 * math/s_clog10l.c (__clog10l): Likewise.
8105 * math/s_clogf.c (__clogf): Likewise.
8106 * math/s_clogl.c (__clogl): Likewise.
8107 * math/Makefile (libm-calls): Add x2y2m1.
8108 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8109 (__x2y2m1): Likewise.
8110 (__x2y2m1l): Likewise.
8111 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8112 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8113 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8114 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8115 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8116 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8117 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8118 * sysdeps/i386/fpu/libm-test-ulps: Update.
8119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8122 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8123 int as type of variable DEPTH.
8124 (glob): Use size_t instead of int as type of variables NEWCOUNT
8127 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8129 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8131 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8132 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8133 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8134 macros for using routine as __sincosf_ia32.
8135 Use macro for function declaration and weak_alias.
8136 * sysdeps/i386/fpu/libm-test-ulps: Update.
8138 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8141 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8143 * math/s_cexpf.c (__cexpf): Likewise.
8144 * math/s_csinf.c (__csinf): Likewise.
8145 * math/s_csinhf.c (__csinhf): Likewise.
8146 * math/s_ctanf.c (__ctanf): Likewise.
8147 * math/s_ctanhf.c (__ctanhf): Likewise.
8148 * math/s_ccosh.c (__ccoshf): Likewise.
8149 * math/s_cexp.c (__cexpl): Likewise.
8150 * math/s_csin.c (__csin): Likewise.
8151 * math/s_csinh.c (__csinh): Likewise.
8152 * math/s_ctan.c (__ctan): Likewise.
8153 * math/s_ctanh.c (ctanh): Likewise.
8154 * math/s_ccoshl.c (__ccoshl): Likewise.
8155 * math/s_cexpl.c (__cexpl): Likewise.
8156 * math/s_csinl.c (__csinl): Likewise.
8157 * math/s_csinhl.c (__csinhl): Likewise.
8158 * math/s_ctanl.c (__ctanl): Likewise.
8159 * math/s_ctanhl.c (__ctanhl): Likewise.
8161 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8163 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8164 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8165 (_IO_off_t): Define to __off_t, not _G_off_t.
8166 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8167 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8168 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8169 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8170 type of __dummy and __dummy2 fields.
8171 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8172 (_G_ssize_t): Likewise.
8173 (_G_off_t): Likewise.
8174 (_G_pid_t): Likewise.
8175 (_G_uid_t): Likewise.
8176 (_G_wchar_t): Likewise.
8177 (_G_wint_t): Likewise.
8178 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8179 (_G_ssize_t): Likewise.
8180 (_G_off_t): Likewise.
8181 (_G_pid_t): Likewise.
8182 (_G_uid_t): Likewise.
8183 (_G_wchar_t): Likewise.
8184 (_G_wint_t): Likewise.
8185 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8186 (_G_ssize_t): Likewise.
8187 (_G_off_t): Likewise.
8188 (_G_pid_t): Likewise.
8189 (_G_uid_t): Likewise.
8190 (_G_wchar_t): Likewise.
8191 (_G_wint_t): Likewise.
8193 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8195 * malloc/arena.c: Include malloc-sysdep.h.
8196 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8197 is sufficient to shrink the heap or an unmap is needed.
8198 * sysdeps/generic/malloc-sysdep.h: New file. Define
8199 new function check_may_shrink_heap.
8200 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8201 new function check_may_shrink_heap.
8203 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8205 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8208 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8210 * catgets/test-gencat.sh: Add "set -e".
8211 * elf/tst-pathopt.sh: Likewise.
8212 * grp/tst_fgetgrent.sh: Likewise.
8213 * iconvdata/run-iconv-test.sh: Likewise.
8214 * intl/tst-gettext.sh: Likewise.
8215 * intl/tst-gettext2.sh: Likewise.
8216 * intl/tst-gettext4.sh: Likewise.
8217 * intl/tst-gettext6.sh: Likewise.
8218 * intl/tst-translit.sh: Likewise.
8219 * io/ftwtest-sh: Likewise.
8220 * libio/test-freopen.sh: Likewise.
8221 * malloc/tst-mtrace.sh: Likewise.
8222 * posix/globtest.sh: Likewise.
8223 * posix/tst-getconf.sh: Likewise.
8224 * posix/wordexp-tst.sh: Likewise.
8225 * stdio-common/tst-printf.sh: Likewise.
8226 * stdio-common/tst-unbputc.sh: Likewise.
8227 * stdlib/tst-fmtmsg.sh: Likewise.
8228 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8229 * catgets/Makefile: Do not specify -e option when running
8230 testsuite shell scripts.
8231 * elf/Makefile: Likewise.
8232 * grp/Makefile: Likewise.
8233 * iconvdata/Makefile: Likewise.
8234 * intl/Makefile: Likewise.
8235 * io/Makefile: Likewise.
8236 * libio/Makefile: Likewise.
8237 * malloc/Makefile: Likewise.
8238 * posix/Makefile: Likewise.
8239 * stdio-common/Makefile: Likewise.
8240 * stdlib/Makefile: Likewise.
8241 * sysdeps/x86_64/Makefile: Likewise.
8243 * io/ftwtest-sh: Add copyright header.
8244 * posix/globtest.sh: Likewise.
8245 * posix/tst-getconf.sh: Likewise.
8246 * posix/wordexp-tst.sh: Likewise.
8247 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8249 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8252 * Makeconfig (+link): Defined as $(+link-static) if
8253 $(build-shared) isn't yes.
8254 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8256 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8258 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8261 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8262 new chunk size with MALLOC_ALIGN_MASK.
8264 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8267 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8269 (__printf_fphex): Determine rounding using get_rounding_mode and
8271 * stdio-common/tst-printf-round.c (struct hex_test): New
8273 (hex_tests): New variable.
8274 (test_hex_in_one_mode): New function.
8275 (do_test): Also run tests for hex float output.
8277 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8279 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8280 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8281 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8282 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8283 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8284 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8285 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8286 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8288 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8290 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8291 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8292 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8293 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8295 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8298 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8300 * elf/tst-rtld-load-self.sh: New test.
8301 * elf/Makefile: Run it.
8303 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8305 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8306 (tst-writev-ENV): Remove.
8307 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8309 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8311 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8313 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8315 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8317 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8319 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8320 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8321 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8324 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8327 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8328 * config.make.in (have-cpp-asm-debuginfo): Removed.
8329 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8330 * configure: Regenerated.
8332 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8335 * stdio-common/printf_fp.c: Include <stdbool.h> and
8337 (___printf_fp): Determine rounding using get_rounding_mode and
8339 * stdio-common/tst-printf-round.c: New file.
8340 * stdio-common/Makefile (tests): Add tst-printf-round.
8341 (link-libm): New variable.
8342 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8344 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8347 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8348 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8350 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8353 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8355 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8356 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8357 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8358 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8360 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8363 * include/rounding-mode.h: New file.
8364 * sysdeps/generic/get-rounding-mode.h: Likewise.
8365 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8366 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8367 (MAX_VALUE): New macro.
8368 (MIN_VALUE): Likewise.
8369 (overflow_value): New function.
8370 (underflow_value): Likewise.
8371 (round_and_return): Use overflow_value and underflow_value to
8372 determine return values in overflow and underflow cases. Use
8373 round_away to determine rounding depending on rounding mode.
8374 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8375 determine return values in overflow and underflow cases.
8376 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8377 (struct test_results): New structure.
8378 (struct test): Use struct test_results to store expected results
8379 for all rounding modes.
8380 (TEST): Include expected results for all rounding modes.
8381 (test_in_one_mode): New function.
8382 (do_test): Use test_in_one_mode to compute and check results.
8383 Check results for all rounding modes.
8384 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8387 2012-12-09 Allan McRae <allan@archlinux.org>
8389 * sysdeps/i386/fpu/libm-test-ulps: Update
8391 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8393 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8394 (_G_int32_t): Likewise.
8395 (_G_uint16_t): Likewise.
8396 (_G_uint32_t): Likewise.
8397 (_G_HAVE_BOOL): Likewise.
8398 (_G_HAVE_ATEXIT): Likewise.
8399 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8400 (_G_HAVE_IO_FILE_OPEN): Likewise.
8401 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8402 (_G_int32_t): Likewise.
8403 (_G_uint16_t): Likewise.
8404 (_G_uint32_t): Likewise.
8405 (_G_HAVE_BOOL): Likewise.
8406 (_G_HAVE_ATEXIT): Likewise.
8407 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8408 (_G_HAVE_IO_FILE_OPEN): Likewise.
8409 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8410 (_G_int32_t): Likewise.
8411 (_G_uint16_t): Likewise.
8412 (_G_uint32_t): Likewise.
8413 (_G_HAVE_BOOL): Likewise.
8414 (_G_HAVE_ATEXIT): Likewise.
8415 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8416 (_G_HAVE_IO_FILE_OPEN): Likewise.
8418 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8420 * csu/libc-tls.c: Update copyright years.
8422 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8424 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8425 [!_G_USING_THUNKS]: Remove conditional code.
8426 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8427 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8429 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8430 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8431 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8432 (_G_VTABLE_LABEL_PREFIX): Likewise.
8433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8434 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8435 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8436 (_G_VTABLE_LABEL_PREFIX): Likewise.
8437 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8438 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8439 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8440 (_G_VTABLE_LABEL_PREFIX): Likewise.
8441 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8443 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8445 * libio/Makefile: Include ../Makeconfig before tests.
8446 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8447 only if $(build-shared) is yes.
8449 * iconv/gconv_db.c: Update copyright years.
8451 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8453 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8454 unwind info if defined PIC. Fix special cases description.
8455 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8457 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8459 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8461 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8463 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8465 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8468 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8469 (LDLIBS-tst-chk4): This.
8470 (LDFLAGS-tst-chk5): Renamed to ...
8471 (LDLIBS-tst-chk5): This.
8472 (LDFLAGS-tst-chk6): Renamed to ...
8473 (LDLIBS-tst-chk6): This.
8474 (LDFLAGS-tst-lfschk4): Renamed to ...
8475 (LDLIBS-tst-lfschk4): This.
8476 (LDFLAGS-tst-lfschk5): Renamed to ...
8477 (LDLIBS-tst-lfschk5): This.
8478 (LDFLAGS-tst-lfschk6): Renamed to ...
8479 (LDLIBS-tst-lfschk6): This.
8481 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8482 on $(common-objpfx)soversions.mk.
8484 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8487 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8490 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8492 * malloc/arena.c (arena_get_retry): New function that gets
8493 another arena for the caller to try its request on.
8494 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8495 current arena cannot fulfill the request.
8496 (__libc_memalign): Likewise.
8497 (__libc_memalign): Likewise.
8498 (__libc_pvalloc): Likewise.
8499 (__libc_calloc): Likewise.
8501 2012-09-05 John Tobey <john.tobey@gmail.com>
8504 * manual/arith.texi (Operations on Complex): Fix description
8507 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8510 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8514 * manual/memory.texi (Memory): Make order of menu items match
8517 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8519 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8520 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8521 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8523 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8525 * csu/libc-tls.c (static_dtv): Renamed to ...
8526 (_dl_static_dtv): This. Make it global.
8527 (_dl_initial_dtv): Removed.
8528 (__libc_setup_tls): Updated.
8529 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8530 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8533 2012-09-06 Petr Machata <pmachata@redhat.com>
8535 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8536 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8537 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8538 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8540 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8543 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8544 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8547 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8550 * Makeconfig (link-static-before-libc): Replace $(+prector)
8552 (link-static-after-libc): Replace $(+postctor) with
8554 (link-bounded): Replace $(+prector)/$(+postctor) with
8555 $(+prectorT)/$(+postctorT).
8556 (+prectorT): New macro.
8557 (+postctorT): Likewise.
8559 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8561 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8562 (round_str): Handle values above the maximum for IBM long double
8564 * stdlib/tst-strtod-round.c (tests): Regenerated.
8566 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8568 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8570 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8571 zarch_nohighgprs around the zarch optimized routines.
8572 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8573 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8574 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8577 2012-09-05 David S. Miller <davem@davemloft.net>
8579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8581 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8582 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8583 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8584 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8587 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8589 * malloc/arena.c: Fold copyright years.
8590 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8592 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8594 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8596 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8598 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8600 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8602 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8603 change internal state upon failure.
8605 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8607 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8608 * malloc/memusage.c (mmap): Likewise.
8609 (mmap64, mremap): Likewise. Adjust name in comment.
8611 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8613 * libio/fileops.c: Fix typos in comments.
8614 * libio/oldfileops.c: Likewise.
8615 * libio/wfileops.c: Likewise.
8617 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8620 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8621 (tst-malloc-usable-ENV): Set environment for test case.
8622 * malloc/hooks.c (malloc_check_get_size): New function to get
8624 * malloc/malloc.c (musable): Use malloc_check_get_size.
8625 * malloc/tst-malloc-usable.c: New test case.
8627 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8629 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8631 2012-09-05 Allan McRae <allan@archlinux.org>
8634 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8635 determine header location.
8636 * configure: Regenerated.
8638 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8640 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8642 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8643 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8647 2012-09-04 David S. Miller <davem@davemloft.net>
8649 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8650 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8651 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8653 2012-09-04 Florian Weimer <fweimer@redhat.com>
8655 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8658 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8660 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8663 * libio/iogetdelim.c: Include <limits.h>.
8664 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8665 + len + 1 would overflow.
8667 2012-09-03 Andreas Jaeger <aj@suse.de>
8669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8670 * sysdeps/i386/fpu/libm-test-ulps: Update.
8672 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8674 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8675 Add s_sinf-sse2, s_conf-sse2.
8677 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8678 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8679 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8680 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8682 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8683 for using routine as __sinf_ia32.
8684 Use macro for function declaration and weak_alias.
8685 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8686 for using routine as __cosf_ia32.
8687 Use macro for function declaration and weak_alias.
8689 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8690 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8692 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8693 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8696 * math/libm-test.inc (cos_test): Add more test cases.
8697 (sin_test): Likewise.
8698 (sincos_test): Likewise.
8700 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8702 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8703 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8705 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8707 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8710 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8711 first element of the GOT.
8712 (elf_machine_load_address): Return the difference between
8713 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8715 2012-09-01 Allan McRae <allan@archlinux.org>
8718 * configure.in (AWK): Require gawk version 3.0 or later.
8719 * configure: Regenerated.
8721 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8723 * sysdeps/unix/sysv/linux/kernel-features.h
8724 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8725 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8726 [__NR_clock_getres]: Make code unconditional.
8727 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8728 (clock_getcpuclockid): Remove code left unreachable by removal of
8730 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8732 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8733 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8734 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8735 Make code unconditional.
8736 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8737 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8738 * sysdeps/unix/sysv/linux/clock_settime.c
8739 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8741 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8742 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8744 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8747 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8748 scripts/test-installation.pl.
8750 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8751 and $ld_so_version if it is set.
8753 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8756 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8757 failure if reading from procfs failed.
8758 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8760 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8762 * sysdeps/unix/sysv/linux/kernel-features.h
8763 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8764 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8765 Remove conditional code.
8766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8767 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8768 Remove conditional code.
8769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8770 * sysdeps/unix/sysv/linux/i386/fxstat.c
8771 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8773 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8774 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8776 * sysdeps/unix/sysv/linux/i386/lxstat.c
8777 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8779 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8780 Remove conditional code.
8781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8782 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8783 Remove conditional code.
8784 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8785 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8786 <kernel-features.h>.
8787 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8789 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8790 Remove conditional code.
8791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8792 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8795 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8798 * NEWS: Add fixed bug number.
8800 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8803 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8804 underflowing exponent in case of negative sign.
8805 * stdlib/tst-strtod-round-data: Add more tests.
8806 * stdlib/tst-strtod-round.c (tests): Regenerated.
8809 * stdlib/strtod_l.c (NDIG): Remove.
8810 (HEXNDIG): Likewise.
8811 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8812 smallest representable value.
8813 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8814 lie within an exact representation of 1/2 ulp of the result.
8815 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8817 (TENS_P9_IDX): Define unconditionally.
8818 (TENS_P9_SIZE): Likewise.
8819 (TENS_P10_IDX): Likewise.
8820 (TENS_P10_SIZE): Likewise.
8821 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8822 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8823 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8824 entries for 10^2^13 and 10^2^14.
8825 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8826 (TENS_P13_IDX): Define.
8827 (TENS_P13_SIZE): Likewise.
8828 (TENS_P14_IDX): Likewise.
8829 (TENS_P14_SIZE): Likewise.
8830 (_fpioconst_pow10): Change array size to
8831 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8833 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8834 1024]: Add entries for 10^2^13 and 10^2^14.
8835 [LAST_POW10 > _LAST_POW10]: Remove #error.
8836 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8837 (_fpioconst_pow10): Change array size to
8838 FPIOCONST_POW10_ARRAY_SIZE.
8839 * stdlib/gen-fpioconst.c: New file.
8840 * stdlib/gen-tst-strtod-round.c: Likewise.
8841 * stdlib/tst-strtod-round-data: Likewise.
8842 * stdlib/tst-strtod-round.c: Likewise.
8843 * stdlib/Makefile (tests): Add tst-strtod-round.
8846 * stdlib/strtod_l.c: Include <stdint.h>.
8847 (NDEBUG): Do not define.
8848 (round_and_return): Change EXPONENT parameter to type intmax_t.
8849 Rearrange calculations to avoid internal overflow possibilities.
8850 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8851 Rearrange calculations to avoid internal overflow possibilities.
8852 Assert that number fits inside MPNSIZE limbs.
8853 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8854 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8855 calculations and add assertions to avoid internal overflow
8856 possibilities. Add casts to avoid signed/unsigned operations.
8857 * stdlib/tst-strtod-overflow.c: New file.
8858 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8860 2012-08-25 Marek Polacek <polacek@redhat.com>
8862 * time/time.h: Fix some typos in comments.
8864 2012-08-23 Roland McGrath <roland@hack.frob.com>
8866 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8867 * posix/tst-rfc3484-2.c: Likewise.
8868 * posix/tst-rfc3484-3.c: Likewise.
8870 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8872 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8873 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8875 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8877 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8878 #include of fxstatat64.c.
8880 2012-08-22 Roland McGrath <roland@hack.frob.com>
8882 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8883 * shadow/getspent_r.c: Likewise.
8884 * shadow/getspnam.c: Likewise.
8885 * shadow/getspnam_r.c: Likewise.
8886 * gshadow/getsgent.c: Likewise.
8887 * gshadow/getsgent_r.c: Likewise.
8888 * gshadow/getsgnam.c: Likewise.
8889 * gshadow/getsgnam_r.c: Likewise.
8890 * inet/getnetbyad.c: Likewise.
8891 * inet/getnetbyad_r.c: Likewise.
8892 * inet/getnetbynm.c: Likewise.
8893 * inet/getnetbynm_r.c: Likewise.
8894 * inet/getnetent.c: Likewise.
8895 * inet/getnetent_r.c: Likewise.
8896 * inet/getproto.c: Likewise.
8897 * inet/getproto_r.c: Likewise.
8898 * inet/getprtent.c: Likewise.
8899 * inet/getprtent_r.c: Likewise.
8900 * inet/getprtname.c: Likewise.
8901 * inet/getprtname_r.c: Likewise.
8902 * inet/getrpcbyname.c: Likewise.
8903 * inet/getrpcbyname_r.c: Likewise.
8904 * inet/getrpcbynumber.c: Likewise.
8905 * inet/getrpcbynumber_r.c: Likewise.
8906 * inet/getrpcent.c: Likewise.
8907 * inet/getrpcent_r.c: Likewise.
8908 * inet/getaliasent.c: Likewise.
8909 * inet/getaliasent_r.c: Likewise.
8910 * inet/getaliasname.c: Likewise.
8911 * inet/getaliasname_r.c: Likewise.
8912 * nscd/getgrgid_r.c: Likewise.
8913 * nscd/getgrnam_r.c: Likewise.
8914 * nscd/gethstbyad_r.c: Likewise.
8915 * nscd/gethstbynm3_r.c: Likewise.
8916 * nscd/getpwnam_r.c: Likewise.
8917 * nscd/getpwuid_r.c: Likewise.
8918 * nscd/getsrvbynm_r.c: Likewise.
8919 * nscd/getsrvbypt_r.c: Likewise.
8920 * nscd/gai.c: Likewise.
8922 * configure.in (build_nscd): New substituted variable, set
8923 by --disable-build-nscd and defaults to $use_nscd.
8924 * configure: Regenerated.
8925 * config.make.in (build-nscd): New substituted variable.
8926 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8927 Change conditional to require [$(build-nscd) = yes] as well.
8928 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8931 * configure.in (use_nscd): New substituted variable, set by
8932 --disable-nscd. If enabled, define USE_NSCD.
8933 * configure: Regenerated.
8934 * config.h.in: Add USE_NSCD.
8935 * config.make.in (use-nscd): New substituted variable.
8936 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8937 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8938 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8939 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8940 (CFLAGS-getgrnam_r.c): Likewise.
8941 (CFLAGS-initgroups.c): Likewise.
8942 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8943 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8945 * inet/getnetgrent_r.c
8946 (nscd_setnetgrent): New function, broken out of ...
8947 (setnetgrent): ... here. Call it.
8948 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8949 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8950 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8951 * nscd/Makefile (routines, aux): Move definitions after include of
8952 Makeconfig. Conditionalize on [$(use-nscd) != no].
8953 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8954 Conditionalize on [USE_NSCD].
8955 (is_nscd, nscd_init_cb): Likewise.
8956 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8957 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8958 * nss/nss_db/db-init.c: Likewise.
8959 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8961 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8962 (make_request): Use it.
8963 (cache_valid_p): New function.
8964 (__check_pf): Use it.
8965 * NEWS: Add item for --disable-nscd.
8967 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8969 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8970 to support sed >= 4.2.1-20-ga9bf076.
8971 * configure: Regenerated.
8973 2012-08-22 Roland McGrath <roland@hack.frob.com>
8975 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8976 Conditionalize whole body on [IREL].
8978 2012-08-22 Jeff Law <law@redhat.com>
8981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8982 if the family is PF_UNSPEC.
8984 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8986 * Makerules (lib-version): Rename from V.
8987 (install-lib-nosubdir): Change V to lib-version.
8989 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8992 * powerpc32/power6/wcschr.c: New file.
8993 * powerpc32/power6/wcscpy.c: New file.
8994 * powerpc32/power6/wcsrchr.c: New file.
8995 * powerpc64/power6/wcschr.c: New file.
8996 * powerpc64/power6/wcscpy.c: New file.
8997 * powerpc64/power6/wcsrchr.c: New file.
8999 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9001 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9002 (two_way_short_needle): Use it.
9003 * string/strstr.c (AVAILABLE1_USES_J): Define.
9004 * string/strcasestr.c: Likewise.
9006 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9008 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9011 * NEWS: Add an entry.
9012 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9013 define their defaults.
9014 (two_way_short_needle): Detect end-of-string on-the-fly.
9015 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9016 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9017 * string/bug-strcasestr1.c: New test.
9018 * string/Makefile: Run it.
9020 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9023 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9024 the first character.
9026 2012-08-21 Roland McGrath <roland@hack.frob.com>
9028 * csu/elf-init.c (__libc_csu_irel): Function removed.
9029 * csu/libc-start.c (apply_irel): New function.
9030 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9032 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9034 * sysdeps/unix/sysv/linux/kernel-features.h
9035 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9036 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9037 <kernel-features.h>.
9038 [__NR_fadvise64_64]: Make code unconditional.
9039 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9040 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9041 !__NR_fadvise64_64)]: Likewise.
9042 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9043 !__NR_fadvise64_64))]: Likewise.
9044 [__NR_fadvise64]: Make code unconditional.
9045 [!__NR_fadvise64]: Remove conditional code.
9046 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9047 <kernel-features.h>.
9048 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9050 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9053 not include <kernel-features.h>.
9054 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9056 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9058 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9059 include <kernel-features.h>.
9060 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9062 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9065 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9068 slight instruction rearrangements per scrollpipe analysis.
9069 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9071 2012-08-20 Roland McGrath <roland@hack.frob.com>
9073 * manual/syslog.texi (syslog; vsyslog, closelog):
9074 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9075 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9077 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9078 DSOCAPS to match condition on defining it.
9080 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9082 * sysdeps/unix/sysv/linux/kernel-features.h
9083 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9085 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9086 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9088 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9089 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9091 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9092 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9094 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9095 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9097 * sysdeps/unix/sysv/linux/kernel-features.h
9098 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9099 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9101 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9102 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9103 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9104 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9105 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9106 Make code unconditional.
9107 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9108 (__mmap64) [!__NR_mmap2]: Likewise.
9109 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9110 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9111 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9112 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9113 [__NR_mmap2]: Make code unconditional.
9114 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9115 (__mmap64) [!__NR_mmap2]: Likewise.
9117 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9119 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9121 2012-08-18 Andreas Jaeger <aj@suse.de>
9123 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9125 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9127 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9128 * include/unistd.h (__have_sock_cloexec): Likewise.
9129 (__have_pipe2): Likewise.
9130 (__have_dup3): Likewise.
9132 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9135 * include/unistd.h (__have_pipe2): Change define into an extern int.
9136 (__have_dup3): Likewise.
9137 * socket/have_sock_cloexec.c: Include fcntl.h.
9138 (__have_pipe2): New variable.
9139 (__have_dup3): Likewise.
9141 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9143 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9145 2012-08-17 Marek Polacek <polacek@redhat.com>
9147 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9148 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9150 2012-08-17 Roland McGrath <roland@hack.frob.com>
9152 * configure.in: Add AC_SUBST for sysheaders.
9153 * configure: Regenerated.
9154 * config.make.in (sysheaders): New substituted variable.
9156 * sysdeps/unix/mkfifo.c: Moved ...
9157 * sysdeps/posix/mkfifo.c: ... here.
9158 * sysdeps/unix/mkfifoat.c: Moved ...
9159 * sysdeps/posix/mkfifoat.c: ... here.
9161 * sysdeps/unix/utime.c: Moved ...
9162 * sysdeps/posix/utime.c: ... here.
9164 * sysdeps/unix/time.c: Moved ...
9165 * sysdeps/posix/time.c: ... here.
9166 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9167 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9169 * sysdeps/unix/nice.c: Moved ...
9170 * sysdeps/posix/nice.c: ... here.
9172 * sysdeps/unix/alarm.c: Moved ...
9173 * sysdeps/posix/alarm.c: ... here.
9175 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9177 2012-08-17 Jeff Law <law@redhat.com>
9179 * intl/Makefile (codeset_mo): New variable.
9180 ($(codeset_mo)): New target.
9181 (tst-codeset.out): Depend on that. Remove explicit rule.
9182 (tst-gettext3.out, tst-gettext5.out): Likewise.
9183 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9184 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9185 * intl/tst-codeset.sh: Remove.
9186 * intl/tst-gettext3.sh: Likewise.
9187 * intl/tst-gettext5.sh: Likewise.
9189 2012-08-17 Roland McGrath <roland@hack.frob.com>
9191 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9192 * sysdeps/unix/syscalls.list: ... here.
9194 * sysdeps/posix/getaddrinfo.c
9195 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9196 (gaiconf_init, gaiconf_reload): Use them.
9198 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9199 Define using time_t rather than struct timespec.
9201 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9202 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9204 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9206 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9207 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9210 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9211 __libc_cleanup_push argument.
9213 * bits/param.h: New file.
9214 * misc/sys/param.h: New file.
9215 * include/sys/param.h: New file.
9216 * misc/Makefile (headers): Add bits/param.h.
9217 * sysdeps/generic/sys/param.h: File removed.
9218 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9219 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9220 * sysdeps/mach/hurd/bits/param.h: New file.
9221 * sysdeps/mach/hurd/sys/param.h: File removed.
9223 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9226 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9228 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9229 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9232 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9233 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9234 rather than -D_IO_MTSAFE_IO conditionally.
9235 * stdio-common/Makefile (CPPFLAGS): Likewise.
9236 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9237 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9238 Use $(libio-mtsafe).
9239 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9241 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9242 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9243 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9244 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9245 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9246 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9247 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9248 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9249 (CFLAGS-fread_u_chk.c): Likewise.
9250 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9251 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9252 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9253 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9254 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9255 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9256 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9257 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9258 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9260 * libio/Makefile: Test [$(libc-reentrant) = yes]
9261 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9264 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9265 * sysdeps/pthread/configure: File removed.
9266 * sysdeps/pthread/Makeconfig: New file.
9267 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9268 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9270 2012-08-16 Gary Benson <gbenson@redhat.com>
9272 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9273 unmapping the first object in a namespace.
9275 2012-08-16 Roland McGrath <roland@hack.frob.com>
9277 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9278 (__internal_setnetgrent): ... this. Add internal_function to
9279 definition. Add libc_hidden_def.
9280 (setnetgrent): Update caller.
9281 (internal_endnetgrent): Renamed to ...
9282 (__internal_endnetgrent): ... this. Add internal_function to
9283 definition. Add libc_hidden_def.
9284 (endnetgrent): Update caller.
9285 (internal_getnetgrent_r): Renamed to ...
9286 (__internal_getnetgrent_r): ... this. Add internal_function to
9287 definition. Add libc_hidden_def.
9288 (__getnetgrent_r): Update caller.
9289 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9291 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9293 * stdlib/longlong.h: Update from GCC.
9295 2012-08-16 Roland McGrath <roland@hack.frob.com>
9297 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9298 on _QL, which is set by umul_ppmm but never used.
9299 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9300 variables, which are set by GMP macros but never used.
9301 * stdio-common/_itowa.c (_itowa): Likewise.
9302 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9303 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9305 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9307 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9308 struct La_sh_regs is not constant.
9309 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9310 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9311 and struct La_sparc64_regs are not constant.
9313 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9315 * sysdeps/unix/sysv/linux/kernel-features.h
9316 (__ASSUME_POSIX_TIMERS): Remove.
9317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9319 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9320 Make code unconditional.
9321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9322 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9323 Make code unconditional.
9324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9325 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9326 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9327 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9328 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9329 Make code unconditional.
9330 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9331 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9332 (__libc_missing_posix_timers): Remove.
9334 2012-08-15 Roland McGrath <roland@hack.frob.com>
9336 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9337 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9339 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9341 * elf/dl-sym.c: Include <stdlib.h>.
9343 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9344 constants, which avoids warnings in 32-bit builds.
9346 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9347 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9349 * misc/lseek.c: File moved to ...
9350 * io/lseek.c: ... here.
9352 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9354 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9355 shifting LEN more than 31 bits at once.
9357 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9360 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9361 segmentation fault for a case of two empty input strings.
9362 * string/test-strncasecmp.c (check1): Renamed to...
9364 (bz14195): Add new testcase for two empty input strings and N > 0.
9365 (test_main): Call new testcase, adapt for renamed function.
9367 2012-08-15 Andreas Jaeger <aj@suse.de>
9370 * crypt/md5test2.c: New test, based on test supplied by Serge
9371 Belyshev <belyshev@depni.sinp.msu.ru>.
9372 * crypt/Makefile (xtests): Add md5test-giant..
9373 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9375 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9378 * crypt/md5.c (md5_process_block): Don't assume the buffer
9379 length is less than 2**32.
9380 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9381 length is less than 2**64.
9383 2012-08-15 Roland McGrath <roland@hack.frob.com>
9385 * string/str-two-way.h: Include <sys/param.h>.
9386 (MAX): Macro removed.
9388 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9389 Move #define and #undef of memmove to just before and after
9390 including <string.h>.
9392 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9393 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9394 and after including <string.h>. Move declarations of
9395 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9396 to before #include "string/memmove.c".
9398 * include/dirent.h: Declare __getdirentries.
9400 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9401 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9403 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9405 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9406 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9407 * sysdeps/i386/configure: Regenerated.
9408 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9409 STABS_CURRENT_FILE, and STABS_FUN.
9410 (END): Remove call to STABS_FUN_END.
9411 (STABS_CURRENT_FILE1): Delete.
9412 (STABS_CURRENT_FILE): Likewise.
9413 (STABS_FUN): Likewise.
9414 (STABS_FUN_END): Likewise.
9415 (STABS_FUN2): Likewise.
9416 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9417 * sysdeps/x86_64/configure: Regenerated.
9419 2012-08-14 Roland McGrath <roland@hack.frob.com>
9421 * elf/dl-open.c: Include <atomic.h>.
9422 * elf/dl-lookup.c: Likewise.
9424 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9426 * sysdeps/unix/sysv/linux/kernel-features.h
9427 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9428 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9430 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9432 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9433 condition on __ASSUME_CLONE_THREAD_FLAGS.
9435 2012-08-14 Andreas Jaeger <aj@suse.de>
9437 * sysdeps/i386/fpu/libm-test-ulps: Update.
9439 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9441 * include/atomic.h (atomic_exchange_and_add): Split into ...
9442 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9445 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9449 2012-08-13 Jeff Law <law@redhat.com>
9451 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9452 null byte in the output string.
9454 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9456 * sysdeps/unix/sysv/linux/kernel-features.h
9457 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9458 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9459 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9460 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9461 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9462 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9463 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9465 2012-08-09 Jeff Law <law@redhat.com>
9468 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9469 When avoid_arena is set, don't retry in the that arena. Pick the
9470 next one, whatever it might be.
9471 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9472 (arena_lock): Pass in new parameter to arena_get2.
9473 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9475 (__libc_malloc): Unify retrying after main arena failure with
9476 __libc_memalign version.
9477 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9479 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9482 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9483 to __redirect_strstr.
9484 (__strstr_sse42): Use typeof __redirect_strstr.
9485 (__strstr_ia32): Likewise.
9486 (__libc_strstr): New prototype.
9487 (strstr): Renamed to ...
9488 (__libc_strstr): This.
9489 (strstr): New strong alias of __libc_strstr.
9490 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9491 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9494 (__libc_time): New prototype.
9495 (time_ifunc): Replace time with __libc_time.
9496 (time): New strong alias and hidden definition of __libc_time.
9497 (__GI_time): Remove strong alias.
9498 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9500 (memmove): Redefined to __redirect_memmove.
9501 (__memmove_sse2): Use typeof __redirect_memmove.
9502 (__memmove_ssse3): Likewise.
9503 (__memmove_ssse3_back): Likewise.
9504 (__libc_memmove): New prototype.
9505 (memmove): Renamed to ...
9506 (__libc_memmove): This.
9507 (memmove): New strong alias of __libc_memmove.
9509 2012-08-08 Mark Salter <msalter@redhat.com>
9512 (R_MN10300_TLS_GD): Define.
9513 (R_MN10300_TLS_LD): Likewise.
9514 (R_MN10300_TLS_LDO): Likewise.
9515 (R_MN10300_TLS_GOTIE): Likewise.
9516 (R_MN10300_TLS_IE): Likewise.
9517 (R_MN10300_TLS_LE): Likewise.
9518 (R_MN10300_TLS_DTPMOD): Likewise.
9519 (R_MN10300_TLS_DTPOFF): Likewise.
9520 (R_MN10300_TLS_TPOFF): Likewise.
9521 (R_MN10300_SYM_DIFF): Likewise.
9522 (R_MN10300_ALIGN): Likewise.
9523 (R_MN10300_NUM): Update.
9525 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9527 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9530 2012-08-08 Roland McGrath <roland@hack.frob.com>
9532 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9534 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9535 sysdeps/unix -> sysdeps/posix move.
9536 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9538 2012-08-07 Allan McRae <allan@archlinux.org>
9541 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9542 (SUNOS_CPP): Likewise.
9543 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9545 (open_input): Call CPP using execvp.
9547 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9549 * sysdeps/unix/sysv/linux/kernel-features.h
9550 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9551 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9552 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9553 (__ASSUME_WAITID_SYSCALL): Likewise.
9554 * sysdeps/unix/sysv/linux/dl-execstack.c
9555 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9557 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9559 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9560 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9561 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9563 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9565 [__ASSUME_WAITID_SYSCALL]: Likewise.
9566 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9568 2012-08-07 Roland McGrath <roland@hack.frob.com>
9570 * sysdeps/unix/closedir.c: Renamed to ...
9571 * sysdeps/posix/closedir.c: ... here.
9572 * sysdeps/unix/dirfd.c: Renamed to ...
9573 * sysdeps/posix/dirfd.c: ... here.
9574 * sysdeps/unix/dirstream.h: Renamed to ...
9575 * sysdeps/posix/dirstream.h: ... here.
9576 * sysdeps/unix/fdopendir.c: Renamed to ...
9577 * sysdeps/posix/fdopendir.c: ... here.
9578 * sysdeps/unix/opendir.c: Renamed to ...
9579 * sysdeps/posix/opendir.c: ... here.
9580 * sysdeps/unix/readdir.c: Renamed to ...
9581 * sysdeps/posix/readdir.c: ... here.
9582 * sysdeps/unix/readdir_r.c: Renamed to ...
9583 * sysdeps/posix/readdir_r.c: ... here.
9584 * sysdeps/unix/rewinddir.c: Renamed to ...
9585 * sysdeps/posix/rewinddir.c: ... here.
9586 * sysdeps/unix/seekdir.c: Renamed to ...
9587 * sysdeps/posix/seekdir.c: ... here.
9588 * sysdeps/unix/telldir.c: Renamed to ...
9589 * sysdeps/posix/telldir.c: ... here.
9590 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9591 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9592 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9593 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9595 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9596 * bits/fcntl.h: ... here.
9598 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9600 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9601 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9602 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9603 (struct flock): Move l_start, l_len to the beginning.
9604 Use __pid_t for l_pid.
9605 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9606 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9607 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9608 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9609 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9610 [__USE_LARGEFILE64] (struct flock64): New type.
9611 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9613 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9614 * bits/dirent.h: ... here.
9616 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9617 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9619 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9621 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9622 Change from 2.6.0 to 2.6.16.
9623 * sysdeps/unix/sysv/linux/configure: Regenerated.
9624 * sysdeps/unix/sysv/linux/kernel-features.h
9625 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9626 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9628 (__ASSUME_UTIMES): Likewise.
9629 (__ASSUME_CLONE_STOPPED): Remove.
9630 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9631 architectures, not kernel version.
9632 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9633 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9634 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9635 (__ASSUME_WAITID_SYSCALL): Likewise.
9636 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9637 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9638 * README: State 2.6.16 as minimum Linux kernel version. Do not
9639 refer to older versions.
9641 2012-08-06 Roland McGrath <roland@hack.frob.com>
9643 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9644 Define alphasort64 as an alias.
9645 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9646 Define versionsort64 as an alias.
9647 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9648 Define scandir64 as an alias.
9649 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9650 Define scandirat64 as an alias.
9651 * dirent/alphasort64.c (alphasort64):
9652 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9653 * dirent/versionsort64.c: Likewise.
9654 * dirent/scandir64.c: Likewise.
9655 * dirent/scandirat64.c: Likewise.
9656 * sysdeps/wordsize-64/alphasort.c: File removed.
9657 * sysdeps/wordsize-64/alphasort64.c: File removed.
9658 * sysdeps/wordsize-64/scandir.c: File removed.
9659 * sysdeps/wordsize-64/scandir64.c: File removed.
9660 * sysdeps/wordsize-64/scandirat.c: File removed.
9661 * sysdeps/wordsize-64/scandirat64.c: File removed.
9662 * sysdeps/wordsize-64/versionsort.c: File removed.
9663 * sysdeps/wordsize-64/versionsort64.c: File removed.
9664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9665 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9666 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9667 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9668 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9669 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9670 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9671 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9673 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9675 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9677 [defined __arch64__ || defined __sparcv9]
9678 (__INO_T_MATCHES_INO64_T): New macro.
9679 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9680 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9681 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9682 * sysdeps/unix/sysv/linux/bits/dirent.h
9683 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9684 (_DIRENT_MATCHES_DIRENT64): New macro.
9686 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9687 Define lockf64 as an alias.
9688 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9689 Define fseeko64 as an alias.
9690 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9691 Define ftello64 as an alias.
9692 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9693 Define _IO_fgetpos64 and fgetpos64 as aliases.
9694 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9695 Define _IO_fsetpos64 and fsetpos64 as aliases.
9696 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9697 Conditionalize body on this.
9698 * libio/fseeko64.c: Likewise.
9699 * libio/ftello64.c: Likewise.
9700 * libio/iofgetpos64.c: Likewise.
9701 * libio/iofsetpos64.c: Likewise.
9702 * sysdeps/wordsize-64/lockf.c: File removed.
9703 * sysdeps/wordsize-64/lockf64.c: File removed.
9704 * sysdeps/wordsize-64/fseeko.c: File removed.
9705 * sysdeps/wordsize-64/fseeko64.c: File removed.
9706 * sysdeps/wordsize-64/ftello.c: File removed.
9707 * sysdeps/wordsize-64/ftello64.c: File removed.
9708 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9709 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9710 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9711 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9712 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9713 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9715 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9717 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9718 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9719 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9721 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9723 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9725 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9727 [defined __arch64__ || defined __sparcv9]
9728 (__OFF_T_MATCHES_OFF64_T): New macro.
9729 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9730 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9732 (__OFF_T_MATCHES_OFF64_T): New macro.
9734 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9736 * stdlib/secure-getenv.c (__secure_getenv): Replace
9737 GLIBC_2_16 with GLIBC_2_17.
9739 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9741 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9742 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9744 2012-08-03 David S. Miller <davem@davemloft.net>
9746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9748 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9750 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9752 (__ASSUME_CORRECT_SI_PID): Likewise.
9753 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9754 (__ASSUME_TMPFS_NAME): Likewise.
9755 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9756 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9757 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9758 (HAVE_AUX_SECURE): Make definition unconditional.
9759 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9760 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9762 2012-08-03 Roland McGrath <roland@hack.frob.com>
9764 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9765 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9766 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9767 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9768 __eloop_threshold instead of SYMLOOP_MAX.
9770 * sysdeps/generic/eloop-threshold.h: New file.
9771 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9773 * elf/chroot_canon.c (chroot_canon): Likewise.
9775 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9779 Change to 2.6.0 everywhere.
9780 * sysdeps/unix/sysv/linux/configure: Regenerated.
9781 * sysdeps/unix/sysv/linux/kernel-features.h
9782 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9783 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9785 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9786 (__ASSUME_FUTEX_REQUEUE): Remove.
9787 (__ASSUME_STATFS64): Define unconditionally.
9788 (__ASSUME_AT_SECURE): Likewise.
9789 (__ASSUME_CORRECT_SI_PID): Likewise.
9790 (__ASSUME_TGKILL): Define without depending on kernel version for
9792 (__ASSUME_UTIMES): Likewise.
9793 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9795 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9796 (__ASSUME_TMPFS_NAME): Likewise.
9797 * README: Update reference to Linux kernel versions.
9799 2012-08-02 Marek Polacek <polacek@redhat.com>
9802 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9803 libc_cv_asm_type_prefix with %.
9804 * configure: Regenerated.
9805 * include/libc-symbols.h: Remove comment about
9806 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9807 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9808 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9809 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9810 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9811 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9812 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9813 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9814 * elf/tst-unique2mod1.c: Likewise.
9815 * elf/tst-unique1mod2.c: Likewise.
9816 * elf/tst-unique1mod1.c: Likewise.
9817 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9818 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9819 Replace ASM_TYPE_DIRECTIVE with .type.
9820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9821 * sysdeps/i386/sysdep.h: Likewise.
9822 * sysdeps/x86_64/sysdep.h: Likewise.
9823 * sysdeps/sh/sysdep.h: Likewise.
9824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9825 Do not define ASM_TYPE_DIRECTIVE.
9826 * sysdeps/powerpc/sysdep.h: Likewise.
9827 * sysdeps/powerpc/powerpc32/sysdep.h:
9828 Replace ASM_TYPE_DIRECTIVE with .type.
9829 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9830 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9831 * sysdeps/i386/fpu/e_powf.S: Likewise.
9832 * sysdeps/i386/fpu/e_expl.S: Likewise.
9833 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9834 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9835 * sysdeps/i386/fpu/e_pow.S: Likewise.
9836 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9837 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9838 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9839 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9840 * sysdeps/i386/fpu/e_log2.S: Likewise.
9841 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9842 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9843 * sysdeps/i386/fpu/e_powl.S: Likewise.
9844 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9845 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9846 * sysdeps/i386/fpu/e_logl.S: Likewise.
9847 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9848 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9849 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9850 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9851 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9852 * sysdeps/i386/fpu/e_log.S: Likewise.
9853 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9854 * sysdeps/i386/fpu/e_logf.S: Likewise.
9855 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9856 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9857 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9858 * sysdeps/i386/fpu/e_log10.S: Likewise.
9859 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9860 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9861 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9862 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9863 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9864 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9865 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9866 * sysdeps/i386/i686/strtok.S: Likewise.
9867 * sysdeps/i386/i386-mcount.S: Likewise.
9868 * sysdeps/i386/strtok.S: Likewise.
9869 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9870 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9871 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9872 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9873 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9874 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9875 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9876 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9877 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9878 * sysdeps/x86_64/_mcount.S: Likewise.
9879 * sysdeps/x86_64/strtok.S: Likewise.
9880 * sysdeps/sh/_mcount.S: Likewise.
9882 2012-08-01 Roland McGrath <roland@hack.frob.com>
9884 * libio/iofopen.c: Include <fcntl.h>.
9885 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9886 (_IO_fopen64, fopen64): Define as aliases.
9887 * libio/iofopen64.c: Include <fcntl.h>.
9888 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9889 Conditionalize body on this.
9890 * sysdeps/wordsize-64/iofopen.c: File removed.
9891 * sysdeps/wordsize-64/iofopen64.c: File removed.
9893 2012-08-01 Marek Polacek <polacek@redhat.com>
9895 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9896 Use dlfcn directly instead of a variable.
9897 (binfmt-subdir): Do not define.
9900 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9902 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9903 Remove all definitions.
9904 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9905 <kernel-features.h>.
9906 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9907 (miss_F_GETOWN_EX): Remove all definitions.
9908 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9910 [!__ASSUME_FCNTL64]: Remove conditional code.
9911 [__ASSUME_FCNTL64]: Make code unconditional.
9912 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9913 <kernel-features.h>.
9914 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9915 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9916 (lockf64) [__NR_fcntl64]: Make code unconditional.
9917 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9919 * sysdeps/unix/sysv/linux/kernel-features.h
9920 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9921 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9922 Make code unconditional.
9923 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9924 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9926 [__NR_vfork]: Make code unconditional.
9927 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9928 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9930 [__NR_vfork]: Make code unconditional.
9931 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9932 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9934 2012-08-01 Roland McGrath <roland@hack.frob.com>
9936 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9937 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9939 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9940 Define mkstemp64 as an alias.
9941 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9942 Define mkstemps64 as an alias.
9943 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9944 Define mkostemp64 as an alias.
9945 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9946 Define mkostemps64 as an alias.
9947 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9948 Conditionalize body on this.
9949 * misc/mkostemp64.c: Likewise.
9950 * misc/mkostemps64.c: Likewise.
9951 * misc/mkstemps64.c: Likewise.
9952 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9953 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9954 * sysdeps/wordsize-64/mkostemp.c: File removed.
9955 * sysdeps/wordsize-64/mkstemp.c: File removed.
9956 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9958 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9959 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9962 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9963 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9964 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9965 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9967 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9968 compat_symbol macros from <shlib-compat.h> rather than the underlying
9969 default_symbol_version and symbol_version macros, so that DEFAULT
9970 lines in shlib-versions are respected.
9971 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9973 2012-08-01 Florian Weimer <fweimer@redhat.com>
9975 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9976 Declare with warn_unused_result.
9977 (setgid, setregid, setegid, setresgid): Likewise.
9978 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9980 * WUR-REPORT: Remove set*id functions.
9982 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9984 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9986 2012-07-31 Roland McGrath <roland@hack.frob.com>
9988 * include/sys/socket.h (__libc_accept, __libc_accept4):
9989 Add attribute_hidden.
9990 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9992 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9994 * inet/getnetgrent_r.c (setup): Likewise.
9996 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9998 2012-07-31 David S. Miller <davem@davemloft.net>
10000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10002 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10005 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10006 value between 1.0 and 2.0 and smaller part has absolute value less
10008 * math/s_clog10.c (__clog10): Likewise.
10009 * math/s_clog10f.c (__clog10f): Likewise.
10010 * math/s_clog10l.c (__clog10l): Likewise.
10011 * math/s_clogf.c (__clogf): Likewise.
10012 * math/s_clogl.c (__clogl): Likewise.
10013 * math/libm-test.inc (clog_test): Add more tests.
10014 (clog10_test): Likewise.
10015 * sysdeps/i386/fpu/libm-test-ulps: Update.
10016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10018 2012-07-31 Florian Weimer <fweimer@redhat.com>
10020 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10021 Exit with zero in case no suitable GID is found, and write a
10022 message to standard error.
10024 2012-07-30 Roland McGrath <roland@hack.frob.com>
10026 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10028 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10029 (MAXPATHLEN): Removed.
10030 (NOGROUP, NODEV): New macros.
10031 (setbit, clrbit, isset, isclr): New macros.
10032 (howmany, roundup, powerof2): New macros.
10033 (DEV_BSIZE): New macro.
10035 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10036 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10038 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10039 definition on [!__NO_LONG_DOUBLE_MATH].
10041 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10042 PTR_MANGLE and PTR_DEMANGLE.
10044 * socket/accept4.c (accept4): Rename to __libc_accept4.
10045 Define accept4 as a weak alias.
10047 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10048 on [_DIRENT_HAVE_D_TYPE].
10049 * io/ftw.c (ftw_dir): Likewise.
10051 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10053 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10055 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10056 Use the BSD numbers rather than the arbitrary ones we had.
10057 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10058 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10059 (SIGXCPU, SIGXFSZ): New macros.
10062 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10063 initializer on [_LIBC_REENTRANT].
10065 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10066 definitions inside [_POSIX_MAPPED_FILES].
10068 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10070 * dirent/opendir.c: Include <fcntl.h>.
10072 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10073 (__libc_getspecific): Likewise.
10074 (__libc_key_create): Likewise.
10076 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10077 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10078 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10079 (tmpfile64): Define as alias.
10080 * sysdeps/wordsize-64/tmpfile.c: File removed.
10081 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10083 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10085 * stdio-common/vfscanf.c: Include <stdbool.h>.
10086 * nss/makedb.c: Likewise.
10087 * stdio-common/_i18n_number.h: Likewise.
10088 * argp/argp-help.c: Likewise.
10089 * posix/wordexp.c: Likewise.
10090 * sysdeps/posix/spawni.c: Likewise.
10091 * nss/nss_files/files-initgroups.c: Likewise.
10092 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10093 * nss/nss_files/files-initgroups.c: Likewise.
10094 * nss/nss_db/db-netgrp.c: Likewise.
10095 * nss/nss_db/db-initgroups.c: Likewise.
10096 * io/fchmodat.c: Include <sys/stat.h>.
10098 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10099 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10101 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10104 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10105 Add multiple inclusion protection.
10107 2012-07-27 David S. Miller <davem@davemloft.net>
10109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10111 2012-07-27 Gary Benson <gbenson@redhat.com>
10114 * elf/rtld.c: Include <stap-probe.h>.
10115 (dl_main): Added static probes "init_start" and "init_complete".
10116 * elf/dl-load.c: Include <stap-probe.h>.
10117 (lose): Take new parameter "nsid".
10118 Added static probe "map_failed".
10119 (_dl_map_object_from_fd): Pass namespace id to lose.
10120 Added static probe "map_start".
10121 (open_verify): Pass namespace id to lose.
10122 * elf/dl-open.c: Include <stap-probe.h>.
10123 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10124 and "reloc_complete".
10125 * elf/dl-close.c: Include <stap-probe.h>.
10126 (_dl_close_worker): Added static probes "unmap_start" and
10128 * elf/rtld-debugger-interface.txt: New file documenting the above.
10130 2012-07-26 Roland McGrath <roland@hack.frob.com>
10132 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10133 rather than a string variable.
10134 * sunrpc/rpc_main.c (h_output): Likewise.
10135 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10137 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10139 * inet/check_native.c: New file.
10141 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10144 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10145 if larger part has absolute value 1.0.
10146 * math/s_clog10.c (__clog10): Likewise.
10147 * math/s_clog10f.c (__clog10f): Likewise.
10148 * math/s_clog10l.c (__clog10l): Likewise.
10149 * math/s_clogf.c (__clogf): Likewise.
10150 * math/s_clogl.c (__clogl): Likewise.
10151 * math/libm-test.inc (clog_test): Add more tests.
10152 (clog10_test): Likewise.
10153 * sysdeps/i386/fpu/libm-test-ulps: Update.
10154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10156 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10157 (pltexit): Likewise.
10158 (La_regs): Likewise.
10159 (La_retval): Likewise.
10160 (int_retval): Likewise.
10161 Update #error for removed macros to refer only to definitions in
10163 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10165 (pltexit): Likewise.
10166 (La_regs): Likewise.
10167 (La_retval): Likewise.
10168 (int_retval): Likewise.
10169 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10171 (pltexit): Likewise.
10172 (La_regs): Likewise.
10173 (La_retval): Likewise.
10174 (int_retval): Likewise.
10175 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10177 (pltexit): Likewise.
10178 (La_regs): Likewise.
10179 (La_retval): Likewise.
10180 (int_retval): Likewise.
10181 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10183 (pltexit): Likewise.
10184 (La_regs): Likewise.
10185 (La_retval): Likewise.
10186 (int_retval): Likewise.
10187 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10189 (pltexit): Likewise.
10190 (La_regs): Likewise.
10191 (La_retval): Likewise.
10192 (int_retval): Likewise.
10193 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10195 (pltexit): Likewise.
10196 (La_regs): Likewise.
10197 (La_retval): Likewise.
10198 (int_retval): Likewise.
10199 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10200 macro definitions in tst-audit.h.
10201 * sysdeps/i386/tst-audit.h: New file.
10202 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10203 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10204 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10205 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10206 * sysdeps/sh/tst-audit.h: Likewise.
10207 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10208 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10209 * sysdeps/x86_64/tst-audit.h: Likewise.
10211 2012-07-26 Andreas Jaeger <aj@suse.de>
10213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10216 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10217 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10218 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10220 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10221 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10222 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10224 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10227 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10229 (si_call_addr, si_syscall, si_arch): Define new macro.
10230 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10232 (si_call_addr, si_syscall, si_arch): Define new marcro.
10233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10235 (si_call_addr, si_syscall, si_arch): Define new macro.
10236 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10238 (si_call_addr, si_syscall, si_arch): Define new macro.
10240 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10244 Change to 2.4.21 where previously 2.4.1.
10245 * sysdeps/unix/sysv/linux/configure: Regenerated.
10246 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10247 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10248 Linux kernel version.
10249 (__ASSUME_STD_AUXV): Remove.
10250 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10252 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10253 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10254 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10255 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10256 (__ASSUME_NETLINK_SUPPORT): Likewise.
10257 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10258 (__no_netlink_support): Remove conditional definition.
10259 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10261 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10262 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10264 (if_nameindex_ioctl): Remove.
10265 (if_nameindex_netlink): Do not handle __no_netlink_support.
10266 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10268 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10269 Remove conditional code.
10270 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10272 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10274 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10275 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10276 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10278 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10279 [!__ASSUME_STD_AUXV]: Remove conditional code.
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10281 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10282 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10284 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10287 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10289 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10290 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10292 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10294 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10297 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10300 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10301 code unconditional.
10302 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10304 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10306 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10309 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10311 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10314 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10315 code unconditional.
10316 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10318 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10320 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10323 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10324 code unconditional.
10325 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10327 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10329 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10332 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10334 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10335 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10336 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10337 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10338 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10339 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10340 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10341 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10342 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10343 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10344 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10345 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10346 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10347 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10348 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10349 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10350 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10352 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10354 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10355 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10356 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10358 2012-07-25 Florian Weimer <fweimer@redhat.com>
10360 * Versions.def: Add GLIBC_2.17.
10361 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10362 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10363 Introduce __libc_secure_getenv.
10364 * stdlib/Versions (2.17): Add secure_getenv
10365 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10366 * stdlib/secure-getenv.c: Rename __secure_getenv to
10367 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10368 symbol __secure_getenv for GLIBC_2.0.
10369 * stdlib/tst-secure-getenv.c: New.
10370 * stdlib/Makefile (tests): Add testcase.
10371 * manual/startup.texi (Environment Access): Document
10373 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10374 __libc_secure_getenv.
10375 * inet/ruserpass.c (ruserpass): Likewise.
10376 * malloc/mtrace.c (mtrace): Likewise.
10377 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10378 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10379 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10380 * sysdeps/posix/tempname.c: Likewise. Evaluate
10381 HAVE_SECURE_GETENV.
10382 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10383 __secure_getenv to __libc_secure_getenv.
10384 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10397 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10399 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10400 (struct La_i86_retval): Likewise.
10401 (struct La_x86_64_regs): Likewise.
10402 (struct La_x86_64_retval): Likewise.
10403 (struct La_x32_regs): Likewise.
10404 (struct La_x32_retval): Likewise.
10405 (struct La_ppc32_regs): Likewise.
10406 (struct La_ppc32_retval): Likewise.
10407 (struct La_ppc64_regs): Likewise.
10408 (struct La_ppc64_retval): Likewise.
10409 (struct La_sh_regs): Likewise.
10410 (struct La_sh_retval): Likewise.
10411 (struct La_s390_32_regs): Likewise.
10412 (struct La_s390_32_retval): Likewise.
10413 (struct La_s390_64_regs): Likewise.
10414 (struct La_s390_64_retval): Likewise.
10415 (struct La_sparc32_regs): Likewise.
10416 (struct La_sparc32_retval): Likewise.
10417 (struct La_sparc64_regs): Likewise.
10418 (struct La_sparc64_retval): Likewise.
10419 (struct audit_ifaces): Remove architecture-specific pltenter and
10421 * sysdeps/i386/ldsodefs.h: New file.
10422 * sysdeps/powerpc/ldsodefs.h: Likewise.
10423 * sysdeps/s390/ldsodefs.h: Likewise.
10424 * sysdeps/sh/ldsodefs.h: Likewise.
10425 * sysdeps/sparc/ldsodefs.h: Likewise.
10426 * sysdeps/x86_64/ldsodefs.h: Likewise.
10428 2012-07-25 Marek Polacek <polacek@redhat.com>
10431 * math/libm-test.inc (yn_test): Add another test.
10432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10433 to ERANGE when the result is +-Inf.
10434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10435 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10436 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10437 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10439 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10441 * conform/data/time.h-data (NULL): Use macro-constant. Require
10443 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10445 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10447 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10449 * configure.in <sysdeps resolving>: Correct printing
10451 * configure: Regenerate.
10453 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10455 * math/w_ilogb.c: Include <limits.h>.
10456 * math/w_ilogbl.c: Likewise.
10458 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10460 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10461 va_copy. Document allowing for unavailable va_copy only as
10462 pre-C99 compatibility.
10463 * manual/string.texi (Copying and Concatenation): Use va_copy
10464 instead of __va_copy in concat example.
10466 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10468 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10469 (__sendto): Use create_address_port. Initialize APORT and deallocate
10472 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10473 with O_NOLINK passed to __file_name_lookup.
10475 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10476 with O_NOLINK passed to __file_name_lookup.
10478 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10479 negative N or less than NGIDS.
10481 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10482 type to string_t. Set ERANGE as errno and return it if NAME is not big
10483 enough. Use memcpy instead of strncpy.
10485 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10487 * elf/Makefile (check-data): Remove.
10488 (localplt.data): New vpath directive.
10489 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10490 instead of $(check-data).
10491 * scripts/data/localplt-generic.data: Move to ...
10492 * sysdeps/generic/localplt.data: ... here.
10493 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10494 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10495 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10498 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10501 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10504 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10507 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10510 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10514 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10516 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10517 PPC32 and PPC64 files.
10518 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10519 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10521 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10523 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10524 __makecontext_ret to ...
10525 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10526 ... here and call exit if uc_link is NULL. New file.
10527 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10528 __makecontext_ret.S.
10529 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10530 __makecontext_ret to ...
10531 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10532 ... here and call exit if uc_link is NULL. New file.
10533 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10534 __makecontext_ret.S.
10536 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10538 * elf/elf.h (R_390_IRELATIVE): New definition.
10539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10540 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10541 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10542 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10543 (elf_machine_lazy_rel): Likewise.
10544 * sysdeps/s390/dl-irel.h: New file.
10545 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10546 * sysdeps/s390/s390-64/memset.S: New asm code.
10547 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10548 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10549 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10550 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10551 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10552 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10553 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10554 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10555 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10556 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10557 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10558 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10559 * sysdeps/s390/s390-32/memset.S: New asm code.
10560 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10562 2012-07-17 Marek Polacek <polacek@redhat.com>
10565 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10566 * sysdeps/s390/s390-64/configure.in: Likewise.
10567 * sysdeps/sparc/configure.in: Likewise.
10568 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10569 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10570 * sysdeps/i386/configure.in: Likewise.
10571 * sysdeps/x86_64/configure.in: Likewise.
10572 * sysdeps/sh/configure.in: Likewise.
10573 * sysdeps/s390/s390-32/configure: Regenerated.
10574 * sysdeps/s390/s390-64/configure: Likewise.
10575 * sysdeps/x86_64/configure: Likewise.
10576 * sysdeps/sh/configure: Likewise.
10577 * sysdeps/powerpc/powerpc64/configure: Likewise.
10578 * sysdeps/powerpc/powerpc32/configure: Likewise.
10579 * sysdeps/sparc/configure: Likwise.
10580 * sysdeps/i386/configure: Likewise.
10582 * elf/dl-open.c: Comment fixes.
10584 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10586 * Makefile [CXX] (check-data): Remove.
10587 [CXX] (c++-types.data): New vpath directive.
10588 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10589 vpath. Do not allow for C++ type data being missing.
10590 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10591 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10592 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10593 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10594 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10595 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10596 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10599 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10602 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10605 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10608 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10611 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10614 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10617 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10620 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10621 definitions to architecture-specific files.
10622 (TLS_IE): Likewise.
10623 (TLS_LD): Likewise.
10624 (TLS_GD): Likewise.
10625 * sysdeps/i386/tls-macros.h: New file.
10626 * sysdeps/powerpc/tls-macros.h: Likewise.
10627 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10628 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10629 * sysdeps/sh/tls-macros.h: Likewise.
10630 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10631 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10632 * sysdeps/x86_64/tls-macros.h: Likewise.
10634 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10637 zero value for regular exit case.
10639 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10640 (__start_context): Preserve zero value for regular exit case.
10642 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10643 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10645 * manual/setjmp.texi (setcontext): Clarify normal process
10646 termination when uc_link is the null pointer.
10647 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10650 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10652 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10653 preprocessor. Test for each exception mask separately.
10655 2012-07-16 Andreas Jaeger <aj@suse.de>
10657 * po/ru.po: Update from translation team.
10659 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10661 * conform/data/string.h-data (NULL): Use macro-constant. Require
10663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10664 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10665 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10666 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10669 2012-07-13 Andreas Jaeger <aj@suse.de>
10671 * po/fr.po: Update from translation team.
10673 2012-07-12 Marek Polacek <polacek@redhat.com>
10676 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10677 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10680 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10683 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10684 Change to 2.4.1 where previously 2.4.0.
10685 * sysdeps/unix/sysv/linux/configure: Regenerated.
10686 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10687 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10689 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10690 (__ASSUME_AT_CLKTCK): Remove.
10691 (__ASSUME_AT_PAGESIZE): Likewise.
10692 (__ASSUME_AT_XID): Likewise.
10693 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10694 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10695 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10697 (HAVE_AUX_PAGESIZE): Likewise.
10698 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10699 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10700 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10702 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10706 the temporary buffer used to invoke __gethostbyname2_r,
10707 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10708 host_data / struct gaih_addrtuple.
10709 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10710 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10711 header file nss/nsswitch.h.
10712 * nss/nsswitch.h (global scope): Add definition of implementation
10713 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10714 resolv/nss_dns/dns-host.c).
10716 2012-07-11 Andreas Jaeger <aj@suse.de>
10718 * po/fr.po: Update from translation team.
10720 * po/sv.po: Update from translation team
10721 * po/fr.po: Another update from translation team.
10723 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10726 for subnormals or multiply small sinh result by itself.
10727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10730 2012-07-11 David S. Miller <davem@davemloft.net>
10732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10734 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10737 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10738 (INTERNAL_MARK): Shift it here.
10740 2012-07-10 Marek Polacek <polacek@redhat.com>
10743 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10744 libc_cv_asm_global_directive with .globl.
10745 * configure: Regenerated.
10746 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10748 * sysdeps/i386/configure: Regenerated.
10749 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10751 * sysdeps/x86_64/configure: Regenerated.
10752 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10753 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10754 * elf/tst-unique2mod2.c: Likewise.
10755 * elf/tst-unique2mod1.c: Likewise.
10756 * elf/tst-unique1mod2.c: Likewise.
10757 * elf/tst-unique1mod1.c: Likewise.
10758 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10759 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10761 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10762 * sysdeps/mach/sysdep.h: Likewise.
10763 * sysdeps/i386/sysdep.h: Likewise.
10764 * sysdeps/i386/i386-mcount.S: Likewise.
10765 * sysdeps/x86_64/_mcount.S: Likewise.
10766 * sysdeps/x86_64/sysdep.h: Likewise.
10767 * sysdeps/sh/_mcount.S: Likewise.
10768 * sysdeps/sh/sysdep.h: Likewise.
10769 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10770 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10771 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10772 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10773 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10774 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10775 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10776 * locale/localeinfo.h: Likewise.
10777 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10778 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10780 2012-07-09 Roland McGrath <roland@hack.frob.com>
10783 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10785 * manual/message.texi (The Uniforum approach): Likewise.
10786 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10787 (glibc iconv Implementation): Likewise.
10789 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10792 * math/s_clog.c (__clog): Avoid scaling a value down where that
10793 could result in underflow.
10794 * math/s_clog10.c (__clog10): Likewise.
10795 * math/s_clog10f.c (__clog10f): Likewise.
10796 * math/s_clog10l.c (__clog10l): Likewise.
10797 * math/s_clogf.c (__clogf): Likewise.
10798 * math/s_clogl.c (__clogl): Likewise.
10799 * math/libm-test.inc (clog_test): Add more tests.
10800 (clog10_test): Likewise.
10801 * sysdeps/i386/fpu/libm-test-ulps: Update.
10802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10804 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10807 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10808 by 7 not 8 to examine high bit of fractional part.
10811 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10812 for call to __mcount_internal.
10813 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10814 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10815 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10817 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10820 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10821 approximation for values within 0x1p-13f of an odd multiple of
10823 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10824 exception. Add more tests.
10825 * sysdeps/i386/fpu/libm-test-ulps: Update.
10828 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10829 inputs and return -1 for them. Do not check for +Inf in case not
10830 reachable for +Inf.
10831 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10832 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10834 and return -1 for them. Do not check for +Inf in case not
10835 reachable for +Inf.
10836 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10838 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10839 and return -1 for them. Do not check for +Inf in case not
10840 reachable for +Inf.
10841 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10842 spurious underflow.
10843 * sysdeps/i386/fpu/libm-test-ulps: Update.
10844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10846 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10848 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10850 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10854 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10855 could result in spurious underflow. Scale down values above
10856 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10857 * math/s_csqrtf.c (__csqrtf): Likewise.
10858 * math/s_csqrtl.c (__csqrtl): Likewise.
10859 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10860 spurious underflow.
10861 * sysdeps/i386/fpu/libm-test-ulps: Update.
10862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10864 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10866 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10868 * catgets/xopen-msg.awk: New file.
10869 * catgets/xopen-msg.sed: Removed.
10871 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10873 * intl/po2test.awk: New file.
10874 * intl/po2test.sed: Removed.
10876 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10879 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10880 or multiply small sinh result by itself.
10881 * math/s_ctanf.c (__ctanf): Likewise.
10882 * math/s_ctanh.c (__ctanh): Likewise.
10883 * math/s_ctanhf.c (__ctanhf): Likewise.
10884 * math/s_ctanhl.c (__ctanhl): Likewise.
10885 * math/s_ctanl.c (__ctanl): Likewise.
10886 * math/libm-test.inc (ctan_test_tonearest): New function.
10887 (ctan_test_towardzero): Likewise.
10888 (ctan_test_downward): Likewise.
10889 (ctan_test_upward): Likewise.
10890 (ctanh_test_tonearest): Likewise.
10891 (ctanh_test_towardzero): Likewise.
10892 (ctanh_test_downward): Likewise.
10893 (ctanh_test_upward): Likewise.
10894 (main): Call these new functions.
10895 * sysdeps/i386/fpu/libm-test-ulps: Update.
10896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10898 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10900 * .gitignore: Delete /ports entry.
10902 2012-07-03 Andreas Jaeger <aj@suse.de>
10904 * po/bg.po: Update from translation team.
10905 * po/cs.po: Likewise.
10906 * po/de.po: Likewise.
10907 * po/hr.po: Likewise.
10908 * po/nl.pl: Likewise.
10909 * po/pl.po: Likewise.
10910 * po/vi.po: Likewise.
10912 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10914 * Makeconfig [!+link] (+link-before-libc): New variable.
10915 [!+link] (+link-after-libc): Likewise.
10916 [!+link] (+link-tests): Likewise.
10917 [!+link] (+link): Define in terms of $(+link-before-libc) and
10918 $(+link-after-libc).
10919 [!+link-static] (+link-static-before-libc): New variable.
10920 [!+link-static] (+link-static-after-libc): Likewise.
10921 [!+link-static] (+link-static-tests): Likewise.
10922 [!+link-static] (+link-static): Define in terms of
10923 $(+link-static-before-libc) and $(+link-static-after-libc).
10924 [build-shared] (link-libc-before-gnulib): New variable.
10925 [build-shared] (link-libc-tests): Likewise.
10926 [build-shared] (link-libc): Define in terms of
10927 $(link-libc-before-gnulib).
10928 [!build-shared] (link-libc-tests): New variable.
10929 (link-libc-static-tests): New variable.
10930 [!gnulib] (gnulib-arch): New variable.
10931 [!gnulib] (gnulib-tests): Likewise.
10932 [!gnulib] (static-gnulib-arch): Likewise.
10933 [!gnulib] (static-gnulib-tests): Likewise.
10934 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10935 Define with "=" instead of ":=".
10936 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10937 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10938 * Rules (binaries-all-notests): New variable.
10939 (binaries-all-tests): Likewise.
10940 (binaries-static-notests): Likewise.
10941 (binaries-static-tests): Likewise.
10942 (binaries-all): Define using $(binaries-all-notests) and
10943 $(binaries-all-tests).
10944 (binaries-static): Define using $(binaries-static-notests) and
10945 $(binaries-static-tests).
10946 (binaries-shared-tests): New variable.
10947 (binaries-shared-notests): Likewise.
10948 (binaries-shared): Remove variable.
10949 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10950 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10951 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10952 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10953 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10954 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10955 * elf/Makefile (sln-modules): New variable.
10956 (extra-objs): Add $(sln-modules:=.o).
10957 (ldconfig-modules): Add static-stubs.
10958 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10959 * elf/static-stubs.c: New file.
10962 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10963 by 7 not 8 to examine high bit of fractional part. Use volatile
10964 variables when splitting into final array of floats if
10965 __FLT_EVAL_METHOD__ != 0.
10966 * math/libm-test.inc (cos_test): Add another test.
10967 (sin_test): Likewise.
10968 * sysdeps/i386/fpu/libm-test-ulps: Update.
10971 * math/libm-test.inc (cosh_test): Add more tests.
10973 * version.h (RELEASE): Set to "development".
10974 (VERSION): Set to "2.16.90".
10976 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10978 * NEWS: Update copyright. Remove last-updated date.
10979 Mention math library bug fixes and timezone data changes.
10980 * README: Mention GNU/Hurd, x32, and HPPA support status.
10982 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10984 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10986 2012-06-27 Andreas Jaeger <aj@suse.de>
10988 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10990 2012-06-25 Andreas Jaeger <aj@suse.de>
10992 * sysdeps/s390/fpu/libm-test-ulps: Update.
10994 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10995 Thomas Schwinge <thomas@codesourcery.com>
10997 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10998 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10999 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11002 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11004 * sysdeps/mach/start.c: Remove file.
11005 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11006 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11007 * sysdeps/sh/init-first.c: Likewise.
11009 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11010 registers for frame unwinding purposes, add CFI directives.
11011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11013 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11016 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11017 __fortify_fail returning.
11018 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11020 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11021 sysdeps/sh/____longjmp_chk.S.
11022 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11023 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11024 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11025 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11027 * sysdeps/sh/abort-instr.h: New file.
11028 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11029 process in case exit returns.
11031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11032 initialize the GOT register before use.
11034 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11035 calculation of ARGC > 4.
11037 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11038 meaningful names to some local labels.
11040 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11041 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11043 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11044 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11045 (__arch_compare_and_exchange_val_16_acq): Likewise.
11046 (__arch_compare_and_exchange_val_32_acq): Likewise.
11047 (atomic_exchange_and_add): Fix gUSA sequence.
11048 (atomic_add): Likewise.
11049 (atomic_add_negative): Likewise.
11050 (atomic_add_zero): Likewise.
11051 (atomic_bit_test_set): Likewise.
11053 2012-06-22 Andreas Schwab <schwab@redhat.com>
11056 * include/link.h (struct link_map): Add l_free_initfini.
11057 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11059 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11060 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11061 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11064 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11066 * configure.in: Use AC_LANG_SOURCE.
11067 * configure: Regenerate.
11069 2012-06-22 Roland McGrath <roland@hack.frob.com>
11071 * configure.in (libc_cv_localstatedir): New substituted variable.
11072 * configure: Regenerated.
11073 * config.make.in (localstatedir): New variable, substituted from
11074 libc_cv_localstatedir.
11075 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11076 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11077 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11078 * sysdeps/gnu/configure: Regenerated.
11080 2012-06-21 Jeff Law <law@redhat.com>
11083 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11084 free. Simplify list management for _LIBC case.
11086 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11090 Clear sign bit of 64-bit integer value before comparing against
11093 * sysdeps/mach/configure: Regenerated.
11095 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11098 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11100 2012-06-21 Jeff Law <law@redhat.com>
11103 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11104 uint16_t for elements in the "seen" array to avoid char overflows.
11105 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11106 * elf/dl-open.c (dl_open_worker): Likewise.
11108 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11110 * scripts/list-sources.sh: Scan PORTS for translations.
11111 * po/libc.pot: Regenerated.
11113 2012-06-21 Andreas Jaeger <aj@suse.de>
11116 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11118 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11119 * bits/byteswap-16.h (__bswap_16): Likewise.
11120 * bits/byteswap.h (__bswap_constant_16): Likewise.
11122 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11125 * sysdeps/i386/fpu_control.h: Removed.
11126 * sysdeps/x86_64/fpu_control.h: Moved to ...
11127 * sysdeps/x86/fpu_control.h: Here.
11129 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11130 (_FPU_SETCW): Likewise.
11132 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11135 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11136 * sysdeps/x86/fpu/bits/mathinline.h: This.
11137 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11141 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11142 functions if __x86_64__ is defined.
11144 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11146 * string/endian.h: Add !__ASSEMBLER__ condition for including
11147 conversion interfaces.
11149 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11153 of ABS(x) in calculating zero to negative powers other than odd
11155 * math/libm-test.inc (pow_test): Add more tests.
11157 2012-06-15 Andreas Jaeger <aj@suse.de>
11159 * manual/contrib.texi (Contributors): Update entry of Liubov
11160 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11163 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11165 * string/string.h: Add __wur to GNU version of strerror_r.
11167 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11170 * string/Makefile (tests): Add tst-strtok_r.
11171 * string/tst-strtok_r.c: New file.
11172 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11173 RAX_LP/RDX_LP on SAVE_PTR.
11175 2012-06-14 Roland McGrath <roland@hack.frob.com>
11177 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11179 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11181 * libm_test.inc (csqrt_test): Allow more spurious underflow
11183 (j0_test): Likewise.
11184 (j1_test): Likewise.
11185 (y0_test): Likewise.
11186 (y1_test): Likewise.
11188 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11190 * po/Makefile (libc.pot): Use UTF-8 charset.
11192 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11195 Suppress sign-conversion warning from FD_SET.
11196 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11197 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11198 not unsigned long int.
11199 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11201 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11205 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11206 __extern_always_inline instead of __extern_inline.
11207 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11208 (__signbit): Likewise.
11209 (__signbitl): Support C++ namespace.
11210 (lrintf): New inline function.
11212 (llrintf): Likewise.
11213 (llrint): Likewise.
11223 (floorf): Likewise.
11224 (nearbyint): Likewise.
11225 (nearbyintf): Likewise.
11227 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11230 non-default versions.
11232 2012-06-11 Roland McGrath <roland@hack.frob.com>
11235 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11237 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11239 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11240 (FE_UPWARD, FE_DOWNWARD): Don't define.
11241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11242 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11244 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11246 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11249 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11251 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11252 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11253 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11254 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11256 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11259 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11260 * sysdeps/i386/fpu/Implies: New file.
11261 * sysdeps/x86_64/fpu/Implies: Likewise.
11262 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11263 * sysdeps/x86/fpu/bits/fenv.h: This.
11265 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11268 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11271 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11272 character 0xffff that matches the last element of the
11275 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11280 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11283 values higher than 25.6283.
11285 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11288 subnormal exponent extraction and add some __builtin_expect.
11289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11290 Fix for subnormal mantissa calculation.
11292 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11294 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11295 cpu2 is -1 and errno is not ENOSYS.
11297 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11300 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11301 * sysdeps/x86/bits/string.h: This.
11302 * sysdeps/x86_64/bits/string.h: Removed.
11304 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11305 if not compiling for x86-64, but compiling for >= i486.
11307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11308 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11310 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11311 New macro from Linux kernel 3.4.0.
11312 (FP_XSTATE_MAGIC2): Likewise.
11313 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11314 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11315 (struct _fpx_sw_bytes): New struct.
11316 (struct _xsave_hdr): Likewise.
11317 (struct _ymmh_state): Likewise.
11318 (struct _xstate): Likewise.
11320 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11321 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11323 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11324 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11325 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11327 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11328 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11329 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11330 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11331 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11332 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11334 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11337 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11338 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11339 (sysdep_headers): Include sys/platform/ppc.h.
11340 * sysdeps/powerpc/test-gettimebase.c: Test for
11341 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11342 * manual/Makefile (appendices): Include platform.texi.
11343 * manual/contrib.texi (Contributors): Update @node pointers.
11344 * manual/maint.texi (Maintenance): Likewise.
11345 (Platform): New node.
11346 * manual/platform.texi: New file. Document the new features.
11348 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11349 Jakub Jelinek <jakub@redhat.com>
11352 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11353 where __builtin_expect is unavailable.
11355 2012-06-03 David S. Miller <davem@davemloft.net>
11357 * stdlib/longlong.h: Updated from GCC.
11359 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11362 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11363 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11366 (GLIBC_2.16): Likewise.
11368 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11372 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11375 (default-abi): New variable.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11377 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11379 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11381 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11383 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11386 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11387 definition. Document in comment.
11389 2012-06-01 David S. Miller <davem@davemloft.net>
11391 * stdlib/longlong.h: Updated from GCC.
11393 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11396 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11397 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11398 sys/debugreg.h sys/io.h here.
11399 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11400 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11402 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11403 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11404 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11405 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11406 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11407 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11409 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11410 Define only if __x86_64__ is defined.
11412 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11415 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11416 Use int64_t for variable i.
11417 * math/libm-test.inc (fmod_test): Add more tests.
11419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11420 z computation is not scheduled after fetestexcept.
11421 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11422 Use math_force_eval instead of asm to ensure calculation scheduled
11423 before exception test.
11424 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11425 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11427 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11430 computation is not scheduled after fetestexcept.
11432 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11435 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11436 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11438 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11440 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11441 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11443 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11446 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11448 (__WCHAR_MIN): Support __WORDSIZE == 64.
11449 (__WCHAR_MAX): Likewise.
11451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11452 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11455 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11456 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11459 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11460 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11462 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11463 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11465 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11466 Defined to 1 if __x86_64__ isn't defined.
11467 (_STAT_VER_LINUX_OLD): New.
11468 (st_atime): Remove duplicate.
11469 (st_mtime): Likewise.
11470 (st_ctime): Likewise.
11472 2012-05-31 David S. Miller <davem@davemloft.net>
11474 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11477 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11479 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11483 * elf/dl-reloc.c: Include <_itoa.h>.
11484 (_dl_reloc_bad_type): Remove use of INTUSE.
11485 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11486 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11487 * stdio-common/psiginfo.c (psiginfo): Likewise.
11488 * stdio-common/psignal.c (psignal): Likewise.
11489 * string/strsignal.c (strsignal): Likewise.
11490 * include/signal.h (_sys_siglist): Declare hidden proto.
11491 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11492 INTVARDEF with libc_hidden_data_def.
11493 * stdio-common/itoa-udigits.c: Likewise.
11494 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11495 (_itoa_lower_digits_internal): Remove declaration.
11496 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11497 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11498 (_sys_sigabbrev_internal): Remove aliases.
11499 (_sys_siglist): Define hidden alias.
11501 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11506 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11509 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11510 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11512 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11513 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11514 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11515 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11517 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11519 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11520 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11521 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11523 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11533 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11535 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11536 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11537 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11538 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11539 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11540 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11542 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11543 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11545 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11546 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11548 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11549 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11550 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11552 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11553 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11555 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11557 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11558 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11559 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11561 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11563 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11565 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11567 * math/math.h (M_El): Use two more decimal places.
11568 (M_LOG2El): Likewise.
11569 (M_LOG10El): Likewise.
11570 (M_LN2l): Likewise.
11571 (M_LN10l): Likewise.
11573 (M_PI_2l): Likewise.
11574 (M_PI_4l): Likewise.
11575 (M_1_PIl): Likewise.
11576 (M_2_PIl): Likewise.
11577 (M_2_SQRTPIl): Likewise.
11578 (M_SQRT2l): Likewise.
11579 (M_SQRT1_2l): Likewise.
11581 2012-05-31 David S. Miller <davem@davemloft.net>
11583 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11584 values between float registers.
11585 * sysdeps/sparc/sparc64/memset.S: Likewise.
11586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11588 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11590 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11591 -D_FORTIFY_SOURCE=1.
11592 (CPPFLAGS-tst-longjmp_chk.c): Define.
11593 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11594 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11595 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11596 CFLAGS-tst-wchar-h.c.
11598 2012-05-31 Marek Polacek <polacek@redhat.com>
11601 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11602 __endmntent_internal): Remove declaration.
11603 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11604 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11605 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11607 2012-05-30 David S. Miller <davem@davemloft.net>
11609 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11610 (___Q_simulate_exceptions): Use real FP ops rather than writing
11612 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11615 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11618 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11619 * sysdeps/x86/bits/xtitypes.h: This.
11621 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11622 * sysdeps/x86/bits/wordsize.h: This.
11624 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11625 * sysdeps/x86/bits/huge_vall.h: This.
11627 * sysdeps/i386/bits/select.h: Removed.
11628 * sysdeps/x86_64/bits/select.h: Renamed to ...
11629 * sysdeps/x86/bits/select.h: This.
11631 * sysdeps/i386/bits/setjmp.h: Removed.
11632 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11633 * sysdeps/x86/bits/setjmp.h: This.
11635 * sysdeps/i386/bits/mathdef.h: Removed.
11636 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11637 * sysdeps/x86/bits/mathdef.h: This.
11639 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11642 * include/sys/socket.h (__connect_internal)
11643 (__libc_sa_len_internal): Remove declaration.
11644 (__connect, __libc_sa_len): Declare hidden_proto.
11645 (SA_LEN): Remove use of INTUSE.
11646 * socket/connect.c: Add libc_hidden_def.
11647 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11648 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11649 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11651 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11652 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11653 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11654 of adding _internal alias.
11656 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11659 * sysdeps/i386/bits/link.h: Removed.
11660 * sysdeps/i386/bits/linkmap.h: Likewise.
11661 * sysdeps/x86_64/bits/link.h: Renamed to ...
11662 * sysdeps/x86/bits/link.h: This.
11663 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11664 * sysdeps/x86/bits/linkmap.h: This.
11666 * sysdeps/i386/bits/endian.h: Removed.
11667 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11668 * sysdeps/x86/bits/endian.h: This.
11670 * sysdeps/i386/bits/byteswap.h: Removed.
11671 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11672 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11673 * sysdeps/x86/bits/byteswap.h: This.
11674 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11675 * sysdeps/x86/bits/byteswap-16.h: This.
11676 * sysdeps/i386/Implies: Add x86.
11677 * sysdeps/x86_64/Implies: Likewise.
11679 2012-05-30 David S. Miller <davem@davemloft.net>
11681 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11682 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11684 (FP_TRAPPING_EXCEPTIONS): Define.
11685 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11686 (FP_TRAPPING_EXCEPTIONS): Define.
11687 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11688 subnormals only when inexact has been signalled or underflow
11689 exceptions are enabled.
11690 (_FP_PACK_CANONICAL): Likewise.
11692 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11695 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11696 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11698 2012-05-30 Richard Henderson <rth@twiddle.net>
11700 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11701 with #ifndef NOT_IN_libc.
11703 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11704 marked to avoid plt entry.
11706 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11709 * Makeconfig (default-abi): New macro.
11710 (abi-includes): Likewise.
11711 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11712 $(abi-$(default-abi)-lib-soname) for soname if defined.
11713 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11715 * Makefile (installed-stubs): Likewise.
11716 * include/stubs-biarch.h: Removed.
11717 * scripts/lib-names.awk: Only handle one library at a time.
11718 * scripts/soversions.awk: Remove WORDSIZE support.
11719 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11721 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11723 (syscall-list-default-condition): Likewise.
11724 (syscall-list-default-condition): Likewise.
11725 (syscall-list-includes): Likewise.
11726 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11727 syscall-list-* with abi-*. Handle undefined abi-variants.
11728 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11729 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11730 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11731 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11732 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11733 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11735 (syscall-list-32-options): Likewise.
11736 (syscall-list-32-condition): Likewise.
11737 (syscall-list-64-options): Likewise.
11738 (syscall-list-64-condition): Likewise.
11739 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11741 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11744 (abi-64-ld-soname): New macro.
11745 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11746 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11749 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11750 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11752 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11754 * sysdeps/unix/sysv/linux/kernel-features.h
11755 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11756 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11757 include <kernel-features.h>.
11758 [!__NR_ftruncate64]: Remove conditional code.
11759 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11760 [__NR_ftruncate64]: Make code unconditional.
11761 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11762 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11763 include <kernel-features.h>.
11764 [!__NR_ftruncate64]: Remove conditional code.
11765 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11766 [__NR_ftruncate64]: Make code unconditional.
11767 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11769 include <kernel-features.h>.
11770 [!__NR_ftruncate64]: Remove conditional code.
11771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11772 [__NR_ftruncate64]: Make code unconditional.
11773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11775 include <kernel-features.h>.
11776 [!__NR_ftruncate64]: Remove conditional code.
11777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11778 [__NR_ftruncate64]: Make code unconditional.
11779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11781 * configure.in (libc_cv_fpie): Weaken to a compile test using
11782 LIBC_TRY_CC_OPTION.
11783 * configure: Regenerated.
11785 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11800 2012-05-27 David S. Miller <davem@davemloft.net>
11802 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11804 (__Q_simulate_exceptions): Return void. Change to simulate
11805 exceptions by writing into the %fsr.
11806 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11807 (__Qp_handle_exceptions): Likewise.
11809 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11810 __Qp_handle_exceptions.
11811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11812 __Qp_handle_exceptions.
11813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11814 as unused and give dummy FP_RND_NEAREST initializer.
11815 (FP_INHIBIT_RESULTS): Define.
11816 (___Q_simulate_exceptions): Update declaration.
11817 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11819 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11820 as unused and give dummy FP_RND_NEAREST initializer.
11821 (__Qp_handle_exceptions): Update declaration.
11822 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11825 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11827 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11828 the temporary FPU control word.
11829 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11830 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11831 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11832 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11833 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11834 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11835 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11836 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11837 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11838 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11841 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11843 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11846 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11848 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11849 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11850 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11851 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11853 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11854 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11857 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11859 * po/h.po: Update from translation team.
11861 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11863 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11865 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11866 handling of denormals.
11867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11868 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11869 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11870 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11876 2012-05-26 Marek Polacek <polacek@redhat.com>
11879 * math/libm-test.inc (fma_test): Don't always expect underflow
11882 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11885 * elf/tst-execstack.c: Include stackinfo.h.
11886 (do_test): Adjust test case to ensure that pthread_getattr_np
11887 behaviour remains the same after marking stack executable.
11889 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11891 * sysdeps/unix/sysv/linux/kernel-features.h
11892 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11893 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11895 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11896 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11897 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11899 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11900 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11902 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11904 * configure.in: Define the default includes to being none.
11905 * configure: Regenerated.
11907 2012-05-25 Roland McGrath <roland@hack.frob.com>
11909 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11910 * sysdeps/x86_64/setjmp.S: Likewise.
11911 * sysdeps/i386/bsd-setjmp.S: Likewise.
11912 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11913 * sysdeps/i386/setjmp.S: Likewise.
11914 * sysdeps/i386/__longjmp.S: Likewise.
11915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11916 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11918 * include/stap-probe.h: New file.
11919 * configure.in: Handle --enable-systemtap.
11920 * configure: Regenerated.
11921 * config.h.in (USE_STAP_PROBE): New #undef.
11922 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11923 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11924 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11926 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11929 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11930 to 2.4.0 where earlier.
11931 * sysdeps/unix/sysv/linux/configure: Regenerated.
11932 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11933 <kernel-features.h>.
11934 [__ASSUME_32BITUIDS]: Make code unconditional.
11935 [!__ASSUME_32BITUIDS]: Remove conditional code.
11936 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11937 <kernel-features.h>.
11938 [__ASSUME_32BITUIDS]: Make code unconditional.
11939 [!__ASSUME_32BITUIDS]: Remove conditional code.
11940 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11941 [__ASSUME_32BITUIDS]: Make code unconditional.
11942 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11943 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11944 <kernel-features.h>.
11945 [__ASSUME_32BITUIDS]: Make code unconditional.
11946 [!__ASSUME_32BITUIDS]: Remove conditional code.
11947 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11948 <kernel-features.h>.
11949 [__ASSUME_32BITUIDS]: Make code unconditional.
11950 [!__ASSUME_32BITUIDS]: Remove conditional code.
11951 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11952 <kernel-features.h>.
11953 [__ASSUME_32BITUIDS]: Make code unconditional.
11954 [!__ASSUME_32BITUIDS]: Remove conditional code.
11955 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11956 <kernel-features.h>.
11957 [__ASSUME_32BITUIDS]: Make code unconditional.
11958 [!__ASSUME_32BITUIDS]: Remove conditional code.
11959 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11960 <kernel-features.h>.
11961 [__ASSUME_32BITUIDS]: Make code unconditional.
11962 [!__ASSUME_32BITUIDS]: Remove conditional code.
11963 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11964 <kernel-features.h>.
11965 [__ASSUME_32BITUIDS]: Make code unconditional.
11966 [!__ASSUME_32BITUIDS]: Remove conditional code.
11967 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11968 <kernel-features.h>.
11969 [__ASSUME_32BITUIDS]: Make code unconditional.
11970 [!__ASSUME_32BITUIDS]: Remove conditional code.
11971 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11972 <kernel-features.h>.
11973 [__ASSUME_32BITUIDS]: Make code unconditional.
11974 [!__ASSUME_32BITUIDS]: Remove conditional code.
11975 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11976 <kernel-features.h>.
11977 [__ASSUME_32BITUIDS]: Make code unconditional.
11978 [!__ASSUME_32BITUIDS]: Remove conditional code.
11979 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11980 <kernel-features.h>.
11981 [__ASSUME_32BITUIDS]: Make code unconditional.
11982 [!__ASSUME_32BITUIDS]: Remove conditional code.
11983 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11984 <kernel-features.h>.
11985 [__NR_setresgid] (__setresgid): Do not declare.
11986 [__ASSUME_32BITUIDS]: Make code unconditional.
11987 [!__ASSUME_32BITUIDS]: Remove conditional code.
11988 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11989 <kernel-features.h>.
11990 [__NR_setresuid] (__setresuid): Do not declare.
11991 [__ASSUME_32BITUIDS]: Make code unconditional.
11992 [!__ASSUME_32BITUIDS]: Remove conditional code.
11993 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11994 <kernel-features.h>.
11995 [__ASSUME_32BITUIDS]: Make code unconditional.
11996 [!__ASSUME_32BITUIDS]: Remove conditional code.
11997 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11998 <kernel-features.h>.
11999 [__ASSUME_32BITUIDS]: Make code unconditional.
12000 [!__ASSUME_32BITUIDS]: Remove conditional code.
12001 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12002 <kernel-features.h>.
12003 [__ASSUME_32BITUIDS]: Make code unconditional.
12004 [!__ASSUME_32BITUIDS]: Remove conditional code.
12005 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12006 <kernel-features.h>.
12007 [__ASSUME_32BITUIDS]: Make code unconditional.
12008 [!__ASSUME_32BITUIDS]: Remove conditional code.
12009 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12010 <kernel-features.h>.
12011 [__ASSUME_32BITUIDS]: Make code unconditional.
12012 [!__ASSUME_32BITUIDS]: Remove conditional code.
12013 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12014 <kernel-features.h>.
12015 [__ASSUME_32BITUIDS]: Make code unconditional.
12016 [!__ASSUME_32BITUIDS]: Remove conditional code.
12017 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12018 <kernel-features.h>.
12019 [__ASSUME_32BITUIDS]: Make code unconditional.
12020 [!__ASSUME_32BITUIDS]: Remove conditional code.
12021 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12022 <kernel-features.h>.
12023 [__ASSUME_32BITUIDS]: Make code unconditional.
12024 [!__ASSUME_32BITUIDS]: Remove conditional code.
12025 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12026 <kernel-features.h>.
12027 [__ASSUME_32BITUIDS]: Make code unconditional.
12028 [!__ASSUME_32BITUIDS]: Remove conditional code.
12029 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12030 <kernel-features.h>.
12031 [__ASSUME_32BITUIDS]: Make code unconditional.
12032 [!__ASSUME_32BITUIDS]: Remove conditional code.
12033 * sysdeps/unix/sysv/linux/kernel-features.h
12034 (__ASSUME_SETRESUID_SYSCALL): Remove.
12035 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12036 (__ASSUME_32BITUIDS): Likewise.
12037 (__ASSUME_LDT_WORKS): Likewise.
12038 (__ASSUME_O_DIRECTORY): Likewise.
12039 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12040 architecture but not kernel version.
12041 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12042 (__ASSUME_MMAP2_SYSCALL): Likewise.
12043 (__ASSUME_STAT64_SYSCALL): Likewise.
12044 (__ASSUME_IPC64): Likewise.
12045 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12046 <kernel-features.h>.
12047 [__ASSUME_32BITUIDS]: Make code unconditional.
12048 [!__ASSUME_32BITUIDS]: Remove conditional code.
12049 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12050 <kernel-features.h>.
12051 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12052 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12053 132096]: Remove conditional code.
12054 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12055 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12056 <kernel-features.h>.
12057 [__ASSUME_32BITUIDS]: Make code unconditional.
12058 [!__ASSUME_32BITUIDS]: Remove conditional code.
12059 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12060 <kernel-features.h>.
12061 [__ASSUME_32BITUIDS]: Make code unconditional.
12062 [!__ASSUME_32BITUIDS]: Remove conditional code.
12063 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12064 <kernel-features.h>.
12065 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12067 (__setresgid): Do not declare.
12068 [__ASSUME_32BITUIDS]: Make code unconditional.
12069 [!__ASSUME_32BITUIDS]: Remove conditional code.
12070 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12071 <kernel-features.h>.
12072 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12074 (__setresuid): Do not declare.
12075 [__ASSUME_32BITUIDS]: Make code unconditional.
12076 [!__ASSUME_32BITUIDS]: Remove conditional code.
12077 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12078 <kernel-features.h>.
12079 [__ASSUME_32BITUIDS]: Make code unconditional.
12080 [!__ASSUME_32BITUIDS]: Remove conditional code.
12081 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12082 <kernel-features.h>.
12083 [__ASSUME_32BITUIDS]: Make code unconditional.
12084 [!__ASSUME_32BITUIDS]: Remove conditional code.
12086 2012-05-25 Richard Henderson <rth@twiddle.net>
12088 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12089 dl_hwcap to ifunc resolver.
12090 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12092 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12093 dl_hwcap to ifunc resolver.
12094 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12096 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12099 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12100 for |x| <= 2**-26, not 2**-57.
12101 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12104 2012-05-24 Jeff Law <law@redhat.com>
12106 * stdio-common/Makefile (tests): Add bug25.
12107 * stdio-common/bug25.c: New test.
12109 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12112 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12113 multiple of MALLOC_ALIGNMENT in size.
12114 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12116 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12118 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12120 (FILENAME_MAX): Use macro-int-constant.
12121 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12122 (_IOFBF): Use macro-int-constant.
12123 (_IOLBF): Likewise.
12124 (_IONBF): Likewise.
12125 (SEEK_CUR): Likewise.
12126 (SEEK_END): Likewise.
12127 (SEEK_SET): Likewise.
12128 (TMP_MAX): Likewise.
12129 (EOF): Use macro-int-constant. Require < 0.
12130 (NULL): Use macro-constant. Require == 0.
12131 (stdin): Require type to be FILE *.
12132 (stdout): Likewise.
12133 (stderr): Likewise.
12134 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12135 macro-int-constant.
12136 (EXIT_SUCCESS): Likewise.
12137 (NULL): Use macro-constant. Require == 0.
12138 (RAND_MAX): Use macro-int-constant.
12139 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12140 [C99-based standards] (strtof): Require function.
12141 [C99-based standards] (strtold): Likewise.
12142 [C99-based standards] (strtoll): Likewise.
12143 [C99-based standards] (strtoull): Likewise.
12144 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12145 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12146 [ISO || ISO99 || ISO11] (math.h): Likewise.
12147 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12148 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12151 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12154 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12155 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12156 * intl/dgettext.c (DCGETTEXT): Likewise.
12157 * intl/gettext.c (DCGETTEXT): Likewise.
12158 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12159 * posix/regex_internal.h (gettext): Likewise.
12160 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12161 Remove declaration.
12162 * include/argz.h (__argz_count_internal)
12163 (__argz_stringify_internal): Remove declaration.
12164 (__argz_count, __argz_stringify): Declare hidden proto.
12165 * intl/dcgettext.c: Remove use of INTDEF.
12166 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12167 * string/argz-stringify.c: Likewise.
12168 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12169 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12170 Declare hidden proto.
12171 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12172 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12173 Declare hidden proto.
12174 * include/stdio.h (__asprintf_internal): Don't declare.
12175 (__asprintf): Don't define as macro. Declare hidden proto.
12176 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12177 (__fsetlocking): Declare hidden proto.
12178 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12179 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12181 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12182 (_IO_setlinebuf): Remove use of INTUSE.
12183 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12184 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12185 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12186 Remove declaration.
12187 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12188 (_IO_do_flush): Remove use of INTUSE.
12189 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12190 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12191 (_IO_adjust_column, _IO_least_wmarker)
12192 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12193 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12194 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12195 (_IO_default_doallocate, _IO_wdefault_doallocate)
12196 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12197 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12198 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12199 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12200 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12201 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12202 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12203 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12204 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12205 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12206 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12207 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12208 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12210 (_IO_flush_all_internal, _IO_adjust_column_internal)
12211 (_IO_default_uflow_internal, _IO_default_finish_internal)
12212 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12213 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12214 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12215 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12216 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12217 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12218 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12219 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12220 (_IO_file_close_internal, _IO_file_close_it_internal)
12221 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12222 (_IO_file_init_internal, _IO_file_attach_internal)
12223 (_IO_file_fopen_internal, _IO_file_read_internal)
12224 (_IO_file_sync_internal, _IO_file_seek_internal)
12225 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12226 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12227 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12228 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12229 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12230 (_IO_list_all_internal, _IO_link_in_internal)
12231 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12232 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12233 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12234 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12235 (_IO_do_write_internal, _IO_padn_internal)
12236 (_IO_getline_info_internal, _IO_getline_internal)
12237 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12238 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12239 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12240 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12241 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12242 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12243 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12244 with libc_hidden_ver, remove use of INTUSE.
12245 * libio/genops.c: Likewise.
12246 * libio/freopen.c: Likewise.
12247 * libio/freopen64.c: Likewise.
12248 * libio/iofclose.c: Likewise.
12249 * libio/iofdopen.c: Likewise.
12250 * libio/iofflush.c: Likewise.
12251 * libio/iofflush_u.c: Likewise.
12252 * libio/iofgets.c: Likewise.
12253 * libio/iofgets_u.c: Likewise.
12254 * libio/iofopen.c: Likewise.
12255 * libio/iofopncook.c: Likewise.
12256 * libio/iofread.c: Likewise.
12257 * libio/iofread_u.c: Likewise.
12258 * libio/ioftell.c: Likewise.
12259 * libio/iofwrite.c: Likewise.
12260 * libio/iogetline.c: Likewise.
12261 * libio/iogets.c: Likewise.
12262 * libio/iogetwline.c: Likewise.
12263 * libio/iopadn.c: Likewise.
12264 * libio/iopopen.c: Likewise.
12265 * libio/ioseekoff.c: Likewise.
12266 * libio/ioseekpos.c: Likewise.
12267 * libio/iosetbuffer.c: Likewise.
12268 * libio/iosetvbuf.c: Likewise.
12269 * libio/ioungetc.c: Likewise.
12270 * libio/ioungetwc.c: Likewise.
12271 * libio/iovdprintf.c: Likewise.
12272 * libio/iovsprintf.c: Likewise.
12273 * libio/iovsscanf.c: Likewise.
12274 * libio/memstream.c: Likewise.
12275 * libio/obprintf.c: Likewise.
12276 * libio/oldfileops.c: Likewise.
12277 * libio/oldiofclose.c: Likewise.
12278 * libio/oldiofdopen.c: Likewise.
12279 * libio/oldiofopen.c: Likewise.
12280 * libio/oldiopopen.c: Likewise.
12281 * libio/oldstdfiles.c: Likewise.
12282 * libio/putc.c: Likewise.
12283 * libio/setbuf.c: Likewise.
12284 * libio/setlinebuf.c: Likewise.
12285 * libio/stdfiles.c: Likewise.
12286 * libio/strops.c: Likewise.
12287 * libio/vasprintf.c: Likewise.
12288 * libio/vscanf.c: Likewise.
12289 * libio/vsnprintf.c: Likewise.
12290 * libio/vswprintf.c: Likewise.
12291 * libio/wfiledoalloc.c: Likewise.
12292 * libio/wfileops.c: Likewise.
12293 * libio/wgenops.c: Likewise.
12294 * libio/wmemstream.c: Likewise.
12295 * libio/wstrops.c: Likewise.
12296 * libio/__fpurge.c: Likewise.
12297 * libio/__fsetlocking.c: Likewise.
12298 * assert/assert.c: Likewise.
12299 * debug/fgets_chk.c: Likewise.
12300 * debug/fgets_u_chk.c: Likewise.
12301 * debug/fread_chk.c: Likewise.
12302 * debug/fread_u_chk.c: Likewise.
12303 * debug/gets_chk.c: Likewise.
12304 * debug/obprintf_chk.c: Likewise.
12305 * debug/vasprintf_chk.c: Likewise.
12306 * debug/vdprintf_chk.c: Likewise.
12307 * debug/vsnprintf_chk.c: Likewise.
12308 * debug/vsprintf_chk.c: Likewise.
12309 * malloc/mtrace.c: Likewise.
12310 * misc/error.c: Likewise.
12311 * misc/syslog.c: Likewise.
12312 * stdio-common/asprintf.c: Likewise.
12313 * stdio-common/fxprintf.c: Likewise.
12314 * stdio-common/getw.c: Likewise.
12315 * stdio-common/isoc99_fscanf.c: Likewise.
12316 * stdio-common/isoc99_scanf.c: Likewise.
12317 * stdio-common/isoc99_vfscanf.c: Likewise.
12318 * stdio-common/isoc99_vscanf.c: Likewise.
12319 * stdio-common/isoc99_vsscanf.c: Likewise.
12320 * stdio-common/printf-prs.c: Likewise.
12321 * stdio-common/printf_fp.c: Likewise.
12322 * stdio-common/printf_fphex.c: Likewise.
12323 * stdio-common/printf_size.c: Likewise.
12324 * stdio-common/putw.c: Likewise.
12325 * stdio-common/scanf.c: Likewise.
12326 * stdio-common/sprintf.c: Likewise.
12327 * stdio-common/tmpfile.c: Likewise.
12328 * stdio-common/vfprintf.c: Likewise.
12329 * stdio-common/vfscanf.c: Likewise.
12330 * stdlib/strfmon_l.c: Likewise.
12331 * sunrpc/openchild.c: Likewise.
12332 * sunrpc/xdr_stdio.c: Likewise.
12333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12334 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12336 2012-05-24 Roland McGrath <roland@hack.frob.com>
12338 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12340 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12341 in the third column, to generate for the shared library an IFUNC
12342 that uses _dl_vdso_vsym.
12343 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12344 * Makeconfig (object-suffixes-noshared): New variable.
12346 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12347 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12348 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12349 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12352 * include/sys/time.h (__gettimeofday): Remove macro.
12353 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12354 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12356 (__gettimeofday): Add libc_hidden_def.
12357 (gettimeofday): Add libc_hidden_weak.
12358 * sysdeps/mach/gettimeofday.c: Likewise.
12359 * sysdeps/posix/gettimeofday.c: Likewise.
12360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12361 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12363 (__gettimeofday_internal): Remove strong_alias.
12364 (__gettimeofday): Add libc_hidden_def.
12365 (gettimeofday): Add libc_hidden_weak.
12366 * sysdeps/unix/syscalls.list (gettimeofday):
12367 Remove __gettimeofday_internal alias.
12369 2012-05-24 Daniel Jacobowitz <drow@false.org>
12370 H.J. Lu <hongjiu.lu@intel.com>
12373 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12374 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12375 (largebin_index_32_big): New.
12376 (largebin_index): Use it for 16-byte alignment.
12377 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12378 correction with front_misalign.
12380 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12408 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12409 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12411 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12415 * math/libm-test.inc (exp_test): Add test from bug 14036.
12416 (pow_test): Add test from bug 10846.
12418 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12420 (special_function): Do not include flags in test name.
12421 (parse_args): Likewise.
12422 * sysdeps/i386/fpu/libm-test-ulps: Update.
12423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12424 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12425 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12428 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12430 * math/libm-test.inc ("Philosophy"): Update comment about
12432 (UNDERFLOW_EXCEPTION): New macro.
12433 (UNDERFLOW_EXCEPTION_OK): Likewise.
12434 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12435 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12436 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12437 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12438 (INVALID_EXCEPTION_OK): Update value.
12439 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12440 (OVERFLOW_EXCEPTION_OK): Likewise.
12441 (IGNORE_ZERO_INF_SIGN): Likewise.
12442 (test_exceptions): Handle underflow exceptions.
12443 (acos_test): Update for underflow exception expectations.
12444 (cexp_test): Likewise.
12445 (clog_test): Likewise.
12446 (clog10_test): Likewise.
12447 (csqrt_test): Likewise.
12448 (ctan_test): Likewise.
12449 (ctanh_test): Likewise.
12450 (exp_test): Likewise.
12451 (exp10_test): Likewise.
12452 (exp2_test): Likewise.
12453 (expm1_test): Likewise.
12454 (fma_test): Likewise.
12455 (j0_test): Likewise.
12456 (jn_test): Likewise.
12457 (nexttoward_test): Likewise.
12458 (pow_test): Likewise.
12459 (scalbn_test): Likewise.
12460 (scalbln_test): Likewise.
12461 (tan_test): Likewise.
12462 (y1_test): Likewise.
12463 * sysdeps/i386/fpu/libm-test-ulps: Update.
12464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12466 2012-05-23 David S. Miller <davem@davemloft.net>
12468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12469 (__libc_sigaction): Remove unused local variables.
12471 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12473 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12475 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12477 mktime: avoid signed integer overflow
12478 * time/mktime.c (__mktime_internal): Do not mishandle the case
12479 where diff == INT_MIN.
12481 mktime: simplify computation of average
12482 * time/mktime.c (ranged_convert): Use new time_t_avg function
12483 instead of rolling our own (probably-slower) code.
12485 mktime: do not assume signed right shift propagates sign bit
12486 * time/mktime.c (isdst_differ): New static function.
12487 (__mktime_internal): No need to normalize tm_isdst now.
12488 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12491 mktime: merge another wrapv change from gnulib
12492 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12493 from some compilers.
12495 mktime: remove incorrect attempt at unusual arithmetics
12496 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12497 The code didn't really work on such machines anyway.
12498 (TYPE_MINIMUM): Assume two's complement.
12499 (twos_complement_arithmetic): Verify that long_int and time_t
12500 are two's complement (or unsigned, in the latter case).
12502 mktime: check signed shifts on long_int and time_t, too
12503 * time/mktime.c (SHR): Check that shifts work as desired
12504 on the types long_int and time_t too, as SHR is used on
12507 mktime: do not assume 'long' is wide enough
12508 * time/mktime.c (verify): Move decl up.
12509 (long_int): New type.
12510 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12511 to remove assumption in the code that 'long' is wide enough to
12512 store year values. This assumption is not true on x32 and on
12513 some non-glibc platforms.
12515 mktime: merge wrapv change from gnulib
12516 * time/mktime.c (WRAPV): New macro.
12517 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12518 (guess_time_tm, __mktime_internal): Do not assume that signed
12519 integer overflow wraps around; modern compilers generate code
12520 where this assumption is no longer valid.
12522 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12524 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12525 Replace "jmp L(pseudo_end)" with "ret".
12526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12529 2012-05-23 Andreas Jaeger <aj@suse.de>
12531 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12532 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12534 2012-05-23 Andreas Jaeger <aj@suse.de>
12535 Maximilian Attems <max@stro.at>
12537 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12540 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12543 code so that pseudo_end is just ret and the stack pointer is
12544 correct also for static library in error case.
12546 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12548 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12549 move to syscalls.list.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12555 * manual/install.texi (Running make install): Do not mention Linux
12556 kernel version for which pt_chown is not needed.
12557 (Linux): Do not mention problems with nscd with 2.0 kernels.
12558 * INSTALL: Regenerated.
12560 2012-05-23 Andreas Jaeger <aj@suse.de>
12562 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12563 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12565 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12567 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12568 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12569 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12570 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12572 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12573 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12574 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12575 * sysdeps/unix/sysv/linux/bits/in.h
12576 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12578 2012-05-22 Roland McGrath <roland@hack.frob.com>
12580 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12581 (PREPARE_VERSION): Just use assert instead, it will be elided
12582 under [NDEBUG] anyway.
12584 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12586 * sysdeps/unix/sysv/linux/Makefile: Include
12587 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12588 (sysdep_routines): Remove sysctl.
12589 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12590 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12591 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12592 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12593 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12595 2012-05-22 Andreas Jaeger <aj@suse.de>
12597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12598 that pseudo_end is just ret and the stack pointer is correct also
12599 for static library in error case.
12601 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12604 * nss/nsswitch.c (defconfig_entries): New variable.
12605 (__nss_database_lookup): Don't leak defconfig entries.
12606 (nss_parse_service_list): Don't leak on error paths.
12607 (free_database_entries): New function.
12608 (free_defconfig): New function.
12609 (free_mem): Move common code to free_database_entries.
12611 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12613 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12615 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12617 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12618 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12621 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12622 (INTERNAL_SYSCALL_TYPES): Likewise.
12623 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12624 (LOAD_REGS_TYPES_[1-6]): Likewise.
12625 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12626 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12628 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12630 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12631 copysignl for GLIBC_2_0.
12632 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12633 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12635 logbl for GLIBC_2_0.
12636 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12637 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12639 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12644 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12647 * time/mktime.c: Update copyright years.
12649 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12651 mktime: merge comment-quoting-style change from gnulib
12652 * time/mktime.c: Quote 'like this' in comments.
12653 The GNU coding standards suggest that we no longer quote `like this',
12654 as "`" and "'" are typically rendered asymmetrically nowadays.
12655 The typical gnulib style is to quote 'like this' when quoting
12656 code, and "like this" when quoting English.
12658 * time/mktime.c (compile-command): Add "-I.".
12660 mktime: merge mktime-internal.h change from gnulib
12661 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12663 mktime: merge time_r change from gnulib
12664 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12666 mktime: merge DEBUG change from gnulib
12667 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12668 case system <time.h> has a #define.
12670 mktime: merge <sys/types.h> change from gnulib
12671 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12672 since <time.t> is now guaranteed to define time_t.
12674 mktime: merge HAVE_CONFIG_H change from gnulib
12675 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12677 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12682 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12684 (struct rusage): Use anonymous union to pad each field to
12687 2012-05-21 David S. Miller <davem@davemloft.net>
12689 * Makefules (o-iterator): Remove .s cases.
12690 (compile-command.s): Delete.
12691 (COMPILE.s): Delete.
12692 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12694 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12696 * configure.in (libc_cv_predef_stack_protector): Only consider
12697 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12698 * configure: Regenerated.
12700 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12703 New macro. Use R*LP on int and pointer.
12704 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12705 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12706 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12707 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12709 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12710 [__WORDSIZE_TIME64_COMPAT32] instead of
12711 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12712 (struct utmp): Likewise.
12713 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12714 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12716 (__WORDSIZE_TIME64_COMPAT32): This.
12717 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12718 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12719 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12720 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12721 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12722 (__WORDSIZE_TIME64_COMPAT32): New macro.
12724 2012-05-21 Andreas Jaeger <aj@suse.de>
12726 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12727 only if [SHARED]. Add prototype for __wcschr_ia32.
12729 2012-05-21 Roland McGrath <roland@hack.frob.com>
12731 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12732 of %rbp unmolested in the jmp_buf while mangling the low bits.
12733 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12734 unmolested high bits of %rbp while demangling the low bits.
12735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12737 2012-05-21 Andreas Jaeger <aj@suse.de>
12739 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12740 * sunrpc/svc_simple.c: Use it for registerrpc.
12741 * sunrpc/xcrypt.c: Use it for passwd2des.
12743 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12745 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12747 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12748 Don't define if [__SYSCALL_WORDSIZE != 32].
12749 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12752 2012-05-21 Bruno Haible <bruno@clisp.org>
12753 Andreas Jaeger <aj@suse.de>
12755 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12756 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12757 inptr and inend for must_buffer_ch.
12758 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12759 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12760 * stdio-common/Makefile (tests): Remove bug15.
12761 (bug15-ENV): Remove macro.
12762 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12765 2012-05-19 Andreas Jaeger <aj@suse.de>
12766 Roland McGrath <roland@hack.frob.com>
12768 * manual/contrib.texi: Completely rewritten. It contains now an
12769 alphabetical list of contributors and their contributions.
12771 2012-05-21 Richard Henderson <rth@twiddle.net>
12773 * misc/getauxval.c (__getauxval): Use unsigned long int.
12774 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12775 (getauxval): Use unsigned long int.
12777 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12779 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12781 2012-05-21 Roland McGrath <roland@hack.frob.com>
12783 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12784 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12785 __alignof__ (long double).
12787 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12791 2012-05-20 Richard Henderson <rth@twiddle.net>
12793 * misc/getauxval.c: New file.
12794 * misc/sys/auxv.h: New file.
12795 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12796 (routines): Add getauxval.
12797 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12798 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12799 * elf/dl-sysdep.c (_dl_auxv): Remove.
12800 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12801 * elf/dl-support.c (_dl_auxv): New variable.
12802 (_dl_aux_init): Initialize it.
12803 * manual/startup.texi (Auxiliary Vector): New node.
12804 * sysdeps/generic/bits/hwcap.h: New file.
12805 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12806 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12807 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12808 * sysdeps/sparc/sysdep.h: ... here. Include it.
12809 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12810 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12822 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12826 2012-05-19 David S. Miller <davem@davemloft.net>
12828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12830 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12833 * math/s_ccosh.c: Include <float.h>
12834 (__ccosh): Avoid internal overflow calculating sinh and cosh
12835 values before multiplying by sin and cos values.
12836 * math/s_ccoshf.c: Likewise.
12837 * math/s_ccoshl.c: Likewise.
12838 * math/s_csin.c: Likewise.
12839 * math/s_csinf.c: Likewise.
12840 * math/s_csinl.c: Likewise.
12841 * math/s_csinh.c: Likewise.
12842 * math/s_csinhf.c: Likewise.
12843 * math/s_csinhl.c: Likewise.
12844 * math/libm-test.inc (ccos_test): Add more tests.
12845 (ccosh_test): Likewise.
12846 (csin_test): Likewise.
12847 (csinh_test): Likewise.
12848 * sysdeps/i386/fpu/libm-test-ulps: Update.
12849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12851 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12853 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12854 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12856 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12858 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12860 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12861 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12862 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12863 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12864 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12865 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12866 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12867 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12868 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12869 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12870 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12871 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12872 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12873 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12874 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12875 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12876 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12877 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12878 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12879 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12880 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12881 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12882 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12883 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12884 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12885 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12886 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12887 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12888 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12889 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12890 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12892 2012-05-18 Andreas Jaeger <aj@suse.de>
12894 * csu/.gitignore: Delete.
12896 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12898 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12899 (timex): Use __syscall_slong_t.
12901 2012-05-18 Andreas Jaeger <aj@suse.de>
12902 Carlos O'Donell <carlos_odonell@mentor.com>
12904 * manual/install.texi (Configuring and compiling): Update
12905 description about files modified in the source directory.
12906 * INSTALL: Regenerated.
12908 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12910 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12911 value. Use "or" to set return value to -1.
12912 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12913 negate return value.
12915 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12917 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12918 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12919 failure if the compiler has Graphite support disabled.
12920 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12922 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12923 CFLAGS-memmove.c): Likewise.
12924 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12927 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12929 * sysdeps/x86_64/x32/_itoa.h: New file.
12931 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12932 getdents system call only if kernel and user dirents have the
12933 same d_ino and d_off.
12935 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12936 LLONG_MAX != LONG_MAX.
12937 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12938 (_fitoa_word): Likewise.
12940 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12942 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12944 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12946 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12947 include <bits/wordsize.h>. Check __x86_64__ instead of
12949 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12950 if __x86_64__ is defined. Use anonymous union on fpstate.
12952 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12955 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12957 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12958 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12959 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12960 Refer to _rtld_local_ro instead of _rtld_global_ro.
12961 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12963 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12965 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12967 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12968 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12969 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12971 * sysdeps/powerpc/powerpc32/dl-machine.c
12972 (__elf_machine_runtime_setup) [PROF]: Don't reference
12975 2012-05-18 Andreas Jaeger <aj@suse.de>
12977 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12978 function only available for GCCs before 3.4 since GCC 3.4
12979 introduced a builtin.
12981 (llrintf): Likewise.
12982 (llrint): Likewise.
12989 (nearbyint): Likewise.
12990 (nearbyintf): Likewise.
12994 (floorf): Likewise.
12996 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12998 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12999 on both fields and cast pointer to __syscall_ulong_t.
13001 * bits/types.h (__fsword_t): New type.
13002 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13003 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13004 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13005 (__FSWORD_T_TYPE): Likewise.
13006 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13007 (__FSWORD_T_TYPE): Likewise.
13008 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13009 (__FSWORD_T_TYPE): Likewise.
13010 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13011 (__FSWORD_T_TYPE): Likewise.
13012 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13013 __SWORD_TYPE with __fsword_t.
13014 (statfs64): Likewise.
13016 2012-05-17 David S. Miller <davem@davemloft.net>
13018 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13020 2012-05-17 Andreas Jaeger <aj@suse.de>
13022 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13025 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13027 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13029 2012-05-17 Andreas Jaeger <aj@suse.de>
13031 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13034 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13036 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13038 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13040 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13041 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13043 2012-05-17 Andreas Jaeger <aj@suse.de>
13044 Carlos O'Donell <carlos_odonell@mentor.com>
13047 * sysdeps/x86_64/multiarch/init-arch.h
13048 (bit_YMM_Usable): Rename to...
13049 (bit_AVX_Usable): ... this.
13050 (bit_FMA4_Usable): New macro.
13051 (bit_XMM_state): New macro.
13052 (bit_YMM_state): New macro.
13053 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13054 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13055 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13056 (CPUID_OSXSAVE): New macro.
13057 (CPUID_AVX): New macro.
13058 (CPUID_FMA4): New macro.
13059 (index_YMM_Usable): Rename to...
13060 (index_AVX_Usable): ... this.
13061 (HAS_AVX): Use HAS_ARCH_FEATURE.
13062 (HAS_FMA4): Likewise.
13063 (HAS_YMM_USABLE): Remove.
13064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13065 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13067 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13068 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13069 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13070 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13071 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13073 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13075 * math/libm-test.c: Support platforms without multiple rounding modes.
13076 * math/bug-nextafter.c: Support platforms without FP exceptions.
13077 * math/bug-nexttoward.c: Likewise.
13078 * math/test-fenv.c: Likewise.
13079 * math/test-misc.c: Likewise.
13080 * stdlib/bug-getcontext.c: Likewise.
13082 2012-05-17 Andreas Jaeger <aj@suse.de>
13084 * manual/examples/search.c (critter_cmp): Change signature to
13086 * manual/string.texi (Collation Functions): Likewise.
13088 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13090 * bits/types.h: Fold copyright years.
13091 * bits/typesizes.h: Likewise.
13092 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13093 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13096 * time/time.h: Likewise.
13098 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13101 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13102 in instead of returning them. Return void.
13103 (__libc_mallinfo): Accumulate over all arenas.
13104 (__malloc_stats): Adjust for change in int_mallinfo interface.
13106 2012-05-16 Roland McGrath <roland@hack.frob.com>
13109 * configure.in (NM): Add AC_CHECK_TOOL for it.
13110 (libc_extra_cflags): New substituted variable.
13111 Check for -fstack-protector being used implicitly.
13112 * configure: Regenerated.
13113 * config.make.in (config-extra-cflags): New variable,
13114 gets @libc_extra_cflags@.
13115 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13118 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13119 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13120 * configure: Regenerated.
13121 * config.make.in (CPPUNDEFS): New substituted variable.
13122 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13123 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13124 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13126 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13128 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13129 (mq_attr): Use __syscall_slong_t.
13131 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13133 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13134 Check __x86_64__ instead of __WORDSIZE.
13135 (_STAT_VER_LINUX): Likewise.
13136 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13137 __syscall_ulong_t and __syscall_slong_t.
13138 (stat64): Likewise.
13140 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13142 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13144 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13146 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13148 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13150 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13153 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13154 include <bits/wordsize.h>. Check __x86_64__ instead of
13156 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13158 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13160 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13161 include <bits/wordsize.h>. Check __x86_64__ instead of
13163 (user_regs_struct): Use "__extension__ unsigned long long"
13164 instead of "unsigned long" if __x86_64__ is defined.
13165 (user): Likewise. Pad after pointer field if __ILP32__ is
13168 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13170 * configure.in (makeinfo): Require version 4.5 or later. Allow
13172 * configure: Regenerated.
13173 * manual/install.texi (texinfo): Increase version requirement to
13175 * INSTALL: Regenerated.
13177 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13179 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13181 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13183 * sysdeps/x86_64/x32/ffs.c: New file.
13185 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13187 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13188 defined. Use __syscall_ulong_t.
13189 (shminfo): Use __syscall_ulong_t.
13190 (shm_info): Likewise.
13192 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13195 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13197 (msgqnum_t): Use __syscall_ulong_t.
13198 (msglen_t): Likewise.
13199 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13202 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13203 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13205 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13207 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13208 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13210 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13213 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13214 include <bits/wordsize.h>. Check __x86_64__ instead of
13217 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13218 "unsigned long long int" if __x86_64__ is defined.
13219 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13221 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13222 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13223 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13225 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13227 (GET_PC): Cast to uintptr_t first.
13228 (GET_FRAME): Likewise.
13229 (GET_STACK): Likewise.
13231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13239 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13243 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13249 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13251 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13261 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13263 * Makerules (+depfiles): Also collect depfiles from .oS in
13265 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13266 .oS, $(libnldbl-routines)).
13268 * Makerules (native-compile-mkdep-flags): Define.
13269 * sunrpc/Makefile (extra-objs): Add $(addprefix
13270 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13271 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13272 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13273 calling $(make-target-directory).
13275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13277 * bits/types.h (__snseconds_t): Removed.
13278 * time/time.h (struct timespec): Replace __snseconds_t with
13280 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13281 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13284 (__SNSECONDS_T_TYPE): Likewise.
13285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13286 (__SNSECONDS_T_TYPE): Likewise.
13287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13288 (__SNSECONDS_T_TYPE): Likewise.
13290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13292 * sysdeps/mach/hurd/bits/typesizes.h
13293 (__SYSCALL_SLONG_TYPE): New macro.
13294 (__SYSCALL_ULONG_TYPE): Likewise.
13296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13298 * bits/types.h (__syscall_slong_t): New type.
13299 (__syscall_ulong_t): Likewise.
13301 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13302 (__SYSCALL_ULONG_TYPE): Likewise.
13303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13304 (__SYSCALL_SLONG_TYPE): Likewise.
13305 (__SYSCALL_ULONG_TYPE): Likewise.
13306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13307 (__SYSCALL_SLONG_TYPE): Likewise.
13308 (__SYSCALL_ULONG_TYPE): Likewise.
13309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13310 (__SYSCALL_SLONG_TYPE): Likewise.
13311 (__SYSCALL_ULONG_TYPE): Likewise.
13313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13315 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13316 Add sigaltstack-offsets.sym.
13317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13318 <sigaltstack-offsets.h>.
13319 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13320 longjmp_msg pointer.
13321 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13322 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13324 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13326 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13328 * elf/stackguard-macros.h: Remove file.
13329 * sysdeps/generic/stackguard-macros.h: New file.
13330 * sysdeps/i386/stackguard-macros.h: Likewise.
13331 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13332 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13333 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13334 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13335 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13336 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13337 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13338 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13339 <elf/stackguard-macros.h>.
13342 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13343 __aligned__ in attribute.
13344 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13345 (gregset_t): Likewise.
13347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13349 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13350 * sysdeps/x86_64/64/Implies-after: Here. New file.
13351 * sysdeps/x86_64/x32/Implies-after: New file.
13353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13355 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13356 and access return value for _dl_profile_fixup. Use R10_LP to
13359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13361 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13365 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13366 * sysdeps/x86_64/x32/sysdep.h: New file.
13368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13370 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13371 * sysdeps/x86_64/setjmp.S: Likewise.
13373 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13376 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13377 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13378 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13379 remove unused global constant.
13381 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13383 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13384 include of <not-cancel.h>.
13386 2012-05-15 Roland McGrath <roland@hack.frob.com>
13388 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13390 2012-05-15 Jeff Law <law@redhat.com>
13391 Andreas Jaeger <aj@suse.de>
13394 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13396 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13397 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13398 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13399 code changing __hst_map_handle.map.
13401 2012-05-15 Roland McGrath <roland@hack.frob.com>
13403 * configure.in (sysnames): Look for Implies-before and Implies-after
13405 * configure: Regenerated.
13407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13409 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13410 8-byte data alignment with LP_SIZE alignment.
13412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13414 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13417 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13419 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13423 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13424 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13427 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13431 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13432 (stackinfo_sub_sp): Likewise.
13434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13441 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13451 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13455 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13456 into R11_LP and load __x86_64_shared_cache_size_half into
13459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13461 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13464 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13472 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13473 powerpc32/power7/fpu/s_logb.c via #include.
13474 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13475 powerpc32/power7/fpu/s_logbf.c via #include.
13476 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13477 powerpc32/power7/fpu/s_logbl.c via #include.
13479 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13481 * README.libm: Remove file.
13483 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13485 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13486 count for x32. Use R*_LP and omit operand-size suffix.
13488 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13490 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13491 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13492 * sysdeps/x86_64/x32/shlib-versions: New file.
13494 2012-05-14 Roland McGrath <roland@hack.frob.com>
13496 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13497 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13498 Use _dl_fatal_printf instead.
13500 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13502 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13503 set if not set by the user. Do not allow for being unset.
13504 * sysdeps/unix/sysv/linux/configure: Regenerated.
13506 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13508 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13509 the `q' suffix from lea and replace .quad with ASM_ADDR.
13511 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13514 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13516 (PTR_DEMANGLE): Likewise.
13518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13520 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13522 (ASM_ADDR): Likewise.
13523 (RAX_LP): Likewise.
13524 (RBP_LP): Likewise.
13525 (RBX_LP): Likewise.
13526 (RCX_LP): Likewise.
13527 (RDI_LP): Likewise.
13528 (RSI_LP): Likewise.
13529 (RSP_LP): Likewise.
13532 (R10_LP): Likewise.
13533 (R10_LP): Likewise.
13534 (R11_LP): Likewise.
13535 (R12_LP): Likewise.
13536 (R13_LP): Likewise.
13537 (R14_LP): Likewise.
13538 (R15_LP): Likewise.
13540 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13542 * sysdeps/x86_64/x32/dl-machine.h: New file.
13544 2012-05-14 Andreas Jaeger <aj@suse.de>
13546 * manual/Makefile (subdir): Remove export of subdir.
13547 (all): Remove target.
13548 (.PHONY): Remove all from list.
13549 (mkinstalldirs): Remove.
13550 (.PHONY): Remove installdirs from list.
13551 ($(inst_infodir)/libc.info): Use make-target-directory.
13552 (installdirs): Remove.
13553 (subdir_%): Remove.
13554 (glibc-targets): Remove.
13557 ($(objpfx)stubs ../po/manual.pot): Remove.
13558 ($(objpfx)stamp%): Remove.
13559 (make-target-directory): Remove.
13560 (subdir_install): Remove.
13561 (routines): Remove.
13568 * manual/.gitignore: Remove, it's not needed anymore.
13569 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13571 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13573 (texis): Renamed to $(objpfx)texis.
13574 (texis-path): New, contains path to generated files.
13575 (chapters.%): Use texis-path for complete path, add extra argument
13577 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13578 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13579 (summary,texi, stamp-summary): Use complete path of
13580 files. Generate files in build dir.
13581 (dir-add.texi): Build in build dir.
13582 (libm-err.texi,stamp-libm-err): Likewise.
13583 (version.texi, stamp-version): Likewise.
13584 (.%c.texi): Likewise.
13585 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13586 (mostlyclean): Remove target.
13587 (realclean): Remove target.
13588 (generated): Add new variable with contents from mostlyclean and
13589 realclean, remove entries duplicated in common-mostlyclean, add
13590 stamp-libm-err and stamp-version.
13591 (generated-dirs): Add libc directory.
13592 ($(inst_infodir)/libc.info): Install files from build dir.
13594 * manual/install.texi (Configuring and compiling): Adjust since
13595 the info files are not part of the tar ball anymore.
13597 2012-05-14 Andreas Jaeger <aj@suse.de>
13599 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13602 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13606 to 2.2.0 where earlier.
13607 * sysdeps/unix/sysv/linux/configure: Regenerated.
13608 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13609 Remove conditional code.
13610 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13611 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13612 Remove conditional code.
13613 [!__NR_lchown]: Likewise.
13614 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13615 [__NR_lchown]: Likewise.
13616 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13617 comment referencing __ASSUME_LCHOWN_SYSCALL.
13618 * sysdeps/unix/sysv/linux/i386/sigaction.c
13619 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13620 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13621 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13622 Remove conditional code.
13623 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13624 (__protocol_available): Remove #if 0 code.
13625 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13627 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13628 * sysdeps/unix/sysv/linux/kernel-features.h
13629 (__ASSUME_GETCWD_SYSCALL): Don't define.
13630 (__ASSUME_REALTIME_SIGNALS): Likewise.
13631 (__ASSUME_PREAD_SYSCALL): Likewise.
13632 (__ASSUME_PWRITE_SYSCALL): Likewise.
13633 (__ASSUME_POLL_SYSCALL): Likewise.
13634 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13635 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13637 (__ASSUME_SIOCGIFNAME): Don't define.
13638 (__ASSUME_MSG_NOSIGNAL): Likewise.
13639 (__ASSUME_SENDFILE): Define unconditionally.
13640 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13641 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13643 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13644 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13645 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13646 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13647 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13648 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13649 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13663 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13666 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13669 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13670 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13672 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13674 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13675 Remove conditional code.
13676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13677 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13678 Remove conditional code.
13679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13680 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13681 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13682 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13683 Remove conditional code.
13684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13685 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13686 Remove conditional code.
13687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13688 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13689 Remove conditional code.
13690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13691 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13692 Remove conditional code.
13693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13694 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13695 Remove conditional code.
13696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13697 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13700 * sysdeps/unix/sysv/linux/sigaction.c
13701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13703 * sysdeps/unix/sysv/linux/sigpending.c
13704 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13705 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13706 * sysdeps/unix/sysv/linux/sigprocmask.c
13707 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13708 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13709 * sysdeps/unix/sysv/linux/sigsuspend.c
13710 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13711 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13712 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13713 (__libc_missing_rt_sigs): Remove.
13714 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13715 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13716 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13717 Remove conditional code.
13718 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13719 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13722 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13723 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13724 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13726 2012-05-14 Andreas Jaeger <aj@suse.de>
13728 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13729 it's not used in glibc.
13730 (__coshm1): Likewise.
13731 (__acosh1p): Likewise.
13734 * manual/string.texi (Copying and Concatenation): Add missing
13735 variable in concat example.
13736 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13738 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13742 __builtin_clzl with __builtin_clzll.
13744 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13747 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13750 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13752 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13753 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13754 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13755 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13757 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13759 * NEWS: Update ia64 info.
13761 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13763 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13766 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13768 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13769 * sysdeps/unix/syscalls.list (dup3): Likewise.
13770 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13771 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13773 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13775 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13776 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13778 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13780 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13782 (TLS_IE): Use mov/add instead of movq/addq to load thread
13784 (TLS_GD_PREFIX): New.
13787 2012-05-11 David S. Miller <davem@davemloft.net>
13789 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13790 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13791 (_FPU_SETCW): Likewise.
13793 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13795 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13796 is 32-byte aligned.
13798 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13801 * iconvdata/gb18030.c: Update tables.
13802 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13803 characters specially.
13804 (BODY for TO_LOOP): Add encoding of missing ranges.
13806 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13809 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13810 * sysdeps/mach/hurd/dup3.c: Likewise.
13811 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13812 * sysdeps/powerpc/memmove.c:: Likewise.
13814 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13817 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13819 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13821 * elf/elf.h (R_X86_64_RELATIVE64): New.
13822 (R_X86_64_NUM): Updated.
13823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13824 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13825 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13826 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13827 tst-quad1pie tst-quad2pie
13828 (modules-names): Add tst-quadmod1 tst-quadmod2.
13829 ($(objpfx)tst-quad1): New dependency.
13830 ($(objpfx)tst-quad2): Likewise.
13831 ($(objpfx)tst-quad1pie): Likewise.
13832 ($(objpfx)tst-quad2pie): Likewise.
13833 * sysdeps/x86_64/tst-quad1.c: New file.
13834 * sysdeps/x86_64/tst-quad1pie.c: New file.
13835 * sysdeps/x86_64/tst-quad2.c: Likewise.
13836 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13837 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13838 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13839 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13840 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13842 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13844 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13845 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13846 * streams/stropts.h (t_scalar_t): Define type.
13848 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13849 (_PATH_PRESERVE): Set to "/var/lib".
13850 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13852 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13855 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13856 if __dir_mkfile succeeded.
13858 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13859 checking for _hurd_dtablesize. Unlock it right after having
13860 finished _hurd_dtable allocation.
13862 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13864 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13865 * sysdeps/mach/hurd/configure: Regenerated.
13866 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13867 special-casing to...
13868 * sysdeps/gnu/configure.in: ... this new file.
13869 * sysdeps/unix/sysv/linux/configure: Regenerated.
13870 * sysdeps/gnu/configure: New generated file.
13872 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13873 for Linux: use nsec instead of usec, as well as:
13874 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13875 members of type struct timespec.
13876 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13878 (struct stat64): Likewise.
13879 (_STATBUF_ST_NSEC): New macro.
13880 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13882 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13883 __strtoul_internal rather than strtoul.
13885 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13887 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13892 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13893 which preserves existing values.
13894 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13896 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13898 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13899 TIMEOUT values. Return EINVAL for NFDS values either negative or
13900 greater than FD_SETSIZE.
13902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13904 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13905 allocated, call __vm_protect to finish enabling the existing space, and
13906 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13907 allocate the remainder.
13909 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13911 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13912 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13914 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13916 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13917 sysdeps/mach/hurd/readlink.c.
13919 * posix/tst-sysconf.c (posix_options): Only use
13920 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13921 _POSIX_SYNCHRONIZED_IO when they are defined
13922 * sysdeps/mach/hurd/bits/posix_opt.h:
13923 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13924 (_XOPEN_REALTIME): Undefine macro.
13925 (_XOPEN_REALTIME_THREADS): Undefine macro.
13926 (_XOPEN_SHM): Undefine macro.
13927 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13929 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13931 (_POSIX_ASYNC_IO): Undefine macro.
13932 (_POSIX_PRIORITIZED_IO): Undefine macro.
13933 (_POSIX_SPIN_LOCKS): Define macro to -1.
13935 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13936 SA_NODEFER, SA_RESETHAND.
13937 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13938 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13941 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13943 * elf/Makefile (pldd-modules): Define unconditionally.
13945 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13947 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13951 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13952 Return ENOENT when name is empty.
13953 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13955 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13957 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13959 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13963 Fix mlock in all cases except non-readable pages.
13964 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13965 instead of VM_PROT_ALL as parameter to __vm_wire function.
13967 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13968 (__mkdir): When path is `/', just fail with EEXIST.
13969 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13971 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13973 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13974 <sys/uio.h> (for writev).
13975 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13976 and <sys/param.h> (for MIN).
13978 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13980 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13981 REQUESTED_TIME. Properly set the remaining time and return EINTR
13984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13986 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13987 Depend on against $(link-rpcuserlibs).
13989 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13991 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13992 (__libc_stack_end): Do not use attribute_relro.
13993 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13994 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13995 to libthread-provided value.
13996 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13999 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14002 * bits/libc-lock.h (__libc_once_get): New macro.
14003 * sysdeps/mach/bits/libc-lock.h: Likewise.
14004 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14006 instead of using implementation details.
14008 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14009 * libio/freopen.c: Likewise.
14010 * libio/freopen64.c: Likewise.
14011 * misc/syslog.c: Likewise.
14012 * nscd/connections.c: Likewise.
14013 * nscd/netgroupcache.c: Likewise.
14014 * sysdeps/posix/getcwd.c: Likewise.
14016 2012-05-10 Roland McGrath <roland@hack.frob.com>
14018 * math/w_ilogbf.c: Add #include <limits.h>.
14020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14022 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14023 path instead of returning without unlocking.
14025 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14026 immediate-write ioctls.
14027 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14031 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14032 __builtin_frame_address instead of making assumptions about the
14033 location of the return address relative to DATA. Force early load of
14034 the return address.
14035 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14036 __builtin_frame_address.
14039 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14040 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14041 implement dup3 and do some further code clean-ups.
14042 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14043 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14045 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14047 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14049 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14050 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14051 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14052 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14053 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14056 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14057 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14058 when handler == SIG_ERR, not when handler != SIG_ERR.
14060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14062 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14063 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14066 accept4 for GNU Hurd.
14067 * include/sys/socket.h (__libc_accept4): New prototype.
14068 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14069 to implement __libc_accept4.
14070 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14072 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14074 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14075 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14076 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14077 signal-defines.sym.
14079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14081 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14085 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14086 assertion on O_CLOEXEC flag.
14087 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14088 * hurd/intern-fd.c: Likewise.
14089 * hurd/port2fd.c: Likewise.
14091 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14094 * bits/in.h (IPV6_PKTINFO): Define new macro.
14095 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14097 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14102 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14104 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14105 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14107 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14108 * math/libm-test.inc (logb_test) : Additional logb tests.
14110 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14111 Andreas Jaeger <aj@suse.de>
14113 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14114 * configure: Regenerated.
14115 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14116 * config.make.in (link-obsolete-rpc): New substituted variable.
14117 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14118 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14119 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14120 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14121 so that libc.a contains the symbols.
14122 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14123 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14124 * sunrpc/auth_none.c: Likewise.
14125 * sunrpc/auth_unix.c: Likewise.
14126 * sunrpc/authdes_prot.c: Likewise.
14127 * sunrpc/authuxprot.c: Likewise.
14128 * sunrpc/clnt_gen.c: Likewise.
14129 * sunrpc/clnt_perr.c: Likewise.
14130 * sunrpc/clnt_raw.c: Likewise.
14131 * sunrpc/clnt_simp.c: Likewise.
14132 * sunrpc/clnt_tcp.c: Likewise.
14133 * sunrpc/clnt_udp.c: Likewise.
14134 * sunrpc/clnt_unix.c: Likewise.
14135 * sunrpc/des_crypt.c: Likewise.
14136 * sunrpc/des_soft.c: Likewise.
14137 * sunrpc/get_myaddr.c: Likewise.
14138 * sunrpc/key_call.c: Likewise.
14139 * sunrpc/key_prot.c: Likewise.
14140 * sunrpc/netname.c: Likewise.
14141 * sunrpc/pm_getmaps.c: Likewise.
14142 * sunrpc/pm_getport.c: Likewise.
14143 * sunrpc/pmap_clnt.c: Likewise.
14144 * sunrpc/pmap_prot.c: Likewise.
14145 * sunrpc/pmap_prot2.c: Likewise.
14146 * sunrpc/pmap_rmt.c: Likewise.
14147 * sunrpc/publickey.c: Likewise.
14148 * sunrpc/rpc_cmsg.c: Likewise.
14149 * sunrpc/rpc_common.c: Likewise.
14150 * sunrpc/rpc_dtable.c: Likewise.
14151 * sunrpc/rpc_prot.c: Likewise.
14152 * sunrpc/rpc_thread.c: Likewise.
14153 * sunrpc/rtime.c: Likewise.
14154 * sunrpc/svc.c: Likewise.
14155 * sunrpc/svc_auth.c: Likewise.
14156 * sunrpc/svc_raw.c: Likewise.
14157 * sunrpc/svc_run.c: Likewise.
14158 * sunrpc/svc_tcp.c: Likewise.
14159 * sunrpc/svc_udp.c: Likewise.
14160 * sunrpc/svc_unix.c: Likewise.
14161 * sunrpc/svcauth_des.c: Likewise.
14162 * sunrpc/xcrypt.c: Likewise.
14163 * sunrpc/xdr.c: Likewise.
14164 * sunrpc/xdr_array.c: Likewise.
14165 * sunrpc/xdr_float.c: Likewise.
14166 * sunrpc/xdr_intXX_t.c: Likewise.
14167 * sunrpc/xdr_mem.c: Likewise.
14168 * sunrpc/xdr_rec.c: Likewise.
14169 * sunrpc/xdr_ref.c: Likewise.
14170 * sunrpc/xdr_sizeof.c: Likewise.
14171 * sunrpc/xdr_stdio.c: Likewise.
14173 2012-05-10 Roland McGrath <roland@hack.frob.com>
14175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14176 change. Update copyright years.
14178 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14180 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14182 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14183 Joseph Myers <joseph@codesourcery.com>
14184 Paul Pluzhnikov <ppluzhnikov@google.com>
14187 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14189 [cross-compiling] (extra-libs): Likewise.
14190 [cross-compiling] (extra-libs-others): Likewise.
14191 [cross-compiling] (librpcsvc-routines): Likewise.
14192 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14193 [cross-compiling] (omit-deps): Likewise.
14194 (sunrpc-CPPFLAGS): New variable.
14195 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14196 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14197 (cross-rpcgen-objs): New variable.
14198 (extra-objs): Append $(cross-rpcgen-objs).
14199 ($(cross-rpcgen-objs)): New rule.
14200 ($(objpfx)cross-rpcgen): Likewise.
14201 (rpcgen-cmd): Define to use $(built-program-file). Expand
14203 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14204 ($(objpfx)x%.stmp): Likewise.
14205 * sunrpc/proto.h [IS_IN_build] (_): Define.
14206 [IS_IN_build] (_libc_intl_domainname): Likewise.
14208 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14211 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14212 and R_X86_64_TPOFF64.
14214 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14216 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14217 sysdeps/unix/sysv/syscalls.list.
14220 * sysdeps/unix/sysv/syscalls.list: Remove file.
14222 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14225 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14226 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14227 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14228 (__LC_IDENTIFICATION): Make these macros useful in #if
14229 expressions, as required by C99.
14231 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14233 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14234 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14237 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14239 * stdlib/longlong.h: Updated from GCC.
14241 2012-05-09 Andreas Jaeger <aj@suse.de>
14243 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14244 default is first entry.
14245 (run_mode): Set type.
14246 (main): Remove informal message about syslog.
14247 (options): Fix typo.
14250 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14253 (llrintf): Likewise.
14254 (llrint): Likewise.
14257 (nearbyint): Likewise.
14258 (nearbyintf): Likewise.
14260 2012-05-09 Andreas Jaeger <aj@suse.de>
14261 Pedro Alves <palves@redhat.com>
14263 * nscd/nscd.c (run_mode): Use enum.
14264 (main): Cleanup coding style issue.
14266 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14267 Andreas Jaeger <aj@suse.de>
14269 * nscd/nscd.c (go_background): Replaced with...
14270 (run_mode): ... this.
14271 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14272 (options): Add -F --foreground.
14273 (main): Implement it.
14274 (parse_opt): Parse it.
14276 2012-05-09 Andreas Jaeger <aj@suse.de>
14279 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14280 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14281 -Wconversion warning.
14282 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14285 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14287 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14289 (LC_ALL): Use macro-int-constant.
14290 (LC_COLLATE): Likewise.
14291 (LC_CTYPE): Likewise.
14292 (LC_MESSAGES): Likewise.
14293 (LC_MONETARY): Likewise.
14294 (LC_NUMERIC): Likewise.
14295 (LC_TIME): Likewise.
14296 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14297 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14298 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14299 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14301 [C99-based standards] (float_t): Expect type.
14302 [C99-based standards] (double_t): Expect type.
14303 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14305 [C99-based standards] (HUGE_VALL): Likewise.
14306 [C99-based standards] (INFINITY): Likewise.
14307 [C99-based standards] (NAN): Likewise.
14308 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14309 [C99-based standards] (FP_NAN): Likewise.
14310 [C99-based standards] (FP_NORMAL): Likewise.
14311 [C99-based standards] (FP_SUBNORMAL): Likewise.
14312 [C99-based standards] (FP_ZERO): Likewise.
14313 [C99-based standards] (FP_FAST_FMA): Use
14314 optional-macro-int-constant. Specify type. Require == 1.
14315 [C99-based standards] (FP_FAST_FMAF): Likewise.
14316 [C99-based standards] (FP_FAST_FMAL): Likewise.
14317 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14318 [C99-based standards] (FP_ILOGBNAN): Likewise.
14319 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14321 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14322 [C99-based standards] (math_errhandling): Specify type.
14323 [ISO99 || ISO11] (signgam): Do not allow.
14324 [non-C99-based standards] (copysignf): Do not allow.
14325 [non-C99-based standards] (exp2f): Likewise.
14326 [non-C99-based standards] (log2f): Likewise.
14327 [non-C99-based standards] (modff): Allow.
14328 [non-C99-based standards] (erff): Do not allow.
14329 [non-C99-based standards] (erfcf): Likewise.
14330 [non-C99-based standards] (gammaf): Likewise.
14331 [non-C99-based standards] (hypotf): Likewise.
14332 [non-C99-based standards] (j0f): Likewise.
14333 [non-C99-based standards] (j1f): Likewise.
14334 [non-C99-based standards] (jnf): Likewise.
14335 [non-C99-based standards] (lgammaf): Likewise.
14336 [non-C99-based standards] (tgammaf): Likewise.
14337 [non-C99-based standards] (y0f): Likewise.
14338 [non-C99-based standards] (y1f): Likewise.
14339 [non-C99-based standards] (ynf): Likewise.
14340 [non-C99-based standards] (isnanf): Likewise.
14341 [non-C99-based standards] (acoshf): Likewise.
14342 [non-C99-based standards] (asinhf): Likewise.
14343 [non-C99-based standards] (atanhf): Likewise.
14344 [non-C99-based standards] (cbrtf): Likewise.
14345 [non-C99-based standards] (expm1f): Likewise.
14346 [non-C99-based standards] (ilogbf): Likewise.
14347 [non-C99-based standards] (log1pf): Likewise.
14348 [non-C99-based standards] (logbf): Likewise.
14349 [non-C99-based standards] (nextafterf): Likewise.
14350 [non-C99-based standards] (remainderf): Likewise.
14351 [non-C99-based standards] (rintf): Likewise.
14352 [non-C99-based standards] (scalbf): Likewise.
14353 [non-C99-based standards] (copysignl): Likewise.
14354 [non-C99-based standards] (exp2l): Likewise.
14355 [non-C99-based standards] (log2l): Likewise.
14356 [non-C99-based standards] (modfl): Allow.
14357 [non-C99-based standards] (erfl): Do not allow.
14358 [non-C99-based standards] (erfcl): Likewise.
14359 [non-C99-based standards] (gammal): Likewise.
14360 [non-C99-based standards] (hypotl): Likewise.
14361 [non-C99-based standards] (j0l): Likewise.
14362 [non-C99-based standards] (j1l): Likewise.
14363 [non-C99-based standards] (jnl): Likewise.
14364 [non-C99-based standards] (lgammal): Likewise.
14365 [non-C99-based standards] (tgammal): Likewise.
14366 [non-C99-based standards] (y0l): Likewise.
14367 [non-C99-based standards] (y1l): Likewise.
14368 [non-C99-based standards] (ynl): Likewise.
14369 [non-C99-based standards] (isnanl): Likewise.
14370 [non-C99-based standards] (acoshl): Likewise.
14371 [non-C99-based standards] (asinhl): Likewise.
14372 [non-C99-based standards] (atanhl): Likewise.
14373 [non-C99-based standards] (cbrtl): Likewise.
14374 [non-C99-based standards] (expm1l): Likewise.
14375 [non-C99-based standards] (ilogbl): Likewise.
14376 [non-C99-based standards] (log1pl): Likewise.
14377 [non-C99-based standards] (logbl): Likewise.
14378 [non-C99-based standards] (nextafterl): Likewise.
14379 [non-C99-based standards] (remainderl): Likewise.
14380 [non-C99-based standards] (rintl): Likewise.
14381 [non-C99-based standards] (scalbl): Likewise.
14382 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14383 [non-C99-based standards] (FP_*): Do not allow.
14384 [C99-based standards] (FP_*): Change to
14385 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14386 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14388 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14389 (SIG_ERR): Likewise.
14390 [X/Open-based standards] (SIG_HOLD): Likewise.
14391 (SIG_IGN): Likewise.
14392 (SIGABRT): Use macro-int-constant. Specify type. Require
14394 (SIGFPE): Likewise.
14395 (SIGILL): Likewise.
14396 (SIGINT): Likewise.
14397 (SIGSEGV): Likewise.
14398 (SIGTER): Likewise.
14399 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14400 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14401 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14402 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14403 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14404 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14405 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14406 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14407 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14408 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14409 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14410 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14411 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14412 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14413 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14414 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14415 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14416 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14417 [X/Open-based standards] (SIGTRAP): Likewise.
14418 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14419 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14420 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14421 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14422 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14425 2012-05-08 Ian Wienand <ianw@vmware.com>
14428 * time/tzset.c (__tzset_parse_tz): Update default rules for
14429 daylight time changes in the Energy Policy Act of 2005.
14431 2012-05-09 Andreas Jaeger <aj@suse.de>
14434 * elf/ldconfig.c (parse_conf): Change string to make clear that
14435 ldconfig only issued a warning if ld.so.conf does not exist.
14437 2012-05-08 David S. Miller <davem@davemloft.net>
14439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14440 movxtod instead of popping the value on the stack.
14442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14444 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14446 * config.h.in: Add HAVE_ARM_PCS_VFP.
14448 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14451 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14452 checking but the checks are disabled for any reason.
14454 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14456 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14457 and ELF64_R_TYPE with ELFW(R_TYPE).
14459 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14461 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14462 (ulimit): Likewise.
14464 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14465 (settimeofday): Likewise.
14467 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14469 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14470 a struct th_u2 inside the union, and move tu_block/tu_code into
14471 a new th_u3 union of tu_block/tu_code inside of that. Move
14472 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14473 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14474 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14475 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14476 (th_stuff): Change to th_u1.tu_stuff.
14478 (th_msg): Change to th_u1.th_u2.tu_data.
14480 2012-05-07 David S. Miller <davem@davemloft.net>
14482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14485 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14486 (SETUP_PIC_REG): Use it.
14487 (SETUP_PIC_REG_LEAF): Use it.
14489 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14495 (EXPL_FINITE): Likewise.
14496 (FLDLOG): Likewise.
14497 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14498 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14500 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14502 (EXPL_FINITE): Likewise.
14503 (FLDLOG): Likewise.
14504 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14505 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14507 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14508 test of -max_value argument for long double.
14509 * sysdeps/i386/fpu/libm-test-ulps: Update.
14510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14512 2012-05-06 David S. Miller <davem@davemloft.net>
14514 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14515 quad soft-float symbols whose references which are compiler
14517 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14519 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14525 (EXPL_FINITE): Likewise.
14526 (FLDLOG): Likewise.
14529 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14530 Adjust comments for base varying.
14531 (__expl_finite): Change alias to EXPL_FINITE.
14532 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14534 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14535 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14537 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14538 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14540 (EXPL_FINITE): Likewise.
14541 (FLDLOG): Likewise.
14544 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14545 Adjust comments for base varying.
14546 (__expl_finite): Change alias to EXPL_FINITE.
14547 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14552 * math/libm-test.inc (check_float_internal): Correct ulp
14553 calculation for subnormal expected results.
14555 2012-05-06 Andreas Jaeger <aj@suse.de>
14557 * Makeconfig (+math-flags): New, set to -frounding-math.
14558 (+cflags): Add +math-flags so that all of glibc gets compiled with
14561 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14563 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14565 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14571 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14572 (__ieee754_expl): Allow for and saturate large arguments.
14573 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14574 (u_threshold): Likewise.
14575 (__exp): Call __ieee754_exp before checking for overflow and
14577 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14578 (u_threshold): Likewise.
14579 (__expf): Call __ieee754_expf before checking for overflow and
14581 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14582 (u_threshold): Likewise.
14583 (__expl): Call __ieee754_expl before checking for overflow and
14585 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14586 (__ieee754_expl): Allow for and saturate large arguments.
14587 * math/libm-test.inc (exp_test): Add another test. Do not allow
14588 missing overflow exception on overflow.
14589 (expm1_test): Do not allow missing overflow exception on overflow.
14591 * sysdeps/i386/fpu/e_expl.c: Move to ...
14592 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14593 rather than using inline asm.
14594 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14595 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14596 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14598 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14601 (signal): Likewise.
14605 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14607 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14608 sysdeps/unix/common/syscalls.list.
14609 (fchmod): Likewise.
14610 (fchown): Likewise.
14611 (ftruncate): Likewise.
14612 (getrusage): Likewise.
14613 (gettimeofday): Likewise.
14614 (setpgid): Likewise.
14615 (setregid): Likewise.
14616 (setreuid): Likewise.
14617 (sigaction): Likewise.
14618 (truncate): Likewise.
14619 (vhangup): Likewise.
14620 * sysdeps/unix/common/syscalls.list: Remove file.
14621 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14622 * sysdeps/unix/sysv/linux/Implies: Likewise.
14624 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14626 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14628 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14632 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14635 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14638 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14641 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14644 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14647 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14650 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14654 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14658 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14661 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14665 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14669 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14671 * sysdeps/unix/common/bits/dirent.h: Remove file.
14672 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14674 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14675 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14676 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14677 * sysdeps/unix/bsd/isatty.c: Likewise.
14678 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14679 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14680 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14682 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14686 long double comparison inaccuracies.
14687 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14690 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14692 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14693 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14695 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14698 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14699 nonzero digits before rounding a hex value.
14700 * stdlib/tst-strtod.c (tests): Add another test.
14702 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14704 * sysdeps/s390/fpu/libm-test-ulps: Update.
14706 2012-05-03 Andreas Jaeger <aj@suse.de>
14708 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14709 does not get optimized out.
14710 (malloc_opt_barrier): New.
14712 2012-05-03 Andreas Jaeger <aj@suse.de>
14713 Roland McGrath <roland@hack.frob.com>
14715 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14716 intermediate file deletion.
14717 (generated): Add .symlist files.
14719 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14722 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14723 Redirect under this condition.
14724 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14725 [__USE_GNU] (__dprintf_chk): Not under this condition.
14726 [__USE_GNU] (__vdprintf_chk): Likewise.
14727 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14728 under this condition.
14729 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14730 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14731 [__USE_XOPEN2K8] (vdprintf): Likewise.
14732 [__USE_GNU] (__dprintf_chk): Not under this condition.
14733 [__USE_GNU] (__vdprintf_chk): Likewise.
14734 [__USE_GNU] (dprintf): Likewise.
14735 [__USE_GNU] (vdprintf): Likewise.
14737 2012-05-03 Roland McGrath <roland@hack.frob.com>
14739 * elf/Makefile (common-generated): Set this instead of generated for
14740 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14741 $(all-built-dso)-derived lists.
14743 2012-05-03 Andreas Jaeger <aj@suse.de>
14745 * sysdeps/i386/fpu/libm-test-ulps: Update.
14748 * FAQ.in: Likewise.
14749 * scripts/gen-FAQ.pl: Likewise.
14750 * manual/install.texi (Installation): Point to online location of
14752 * Makefile (files-for-dist): Remove FAQ.
14755 2012-05-02 Allan McRae <allan@archlinux.org>
14757 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14758 (LDFLAGS-reldepmod5.so): Likewise.
14759 (LDFLAGS-reldep6mod1.so): Likewise.
14760 (LDFLAGS-reldep6mod4.so): Likewise.
14761 (LDFLAGS-reldep8mod3.so): Likewise.
14762 (LDFLAGS-unload4mod1.so): Likewise.
14763 (LDFLAGS-unload4mod2.so): Likewise.
14764 (LDFLAGS-tst-initorder): Likewise.
14765 (LDFLAGS-tst-initordera2.so): Likewise.
14766 (LDFLAGS-tst-initordera3.so): Likewise.
14767 (LDFLAGS-tst-initordera4.so): Likewise.
14768 (LDFLAGS-tst-initorderb2.so): Likewise.
14769 (LDFLAGS-noload): Likewise.
14770 (LDFLAGS-next): Likewise.
14771 (LDFLAGS-order2mod1.so): Likewise.
14772 (LDFLAGS-order2mod2.so): Likewise.
14773 (LDFLAGS-tst-initorder2): Likewise.
14774 (LDFLAGS-tst-initorder2a.so): Likewise.
14775 (LDFLAGS-tst-initorder2b.so): Likewise.
14776 (LDFLAGS-tst-initorder2c.so): Likewise.
14777 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14779 2012-05-02 David S. Miller <davem@davemloft.net>
14781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14783 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14786 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14788 2012-05-02 Andreas Jaeger <aj@suse.de>
14790 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14791 since we manipulate rounding mode.
14792 (CPPFLAGS-test-idouble.c): Likewise.
14793 (CPPFLAGS-test-ifloat.c): Likewise.
14794 (CFLAGS-test-ldouble.c): Likewise.
14795 (CFLAGS-test-double.c): Likewise.
14796 (CFLAGS-test-float.c): Likewise.
14797 (CFLAGS-test-misc.c): Likewise.
14798 (CFLAGS-test-test-fenv.c): Likewise.
14800 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14805 comparisons to determine direction to adjust input.
14807 2012-05-01 Roland McGrath <roland@hack.frob.com>
14809 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14810 output to the target.
14812 * scripts/localplt.awk: New file.
14813 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14814 (check-localplt-CFLAGS): Variable removed.
14815 ($(all-built-dso:=.jmprel)): New static pattern rule.
14816 (generated): Add those targets.
14817 (localplt-built-dso): New variable.
14818 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14820 * elf/check-localplt.c: File removed.
14822 * scripts/check-execstack.awk: New file.
14823 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14824 (check-execstack-CFLAGS): Variable removed.
14825 ($(objpfx)check-execstack.h): Target removed.
14826 ($(objpfx)execstack-default): New target.
14827 (generated): Add that instead of check-execstack.h.
14828 ($(all-built-dso:=.phdr)): New static pattern rule.
14829 (generated): Add those targets.
14830 * elf/check-execstack.c: File removed.
14832 * scripts/check-textrel.awk: New file.
14833 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14834 (check-textrel-CFLAGS): Variable removed.
14835 (all-built-dso): Use := to define.o
14836 ($(all-built-dso:=.dyn)): New static pattern rule.
14837 (generated): Add those targets.
14838 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14839 * config.make.in (READELF): New substituted variable.
14840 * elf/check-textrel.c: File removed.
14842 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14844 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14846 * conform/data/ctype.h-data [C99-based standards] (isblank):
14848 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14849 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14850 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14851 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14852 Specify type. Require positive value.
14853 (EILSEQ): Likewise.
14854 (ERANGE): Likewise.
14855 [ISO || POSIX] (EILSEQ): Do not expect.
14856 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14857 Specify type. Require positive value.
14858 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14859 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14860 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14861 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14862 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14863 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14864 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14882 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14883 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14887 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14888 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14889 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14890 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14891 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14892 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14893 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14894 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14895 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14897 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14898 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14899 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14900 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14901 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14902 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14904 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14905 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14906 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14907 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14908 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14910 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14911 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14913 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14914 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14915 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14916 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14917 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14918 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14919 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14920 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14921 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14922 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14923 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14924 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14925 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14926 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14927 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14928 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14929 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14930 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14931 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14932 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14933 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14934 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14936 (FLT_ROUNDS): Expect as macro, not constant.
14937 (FLT_MANT_DIG): Use macro-int-constant.
14938 (DBL_MANT_DIG): Likewise.
14939 (LDBL_MANT_DIG): Likewise.
14940 (FLT_DIG): Likewise.
14941 (DBL_DIG): Likewise.
14942 (LDBL_DIG): Likewise.
14943 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14944 (DBL_MIN_EXP): Likewise.
14945 (LDBL_MIN_EXP): Likewise.
14946 (FLT_MAX_EXP): Use macro-int-constant.
14947 (DBL_MAX_EXP): Likewise.
14948 (LDBL_MAX_EXP): Likewise.
14949 (FLT_MAX_10_EXP): Likewise.
14950 (DBL_MAX_10_EXP): Likewise.
14951 (LDBL_MAX_10_EXP): Likewise.
14952 (FLT_MAX): Use macro-constant.
14953 (DBL_MAX): Likewise.
14954 (LDBL_MAX): Likewise.
14955 (FLT_EPSILON): Use macro-constant. Give upper bound.
14956 (DBL_EPSILON): Likewise.
14957 (LDBL_EPSILON): Likewise.
14958 (FLT_MIN): Likewise.
14959 (DBL_MIN): Likewise.
14960 (LDBL_MIN): Likewise.
14961 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14962 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14963 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14964 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14965 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14966 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14967 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14968 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14969 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14970 [ISO11] (FLT_TRUE_MIN): Likewise.
14971 [ISO11] (LDBL_TRUE_MIN): Likewise.
14972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14973 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14974 (SCHAR_MIN): Use macro-int-constant. Specify type.
14975 (SCHAR_MAX): Likewise.
14976 (UCHAR_MAX): Likewise.
14977 (CHAR_MIN): Likewise.
14978 (CHAR_MAX): Likewise.
14979 (MB_LEN_MAX): Use macro-int-constant.
14980 (SHRT_MIN): Use macro-int-constant. Specify type.
14981 (SHRT_MAX): Likewise.
14982 (USHRT_MAX): Likewise.
14983 (INT_MAX): Likewise.
14984 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14986 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14988 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14990 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14991 bound negative. Suffix upper bound with "L".
14992 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14994 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14996 [C99-based standards] (LLONG_MAX): Likewise.
14997 [C99-based standards] (ULLONG_MAX): Likewise.
14998 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15000 [ISO11] (max_align_t): Require type.
15001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15003 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15004 from $CFLAGS, without defining away __attribute__ calls.
15005 (checknamespace): Use $CFLAGS_namespace.
15007 * conform/conformtest.pl (@keywords): Only include C99 keywords
15008 for standards based on C99 or C11.
15010 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15012 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15015 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15016 usability of symbols in #if.
15018 * conform/conformtest.pl: If macro or constant types start
15019 "promoted:", expect the symbol to be of the following type
15020 promoted by the integer promotions.
15022 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15023 in one place. Also handle "macro-constant".
15025 * conform/conformtest.pl: Only accept expected macro values with
15026 "==". Parse all "macro" lines in one place.
15027 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15029 * conform/conformtest.pl: Handle braced types on "constant" lines
15030 instead of handling "typed-constant".
15031 * conform/data/signal.h-data: Use "constant" instead of
15034 * conform/conformtest.pl: Handle "optional-" at start of lines in
15035 one place rather than duplicating several cases. Handle each
15036 format of "macro" line with initial "optional-".
15038 * conform/conformtest.pl: Only accept expected constant or
15039 optional-constant values with "==". Parse all "constant" lines in
15040 one place. Parse all "optional-constant" lines in one place.
15041 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15042 * conform/data/fmtmsg.h-data: Likewise.
15043 * conform/data/netinet/in.h-data: Likewise.
15044 * conform/data/tar.h-data: Likewise.
15045 * conform/data/limits.h-data: Use "==" form on "constant" and
15046 "optional-constant" lines.
15048 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15049 Use -std=c99 for XOPEN2K.
15050 (@knownproblems): Remove.
15051 (newtoken): Don't check %isknown.
15053 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15054 Do not expect macro.
15055 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15057 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15058 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15060 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15061 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15064 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15067 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15068 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15073 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15074 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15082 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15083 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15085 [XPG3] (acosh): Likewise.
15086 [XPG3] (asinh): Likewise.
15087 [XPG3] (atanh): Likewise.
15088 [XPG3] (cbrt): Likewise.
15089 [XPG3] (expm1): Likewise.
15090 [XPG3] (ilogb): Likewise.
15091 [XPG3] (log1p): Likewise.
15092 [XPG3] (logb): Likewise.
15093 [XPG3] (nextafter): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15095 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15096 [XPG3] (remainder): Likewise.
15097 [XPG3] (rint): Likewise.
15098 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15099 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15102 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15103 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15104 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15105 [UNIX98 || XOPEN2K] (scalb): Expect.
15106 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15107 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15244 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15245 _XOPEN_SOURCE_EXTENDED for XPG4.
15247 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15249 * Makeconfig (localtime): Remove variable.
15250 (inst_localtime-file): Likewise.
15252 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15273 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15277 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15278 comparisons to determine direction to adjust input.
15279 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15280 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15283 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15285 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15290 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15292 * math/libm-test.inc (nexttoward_test): Add more tests.
15294 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15298 in version GLIBC_2.1, not GLIBC_2.0.
15299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15302 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15305 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15307 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15308 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15309 * math/libm-test.inc (acos_test): Add more tests.
15310 (asin_test): Likewise.
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15315 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15317 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15318 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15319 * math/libm-test.inc (acos_test_tonearest): New function.
15320 (acos_test_towardzero): Likewise.
15321 (acos_test_downward): Likewise.
15322 (acos_test_upward): Likewise.
15323 (asin_test_tonearest): Likewise.
15324 (asin_test_towardzero): Likewise.
15325 (asin_test_downward): Likewise.
15326 (asin_test_upward): Likewise.
15327 (main): Call the new functions.
15328 * sysdeps/i386/fpu/libm-test-ulps: Update.
15329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15333 * math/e_exp10.c: Include <float.h>.
15334 (__ieee754_exp10): Handle underflow here rather than multiplying
15335 large negative argument by M_LN10.
15336 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15338 * math/e_exp10l.c: Include <float.h>.
15339 (__ieee754_exp10l): Handle underflow here rather than multiplying
15340 large negative argument by M_LN10l.
15341 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15342 spurious overflow exception on underflow.
15344 2012-04-29 Marek Polacek <polacek@redhat.com>
15346 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15347 (__fortify_function): New macro.
15348 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15349 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15350 __extern_always_inline.
15351 * libio/bits/stdio2.h: Likewise.
15352 * libio/bits/stdio.h: Likewise.
15353 * string/string.h: Likewise.
15354 * string/bits/string3.h: Likewise.
15355 * include/stdio.h: Likewise.
15356 * stdlib/bits/stdlib.h: Likewise.
15357 * stdlib/stdlib.h: Likewise.
15358 * rt/bits/mqueue2.h: Likewise.
15359 * rt/mqueue.h: Likewise.
15360 * posix/bits/unistd.h: Likewise.
15361 * posix/unistd.h: Likewise.
15362 * io/bits/poll2.h: Likewise.
15363 * io/bits/fcntl2.h: Likewise.
15364 * io/fcntl.h: Likewise.
15365 * io/sys/poll.h: Likewise.
15366 * misc/bits/syslog.h: Likewise.
15367 * misc/bits/syslog-ldbl.h: Likewise.
15368 * misc/sys/syslog.h: Likewise.
15369 * socket/bits/socket2.h: Likewise.
15370 * socket/sys/socket.h: Likewise.
15371 * debug/tst-chk1.c: Likewise.
15372 * wcsmbs/bits/wchar2.h: Likewise.
15373 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15374 * wcsmbs/wchar.h: Likewise.
15376 2012-04-29 Andreas Jaeger <aj@suse.de>
15378 * Makerules (tests): Remove enable-check-abi protection.
15379 (check-abi-warn): Remove.
15380 (check-abi-%): Remove check-abi-warn usage.
15382 * configure.in: Remove check-abi configure option.
15383 * configure: Regenerated.
15384 * config.make.in (enable-check-abi): Remove.
15386 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15389 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15390 double functions to double *_finite functions.
15393 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15394 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15396 * stdio-common/Makefile (tests): Add tst-sprintf3.
15397 * stdio-common/tst-sprintf3.c: New file.
15399 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15400 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15402 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15404 * conform/conformtest.pl: Remove duplicate typed-constant
15407 2012-04-28 David S. Miller <davem@davemloft.net>
15409 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15410 (check-abi-%): Remove AWK script prerequisite and explicit
15412 (check-abi): Rewrite to just diff the symlist with the abilist.
15413 (config-tls, config-abi-config): Delete, no longer used.
15414 (update-abi-%): Remove AWK script and explicit abilist directory.
15415 (update-abi): Rewrite to simply compare and conditionally copy the
15416 symlist and the sysdep abilist file. Remove update-abi-config
15418 * abilist/ld.abilist: Remove.
15419 * abilist/libBrokenLocale.abilist: Remove.
15420 * abilist/libanl.abilist: Remove.
15421 * abilist/libcrypt.abilist: Remove.
15422 * abilist/libdl.abilist: Remove.
15423 * abilist/librt.abilist: Remove.
15424 * abilist/libthread_db.abilist: Remove.
15425 * abilist/libutil.abilist: Remove.
15426 * scripts/extract-abilist.awk: Remove.
15427 * scripts/merge-abilist.awk: Remove.
15428 * sysdeps/generic/libcidn.abilist: New file.
15429 * sysdeps/generic/libnss_compat.abilist: New file.
15430 * sysdeps/generic/libnss_db.abilist: New file.
15431 * sysdeps/generic/libnss_dns.abilist: New file.
15432 * sysdeps/generic/libnss_files.abilist: New file.
15433 * sysdeps/generic/libnss_hesiod.abilist: New file.
15434 * sysdeps/generic/libnss_nis.abilist: New file.
15435 * sysdeps/generic/libnss_nisplus.abilist: New file.
15436 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15437 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15438 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15441 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15442 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15443 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15444 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15445 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15446 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15447 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15448 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15450 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15451 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15452 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15453 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15455 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15456 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15457 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15458 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15459 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15460 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15462 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15463 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15464 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15466 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15569 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15570 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15571 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15574 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15575 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15576 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15577 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15578 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15579 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15580 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15581 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15582 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15634 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15636 * conform/conformtest.pl: Fix typo in handling typed-constant from
15639 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15641 * README: Cut down references to pre-2.6 Linux kernels and
15642 Linuxthreads. Update lists of configurations in libc and ports
15643 and sort alphabetically. Say "or newer" with Linux kernel version
15646 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15648 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15651 * math/libm-test.inc (logb_test_downward): New test to expose
15652 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15655 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15658 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15660 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15661 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15663 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15665 * sysdeps/unix/i386/brk.S: Remove file.
15666 * sysdeps/unix/i386/dl-brk.S: Likewise.
15667 * sysdeps/unix/i386/pipe.S: Likewise.
15668 * sysdeps/unix/i386/sigreturn.S: Likewise.
15669 * sysdeps/unix/i386/syscall.S: Likewise.
15670 * sysdeps/unix/i386/vfork.S: Likewise.
15671 * sysdeps/unix/i386/wait.S: Likewise.
15673 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15674 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15676 * configure.in (arm*-none*): Do not allow without
15677 --enable-hacker-mode.
15678 (netbsd*): Remove case setting base_os.
15679 (386bsd*): Likewise.
15680 (freebsd*): Likewise.
15683 (sunos*): Likewise.
15684 (ultrix*): Likewise.
15685 (newsos*): Likewise.
15686 (dynix*): Likewise.
15692 (minix*): Likewise.
15693 (irix4*): Likewise.
15694 (irix6*): Likewise.
15695 (solaris[2-9]*): Likewise.
15697 * configure: Regenerated.
15699 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15703 overflow or cancellation in calculating denominator.
15704 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15706 down expression to avoid unexpected rounding in newer GCCs.
15707 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15709 2012-04-26 David S. Miller <davem@davemloft.net>
15711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15712 long-double compat symbols.
15713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15727 2012-04-25 David S. Miller <davem@davemloft.net>
15729 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15730 HWCAP_* values only after the memory barriers have been defined.
15731 (atomic_full_barrier): Define.
15732 (atomic_read_barrier): Define.
15733 (atomic_write_barrier): Define.
15735 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15737 * shlib-versions: Add libgcc_s version information.
15738 * sysdeps/generic/libgcc_s.h: Remove.
15739 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15741 * sysdeps/gnu/unwind-resume.c: Likewise.
15742 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15744 2012-04-25 David S. Miller <davem@davemloft.net>
15746 * sysdeps/unix/sparc/brk.S: Delete.
15747 * sysdeps/unix/sparc/dl-brk.S: Delete.
15748 * sysdeps/unix/sparc/pipe.S: Delete.
15749 * sysdeps/unix/sparc/sysdep.S: Delete.
15750 * sysdeps/unix/sparc/sysdep.h: Delete.
15751 * sysdeps/unix/sparc/vfork.S: Delete.
15752 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15753 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15755 ret_ERRVAL, r0, r1, MOVE): Define.
15756 (JUMPTARGET): Remove.
15757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15758 sysdeps/unix/sparc/sysdep.h
15759 (ENTRY, END): Remove.
15760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15762 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15764 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15765 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15768 * timezone/README: Update upstream location and email address for
15770 * timezone/zdump.c: Update from tzcode 2012b.
15771 * timezone/zic.c: Likewise.
15773 * configure.in (libc_cv_as_needed): Remove test.
15774 * configure: Regenerated.
15775 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15776 conditional definition.
15777 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15778 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15779 * config.make.in (have-as-needed): Remove variable.
15781 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15782 Paul Pluzhnikov <ppluzhnikov@google.com>
15784 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15787 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15789 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15790 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15791 * sysdeps/sh/strlen.S: Likewise.
15793 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15795 * sysdeps/unix/fork.S: Remove file.
15796 * sysdeps/unix/i386/fork.S: Likewise.
15797 * sysdeps/unix/sparc/fork.S: Likewise.
15799 * sysdeps/unix/system.c: Remove file.
15800 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15802 * sysdeps/unix/getegid.S: Remove file.
15803 * sysdeps/unix/geteuid.S: Likewise.
15805 2012-04-24 Roland McGrath <roland@hack.frob.com>
15807 * scripts/check-localplt.awk: New file.
15808 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15810 * scripts/data/localplt-generic.data: Add a comment.
15812 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15813 NODE when __dir_mkfile failed.
15814 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15815 Reported by Ludovic Courtès <ludo@gnu.org>.
15817 2012-04-24 Andreas Jaeger <aj@suse.de>
15819 * Makerules (common-clean): Also remove gen-as-const-headers
15822 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15824 * Makerules (native-compile): Do not change working directory for
15825 build. Use $(OUTPUT_OPTION) in command.
15826 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15828 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15831 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15832 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15833 * math/libm-test.inc (floor_test): Add more tests.
15834 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15836 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15838 * sysdeps/unix/getdents.c: Remove file.
15839 * sysdeps/unix/sysv/getdents.c: Likewise.
15840 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15842 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15843 sysdeps/unix/mman/syscalls.list.
15845 (mprotect): Likewise.
15847 (munmap): Likewise.
15848 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15849 * sysdeps/unix/mman/syscalls.list: Remove.
15850 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15852 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15853 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15854 * configure: Regenerated.
15855 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15856 $(libgcc_s_suffix).
15857 * config.make.in (libgcc_s_suffix): Remove variable.
15859 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15861 * sysdeps/unix/sysv/gethostname.c: Move to ...
15862 * sysdeps/posix/gethostname.c: ... here.
15864 * sysdeps/unix/execve.S: Remove file.
15866 * sysdeps/unix/_exit.S: Remove file.
15868 2012-04-23 Andreas Jaeger <aj@suse.de>
15871 * manual/Makefile: Remove make dist support, there's no
15872 need for a stand-alone documentation tar ball.
15873 (TEXI2DVI): Define always, it's not in Makeconfig.
15876 (edition): Removed.
15877 (glibc-doc-$(edition).tar): Removed
15881 (ETAGS): Remove, it's in Makeconfig.
15882 (move-if-change): Remove, it's in Makeconfig.
15884 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15887 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15888 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15889 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15890 (strtod_l, strtof_l, strtold_l): Remove __wur.
15891 It is not necessarily an error to ignore strtol's return value.
15892 One can reliably look at the stored endptr to decide whether
15893 the number had valid syntax.
15895 2012-04-21 Andreas Jaeger <aj@suse.de>
15898 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15900 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15902 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15903 * sysdeps/unix/sysv/Versions: Remove file.
15905 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15910 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15913 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15914 version from __vm86.
15916 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15918 * sysdeps/unix/common/lxstat.c: Remove file.
15919 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15921 * sysdeps/unix/sysv/Makefile: Remove file.
15923 * sysdeps/unix/sysv/direct.h: Remove file.
15925 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15926 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15927 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15928 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15929 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15930 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15931 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15933 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15935 * sysdeps/unix/xmknod.c: Remove file.
15936 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15938 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15940 * sysdeps/unix/sysv/i386/time.S: Remove file.
15942 * sysdeps/unix/fxstat.c: Remove file.
15943 * sysdeps/unix/xstat.c: Likewise.
15944 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15946 * sysdeps/unix/sysv/sigaction.c: Remove file.
15948 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15949 (sysdep_headers): Remove variable.
15950 [termio.h not in sysdep_headers] (generated): Likewise.
15951 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15952 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15953 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15954 * sysdeps/unix/sysv/tcflow.c: Likewise.
15955 * sysdeps/unix/sysv/tcflush.c: Likewise.
15956 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15957 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15958 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15959 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15960 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15962 * sysdeps/unix/siglist.c: Remove file.
15964 * sysdeps/unix/getppid.S: Remove file.
15966 * sysdeps/unix/mkdir.c: Remove file.
15967 * sysdeps/unix/rmdir.c: Likewise.
15969 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15971 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15973 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15974 errlist-compat value.
15976 2012-04-18 David S. Miller <davem@davemloft.net>
15978 * sysdeps/generic/memcopy.h (reg_char): Delete.
15979 * debug/strcat_chk.c: Use char, not reg_char.
15980 * debug/strcpy_chk.c: Likewise.
15981 * debug/strncat_chk.c: Likewise.
15982 * debug/strncpy_chk.c: Likewise.
15983 * string/memchr.c: Likewise.
15984 * string/memrchr.c: Likewise.
15985 * string/rawmemchr.c: Likewise.
15986 * string/strcat.c: Likewise.
15987 * string/strchr.c: Likewise.
15988 * string/strchrnul.c: Likewise.
15989 * string/strcmp.c: Likewise.
15990 * string/strcpy.c: Likewise.
15991 * string/strncat.c: Likewise.
15992 * string/strncmp.c: Likewise.
15993 * string/strncpy.c: Likewise.
15995 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15997 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15998 __builtin_memcopy is called when src and dest ranges are known to not
16001 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16004 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16005 fwd_align_merge macro call.
16006 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16007 bwd_align_merge macro call.
16008 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16010 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16012 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16013 bwd_align_merge macros.
16014 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16015 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16016 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16018 2012-04-18 David S. Miller <davem@davemloft.net>
16020 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16022 2012-04-18 Andreas Jaeger <aj@suse.de>
16025 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16026 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16027 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16029 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16030 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16031 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16033 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16034 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16035 Adjust for changed ldbl-128 files.
16037 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16038 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16039 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16041 2012-04-17 David S. Miller <davem@davemloft.net>
16043 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16045 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16047 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16048 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16049 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16050 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16051 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16052 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16054 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16057 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16058 * math/libm-test.inc: Add ilogb errno and exception tests.
16059 * math/w_ilogb.c: New file: ilogb wrapper.
16060 * math/w_ilogbf.c: New file: ilogbf wrapper.
16061 * math/w_ilogbl.c: New file: ilogbl wrapper.
16062 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16063 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16064 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16065 exception being thrown with 0.0 as argument.
16066 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16067 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16068 exception being thrown with 0.0 as argument.
16069 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16070 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16071 exception being thrown with 0.0 as argument.
16072 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16073 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16074 exception being thrown with 0.0 as argument.
16075 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16076 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16078 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16079 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16080 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16081 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16082 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16083 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16085 2012-04-17 Petr Baudis <pasky@ucw.cz>
16087 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16090 2012-04-16 Marek Polacek <polacek@redhat.com>
16092 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16094 2012-04-16 Marek Polacek <polacek@redhat.com>
16096 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16097 operands of fdivp instruction.
16099 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16101 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16102 * elf/tst-auditmod3b.c: Likewise.
16103 * elf/tst-auditmod4b.c: Likewise.
16104 * elf/tst-auditmod5b.c: Likewise.
16105 * elf/tst-auditmod6b.c: Likewise.
16106 * elf/tst-auditmod6c.c: Likewise.
16107 * elf/tst-auditmod7b.c: Likewise.
16108 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16109 * sysdeps/x86_64/preconfigure.in: Likewise.
16110 * sysdeps/x86_64/preconfigure: Regenerated.
16112 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16114 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16117 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16120 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16122 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16125 * locale/iso-639.def: Fix gl language name. Spotted by
16128 2012-04-12 Roland McGrath <roland@hack.frob.com>
16131 * libio/libio.h (__io_write_fn): Update comment.
16133 2012-04-12 Petr Baudis <pasky@ucw.cz>
16136 * stdio.texi (Hook Functions): The user provided writer function
16137 is not allowed to return -1.
16139 2012-04-11 David S. Miller <davem@davemloft.net>
16141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16143 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16145 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16146 Add a leading slash to rtkaio.
16148 2012-04-11 Jim Meyering <meyering@redhat.com>
16151 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16152 It is not necessarily an error to ignore fwrite's return
16153 value. One can reliably use ferror to test for errors after
16156 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16158 * bits/types.h (__snseconds_t): New type.
16159 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16161 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16163 (__SNSECONDS_T_TYPE): Likewise.
16164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16165 (__SNSECONDS_T_TYPE): Likewise.
16166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16167 (__SNSECONDS_T_TYPE): Likewise.
16169 2012-04-10 Andreas Jaeger <aj@suse.de>
16172 * manual/time.texi (Processor Time): Return type of times is
16173 elapsed real time since an arbitrary point in the past.
16174 (CPU Time): Move CLK_TCK from here...
16175 (Processor Time): ...to here. Correct description.
16176 * manual/conf.texi (Constants for Sysconf): Correct description of
16179 2012-04-10 David S. Miller <davem@davemloft.net>
16182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16183 where the is a gap between DT_REL(A) and DT_JMPREL.
16185 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16187 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16188 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16189 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16191 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16193 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16194 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16195 (dl_main): Handle --inhibit-cache.
16196 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16198 * elf/dl-load.c (_dl_map_object): Use it.
16199 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16201 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16204 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16205 (__ieee754_powl): Saturate large exponents rather than testing for
16206 overflow of y*log2(x).
16207 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16208 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16212 * math/s_ctan.c: Include <float.h>.
16213 (__ctan): Avoid internal overflow or cancellation in calculating
16215 * math/s_ctanf.c: Likewise.
16216 * math/s_ctanl.c: Likewise.
16217 * math/s_ctanh.c: Likewise.
16218 * math/s_ctanhf.c: Likewise.
16219 * math/s_ctanhl.c: Likewise.
16220 * math/libm-test.inc (ctan_test): Add more tests.
16221 (ctanh_test): Likewise.
16222 * sysdeps/i386/fpu/libm-test-ulps: Update.
16223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16225 2012-04-09 Andreas Jaeger <aj@suse.de>
16228 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16229 is an optional BSD extension.
16232 * manual/stdio.texi (Opening Streams): Document additional fopen
16235 2012-04-09 Roland McGrath <roland@hack.frob.com>
16237 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16238 %eax without telling the compiler.
16240 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16243 * manual/install.texi: Use sourceware.org.
16245 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16248 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16249 (__ieee754_pow): Generate overflow and underflow using huge*huge
16250 and tiny*tiny rather than just returning constant infinity or zero
16251 for large exponents.
16252 * math/libm-test.inc (pow_test): Require overflow exceptions for
16253 applicable cases of large exponents.
16256 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16257 (__ieee754_pow): Use iterative multiplication algorithm only for
16258 integer exponents with absolute value below 1024. Check for odd
16259 integer exponents when using algorithm for real exponents.
16260 * math/libm-test.inc (pow_test): Add more tests.
16261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16263 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16266 * math/libm-test.inc (exp_test): Do not allow overflow exception
16269 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16272 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16273 instead of __kernel_standard_f.
16275 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16277 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16278 * sysdeps/x86_64/memset_chk.S: Likewise.
16280 2012-04-08 Andreas Jaeger <aj@suse.de>
16283 * manual/startup.texi (Environment Access): Describe return value
16284 for putenv and setenv.
16287 * manual/filesys.texi (Directory Entries): Add description for
16291 * manual/filesys.texi (Directory Entries): Clarify that it's file
16292 system not operating system in the description of DT_UNKNOWN.
16295 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16297 2012-04-08 Stephen Compall <s11@member.fsf.org>
16300 * manual/llio.texi (Opening and Closing Files): Add cross
16301 reference to explain mode argument.
16303 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16305 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16306 * sysdeps/x86_64/memset_chk.S: Likewise.
16308 2012-04-07 David S. Miller <davem@davemloft.net>
16310 * elf/elf.h (R_SPARC_WDISP10): Define.
16311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16313 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16314 R_SPARC_SIZE64 and R_SPARC_H34.
16316 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16318 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16319 conditions and remove no longer applicable assertion.
16321 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16323 * bits/byteswap.h: Include <features.h>.
16324 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16325 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16327 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16329 * bits/byteswap.h (__bswap_16): Removed.
16330 Include <bits/byteswap-16.h> to get __bswap_16.
16331 * sysdeps/i386/bits/byteswap.h: Likewise.
16332 * sysdeps/s390/bits/byteswap.h: Likewise.
16333 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16334 * bits/byteswap-16.h: New file.
16335 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16336 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16337 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16338 * string/Makefile (headers): Add bits/byteswap-16.h.
16340 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16343 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16345 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16346 * nss/tst-nss-static.c: New.
16348 2012-04-06 Robert Millan <rmh@gnu.org>
16351 * manual/llio.texi (File Position Primitive): lseek
16352 refers to WHENCE when it really means OFFSET.
16354 2012-04-06 Andreas Jaeger <aj@suse.de>
16356 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16357 strncmp declarations.
16359 * abilist/libc.abilist: Add __poll and __ppoll.
16361 2012-04-05 David S. Miller <davem@davemloft.net>
16363 * scripts/check-local-headers.sh: Accept a host triplet in the
16364 path matched by the exclude regexp.
16366 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16368 * sysdeps/powerpc/powerpc32/dl-machine.h
16369 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16370 * sysdeps/s390/s390-32/dl-machine.h
16371 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16372 * sysdeps/sparc/sparc32/dl-machine.h
16373 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16374 * sysdeps/sparc/sparc64/dl-machine.h
16375 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16377 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16379 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16380 undefined symbol errors.
16382 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16385 2012-04-05 Michael Matz <matz@suse.de>
16388 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16390 2012-04-05 Andreas Jaeger <aj@suse.de>
16393 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16396 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16399 which ROUND is no valid rounding mode.
16401 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16403 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16405 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16407 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16410 an exception using FPU order intentionally.
16412 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16414 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16415 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16416 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16417 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16419 2012-04-05 Simon Josefsson <simon@josefsson.org>
16422 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16423 EINVAL when BUFLEN is too smal.
16425 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16428 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16429 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16431 2012-04-03 Andreas Jaeger <aj@suse.de>
16434 * manual/setjmp.texi (System V contexts): Fix sentence.
16437 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16438 New macro for this case.
16439 [!__GNUC__] (__bswap_64): New inline function for this case.
16440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16441 * bits/byteswap.h: Likewise.
16442 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16443 ull, guard with __GLIBC_HAVE_LONG_LONG.
16445 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16446 __GLIBC_HAVE_LONG_LONG.
16448 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16449 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16451 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16454 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16455 inptr and inend, rather than using last_ch.
16457 2012-04-02 David S. Miller <davem@davemloft.net>
16459 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16460 * stdio-common/printf-parse.h (read_int): Change return type to
16461 'int', return -1 on INT_MAX overflow.
16462 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16463 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16464 overflows INT_MAX. Check for overflow of in-format-string precision
16465 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16466 SIZE_MAX not INT_MAX for integer overflow test.
16467 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16468 skip the construct in the format string but do not record anything.
16469 * stdio-common/bug22.c: Adjust to test both width/prevision
16470 INT_MAX overflow as well as total length INT_MAX overflow. Check
16471 explicitly for proper errno values.
16473 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16475 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16477 * string/test-strcmp.c [! WIDE]: Likewise.
16478 * time/tst-mktime2.c: Likewise for INT_MAX.
16479 * string/test-string.h: #include <sys/param.h> for MIN.
16481 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16482 * sysdeps/i386/init-first.c (init): Likewise.
16483 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16484 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16485 * sysdeps/sh/init-first.c (init): Likewise.
16487 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16489 * po/ru.po: Update from translation team.
16490 * po/vi.po: Likewise.
16492 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16494 * resolv/nss_dns/dns-host.c: Merge copyright years.
16496 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16498 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16499 Optimize memcpy with prefetch if
16500 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16501 src, dst pointers have unequal 16 byte alignments.
16503 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16506 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16507 from a CNAME entry and return the minimum ttl for the query.
16508 (gaih_getanswer_slice): Likewise.
16510 2012-03-30 Jeff Law <law@redhat.com>
16512 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16514 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16515 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16517 * resolv/nss_dns/dns-host.c: Update copyright year.
16519 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16521 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16522 requests to save a system call. Fix check that all bytes are sent.
16524 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16525 comments for sendmmsg.
16527 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16530 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16531 with only 1 character between 0x0041 and 0x01b0.
16532 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16533 * wcsmbs/tst-mbsnrtowcs.c: New file.
16535 2012-03-29 David S. Miller <davem@davemloft.net>
16537 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16538 small copies by hand.
16540 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16543 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16544 _nss_compat_initgroups_dyn): Fall back to malloc/free
16545 for large group memberships.
16547 2012-03-28 David S. Miller <davem@davemloft.net>
16549 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16550 that branches into memcpy.
16551 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16554 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16557 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16558 implementation too.
16559 * sysdeps/sparc/mempcpy.S: New file.
16561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16562 the IFUNC routine in the libc case.
16563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16566 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16567 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16568 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16569 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16570 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16571 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16572 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16574 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16575 loop to 256 bytes instead of 64 bytes and fix test signedness.
16577 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16578 * sysdeps/sparc/sparc32/Makefile: rather than here...
16579 * sysdeps/sparc/sparc64/Makefile: and here.
16581 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16583 * malloc/mallocbug.c: Avoid warnings about unused variables.
16585 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16588 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16589 in the right place. Discard and retry query if response is
16590 larger than input buffer size.
16592 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16597 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16598 x for large integer exponent.
16599 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16600 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16601 sign of result as needed afterwards.
16602 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16603 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16604 result for underflowing pow the same as for overflow.
16605 (__kernel_standard_l): Handle powl overflow and underflow here
16606 rather than calling __kernel_standard.
16607 * math/libm-test.inc (pow_test): Add more tests.
16622 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16623 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16624 (__kernel_standard_l): New function.
16625 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16627 * math/w_acosl.c (__acosl): Likewise.
16628 * math/w_asinl.c (__asinl): Likewise.
16629 * math/w_atan2l.c (__atan2l): Likewise.
16630 * math/w_atanhl.c (__atanhl): Likewise.
16631 * math/w_coshl.c (__coshl): Likewise.
16632 * math/w_exp10l.c (__exp10l): Likewise.
16633 * math/w_exp2l.c (__exp2l): Likewise.
16634 * math/w_fmodl.c (__fmodl): Likewise.
16635 * math/w_hypotl.c (__hypotl): Likewise.
16636 * math/w_j0l.c (__j0l, __y0l): Likewise.
16637 * math/w_j1l.c (__j1l, __y1l): Likewise.
16638 * math/w_jnl.c (__jnl, __ynl): Likewise.
16639 * math/w_lgammal.c (__lgammal): Likewise.
16640 * math/w_log10l.c (__log10l): Likewise.
16641 * math/w_log2l.c (__log2l): Likewise.
16642 * math/w_logl.c (__logl): Likewise.
16643 * math/w_powl.c (__powl): Likewise.
16644 * math/w_remainderl.c (__remainderl): Likewise.
16645 * math/w_scalbl.c (sysv_scalbl): Likewise.
16646 * math/w_sinhl.c (__sinhl): Likewise.
16647 * math/w_sqrtl.c (__sqrtl): Likewise.
16648 * math/w_tgammal.c (__tgammal): Likewise.
16649 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16650 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16651 * math/libm-test.inc (acos_test): Add more tests.
16652 (acosh_test): Likewise.
16653 (asin_test): Likewise.
16654 (atanh_test): Likewise.
16655 (exp_test): Likewise.
16656 (exp10_test): Likewise.
16657 (exp2_test): Likewise.
16658 (expm1_test): Likewise.
16659 (lgamma_test): Likewise.
16660 (log_test): Likewise.
16661 (log10_test): Likewise.
16662 (log1p_test): Likewise.
16663 (log2_test): Likewise.
16664 (pow_test): Do not allow some spurious overflow exceptions.
16665 (sqrt_test): Add more tests.
16666 (tgamma_test): Likewise.
16667 (y0_test): Likewise.
16668 (y1_test): Likewise.
16669 (yn_test): Likewise.
16671 2012-03-27 Anton Blanchard <anton@samba.org>
16673 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16675 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16676 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16677 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16679 2012-03-27 David S. Miller <davem@davemloft.net>
16681 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16683 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16684 have-as-vis3 check.
16686 2012-03-27 Andreas Jaeger <aj@suse.de>
16688 * sysdeps/x86_64/elf/configure.in: Moved to ...
16689 * sysdeps/x86_64/configure.in: ... here.
16690 * sysdeps/x86_64/elf/start.S: Moved to ...
16691 * sysdeps/x86_64/start.S: ... here.
16692 * sysdeps/x86_64/elf/configure: Delete.
16694 * sysdeps/x86_64/configure.in: Merge contents from
16695 sysdeps/i386/configure.in (without i686 check).
16697 * sysdeps/i386/elf/Versions: Merge into ...
16698 * sysdeps/i386/Versions: ... this.
16699 * sysdeps/i386/elf/Versions: Delete file.
16700 * sysdeps/i386/elf/start.S: Moved to ...
16701 * sysdeps/i386/start.S: ...here.
16702 * sysdeps/i386/elf/configure.in: Merge into...
16703 * sysdeps/i386/configure.in: ...here.
16704 * sysdeps/i386/elf/configure.in: Delete file.
16705 * sysdeps/i386/elf/configure: Delete file.
16707 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16708 * debug/backtracesyms.c: ... here.
16709 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16710 * debug/backtracesymsfd.c: ... here.
16711 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16712 * sysdeps/generic/ifunc-sel.h: ... here.
16714 * sysdeps/unix/i386/start.c: Delete file.
16715 * sysdeps/unix/sparc/start.c: Delete file.
16716 * sysdeps/unix/start.c: Delete file.
16718 * sysdeps/sh/elf/configure.in: Moved to ...
16719 * sysdeps/sh/configure.in: ... here.
16720 * sysdeps/sh/elf/start.S: Moved to ...
16721 * sysdeps/sh/start.S: ... here.
16722 * sysdeps/sh/elf/configure: Delete file.
16724 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16725 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16726 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16727 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16728 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16729 * sysdeps/powerpc/powerpc64/start.S: here.
16730 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16731 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16732 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16733 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16734 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16736 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16737 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16738 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16739 * sysdeps/powerpc/powerpc32/start.S: ... here.
16740 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16741 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16742 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16744 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16745 * sysdeps/powerpc/ifunc-sel.h: ... here.
16746 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16747 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16749 * sysdeps/sparc/elf/configure.in: Moved to ...
16750 * sysdeps/sparc/configure.in: ... here.
16751 * sysdeps/sparc/elf/configure: Delete file.
16752 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16753 * sysdeps/sparc/sparc32/start.S: ... here.
16754 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16755 * sysdeps/sparc/sparc64/start.S: ... here.
16756 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16757 * sysdeps/sparc/sparc32/Makefile: ... this.
16758 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16759 * sysdeps/sparc/sparc64/Makefile: ... this.
16761 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16762 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16763 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16764 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16765 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16766 * sysdeps/s390/s390-32/setjmp.S: ... here.
16767 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16768 * sysdeps/s390/s390-32/configure.in: ... here.
16769 * sysdeps/s390/s390-32/elf/configure: Delete file.
16770 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16771 * sysdeps/s390/s390-32/start.S: ... here.
16773 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16774 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16775 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16776 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16777 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16778 * sysdeps/s390/s390-64/setjmp.S: ... here.
16779 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16780 * sysdeps/s390/s390-64/configure.in: ... here
16781 * sysdeps/s390/s390-64/elf/configure: Delete file.
16782 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16783 * sysdeps/s390/s390-64/start.S: ... here.
16784 * sysdeps/s390/s390-64/elf/configure: Delete.
16786 * configure.in: Remove support for elf directories in sysdeps.
16788 * configure: Regenerated.
16789 * sysdeps/i386/configure: Regenerated.
16790 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16791 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16792 * sysdeps/s390/s390-32/configure: Regenerated.
16793 * sysdeps/s390/s390-64/configure: Regenerated.
16794 * sysdeps/sh/configure: Regenerated.
16795 * sysdeps/sparc/configure: Regenerated.
16796 * sysdeps/x86_64/configure: Regenerated.
16798 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16802 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16803 denormal result into account.
16805 2012-03-25 Roland McGrath <roland@hack.frob.com>
16807 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16808 Reported by Allan McRae <allan@archlinux.org>.
16810 2012-03-23 Jeff Law <law@redhat.com>
16812 * nss/getnssent.c (__nss_getent): Fix typo.
16814 2012-03-23 David S. Miller <davem@davemloft.net>
16816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16818 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16820 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16821 to pad to uint64_t for each field.
16822 (dl_tls_index): Replace unsigned long with uint64_t.
16824 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16825 Paul Pluzhnikov <ppluzhnikov@google.com>
16828 * grp/Makefile (otherlibs): Don't set it.
16829 * inet/Makefile (otherlibs): Likewise.
16830 * login/Makefile (otherlibs): Likewise.
16831 * nscd/Makefile (otherlibs): Likewise.
16832 * posix/Makefile (otherlibs): Likewise.
16833 * pwd/Makefile (otherlibs): Likewise.
16834 * rt/Makefile (otherlibs): Likewise.
16835 * sunrpc/Makefile (otherlibs): Likewise.
16836 * nss/Makefile (otherlibs): Likewise.
16837 Add libnss_files to routines and static-only-routines.
16838 ($(objpfx)getent): Remove rule.
16839 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16840 static-only-routines.
16842 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16845 * math/s_cexp.c: Include <float.h>.
16846 (__cexp): Handle exp result overflowing not necessarily
16847 overflowing both real and imaginary parts of result.
16848 * math/s_cexpf.c: Likewise.
16849 * math/s_cexpl.c: Likewise.
16850 * math/libm-test.inc (cexp_test): Add more tests.
16851 * sysdeps/i386/fpu/libm-test-ulps: Update.
16852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16854 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16856 * include/link.h (ELFW): New macro.
16857 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16858 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16860 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16862 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16865 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16867 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16869 (struct La_x32_retval): Likewise.
16871 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16873 * sysdeps/x86_64/preconfigure.in: New file.
16874 * sysdeps/x86_64/preconfigure: New generated file.
16876 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16879 * math/e_exp2l.c: Include <float.h>.
16880 (__ieee754_exp2l): Handle overflow and underflow cases
16881 separately. Only pass fractional part of argument to
16883 * math/libm-test.inc (exp2_test): Add more tests.
16885 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16886 negating x to take absolute value.
16887 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16889 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16890 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16892 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16893 computing low part if x was negated.
16894 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16896 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16898 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16899 la_x32_gnu_pltexit.
16900 (pltexit): Cast int_retval to ptrdiff_t.
16901 * elf/tst-auditmod3b.c: Likewise.
16902 * elf/tst-auditmod4b.c: Likewise.
16903 * elf/tst-auditmod5b.c: Likewise.
16904 * elf/tst-auditmod6b.c: Likewise.
16905 * elf/tst-auditmod6c.c: Likewise.
16906 * elf/tst-auditmod7b.c: Likewise.
16908 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16909 and x32_gnu_pltexit.
16911 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16912 __ELF_NATIVE_CLASS.
16913 (La_x32_regs): New macro.
16914 (La_x32_retval): Likewise.
16915 (la_x32_gnu_pltenter): New function prototype.
16916 (la_x32_gnu_pltexit): Likewise.
16918 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16925 * configure.in (libc_cv_cc_nofma): Check for option to disable
16926 generation of FMA instructions.
16927 * configure: Regenerate.
16928 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16929 * sysdeps/ieee754/dbl-64/Makefile: New file.
16930 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16931 Remove brandred-fma4.
16932 (CFLAGS-brandred-fma4.c): Remove.
16933 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16934 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16936 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16939 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16941 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16942 LLONG_MAX != LONG_MAX.
16943 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16944 (_fitoa_word): Likewise.
16945 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16946 LLONG_MAX != LONG_MAX.
16947 * stdio-common/_itowa.h: Include <_itoa.h>.
16948 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16949 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16950 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16951 only if not defined.
16952 (_ITOA_WORD_TYPE): Likewise.
16953 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16954 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16956 2012-03-21 David S. Miller <davem@davemloft.net>
16958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16960 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16962 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16963 of x86_64 when setting libc_cv_slibdir, libdir and
16965 * sysdeps/unix/sysv/linux/configure: Regenerated.
16967 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16969 * manual/lang.texi (Old Varargs): Remove section.
16970 (How Variadic): Update menu.
16971 (va_start): Do not mention varargs.h.
16973 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16974 Joseph Myers <joseph@codesourcery.com>
16976 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16978 * configure: Regenerated.
16980 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16982 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16983 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16986 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16989 * Makefile (files-for-dist): Remove NOTES.
16990 (NOTES): Remove rule.
16991 * README: Don't refer to NOTES.
16992 * manual/creature.texi: Don't include macros.texi.
16993 * manual/intro.texi (creature.texi): Remove comment referring to
16996 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16997 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16998 * configure: Regenerated.
16999 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17000 LIBC_TRY_CC_OPTION.
17001 (libc_cv_as_i686): Likewise.
17002 (libc_cv_cc_avx): Likewise.
17003 (libc_cv_cc_sse2avx): Likewise.
17004 (libc_cv_cc_fma4): Likewise.
17005 (libc_cv_cc_novzeroupper): Likewise.
17006 * sysdeps/i386/configure: Regenerated.
17009 * sysdeps/i386/fpu/s_cexp.S: Remove.
17010 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17011 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17012 * math/libm-test.inc (cexp_test): Add more tests.
17013 * sysdeps/i386/fpu/libm-test-ulps: Update.
17014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17016 2012-03-21 Allan McRae <allan@archlinux.org>
17018 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17020 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17023 * math/w_exp2.c: Do not include <float.h>.
17024 (o_threshold, u_threshold): Remove.
17025 (__exp2): Calculate result before checking finiteness and calling
17027 * math/w_exp2f.c: Likewise.
17028 * math/w_exp2l.c: Likewise.
17029 * math/libm-test.inc (exp2_test): Require overflow exception for
17033 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17034 range of signed 64-bit integers before using fistpll. Remove
17035 checks for whether integers fit in mantissa bits.
17036 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17037 the range of signed 32-bit integers before using fistpl. Remove
17038 checks for whether integers fit in mantissa bits.
17039 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17040 (__ieee754_powl): Test for y outside the range of signed 64-bit
17041 integers before using fistpll. Reduce 64-bit values to 63-bit
17043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17044 divide-by-zero is raised for zero to large negative powers.
17045 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17046 (__ieee754_powl): Test for y outside the range of signed 64-bit
17047 integers before using fistpll. Reduce 64-bit values to 63-bit
17049 * math/libm-test.inc (pow_test): Add more tests.
17051 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17053 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17054 <stdio-common/_itoa.h>.
17055 * debug/segfault.c: Likewise.
17056 * elf/dl-cache.c: Likewise.
17057 * elf/dl-minimal.c: Likewise.
17058 * elf/dl-misc.c: Likewise.
17059 * elf/dl-sysdep.c: Likewise.
17060 * elf/dl-version.c: Likewise.
17061 * elf/rtld.c: Likewise.
17062 * hurd/hurdsock.c: Likewise.
17063 * hurd/lookup-retry.c: Likewise.
17064 * malloc/malloc.c: Likewise.
17065 * malloc/mtrace.c: Likewise.
17066 * nscd/nscd_getgr_r.c: Likewise.
17067 * nscd/nscd_getpw_r.c: Likewise.
17068 * nscd/nscd_getserv_r.c: Likewise.
17069 * posix/getopt_init.c: Likewise.
17070 * posix/wordexp.c: Likewise.
17071 * stdio-common/_itoa.c: Likewise.
17072 * stdio-common/printf_fphex.c: Likewise.
17073 * stdio-common/vfprintf.c: Likewise.
17074 * string/_strerror.c: Likewise.
17075 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17076 * sysdeps/i386/i686/hp-timing.h: Likewise.
17077 * sysdeps/mach/_strerror.c: Likewise.
17078 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17079 * sysdeps/mach/hurd/sethostid.c: Likewise.
17080 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17081 * sysdeps/mach/xpg-strerror.c: Likewise.
17082 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17083 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17084 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17085 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17086 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17087 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17088 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17089 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17090 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17091 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17092 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17093 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17094 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17095 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17096 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17097 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17098 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17099 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17100 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17101 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17102 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17104 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17106 * stdio-common/_itoa.h: Moved to ...
17107 * sysdeps/generic/_itoa.h: Here.
17109 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17111 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17112 instead of "_itoa.h" and "_itowa.h".
17113 * stdio-common/vfprintf.: Likewise.
17115 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17117 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17119 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17120 (__signbit): Likwise.
17121 (llrintf): Likwise.
17124 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17126 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17129 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17131 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17132 OVERFLOW_EXCEPTION_OK.
17133 * math/libm-test.inc ("Philosophy"): Update comment about
17135 (OVERFLOW_EXCEPTION): Define.
17136 (OVERFLOW_EXCEPTION_OK): Likewise.
17137 (INVALID_EXCEPTION_OK): Renumber.
17138 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17139 (IGNORE_ZERO_INF_SIGN): Likewise.
17140 (test_exceptions): Handle FE_OVERFLOW.
17141 (exp10_test): Expect overflow exceptions.
17142 (exp2_test): Likewise.
17143 (expm1_test): Likewise.
17144 (nextafter_test): Likewise.
17145 (pow_test): Likewise.
17146 (scalbn_test): Likewise.
17147 (scalbln_test): Likewise.
17149 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17151 * sysdeps/x86_64/bits/atomic.h
17152 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17154 (atomic_exchange_acq): Likewise.
17155 (__arch_exchange_and_add_body): Likewise.
17156 (__arch_add_body): Likewise.
17157 (atomic_add_negative): Likewise.
17158 (atomic_add_zero): Likewise.
17160 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17162 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17163 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17165 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17167 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17168 Check __x86_64__ instead of __WORDSIZE.
17170 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17172 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17174 2012-03-19 David S. Miller <davem@davemloft.net>
17176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17178 * sysdeps/sparc/fpu/fenv_private.h: New file.
17179 * sysdeps/sparc/fpu/math_private.h: Use it.
17180 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17182 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17183 (libc_feholdexcept_setroundl): Remove.
17184 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17186 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17187 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17189 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17191 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17192 int64_t instead of long int.
17193 (INSERT_WORDS64): Likwise.
17195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17197 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17198 _Unwind_GetCFA return to _Unwind_Ptr first.
17200 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17203 * math/s_clog.c: Include <float.h>.
17204 (__clog): Scale large or subnormal inputs.
17205 * math/s_clogf.c: Likewise.
17206 * math/s_clogl.c: Likewise.
17207 * math/s_clog10.c: Include <float.h>.
17208 (M_LOG10_2): Define.
17209 (__clog10): Scale large or subnormal inputs.
17210 * math/s_clog10f.c: Likewise.
17211 * math/s_clog10l.c: Likewise.
17212 * math/libm-test.inc (clog_test): Add more tests.
17213 (clog10_test): Likewise.
17214 * sysdeps/i386/fpu/libm-test-ulps: Update.
17215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17218 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17220 * math/libm-test.inc (atan2_test): Add another test.
17222 * Makerules (common-objdir-compile): Remove.
17223 * sysdeps/unix/Makefile (config-generated): Do not add
17224 $(unix-generated) to variable.
17225 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17226 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17228 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17230 [generic bits/local_lim.h] (before-compile): Do not append to
17232 [generic bits/local_lim.h] (common-generated): Likewise.
17233 [generic sys/param.h] (before-compile): Do not append to variable.
17234 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17235 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17237 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17239 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17240 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17241 [generic sys/param.h] ($(addprefix
17242 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17243 [generic sys/param.h] (common-generated): Do not append to
17245 [generic sys/param.h] (sysdep_headers): Likewise.
17246 [generic bits/errno.h] (before-compile): Do not append to
17248 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17250 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17251 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17252 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17253 [generic bits/errno.h] (common-generated): Do not append to
17255 [generic bits/ioctls.h] (before-compile): Do not append to
17257 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17259 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17260 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17261 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17263 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17264 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17265 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17266 [generic bits/ioctls.h] (common-generated): Do not append to
17268 [generic sys/syscall.h] (syscall.h): Remove variable.
17269 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17271 [generic sys/syscall.h] (before-compile): Do not append to
17273 [generic sys/syscall.h] (common-generated): Likewise.
17274 * sysdeps/unix/errnos-tmpl.c: Remove file.
17275 * sysdeps/unix/errnos.awk: Likewise.
17276 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17277 * sysdeps/unix/ioctls.awk: Likewise.
17278 * sysdeps/unix/mk-local_lim.c: Likewise.
17279 * sysdeps/unix/snarf-ioctls: Likewise.
17281 2012-03-19 Richard Henderson <rth@twiddle.net>
17283 * sysdeps/i386/fpu/fenv_private.h: New file.
17284 * sysdeps/i386/fpu/math_private.h: Use it.
17285 (math_opt_barrier, math_force_eval): Remove.
17286 (libc_feholdexcept_setround_53bit): Remove.
17287 (libc_feupdateenv_53bit): Remove.
17288 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17289 (math_opt_barrier, math_force_eval): Remove.
17290 (libc_feholdexcept): Remove.
17291 (libc_feholdexcept_setround): Remove.
17292 (libc_fetestexcept, libc_fesetenv): Remove.
17293 (libc_feupdateenv_test): Remove.
17294 (libc_feupdateenv, libc_feholdsetround): Remove.
17295 (libc_feresetround): Remove.
17297 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17298 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17300 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17301 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17302 (libc_feupdateenv_testl): New.
17303 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17304 (libc_feupdateenv_testf): New.
17305 (libc_feupdateenv): Use libc_feupdateenv_test.
17306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17307 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17309 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17310 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17311 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17312 (libc_feresetround_noex): New.
17313 (libc_feresetround_noexf): New.
17314 (libc_feresetround_noexl): New.
17315 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17316 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17317 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17318 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17320 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17321 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17323 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17325 SET_RESTORE_ROUND_NOEX.
17326 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17327 SET_RESTORE_ROUND_NOEXF.
17328 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17329 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17330 (libc_feholdsetroundf): New.
17331 (libc_feresetround, libc_feresetroundf): New.
17333 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17334 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17335 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17337 * sysdeps/generic/math_private.h: Include <fenv.h>.
17338 (default_libc_feholdexcept): New.
17339 (default_libc_feholdexcept_setround): New.
17340 (default_libc_fesetenv, default_libc_feupdateenv): New.
17341 (libc_feholdexcept): Only define if undefined.
17342 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17343 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17344 (libc_feholdexcept_setroundl): Likewise.
17345 (libc_feholdexcept_setround_53bit): Likewise.
17346 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17347 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17348 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17349 (libc_feupdateenv_53bit): Likewise.
17350 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17351 (libc_feholdexcept): Convert from macro to inline function.
17352 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17353 (libc_fesetenv, libc_feupdateenv): Likewise.
17355 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17356 not previously defined.
17357 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17358 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17359 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17360 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17361 * sysdeps/ieee754/flt-32/math_private.h: New file.
17362 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17363 math_private.h below SET_FLOAT_WORD.
17364 (__isnan, __isinf_ns, __finite): Remove.
17365 (__isnanf, __isinf_nsf, __finitef): Remove.
17367 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17371 2012-03-17 David S. Miller <davem@davemloft.net>
17374 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17377 2012-03-16 David S. Miller <davem@davemloft.net>
17379 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17383 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17385 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17386 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17387 sysdep_routines when subdir is sysvipc.
17388 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17389 __getshmlba helper.
17391 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17393 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17395 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17398 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17401 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17402 (__lround): Renamed to ...
17403 (__llround): This. Replace long int with long long int.
17404 Define lround functions as aliases of llround functions.
17405 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17407 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17409 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17410 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17411 adresses to uintptr_t. Replace "long int" and "unsigned long
17412 int" with "greg_t" on va_arg.
17414 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17416 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17417 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17419 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17420 Move e_machine check before EI_CLASS check. Handle x32
17421 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17422 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17423 SKIP_EM_IA_64 and include
17424 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17426 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17427 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17428 (add_system_dir): New macro.
17430 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17431 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17433 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17444 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17446 * math/w_j0f.c (j0f): Likewise.
17448 * math/w_j0l.c (__j0l): Likewise.
17450 * math/w_j1.c (j1): Likewise.
17452 * math/w_j1f.c (j1f): Likewise.
17454 * math/w_j1l.c (__j1l): Likewise.
17456 * math/w_jn.c (jn): Likewise.
17458 * math/w_jnf.c (jnf): Likewise.
17460 * math/w_jnl.c (__jnl): Likewise.
17462 * math/libm-test.inc (j0_test): Add more tests.
17463 (j1_test): Likewise.
17464 (jn_test): Likewise. Add trailing semicolon to existing test.
17465 (y0_test): Likewise.
17466 (y1_test): Likewise.
17467 * sysdeps/i386/fpu/libm-test-ulps: Update.
17468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17472 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17473 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17474 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17475 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17476 (__tanl): Set errno for infinite argument.
17477 * sysdeps/i386/fpu/mptan.c: Remove.
17478 * sysdeps/i386/fpu/s_tan.S: Likewise.
17479 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17480 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17481 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17482 * math/libm-test.inc (tan_test): Add more tests and enable more
17483 tests for double and long double.
17484 * sysdeps/i386/fpu/libm-test-ulps: Update.
17485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17487 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17489 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17490 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17492 2012-03-16 Roland McGrath <roland@hack.frob.com>
17494 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17495 * configure.in: Use it for both main tree and add-ons.
17496 * configure: Regenerated.
17498 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17500 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17502 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17504 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17508 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17509 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17510 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17512 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17514 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17516 != 0 for prec == 2.
17517 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17518 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17519 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17520 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17521 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17522 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17523 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17524 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17525 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17526 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17527 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17528 * math/libm-test.inc (cos_test): Add more tests and enable more
17529 tests for long double.
17530 (sin_test): Likewise.
17531 (sincos_test): Likewise.
17532 * sysdeps/i386/fpu/libm-test-ulps: Update.
17533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17535 2012-03-16 David S. Miller <davem@davemloft.net>
17537 * sysdeps/sparc/fpu/math_private.h: New file.
17539 2012-03-15 David S. Miller <davem@davemloft.net>
17541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17555 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17556 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17558 * sysdeps/sparc/sparc-ifunc.h: New file.
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17586 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17604 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17606 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17610 2012-03-15 Andreas Jaeger <aj@suse.de>
17613 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17614 ieee754/flt-32 implementation for sin, cos and sincos.
17615 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17616 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17617 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17618 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17619 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17620 ieee754/flt-32 implementation for tan.
17622 * math/libm-test.inc (cos_test): Enable some large input tests for
17624 (sin_test): Likewise.
17625 (sincos_test): Likewise.
17626 (tan_test): Add tests for large input.
17628 * sysdeps/i386/fpu/libm-test-ulps: Update.
17630 2012-03-15 Andreas Jaeger <aj@suse.de>
17633 * math/libm-test.inc (cos_test): Add more test cases.
17634 (sin_test): Likewise.
17635 (sincos_test): Likewise.
17637 2012-03-15 Andreas Jaeger <aj@suse.de>
17640 * math/libm-test.inc (cos_test): Add a test case for large input
17642 (sin_test): Likewise.
17643 (sincos_test): Likewise.
17645 2012-03-15 Andreas Jaeger <aj@suse.de>,
17646 Joseph Myers <joseph@codesourcery.com>
17649 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17650 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17651 * sysdeps/i386/fpu/branred.c: Likewise.
17652 * sysdeps/i386/fpu/dosincos.c: Likewise.
17653 * sysdeps/i386/fpu/mpa.c: Likewise.
17654 * sysdeps/i386/fpu/s_cos.S: Likewise.
17655 * sysdeps/i386/fpu/s_sin.S: Likewise.
17656 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17657 * sysdeps/i386/fpu/sincos32.c: Likewise.
17659 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17661 (libc_feupdateenv_53bit): Define.
17662 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17664 (libc_feupdateenv_53bit): Define.
17666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17667 53 bit (without extend i386 double precision).
17669 * math/libm-test.inc (sincos_test): Add tests for large input.
17673 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17675 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17679 2012-03-15 David S. Miller <davem@davemloft.net>
17681 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17682 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17683 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17684 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17709 fmin/fmax sysdep routines.
17710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17712 2012-03-14 David S. Miller <davem@davemloft.net>
17714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17786 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17791 * sysdeps/sparc/configure.in: New file.
17792 * sysdeps/sparc/configure: Generate.
17793 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17794 * configure: Regenerate.
17795 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17796 * config.make.in (have-as-vis3): New.
17797 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17798 available use -Av9d instead of -Av9a.
17799 * sysdeps/sparc/sparc64/Makefile: Likewise.
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17815 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17816 fzeros/fnegs to load 0x80000000 into a float register instead of
17818 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17820 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17824 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17825 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17826 ($(inst_includedir)/bits/syscall.h): Remove rule.
17827 ($(objpfx)bits/syscall.d): Include instead of
17828 $(objpfx)syscall-list.d.
17829 (generated): Change syscall-list.h and syscall-list.d to
17830 bits/syscall.h and bits/syscall.d.
17832 2012-03-14 Roland McGrath <roland@hack.frob.com>
17835 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17837 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17840 * math/s_csqrt.c: Include <float.h>.
17841 (__csqrt): Scale large or subnormal inputs.
17842 * math/s_csqrtf.c: Likewise.
17843 * math/s_csqrtl.c: Likewise.
17844 * math/libm-test.inc (csqrt_test): Add more tests.
17845 * sysdeps/i386/fpu/libm-test-ulps: Update.
17846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17849 * math/libm-test.inc (hypot_test): Add more tests.
17851 2012-03-13 David S. Miller <davem@davemloft.net>
17854 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17855 double-precision for the calculation instead of scaling.
17857 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17859 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17860 manipulate bits before adding and subtracting TWO52[sx].
17861 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17862 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17864 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17866 2012-03-13 David S. Miller <davem@davemloft.net>
17868 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17869 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17871 rtld-global-offsets.h
17872 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17874 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17877 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17879 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17880 'err' in the ifdef scope in which it is actually used.
17882 * nss/nss_db/db-init.c: Include string.h
17884 2012-03-12 David S. Miller <davem@davemloft.net>
17886 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17887 masking out of the most significant byte of random value used.
17888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17889 Fix coding style in previous change.
17891 * sysdeps/unix/sysv/linux/kernel-features.h
17892 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17893 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17895 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17898 2012-03-11 David S. Miller <davem@davemloft.net>
17900 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17901 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17902 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17903 for 'resultvar' otherwise things get truncated on 64-bit.
17905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17906 Fix masking out of the most significant byte of random value used.
17908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17910 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17914 2012-03-09 David S. Miller <davem@davemloft.net>
17916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17917 variables with appropriate CPP guards.
17918 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17919 frame pointer, not the stack pointer. Correct layout comments. Fix test
17920 on resulting framesize and the management of the outregs buffer for pltexit.
17921 Preserve floating point return values across _dl_call_pltexit call.
17922 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17923 framesize and the management of the outregs buffer for pltexit.
17924 Preserve floating point return values across _dl_call_pltexit
17926 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17927 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17928 (print_exit): Fix format string for return register value.
17930 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17932 * sunrpc/Makefile (others): Add rpcgen.
17933 ($(objpfx)rpcgen): Remove special build rule and dependency on
17935 * sunrpc/rpcgen.c: New file.
17937 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17940 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17941 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17942 * sysdeps/i386/crti.S: Likewise.
17943 * sysdeps/i386/crtn.S: Likewise.
17944 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17945 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17946 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17947 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17948 * sysdeps/sh/crti.S: Likewise.
17949 * sysdeps/sh/crtn.S: Likewise.
17950 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17953 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17955 * locale/programs/locfile-kw.gperf: Likewise.
17956 * locale/programs/charmap-kw.h: Regenerated.
17957 * locale/programs/locfile-kw.h: Likewise.
17960 * intl/plural.y: Replace FSF snail mail address with URL.
17961 * intl/plural.c: Regenerated.
17963 2012-03-09 Richard Henderson <rth@twiddle.net>
17965 * include/math_private.h: Remove file.
17966 * math/math_private.h: Move file ...
17967 * sysdeps/generic/math_private.h: ... here.
17969 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17970 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17971 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17973 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17974 and <math_private.h>.
17975 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17976 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17977 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17978 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17979 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18063 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18066 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18067 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18068 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18069 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18070 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18071 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18072 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18073 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18074 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18075 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18076 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18077 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18078 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18079 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18080 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18081 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18082 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18083 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18085 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18086 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18088 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18092 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18094 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18095 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18096 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18099 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18100 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18101 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18103 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18105 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18106 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18107 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18108 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18109 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18110 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18111 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18112 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18113 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18114 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18117 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18120 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18121 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18122 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18123 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18124 * sysdeps/ieee754/k_standard.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18244 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18257 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18273 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18275 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18285 * sysdeps/ieee754/s_lib_version.c: Likewise.
18286 * sysdeps/ieee754/s_matherr.c: Likewise.
18287 * sysdeps/ieee754/s_signgam.c: Likewise.
18288 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18289 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18290 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18291 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18292 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18293 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18294 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18295 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18296 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18297 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18298 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18299 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18300 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18301 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18302 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18304 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18305 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18306 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18310 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18312 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18313 * sunrpc/rpc_main.c: Likewise.
18314 * sunrpc/rpc_svcout.c: Likewise.
18316 2012-03-09 David S. Miller <davem@davemloft.net>
18318 * include/math_private.h: New file.
18320 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18322 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18323 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18324 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18325 from <bits/socket_type.h>.
18326 (enum __socket_type): Don't define here.
18327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18329 bits/socket_type.h.
18332 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18333 checking __USE_GNU.
18335 * Makerules ($(inst_includedir)/%.h): New rule.
18336 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18337 (install-others): Remove variable setting.
18338 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18340 2012-03-08 Richard Henderson <rth@twiddle.net>
18342 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18343 from macro to inline function; merge with the
18344 !__LIBC_INTERNAL_MATH_INLINES version.
18345 (__ieee754_sqrtf): Likewise.
18347 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18348 to inline function.
18349 (__rintf, __floor, __floorf): Likewise.
18351 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18352 macro to inline function.
18353 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18355 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18356 not <math/math_private.h>.
18358 2012-03-08 David S. Miller <davem@davemloft.net>
18360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18362 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18364 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18366 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18368 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18369 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18371 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18373 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18374 be defined individually, they must be defined as a block. Define
18375 S for printing a string instead of hidint the different by using a
18376 macro for adding the 'l'.
18377 * stdio-common/tst-fphex-wide.c: Adjust.
18379 2012-03-07 Marek Polacek <polacek@redhat.com>
18381 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18383 2012-03-08 Marek Polacek <polacek@redhat.com>
18386 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18387 * stdio-common/tst-fphex.c: Define a few macros to make the
18388 test reusable. Use them.
18389 * stdio-common/tst-fphex-wide.c: New file.
18391 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18394 * manual/macros.texi (gnusystems): New macro.
18395 (nongnusystems): Likewise.
18396 (gnulinuxhurdsystems): Likewise.
18397 (gnuhurdsystems): Likewise..
18398 (gnulinuxsystems): Likewise.
18399 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18400 variants of the GNU system, not "GNU system".
18401 * manual/conf.texi: Likewise.
18402 * manual/errno.texi: Likewise. Update example of errno macro
18404 * manual/filesys.texi: Likewise.
18405 (getumask): Document as specific to GNU/Hurd.
18406 * manual/install.texi: Likewise. Reword some references to
18408 * manual/intro.texi: Likewise.
18409 * manual/io.texi: Likewise.
18410 (File Name Portability): Detail which constraints are inapplicable
18411 to all GNU systems and which are only inapplicable to GNU/Hurd.
18412 * manual/job.texi: Likewise.
18413 * manual/llio.texi: Likewise.
18414 (O_NOCTTY): Document as present on GNU/Linux.
18415 * manual/maint.texi: Likewise.
18416 * manual/memory.texi: Likewise.
18417 * manual/pattern.texi: Likewise.
18418 * manual/pipe.texi: Likewise.
18419 * manual/process.texi: Likewise.
18420 * manual/resource.texi: Likewise.
18421 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18423 * manual/setjmp.texi: Likewise.
18424 * manual/signal.texi: Likewise.
18425 * manual/startup.texi: Likewise.
18426 * manual/stdio.texi: Likewise.
18427 * manual/terminal.texi: Likewise.
18428 (ONLCR): Document as POSIX.
18429 (OXTABS): Document availability on GNU/Linux as XTABS.
18430 (ONOEOT): Document availability separately from other bits.
18431 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18432 * manual/time.texi: Likewise.
18433 * manual/users.texi: Likewise.
18434 * INSTALL: Regenerated.
18435 * sysdeps/gnu/errlist.c: Regenerated.
18437 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18438 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18439 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18441 * configure: Regenerated.
18443 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18445 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18446 default includes instead of AC_HEADER_CHECK.
18447 * sysdeps/i386/configure: Regenerated.
18450 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18451 * math/s_cacoshf.c (__cacoshf): Likewise.
18452 * math/s_cacoshl.c (__cacoshl): Likewise.
18453 * math/s_casinh.c (__casinh): Set signs of result from argument.
18454 * math/s_casinhf.c (__casinhf): Likewise.
18455 * math/s_casinhl.c (__casinhl): Likewise.
18456 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18457 (casinh_test): Add more tests.
18458 * sysdeps/i386/fpu/libm-test-ulps: Update.
18459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18461 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18463 * po/zh_TW.po: Update from translation team.
18465 * login/Makefile (distribute): Remove variable.
18466 * catgets/Makefile: Likewise.
18467 * mach/Makefile: Likewise.
18468 * malloc/Makefile: Likewise.
18469 * misc/Makefile: Likewise.
18470 * iconv/Makefile: Likewise.
18471 * nscd/Makefile: Likewise.
18472 * hurd/Makefile: Likewise.
18473 * manual/Makefile: Likewise.
18474 * locale/Makefile: Likewise.
18475 * intl/Makefile: Likewise.
18476 * conform/Makefile: Likewise.
18477 * nss/Makefile: Likewise.
18478 * time/Makefile: Likewise.
18479 * soft-fp/Makefile: Likewise.
18480 * dirent/Makefile: Likewise.
18481 * gmon/Makefile: Likewise.
18482 * po/Makefile: Likewise.
18483 * rt/Makefile: Likewise.
18484 * socket/Makefile: Likewise.
18485 * math/Makefile: Likewise.
18486 * signal/Makefile: Likewise.
18487 * debug/Makefile: Likewise.
18488 * elf/Makefile: Likewise.
18489 * timezone/Makefile: Likewise.
18490 * stdlib/Makefile: Likewise.
18491 * iconvdata/Makefile: Likewise.
18492 * sunrpc/Makefile: Likewise.
18493 * io/Makefile: Likewise.
18494 * argp/Makefile: Likewise.
18495 * inet/Makefile: Likewise.
18496 * hesiod/Makefile: Likewise.
18497 * grp/Makefile: Likewise.
18498 * csu/Makefile: Likewise.
18499 * wctype/Makefile: Likewise.
18500 * crypt/Makefile: Likewise.
18501 * libio/Makefile: Likewise.
18502 * string/Makefile: Likewise.
18503 * nis/Makefile: Likewise.
18504 * resolv/Makefile: Likewise.
18505 * stdio-common/Makefile: Likewise.
18506 * wcsmbs/Makefile: Likewise.
18507 * dlfcn/Makefile: Likewise.
18508 * posix/Makefile: Likewise.
18511 * timezone/Makefile: Don't install timezone files, just the programs
18514 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18516 * nss/databases.def: Add missing gshadow entry.
18518 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18520 2012-03-06 Marek Polacek <polacek@redhat.com>
18523 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18524 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18525 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18526 * stdio-common/tst-long-dbl-fphex.c: New file.
18528 2012-03-06 David S. Miller <davem@davemloft.net>
18530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18531 (set_obp_int): New function.
18532 (get_obp_int): New function.
18533 (__get_clockfreq_via_dev_openprom): Likewise.
18534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18535 Avoid unused variable warnings on 'val' and use builtin_expect.
18536 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18538 (INLINE_CLONE_SYSCALL): Likewise.
18540 2012-03-05 David S. Miller <davem@davemloft.net>
18542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18544 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18549 only for |x| >= 40.
18550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18552 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18555 Replace gettimeofday with __vdso_gettimeofday.
18557 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18558 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18559 __vdso_clock_gettime and __vdso_getcpu.
18561 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18562 time with __vdso_time.
18564 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18566 * manual/lang.texi (size_t): Note types to which size_t may be
18567 equivalent with the GNU C Library, but do not describe when
18568 differences between them are significant.
18570 2012-03-05 Andreas Jaeger <aj@suse.de>
18572 * sysdeps/i386/fpu/libm-test-ulps: Update.
18574 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18577 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18578 (__ieee754_pow): Save and restore rounding mode and use
18579 round-to-nearest for main computations.
18580 * math/libm-test.inc (pow_test_tonearest): New function.
18581 (pow_test_towardzero): Likewise.
18582 (pow_test_downward): Likewise.
18583 (pow_test_upward): Likewise.
18584 (main): Call the new functions.
18585 * sysdeps/i386/fpu/libm-test-ulps: Update.
18586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18589 * math/libm-test.inc (cosh_test_tonearest): New function.
18590 (cosh_test_towardzero): Likewise.
18591 (cosh_test_downward): Likewise.
18592 (cosh_test_upward): Likewise.
18593 (sinh_test_tonearest): Likewise.
18594 (sinh_test_towardzero): Likewise.
18595 (sinh_test_downward): Likewise.
18596 (sinh_test_upward): Likewise.
18597 (main): Call the new functions.
18598 * sysdeps/i386/fpu/libm-test-ulps: Update.
18599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18601 2012-03-05 Tom de Vries <tom@codesourcery.com>
18603 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18604 default stack guard is set in last bytes.
18605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18607 2012-03-05 Kees Cook <keescook@chromium.org>
18609 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18612 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18613 possibly allocate from heap instead of stack.
18614 * stdio-common/bug-vfprintf-nargs.c: New file.
18615 * stdio-common/Makefile (tests): Add nargs overflow test.
18617 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18621 2012-03-03 Marek Polacek <polacek@redhat.com>
18623 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18624 * math/math_private.h: Likewise.
18625 * stdlib/tst-strtod.c: Likewise.
18626 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18627 * sysdeps/x86_64/bits/atomic.h: Likewise.
18629 2012-03-02 David S. Miller <davem@davemloft.net>
18631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18635 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18636 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18637 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18638 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18640 2012-03-02 Roland McGrath <roland@hack.frob.com>
18643 * manual/examples/README: New file, says the example source files
18644 can be used under GPL>=2.
18645 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18646 line containing just "*/".
18647 * manual/examples/add.c: Add copyright header (GPL>=2).
18648 * manual/examples/argp-ex1.c: Likewise.
18649 * manual/examples/argp-ex2.c: Likewise.
18650 * manual/examples/argp-ex3.c: Likewise.
18651 * manual/examples/argp-ex4.c: Likewise.
18652 * manual/examples/atexit.c: Likewise.
18653 * manual/examples/db.c: Likewise.
18654 * manual/examples/dir.c: Likewise.
18655 * manual/examples/dir2.c: Likewise.
18656 * manual/examples/execinfo.c: Likewise.
18657 * manual/examples/filecli.c: Likewise.
18658 * manual/examples/filesrv.c: Likewise.
18659 * manual/examples/fmtmsgexpl.c: Likewise.
18660 * manual/examples/genpass.c: Likewise.
18661 * manual/examples/inetcli.c: Likewise.
18662 * manual/examples/inetsrv.c: Likewise.
18663 * manual/examples/isockad.c: Likewise.
18664 * manual/examples/longopt.c: Likewise.
18665 * manual/examples/memopen.c: Likewise.
18666 * manual/examples/memstrm.c: Likewise.
18667 * manual/examples/mkfsock.c: Likewise.
18668 * manual/examples/mkisock.c: Likewise.
18669 * manual/examples/mygetpass.c: Likewise.
18670 * manual/examples/pipe.c: Likewise.
18671 * manual/examples/popen.c: Likewise.
18672 * manual/examples/rprintf.c: Likewise.
18673 * manual/examples/search.c: Likewise.
18674 * manual/examples/select.c: Likewise.
18675 * manual/examples/setjmp.c: Likewise.
18676 * manual/examples/sigh1.c: Likewise.
18677 * manual/examples/sigusr.c: Likewise.
18678 * manual/examples/stpcpy.c: Likewise.
18679 * manual/examples/strdupa.c: Likewise.
18680 * manual/examples/strftim.c: Likewise.
18681 * manual/examples/strncat.c: Likewise.
18682 * manual/examples/subopt.c: Likewise.
18683 * manual/examples/swapcontext.c: Likewise.
18684 * manual/examples/termios.c: Likewise.
18685 * manual/examples/testopt.c: Likewise.
18686 * manual/examples/testpass.c: Likewise.
18687 * manual/examples/timeval_subtract.c: Likewise.
18690 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18692 * manual/timeval_subtract.c.texi: ... here, new file.
18694 2012-03-02 David S. Miller <davem@davemloft.net>
18696 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18698 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18701 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18702 (__sin): Save and restore rounding mode and use round-to-nearest
18703 for all computations.
18704 (__cos): Save and restore rounding mode and use round-to-nearest
18705 for all computations.
18706 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18708 (tan): Save and restore rounding mode and use round-to-nearest for
18710 * math/libm-test.inc (cos_test_tonearest): New function.
18711 (cos_test_towardzero): Likewise.
18712 (cos_test_downward): Likewise.
18713 (cos_test_upward): Likewise.
18714 (sin_test_tonearest): Likewise.
18715 (sin_test_towardzero): Likewise.
18716 (sin_test_downward): Likewise.
18717 (sin_test_upward): Likewise.
18718 (tan_test_tonearest): Likewise.
18719 (tan_test_towardzero): Likewise.
18720 (tan_test_downward): Likewise.
18721 (tan_test_upward): Likewise.
18722 (main): Call the new functions.
18723 * sysdeps/i386/fpu/libm-test-ulps: Update.
18724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18727 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18728 small n, then large n, before computing and testing k+n.
18729 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18732 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18734 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18735 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18738 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18739 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18740 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18742 * math/libm-test.inc (scalbn_test): Add more tests.
18743 (scalbln_test): Likewise.
18745 * manual/filesys.texi (mode_t): Describe constraints on size and
18746 signedness, not exact equivalence to a particular type.
18748 (ino64_t): Likewise.
18750 (nlink_t): Likewise.
18751 (blkcnt_t): Likewise.
18752 (blkcnt64_t): Likewise.
18753 * manual/llio.texi (off_t): Likewise.
18756 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18757 (__ieee754_exp): Save and restore rounding mode and use
18758 round-to-nearest for all computations.
18759 * math/libm-test.inc (exp_test_tonearest): New function.
18760 (exp_test_towardzero): Likewise.
18761 (exp_test_downward): Likewise.
18762 (exp_test_upward): Likewise.
18763 (main): Call the new functions.
18764 * sysdeps/i386/fpu/libm-test-ulps: Update.
18765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18767 2012-03-01 Chris Demetriou <cgd@google.com>
18769 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18770 have predictable order.
18772 2012-03-01 David S. Miller <davem@davemloft.net>
18774 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18776 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18777 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18778 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18779 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18781 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18782 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18783 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18785 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18786 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18787 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18788 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18789 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18793 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18794 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18795 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18797 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18798 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18799 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18800 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18801 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18804 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18805 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18806 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18807 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18810 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18811 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18813 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18814 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18815 * sysdeps/sparc/elf/configure: Regenerated.
18817 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18819 * configure.in (AS, LD): Require binutils 2.20 or later.
18820 * configure: Regenerated.
18821 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18822 as required minimum version.
18823 * INSTALL: Regenerated.
18827 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18828 before squaring exponent.
18829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18830 bottom long double and 27 bits of top long double before squaring
18832 * math/libm-test.inc (erfc_test): Add more tests.
18833 * sysdeps/i386/fpu/libm-test-ulps: Update.
18834 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18837 2012-03-01 Kai Tietz <ktietz@redhat.com>
18839 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18840 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18841 containing bit-fields.
18842 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18843 * soft-fp/single.h (_FP_UNION_S): Likewise.
18844 * soft-fp/double.h (_FP_UNION_D): Likewise.
18846 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18849 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18850 not include ../strcmp.S.
18851 [USE_AS_STRNCASECMP_L]: Likewise.
18852 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18853 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18854 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18855 (__strncasecmp_l_ia32): Define as alias to
18856 __strncasecmp_l_nonascii.
18859 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18860 * sysdeps/i386/fpu/libm-test-ulps: Update.
18861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18863 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18866 2012-02-29 Jeff Law <law@redhat.com>
18868 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18869 out of bounds read.
18871 2012-02-29 Marek Polacek <polacek@redhat.com>
18874 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18875 * elf/Makefile: Add rules to run tst-unused-dep.out.
18877 2012-02-28 David S. Miller <davem@davemloft.net>
18879 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18880 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18883 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18884 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18886 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18888 * math/libm-test.inc (llround_test): Move one test from
18889 lround_test. Use TEST_f_L in moved test.
18890 (lround_test): Move misplaced test to llround_test. Add testcase
18893 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18895 * sysdeps/x86_64/fpu/e_expf.S: New file.
18896 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18898 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18901 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18902 of remain_len that may cause incomplete multi-byte character and
18904 * posix/bug-regex33.c: New file.
18905 * posix/Makefile (tests): Add bug-regex33.
18907 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18909 * manual/macros.texi: New file.
18910 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18911 * manual/libc.texinfo: Include macros.texi.
18912 * manual/creatute.texi: Likewise.
18913 * manual/install.texi: Likewise.
18914 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18915 @glibcadj{} in references to the GNU C Library.
18916 * manual/charset.texi: Likewise.
18917 * manual/conf.texi: Likewise.
18918 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18919 when not using those macros.
18920 * manual/creature.texi: Likewise.
18921 * manual/crypt.texi: Likewise.
18922 * manual/errno.texi: Likewise.
18923 * manual/filesys.texi: Likewise.
18924 * manual/header.texi: Likewise.
18925 * manual/install.texi: Likewise.
18926 * manual/intro.texi: Likewise.
18927 * manual/io.texi: Likewise.
18928 * manual/job.texi: Likewise.
18929 * manual/lang.texi: Likewise.
18930 * manual/libc.texiinfo: Likewise.
18931 * manual/llio.texi: Likewise.
18932 * manual/locale.texi: Likewise.
18933 * manual/maint.texi: Likewise.
18934 * manual/math.texi: Likewise.
18935 * manual/memory.texi: Likewise.
18936 * manual/message.texi: Likewise.
18937 * manual/nss.texi: Likewise.
18938 * manual/pattern.texi: Likewise.
18939 * manual/process.texi: Likewise.
18940 * manual/resource.texi: Likewise.
18941 * manual/search.texi: Likewise.
18942 * manual/setjmp.texi: Likewise.
18943 * manual/signal.texi: Likewise.
18944 * manual/socket.texi: Likewise.
18945 * manual/startup.texi: Likewise.
18946 * manual/stdio.texi: Likewise.
18947 * manual/string.texi: Likewise.
18948 * manual/sysinfo.texi: Likewise.
18949 * manual/syslog.texi: Likewise.
18950 * manual/terminal.texi: Likewise.
18951 * manual/time.texi: Likewise.
18952 * manual/users.texi: Likewise.
18953 * INSTALL: Regenerated.
18954 * NOTES: Regenerated.
18955 * sysdeps/gnu/errlist.c: Regenerated.
18957 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18959 * include/dirent.h: Include <dirstream.h> before
18962 2012-02-28 David S. Miller <davem@davemloft.net>
18964 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18965 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18966 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18967 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18969 2012-02-27 David S. Miller <davem@davemloft.net>
18971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18973 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18974 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18977 frame pointer instead of stack pointer relative arg slot.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18982 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18985 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18987 2012-02-27 David S. Miller <davem@davemloft.net>
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18993 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18994 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18995 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18996 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18998 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19000 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19001 later. Allow versions 5-9.
19002 * configure: Regenerated.
19003 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19004 required minimum version and 4.6 as recommended version. Do not
19005 mention bugs in GCC 2.7 and 2.8.
19006 * INSTALL: Regenerated.
19008 2012-02-27 David S. Miller <davem@davemloft.net>
19010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19014 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19015 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19016 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19017 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19020 manipulate bits before adding and subtracting TWO112[sx].
19021 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19023 2012-02-27 Roland McGrath <roland@hack.frob.com>
19026 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19027 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19028 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19029 being in POSIX, because they are in 1003.1-2008.
19031 * rt/tst-aio.c: Include <fcntl.h>.
19032 * rt/tst-aio7.c: Likewise.
19033 * rt/tst-aio64.c: Likewise.
19035 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19037 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19039 * manual/install.texi (--with-headers): Describe headers as
19040 interface headers, not private headers.
19041 (Specific advice for GNU/Linux systems): Describe use of headers
19042 from "make headers_install", not private headers from older
19044 * INSTALL: Regenerated.
19045 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19047 * sysdeps/unix/sysv/linux/configure: Regenerated.
19049 * manual/llio.texi (fclean): Remove documentation.
19051 * manual/Makefile (libc-texi-generated): New variable. Include
19053 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19054 $(libc-texi-generated), not duplicated list of files.
19055 (version.texi, stamp-version): New rules.
19056 (realclean): Remove $(libc-texi-generated), not individual files
19057 from that list. Do not remove dir-add.texinfo.
19058 * manual/libc.texinfo: Comment out uses of edition numbers and
19059 references to printed manual. Remove last-updated dates.
19060 (EDITION): Comment out.
19062 (VERSION, UPDATED): Remove.
19063 (version.texi): Include.
19065 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19067 * sysdeps/posix/spawni.c: Include <signal.h>.
19068 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19069 * sysdeps/pthread/aio_fsync.c: Likewise.
19071 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19073 * conform/Makefile (tests): Run only when not cross-compiling and
19074 when fast-check is not defined.
19076 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19077 * conform/data/limits.h-data: Fixes for POSIX2008.
19078 * conform/run-conformtest.sh: Run all tests.
19079 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19081 * include/bits/dlfcn.h: Likewise.
19082 * include/langinfo.h: Likewise.
19083 * include/monetary.h: Likewise.
19084 * include/sys/poll.h: Likewise.
19086 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19088 * posix/spawn.h: Define __need_sigset_t.
19089 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19090 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19091 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19092 to get sigevent_t only.
19093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19094 only for __USE_GNU.
19095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19096 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19097 process_vm_writev only for __USE_GNU.
19098 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19100 * conform/Makefile: For now ignore errors from run-conformtest.
19101 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19102 POSIX to avoid namespace pollution. Don't prepend headers.
19103 * conform/data/aio.h-data: Fixes for POSIX testing.
19104 * conform/data/fcntl.h-data: Likewise.
19105 * conform/data/glob.h-data: Likewise.
19106 * conform/data/grp.h-data: Likewise.
19107 * conform/data/pthread.h-data: Likewise.
19108 * conform/data/pwd.h-data: Likewise.
19109 * conform/data/signal.h-data: Likewise.
19110 * conform/data/spawn.h-data: Likewise.
19111 * conform/data/stdio.h-data: Likewise.
19112 * conform/data/stdlib.h-data: Likewise.
19113 * conform/data/stropts.h-data: Likewise.
19114 * conform/data/sys/mman.h-data: Likewise.
19115 * conform/data/sys/stat.h-data: Likewise.
19116 * conform/data/sys/types.h-data: Likewise.
19117 * conform/data/sys/wait.h-data: Likewise.
19118 * conform/data/time.h-data: Likewise.
19119 * conform/data/unistd.h-data: Likewise.
19120 * conform/data/utime.h-data: Likewise.
19122 * io/sys/stat.h: fchmod was always in POSIX.
19123 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19124 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19125 * rt/aio.h: Define __need_timespec before including <time.h>.
19126 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19127 struct. Add forward declaration of pthread_attr_t and use it in
19129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19131 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19132 always remove CLK_TCK definition.
19134 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19136 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19138 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19140 * conform/run-conformtest.sh: New file.
19141 * conform/Makefile: Run run-conformtest for tests.
19142 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19145 * conform/data/uchar.h-data: New file.
19146 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19147 * conform/data/arpa/inet.h-data: Likewise.
19148 * conform/data/assert.h-data: Likewise.
19149 * conform/data/complex.h-data: Likewise.
19150 * conform/data/cpio.h-data: Likewise.
19151 * conform/data/ctype.h-data: Likewise.
19152 * conform/data/dirent.h-data: Likewise.
19153 * conform/data/dlfcn.h-data: Likewise.
19154 * conform/data/errno.h-data: Likewise.
19155 * conform/data/fcntl.h-data: Likewise.
19156 * conform/data/float.h-data: Likewise.
19157 * conform/data/fmtmsg.h-data: Likewise.
19158 * conform/data/fnmatch.h-data: Likewise.
19159 * conform/data/ftw.h-data: Likewise.
19160 * conform/data/glob.h-data: Likewise.
19161 * conform/data/grp.h-data: Likewise.
19162 * conform/data/iconv.h-data: Likewise.
19163 * conform/data/inttypes.h-data: Likewise.
19164 * conform/data/langinfo.h-data: Likewise.
19165 * conform/data/libgen.h-data: Likewise.
19166 * conform/data/limits.h-data: Likewise.
19167 * conform/data/locale.h-data: Likewise.
19168 * conform/data/math.h-data: Likewise.
19169 * conform/data/monetary.h-data: Likewise.
19170 * conform/data/mqueue.h-data: Likewise.
19171 * conform/data/ndbm.h-data: Likewise.
19172 * conform/data/net/if.h-data: Likewise.
19173 * conform/data/netdb.h-data: Likewise.
19174 * conform/data/netinet/in.h-data: Likewise.
19175 * conform/data/nl_types.h-data: Likewise.
19176 * conform/data/poll.h-data: Likewise.
19177 * conform/data/pthread.h-data: Likewise.
19178 * conform/data/pwd.h-data: Likewise.
19179 * conform/data/regex.h-data: Likewise.
19180 * conform/data/sched.h-data: Likewise.
19181 * conform/data/search.h-data: Likewise.
19182 * conform/data/semaphore.h-data: Likewise.
19183 * conform/data/setjmp.h-data: Likewise.
19184 * conform/data/signal.h-data: Likewise.
19185 * conform/data/spawn.h-data: Likewise.
19186 * conform/data/stdarg.h-data: Likewise.
19187 * conform/data/stdio.h-data: Likewise.
19188 * conform/data/stdlib.h-data: Likewise.
19189 * conform/data/string.h-data: Likewise.
19190 * conform/data/strings.h-data: Likewise.
19191 * conform/data/stropts.h-data: Likewise.
19192 * conform/data/sys/ipc.h-data: Likewise.
19193 * conform/data/sys/mman.h-data: Likewise.
19194 * conform/data/sys/msg.h-data: Likewise.
19195 * conform/data/sys/resource.h-data: Likewise.
19196 * conform/data/sys/select.h-data: Likewise.
19197 * conform/data/sys/sem.h-data: Likewise.
19198 * conform/data/sys/shm.h-data: Likewise.
19199 * conform/data/sys/socket.h-data: Likewise.
19200 * conform/data/sys/stat.h-data: Likewise.
19201 * conform/data/sys/statvfs.h-data: Likewise.
19202 * conform/data/sys/time.h-data: Likewise.
19203 * conform/data/sys/timeb.h-data: Likewise.
19204 * conform/data/sys/times.h-data: Likewise.
19205 * conform/data/sys/types.h-data: Likewise.
19206 * conform/data/sys/uio.h-data: Likewise.
19207 * conform/data/sys/un.h-data: Likewise.
19208 * conform/data/sys/utsname.h-data: Likewise.
19209 * conform/data/sys/wait.h-data: Likewise.
19210 * conform/data/syslog.h-data: Likewise.
19211 * conform/data/tar.h-data: Likewise.
19212 * conform/data/termios.h-data: Likewise.
19213 * conform/data/utime.h-data: Likewise.
19214 * conform/data/utmpx.h-data: Likewise.
19215 * conform/data/varargs.h-data: Likewise.
19216 * conform/data/wchar.h-data: Likewise.
19217 * conform/data/wctype.h-data: Likewise.
19218 * conform/data/wordexp.h-data: Likewise.
19220 * include/stropts.h: New file.
19221 * include/uchar.h: New file.
19222 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19223 * include/assert.h: Likewise.
19224 * include/ctype.h: Likewise.
19225 * include/dirent.h: Likewise.
19226 * include/dlfcn.h: Likewise.
19227 * include/fcntl.h: Likewise.
19228 * include/fnmatch.h: Likewise.
19229 * include/glob.h: Likewise.
19230 * include/grp.h: Likewise.
19231 * include/libio.h: Likewise.
19232 * include/locale.h: Likewise.
19233 * include/math.h: Likewise.
19234 * include/net/if.h: Likewise.
19235 * include/netdb.h: Likewise.
19236 * include/netinet/in.h: Likewise.
19237 * include/pthread.h: Likewise.
19238 * include/pwd.h: Likewise.
19239 * include/regex.h: Likewise.
19240 * include/sched.h: Likewise.
19241 * include/search.h: Likewise.
19242 * include/setjmp.h: Likewise.
19243 * include/signal.h: Likewise.
19244 * include/stdio.h: Likewise.
19245 * include/stdlib.h: Likewise.
19246 * include/string.h: Likewise.
19247 * include/sys/cdefs.h: Likewise.
19248 * include/sys/mman.h: Likewise.
19249 * include/sys/msg.h: Likewise.
19250 * include/sys/resource.h: Likewise.
19251 * include/sys/select.h: Likewise.
19252 * include/sys/socket.h: Likewise.
19253 * include/sys/stat.h: Likewise.
19254 * include/sys/statvfs.h: Likewise.
19255 * include/sys/time.h: Likewise.
19256 * include/sys/times.h: Likewise.
19257 * include/sys/uio.h: Likewise.
19258 * include/sys/utsname.h: Likewise.
19259 * include/sys/wait.h: Likewise.
19260 * include/termios.h: Likewise.
19261 * include/time.h: Likewise.
19262 * include/ulimit.h: Likewise.
19263 * include/unistd.h: Likewise.
19264 * include/utime.h: Likewise.
19265 * include/wchar.h: Likewise.
19266 * include/wctype.h: Likewise.
19267 * include/wordexp.h: Likewise.
19269 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19271 * time/time.h: TIME_UTC must be a macro.
19272 Make timespec_get available for ISO C11 only as well.
19274 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19276 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19277 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19279 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19281 * configure.in: Use -o not -a in test for unsupported multi-arch.
19283 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19285 * manual/texinfo.tex: Update to version 2012-01-19.16.
19287 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19289 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19291 2012-02-24 Roland McGrath <roland@hack.frob.com>
19294 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19295 * manual/fdl-1.3.texi: New file.
19296 * manual/fdl-1.1.texi: File removed.
19299 * manual/libc.texinfo (FDL_VERSION): New @set.
19300 Use it for mention of FDL in cover text.
19301 (Documentation License): Use it in @include file name.
19303 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19304 Roland McGrath <roland@hack.frob.com>
19307 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19308 not LONG_LONG_MAX and LONG_LONG_MIN.
19309 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19310 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19312 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19314 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19318 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19319 manipulate bits before adding and subtracting TWO23[sx].
19320 * math/libm-test.inc (nearbyint_test): Add more tests.
19322 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19325 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19326 bits before adding and subtracting TWO23[sx].
19327 * math/libm-test.inc (rint_test): Add more tests.
19328 (rint_test_tonearest): Likewise.
19329 (rint_test_towardzero): Likewise.
19330 (rint_test_downward): Likewise.
19331 (rint_test_upward: Likewise.
19333 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19336 * include/stdc-predef.h: New file. Extracted from features.h.
19337 * include/features.h: Include stdc-predef.h.
19338 * Makefile (headers): Add stdc-predef.h.
19339 * CONFORMANCE (Compiler limitations): Update.
19341 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19343 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19345 2012-02-21 David S. Miller <davem@davemloft.net>
19347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19350 2012-02-20 David S. Miller <davem@davemloft.net>
19352 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19353 using a normal save/restore sequence, rather than allocating a
19354 dummy stack frame just to store a frame pointer and restore.
19355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19357 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19359 * manual/install.texi: Fix stray word in line-wrapped comment.
19361 2012-02-20 David S. Miller <davem@davemloft.net>
19363 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19364 both binutils and gcc support GOTDATA.
19366 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19367 "rd %pc" in the PIC register setup sequences.
19369 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19370 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19371 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19372 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19375 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19378 (SYSCALL_ERROR_HANDLER): Likewise.
19379 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19380 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19382 (SYSCALL_ERROR_HANDLER): Likewise.
19384 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19385 (HAVE_GCC_GOTDATA): New.
19386 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19387 relocation support in both binutils and gcc.
19388 * sysdeps/sparc/elf/configure: Regenerate.
19390 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19391 * sysdeps/sparc/sparc32/elf/configure: Delete.
19392 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19393 * sysdeps/sparc/sparc64/elf/configure: Delete.
19394 * sysdeps/sparc/elf/configure.in: New file.
19395 * sysdeps/sparc/elf/configure: Generate.
19397 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19398 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19399 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19400 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19401 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19403 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19405 * manual/install.texi: Do not mention specific glibc version
19407 * manual/libc.texinfo (VERSION, UPDATED): Update.
19408 (@copying): Use @copyright{} and range of years.
19410 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19413 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19414 [crti.S not in sysdirs] (generated): Do not append.
19415 [crti.S not in sysdirs] (omit-deps): Likewise.
19416 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19417 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19418 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19419 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19420 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19422 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19423 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19424 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19425 * csu/defs.awk: Remove file.
19426 * sysdeps/generic/initfini.c: Likewise.
19427 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19429 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19432 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19434 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19435 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19436 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19438 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19439 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19441 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19442 (__EPOLL_PACKED): Define to empty if not defined by
19444 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19448 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19450 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19451 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19452 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19453 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19455 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19459 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19461 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19463 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19464 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19468 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19470 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19473 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19475 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19476 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19478 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19480 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19483 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19485 * math/w_acos.c: Use non-signaling floating-point comparisons.
19486 * math/w_acosf.c: Likewise.
19487 * math/w_acosh.c: Likewise.
19488 * math/w_acoshf.c: Likewise.
19489 * math/w_acoshl.c: Likewise.
19490 * math/w_acosl.c: Likewise.
19491 * math/w_asin.c: Likewise.
19492 * math/w_asinf.c: Likewise.
19493 * math/w_asinl.c: Likewise.
19494 * math/w_atanh.c: Likewise.
19495 * math/w_atanhf.c: Likewise.
19496 * math/w_atanhl.c: Likewise.
19497 * math/w_exp2.c: Likewise.
19498 * math/w_exp2f.c: Likewise.
19499 * math/w_exp2l.c: Likewise.
19500 * math/w_j0.c: Likewise.
19501 * math/w_j0f.c: Likewise.
19502 * math/w_j0l.c: Likewise.
19503 * math/w_j1.c: Likewise.
19504 * math/w_j1f.c: Likewise.
19505 * math/w_j1l.c: Likewise.
19506 * math/w_jn.c: Likewise.
19507 * math/w_jnf.c: Likewise.
19508 * math/w_log.c: Likewise.
19509 * math/w_log10.c: Likewise.
19510 * math/w_log10f.c: Likewise.
19511 * math/w_log10l.c: Likewise.
19512 * math/w_log2.c: Likewise.
19513 * math/w_log2f.c: Likewise.
19514 * math/w_log2l.c: Likewise.
19515 * math/w_logf.c: Likewise.
19516 * math/w_logl.c: Likewise.
19517 * math/w_sqrt.c: Likewise.
19518 * math/w_sqrtf.c: Likewise.
19519 * math/w_sqrtl.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19522 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19523 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19524 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19526 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19529 * manual/string.texi (strnlen): Use correct parameter name in
19530 equivalent expression.
19532 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19535 * manual/users.texi (seteuid): Consistently use neweuid for
19538 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19541 * manual/nss.texi (Services in the NSS configuration): Correct
19542 list of services in example configuration file.
19544 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19547 * manual/arith.texi: Remove statements about negative zero
19548 behaving identically to zero.
19550 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19553 * manual/install.texi: Do not document upgrading from libc5.
19555 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19558 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19560 2012-02-18 David S. Miller <davem@davemloft.net>
19562 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19563 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19564 %o7 across the call.
19565 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19568 SETUP_PIC_REG_LEAF.
19569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19570 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19571 * sysdeps/sparc/crtn.S: Likewise.
19573 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19575 * aout/Makefile: Remove.
19577 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19580 * manual/examples/argp-ex1.c (main): Format definition in GNU
19582 * manual/examples/argp-ex2.c (main): Likewise.
19583 * manual/examples/argp-ex3.c (main): Likewise.
19584 * manual/examples/argp-ex4.c (main): Likewise.
19585 * manual/examples/longopt.c (main): Use new-style prototype
19587 * manual/examples/strncat.c (main): Specify return type and use
19588 (void) for arguments.
19589 * manual/examples/subopt.c (main): Use char **argv argument.
19591 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19594 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19597 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19600 * manual/string.texi (strchr): Change when strchrnul is
19603 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19606 * manual/locale.texi (setlocale): Document LOCPATH.
19608 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19611 * manual/process.texi (execle): Move @dots{} before last argument.
19613 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19616 * manual/charset.texi (Generic Charset Conversion): Fix typo
19617 (LC_TYPE -> LC_CTYPE).
19619 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19622 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19623 (scalbnf): Likewise.
19624 (scalbnl): Likewise.
19625 (scalbln): Likewise.
19626 (scalblnf): Likewise.
19627 (scalblnl): Likewise.
19628 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19629 (vwarnx): Likewise.
19632 * manual/filesys.texi (telldir): Use braces around return type.
19633 * manual/llio.texi (mmap): Add space after comma.
19634 (mmap64): Likewise.
19635 * manual/math.texi (jn): Use @var{} on parameter names.
19641 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19643 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19645 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19646 (sched_get_priority_max): Likewise.
19647 * manual/signal.texi (sigvec): Add space after comma.
19648 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19650 (if_indextoname): Likewise.
19651 (if_freenameindex): Likewise.
19652 (sendto): Use ',' instead of '.' in prototype.
19653 * manual/startup.texi (syscall): Use @dots{} instead of literal
19655 * manual/stdio.texi (__fpending): Separate initial words of
19656 paragraph from @deftypefun line.
19657 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19659 (vsyslog): Use @var{} on parameter names.
19660 * manual/terminal.texi (stty): Use @var{} on parameter names.
19661 * manual/users.texi (getutmp): Use @var{} on parameter names.
19662 (getutmpx): Likewise.
19664 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19667 * manual/stdio.texi (fopen): Fix typos in description of
19670 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19673 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19674 get clock_id definition.
19676 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19679 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19680 (madvise): Cast every argument to void on its own.
19682 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19685 * manual/startup.texi (Exit Status): Fix typo.
19687 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19690 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19691 * manual/examples/argp-ex2.c: Likewise.
19692 * manual/examples/argp-ex3.c: Likewise.
19694 2012-02-16 Richard Henderson <rth@redhat.com>
19696 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19697 * sysdeps/s390/s390-32/initfini.c: Remove.
19698 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19699 * sysdeps/s390/s390-64/initfini.c: Remove.
19701 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19703 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19704 compiler output for sysdeps/generic/initfini.c.
19705 * sysdeps/sh/elf/initfini.c: Remove file.
19707 2012-02-16 David S. Miller <davem@davemloft.net>
19710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19712 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19713 * sysdeps/sparc/crti.S: New file.
19714 * sysdeps/sparc/crtn.S: New file.
19715 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19716 * sysdeps/sparc/sparc64/Makefile: Likewise.
19718 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19721 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19723 2012-02-15 Roland McGrath <roland@hack.frob.com>
19726 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19728 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19729 (write, read, close): Likewise.
19730 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19732 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19734 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19735 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19736 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19737 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19739 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19743 2012-02-14 Marek Polacek <polacek@redhat.com>
19745 * sysdeps/x86_64/crti.S: New file.
19746 * sysdeps/x86_64/crtn.S: New file.
19747 * sysdeps/x86_64/elf/initfini.c: Remove file.
19749 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19751 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19752 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19753 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19754 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19756 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19760 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19762 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19763 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19764 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19765 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19767 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19771 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19773 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19774 __feraiseexcept instead of feraiseexcept.
19776 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19777 nanosleep invocations.
19778 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19779 strings, and add error checking for a nanosleep invocations.
19781 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19783 Replace FSF snail mail address with URLs, as per GNU coding standards.
19784 Most of the snail mail addresses were wrong anyway, and omitting
19785 them makes the source code easier to maintain. Almost all of the
19786 changes are to license notices and to locale LC_IDENTIFICATION
19787 addresses, except for this one:
19788 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19789 not its snail mail address.
19791 2012-02-09 Richard Henderson <rth@twiddle.net>
19793 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19794 of kernel-features.h.
19796 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19798 2012-02-08 Marek Polacek <polacek@redhat.com>
19800 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19801 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19802 * sysdeps/gnu/_G_config.h: Likewise.
19803 * sysdeps/generic/_G_config.h: Likewise.
19805 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19807 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19811 * sysdeps/powerpc/powerpc32/crti.S: New file.
19812 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19813 * sysdeps/powerpc/powerpc64/crti.S: New file.
19814 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19816 * Makeconfig (have-initfini): Don't set.
19817 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19818 * configure.in (nopic_initfini): Don't substitute.
19819 * config.h.in (HAVE_INITFINI): Don't #undef.
19820 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19821 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19823 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19825 Support crti.S and crtn.S provided directly by architectures.
19826 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19827 [crti.S in sysdirs] (omit-deps): Likewise.
19828 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19829 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19830 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19831 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19832 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19833 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19834 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19835 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19836 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19837 compiler output for sysdeps/generic/initfini.c.
19838 * sysdeps/i386/elf/Makefile: Remove file.
19839 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19841 2012-02-07 Marek Polacek <polacek@redhat.com>
19843 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19844 * sysdeps/gnu/_G_config.h: Likewise.
19845 * sysdeps/mach/hurd/_G_config.h: Likewise.
19847 2012-02-07 Marek Polacek <polacek@redhat.com>
19849 * math/Makefile (tests): Add tst-CMPLX2.
19850 * math/tst-CMPLX2.c: New file.
19852 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19854 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19856 * math/libm-test.inc (jn_test): Add missing L suffix.
19858 2012-02-06 Marek Polacek <polacek@redhat.com>
19860 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19861 * sysdeps/i386/fpu/e_powf.S: Likewise.
19862 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19863 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19865 * sysdeps/i386/fpu/e_pow.S: Likewise.
19866 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19868 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19869 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19870 * sysdeps/i386/fpu/e_log2.S: Likewise.
19871 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19872 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19873 * sysdeps/i386/fpu/e_powl.S: Likewise.
19874 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19875 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19876 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19877 * sysdeps/i386/fpu/e_logl.S: Likewise.
19878 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19879 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19880 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19881 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19882 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19883 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19884 * sysdeps/i386/fpu/e_log.S: Likewise.
19885 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19886 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19887 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19888 * sysdeps/i386/fpu/e_logf.S: Likewise.
19889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19891 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19892 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19893 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19894 * sysdeps/i386/fpu/e_log10.S: Likewise.
19895 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19896 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19897 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19898 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19899 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19900 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19901 * sysdeps/i386/asm-syntax.h: Likewise.
19902 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19904 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19905 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19906 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19908 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19909 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19910 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19911 * sysdeps/powerpc/sysdep.h: Likewise.
19912 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19913 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19915 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19918 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19920 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19922 * sysdeps/i386/sysdep.h: Include <features.h>.
19923 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19926 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19928 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19930 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19933 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19935 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19936 (SETUP_PIC_REG): Use GET_PC_THUNK.
19937 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19940 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19942 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19943 for non-PIC compilation.
19944 (SETUP_PIC_REG): Add .p2align directive.
19945 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19946 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19949 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19950 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19951 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19953 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19954 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19955 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19956 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19957 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19958 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19959 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19960 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19961 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19962 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19963 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19964 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19966 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19967 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19968 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19971 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19973 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19974 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19975 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19976 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19977 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19980 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19981 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19982 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19983 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19985 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19987 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19989 * math/tst-CMPLX.c: Include <stdio.h>.
19991 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19993 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19995 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19996 * sysdeps/sparc/bits/mathdef.h: Likewise.
19998 2012-01-31 Marek Polacek <polacek@redhat.com>
20000 * libio/libio.h: Don't define _PARAMS.
20001 * locale/programs/config.h: Don't define PARAMS.
20002 * stdlib/strtol_l.c: Likewise.
20003 (__strtol_l): Remove PARAMS from the prototype.
20005 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20007 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20008 names. Just use the correct names. Remove unnecessary wrapper
20010 * malloc/arena.c: Likewise.
20011 * malloc/hooks.c: Likewise.
20013 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20014 ARENA_TEST says not to. Simplify test for creation of a new arena.
20015 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20017 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20019 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20021 (update_get_addr): New function.
20022 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20023 GET_ADDR_MODULE parameter.
20025 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20027 * crypt/cert.c: Remove __STDC__ conditionals.
20028 * crypt/crypt-entry.c: Likewise.
20029 * crypt/crypt_util.c: Likewise.
20030 * libio/filedoalloc.c: Likewise.
20031 * libio/fileops.c: Likewise.
20032 * libio/genops.c: Likewise.
20033 * libio/iofclose.c: Likewise.
20034 * libio/iofdopen.c: Likewise.
20035 * libio/iofopen.c: Likewise.
20036 * libio/iofopen64.c: Likewise.
20037 * libio/iogetdelim.c: Likewise.
20038 * libio/iopopen.c: Likewise.
20039 * libio/obprintf.c: Likewise.
20040 * libio/oldfileops.c: Likewise.
20041 * libio/oldiofclose.c: Likewise.
20042 * libio/oldiofdopen.c: Likewise.
20043 * libio/oldiofopen.c: Likewise.
20044 * libio/oldiopopen.c: Likewise.
20045 * libio/wfiledoalloc.c: Likewise.
20046 * libio/wgenops.c: Likewise.
20047 * locale/programs/xmalloc.c: Likewise.
20048 * misc/syslog.c: Likewise.
20049 * stdio-common/xbug.c: Likewise.
20050 * string/memchr.c: Likewise.
20051 * string/memcmp.c: Likewise.
20052 * string/memrchr.c: Likewise.
20053 * string/rawmemchr.c: Likewise.
20054 * sysdeps/posix/getcwd.c: Likewise.
20055 * time/strftime_l.c: Likewise.
20057 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20059 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20060 * config.make.in (config-cflags-sse2avx): Define.
20061 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20064 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20066 * scripts/config.guess: Update from upstream config git repository.
20067 * scripts/config.sub: Likewise.
20069 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20071 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20073 (R_TILEPRO_*, R_TILEGX_*): New macros.
20075 * scripts/firstversions.awk: Fix bug in version range handling.
20077 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20079 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20081 * include/sys/epoll.h: New file.
20082 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20085 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20087 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20088 Avoid unnecessary __WORDSIZE == 64 test.
20089 (fmaxf): Use VEX format if possible.
20094 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20095 * math/math_private.h: Remove libc_fegetround* and
20097 * sysdeps/i386/configure.in: Check for -msse2avx.
20098 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20099 also if SSE2AVX is defined.
20100 Remove libc_fegetround* and libc_fesetround*.
20101 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20102 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20103 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20105 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20106 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20107 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20108 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20109 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20111 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20113 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20117 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20119 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20122 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20124 * Makeconfig (libm): Define.
20125 * elf/Makefile: Add rules to build and run tst-relsort1.
20126 * elf/tst-relsort1.c: New file.
20127 * elf/tst-relsort1mod1.c: New file.
20128 * elf/tst-relsort1mod2.c: New file.
20130 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20132 * math/s_ldexp.c: Remove __STDC__ conditionals.
20133 * math/s_ldexpf.c: Likewise.
20134 * math/s_ldexpl.c: Likewise.
20135 * math/s_nextafter.c: Likewise.
20136 * math/s_nexttowardf.c: Likewise.
20137 * math/s_significand.c: Likewise.
20138 * math/s_significandf.c: Likewise.
20139 * math/s_significandl.c: Likewise.
20140 * math/w_jnl.c: Likewise.
20141 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20142 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20146 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20147 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20148 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20149 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20155 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20156 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20158 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20162 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20163 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20165 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20166 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20168 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20169 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20170 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20171 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20172 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20173 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20174 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20175 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20176 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20177 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20178 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20179 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20180 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20181 * sysdeps/ieee754/k_standard.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20202 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20207 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20211 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20212 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20214 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20216 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20221 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20225 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20249 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20250 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20251 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20252 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20254 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20255 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20256 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20257 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20261 * sysdeps/ieee754/s_matherr.c: Likewise.
20262 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20263 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20267 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20269 * crypt/md5.h: Remove __STDC__ conditionals.
20270 * libio/libioP.h: Likewise.
20271 * locale/programs/config.h: Likewise.
20272 * sysdeps/generic/sysdep.h: Likewise.
20273 * sysdeps/i386/asm-syntax.h: Likewise.
20274 * sysdeps/s390/asm-syntax.h: Likewise.
20275 * sysdeps/unix/sysdep.h: Likewise.
20276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20279 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20281 * libio/libio.h: Remove __STDC__ conditionals.
20282 * malloc/obstack.h: Likewise.
20283 * math/complex.h: Likewise.
20284 * math/math.h: Likewise.
20285 * sysdeps/generic/_G_config.h: Likewise.
20286 * sysdeps/gnu/_G_config.h: Likewise.
20287 * sysdeps/mach/hurd/_G_config.h: Likewise.
20288 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20289 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20290 * sysdeps/sparc/bits/mathdef.h: Likewise.
20292 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20295 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20296 Clean up HAS_* macros.
20297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20298 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20302 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20303 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20308 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20310 * elf/tst-unique3.cc (gets): Remove declaration.
20311 * elf/tst-unique3lib.cc (gets): Likewise.
20312 * elf/tst-unique3lib2.cc (gets): Likewise.
20313 * elf/tst-unique4.cc (gets): Likewise.
20315 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20317 * include/stdio.h: Add C++ protection. Add gets declarations and
20319 * debug/tst-chk1.c: Don't declare gets here.
20320 * stdio-common/tst-gets.c: Likewise.
20322 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20324 * posix/glob: Remove directory.
20326 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20328 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20330 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20332 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20333 of the non-standard EPFNOSUPPORT.
20335 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20337 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20338 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20339 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20341 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20343 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20345 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20347 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20349 * nscd/grpcache.c (cache_addgr): Likewise.
20350 * nscd/hstcache.c (cache_addhst): Likewise.
20351 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20352 * nscd/pwdcache.c (cache_addpw): Likewise.
20353 * nscd/servicescache.c (cache_addserv): Likewise.
20355 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20357 * malloc/malloc.c: Various cleanups.
20358 * malloc/hooks.c: Likewise.
20360 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20361 * stdlib/bug-fmtmsg1.c: New file.
20363 * stdlib/fmtmsg.c (init): Add missing unlock.
20364 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20366 2012-01-12 Marek Polacek <polacek@redhat.com>
20368 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20371 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20373 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20374 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20375 macro to ensure uniqueness of label name.
20376 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20377 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20379 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20381 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20383 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20385 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20388 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20390 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20392 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20393 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20394 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20396 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20398 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20399 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20400 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20403 * math/bits/math-finite.h: Add ldexp support.
20405 2012-01-10 Marek Polacek <polacek@redhat.com>
20407 * locale/programs/localedef.h (show_archive_content): Add noreturn
20410 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20412 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20414 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20416 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20418 * io/Makefile (headers): Add bits/poll2.h.
20420 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20423 typo #include statement.
20425 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20427 * include/sys/cdefs.h: Define __attribute_alloc_size.
20428 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20429 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20430 * elf/pldd.c: Likewise.
20431 * iconv/iconv_charmap.c: Likewise.
20432 * iconv/iconvconfig.c: Likewise.
20433 * iconv/strtab.c: Likewise.
20434 * locale/programs/locale.c: Likewise.
20435 * locale/programs/localedef.h: Likewise.
20436 * locale/programs/simple-hash.c: Likewise.
20437 * nscd/nscd.h: Likewise.
20438 * nss/makedb.c: Likewise.
20439 * sysdeps/generic/ldconfig.h: Likewise.
20440 * locale/programs/localedef.c: Remove xmalloc prototype.
20441 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20443 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20445 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20448 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20450 * math/Makefile (tests): Add tst-CMPLX.
20451 * math/tst-CMPLX.c: New file.
20453 * math/complex.h (CMPLXL): Fix typo.
20455 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20456 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20458 * debug/tst-chk1.c: Add poll and ppoll tests.
20459 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20460 * include/sys/poll.h: Add hidden proto for ppoll.
20461 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20462 * sysdeps/mach/hurd/ppoll.c: Likewise.
20463 * io/ppoll.c: Likewise.
20464 * debug/poll_chk.c: New file.
20465 * debug/ppoll_chk.c: New file.
20466 * include/bits/poll2.h: New file.
20467 * io/bits/poll2.h: New file.
20470 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20472 * configure.in: static is always set to yes. Remove.
20473 * config.make.in: Don't set build-static.
20474 * Makeconfig: Remove use of build-static.
20475 * dlfcn/Makefile: Likewise.
20476 * elf/Makefile: Likewise.
20477 * math/Makefile: Likewise.
20478 * misc/Makefile: Likewise.
20479 * nptl/Makefile: Likewise.
20480 * sysdeps/mach/hurd/Makefile: Likewise.
20482 * configure.in: PWD_P is not used anymore.
20483 * config.make.in: Remove PWD_P entry.
20485 * configure.in: Remove last remnants of RANLIB.
20486 No need to check for signed size_t anymore.
20487 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20489 Remove __builtin_expect test because we require at least gcc 3.4.
20490 * aclocal.m4: Likewise.
20492 * wcsmbs/mbrtoc16.c: Implement using towc function.
20493 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20494 * wcsmbs/wcsmbsload.c: Likewise.
20495 * iconv/gconv_simple.c: Likewise.
20496 * iconv/gconv_int.h: Likewise.
20497 * iconv/gconv_builtin.h: Likewise.
20498 * iconv/iconv_prog.c: Remove CHAR16 handling.
20500 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20502 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20504 * configure.in: Remove --with-elf and --enable-bounded options.
20505 Dont set base_machine for ia64. More non-ELF conditions removed.
20506 Remove testing and setting of leading underscore information.
20507 * config.make.in (build-bounded): Set to no.
20508 * config.h.in: Remove NO_UNDERSCORES entry.
20509 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20511 * csu/start.c: Remove !NO_UNDERSCORE code.
20512 * locale/localeinfo.h: Likewise.
20513 * sysdeps/generic/machine-gmon.h: Likewise.
20514 * sysdeps/generic/sysdep.h: Likewise.
20515 * sysdeps/i386/sysdep.h: Likewise.
20516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20517 * sysdeps/mach/sysdep.h: Likewise.
20518 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20519 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20520 * sysdeps/sh/sysdep.h: Likewise.
20521 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20522 * sysdeps/unix/i386/sysdep.S: Likewise.
20523 * sysdeps/unix/sparc/start.c: Likewise.
20524 * sysdeps/unix/sparc/sysdep.S: Likewise.
20525 * sysdeps/unix/sparc/sysdep.h: Likewise.
20526 * sysdeps/unix/start.c: Likewise.
20527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20528 * sysdeps/x86_64/sysdep.h: Likewise.
20530 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20533 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20535 * argp/argp-fmtstream.h: Use const instead __const.
20536 * argp/argp.h: Likewise.
20537 * assert/assert.h: Likewise.
20538 * bits/fenv.h: Likewise.
20539 * bits/sched.h: Likewise.
20540 * bits/sigset.h: Likewise.
20541 * bits/sigthread.h: Likewise.
20542 * catgets/nl_types.h: Likewise.
20543 * conform/data/pthread.h-data: Likewise.
20544 * crypt/crypt-private.h: Likewise.
20545 * crypt/crypt.h: Likewise.
20546 * crypt/crypt_util.c: Likewise.
20547 * ctype/ctype.h: Likewise.
20548 * debug/execinfo.h: Likewise.
20549 * debug/mbsnrtowcs_chk.c: Likewise.
20550 * debug/mbsrtowcs_chk.c: Likewise.
20551 * debug/wcsnrtombs_chk.c: Likewise.
20552 * debug/wcsrtombs_chk.c: Likewise.
20553 * debug/wcstombs_chk.c: Likewise.
20554 * dirent/dirent.h: Likewise.
20555 * dlfcn/dlfcn.h: Likewise.
20556 * elf/neededtest4.c: Likewise.
20557 * grp/grp.h: Likewise.
20558 * gshadow/gshadow.h: Likewise.
20559 * iconv/gconv.h: Likewise.
20560 * iconv/gconv_int.h: Likewise.
20561 * iconv/gconv_simple.c: Likewise.
20562 * iconv/iconv.h: Likewise.
20563 * iconv/loop.c: Likewise.
20564 * iconv/skeleton.c: Likewise.
20565 * include/aio.h: Likewise.
20566 * include/aliases.h: Likewise.
20567 * include/argz.h: Likewise.
20568 * include/arpa/inet.h: Likewise.
20569 * include/assert.h: Likewise.
20570 * include/dirent.h: Likewise.
20571 * include/dlfcn.h: Likewise.
20572 * include/execinfo.h: Likewise.
20573 * include/fcntl.h: Likewise.
20574 * include/fenv.h: Likewise.
20575 * include/glob.h: Likewise.
20576 * include/grp.h: Likewise.
20577 * include/libintl.h: Likewise.
20578 * include/mntent.h: Likewise.
20579 * include/netdb.h: Likewise.
20580 * include/pwd.h: Likewise.
20581 * include/rpc/netdb.h: Likewise.
20582 * include/sched.h: Likewise.
20583 * include/search.h: Likewise.
20584 * include/shadow.h: Likewise.
20585 * include/signal.h: Likewise.
20586 * include/stdio.h: Likewise.
20587 * include/stdlib.h: Likewise.
20588 * include/string.h: Likewise.
20589 * include/sys/socket.h: Likewise.
20590 * include/sys/stat.h: Likewise.
20591 * include/sys/statfs.h: Likewise.
20592 * include/sys/statvfs.h: Likewise.
20593 * include/sys/syslog.h: Likewise.
20594 * include/sys/time.h: Likewise.
20595 * include/sys/uio.h: Likewise.
20596 * include/time.h: Likewise.
20597 * include/unistd.h: Likewise.
20598 * include/utmp.h: Likewise.
20599 * include/wchar.h: Likewise.
20600 * include/wctype.h: Likewise.
20601 * inet/aliases.h: Likewise.
20602 * inet/arpa/inet.h: Likewise.
20603 * inet/netinet/ether.h: Likewise.
20604 * inet/netinet/in.h: Likewise.
20605 * intl/libintl.h: Likewise.
20606 * io/bits/fcntl2.h: Likewise.
20607 * io/fcntl.h: Likewise.
20608 * io/ftw.h: Likewise.
20609 * io/sys/poll.h: Likewise.
20610 * io/sys/stat.h: Likewise.
20611 * io/sys/statfs.h: Likewise.
20612 * io/sys/statvfs.h: Likewise.
20613 * io/utime.h: Likewise.
20614 * libio/bits/stdio.h: Likewise.
20615 * libio/bits/stdio2.h: Likewise.
20616 * libio/libio.h: Likewise.
20617 * libio/libioP.h: Likewise.
20618 * libio/stdio.h: Likewise.
20619 * locale/lc-ctype.c: Likewise.
20620 * locale/locale.h: Likewise.
20621 * login/utmp.h: Likewise.
20622 * malloc/arena.c: Likewise.
20623 * malloc/malloc.c: Likewise.
20624 * malloc/malloc.h: Likewise.
20625 * malloc/mcheck.c: Likewise.
20626 * malloc/mtrace.c: Likewise.
20627 * math/bits/mathcalls.h: Likewise.
20628 * math/fenv.h: Likewise.
20629 * math/math_private.h: Likewise.
20630 * misc/bits/error.h: Likewise.
20631 * misc/bits/syslog.h: Likewise.
20632 * misc/err.h: Likewise.
20633 * misc/error.h: Likewise.
20634 * misc/fstab.h: Likewise.
20635 * misc/mntent.h: Likewise.
20636 * misc/regexp.h: Likewise.
20637 * misc/search.h: Likewise.
20638 * misc/sgtty.h: Likewise.
20639 * misc/sys/mman.h: Likewise.
20640 * misc/sys/syslog.h: Likewise.
20641 * misc/sys/uio.h: Likewise.
20642 * misc/sys/xattr.h: Likewise.
20643 * misc/ttyent.h: Likewise.
20644 * nis/rpcsvc/ypclnt.h: Likewise.
20645 * nss/nss.h: Likewise.
20646 * posix/bits/unistd.h: Likewise.
20647 * posix/fnmatch.h: Likewise.
20648 * posix/glob.h: Likewise.
20649 * posix/sched.h: Likewise.
20650 * posix/spawn.h: Likewise.
20651 * posix/sys/wait.h: Likewise.
20652 * posix/unistd.h: Likewise.
20653 * posix/wordexp.h: Likewise.
20654 * pwd/pwd.h: Likewise.
20655 * resolv/netdb.h: Likewise.
20656 * resource/sys/resource.h: Likewise.
20657 * rt/aio.h: Likewise.
20658 * rt/bits/mqueue2.h: Likewise.
20659 * rt/mqueue.h: Likewise.
20660 * shadow/shadow.h: Likewise.
20661 * signal/signal.h: Likewise.
20662 * socket/send.c: Likewise.
20663 * socket/sendto.c: Likewise.
20664 * socket/sys/socket.h: Likewise.
20665 * stdio-common/printf.h: Likewise.
20666 * stdlib/bits/stdlib.h: Likewise.
20667 * stdlib/fmtmsg.h: Likewise.
20668 * stdlib/monetary.h: Likewise.
20669 * stdlib/stdlib.h: Likewise.
20670 * stdlib/ucontext.h: Likewise.
20671 * streams/stropts.h: Likewise.
20672 * string/argz.h: Likewise.
20673 * string/bits/string2.h: Likewise.
20674 * string/string.h: Likewise.
20675 * string/strings.h: Likewise.
20676 * sunrpc/rpc/auth.h: Likewise.
20677 * sunrpc/rpc/auth_des.h: Likewise.
20678 * sunrpc/rpc/clnt.h: Likewise.
20679 * sunrpc/rpc/netdb.h: Likewise.
20680 * sunrpc/rpc/pmap_clnt.h: Likewise.
20681 * sunrpc/rpc/xdr.h: Likewise.
20682 * sysdeps/generic/inttypes.h: Likewise.
20683 * sysdeps/generic/net/if.h: Likewise.
20684 * sysdeps/generic/sys/swap.h: Likewise.
20685 * sysdeps/gnu/net/if.h: Likewise.
20686 * sysdeps/gnu/utmpx.h: Likewise.
20687 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20688 * sysdeps/i386/i486/bits/string.h: Likewise.
20689 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20690 * sysdeps/s390/bits/string.h: Likewise.
20691 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20692 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20693 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20694 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20695 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20696 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20697 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20698 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20699 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20700 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20701 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20702 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20703 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20704 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20705 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20706 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20707 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20710 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20712 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20713 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20714 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20715 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20716 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20717 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20719 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20720 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20721 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20722 * sysvipc/sys/ipc.h: Likewise.
20723 * sysvipc/sys/msg.h: Likewise.
20724 * sysvipc/sys/sem.h: Likewise.
20725 * sysvipc/sys/shm.h: Likewise.
20726 * termios/termios.h: Likewise.
20727 * time/sys/time.h: Likewise.
20728 * time/time.h: Likewise.
20729 * wcsmbs/bits/wchar2.h: Likewise.
20730 * wcsmbs/uchar.h: Likewise.
20731 * wcsmbs/wchar.h: Likewise.
20732 * wctype/wctype.h: Likewise.
20735 * Makeconfig: Remove all but ELF support including AIX support.
20736 * Makerules: Likewise.
20737 * config.h.in: Likewise.
20738 * config.make.in: Likewise.
20739 * configure: Likewise.
20740 * configure.in: Likewise.
20741 * csu/Makefile: Likewise.
20742 * csu/version.c: Likewise.
20743 * debug/Makefile: Likewise.
20744 * dlfcn/Makefile: Likewise.
20745 * elf/Makefile: Likewise.
20746 * extra-lib.mk: Likewise.
20747 * iconv/Makefile: Likewise.
20748 * include/libc-symbols.h: Likewise.
20749 * include/shlib-compat.h: Likewise.
20750 * resolv/Makefile: Likewise.
20751 * resolv/res_libc.c: Likewise.
20752 * rt/Makefile: Likewise.
20753 * sysdeps/i386/asm-syntax.h: Likewise.
20754 * sysdeps/i386/sysdep.h: Likewise.
20755 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20756 * sysdeps/mach/sysdep.h: Likewise.
20757 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20758 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20759 * sysdeps/s390/asm-syntax.h: Likewise.
20760 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20761 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20762 * sysdeps/sh/sysdep.h: Likewise.
20763 * sysdeps/unix/sparc/sysdep.h: Likewise.
20764 * sysdeps/wordsize-32/divdi3.c: Likewise.
20765 * sysdeps/x86_64/sysdep.h: Likewise.
20767 * argp/Versions: Remove _argp_unlock_xxx.
20770 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20771 * abilist/libBrokenLocale.abilist: Likewise.
20772 * abilist/libanl.abilist: Likewise.
20773 * abilist/libc.abilist: Likewise.
20774 * abilist/libcrypt.abilist: Likewise.
20775 * abilist/libdl.abilist: Likewise.
20776 * abilist/libm.abilist: Likewise.
20777 * abilist/libnsl.abilist: Likewise.
20778 * abilist/libpthread.abilist: Likewise.
20779 * abilist/libresolv.abilist: Likewise.
20780 * abilist/librt.abilist: Likewise.
20781 * abilist/libthread_db.abilist: Likewise.
20782 * abilist/libutil.abilist: Likewise.
20783 * abilist/libnss_db.abilist: New file.
20785 * scripts/abilist.awk: Add support for indirect functions.
20787 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20789 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20791 * shlib-versions: Remove entries for ports architectures.
20793 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20795 * elf/stackguard-macros.h: Remove support for IA-64.
20796 * elf/tst-auditmod1.c: Likewise.
20797 * sysdeps/generic/ldsodefs.h: Likewise.
20799 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20800 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20804 * configure.in: Remove --enable-omitfp support.
20806 * config.make.in: Likewise.
20807 * Makeconfig: Likewise.
20808 * manual/install.texi: Likewise.
20810 In case anyone cares, the IA-64 architecture could move to ports.
20811 * sysdeps/ia64/*: Removed.
20812 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20813 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20816 * configure.in: Remove entries for unsupported architectures.
20819 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20820 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20822 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20823 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20824 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20825 fall back to using wcrtomb.
20826 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20827 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20829 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20830 * wcsmbs/tst-c16c32-1.c: New file.
20832 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20835 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20837 * elf/tst-unique3.cc: Add explicit declaration of gets.
20838 * elf/tst-unique3lib.cc: Likewise.
20839 * elf/tst-unique3lib2.cc: Likewise.
20840 * elf/tst-unique4.cc: Likewise.
20842 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20844 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20847 * assert/assert.h (static_assert): Don't define for C++.
20848 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20849 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20851 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20853 * iconv/loop.c (single loop): Fix assertion in storing of
20856 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20858 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20860 * posix/getconf.c: Update copyright year.
20861 * nss/getent.c: Likewise.
20862 * nss/makedb.c: Likewise.
20863 * iconv/iconvconfig.c: Likewise.
20864 * iconv/iconv_prog.c: Likewise.
20865 * elf/ldconfig.c: Likewise.
20866 * elf/pldd.c: Likewise.
20867 * elf/sotruss.ksh: Likewise.
20868 * catgets/gencat.c: Likewise.
20869 * csu/version.c: Likewise.
20870 * elf/ldd.bash.in: Likewise.
20871 * elf/sprof.c (print_version): Likewise.
20872 * locale/programs/locale.c: Likewise.
20873 * locale/programs/localedef.c: Likewise.
20874 * login/programs/pt_chown.c: Likewise.
20875 * nscd/nscd.c (print_version): Likewise.
20876 * debug/xtrace.sh: Likewise.
20877 * malloc/memusage.sh: Likewise.
20878 * malloc/mtrace.pl: Likewise.
20879 * debug/catchsegv.sh: Likewise.
20881 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20883 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20886 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20889 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20890 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20892 * iconv/gconv_int.h: Likewise.
20893 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20894 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20895 from libc for GLIBC_2.16.
20896 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20897 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20898 * wcsmbs/uchar.h: Really define mbstate_t.
20899 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20900 * wcsmbs/c16rtomb.c: New file.
20901 * wcsmbs/mbrtoc16.c: New file.
20902 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20903 for C/POSIX locale.
20904 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20905 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20907 * wcsmbs/wchar.h: Add missing __restrict.
20909 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20912 * time/Makefile (routines): Add timespec_get.
20913 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20914 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20915 timespec for ISO C11.
20916 * time/timespec_get.c: New file.
20917 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20918 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20921 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20922 * stdlib/stdlib.h: Declare aligned_alloc.
20923 * Versions.def: Add GLIBC_2.16 for libc.
20924 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20927 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20930 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20934 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20937 * assert/assert.h (static_assert): Define.
20939 * version.h: Update for 2.16 development version.
20942 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20945 * version.h (RELEASE): Bump for 2.15 release.
20946 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20948 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20949 Patch by Marek Polacek <mpolacek@redhat.com>.
20951 * bits/byteswap.h: Protect long long constants with __extension__.
20952 * sysdeps/i386/bits/byteswap.h: Likewise.
20953 * sysdeps/ia64/bits/byteswap.h: Likewise.
20954 * sysdeps/s390/bits/byteswap.h: Likewise.
20955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20957 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20960 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20961 destination buffer.
20962 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20964 2011-12-23 Marek Polacek <polacek@redhat.com>
20966 * elf/dl-addr.c (determine_info): Add inline keyword.
20967 * elf/tst-auditmod4b.c (check_avx): Likewise.
20968 * elf/tst-auditmod6b.c (check_avx): Likewise.
20969 * elf/tst-auditmod6c.c (check_avx): Likewise.
20970 * elf/tst-auditmod7b.c (check_avx): Likewise.
20972 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20974 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20977 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20980 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20981 processing for last bytes.
20983 2011-08-06 Bruno Haible <bruno@clisp.org>
20986 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20987 U+0385, not to U+1FEE.
20990 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20991 entry for U+00A5 U+0301.
20993 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20996 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20997 buffer for the output is too small.
20999 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21003 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21004 SSE flags if possible.
21006 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21010 processing for last bytes.
21012 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21014 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21015 (syscall-list-default-options, syscall-list-default-condition)
21016 (syscall-list-includes): Define.
21017 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21018 list of ABIs and options and #if conditions for each ABI. Do not
21019 handle common syscalls between ABIs specially.
21020 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21022 (syscall-list-variants, syscall-list-32bit-options)
21023 (syscall-list-32bit-condition, syscall-list-64bit-options)
21024 (syscall-list-64bit-condition): Define.
21025 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21026 (syscall-list-variants, syscall-list-32bit-options)
21027 (syscall-list-32bit-condition, syscall-list-64bit-options)
21028 (syscall-list-64bit-condition): Define.
21029 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21031 (syscall-list-variants, syscall-list-32bit-options)
21032 (syscall-list-32bit-condition, syscall-list-64bit-options)
21033 (syscall-list-64bit-condition): Define.
21034 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21036 (syscall-list-variants, syscall-list-32bit-options)
21037 (syscall-list-32bit-condition, syscall-list-64bit-options)
21038 (syscall-list-64bit-condition): Define.
21040 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21042 * locale/iso-639.def: Add brx entry.
21045 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21046 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21048 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21049 __feraiseexcept_renamed.
21051 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21054 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21055 EPOLLET with unsigned values.
21056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21059 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21060 to large cancellation.
21061 * math/s_cacoshf.c: Likewise.
21062 * math/s_cacoshl.c: Likewise.
21064 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21068 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21069 * math/s_cacoshf.c: Likewise.
21070 * math/s_cacoshl.c: Likewise.
21072 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21075 * iconv/gconv.h: Define __GCONV_SWAP.
21076 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21077 * iconvdata/utf-16.c: Likewise.
21078 * iconvdata/utf-32.c: Likewise.
21080 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21084 numerator after shifting it by one limb.
21086 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21088 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21089 under [__USE_EXTERN_INLINES].
21091 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21094 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21096 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21098 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21099 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21101 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21102 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21103 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21104 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21105 for strncasecmp/strncasecmp_l compilation.
21106 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21107 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21109 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21112 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21115 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21118 * time/tzfile.c (__tzfile_read): Check values from file header.
21120 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21122 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21123 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21124 * powerpc/powerpc32/dl-start.S: Likewise.
21125 * powerpc/powerpc32/elf/start.S: Likewise.
21126 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21127 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21128 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21129 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21130 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21131 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21132 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21133 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21134 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21135 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21136 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21137 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21138 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21139 * powerpc/powerpc32/memset.S: Likewise.
21140 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21141 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21142 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21143 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21144 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21145 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21146 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21147 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21148 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21149 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21150 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21151 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21152 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21154 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21156 * math/libm-test.inc: Added more nearbyint tests.
21157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21162 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21164 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21167 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21169 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21170 Add wcscpy-ssse3 wcscpy-c.
21171 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21172 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21173 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21174 * sysdeps/x86_64/wcschr.S: New file.
21175 * sysdeps/x86_64/wcsrchr.S: New file.
21176 * string/test-strcmp.c: Remove checking of wcscmp function for
21178 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21179 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21180 wcsrchr-sse2 wcsrchr-c.
21181 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21182 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21183 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21184 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21185 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21186 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21187 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21188 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21189 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21190 * wcsmbc/wcschr.c (WCSCHR): New macro.
21192 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21194 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21195 * wcsmbs/test-wcsrchr.c: New file.
21196 * string/test-strrchr.c: Add wcsrchr support.
21198 * wcsmbs/test-wcscpy.c: New file.
21199 * string/test-strcpy.c: Add wcscpy support.
21202 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21207 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21210 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21212 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21214 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21215 Minor optimizations.
21217 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21218 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21219 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21221 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21223 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21224 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21225 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21226 for gcc to avoid warnings.
21227 * inet/Makefile (tests): Add tst-checks.
21228 * inet/tst-checks.c: New file.
21230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21233 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21236 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21237 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21239 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21241 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21243 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21246 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21248 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21250 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21251 conditional on GCC version.
21252 (__arch_compare_and_exchange_val_8_acq)
21253 (__arch_compare_and_exchange_val_16_acq)
21254 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21255 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21256 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21258 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21260 * sysdeps/sh/backtrace.c: New file.
21262 2011-12-02 Andreas Schwab <schwab@redhat.com>
21264 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21267 2011-12-01 Andreas Schwab <schwab@redhat.com>
21269 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21270 falling back to utime.
21272 2011-11-30 Andreas Schwab <schwab@redhat.com>
21274 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21275 expectations for float.
21277 2011-11-29 Andreas Schwab <schwab@redhat.com>
21279 * locale/weight.h (findidx): Add parameter len.
21280 * locale/weightwc.h (findidx): Likewise.
21281 * posix/fnmatch_loop.c (FCT): Adjust caller.
21282 * posix/regcomp.c (build_equiv_class): Likewise.
21283 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21284 * posix/regexec.c (check_node_accept_bytes): Likewise.
21285 * string/strcoll_l.c (STRCOLL): Likewise.
21286 * string/strxfrm_l.c (STRXFRM): Likewise.
21288 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21290 * Makefile.in: Remove CVSOPT handling.
21291 * configure.in: Remove use of AC_REVISION.
21292 * iconvdata/Makefile (distribute): No need to filter out CVS.
21293 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21296 2011-11-16 Andreas Schwab <schwab@redhat.com>
21298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21299 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21300 [USE_AS_STRNCASECMP_L]: Likewise.
21301 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21302 NO_TLS_DIRECT_SEG_REFS.
21303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21304 Fix argument offsets for non-PIC.
21305 [USE_AS_STRNCASECMP_L]: Likewise.
21306 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21307 NO_TLS_DIRECT_SEG_REFS.
21309 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21311 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21313 * locale/loadlocale.c (_nl_load_locale): Likewise.
21315 2011-11-15 Andreas Schwab <schwab@redhat.com>
21317 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21318 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21319 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21320 (SYSCALL_GETTIME): Set errno on error.
21322 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21323 count references to noai6ai_cached.
21325 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21327 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21329 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21330 FD_CLOEXEC for /proc/self/maps.
21332 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21333 FD_CLOEXEC for /proc/meminfo.
21335 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21338 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21339 FD_CLOEXEC for given file.
21341 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21343 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21344 FD_CLOEXEC for /etc/hosts.
21345 (_gethtent): Likewise.
21347 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21349 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21350 cancellation and set FD_CLOEXEC for /etc/netgroup.
21352 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21353 reading /etc/publickey.
21355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21356 allow cancellation when reading /etc/group.
21358 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21360 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21362 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21363 when using data file.
21365 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21367 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21368 (write_nis_obj): Use "c" and "e" in fopen.
21370 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21372 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21374 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21376 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21378 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21381 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21383 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21385 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21387 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21388 file parsing and set FD_CLOEXEC.
21390 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21392 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21394 2011-11-14 Andreas Schwab <schwab@redhat.com>
21396 * malloc/arena.c (arena_get2): Don't call reused_arena when
21397 _int_new_arena failed.
21399 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21401 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21402 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21403 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21404 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21407 to compile strcasecmp and strncasecmp.
21408 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21409 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21413 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21415 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21416 locale-defines.sym to gen-as-const-headers.
21417 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21418 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21420 to compile strcasecmp and strncasecmp.
21421 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21422 strcasecmp_l and strncasecmp_l.
21423 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21424 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21425 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21426 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21427 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21428 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21429 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21430 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21431 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21432 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21433 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21435 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21437 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21438 result of SYSDEP_GETTIME_CPU to retval.
21439 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21440 parameter list to macro. Remove trailing semicolon. Adjust users.
21442 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21445 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21447 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21449 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21450 from unused variable.
21452 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21454 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21457 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21460 * sunrpc/rpc_prot.c (rejected): Fix case value.
21462 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21463 unsigned long long int to avoid warnings in shift.
21465 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21467 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21470 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21471 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21474 * nis/nis_table.c (nis_list): Use variable of correct type for
21475 result of __follow_path call.
21477 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21479 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21480 of math functions ceil, trunc, floor, round, and sqrt, when
21481 avaliable on the platform.
21482 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21484 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21485 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21486 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21488 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21490 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21491 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21493 2011-11-11 Roland McGrath <roland@hack.frob.com>
21495 * include/unistd.h: Fix __readlink return type.
21496 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21498 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21500 * stdlib/ucontext.h: Undo last change for makecontext.
21502 2011-11-11 Andreas Schwab <schwab@redhat.com>
21504 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21506 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21507 * setjmp/setjmp.h: Mark functions as non-leaf.
21508 * setjmp/bits/setjmp2.h: Likewise.
21509 * stdlib/ucontext.h: Likewise.
21511 2011-11-10 Andreas Schwab <schwab@redhat.com>
21513 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21514 (reused_arena): Don't check arena limit.
21515 (arena_get2): Atomically check arena limit.
21517 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21519 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21520 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21525 2011-11-07 Andreas Schwab <schwab@redhat.com>
21527 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21528 handler when locking.
21530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21531 Fix size of allocated buffer.
21533 2011-11-04 Andreas Schwab <schwab@redhat.com>
21536 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21537 declarations for long double functions.
21538 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21540 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21542 2011-11-03 Andreas Schwab <schwab@redhat.com>
21544 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21547 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21550 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21552 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21554 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21556 * include/alloca.h (stackinfo_alloca_round): Define.
21557 (extend_alloca): Use it.
21558 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21559 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21562 * scripts/check-local-headers.sh: Ignore libaudit.h.
21564 * nscd/Makefile (extra-objs): Make recursively expanded.
21566 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21568 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21571 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21572 * posix/tst-rfc3484-2.c: Likewise.
21573 * posix/tst-rfc3484-3.c: Likewise.
21575 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21577 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21579 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21580 process_vm_writev from libc using GLIBC_2.15 version.
21582 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21584 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21586 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21589 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21592 * nss/getent.c (initgroups_keys): Show error message in case no group
21595 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21596 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21597 __bump_nl_timestamp.
21598 * nscd/connections (nscd_init): When host database is served open
21599 netlink socket and request notification about configuration changes.
21600 (main_loop_poll): Track netlink file descriptor and bump timestamp
21601 in case data becomes available.
21602 (main_loop_epoll): Likewise.
21603 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21604 (database_pers_head): Add extra_data fileds.
21605 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21606 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21607 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21610 in6ai data, call __free_in6ai.
21611 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21612 Add -DHAVE_NETLINK.
21613 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21614 interface information. Reuse previous data if netlink timestamp
21616 (__bump_nl_timestamp): New function.
21617 (__free_in6ai): New function.
21619 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21622 close_not_cancel_no_status here.
21623 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21625 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21628 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21631 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21632 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21633 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21635 2011-07-03 Andreas Jaeger <aj@suse.de>
21638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21639 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21640 * math/libm-test.inc (sin_test): Add test case.
21642 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21645 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21646 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21648 * elf/chroot_canon.c (chroot_canon): Cleanups.
21650 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21653 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21654 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21656 * string/test-strchr.c: Make usable for strchrnul testing.
21657 * string/test-strchrnul.c: New file.
21658 * string/Makefile (strop-tests): Add strchrnul.
21660 * po/it.po: Update from translation team.
21661 * po/es.po: Likewise.
21663 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21665 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21666 the three constants needed as parameters. Drop the others.
21667 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21668 __m128i_strloadu_tolower.
21669 Create and initialize variable zero and use it in all the places
21670 where _mm_setzero_si128 was used.
21672 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21673 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21674 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21675 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21677 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21678 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21679 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21680 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21681 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21682 __mpranred, __mptan.
21683 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21684 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21685 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21686 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21687 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21688 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21690 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21691 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21693 2011-10-28 Andreas Schwab <schwab@redhat.com>
21695 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21696 redefine if SHARED.
21697 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21700 wide char related routines to wcsmbs subdir.
21702 2011-10-27 Andreas Schwab <schwab@redhat.com>
21705 * misc/sys/cdefs.h (__THROWNL): Define.
21706 * posix/unistd.h: Use __THREADNL instead of __THREAD
21707 for memory synchronization functions.
21709 2011-10-26 Roland McGrath <roland@hack.frob.com>
21712 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21714 * manual/stdio.texi (Obstack Streams): Node removed.
21716 2011-10-26 Andreas Schwab <schwab@redhat.com>
21718 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21722 * math/math_private.h (math_force_eval): Allow non-addressable
21724 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21726 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21728 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21729 file is not needed.
21731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21734 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21735 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21738 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21740 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21741 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21742 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21743 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21744 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21745 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21746 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21747 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21748 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21749 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21750 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21751 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21753 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21754 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21755 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21756 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21757 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21758 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21760 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21761 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21763 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21764 place. Use VEX encoding when compiling for AVX.
21766 2011-10-25 Andreas Schwab <schwab@redhat.com>
21768 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21769 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21771 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21773 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21775 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21776 useless if() expression.
21777 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21781 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21782 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21783 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21785 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21788 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21789 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21790 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21791 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21792 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21793 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21797 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21799 2011-10-25 Andreas Schwab <schwab@redhat.com>
21801 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21805 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21807 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21808 .text section. Avoid duplicate constants.
21809 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21811 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21813 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21815 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21819 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21821 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21823 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21824 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21825 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21826 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21827 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21830 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21831 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21832 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21833 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21834 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21835 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21836 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21837 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21838 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21839 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21840 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21841 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21842 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21843 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21844 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21845 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21847 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21848 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21849 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21850 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21851 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21852 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21853 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21855 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21857 * sysdeps/x86_64/dla.h: Move to ...
21858 * sysdeps/x86_64/fpu/dla.h: ...here.
21859 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21860 situations. Use __builtin_fma only for gcc 4.6 and up.
21862 * config.make.in: Add have-mfma4 entry.
21863 * configure.in: Substitute libc_cv_cc_fma4.
21864 * math/Makefile (dbl-only-routines): Add sincostab.
21865 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21866 Use __sincostab not sincos.
21867 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21874 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21875 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21876 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21877 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21880 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21882 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21883 define aliases when function name is a macro.
21884 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21885 sysdeps/ieee754/dbl-64/sincos.tbl.
21886 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21887 fma4-enabled routines.
21888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21889 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21890 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21891 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21892 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21893 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21895 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21897 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21898 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21900 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21902 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21903 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21904 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21905 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21906 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21908 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21909 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21914 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21915 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21916 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21917 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21919 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21930 2011-10-24 Andreas Schwab <schwab@redhat.com>
21932 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21934 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21936 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21938 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21942 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21943 Remove unused variable magic_bits.
21944 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21946 * string/strnlen.c: Define and use STRNLEN macro.
21947 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21948 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21950 * wcsmbs/wcslen.c: Define and use WCSLEN.
21951 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21952 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21953 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21954 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21955 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21956 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21957 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21959 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21962 strnlen-sse2-no-bsf.
21963 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21964 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21965 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21966 Add strnlen support.
21967 (USE_AS_STRNLEN): New macro.
21968 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21969 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21970 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21971 * sysdeps/x86_64/wcslen.S: New file.
21973 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21975 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21976 XMM-moves are used for copying on small sizes.
21978 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21980 * wcsmbs/Makefile (strop-tests): Add wcschr.
21981 * wcsmbs/test-wcschr.c: New file.
21982 * string/test-strchr.c: Update.
21983 Add wcschr support.
21986 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21988 * wcsmbs/Makefile (strop-tests): Add wcslen.
21989 * wcsmbs/test-wcslen.c: New file.
21990 * string/test-strlen.c: Update.
21991 Add wcslen support.
21994 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21996 * po/it.po: Update from translation team.
21998 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22000 * sysdeps/x86_64/wcscmp.S: Update.
22001 Fix wrong comparison semantics.
22002 wcscmp shall use signed comparison not unsigned.
22003 Don't use substraction to avoid overflow bug.
22004 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22005 * wcsmbc/wcscmp.c: Likewise.
22006 * string/test-strcmp.c: Likewise.
22007 Add new tests to check cases with negative values.
22009 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22011 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22012 * sysdeps/x86_64/dla.h: ...here. New file.
22013 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22023 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22026 __ynl_finite aliases.
22028 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22032 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22034 [DLA_FMA] (EMULV): Use DLA_FMA.
22035 [DLA_FMA] (MUL12): Use EMULV.
22036 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22037 that are not needed.
22038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22046 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22048 * math/s_nan.c: Undef __nan.
22049 * math/s_nanf.c: Undef __nanf.
22050 * math/s_nanl.c: Undef __nanl.
22051 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22054 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22056 * math/s_catan.c: Add branch predictions.
22057 * math/s_catanf.c: Likewise.
22058 * math/s_catanh.c: Likewise.
22059 * math/s_catanhf.c: Likewise.
22060 * math/s_catanhl.c: Likewise.
22061 * math/s_catanl.c: Likewise.
22062 * math/s_cexp.c: Likewise.
22063 * math/s_cexpf.c: Likewise.
22064 * math/s_cexpl.c: Likewise.
22065 * math/s_clog.c: Likewise.
22066 * math/s_clog10.c: Likewise.
22067 * math/s_clog10f.c: Likewise.
22068 * math/s_clog10l.c: Likewise.
22069 * math/s_clogf.c: Likewise.
22070 * math/s_clogl.c: Likewise.
22071 * math/s_csqrt.c: Likewise.
22072 * math/s_csqrtf.c: Likewise.
22073 * math/s_csqrtl.c: Likewise.
22074 * math/s_ctanf.c: Likewise.
22075 * math/s_ctanh.c: Likewise.
22076 * math/s_ctanhf.c: Likewise.
22077 * math/s_ctanhl.c: Likewise.
22078 * math/s_ctanl.c: Likewise.
22080 * math/math_private.h: Define __nan, __nanf, __nanl.
22081 * math/s_cacosh.c: Include <math_private.h>.
22082 * math/s_cacoshl.c: Likewise.
22083 * math/s_casinh.c: Likewise.
22084 * math/s_casinhf.c: Likewise.
22085 * math/s_casinhl.c: Likewise.
22086 * math/s_ccos.c: Rely entire on ccosh.
22087 * math/s_ccosf.c: Rely entire on ccoshf.
22088 * math/s_ccosl.c: Rely entirely on ccoshl.
22089 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22090 Remove tests for FE_INVALID.
22091 * math/s_ccoshf.c: Likewise.
22092 * math/s_ccoshl.c: Likewise.
22093 * math/s_csin.c: Likewise.
22094 * math/s_csinf.c: Likewise.
22095 * math/s_csinh.c Likewise.
22096 * math/s_csinhf.c: Likewise.
22097 * math/s_csinhl.c: Likewise.
22098 * math/s_csinl.c: Likewise.
22099 * math/s_ctan.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22101 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22102 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22104 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22107 compilation problems.
22109 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22112 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22114 * sysdeps/i386/configure.in: Test for -mfma4 option.
22115 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22116 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22117 COMMON_CPUID_INDEX_80000001.
22118 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22119 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22120 use it if FMA3 is not supported.
22121 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22123 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22124 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22126 2011-10-20 Andreas Schwab <schwab@redhat.com>
22129 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22130 it would create a cycle with a link time dependency.
22132 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22134 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22136 * string/Makefile (strop-tests): Add rawmemchr.
22137 * string/test-rawmemchr.c: New file.
22139 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22141 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22142 when compiling str{,n}casecmp and when AVX is available. Hook up
22143 new optimized code in initializers.
22145 2011-10-19 Andreas Schwab <schwab@redhat.com>
22147 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22148 __feraiseexcept instead of feraiseexcept.
22150 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22152 * math/math_private.h: Define defaults for libc_fetestexcept and
22154 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22155 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22156 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22157 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22158 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22159 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22160 libc_fetestexcept and libc_feupdateenv.
22162 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22163 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22164 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22165 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22166 libc_feholdexcept_setround.
22168 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22169 Add s_nearbyint-c and s_nearbyintf-c.
22170 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22171 nearbyintf inlines.
22172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22177 * math/math_private.h: Define defaults for libc_fegetround,
22178 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22179 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22180 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22182 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22183 standard functions.
22184 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22185 Remove comments and hacks for old compiler versions.
22186 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22187 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22188 libc_feholdexceptl.
22190 2011-10-18 Andreas Schwab <schwab@redhat.com>
22192 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22193 (__feraiseexcept_renamed): Add __NTH.
22194 (feraiseexcept): Add __NTH. Rename local variables to fix
22195 namespace violations.
22197 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22199 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22201 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22203 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22204 recently added interfaces.
22205 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22207 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22208 about macro parameter expansion.
22210 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22211 __NO_MATH_INLINES is defined. Cleanups.
22213 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22214 and __floorf is target has SSE4.1.
22215 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22216 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22217 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22218 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22220 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22222 (floorf): Likewise.
22224 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22226 2011-10-17 Andreas Schwab <schwab@redhat.com>
22228 * misc/sys/cdefs.h: Fix last change.
22230 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22233 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22235 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22237 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22238 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22239 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22242 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22243 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22244 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22245 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22246 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22247 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22248 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22249 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22250 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22251 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22252 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22253 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22254 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22255 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22256 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22257 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22258 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22260 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22261 ceil, ceilf, floor, floorf.
22263 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22264 Perform IRELATIVE relocations last.
22266 * elf/do-rel.h: Add another parameter nrelative, replacing the
22267 local variable with the same name. Change name of the function
22268 to end in Rel or Rela (uppercase).
22269 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22270 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22271 elf_dynamic_do_##reloc function.
22273 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22275 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22276 is sufficient, at least on modern CPUs.
22278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22280 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22281 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22283 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22285 * math/bits/math-finite.h: Add entries for exp.
22286 * math/e_expl.c: Add __*_finite alias.
22287 * sysdeps/i386/fpu/e_exp.S: Likewise.
22288 * sysdeps/i386/fpu/e_expf.S: Likewise.
22289 * sysdeps/i386/fpu/e_expl.c: Likewise.
22290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22291 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22292 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22294 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22295 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22296 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22298 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22299 is sufficient, at least on modern CPUs.
22301 * ctype/ctype-info.c (__ctype_init): Define.
22302 * include/ctype.h (__ctype_init): Declare.
22303 (__ctype_b_loc): The variable is always initialized.
22304 (__ctype_toupper_loc): Likewise.
22305 (__ctype_tolower_loc): Likewise.
22306 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22307 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22309 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22311 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22313 * configure.in: Also look in $cxxmachine/include for C++ system
22316 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22318 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22319 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22320 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22321 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22322 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22323 (USE_AS_WMEMCMP): New macro.
22325 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22326 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22327 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22328 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22330 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22331 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22332 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22333 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22334 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22336 (USE_AS_WMEMCMP): New macro.
22337 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22338 * sysdeps/string/test-memcmp.c: Update.
22339 Fix simple_wmemcmp.
22341 * wcsmbs/wmemcmp.c: Update.
22342 (WMEMCMP): New macro.
22345 2011-10-12 Andreas Jaeger <aj@suse.de>
22348 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22350 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22352 * libio/iofwide.c (do_length): Avoid warning.
22354 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22356 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22358 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22360 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22361 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22362 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22363 * sysdeps/i386/i686/fpu/e_log.S: New file.
22364 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22365 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22367 * ctype/ctype.h: Add support for inlined isXXX functions when
22368 compiling C++ code.
22370 2011-10-14 Andreas Schwab <schwab@redhat.com>
22372 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22376 2011-10-13 Roland McGrath <roland@hack.frob.com>
22379 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22381 2011-10-13 Andreas Schwab <schwab@redhat.com>
22383 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22384 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22387 * sysdeps/x86_64/memrchr.S: Check for zero size.
22389 * string/stratcliff.c: Add memrchr tests.
22391 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22394 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22395 rawmemchr-sse2 rawmemchr-sse2-bsf.
22396 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22397 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22398 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22399 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22400 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22401 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22402 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22403 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22404 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22405 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22406 * string/memrchr.c (MEMRCHR): New macro.
22408 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22410 Add integration with gcc's -ffinite-math-only and optimize wrapper
22412 * Versions.def: Define GLIBC_2.15 version for libm.
22413 * math/Makefile (headers): Add bits/math-finite.h.
22414 * math/bits/math-finite.h: New file.
22415 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22416 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22417 * math/e_acoshl.c: Add __*_finite alias.
22418 * math/e_acosl.c: Likewise.
22419 * math/e_asinl.c: Likewise.
22420 * math/e_atan2l.c: Likewise.
22421 * math/e_atanhl.c: Likewise.
22422 * math/e_coshl.c: Likewise.
22423 * math/e_exp10.c: Likewise.
22424 * math/e_exp10f.c: Likewise.
22425 * math/e_exp10l.c: Likewise.
22426 * math/e_exp2l.c: Likewise.
22427 * math/e_fmodl.c: Likewise.
22428 * math/e_gammal_r.c: Likewise.
22429 * math/e_hypotl.c: Likewise.
22430 * math/e_j0l.c: Likewise.
22431 * math/e_j1l.c: Likewise.
22432 * math/e_jnl.c: Likewise.
22433 * math/e_lgammal_r.c: Likewise.
22434 * math/e_log10l.c: Likewise.
22435 * math/e_log2l.c: Likewise.
22436 * math/e_logl.c: Likewise.
22437 * math/e_powl.c: Likewise.
22438 * math/e_sinhl.c: Likewise.
22439 * math/e_sqrtl.c: Likewise.
22440 * math/e_scalb.c: Completely rewritten and optimized.
22441 * math/e_scalbf.c: Likewise.
22442 * math/e_scalbl.c: Likewise.
22443 * math/w_acos.c: Likewise.
22444 * math/w_acosf.c: Likewise.
22445 * math/w_acosl.c: Likewise.
22446 * math/w_acosh.c: Likewise.
22447 * math/w_acoshf.c: Likewise.
22448 * math/w_acoshl.c: Likewise.
22449 * math/w_asin.c: Likewise.
22450 * math/w_asinf.c: Likewise.
22451 * math/w_asinl.c: Likewise.
22452 * math/w_atan2.c: Likewise.
22453 * math/w_atan2f.c: Likewise.
22454 * math/w_atan2l.c: Likewise.
22455 * math/w_atanh.c: Likewise.
22456 * math/w_atanhf.c: Likewise.
22457 * math/w_atanhl.c: Likewise.
22458 * math/w_exp10.c: Likewise.
22459 * math/w_exp10f.c: Likewise.
22460 * math/w_exp10l.c: Likewise.
22461 * math/w_fmod.c: Likewise.
22462 * math/w_fmodf.c: Likewise.
22463 * math/w_fmodl.c: Likewise.
22464 * math/w_j0.c: Likewise.
22465 * math/w_j0f.c: Likewise.
22466 * math/w_j0l.c: Likewise.
22467 * math/w_j1.c: Likewise.
22468 * math/w_j1f.c: Likewise.
22469 * math/w_j1l.c: Likewise.
22470 * math/w_jn.c: Likewise.
22471 * math/w_jnf.c: Likewise.
22472 * math/w_log.c: Likewise.
22473 * math/w_logf.c: Likewise.
22474 * math/w_logl.c: Likewise.
22475 * math/w_log10.c: Likewise.
22476 * math/w_log10f.c: Likewise.
22477 * math/w_log10l.c: Likewise.
22478 * math/w_log2.c: Likewise.
22479 * math/w_log2f.c: Likewise.
22480 * math/w_log2l.c: Likewise.
22481 * math/w_pow.c: Likewise.
22482 * math/w_powf.c: Likewise.
22483 * math/w_powl.c: Likewise.
22484 * math/w_remainder.c: Likewise.
22485 * math/w_remainderf.c: Likewise.
22486 * math/w_remainderl.c: Likewise.
22487 * math/w_scalb.c: Likewise.
22488 * math/w_scalbf.c: Likewise.
22489 * math/w_scalbl.c: Likewise.
22490 * math/w_sqrt.c: Likewise.
22491 * math/w_sqrtf.c: Likewise.
22492 * math/w_sqrtl.c: Likewise.
22493 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22494 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22496 * math/math_private.h: Declare __kernel_standard_f.
22497 * math/w_cosh.c: Remove cruft and optimize a bit.
22498 * math/w_coshf.c: Likewise.
22499 * math/w_coshl.c: Likewise.
22500 * math/w_exp2.c: Likewise.
22501 * math/w_exp2f.c: Likewise.
22502 * math/w_exp2l.c: Likewise.
22503 * math/w_hypot.c: Likewise.
22504 * math/w_hypotf.c: Likewise.
22505 * math/w_hypotl.c: Likewise.
22506 * math/w_lgamma.c: Likewise.
22507 * math/w_lgamma_r.c: Likewise.
22508 * math/w_lgammaf.c: Likewise.
22509 * math/w_lgammaf_r.c: Likewise.
22510 * math/w_lgammal.c: Likewise.
22511 * math/w_lgammal_r.c: Likewise.
22512 * math/w_sinh.c: Likewise.
22513 * math/w_sinhf.c: Likewise.
22514 * math/w_sinhl.c: Likewise.
22515 * math/w_tgamma.c: Likewise.
22516 * math/w_tgammaf.c: Likewise.
22517 * math/w_tgammal.c: Likewise.
22518 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22520 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22521 Minor optimizations. Pretty printing. Remove cruft.
22522 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22523 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22524 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22525 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22526 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22527 * sysdeps/i386/fpu/e_asin.S: Likewise.
22528 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22529 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22530 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22531 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22533 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22534 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22535 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22536 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22537 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22538 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22539 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22540 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22541 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22542 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22543 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22544 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22545 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22546 * sysdeps/i386/fpu/e_log.S: Likewise.
22547 * sysdeps/i386/fpu/e_log10.S: Likewise.
22548 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22549 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22550 * sysdeps/i386/fpu/e_log2.S: Likewise.
22551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22552 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22553 * sysdeps/i386/fpu/e_logf.S: Likewise.
22554 * sysdeps/i386/fpu/e_logl.S: Likewise.
22555 * sysdeps/i386/fpu/e_pow.S: Likewise.
22556 * sysdeps/i386/fpu/e_powf.S: Likewise.
22557 * sysdeps/i386/fpu/e_powl.S: Likewise.
22558 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22559 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22560 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22561 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22563 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22564 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22565 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22566 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22572 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22588 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22589 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22590 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22591 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22592 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22593 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22594 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22595 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22596 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22597 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22598 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22599 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22600 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22601 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22602 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22603 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22604 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22605 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22606 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22607 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22608 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22647 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22652 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22653 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22655 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22658 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22659 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22660 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22661 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22662 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22663 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22664 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22665 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22666 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22667 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22668 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22669 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22670 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22671 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22672 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22673 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22674 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22675 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22676 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22677 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22678 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22679 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22680 (__isnanf): Likewise.
22681 (__isinf_ns): Likewise.
22682 (__isinf_nsf): Likewise.
22683 (__finite): Likewise.
22684 (__finitef): Likewise.
22685 (__ieee754_sqrt): Define as macro.
22686 (__ieee754_sqrtf): Define as macro.
22687 (__ieee754_sqrtl): Define as macro.
22688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22690 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22691 __FINITE_MATH_ONLY__ consistent.
22692 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22694 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22696 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22699 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22701 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22703 * po/ja.po: Update from translation team.
22705 2011-10-08 Roland McGrath <roland@hack.frob.com>
22707 * locale/programs/locarchive.c (prepare_address_space): New function.
22708 (create_archive, enlarge_archive, open_archive): Use it.
22710 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22711 inside [SHARED], where it is used.
22713 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22715 * nss/getent.c (netgroup_keys): Remove unused variable.
22716 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22718 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22720 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22721 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22723 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22725 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22726 * math/Makefile (libm-calls): Add s_isinf_ns.
22727 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22728 * math/multc3.c: Likewise.
22729 * math/s_casin.c: Likewise.
22730 * math/s_casinf.c: Likewise.
22731 * math/s_casinl.c: Likewise.
22732 * math/s_ccos.c: Likewise.
22733 * math/s_ccosf.c: Likewise.
22734 * math/s_ccosl.c: Likewise.
22735 * math/s_ctan.c: Likewise.
22736 * math/s_ctanf.c: Likewise.
22737 * math/s_ctanh.c: Likewise.
22738 * math/s_ctanhf.c: Likewise.
22739 * math/s_ctanhl.c: Likewise.
22740 * math/s_ctanl.c: Likewise.
22741 * math/w_fmod.c: Likewise.
22742 * math/w_fmodf.c: Likewise.
22743 * math/w_fmodl.c: Likewise.
22744 * math/w_remainder.c: Likewise.
22745 * math/w_remainderf.c: Likewise.
22746 * math/w_remainderl.c: Likewise.
22747 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22748 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22749 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22751 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22752 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22753 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22754 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22756 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22758 * stdio-common/printf_fphex.c: Likewise.
22759 * stdio-common/printf_size.c: Likewise.
22761 * math/e_exp10.c: Include math_private.h using <...> not "...".
22762 * math/e_exp10f.c: Likewise.
22763 * math/e_exp10l.c: Likewise.
22764 * math/e_exp2l.c: Likewise.
22765 * math/e_j0l.c: Likewise.
22766 * math/e_j1l.c: Likewise.
22767 * math/e_jnl.c: Likewise.
22768 * math/e_lgammal_r.c: Likewise.
22769 * math/e_rem_pio2l.c: Likewise.
22770 * math/e_scalb.c: Likewise.
22771 * math/e_scalbf.c: Likewise.
22772 * math/e_scalbl.c: Likewise.
22773 * math/k_cosl.c: Likewise.
22774 * math/k_sinl.c: Likewise.
22775 * math/k_tanl.c: Likewise.
22776 * math/s_cacoshf.c: Likewise.
22777 * math/s_catan.c: Likewise.
22778 * math/s_catanf.c: Likewise.
22779 * math/s_catanh.c: Likewise.
22780 * math/s_catanhf.c: Likewise.
22781 * math/s_catanhl.c: Likewise.
22782 * math/s_catanl.c: Likewise.
22783 * math/s_ccosh.c: Likewise.
22784 * math/s_ccoshf.c: Likewise.
22785 * math/s_ccoshl.c: Likewise.
22786 * math/s_cexp.c: Likewise.
22787 * math/s_cexpf.c: Likewise.
22788 * math/s_cexpl.c: Likewise.
22789 * math/s_clog.c: Likewise.
22790 * math/s_clog10.c: Likewise.
22791 * math/s_clog10f.c: Likewise.
22792 * math/s_clog10l.c: Likewise.
22793 * math/s_clogf.c: Likewise.
22794 * math/s_clogl.c: Likewise.
22795 * math/s_csin.c: Likewise.
22796 * math/s_csinf.c: Likewise.
22797 * math/s_csinh.c: Likewise.
22798 * math/s_csinhf.c: Likewise.
22799 * math/s_csinhl.c: Likewise.
22800 * math/s_csinl.c: Likewise.
22801 * math/s_csqrt.c: Likewise.
22802 * math/s_csqrtf.c: Likewise.
22803 * math/s_csqrtl.c: Likewise.
22804 * math/s_ctan.c: Likewise.
22805 * math/s_ctanf.c: Likewise.
22806 * math/s_ctanh.c: Likewise.
22807 * math/s_ctanhf.c: Likewise.
22808 * math/s_ctanhl.c: Likewise.
22809 * math/s_ctanl.c: Likewise.
22810 * math/s_ldexp.c: Likewise.
22811 * math/s_ldexpf.c: Likewise.
22812 * math/s_ldexpl.c: Likewise.
22813 * math/s_significand.c: Likewise.
22814 * math/s_significandf.c: Likewise.
22815 * math/s_significandl.c: Likewise.
22816 * math/w_acos.c: Likewise.
22817 * math/w_acosf.c: Likewise.
22818 * math/w_acosh.c: Likewise.
22819 * math/w_acoshf.c: Likewise.
22820 * math/w_acoshl.c: Likewise.
22821 * math/w_acosl.c: Likewise.
22822 * math/w_asin.c: Likewise.
22823 * math/w_asinf.c: Likewise.
22824 * math/w_asinl.c: Likewise.
22825 * math/w_atan2.c: Likewise.
22826 * math/w_atan2f.c: Likewise.
22827 * math/w_atan2l.c: Likewise.
22828 * math/w_atanh.c: Likewise.
22829 * math/w_atanhf.c: Likewise.
22830 * math/w_atanhl.c: Likewise.
22831 * math/w_cosh.c: Likewise.
22832 * math/w_coshf.c: Likewise.
22833 * math/w_coshl.c: Likewise.
22834 * math/w_dremf.c: Likewise.
22835 * math/w_exp10.c: Likewise.
22836 * math/w_exp10f.c: Likewise.
22837 * math/w_exp10l.c: Likewise.
22838 * math/w_exp2.c: Likewise.
22839 * math/w_exp2f.c: Likewise.
22840 * math/w_fmod.c: Likewise.
22841 * math/w_fmodf.c: Likewise.
22842 * math/w_fmodl.c: Likewise.
22843 * math/w_hypot.c: Likewise.
22844 * math/w_hypotf.c: Likewise.
22845 * math/w_hypotl.c: Likewise.
22846 * math/w_j0.c: Likewise.
22847 * math/w_j0f.c: Likewise.
22848 * math/w_j0l.c: Likewise.
22849 * math/w_j1.c: Likewise.
22850 * math/w_j1f.c: Likewise.
22851 * math/w_j1l.c: Likewise.
22852 * math/w_jn.c: Likewise.
22853 * math/w_jnf.c: Likewise.
22854 * math/w_jnl.c: Likewise.
22855 * math/w_lgamma.c: Likewise.
22856 * math/w_lgamma_r.c: Likewise.
22857 * math/w_lgammaf.c: Likewise.
22858 * math/w_lgammaf_r.c: Likewise.
22859 * math/w_lgammal.c: Likewise.
22860 * math/w_lgammal_r.c: Likewise.
22861 * math/w_log.c: Likewise.
22862 * math/w_log10.c: Likewise.
22863 * math/w_log10f.c: Likewise.
22864 * math/w_log10l.c: Likewise.
22865 * math/w_log2.c: Likewise.
22866 * math/w_log2f.c: Likewise.
22867 * math/w_log2l.c: Likewise.
22868 * math/w_logf.c: Likewise.
22869 * math/w_logl.c: Likewise.
22870 * math/w_pow.c: Likewise.
22871 * math/w_powf.c: Likewise.
22872 * math/w_powl.c: Likewise.
22873 * math/w_remainder.c: Likewise.
22874 * math/w_remainderf.c: Likewise.
22875 * math/w_remainderl.c: Likewise.
22876 * math/w_scalb.c: Likewise.
22877 * math/w_scalbf.c: Likewise.
22878 * math/w_scalbl.c: Likewise.
22879 * math/w_sinh.c: Likewise.
22880 * math/w_sinhf.c: Likewise.
22881 * math/w_sinhl.c: Likewise.
22882 * math/w_sqrt.c: Likewise.
22883 * math/w_sqrtf.c: Likewise.
22884 * math/w_sqrtl.c: Likewise.
22885 * math/w_tgamma.c: Likewise.
22886 * math/w_tgammaf.c: Likewise.
22887 * math/w_tgammal.c: Likewise.
22889 * po/ja.po: Update from translation team.
22891 2011-09-29 Andreas Jaeger <aj@suse.de>
22894 * sunrpc/netname.c (netname2host): Fix logic.
22898 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22900 * math/w_remainder.c (__remainder): Likewise.
22901 * math/w_remainderf.c (__remainderf): Likewise.
22902 * math/libm-test.inc (remainder_test): Add test cases.
22904 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22906 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22909 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22911 * string/test-memcmp.c: Avoid unncessary #defines.
22912 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22914 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22916 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22917 Use new sse2 version for core i3 - i7 as it's faster
22918 than sse42 version.
22919 (bit_Prefer_PMINUB_for_stringop): New.
22920 * sysdeps/x86_64/rawmemchr.S: Update.
22921 Replace with faster SSE2 version.
22922 * sysdeps/x86_64/memrchr.S: New file.
22923 * sysdeps/x86_64/memchr.S: Update.
22924 Replace with faster SSE2 version.
22926 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22928 * elf/dl-load.c (lose): Add cast to avoid warning.
22930 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22932 * po/ca.po: Update from translation team.
22934 * inet/getnetgrent_r.c: Hook up nscd.
22935 * nscd/Makefile (routines): Add nscd_netgroup.
22936 (nscd-modules): Add netgroupcache.
22937 (CFLAGS-netgroupcache.c): Define.
22938 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22939 (cache_search): Add const to second parameter.
22940 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22942 (dbs): Add netgrdb entry.
22943 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22944 (verify_persistent_db): Handle netgrdb.
22945 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22946 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22948 (netgroup_response_header): Define.
22949 (innetgroup_response_header): Define.
22950 (datahead): Add netgroup_response_header and innetgroup_response_header
22952 * nscd/nscd.conf: Add entries for netgroup cache.
22953 * nscd/nscd.h (dbtype): Add netgrdb.
22954 (_PATH_NSCD_NETGROUP_DB): Define.
22955 (netgroup_iov_disabled): Declare.
22956 (xmalloc, xcalloc, xrealloc): Move declarations here.
22957 (cache_search): Adjust prototype.
22958 Add netgroup-related prototypes.
22959 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22960 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22961 (__nscd_innetgr): Declare.
22962 * nscd/selinux.c (perms): Use access_vector_t as element type and
22963 add netgroup-related initializers.
22964 * nscd/netgroupcache.c: New file.
22965 * nscd/nscd_netgroup.c: New file.
22966 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22967 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22968 For four parameters use innetgr.
22969 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22970 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22971 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22972 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22974 * nscd/connections.c (register_traced_file): Don't register file
22975 for disabled databases.
22977 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22979 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22981 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22982 from tree and freeing node.
22984 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22986 * nss/nsswitch.c (__nss_database_lookup): Handle
22987 nss_parse_service_list out of memory case.
22989 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22991 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22992 out of memory case.
22994 2011-10-04 Andreas Schwab <schwab@redhat.com>
22996 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22997 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22999 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23000 elf_machine_rela, elf_machine_lazy_rel.
23001 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23002 (ELF_DYNAMIC_DO_REL): Likewise.
23003 (ELF_DYNAMIC_DO_RELA): Likewise.
23004 (ELF_DYNAMIC_RELOCATE): Likewise.
23005 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23006 to ELF_DYNAMIC_DO_REL.
23007 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23008 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23009 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23011 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23012 skip_ifunc, don't call ifunc function if non-zero.
23013 (elf_machine_rela): Likewise.
23014 (elf_machine_lazy_rel): Likewise.
23015 (elf_machine_lazy_rela): Likewise.
23016 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23017 (elf_machine_lazy_rel): Likewise.
23018 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23020 (elf_machine_lazy_rel): Likewise.
23021 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23023 (elf_machine_lazy_rel): Likewise.
23024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23025 (elf_machine_lazy_rel): Likewise.
23026 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23027 (elf_machine_lazy_rel): Likewise.
23028 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23029 (elf_machine_lazy_rel): Likewise.
23030 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23031 (elf_machine_lazy_rel): Likewise.
23032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23033 (elf_machine_lazy_rel): Likewise.
23034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23035 (elf_machine_lazy_rel): Likewise.
23037 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23039 * nss/nss_files/files-init.c (_nss_files_init): Use static
23040 initialization for all the *_traced_file variables.
23042 2011-09-28 Andreas Schwab <schwab@redhat.com>
23044 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23046 2011-09-27 Roland McGrath <roland@hack.frob.com>
23049 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23051 2011-09-27 Andreas Schwab <schwab@redhat.com>
23053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23054 Reread the line before reparsing it.
23056 2011-09-26 Andreas Schwab <schwab@redhat.com>
23058 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23060 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23061 Maxim Kuvyrkov <maxim@codesourcery.com>
23062 Joseph Myers <joseph@codesourcery.com>
23064 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23065 if needed for __stack_chk_guard.
23067 2011-09-19 Roland McGrath <roland@hack.frob.com>
23069 * sysdeps/posix/spawni.c (script_execute): Always define it.
23070 It will be optimized away if unused.
23071 (maybe_script_execute): New function.
23072 (__spawni): Call it.
23074 * Makerules: Don't include tls.make.
23075 (config-tls): Always set to thread.
23076 * tls.make.c: File removed.
23078 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23080 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23081 * config.make.in (CPPFLAGS-config): New substituted variable.
23083 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23085 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23088 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23089 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23091 2011-09-15 Roland McGrath <roland@hack.frob.com>
23093 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23094 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23096 (CALL_FAIL): Likewise.
23097 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23098 (CALL_FAIL): Macro removed.
23099 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23101 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23103 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23104 for __FINITE_MATH_ONLY__ == 1.
23106 2011-09-15 Andreas Schwab <schwab@redhat.com>
23108 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23109 __ieee754_sqrt instead of sqrt.
23110 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23111 __ieee754_sqrtf instead of sqrtf.
23112 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23113 __floorf instead of floorf.
23114 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23115 __floorf, __truncf instead of floorf, truncf.
23117 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23119 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23121 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23122 __extern_always_inline.
23123 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23126 2011-09-14 Andreas Schwab <schwab@redhat.com>
23128 * elf/rtld.c (dl_main): Also relocate in dependency order when
23129 doing symbol dependency testing.
23131 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23134 Always define `refsym'.
23136 2011-09-13 Andreas Schwab <schwab@redhat.com>
23138 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23139 (__FD_ELT): Renamed from __FDELT.
23140 * misc/bits/select2.h (__FD_ELT): Likewise.
23141 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23142 __FD_MASK instead of __FDELT, __FDMASK.
23143 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23145 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23148 * elf/Makefile (gen-ldd): Fix pattern.
23150 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23151 (init_tls): Likewise.
23153 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23157 2011-09-12 Andreas Schwab <schwab@redhat.com>
23159 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23160 `struct cmsghdr *' instead of `void *'.
23161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23164 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23166 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23168 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23169 ldd_rewrite_script.
23171 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23173 * configure.in: Remove --with-tls option.
23174 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23175 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23176 out in case it is missing.
23177 * sysdeps/ia64/elf/configure.in: Likewise.
23178 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23179 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23180 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23181 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23182 * sysdeps/sh/elf/configure.in: Likewise.
23183 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23184 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23185 * sysdeps/x86_64/elf/configure.in: Likewise.
23186 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23187 * sysdeps/mach/hurd/tls.h: Likewise.
23190 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23193 * configure.in: Fix use of AC_INIT.
23195 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23197 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23199 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23201 * malloc/hooks.c: Likewise.
23204 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23205 variables statically.
23206 (narenas): Initialize.
23207 (list_lock): Initialize.
23208 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23209 initializtion of main_arena and list_lock. Small cleanups.
23210 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23211 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23212 Add initializers to main_arena and mp_.
23213 (malloc_state): Remove pagesize member. Change all users to use
23216 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23217 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23218 is always initialized.
23220 * malloc/malloc.c: Removed unused configurations and dead code.
23221 * malloc/arena.c: Likewise.
23222 * malloc/hooks.c: Likewise.
23223 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23225 * include/tls.h: Removed. USE___THREAD must always be defined.
23226 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23227 * elf/dl-libc.c: Likewise.
23228 * elf/dl-tsd.c: Likewise.
23229 * include/errno.h: Likewise.
23230 * include/netdb.h: Likewise.
23231 * include/resolv.h: Likewise.
23232 * inet/herrno-loc.c: Likewise.
23233 * inet/herrno.c: Likewise.
23234 * malloc/arena.c: Likewise.
23235 * malloc/hooks.c: Likewise.
23236 * malloc/malloc.c: Likewise.
23237 * resolv/res-state.c: Likewise.
23238 * resolv/res_libc.c: Likewise.
23239 * sysdeps/i386/dl-machine.h: Likewise.
23240 * sysdeps/ia64/dl-machine.h: Likewise.
23241 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23242 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23243 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23244 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23245 * sysdeps/sh/dl-machine.h: Likewise.
23246 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23247 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23248 * sysdeps/unix/i386/sysdep.S: Likewise.
23249 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23250 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23255 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23259 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23260 * sysdeps/x86_64/dl-machine.h: Likewise.
23261 * tls.make.c: Likewise.
23263 * configure.in: Remove --with-__thread option. Make tests for
23264 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23265 tls_model attribute fail if no support is available. Remove
23267 * Makeconfig: Adjust for dropped configure option. All features are
23269 * Makerules: Likewise.
23270 * Versions.def: Likewise.
23271 * argp/argp-fmtstream.c: Likewise.
23272 * argp/argp-fmtstream.h: Likewise.
23273 * argp/argp-help.c: Likewise.
23274 * assert/assert.c: Likewise.
23275 * config.h.in: Likewise.
23276 * config.make.in: Likewise.
23277 * configure: Likewise.
23278 * configure.in: Likewise.
23279 * csu/Versions: Likewise.
23280 * csu/init.c: Likewise.
23281 * elf/tst-audit2.c: Likewise.
23282 * elf/tst-tls10.c: Likewise.
23283 * elf/tst-tls10.h: Likewise.
23284 * elf/tst-tls11.c: Likewise.
23285 * elf/tst-tls12.c: Likewise.
23286 * elf/tst-tls14.c: Likewise.
23287 * elf/tst-tlsmod11.c: Likewise.
23288 * elf/tst-tlsmod12.c: Likewise.
23289 * elf/tst-tlsmod13.c: Likewise.
23290 * elf/tst-tlsmod13a.c: Likewise.
23291 * elf/tst-tlsmod14a.c: Likewise.
23292 * elf/tst-tlsmod15b.c: Likewise.
23293 * elf/tst-tlsmod16a.c: Likewise.
23294 * elf/tst-tlsmod16b.c: Likewise.
23295 * elf/tst-tlsmod7.c: Likewise.
23296 * elf/tst-tlsmod8.c: Likewise.
23297 * elf/tst-tlsmod9.c: Likewise.
23298 * gmon/gmon.c: Likewise.
23299 * grp/fgetgrent_r.c: Likewise.
23300 * grp/putgrent.c: Likewise.
23301 * hurd/fopenport.c: Likewise.
23302 * include/libc-symbols.h: Likewise.
23303 * include/tls.h: Likewise.
23304 * intl/gettextP.h: Likewise.
23305 * intl/loadinfo.h: Likewise.
23306 * locale/global-locale.c: Likewise.
23307 * locale/localeinfo.h: Likewise.
23308 * mach/devstream.c: Likewise.
23309 * malloc/arena.c: Likewise.
23310 * malloc/set-freeres.c: Likewise.
23311 * misc/err.c: Likewise.
23312 * misc/getttyent.c: Likewise.
23313 * misc/mntent_r.c: Likewise.
23314 * posix/getopt.c: Likewise.
23315 * posix/wordexp.c: Likewise.
23316 * pwd/fgetpwent_r.c: Likewise.
23317 * resolv/Versions: Likewise.
23318 * resolv/res_hconf.c: Likewise.
23319 * shadow/fgetspent_r.c: Likewise.
23320 * shadow/putspent.c: Likewise.
23321 * stdio-common/printf_fphex.c: Likewise.
23322 * stdio-common/tmpfile.c: Likewise.
23323 * stdlib/abort.c: Likewise.
23324 * stdlib/fmtmsg.c: Likewise.
23325 * sunrpc/auth_unix.c: Likewise.
23326 * sunrpc/clnt_perr.c: Likewise.
23327 * sunrpc/clnt_tcp.c: Likewise.
23328 * sunrpc/clnt_udp.c: Likewise.
23329 * sunrpc/clnt_unix.c: Likewise.
23330 * sunrpc/openchild.c: Likewise.
23331 * sunrpc/svc_simple.c: Likewise.
23332 * sunrpc/svc_tcp.c: Likewise.
23333 * sunrpc/svc_udp.c: Likewise.
23334 * sunrpc/svc_unix.c: Likewise.
23335 * sunrpc/xdr.c: Likewise.
23336 * sunrpc/xdr_array.c: Likewise.
23337 * sunrpc/xdr_rec.c: Likewise.
23338 * sunrpc/xdr_ref.c: Likewise.
23339 * sunrpc/xdr_stdio.c: Likewise.
23341 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23343 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23345 2011-07-03 Andreas Jaeger <aj@suse.de>
23347 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23348 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23349 regenerate with gen-libm-tests.pl.
23351 2010-05-12 Petr Baudis <pasky@suse.cz>
23354 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23355 around j0() zero points by switching to j1().
23356 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23361 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23363 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23365 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23368 Patch in part by Pavel Roskin <proski@gnu.org>.
23371 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23373 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23374 Free memory block if necessary.
23377 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23378 be NULL. Don't lock in this case.
23380 2011-09-09 Roland McGrath <roland@hack.frob.com>
23382 * elf/elf.h (ELFOSABI_GNU): New macro.
23383 (ELFOSABI_LINUX): Define to that.
23385 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23387 * string/strncat.c (strncat): Undef the symbol in case it has been
23388 defined in bits/string.h.
23390 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23392 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23394 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23397 2011-08-17 Andreas Jaeger <aj@suse.de>
23399 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23401 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23402 Ian Lance Taylor <iant@google.com>
23404 * math/libm-test.inc (lround_test): New testcase.
23405 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23407 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23409 * Makefile: Remove support for automatic cvs check-ins.
23410 * Makerules: Likewise.
23411 * config.make.in: Likewise.
23412 * configure.in: Likewise.
23413 * intl/Makefile: Likewise.
23414 * locale/Makefile: Likewise.
23415 * po/Makefile: Likewise.
23416 * posix/Makefile: Likewise.
23417 * sysdeps/gnu/Makefile: Likewise.
23418 * sysdeps/mach/hurd/Makefile: Likewise.
23419 * sysdeps/sparc/sparc32/Makefile: Likewise.
23422 * posix/Makefile (bug-regex32-ENV): Define.
23423 Patch by John Stanley <jpsinthemix@verizon.net>.
23425 * misc/Makefile (headers): Add bits/select2.h.
23426 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23427 * misc/bits/select2.h: New file.
23428 * include/bits/select2.h: New file.
23429 * debug/Makefile (routines): Add fdelt_chk.
23430 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23431 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23433 * debug/fdelt_chk.c: New file.
23435 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23436 * wcsmbs/test-wmemcmp.c: Likewise.
23437 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23438 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23440 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23442 * string/Makefile (strop-tests): Add memcmp.
23443 * string/test-wmemcmp.c: New file.
23444 * string/test-memcmp.c: Add wmemcmp support.
23446 2011-09-08 Roland McGrath <roland@hack.frob.com>
23449 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23452 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23453 garbage value in a __mach_port_mod_refs call in the cases of the
23454 task-self and thread-self ports.
23456 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23458 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23460 2011-09-08 Andreas Schwab <schwab@redhat.com>
23462 * elf/dl-load.c (lose): Check for non-null L.
23464 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23466 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23468 * elf/dl-libc.c (dlerror_run): Pass back error code from
23472 * elf/dl-load.c (lose): Free l_origin if it is valid.
23474 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23476 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23479 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23480 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23481 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23483 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23485 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23486 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23487 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23488 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23489 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23490 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23491 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23492 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23493 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23494 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23496 2011-08-15 Alan Modra <amodra@gmail.com>
23499 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23500 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23501 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23502 ppc_mcount to static-only-routines.
23503 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23505 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23506 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23508 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23510 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23511 for finite and infinity parameters.
23513 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23516 and add nop instructions for throughput optimization.
23517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23519 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23521 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23522 aligned copy for power7 with vector-scalar instructions.
23523 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23525 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23530 2011-09-07 Andreas Schwab <schwab@redhat.com>
23533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23536 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23538 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23539 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23540 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23541 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23544 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23546 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23547 Forgot to demangle the pointer.
23549 * sysdeps/i386/sysdep.h: Define atom_text_section.
23550 * sysdeps/x86_64/sysdep.h: Likewise.
23551 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23552 section with atom_text_section.
23553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23554 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23555 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23557 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23561 already be defined. Change to take two parameters and don't assign
23562 result to variable. Adjust all users.
23563 Define INTERNAL_GETTIME if not already defined.
23564 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23567 HAVE_CLOCK_GETTIME_VSYSCALL.
23568 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23571 gettimeofday vsyscall, just use time.
23573 2011-09-06 Andreas Schwab <schwab@redhat.com>
23575 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23578 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23580 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23584 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23586 syscall if possible.
23588 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23590 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23591 e_ident. Don't pass to find_mapsXX.
23592 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23594 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23597 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23598 * sysdeps/x86_64/multiarch/strchr.S: Update.
23599 Check bit_slow_BSF bit.
23600 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23601 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23602 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23604 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23607 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23609 (tryshell): Define.
23610 (__spawni): Change last parameter to be flag. Test
23611 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23612 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23613 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23614 * posix/spawni.c: Likewise.
23615 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23616 * posix/spawnp.c: Likewise. Change normal version to use
23617 SPAWN_XFLAGS_USE_PATH.
23618 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23619 SPAWN_XFLAGS_TRY_SHELL.
23622 * posix/glob.h: Remove gcc 1.x support.
23625 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23627 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23630 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23632 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23633 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23634 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23635 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23636 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23637 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23639 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23641 * sysdeps/x86_64/wcscmp.S: New file.
23643 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23644 wcscmp-c wcscmp-sse2
23645 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23646 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23647 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23648 * wcsmbs/wcscmp.c: Allow renaming.
23650 2011-09-05 David S. Miller <davem@davemloft.net>
23652 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23653 stack slot, rather than the struct return pointer slot.
23654 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23655 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23657 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23659 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23661 * po/ja.po: Update from translation team.
23664 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23665 kernel in 64-bit binaries.
23667 2011-09-01 David S. Miller <davem@davemloft.net>
23669 * elf/elf.h (HWCAP_SPARC_*): Move to..
23670 * sysdeps/sparc/sysdep.h: this new file and add new values.
23671 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23672 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23673 _DL_HWCAP_COUNT to 24.
23674 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23676 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23677 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23678 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23680 instead of magic constants.
23681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23683 2011-08-31 David S. Miller <davem@davemloft.net>
23685 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23687 Reimplement to do errno handling inline.
23688 (SYSCALL_ERROR_HANDLER): New macro.
23689 (__SYSCALL_STRING): Do not do errno handling in asm.
23690 (__CLONE_SYSCALL_STRING): Delete.
23691 (__INTERNAL_SYSCALL_STRING): Delete.
23692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23693 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23694 (PSEUDO): Reimplement to do errno handling inline.
23695 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23696 (SYSCALL_ERROR_HANDLER): New macro.
23697 (__SYSCALL_STRING): Do not do errno handling in asm.
23698 (__CLONE_SYSCALL_STRING): Delete.
23699 (__INTERNAL_SYSCALL_STRING): Delete.
23700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23701 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23703 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23704 (inline_syscall*): Add 'err' argument.
23705 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23706 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23707 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23708 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23710 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23711 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23713 2011-08-30 Andreas Schwab <schwab@redhat.com>
23715 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23717 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23719 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23722 2011-08-24 David S. Miller <davem@davemloft.net>
23724 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23726 2011-08-24 Andreas Schwab <schwab@redhat.com>
23728 * elf/Makefile: Add rules to build and run unload8 test.
23729 * elf/unload8.c: New file.
23730 * elf/unload8mod1.c: New file.
23731 * elf/unload8mod1x.c: New file.
23732 * elf/unload8mod2.c: New file.
23733 * elf/unload8mod3.c: New file.
23735 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23738 2011-08-23 David S. Miller <davem@davemloft.net>
23740 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23741 subtract stack bias.
23742 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23743 %sp not %fp in calculations.
23744 (_JMPBUF_UNWINDS_ADJ): Likewise.
23746 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23747 (aio_suspend): Call it to force an exception region around the
23748 AIO_MISC_WAIT() invocation.
23750 2011-08-23 Andreas Schwab <schwab@redhat.com>
23752 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23755 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23757 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23759 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23760 and <dl-machine.h>.
23761 (Elf64_FuncDesc): Remove.
23763 2011-08-22 David S. Miller <davem@davemloft.net>
23765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23766 sigaltstack check, add missing cfi directives.
23767 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23768 missing cfi directives, and sigaltstack handling.
23770 2011-08-16 Andreas Schwab <schwab@redhat.com>
23773 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23774 object is seen twice.
23775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23777 * elf/Makefile (distribute): Add tst-initorder2.c.
23778 (tests): Add tst-initorder2.
23779 (modules-names): Add tst-initorder2a tst-initorder2b
23780 tst-initorder2c tst-initorder2d. Add rules to build them.
23781 ($(objpfx)tst-initorder2.out): New rule.
23782 * elf/tst-initorder2.c: New file.
23783 * elf/tst-initorder2.exp: New file.
23785 2011-08-22 Andreas Schwab <schwab@redhat.com>
23787 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23789 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23790 dependencies back to end of function.
23792 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23793 $(elfobjdir)/ld.so.
23795 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23797 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23798 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23800 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23801 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23802 of __vdso_gettimeofday.
23803 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23804 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23806 (_libc_vdso_platform_setup): Remove initialization of
23807 __vdso_gettimeofday and __vdso_time.
23809 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23811 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23812 and fgetc_unlocked.
23813 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23816 * elf/dl-open.c (add_to_global): Report additions to the global scope
23817 for LD_DEBUG=scopes.
23818 (dl_open_worker): Also print scope of newly loaded dependencies.
23819 (_dl_show_scope): Indicate if there is no scope.
23822 * stdio-common/Makefile (tests): Add bug24.
23823 * stdio-common/bug24.c: New file.
23825 2011-08-19 Andreas Jaeger <aj@suse.de>
23828 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23829 non-existant file when using close-on-exec mode.
23831 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23834 the very first instruction.
23836 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23837 the CFI state in the end.
23838 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23839 inclusion of dl-trampoline.h.
23840 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23842 2011-08-19 Andreas Schwab <schwab@redhat.com>
23844 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23845 expectations for long double.
23847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23848 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23850 2011-08-14 David S. Miller <davem@davemloft.net>
23852 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23853 artificual limit depends upon the system page size.
23855 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23857 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23858 * resolv/Makefile: Define CFLAGS-libresolv.
23860 2011-08-17 Andreas Schwab <schwab@redhat.com>
23862 * nss/makedb.c (compute_tables): Make variables used in nested
23865 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23867 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23868 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23869 if buffer was too small.
23871 * elf/pldd.c (main): Attach to all threads in the process.
23872 Rewrite /proc handling to use *at functions.
23874 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23876 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23877 specifies first scope to show.
23878 (dl_open_worker): Update callers. Move printing scope of new
23879 object to before the relocation.
23880 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23881 * sysdeps/generic/ldsodefs.h: Update declaration.
23883 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23884 string for the scope number.
23886 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23888 * nscd/servicescache.c (cache_addserv): Make sure written is always
23891 2011-08-14 Roland McGrath <roland@hack.frob.com>
23893 * sysdeps/i386/i486/bits/atomic.h
23894 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23895 statement expression, so as to suppress "set but not used" warning.
23896 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23898 * string/strncat.c (STRNCAT): Use prototype definition.
23900 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23901 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23903 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23904 (localedef-modules): Add localedef.
23905 (locale-modules): Add locale.
23907 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23908 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23909 to avoid a warning.
23911 2011-08-14 David S. Miller <davem@davemloft.net>
23913 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23914 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23916 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23918 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23919 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23920 * elf/rtld.c (dl_main): Set l_name of vDSO.
23921 Call _dl_show_scope when DL_DEBUG_SCOPES.
23922 (process_dl_debug): Recognize scopes flag and also set it for all.
23923 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23924 Declare _dl_show_scope.
23926 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23927 (do_dlopen): Pass caller_dlopen to dl_open.
23928 (__libc_dlopen_mode): Initialize caller_dlopen.
23930 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23931 of libc. Make tolower call locale-independent. Optimize a bit by
23932 using isdigit instead of isalnum.
23933 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23935 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23937 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23938 was a dependency or dynamically loaded.
23940 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23942 * intl/l10nflist.c: Allow architecture-specific pop function.
23943 * sysdeps/x86_64/l10nflist.c: New file.
23945 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23948 2011-08-10 Andreas Schwab <schwab@redhat.com>
23950 * include/dirent.h: Add libc_hidden_proto for scandirat and
23951 scandirat64. Don't declare __scandirat64.
23952 * dirent/scandirat.c: Add libc_hidden_def.
23953 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23954 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23956 2011-08-10 David S. Miller <davem@davemloft.net>
23958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23961 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23962 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23964 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23966 * Versions.def [libc]: Add GLIBC_2.15.
23967 * dirent/Makefile (routines): Add scandirat and scandirat64.
23968 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23970 * dirent/dirent.h: Declare scandirat and scandirat64.
23971 * dirent/scandirat.c: New file.
23972 * dirent/scandirat64.c: New file.
23973 * sysdeps/wordsize-64/scandirat.c: New file.
23974 * sysdeps/wordsize-64/scandirat64.c: New file.
23975 * dirent/opendir.c: Define opendirat.
23976 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23978 * dirent/scandir64.c: Adjust for scandir.c change.
23979 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23980 __scandirat64, and __scandir_cancel_handler.
23981 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23982 additional parameter and use openat instead of open (outside of ld.so).
23983 Add new __opendir as wrapper around __opendirat.
23984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23985 here without requiring old scandirat implementation.
23987 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23989 * dirent/scandir.c (cancel_handler): Renamed to
23990 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23991 defined. Adjust users.
23992 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23995 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23997 * string/test-string.h (IMPL): Use __STRING to expand name and then
24000 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24003 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24005 * string/Makefile: Update.
24006 (strop-tests): Append strncat.
24007 * string/test-wcscmp.c: New file.
24008 New comprehensive test for wcscmp.
24009 * string/test-strcmp.c: Update.
24010 (WIDE): New define.
24012 2011-07-22 Andreas Schwab <schwab@redhat.com>
24014 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24017 2011-07-26 Andreas Schwab <schwab@redhat.com>
24019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24020 encoding to ACE if AI_IDN.
24022 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24025 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24027 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24030 Fix overflow bug in strncat.
24031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24033 * string/test-strncat.c: Update.
24034 Add new tests for checking overflow bugs.
24036 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24039 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24040 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24041 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24043 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24044 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24045 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24046 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24048 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24049 (USE_AS_STRCAT): Define.
24050 Add strcat and strncat support.
24051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24053 2011-07-25 Andreas Schwab <schwab@redhat.com>
24055 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24056 __n bigger than INT_MAX+1.
24057 (__strncmp_g): Likewise.
24059 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24061 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24062 * libio/stido.h: Likewise.
24064 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24069 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24070 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24072 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24076 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24081 (_dl_x86_64_save_sse): Likewise.
24083 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24087 (_dl_x86_64_save_sse): Likewise.
24089 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24091 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24093 2011-07-21 Andreas Schwab <schwab@redhat.com>
24095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24097 (_dl_x86_64_save_sse): Use correct AVX check.
24099 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24102 bug in strncpy/strncat.
24103 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24105 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24107 * string/tester.c (test_strcat): Add tests for different alignments
24108 of source and destination.
24109 (test_strncat): Likewise.
24111 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24114 * posix/glob.c (glob): Check passed in values before using them in
24115 expressions to avoid some overflows.
24116 (glob_in_dir): Likewise.
24119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24120 check for AVX enablement so that we don't crash with old kernels and
24122 * elf/tst-audit4.c: Add same checks here.
24123 * elf/tst-audit6.c: Likewise.
24125 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24127 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24129 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24131 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24133 * po/cs.po: Update from translation team.
24134 * po/bg.po: Likewise.
24136 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24138 * misc/sys/cdefs.h: Add support for const attribute.
24139 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24140 to gnu_dev_{major,minor,makedev} functions.
24142 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24144 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24146 2011-07-20 Andreas Schwab <schwab@redhat.com>
24148 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24151 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24154 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24155 register in order to avoid conflicts with the soft frame pointer
24156 being held in r11 when necessary.
24157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24158 (INTERNAL_VSYSCALL_NCS): Likewise.
24160 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24162 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24163 * elf/dl-fini.c (_dl_fini): Adjust caller.
24164 * elf/dl-close.c (_dl_close_worker): Likewise.
24165 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24167 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24169 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24170 "aux_cache->nlibs < 0".
24172 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24173 in the reload-count case.
24175 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24178 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24179 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24180 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24181 * sysdeps/x86_64/multiarch/strcat.S: New file.
24182 * sysdeps/x86_64/multiarch/strncat.S: New file.
24183 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24184 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24185 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24186 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24187 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24188 (USE_AS_STRCAT): Define.
24189 Add strcat and strncat support.
24190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24191 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24192 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24193 * string/strncat.c: Update.
24194 (USE_AS_STRNCAT): Define.
24195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24196 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24198 * sysdeps/x86_64/multiarch/init-arch.h
24199 (bit_Prefer_PMINUB_for_stringop): New.
24200 (index_Prefer_PMINUB_for_stringop): Likewise.
24201 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24202 bit_Prefer_PMINUB_for_stringop.
24204 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24206 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24208 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24209 of casting of buffer.
24210 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24211 buffer32 and buffer64.
24212 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24213 writes instead of casting of buffer.
24214 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24216 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24219 2011-07-19 Andreas Schwab <schwab@redhat.com>
24221 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24223 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24225 * nscd/nscd.c (termination_handler): Don't do anything for a database
24226 if it has not yet been initialized.
24228 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24230 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24232 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24234 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24236 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24238 * po/nl.po: Update from translation team.
24239 * po/sv.po: Likewise.
24241 2011-07-16 Roland McGrath <roland@hack.frob.com>
24243 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24244 now disallowed by GCC.
24246 * configure.in (use-default-link): Default to yes if a test -shared
24247 link meets our qualifications.
24248 * configure: Regenerated.
24250 * config.make.in (output-format): New variable.
24251 * configure.in: Check for ld --print-output-format support.
24252 * configure: Regenerated.
24253 * Makerules ($(common-objpfx)format.lds)
24254 [$(output-format) != unknown]: Just use $(output-format),
24255 instead of the linker-script munging.
24257 2011-07-14 Roland McGrath <roland@hack.frob.com>
24259 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24260 of $(common-objpfx)shlib.lds.
24261 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24263 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24264 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24266 * configure.in (-z relro check): Adjust test code to add a large
24267 writable data section after it.
24268 * configure: Regenerated.
24270 2011-07-11 Roland McGrath <roland@hack.frob.com>
24272 * configure.in (-z relro check): Fix test code to make the variable
24274 * configure: Regenerated.
24276 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24278 * nscd/nscd.h (struct traced_file): Define.
24279 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24280 elements. Add traced_files.
24281 (inotify_fd): Declare.
24282 (register_traced_file): Declare.
24283 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24284 (inotify_fd): Export.
24285 (resolv_conf_descr): Remove.
24286 (nscd_init): Move inotify descriptor creation to main.
24287 Don't register files for notification here.
24288 (register_traced_file): New function.
24289 (invalidate_cache): Don't use reset_res to determine whether to call
24290 res_init, go through the list of registered files.
24291 (main_loop_poll): The inotify descriptors are now stored in the
24292 structures for the traced files.
24293 (main_loop_epoll): Likewise
24294 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24295 to __nss_disable_nscd.
24296 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24297 for a database anymore. Check the records for all the registered
24299 * nss/Makefile (libnss_files-routines): Add files-init.
24300 (libnss_db-routines): Add db-init.
24301 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24302 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24303 * nss/nss_db/db-init.c: New file.
24304 * nss/nss_files/files-init.c: New file.
24305 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24306 __nss_lookup_function.
24307 (__nss_lookup_function): Call nss_load_library.
24308 (nss_load_all_libraries): New function.
24309 (__nss_disable_nscd): Take parameter with callback function for files
24310 to register. Set is_nscd. Load all the DSOs for the NSS modules
24311 used for the cached services.
24312 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24313 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24314 options for features to all the files in nscd.
24316 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24318 2011-07-10 Roland McGrath <roland@hack.frob.com>
24320 * csu/elf-init.c (__libc_csu_init): Comment typo.
24322 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24324 * po/pl.po: Update from translation team.
24325 * po/ja.po: Likewise.
24326 * po/ru.po: Likewise.
24327 * po/ko.po: Likewise.
24328 * po/fr.po: Likewise.
24330 2011-07-09 Roland McGrath <roland@hack.frob.com>
24332 * configure.in (.ctors/.dtors header and trailer check):
24333 Use an empirical test on a built program.
24334 * configure: Regenerated.
24336 * configure.in (-z relro check): Use an empirical test on a built DSO.
24337 Detect, but do not require, on ia64.
24338 * configure: Regenerated.
24340 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24341 Update tests that use readelf to use $READELF instead.
24342 * configure: Regenerated.
24344 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24346 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24347 if the result is not used.
24349 2011-07-05 Andreas Jaeger <aj@suse.de>
24352 * stdlib/tst-strtod.c: Add testcase.
24354 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24356 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24357 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24358 The latter has a higher limit. Take additional parameter to pass to
24360 (__pathconf): Pass file to __statfs_link_max.
24361 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24363 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24367 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24370 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24371 (__statfs_filesize_max): Likewise.
24372 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24374 2011-07-05 Andreas Jaeger <aj@suse.de>
24376 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24378 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24380 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24382 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24385 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24387 * Makefile (strop-tests): Add strncat.
24388 * string/test-strncat.c: New file.
24390 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24392 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24394 2011-06-21 Andreas Jaeger <aj@suse.de>
24396 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24397 Copy rule from iconvdata/Makefile.
24399 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24402 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24403 but no long options are defined, just return 'W'.
24405 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24408 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24410 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24412 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24414 (innetgr): Likewise.
24416 2011-07-05 Roland McGrath <roland@hack.frob.com>
24418 * config.make.in (install_root): Default to $(DESTDIR).
24420 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24424 2011-07-02 Roland McGrath <roland@hack.frob.com>
24426 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24428 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24429 containing directory rather than embedding absolute directory names.
24431 * scripts/check-local-headers.sh: Rewritten using awk.
24432 Match by word, not by line. Print error messages for matches.
24433 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24435 * Makerules [shlib-lds-flags empty]:
24436 ($(common-objpfx)libc_pic.opts): New target.
24437 ($(common-objpfx)libc_pic.os.clean): New target.
24438 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24440 * config.make.in (OBJCOPY): New variable.
24441 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24442 * configure: Regenerated.
24444 * config.make.in (use-default-link): New variable.
24445 * configure.in (use_default_link): Grok --with-default-link to set it.
24446 * configure: Regenerated.
24447 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24448 (shlib-lds, shlib-lds-flags): Define to empty.
24450 * Makerules (shlib-lds): New variable.
24451 (shlib-lds-flags): New variable.
24452 (build-shlib, build-moduile, build-module-asneeded): Use it.
24453 ($(common-objpfx)libc.so): Use $(shlib-lds).
24454 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24455 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24457 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24458 DT_FLAGS/DT_FLAGS_1 with zero flags.
24460 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24461 linker script munging.
24463 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24465 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24467 * crypt/sha512.c (sha512_process_block): Perform total addition using
24468 128-bit if possible.
24469 (__sha512_finish_ctx): Likewise.
24470 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24472 * crypt/sha256.c (SWAP64): Define.
24473 (sha256_process_block): Perform total addition using 64-bit if
24475 (__sha256_finish_ctx): Likewise.
24477 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24479 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24481 * nscd/hstcache.c (cache_addhst): Likewise.
24482 * nscd/grpcache.c (cache_addgr): Likewise.
24483 * nscd/aicache.c (addhstaiX): Likewise
24484 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24486 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24488 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24490 * nscd/hstcache.c (cache_addhst): Likewise.
24491 * nscd/grpcache.c (cache_addgr): Likewise.
24492 * nscd/aicache.c (addhstaiX): Likewise
24494 2011-07-01 Andreas Schwab <schwab@redhat.com>
24496 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24497 domain only when needed.
24499 2011-06-30 Andreas Schwab <schwab@redhat.com>
24501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24502 is always restored.
24504 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24506 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24507 are re-adding the entry.
24508 * nscd/servicescache.c (cache_addserv): Likewise.
24510 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24512 * sysdeps/generic/dl-irel.h: fix protection against multiple
24514 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24516 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24519 * malloc/memusage.sh: Fix quoting in message.
24520 * debug/xtrace.sh: Likewise.
24522 * configure.in: Remove support for --experimental-malloc option, make
24524 * config.make.in: Likewise.
24525 * malloc/Makefile: Likewise.
24527 2011-06-27 Andreas Schwab <schwab@redhat.com>
24529 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24530 two-byte characters.
24532 2011-06-27 Roland McGrath <roland@hack.frob.com>
24534 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24535 AC_CACHE_CHECK invocation.
24536 * configure: Regenerated.
24538 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24540 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24543 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24544 bit from old_res_options.
24546 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24548 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24549 value type for setfct.
24551 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24554 __gettimeofday instead of gettimeofday.
24556 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24558 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24560 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24564 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24567 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24570 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24571 strcpy-sse2-unaligned strncpy-sse2-unaligned
24572 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24573 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24574 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24575 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24576 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24579 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24580 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24581 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24582 (STRCPY): Support SSE2 and SSSE3 versions.
24584 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24588 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24589 kernels which artificially limit size of requests.
24591 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24594 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24595 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24596 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24597 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24598 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24599 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24600 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24601 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24603 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24604 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24605 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24606 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24607 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24609 Enable unaligned load optimization for Intel Core i3, i5 and i7
24611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24613 (index_Fast_Unaligned_Load): Define.
24614 (HAS_FAST_UNALIGNED_LOAD): Define.
24616 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24618 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24620 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24623 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24624 until it is clear that the information is realy needed.
24625 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24627 2011-06-22 Andreas Schwab <schwab@redhat.com>
24629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24631 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24634 /sys/devices/system/cpu/online if it is usable.
24636 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24637 reading the information from the /proc filesystem to once a second.
24639 2011-06-21 Andreas Jaeger <aj@suse.de>
24641 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24642 NULL after inclusion of kernel headers.
24644 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24646 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24647 calls to internal_setent.
24650 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24651 addresses using gethostbyname4_r ignore IPv4 addresses.
24653 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24654 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24656 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24658 2011-06-20 David S. Miller <davem@davemloft.net>
24660 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24662 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24664 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24665 (elf_irel): Use it.
24666 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24667 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24668 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24669 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24670 * sysdeps/x86_64/dl-irel.h: Likewise.
24672 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24673 * elf/dl-sym.c: Likewise.
24675 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24677 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24678 need to dereference resplen2.
24680 2011-06-14 Andreas Schwab <schwab@redhat.com>
24682 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24684 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24686 * Makeconfig: Define vardbdir and inst_vardbdir.
24687 * nss/Makefile: Add rules to install db-Makefile.
24689 * nss/nss_db/db-XXX.c: Cleanup.
24691 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24692 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24694 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24695 * nss/makedb.c: Implement -g option to specify that value strings
24696 are generated and should not be added to table iterated over for
24698 * nss/nss_db/db-initgroups.c: New file.
24700 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24703 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24704 (internal_getgrouplist): Adjust to name change.
24705 Update use_initgroups_entry if this is not the first call.
24706 * nss/databases.def: Add initgroups entry.
24708 * nss/makedb.c (compute_tables): Check result of multiple hash table
24709 sizes to minimize maximum chain length.
24711 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24713 * Versions.def: Add entry for libnss_db.
24714 * shlib-versions: Likewise.
24715 * nss/Makefile: Add rules to build libnss_db.
24716 * nss/Versions: Add libnss_db information. Organize libnss_files
24718 * nss/db-Makefile: Add gshadow support. Change rules for the new
24719 makedb progra. Some minor improvements to generate smaller files.
24720 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24722 * nss/makedb.c: ...here.
24723 Improve database format to be smaller and require less memory at
24725 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24727 * nss/nss_db/db-netgrp.c: Likewise.
24728 * nss/nss_db/db-open.c: Likewise.
24729 * nss/nss_files/flies-XXX.x: Adjust comments.
24730 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24731 * nss/nss_files/files-grp.c: Likewise.
24732 * nss/nss_files/files-hosts.c: Likewise.
24733 * nss/nss_files/files-network.c: Likewise.
24734 * nss/nss_files/files-proto.c: Likewise.
24735 * nss/nss_files/files-pwd.c: Likewise.
24736 * nss/nss_files/files-rpc.c: Likewise.
24737 * nss/nss_files/files-service.c: Likewise.
24738 * nss/nss_files/files-sgrp.c: Likewise.
24739 * nss/nss_files/files-spwd.c: Likewise.
24740 * nss/nss_db/db-alias.c: Removed.
24741 * nss/nss_db/dummy-db.h: Removed.
24743 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24745 * nss/makedb.c: Rewritten to not use database library.
24746 * nss/Makefile: Update to build new makedb program.
24748 2011-06-14 Andreas Jaeger <aj@suse.de>
24750 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24751 memset declaration.
24753 2011-06-10 Andreas Schwab <schwab@redhat.com>
24755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24758 2011-06-10 Roland McGrath <roland@hack.frob.com>
24760 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24761 * elf/Makefile ($(objpfx)ld.so): Likewise.
24763 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24764 Don't list ld.so twice in dependencies.
24766 * posix/bug-regex31.c: Include <stdlib.h>.
24768 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24770 * nis/nss_compat/compat-spwd.c
24771 (getspent_next_nss_netgr): Remove unused variable.
24772 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24774 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24775 nonmembers" output to use the right array.
24777 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24779 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24781 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24782 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24783 * catgets/gencat.c (read_input_file): Likewise.
24784 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24786 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24787 variable definition inside #if's controlling its use.
24789 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24791 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24793 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24795 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24798 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24800 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24801 * configure: Regenerated.
24803 * Makerules: Revert last change.
24804 * elf/Makefile: Likewise.
24806 2011-06-09 Roland McGrath <roland@hack.frob.com>
24808 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24809 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24810 (reloc-link): Likewise.
24812 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24814 * elf/Makefile: Add rules to build pldd.
24815 * elf/pldd.c: New file.
24816 * elf/pldd-xx.c: New file.
24818 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24820 * version.h: Update for 2.15 development version.
24822 2011-06-07 David S. Miller <davem@davemloft.net>
24824 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24827 elf_machine_lazy_rel): Likewise.
24828 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24829 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24830 elf_machine_lazy_rel): Likewise.
24831 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24832 dl_hwcap via passed in argument.
24833 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24836 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24838 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24840 2011-06-06 Roland McGrath <roland@hack.frob.com>
24843 * manual/fdl-1.1.texi: New file, verbatim from:
24844 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24845 * manual/lgpl-2.1.texi: New file, verbatim from:
24846 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24847 * manual/Makefile (licenses): New variable, list those new file names.
24849 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24851 * manual/fdl.texi: File removed.
24852 * manual/lesser.texi: File removed.
24853 * manual/libc.texinfo (Copying, Documentation License):
24854 Use new @include file names, put @appendix directive before @include.
24856 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24859 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24860 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24861 (mq_open): Add __NTH.
24863 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24866 Assume Intel Core i3/i5/i7 processor if AVX is available.
24868 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24873 2011-05-31 Andreas Schwab <schwab@redhat.com>
24875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24876 memory. Use alloca_account. Fix memory leak when retrying.
24878 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24880 * version.h (RELEASE): Bump for 2.14 release.
24881 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24883 * config.make.in (RANLIB): Remove entry.
24885 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24887 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24888 (libc.pot): Work around missing support for .ksh extension in xgettext.
24891 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24892 if both request failed.
24893 (send_dg): In case of server errors clear resplen or *resplen2.
24896 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24897 when there are multiple maps.
24898 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24899 (_dl_fini): Remove test here.
24901 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24903 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24906 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24907 bit from old_res_options.
24908 (gaih_inet): Likewise.
24911 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24914 * resolv/res_init.c (res_setoptions): Make the code more compact.
24917 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24921 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24923 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24926 * malloc/malloc.h: Declare malloc hook variables as volatile.
24928 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24932 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24933 raise in the comment.
24934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24935 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24936 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24938 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24941 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24942 grow the buffers more if it already has to be sufficient.
24943 (build_wcs_upper_buffer): Likewise.
24944 * posix/regexec.c (check_matching): Likewise.
24945 (clean_state_log_if_needed): Likewise.
24946 (extend_buffers): Don't enlarge buffers beyond size of the input
24948 Patches mostly by Emil Wojak <emil@wojak.eu>.
24949 * posix/bug-regex32.c: New file.
24950 * posix/Makefile (tests): Add bug-regex32.
24952 * locale/findlocale.c (_nl_find_locale): Return right away if
24953 _nl_explode_name failed.
24954 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24956 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24958 * debug/xtrace.sh: Unify messages.
24959 * malloc/memusage.sh: Likewise.
24962 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24963 time symbol from vDSO. Substitute with vsyscall if not available.
24964 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24967 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24968 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24969 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24970 Add sendmmsg and internal_sendmmsg.
24971 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24972 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24973 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24975 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24976 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24979 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24982 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24983 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24985 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24989 * iconvdata/Makefile (tests): Add bug-iconv9.
24990 * iconvdata/bug-iconv9.c: New file.
24992 2011-05-27 Andreas Schwab <schwab@redhat.com>
24995 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24997 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25000 (struct user_regs_struct): Change intcs field back to cs.
25002 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25004 * po/ja.po: Update from translation team.
25006 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25009 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25010 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25012 2011-05-20 Andreas Schwab <schwab@redhat.com>
25014 * stdlib/longlong.h: Update from GCC.
25016 2011-05-23 Andreas Schwab <schwab@redhat.com>
25018 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25020 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25021 Add parameter name.
25022 (__sysconf): Pass it down.
25024 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25027 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25030 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25031 add in in __libc_use_alloca calls. Adjust callers.
25032 (glob): Use malloc in some situations.
25034 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25035 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25038 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25040 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25041 and CLOCK_BOOTTIME_ALARM.
25044 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25047 * string/_strerror.c (__strerror_r): Print negative errors as signed
25051 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25052 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25053 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25055 * configure.in: Fix typo in redirection and correct removal of test
25056 files in two cases.
25059 * locale/setlocale.c (new_composite_name): Fix test to check for
25060 identical name of all categories.
25063 * libio/filedoalloc.c (local_isatty): New function.
25064 (_IO_file_doallocate): Use local_isatty.
25065 * stdio-common/perror.c (perror): In case a new stream is used
25066 forward the stream error.
25067 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25070 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25075 * include/alloca.h (extend_alloca_account): Define.
25078 * posix/regex.h: Fix comments with documentation of user-accessible
25079 fields after compilation and describe correct free'ing of pattern
25080 after re_compile_pattern.
25081 Patch by Reuben Thomas <rrt@sc3d.org>.
25083 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25085 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25086 and -mno-altivec to prevent the compiler from using Altivec and/or
25087 VSX instructions when the corresponding registers are not available.
25089 2011-05-19 Andreas Schwab <schwab@redhat.com>
25091 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25093 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25095 * libio/freopen.c (freopen): Use __dup2, not dup2.
25096 * libio/freopen64.c (freopen64): Likewise.
25098 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25101 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25102 * math/Makefile (tests): Add test-powl.
25103 (CFLAGS-test-powl.c): Define.
25104 * math/test-powl.c: New file.
25106 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25108 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25110 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25113 * iconvdata/gb18030.c: Update to GB18020-2005.
25115 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25117 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25118 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25119 Patch by Aharon Robbins <arnold@skeeve.com>.
25122 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25126 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25127 through underflows.
25130 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25131 point to strings before performing equality test for error_one_per_line
25135 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25139 (struct user_fpregs_struct): Avoid __uint*_t types.
25142 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25143 symbol info. Use it instead of calling _dl_addr locally.
25144 (lock_and_info): New function.
25145 (tr_freehook): Call lock_and_info and pass symbol info as additional
25146 parameter to tr_where.
25147 (tr_mallochook): Likewise.
25148 (tr_reallochook): Likewise.
25149 (tr_memalignhook): Likewise.
25151 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25152 used and couldn't be at all thread-safe.
25154 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25156 * libio/freopen.c (freopen): Don't close old file descriptor
25157 before the new one is opened. Instead dup the new file descriptor
25158 to the old one after the new stream is created.
25159 * libio/freopen64.c (freopen64): Likewise.
25160 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25161 * libio/fileops.c (_IO_new_file_close_it): Handle new
25162 _IO_FLAGS2_NOCLOSE flag.
25163 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25164 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25165 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25166 _IO_FLAGS2_NOCLOSE flag.
25167 * include/unistd.h: Add hidden_proto for dup3.
25168 Define __have_dup3.
25169 * io/dup3.c: Define hidden symbol.
25170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25173 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25174 when an incomplete long option is used.
25175 * posix/tst-getopt_long1.c: New file.
25176 * posix/Makefile (tests): Add tst-getopt_long1.
25179 * scripts/config.guess: Update from autoconf-2.68.
25180 * scripts/config.sub: Likewise.
25183 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25185 (has_cpuclock): ...this. New function.
25186 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25187 macro here based on has_cpuclock code.
25190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25191 First byte (not low byte) is now always NUL.
25192 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25195 Use non-cancelable interfaces.
25198 * locale/iso-639.def: Add entry for Sorani.
25201 * include/stdlib.h: Move include protection to the right place.
25202 Define abort_msg_s. Declare __abort_msg with it.
25203 * stdlib/abort.c (__abort_msg): Adjust type.
25204 * assert/assert.c (__assert_fail_base): New function. Majority
25205 of code from __assert_fail. Allocate memory for __abort_msg with
25207 (__assert_fail): Now call __assert_fail_base.
25208 * assert/assert-perr.c: Remove bulk of implementation. Use
25209 __assert_fail_base.
25210 * include/assert.hL Declare __assert_fail_base.
25211 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25213 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25215 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25219 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25220 until all modules are registered in the DTV.
25221 * elf/Makefile: Add rules to build and run tst-tls19.
25222 * elf/tst-tls19.c: New file.
25223 * elf/tst-tls19mod1.c: New file.
25224 * elf/tst-tls19mod2.c: New file.
25225 * elf/tst-tls19mod3.c: New file.
25226 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25229 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25233 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25234 two-byte sequence errors.
25235 * iconvdata/Makefile (tests): Add bug-iconv8.
25236 * iconvdata/bug-iconv8.c: New file.
25239 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25242 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25245 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25246 (dummy_getcfa): New function.
25247 (init): Get _Unwind_GetCFA address, use dummy if not found.
25248 (backtrace_helper): In recursion check, also check whether CFA changes.
25249 (__backtrace): Completely initialize arg.
25251 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25252 storing incomplete byte sequence in state object. Avoid testing for
25253 guaranteed too small input if we know there is enough data available.
25255 2011-05-11 Andreas Schwab <schwab@redhat.com>
25257 * Makeconfig (+link-pie): Indent.
25258 * Rules (binaries-pie): Define if $(have-fpie) and
25260 (binaries-shared): Also filter out $(binaries-pie).
25261 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25262 * nscd/Makefile (others-pie): Add nscd.
25263 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25264 ($(objpfx)nscd): Remove command override.
25265 * login/Makefile (others-pie): Add pt_chown.
25266 ($(objpfx)pt_chown): Remove command override.
25267 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25268 remove command overrides.
25270 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25272 * libio/tst_putwc.c: Fix error messages.
25275 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25276 currently writing and seek to current position when not.
25277 * libio/Makefile (tests): Add bug-fclose1.
25278 * libio/bug-fclose1.c: New file.
25280 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25283 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25284 don't set DF_1_NODELETE here.
25285 (do_lookup_x): When entering new entry test for copy relocation
25286 and if necessary set DF_1_NODELETE flag.
25287 * elf/tst-unique4.cc: New file.
25288 * elf/tst-unique4.h: New file.
25289 * elf/tst-unique4lib.cc: New file.
25290 * elf/Makefile: Add rules to build and run tst-unique4.
25291 Patch by Piotr Bury <pbury@goahead.com>.
25293 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25296 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25299 * misc/mntent_r.c (addmntent): Flush the stream after the output
25302 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25303 (is_trusted_path_normalize): Skip initial colon. Append slash
25304 to empty buffer. Duplicate is_trusted_path code but allow
25305 constructed patch to be prefix.
25306 (is_dst): Allow $ORIGIN followed by /.
25307 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25308 Correct testing of result of is_trusted_path_normalize
25309 (decompose_rpath): Fix warning.
25311 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25314 * grp/initgroups.c (internal_getgrouplist): When we found the service
25315 list through the initgroups entry in nsswitch.conf do not always
25316 continue on a successful lookup. Don't always use the
25317 __nss_group_database value if it is set.
25318 * nss/nsswitch.conf (initgroups): Change action for successful db
25319 lookup to continue for compatibility.
25321 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25324 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25326 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25328 * iconvdata/tst-tables.sh: Likewise.
25329 * iconvdata/cp770.c: New file.
25330 * iconvdata/cp771.c: New file.
25331 * iconvdata/cp772.c: New file.
25332 * iconvdata/cp773.c: New file.
25333 * iconvdata/cp774.c: New file.
25334 * iconvdata/testdata/CP770: New file.
25335 * iconvdata/testdata/CP770..UTF8: New file.
25336 * iconvdata/testdata/CP771: New file.
25337 * iconvdata/testdata/CP771..UTF8: New file.
25338 * iconvdata/testdata/CP772: New file.
25339 * iconvdata/testdata/CP772..UTF8: New file.
25340 * iconvdata/testdata/CP773: New file.
25341 * iconvdata/testdata/CP773..UTF8: New file.
25342 * iconvdata/testdata/CP774: New file.
25343 * iconvdata/testdata/CP774..UTF8: New file.
25345 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25347 * iconvdata/gen-8bit-gap.sh: Likewise.
25348 * iconvdata/gen-8bit.sh: Likewise.
25350 * locale/iso-639.def: Add ary entry.
25353 * locale/C-translit.h.in: Add U20A1 transliteration.
25356 * locale/iso-639.def: Add wae entry.
25357 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25360 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25364 * locale/C-translit.h.in: Add entry for U20B9.
25365 Patch by pravin.d.s@gmail.com.
25367 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25370 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25371 ENAMETOOLONG use generic getcwd.
25372 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25373 in rtld. Use *stat64.
25374 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25375 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25376 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25377 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25378 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25379 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25380 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25381 __fstatat64 macros.
25382 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25383 * dirent/rewinddir.c: Add libc_hidden_def.
25384 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25385 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25387 * include/dirent.h (__alloc_dir): Add flags parameter.
25388 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25389 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25391 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25392 from fdopendir if O_CLOEXEC is already set.
25394 2011-03-15 Alan Modra <amodra@gmail.com>
25396 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25397 l_tls_firstbyte_offset non-zero. Save padding offset in
25398 l_tls_firstbyte_offset for later use.
25399 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25400 freeing static tls block.
25402 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25404 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25405 where #ifdef was intended. The intent is to prevent ARG_MAX from
25406 being defined by the kernel headers.
25408 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25411 * resolv/resolv.h: Define RES_NOTLDQUERY.
25412 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25413 no-tld-query and set RES_NOTLDQUERY.
25414 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25415 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25416 modern BIND to search name as TLD unless forbidden.
25418 2011-05-07 Petr Baudis <pasky@suse.cz>
25419 Ulrich Drepper <drepper@gmail.com>
25422 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25423 (is_trusted_path): ...to here.
25424 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25425 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25426 using is_trusted_path_normalize() in setuid scripts.
25428 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25430 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25431 __BEGIN/__END_DECLS.
25433 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25436 NSS_STATUS_NOTFOUND if no record was found.
25438 2011-05-05 Andreas Schwab <schwab@redhat.com>
25440 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25441 (headers-not-in-tirpc): Remove rpc/netdb.h
25442 * resolv/netdb.h: Revert last change.
25444 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25446 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25447 circular dependency between libgcc.a and libc.a.
25449 2011-05-05 Andreas Schwab <schwab@redhat.com>
25451 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25452 * nis/Makefile: Don't install rpcsvc/*.
25453 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25454 instead of <rpc/types.h>.
25455 (MAXHOSTNAMELEN): Define.
25457 2011-05-03 Andreas Schwab <schwab@redhat.com>
25459 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25461 2011-04-28 Maciej Babinski <mbabinski@google.com>
25464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25465 gethostbyname4_r when IPv6 results are possible.
25467 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25470 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25471 _PC_PIPE_BUF handling.
25473 2011-04-30 Bruno Haible <bruno@clisp.org>
25476 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25477 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25479 * inet/getnameinfo.c (getnameinfo): Likewise.
25481 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25483 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25484 to groups setting in database lookup.
25485 * nss/nsswitch.conf: Add initgroups entry.
25487 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25490 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25492 Patch by Eric Blake <eblake@redhat.com>.
25494 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25496 * sunrpc/Makefile (need-export-routines): Add svc_run.
25497 (routines): Remove svc_run.
25498 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25499 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25500 * sunrpc/svc_run.c (svc_run): Likewise.
25501 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25503 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25506 problem in reallocation in last patch.
25508 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25510 * sunrpc/Makefile: Move inclusion of Rules.
25512 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25514 * nss/nss_files/files-initgroups.c: New file.
25515 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25516 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25517 _nss_files_initgroups_dyn.
25519 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25521 * elf/elf.h (R_ARM_IRELATIVE): Define.
25523 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25525 * po/ru.po: Update from translation team.
25527 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25529 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25532 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25535 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25536 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25538 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25541 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25545 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25549 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25552 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25554 * stdlib/bug-getcontext.c: New file.
25555 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25557 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25559 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25560 instructions into .machine "z9-109".
25561 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25562 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25564 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25566 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25567 between environment variables and auxiliary vector.
25569 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25571 * Makefile: Add rules to build linkobj/libc.so.
25572 * include/libc-symbols.h: Define libc_hidden_nolink.
25573 * include/rpc/auth.h: Mark functions which are to be hidden.
25574 * include/rpc/auth_des.h: Likewise.
25575 * include/rpc/auth_unix.h: Likewise.
25576 * include/rpc/clnt.h: Likewise.
25577 * include/rpc/des_crypt.h: Likewise.
25578 * include/rpc/key_prot.h: Likewise.
25579 * include/rpc/pmap_clnt.h: Likewise.
25580 * include/rpc/pmap_prot.h: Likewise.
25581 * include/rpc/pmap_rmt.h: Likewise.
25582 * include/rpc/rpc_msg.h: Likewise.
25583 * include/rpc/svc.h: Likewise.
25584 * include/rpc/svc_auth.h: Likewise.
25585 * include/rpc/xdr.h: Likewise.
25586 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25587 * nss/Makefile: Likewise.
25588 * sunrpc/Makefile: Don't install headers. Build library with normal
25589 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25590 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25591 for the compat linking library. Remove use of INTDEF/INTUSE.
25592 * sunrpc/auth_none.c: Likewise.
25593 * sunrpc/auth_unix.c: Likewise.
25594 * sunrpc/authdes_prot.c: Likewise.
25595 * sunrpc/authuxprot.c: Likewise.
25596 * sunrpc/clnt_gen.c: Likewise.
25597 * sunrpc/clnt_perr.c: Likewise.
25598 * sunrpc/clnt_raw.c: Likewise.
25599 * sunrpc/clnt_simp.c: Likewise.
25600 * sunrpc/clnt_tcp.c: Likewise.
25601 * sunrpc/clnt_udp.c: Likewise.
25602 * sunrpc/clnt_unix.c: Likewise.
25603 * sunrpc/des_crypt.c: Likewise.
25604 * sunrpc/des_soft.c: Likewise.
25605 * sunrpc/get_myaddr.c: Likewise.
25606 * sunrpc/key_call.c: Likewise.
25607 * sunrpc/key_prot.c: Likewise.
25608 * sunrpc/netname.c: Likewise.
25609 * sunrpc/pm_getmaps.c: Likewise.
25610 * sunrpc/pm_getport.c: Likewise.
25611 * sunrpc/pmap_clnt.c: Likewise.
25612 * sunrpc/pmap_prot.c: Likewise.
25613 * sunrpc/pmap_prot2.c: Likewise.
25614 * sunrpc/pmap_rmt.c: Likewise.
25615 * sunrpc/publickey.c: Likewise.
25616 * sunrpc/rpc_cmsg.c: Likewise.
25617 * sunrpc/rpc_common.c: Likewise.
25618 * sunrpc/rpc_dtable.c: Likewise.
25619 * sunrpc/rpc_prot.c: Likewise.
25620 * sunrpc/rpc_thread.c: Likewise.
25621 * sunrpc/rtime.c: Likewise.
25622 * sunrpc/svc.c: Likewise.
25623 * sunrpc/svc_auth.c: Likewise.
25624 * sunrpc/svc_authux.c: Likewise.
25625 * sunrpc/svc_raw.c: Likewise.
25626 * sunrpc/svc_run.c: Likewise.
25627 * sunrpc/svc_simple.c: Likewise.
25628 * sunrpc/svc_tcp.c: Likewise.
25629 * sunrpc/svc_udp.c: Likewise.
25630 * sunrpc/svc_unix.c: Likewise.
25631 * sunrpc/svcauth_des.c: Likewise.
25632 * sunrpc/xcrypt.c: Likewise.
25633 * sunrpc/xdr.c: Likewise.
25634 * sunrpc/xdr_array.c: Likewise.
25635 * sunrpc/xdr_float.c: Likewise.
25636 * sunrpc/xdr_intXX_t.c: Likewise.
25637 * sunrpc/xdr_mem.c: Likewise.
25638 * sunrpc/xdr_rec.c: Likewise.
25639 * sunrpc/xdr_ref.c: Likewise.
25640 * sunrpc/xdr_sizeof.c: Likewise.
25641 * sunrpc/xdr_stdio.c: Likewise.
25643 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25646 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25647 * sysdeps/ia64/dl-tls.h: Likewise.
25648 * sysdeps/powerpc/dl-tls.h: Likewise.
25649 * sysdeps/s390/dl-tls.h: Likewise.
25650 * sysdeps/sh/dl-tls.h: Likewise.
25651 * sysdeps/sparc/dl-tls.h: Likewise.
25652 * sysdeps/x86_64/dl-tls.h: Likewise.
25653 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25655 2011-03-14 Andreas Schwab <schwab@redhat.com>
25657 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25658 rpath element also skip the following colon.
25659 (expand_dynamic_string_token): Add is_path parameter and pass
25660 down to DL_DST_REQUIRED and _dl_dst_substitute.
25661 (decompose_rpath): Call expand_dynamic_string_token with
25662 non-zero is_path. Ignore empty rpaths.
25663 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25666 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25671 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25674 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25675 Patch by Filipe David Manana <fdmanana@apache.org>.
25677 2011-04-07 Andreas Schwab <schwab@redhat.com>
25679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25680 Maintain aligned stack.
25681 (CHECK_RSP): Remove unused macro.
25683 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25685 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25686 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25688 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25690 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25692 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25694 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25697 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25698 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25699 * sysdeps/x86_64/memmove.c: New file.
25700 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25701 (memcpy): Renamed to ...
25702 (__new_memcpy): This.
25703 (memcpy): Provide GLIBC_2_14 memcpy.
25704 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25705 (memcpy): Provide GLIBC_2_2_5 memcpy.
25707 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25710 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25712 2011-03-30 Andreas Schwab <schwab@redhat.com>
25714 * misc/syncfs.c: New file.
25715 * misc/Makefile (routines): Add syncfs.
25716 * posix/unistd.h: Declare syncfs.
25717 * sysdeps/unix/syscalls.list: Add syncfs.
25719 2011-04-01 Andreas Schwab <schwab@redhat.com>
25721 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25728 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25731 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25734 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25735 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25741 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25742 sync_file_range.c with -fexceptions.
25743 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25744 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25745 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25746 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25747 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25748 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25750 sync_file_range as cancellation point
25751 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25752 now a wrapper around __call_sync_file_range with cancellation handling.
25753 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25754 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25755 function name to __call_sync_file_range.
25756 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25757 Add call_sync_file_range.
25759 2011-04-01 Andreas Schwab <schwab@redhat.com>
25761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25764 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25766 * iconv/iconv.h: Fix typo in comment.
25767 * io/fcntl.h: Likewise.
25768 * libio/stdio.h: Likewise.
25769 * posix/spawn.h: Likewise.
25770 * posix/unistd.h: Likewise.
25771 * stdlib/stdlib.h: Likewise.
25772 * time/time.h: Likewise.
25773 * wcsmbs/wchar.h: Likewise.
25775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25776 open_by_handle): Add.
25777 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25778 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25779 Augment a few comments.
25780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25785 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25788 * io/fcntl.h (AT_EMPTY_PATH): Define.
25790 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25792 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25793 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25794 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25796 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25797 * Versions.def: Add GLIBC_2.14.
25798 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25801 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25803 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25805 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25807 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25810 * string/test-strncmp.c (do_page_test): New function.
25811 (check2): Likewise.
25812 (test_main): Call check2.
25813 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25815 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25819 Handle cache information in CPU leaf 4.
25820 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25822 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25825 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25826 character representation.
25827 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25829 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25831 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25832 END(__isnan) to END(__isnanf) to match function entry point/label
25833 EALIGN(__isnanf,...).
25835 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25837 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25839 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25842 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25843 copy from the symbol referenced in the relocation to initialize the
25845 Patch by Piotr Bury <pbury@goahead.com>.
25846 * elf/Makefile: Add rules to build and tst-unique3.
25847 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25848 * elf/tst-unique3.cc: New file.
25849 * elf/tst-unique3.h: New file.
25850 * elf/tst-unique3lib.cc: New file.
25851 * elf/tst-unique3lib2.cc: New file.
25853 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25855 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25857 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25858 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25861 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25863 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25864 to-be-loaded object along a path to loader is ld.so.
25866 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25867 Ulrich Drepper <drepper@gmail.com>
25869 * sysdeps/x86_64/memset.S: After aligning destination, code
25870 branches to different locations depending on the value of
25871 misalignment, when multiarch is enabled. Fix this.
25873 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25875 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25876 Set _x86_64_preferred_memory_instruction for AMD processsors.
25877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25878 Set bit_Prefer_SSE_for_memop for AMD processors.
25880 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25882 * libio/fmemopen.c (fmemopen): Optimize a bit.
25884 2011-03-03 Andreas Schwab <schwab@redhat.com>
25886 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25888 2011-03-03 Roland McGrath <roland@redhat.com>
25890 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25892 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25894 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25895 __bzero_ultra1 instead of __memset_ultra1.
25897 2011-02-23 Andreas Schwab <schwab@redhat.com>
25898 Ulrich Drepper <drepper@gmail.com>
25901 * include/link.h (struct link_map): Add l_orig_initfini.
25902 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25903 returning unsuccessfully.
25904 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25905 close of a file loaded at startup, restore the original l_initfini
25907 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25908 list, store the pointer.
25909 * elf/Makefile ($(objpfx)noload-mem): New rule.
25910 (noload-ENV): Define.
25911 (tests): Add $(objpfx)noload-mem.
25912 * elf/noload.c: Include <memcheck.h>.
25913 (main): Call mtrace. Close all opened handles.
25915 2011-02-17 Andreas Schwab <schwab@redhat.com>
25918 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25919 dependencies are missing.
25921 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25923 Fix __if_freereq crash: Unlike the generic version which uses free,
25925 * sysdeps/mach/hurd/ifreq.h: New file.
25927 2011-01-27 Petr Baudis <pasky@suse.cz>
25928 Ulrich Drepper <drepper@gmail.com>
25931 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25932 to extend_alloca().
25933 * stdio-common/bug23.c: New file.
25934 * stdio-common/Makefile (tests): Add bug23.
25936 2010-09-28 Andreas Schwab <schwab@redhat.com>
25937 Ulrich Drepper <drepper@gmail.com>
25940 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25941 before performing relro protection. At old place add assertion
25942 to make sure nothing changed.
25944 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25945 Glauber de Oliveira Costa <glommer@gmail.com>
25947 * elf/elf.h: Add new ARM TLS relocs.
25949 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25952 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25954 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25956 * sysdeps/wordsize-64/tst-writev.c: New file.
25958 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25960 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25961 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25962 insns in _dl_start to prevent a TOC reference before relocs are
25965 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25968 * Makeconfig: Remove RANLIB definition.
25969 * Makerules: Don't use RANLIB.
25970 * aclocal.m4: Remove ranlib test.
25971 * configure.in: No need to check for ranlib.
25972 * elf/rtld-Rules: Don't use RANLIB.
25974 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25976 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25978 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25979 inclusion protection macro.
25981 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25982 SIGRTMIN and SIGRTMAX and print information in that case only when
25983 SIGRTMIN is defined.
25985 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25987 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25988 arginfo fn returning -1.
25990 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25991 and thousands string is zero terminated.
25993 2011-02-03 Andreas Schwab <schwab@redhat.com>
25995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25996 sysdeps/unix/sysv/linux/bits/socket.h.
25998 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26000 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26001 (__CPU_COUNT): Remove old macros.
26002 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26003 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26004 (__CPU_ALLOC, __CPU_FREE): Add macros.
26005 (__sched_cpualloc, __sched_cpufree): Add declarations.
26007 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26009 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26010 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26011 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26012 (readdhstai): Return value of addhstaiX call.
26013 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26014 (addgrbyX): Return value returned by cache_addgr.
26015 (readdgrbyname): Return value returned by addgrbyX.
26016 (readdgrbygid): Likewise.
26017 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26018 (addpwbyX): Return value returned by cache_addpw.
26019 (readdpwbyname): Return value returned by addhstbyX.
26020 (readdpwbyuid): Likewise.
26021 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26022 (addservbyX): Return value returned by cache_addserv.
26023 (readdservbyname): Return value returned by addservbyX:
26024 (readdservbyport): Likewise.
26025 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26026 (addhstbyX): Return value returned by cache_addhst.
26027 (readdhstbyname): Return value returned by addhstbyX.
26028 (readdhstbyaddr): Likewise.
26029 (readdhstbynamev6): Likewise.
26030 (readdhstbyaddrv6): Likewise.
26031 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26032 (readdinitgroups): Return value returned by addinitgroupsX.
26033 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26034 (prune_cache): Keep track of timeout value of re-added entries.
26035 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26036 * nscd/nscd.h: Adjust prototypes of readd* functions.
26038 2011-02-04 Roland McGrath <roland@redhat.com>
26040 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26041 (nis_stats): Likewise.
26042 * nis/nis_modify.c (nis_modify): Likewise.
26043 * nis/nis_remove.c (nis_remove): Likewise.
26044 * nis/nis_add.c (nis_add): Likewise.
26046 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26048 * posix/fnmatch_loop.c: Add some consts.
26050 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26052 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26055 * config.make.in (config-cflags-novzeroupper): Define.
26056 * configure.in: Substitute libc_cv_cc_novzeroupper.
26057 * elf/Makefile (AVX-CFLAGS): Define.
26058 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26059 (CFLAGS-tst-auditmod4a.c): Likewise.
26060 (CFLAGS-tst-auditmod4b.c): Likewise.
26061 (CFLAGS-tst-auditmod6b.c): Likewise.
26062 (CFLAGS-tst-auditmod6c.c): Likewise.
26063 (CFLAGS-tst-auditmod7b.c): Likewise.
26064 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26066 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26068 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26069 function to the callback.
26070 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26072 2011-02-02 Andreas Schwab <schwab@redhat.com>
26074 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26077 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26080 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26082 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26084 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26087 * elf/Makefile: Add rules to build and run new test.
26088 * elf/tst-initorder.c: New file.
26089 * elf/tst-initorder.exp: New file.
26090 * elf/tst-initordera1.c: New file.
26091 * elf/tst-initordera2.c: New file.
26092 * elf/tst-initordera3.c: New file.
26093 * elf/tst-initordera4.c: New file.
26094 * elf/tst-initorderb1.c: New file.
26095 * elf/tst-initorderb2.c: New file.
26096 * elf/tst-order-a1.c: New file.
26097 * elf/tst-order-a2.c: New file.
26098 * elf/tst-order-a3.c: New file.
26099 * elf/tst-order-a4.c: New file.
26100 * elf/tst-order-b1.c: New file.
26101 * elf/tst-order-b2.c: New file.
26102 * elf/tst-order-main.c: New file.
26103 New test case by George Gensure <werkt0@gmail.com>.
26105 2010-10-01 Andreas Schwab <schwab@redhat.com>
26107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26108 decoding ACE if AI_CANONIDN.
26110 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26112 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26114 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26116 * version.h (RELEASE): Bump for 2.13 release.
26117 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26119 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26123 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26128 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26130 * posix/getconf.c: Update copyright year.
26131 * catgets/gencat.c: Likewise.
26132 * csu/version.c: Likewise.
26133 * debug/catchsegv.sh: Likewise.
26134 * debug/xtrace.sh: Likewise.
26135 * elf/ldconfig.c: Likewise.
26136 * elf/ldd.bash.in: Likewise.
26137 * elf/sprof.c (print_version): Likewise.
26138 * iconv/iconv_prog.c: Likewise.
26139 * iconv/iconvconfig.c: Likewise.
26140 * locale/programs/locale.c: Likewise.
26141 * locale/programs/localedef.c: Likewise.
26142 * malloc/memusage.sh: Likewise.
26143 * malloc/mtrace.pl: Likewise.
26144 * nscd/nscd.c (print_version): Likewise.
26145 * nss/getent.c: Likewise.
26147 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26148 PF_CAIF, and PF_ALG.
26149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26151 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26153 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26154 (modules-names): Use them.
26155 (ifunc-test-modules, ifunc-pie-tests): Define.
26156 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26157 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26158 (test-extras): Likewise.
26159 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26160 $(compile-command.c).
26161 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26162 (all-built-dso): Define.
26163 (check-textrel.out, check-execstack.out): Depend on it.
26165 * configure.in: Don't override --enable-multi-arch.
26167 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26170 * nscd/hstcache.c (tryagain): Define.
26171 (cache_addhst): Return tryagain not notfound for temporary errors.
26172 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26175 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26178 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26179 to make the syscall.
26180 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26183 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26184 and fall back to matching as normal character if the string ends before
26185 the matching ']' is found. This is what POSIX requires.
26186 * posix/testfnm.c: Adjust test result.
26187 * posix/globtest.sh: Adjust test result. Add new test.
26188 * posix/tst-fnmatch.input: Likewise.
26189 * posix/tst-fnmatch2.c: Add new test.
26191 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26193 * elf/Makefile (check-execstack): Revert last change. Depend on
26195 (check-execstack.h): New target.
26196 (generated): Add check-execstack.h.
26197 * elf/check-execstack.c: Include "check-execstack.h".
26198 (main): Revert last change.
26199 (handle_file): Return zero if GNU_STACK is absent and
26200 DEFAULT_STACK_PERMS doesn't include PF_X.
26202 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26204 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26205 in child fails because the descriptor is already closed.
26206 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26207 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26208 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26211 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26215 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26216 temporary buffer used to handle multi lookups locally.
26217 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26219 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26221 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26224 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26226 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26227 alignment for SSE2.
26229 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26232 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26233 characters. When rounding increased number of integer digits recompute
26235 * stdio-common/tst-grouping.c: New file.
26236 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26238 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26240 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26241 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26243 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26245 * bits/select.h: Likewise.
26247 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26249 * po/ja.po: Update from translation team.
26251 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26254 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26255 implementation just like for lxstat, fxstatat, et al.
26257 2010-12-27 Jim Meyering <meyering@redhat.com>
26260 * posix/regexec.c (build_trtable): Return failure indication upon
26261 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26263 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26266 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26267 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26268 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26269 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26272 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26275 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26276 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26278 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26280 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26281 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26282 script has SORT_BY_INIT_PRIORITY.
26283 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26284 NO_CTORS_DTORS_SECTIONS is defined.
26285 * elf/soinit.c: Likewise.
26286 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26287 NO_CTORS_DTORS_SECTIONS is defined.
26288 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26289 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26290 * sysdeps/sh/init-first.c: Likewise.
26291 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26293 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26295 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26296 always use the slow path.
26298 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26300 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26301 similar rule which adds the sysdep directories to the header search in
26302 order to pick up the correct platform stackinfo.h.
26303 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26304 perform test if it is, otherwise return successfully without testing.
26305 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26306 DEFAULT_STACK_PERMS define in stackinfo.h.
26307 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26308 defined in stackinfo.h.
26309 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26310 DEFAULT_STACK_PERMS defined in stackinfo.h.
26311 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26312 * sysdeps/ia64/stackinfo.h: Likewise.
26313 * sysdeps/s390/stackinfo.h: Likewise.
26314 * sysdeps/sh/stackinfo.h: Likewise.
26315 * sysdeps/sparc/stackinfo.h: Likewise.
26316 * sysdeps/x86_64/stackinfo.h: Likewise.
26317 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26318 PF_X for powerpc64. Retain PF_X for powerpc32.
26320 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26322 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26324 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26325 GETDENTS_64BIT_ALIGNED.
26327 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26329 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26331 2010-12-10 Andreas Schwab <schwab@redhat.com>
26333 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26336 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26337 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26339 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26340 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26342 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26345 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26348 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26350 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26352 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26354 * po/it.po: Update from translation team.
26356 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26361 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26363 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26365 2010-11-24 Andreas Schwab <schwab@redhat.com>
26367 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26369 (gaih_getanswer_slice): Likewise.
26371 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26375 2010-05-31 Petr Baudis <pasky@suse.cz>
26378 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26379 silently even in the chroot mode.
26381 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26383 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26384 last patch a bit. Pretty printing
26386 2010-05-31 Petr Baudis <pasky@suse.cz>
26389 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26390 initialization of skip_initgroups_dyn.
26392 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26394 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26397 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26399 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26401 2010-11-11 Andreas Schwab <schwab@redhat.com>
26403 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26404 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26405 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26406 ($(objpfx)tst-fnmatch-mem): New rule.
26407 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26408 * posix/tst-fnmatch.c (main): Call mtrace.
26410 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26413 Support Intel processor model 6 and model 0x2c.
26415 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26417 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26420 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26423 * string/test-strncasecmp.c (check_result): New function.
26424 (do_one_test): Use it.
26425 (check1): New function.
26426 (test_main): Use it.
26427 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26428 Support strcasecmp and strncasecmp.
26430 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26433 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26436 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26438 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26442 * sysdeps/x86_64/multiarch/bzero.S: New file.
26443 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26444 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26445 * sysdeps/x86_64/multiarch/memset.S: New file.
26446 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26448 Set bit_Prefer_SSE_for_memop for Intel processors.
26449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26451 (index_Prefer_SSE_for_memop): Define.
26452 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26454 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26456 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26457 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26459 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26462 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26463 (__x86_64_raw_data_cache_size_half): Likewise.
26464 (__x86_64_raw_shared_cache_size): Likewise.
26465 (__x86_64_raw_shared_cache_size_half): Likewise.
26467 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26468 (__x86_64_raw_data_cache_size_half): Likewise.
26469 (__x86_64_raw_shared_cache_size): Likewise.
26470 (__x86_64_raw_shared_cache_size_half): Likewise.
26471 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26472 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26473 and __x86_64_raw_shared_cache_size_half. Round
26474 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26475 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26476 to multiple of 256 bytes.
26478 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26481 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26482 of inacessible symlinks. Verify result of symlink before returning it.
26483 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26484 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26486 2010-10-28 Erich Ritz <erichritz@gmail.com>
26488 * math/math.h (isinf): Fix typo in comment.
26490 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26492 * po/da.po: Update from translation team.
26494 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26496 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26497 is added to the list.
26499 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26500 Ulrich Drepper <drepper@gmail.com>
26502 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26503 the global list here. Move code to...
26504 (_dl_add_to_namespace_list): ...here. New function.
26505 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26506 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26507 * elf/dl-load.c (lose): Don't remove the element from the list.
26508 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26509 (_dl_map_object): Likewise.
26511 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26514 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26515 into all bytes of SSE register.
26516 Patch by Richard Li <richardpku@gmail.com>.
26518 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26521 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26524 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26526 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26527 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26528 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26529 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26534 2010-10-22 Andreas Schwab <schwab@redhat.com>
26536 * include/dlfcn.h (__RTLD_SECURE): Define.
26537 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26538 mode & __RTLD_SECURE instead.
26539 (open_path): Rename preloaded parameter to secure.
26540 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26541 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26542 * elf/dl-deps.c (openaux): Likewise.
26543 * elf/rtld.c (struct map_args): Remove is_preloaded.
26544 (map_doit): Don't use it.
26545 (dl_main): Likewise.
26546 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26547 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26549 2010-09-09 Andreas Schwab <schwab@redhat.com>
26551 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26552 (sysd-rules-targets): Remove duplicates.
26553 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26554 rtld-%.$o dependency.
26556 2010-10-18 Andreas Schwab <schwab@redhat.com>
26558 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26559 _dl_map_object do it.
26561 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26563 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26564 fast fma builtins, define the macros in the C99 standard.
26565 (FP_FAST_FMAF): Likewise.
26566 (FP_FAST_FMAL): Likewise.
26567 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26569 * bits/mathdef.h: Update copyright year.
26570 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26572 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26574 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26575 builtins, define the macros in the C99 standard.
26576 (FP_FAST_FMAF): Likewise.
26577 (FP_FAST_FMAL): Likewise.
26578 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26580 (FP_FAST_FMAF): Likewise.
26582 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26585 * math/libm-test.inc (fma_test): Some new testcases.
26586 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26588 y and infinite z. Do multiplication by C already in long double.
26589 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26591 y and infinite z. Do bitwise or of inexact bit into u.d.
26592 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26593 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26594 * sysdeps/i386/fpu/s_fma.S: Removed.
26595 * sysdeps/i386/fpu/s_fmal.S: Removed.
26597 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26600 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26602 computation is not scheduled after fetestexcept. Fix value
26603 of minimum denormal long double.
26605 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26608 * math/libm-test.inc (fma_test): Add some more tests.
26609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26612 2010-10-15 Andreas Schwab <schwab@redhat.com>
26614 * scripts/data/localplt-s390-linux-gnu.data: New file.
26615 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26617 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26620 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26621 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26623 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26625 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26627 if one of x and y is very large and the other is subnormal.
26628 * sysdeps/s390/fpu/s_fmaf.c: New file.
26629 * sysdeps/s390/fpu/s_fma.c: New file.
26630 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26631 * sysdeps/powerpc/fpu/s_fma.S: New file.
26632 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26633 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26634 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26636 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26639 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26641 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26642 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26643 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26644 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26645 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26646 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26649 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26652 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26653 * posix/bug-regex31.input: Add test case.
26655 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26657 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26658 * posix/bug-regex31.input: New file.
26661 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26662 (parse_sub_exp): Fix last change, use postorder.
26664 * posix/bug-regex31.c: New file.
26665 * posix/Makefile: Add rules to build and run bug-regex31.
26667 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26670 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26673 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26674 to have entries in sys_siglist.
26677 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26680 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26683 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26684 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26685 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26686 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26687 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26688 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26689 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26690 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26691 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26692 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26693 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26694 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26695 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26696 * math/ftestexcept.c (fetestexcept): Likewise.
26697 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26698 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26699 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26700 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26701 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26702 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26703 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26705 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26708 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26711 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26713 * string/bug-strstr1.c: New file.
26714 * string/Makefile: Add rules to build and run bug-strstr1.
26716 2010-10-05 Eric Blake <eblake@redhat.com>
26719 * string/str-two-way.h (two_way_long_needle): Always clear memory
26720 when skipping input due to the shift table.
26722 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26725 * malloc/mcheck.c: Handle large requests.
26728 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26729 for strncmp and strncasecmp.
26730 * string/stratcliff.c: Add tests for strcmp and strncmp.
26731 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26733 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26735 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26738 2010-09-30 Andreas Jaeger <aj@suse.de>
26740 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26741 (CGROUP_SUPER_MAGIC): Define.
26742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26743 Handle btrfs and cgroup file systems.
26744 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26747 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26749 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26750 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26752 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26755 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26756 trying to locate the ELF header.
26758 2010-09-27 Andreas Schwab <schwab@redhat.com>
26761 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26762 Mask out sign-bit copies when constructing f_fsid.
26764 2010-09-24 Petr Baudis <pasky@suse.cz>
26766 * debug/stack_chk_fail_local.c: Add missing licence exception.
26767 * debug/warning-nop.c: Likewise.
26769 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26771 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26772 implementing getdents64 using getdents syscall, set d_type if
26773 __ASSUME_GETDENTS32_D_TYPE.
26775 2010-09-16 Andreas Schwab <schwab@redhat.com>
26777 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26778 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26780 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26783 * posix/unistd.h: Undo change of feature selection for ftruncate from
26786 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26788 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26791 2010-09-20 Andreas Schwab <schwab@redhat.com>
26793 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26795 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26797 2010-09-14 Andreas Schwab <schwab@redhat.com>
26799 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26800 variables after CHECK_SP call.
26801 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26803 2010-09-13 Andreas Schwab <schwab@redhat.com>
26804 Ulrich Drepper <drepper@redhat.com>
26806 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26807 re-relocationg ld.so.
26808 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26809 _dl_init_paths call.
26810 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26813 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26815 * resolv/res_init.c (__res_vinit): Count the default server we added.
26817 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26818 Ulrich Drepper <drepper@redhat.com>
26821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26822 (____longjmp_chk): Use %ebx for saving value across system call.
26825 2010-09-06 Andreas Schwab <schwab@redhat.com>
26827 * manual/Makefile: Don't mix pattern rules with normal rules.
26829 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26831 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26833 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26834 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26835 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26836 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26840 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26843 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26844 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26846 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26848 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26849 * sysdeps/x86_64/addmul_1.S: Likewise.
26850 * sysdeps/x86_64/lshift.S: Likewise.
26851 * sysdeps/x86_64/mul_1.S: Likewise.
26852 * sysdeps/x86_64/rshift.S: Likewise.
26853 * sysdeps/x86_64/sub_n.S: Likewise.
26854 * sysdeps/x86_64/submul_1.S: Likewise.
26856 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26858 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26859 Define __sched_param instead of SCHED_* and sched_param when
26860 <bits/sched.h> is included with __need_schedparam defined.
26861 * bits/sched.h [__need_schedparam]
26862 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26863 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26864 (__defined_schedparam): Define to 1.
26865 (__sched_param): New structure, identical to sched_param.
26866 (__need_schedparam): Undefine.
26868 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26871 (epoll_create1): Declare.
26873 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26875 2010-08-31 Andreas Schwab <schwab@redhat.com>
26878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26879 shifting retval into place.
26881 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26883 * nis/rpcsvc/nis.h: Update copyright notice.
26884 * nis/rpcsvc/nis.x: Likewise.
26885 * nis/rpcsvc/nis_callback.h: Likewise.
26886 * nis/rpcsvc/nis_callback.x: Likewise.
26887 * nis/rpcsvc/nis_object.x: Likewise.
26888 * nis/rpcsvc/nis_tags.h: Likewise.
26889 * nis/rpcsvc/yp.h: Likewise.
26890 * nis/rpcsvc/yp.x: Likewise.
26891 * nis/rpcsvc/ypupd.h: Likewise.
26892 * nis/yp_xdr.c: Likewise.
26893 * nis/ypupdate_xdr.c: Likewise.
26895 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26896 mainly the body of pmap_getport. Add parameters to specify timeouts.
26897 (pmap_getport): Use __libc_rpc_getport.
26898 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26899 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26900 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26902 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26907 2010-08-27 Roland McGrath <roland@redhat.com>
26909 * sysdeps/i386/i686/multiarch/Makefile
26910 (CFLAGS-varshift.c): New variable.
26912 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26914 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26915 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26919 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26921 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26923 * sysdeps/x86_64/strlen.S: Unroll the loop.
26924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26925 strlen-sse2 strlen-sse2-bsf.
26926 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26927 __strlen_no_bsf if bit_Slow_BSF is set.
26928 (__strlen_sse42): Removed.
26929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26930 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26932 2010-08-25 Roland McGrath <roland@redhat.com>
26934 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26935 * sysdeps/x86_64/multiarch/varshift.c: New file.
26936 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26937 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26938 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26939 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26941 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26944 strlen-sse2 strlen-sse2-bsf.
26945 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26946 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26947 (__strlen_sse2): Removed.
26948 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26951 bit_Slow_BSF for Atom.
26952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26953 (index_Slow_BSF): Define.
26954 (HAS_SLOW_BSF): Define.
26956 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26959 * resolv/res_init.c (__res_vinit): When no server address at all
26960 is given default to loopback.
26962 2010-08-24 Roland McGrath <roland@redhat.com>
26964 * configure.in: Remove config-name.h generation.
26965 * configure: Regenerated.
26966 * config-name.in: File removed.
26967 * scripts/config-uname.sh: New file.
26968 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26969 ($(objdir)config-name.h): New target.
26971 * sunrpc/rpc_parse.h: Avoid nested comment.
26973 2010-08-24 Richard Henderson <rth@redhat.com>
26974 Ulrich Drepper <drepper@redhat.com>
26975 H.J. Lu <hongjiu.lu@intel.com>
26977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26979 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26980 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26981 _mm_alignr_epi8 with _mm_loadu_si128.
26982 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26983 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26984 (__m128i_shift_right): Removed.
26985 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26986 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26987 * sysdeps/x86_64/multiarch/varshift.h: New file.
26988 * sysdeps/x86_64/multiarch/varshift.S: New file.
26990 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26992 * configure.in: Move assembler checks to before sysdep dir checking.
26994 2010-08-20 Petr Baudis <pasky@suse.cz>
26996 * LICENSES: Sync the sunrpc license.
26998 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27000 * sunrpc/auth_des.c: Update copyright notice once again.
27001 * sunrpc/auth_none.c: Likewise.
27002 * sunrpc/auth_unix.c: Likewise.
27003 * sunrpc/authdes_prot.c: Likewise.
27004 * sunrpc/authuxprot.c: Likewise.
27005 * sunrpc/bindrsvprt.c: Likewise.
27006 * sunrpc/clnt_gen.c: Likewise.
27007 * sunrpc/clnt_perr.c: Likewise.
27008 * sunrpc/clnt_raw.c: Likewise.
27009 * sunrpc/clnt_simp.c: Likewise.
27010 * sunrpc/clnt_tcp.c: Likewise.
27011 * sunrpc/clnt_udp.c: Likewise.
27012 * sunrpc/clnt_unix.c: Likewise.
27013 * sunrpc/des_crypt.c: Likewise.
27014 * sunrpc/des_soft.c: Likewise.
27015 * sunrpc/get_myaddr.c: Likewise.
27016 * sunrpc/getrpcport.c: Likewise.
27017 * sunrpc/key_call.c: Likewise.
27018 * sunrpc/key_prot.c: Likewise.
27019 * sunrpc/openchild.c: Likewise.
27020 * sunrpc/pm_getmaps.c: Likewise.
27021 * sunrpc/pm_getport.c: Likewise.
27022 * sunrpc/pmap_clnt.c: Likewise.
27023 * sunrpc/pmap_prot.c: Likewise.
27024 * sunrpc/pmap_prot2.c: Likewise.
27025 * sunrpc/pmap_rmt.c: Likewise.
27026 * sunrpc/rpc/auth.h: Likewise.
27027 * sunrpc/rpc/auth_unix.h: Likewise.
27028 * sunrpc/rpc/clnt.h: Likewise.
27029 * sunrpc/rpc/des_crypt.h: Likewise.
27030 * sunrpc/rpc/key_prot.h: Likewise.
27031 * sunrpc/rpc/netdb.h: Likewise.
27032 * sunrpc/rpc/pmap_clnt.h: Likewise.
27033 * sunrpc/rpc/pmap_prot.h: Likewise.
27034 * sunrpc/rpc/pmap_rmt.h: Likewise.
27035 * sunrpc/rpc/rpc.h: Likewise.
27036 * sunrpc/rpc/rpc_des.h: Likewise.
27037 * sunrpc/rpc/rpc_msg.h: Likewise.
27038 * sunrpc/rpc/svc.h: Likewise.
27039 * sunrpc/rpc/svc_auth.h: Likewise.
27040 * sunrpc/rpc/types.h: Likewise.
27041 * sunrpc/rpc/xdr.h: Likewise.
27042 * sunrpc/rpc_clntout.c: Likewise.
27043 * sunrpc/rpc_cmsg.c: Likewise.
27044 * sunrpc/rpc_common.c: Likewise.
27045 * sunrpc/rpc_cout.c: Likewise.
27046 * sunrpc/rpc_dtable.c: Likewise.
27047 * sunrpc/rpc_hout.c: Likewise.
27048 * sunrpc/rpc_main.c: Likewise.
27049 * sunrpc/rpc_parse.c: Likewise.
27050 * sunrpc/rpc_parse.h: Likewise.
27051 * sunrpc/rpc_prot.c: Likewise.
27052 * sunrpc/rpc_sample.c: Likewise.
27053 * sunrpc/rpc_scan.c: Likewise.
27054 * sunrpc/rpc_scan.h: Likewise.
27055 * sunrpc/rpc_svcout.c: Likewise.
27056 * sunrpc/rpc_tblout.c: Likewise.
27057 * sunrpc/rpc_util.c: Likewise.
27058 * sunrpc/rpc_util.h: Likewise.
27059 * sunrpc/rpcinfo.c: Likewise.
27060 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27061 * sunrpc/rpcsvc/key_prot.x: Likewise.
27062 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27063 * sunrpc/rpcsvc/mount.x: Likewise.
27064 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27065 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27066 * sunrpc/rpcsvc/rex.x: Likewise.
27067 * sunrpc/rpcsvc/rstat.x: Likewise.
27068 * sunrpc/rpcsvc/rusers.x: Likewise.
27069 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27070 * sunrpc/rpcsvc/spray.x: Likewise.
27071 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27072 * sunrpc/rtime.c: Likewise.
27073 * sunrpc/svc.c: Likewise.
27074 * sunrpc/svc_auth.c: Likewise.
27075 * sunrpc/svc_authux.c: Likewise.
27076 * sunrpc/svc_raw.c: Likewise.
27077 * sunrpc/svc_run.c: Likewise.
27078 * sunrpc/svc_simple.c: Likewise.
27079 * sunrpc/svc_tcp.c: Likewise.
27080 * sunrpc/svc_udp.c: Likewise.
27081 * sunrpc/svc_unix.c: Likewise.
27082 * sunrpc/svcauth_des.c: Likewise.
27083 * sunrpc/xcrypt.c: Likewise.
27084 * sunrpc/xdr.c: Likewise.
27085 * sunrpc/xdr_array.c: Likewise.
27086 * sunrpc/xdr_float.c: Likewise.
27087 * sunrpc/xdr_mem.c: Likewise.
27088 * sunrpc/xdr_rec.c: Likewise.
27089 * sunrpc/xdr_ref.c: Likewise.
27090 * sunrpc/xdr_sizeof.c: Likewise.
27091 * sunrpc/xdr_stdio.c: Likewise.
27093 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27096 2010-08-19 Andreas Schwab <schwab@redhat.com>
27098 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27100 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27102 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27103 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27105 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27107 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27108 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27109 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27110 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27111 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27112 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27113 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27114 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27115 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27117 2010-07-26 Anton Blanchard <anton@samba.org>
27119 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27120 * malloc/arena.c (heap_trim): Likewise.
27122 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27124 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27127 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27129 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27131 * sysdeps/i386/elf/Makefile: New file.
27133 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27135 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27136 from fanotify_init.
27137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27138 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27140 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27142 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27144 * sysdeps/multiarch/strcmp.S: Likewise.
27146 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27148 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27149 strncase_l-nonascii.
27150 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27151 Add strncase_l-ssse3.
27152 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27153 * sysdeps/x86_64/strcmp.S: Likewise.
27154 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27155 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27156 * sysdeps/x86_64/strncase.S: New file.
27157 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27158 * sysdeps/x86_64/strncase_l.S: New file.
27159 * string/Makefile (strop-tests): Add strncasecmp.
27160 * string/test-strncasecmp.c: New file.
27162 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27165 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27166 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27168 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27170 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27172 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27174 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27175 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27176 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27178 2010-05-01 Alan Modra <amodra@gmail.com>
27180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27181 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27182 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27183 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27184 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27185 tidying. Don't tail-call __sigjmp_save for static lib.
27186 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27188 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27189 (CALL_MCOUNT): Add eh info, and nop after bl.
27190 (TAIL_CALL_SYSCALL_ERROR): New macro.
27191 (PSEUDO_RET): Use it.
27192 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27193 Correct save location of integer regs and cr.
27194 (_dl_profile_resolve): Correct cr save location. Delete nops
27195 after bl when SHARED. Reduce cfi size a little by better
27196 placement of cfi directives.
27197 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27198 make a stack frame. Instead use parm save area as a temp.
27199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27200 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27202 Don't make a stack frame for parent, use parm save area.
27203 Increase child stack frame to 112 bytes. Don't save unused reg,
27204 and adjust reg usage. Set up cfi on error recovery and
27205 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27207 (__makecontext): Add dummy nop after jump to exit.
27208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27209 Use correct parm save area and cr save, reduce stack frame.
27210 Correct cfi for possible PSEUDO_RET frame setup.
27211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27212 Branch to local label emitted by PSEUDO_RET rather than
27215 2010-08-12 Andreas Schwab <schwab@redhat.com>
27218 * locale/programs/locale.c (print_assignment): New function.
27219 (show_locale_vars): Use it.
27221 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27223 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27225 (struct statfs64): Likewise.
27226 (_STATFS_F_FLAGS): Define.
27227 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27228 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27229 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27230 (ST_VALID): Define locally.
27231 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27232 __statvfs_getflags, use the provided value.
27233 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27234 __ASSUME_STATFS_F_FLAGS.
27236 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27239 Add sys/fanotify.h.
27240 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27241 fanotify_mask for GLIBC_2.13.
27242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27243 fanotify_init and fanotify_mark.
27244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27245 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27247 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27249 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27250 prlimit64 for GLIBC_2.13.
27251 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27257 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27258 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27261 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27264 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27265 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27267 * nss/Makefile: Add rules to build and run tst-nss-test1.
27268 * shlib-versions: Add entry for libnss_test1.
27269 * nss/nss_test1.c: New file.
27270 * nss/tst-nss-test1.c: New file.
27272 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27273 (__nss_configure_lookup): Set appropriate entry in
27274 __nss_configure_lookup to true.
27275 * nss/nsswitch.h: Define enum with indeces of databases in
27276 databases and __nss_database_custom arrays. Declare
27277 __nss_database_custom.
27278 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27279 to avoid using nscd when custom rules are installed.
27280 * nss/getXXbyYY_r.c: Likewise.
27281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27283 * nss/nss_files/files-parse.c: Whitespace fixes.
27285 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27288 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27289 * posix/fnmatch_loop.c: Likewise.
27291 2010-07-17 Andi Kleen <ak@linux.intel.com>
27293 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27294 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27295 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27296 * Versions.def [GLIBC_2.13]: Add.
27298 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27301 Also fail if tpwd after pwuid call is NULL.
27303 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27305 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27306 when converting to ms.
27308 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27310 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27311 EOPNOTSUPP errors with ENOTTY.
27312 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27313 EOPNOTSUPP errors with ENOTTY.
27315 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27317 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27318 Add strcasecmp_l-ssse3.
27319 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27321 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27322 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27323 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27325 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27327 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27329 * string/Makefile (strop-tests): Add strcasecmp.
27330 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27331 strcasecmp_l-nonascii.
27332 (gen-as-const-headers): Add locale-defines.sym.
27333 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27334 * sysdeps/x86_64/strcasecmp.S: New file.
27335 * sysdeps/x86_64/strcasecmp_l.S: New file.
27336 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27337 * sysdeps/x86_64/locale-defines.sym: New file.
27338 * string/test-strcasecmp.c: New file.
27340 * string/test-strcasestr.c: Test both ends of the range of characters.
27341 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27343 2010-07-29 Roland McGrath <roland@redhat.com>
27346 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27348 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27350 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27353 2010-07-27 Andreas Schwab <schwab@redhat.com>
27355 * manual/memory.texi (Malloc Tunable Parameters): Document
27358 2010-07-26 Roland McGrath <roland@redhat.com>
27361 * configure.in (-fgnu89-inline check): Set and substitute
27362 gnu89_inline, not libc_cv_gnu89_inline.
27363 * configure: Regenerated.
27364 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27366 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27368 * string/test-strnlen.c: New file.
27369 * string/Makefile (strop-tests): Add strnlen.
27370 * string/tester.c (test_strnlen): Add a few more test cases.
27371 * string/tst-strlen.c: Better error reporting.
27373 * sysdeps/x86_64/strnlen.S: New file.
27375 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27378 lower-latency instructions.
27380 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27382 * string/test-strcasestr.c: New file.
27383 * string/test-strstr.c: New file.
27384 * string/Makefile (strop-tests): Add strstr and strcasestr.
27385 * string/str-two-way.h: Don't undefine MAX.
27386 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27388 2010-07-21 Andreas Schwab <schwab@redhat.com>
27390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27391 strcasestr-nonascii.
27392 (CFLAGS-strcasestr-nonascii.c): Define.
27393 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27395 Remove unused attribute.
27397 2010-07-20 Roland McGrath <roland@redhat.com>
27399 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27400 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27401 ld.so.cache was broken. With it, there is no way to disable dsocaps
27402 like LD_HWCAP_MASK can disable hwcaps.
27404 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27406 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27408 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27410 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27411 call in strcasestr.
27412 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27413 __strcasestr_sse42_nonascii.
27414 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27415 strcasestr-nonascii.c.
27416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27418 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27425 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27427 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27430 2010-07-06 Andreas Schwab <schwab@redhat.com>
27433 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27436 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27439 _PC_PIPE_BUF using F_GETPIPE_SZ.
27441 2010-07-05 Roland McGrath <roland@redhat.com>
27443 * manual/arith.texi (Rounding Functions): Fix rint description
27444 implicit in round description.
27446 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27448 * elf/Makefile: Fix linking for a few tests to make recent linker
27451 2010-06-30 Andreas Schwab <schwab@redhat.com>
27453 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27454 $(common-objpfx)libc_nonshared.a.
27456 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27458 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27459 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27460 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27461 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27462 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27463 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27464 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27465 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27480 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27481 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27482 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27483 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27484 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27485 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27486 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27487 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27488 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27489 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27490 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27491 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27507 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27509 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27510 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27511 * string/memmove.c (memmove): Renamed to ...
27512 (MEMMOVE): ...this. Default to memmove.
27513 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27514 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27517 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27518 mempcpy-ssse3-back memmove-ssse3-back.
27519 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27522 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27523 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27524 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27525 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27526 * sysdeps/x86_64/multiarch/memmove.c: New file.
27527 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27528 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27529 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27530 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27531 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27532 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27534 (index_Fast_Copy_Backward): Define.
27535 (HAS_ARCH_FEATURE): Define.
27536 (HAS_FAST_REP_STRING): Define.
27537 (HAS_FAST_COPY_BACKWARD): Define.
27539 2010-06-21 Andreas Schwab <schwab@redhat.com>
27541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27542 Restore proper fallback handling.
27544 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27547 * posix/group_member.c (__group_member): Correct checking loop.
27549 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27550 OOM in getpwuid_r correctly. Return error number when the caller
27551 should return, otherwise -1.
27552 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27553 call returning > 0 value.
27554 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27556 2010-06-07 Andreas Schwab <schwab@redhat.com>
27558 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27559 libc_nonshared.a from targets in modules-names.
27561 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27563 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27566 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27568 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27569 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27573 2010-06-02 Andreas Schwab <schwab@redhat.com>
27575 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27577 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27579 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27588 2010-06-14 Roland McGrath <roland@redhat.com>
27590 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27592 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27594 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27595 __REDIRECT followed by __THROW.
27596 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27597 * posix/getopt.h (getopt): Likewise.
27599 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27601 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27602 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27603 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27605 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27606 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27608 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27610 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27612 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27616 Properly check family and model.
27618 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27620 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27622 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27624 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27626 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27628 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27631 2010-05-19 Andreas Schwab <schwab@redhat.com>
27633 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27636 2010-05-21 Andreas Schwab <schwab@redhat.com>
27638 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27639 and internal_recvmmsg.
27640 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27641 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27642 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27643 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27645 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27646 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27647 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27649 2010-05-20 Andreas Schwab <schwab@redhat.com>
27651 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27653 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27655 POWER7 optimizations.
27656 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27657 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27659 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27661 * version.h: Update for 2.13 development version.
27663 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27665 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27666 exceptions. Return 0.
27668 2010-05-07 Roland McGrath <roland@redhat.com>
27670 * elf/ldconfig.c (main): Add a const.
27672 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27674 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27675 (args_options): Add no-idn option.
27676 (ahosts_keys_int): Add idn_flags to ai_flags.
27677 (parse_option): Handle 'i' option to clear idn_flags.
27679 * malloc/malloc.c (_int_free): Possible race in the most recently
27680 added check. Only act on the data if no current modification
27683 See ChangeLog.17 for earlier changes.