1 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6 2013-04-03 Joseph Myers <joseph@codesourcery.com>
9 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11 * math/s_cexpf.c (__cexpf): Likewise.
12 * math/s_cexpl.c (__cexpl): Likewise.
13 * math/libm-test.inc (cexp_test): Add more tests.
15 2013-04-03 Andreas Schwab <schwab@suse.de>
18 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19 order arrays from heap if bigger than alloca cutoff.
21 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24 (SNAN_TESTS_double): Refer to GCC PR56831.
25 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30 * Rules (bench): Move bench.out after the run is complete.
32 * Rules (bench): Echo currently running benchmark.
34 * benchtests/Makefile (bench): Add atan and slowatan.
35 * benchtests/atan-inputs: New file.
36 * benchtests/slowatan-inputs: New file.
37 * benchtests/slowatan.c: New file.
39 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
40 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44 * sysdeps/unix/sysv/linux/kernel-features.h
45 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
46 __ASSUME_XFS_RESTRICTED_CHOWN.
47 * sysdeps/unix/sysv/linux/pathconf.c
48 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49 Save and restore errno.
51 2013-04-02 Joseph Myers <joseph@codesourcery.com>
54 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55 arguments using __kernel_casinh.
56 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57 arguments using __kernel_casinhf.
58 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
59 arguments using __kernel_casinhl.
60 * math/libm-test.inc (cacosh_test): Add more tests.
61 * sysdeps/i386/fpu/libm-test-ulps: Update.
62 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
66 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
69 * bench/Makefile (bench): Add sin and slowsin.
70 * benchtests/sin-inputs: New file.
71 * benchtests/slowsin-inputs: New file.
72 * benchtests/slowsin.c: New file.
74 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
75 (bench): Add slowexp and slowpow.
76 (exp-ITER): Increase iterations.
78 * benchtests/exp-inputs: Change input.
79 * benchtests/pow-inputs: Likewise.
80 * benchtests/slowexp-inputs: New file.
81 * benchtests/slowexp.c: New file.
82 * benchtests/slowpow-inputs: New file.
83 * benchtests/slowpow.c: New file.
85 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
89 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
91 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
92 * benchtests/Makefile: Add rint benchtest.
93 * benchtests/rint-inputs: Input for rint benchtest.
95 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
97 * Versions.def (libm): Add GLIBC_2.18.
98 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
99 hidden libm prototypes.
100 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
101 * math/Makefile (libm-calls): Add s_issignaling.
102 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
103 __issignalingf, __issignalingl. Adjust all libm.abilist files.
104 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
106 * math/math.h [__USE_GNU] (issignaling): New macro.
107 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
108 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
109 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
110 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
111 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
112 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
113 * manual/arith.texi (issignaling): New section.
114 * manual/libm-err-tab.pl (@all_functions): Update comment.
115 * math/gen-libm-test.pl (parse_args): Apply special handling for
117 * math/libm-test.inc (print_float, issignaling_test): New
119 (check_float_internal): Add issignaling checks.
120 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
122 * sysdeps/powerpc/math-tests.h: New file.
123 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
125 * math/test-snan.c (TEST_FUNC): Likewise.
127 2013-03-30 David S. Miller <davem@davemloft.net>
129 * po/de.po: Update from translation team.
131 2013-03-30 Joseph Myers <joseph@codesourcery.com>
134 * math/k_casinh.c (__kernel_casinh): Handle arguments with
135 imaginary part less than 1.0 and real part less than 0.5
137 * math/k_casinhf.c (__kernel_casinhf): Likewise.
138 * math/k_casinhl.c (__kernel_casinhl): Likewise.
139 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
140 (cacos_test): Add more tests.
141 (casin_test): Likewise.
142 (casinh_test): Likewise.
143 * sysdeps/i386/fpu/libm-test-ulps: Update.
144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
146 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
148 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
151 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
152 (__pow_mp): Replace ONE and MONE with their values.
153 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
154 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
155 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
156 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
157 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
158 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
160 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
162 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
163 (__pow_mp): Replace ZERO and MZERO with their values.
164 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
166 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
168 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
169 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
172 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
174 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
176 2013-03-28 Roland McGrath <roland@hack.frob.com>
178 * include/stdlib.h [!SHARED] (__call_tls_dtors):
179 Declare with __attribute__ ((weak)).
180 * stdlib/exit.c (__libc_atexit) [!SHARED]:
181 Call __call_tls_dtors only if it's not NULL.
183 2013-03-28 Roland McGrath <roland@hack.frob.com>
185 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
186 didn't do it already, then set _dl_phdr and _dl_phnum based on the
187 magic __ehdr_start linker symbol if it's defined.
188 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
189 them up here if it was already done.
191 * elf/dl-support.c (_dl_phdr): Make pointer to const.
192 (_dl_aux_init): Use const in cast when setting it.
193 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
194 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
195 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
197 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
199 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
200 * csu/libc-tls.c: Nor here.
201 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
203 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
204 (__libc_message): Never call vsyslog.
206 2013-03-28 Alan Modra <amodra@gmail.com>
208 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
210 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
213 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
216 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
220 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
223 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
224 Don't add gid passed as argument.
226 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
228 2013-03-27 Joseph Myers <joseph@codesourcery.com>
231 * math/k_casinh.c (__kernel_casinh): Handle arguments with
232 imaginary part between 1.0 and 1.5 and real part less than 0.5
234 * math/k_casinhf.c (__kernel_casinhf): Likewise.
235 * math/k_casinhl.c (__kernel_casinhl): Likewise.
236 * math/libm-test.inc (cacos_test): Add more tests.
237 (casin_test): Likewise.
238 (casinh_test): Likewise.
239 * sysdeps/i386/fpu/libm-test-ulps: Update.
240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
242 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
244 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
248 (__dbl_mp): Likewise.
249 (add_magnitudes): Likewise.
250 (sub_magnitudes): Likewise.
258 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
260 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
261 (__dubcos): Likewise.
262 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
263 (__ieee754_acos): Likewise.
264 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
265 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
267 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
268 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
271 (checkint): Likewise.
272 * sysdeps/ieee754/dbl-64/e_remainder.c
273 (__ieee754_remainder): Likewise.
274 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
275 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
277 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
279 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
280 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
281 MANTISSA_STORE_T to store computations on mantissa. Use
282 macros for rounding and division.
284 (__dbl_mp): Likewise.
285 (add_magnitudes): Likewise.
286 (sub_magnitudes): Likewise.
289 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
290 powers of two in terms of TWOPOW macro.
291 (mp_no): Make type of mantissa as MANTISSA_T.
292 [!RADIXI]: Define RADIXI.
293 [!TWO52]: Define TWO52.
294 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
296 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
298 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
299 llroundl symbol when building for PPC32.
301 2013-03-24 Mark H Weaver <mhw@netris.org>
303 * manual/arith.texi (Normalization Functions): Fix prototypes for
304 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
306 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
309 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
310 high value to check if expl overflow.
311 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
312 to check for underflow and overflow.
313 * math/libm-test.inc: Add exp test.
315 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
318 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
321 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
323 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
326 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
328 * math/gen-libm-test.pl (parse_args, special_functions): Properly
329 wrap blocks consisting of several statements.
331 * sysdeps/generic/math-tests.h: New file.
332 * sysdeps/i386/fpu/math-tests.h: Likewise.
333 * math/test-snan.c: Include it.
334 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
336 2013-03-21 Joseph Myers <joseph@codesourcery.com>
339 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
340 (__ieee754_j0l): Do not improve calculations using cos of twice
341 input for inputs above LDBL_MAX / 2.0L.
342 (__ieee754_y0l): Likewise.
343 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
344 (__ieee754_j1l): Do not improve calculations using cos of twice
345 input for inputs above LDBL_MAX / 2.0L.
346 (__ieee754_y1l): Likewise.
347 * math/libm-test.inc (j0_test): Add another test.
351 * sysdeps/i386/fpu/libm-test-ulps: Update.
353 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
355 * Rules ($(objpfx)bench-%.c): Include code from a C source
358 2013-03-21 Joseph Myers <joseph@codesourcery.com>
361 * math/k_casinh.c (__kernel_casinh): Handle arguments with
362 imaginary part 1.0 and real part less than 0.5 specially.
363 * math/k_casinhf.c (__kernel_casinhf): Likewise.
364 * math/k_casinhl.c (__kernel_casinhl): Likewise.
365 * math/libm-test.inc (cacos_test): Add more tests.
366 (casin_test): Likewise.
367 (casinh_test): Likewise.
368 * sysdeps/i386/fpu/libm-test-ulps: Update.
369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
373 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
374 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
376 2013-03-20 Joseph Myers <joseph@codesourcery.com>
378 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
379 * config.make.in (config-cflags-sse4): Remove variable.
380 (config-cflags-avx): Likewise.
381 (config-cflags-sse2avx): Likewise.
382 (config-cflags-novzeroupper): Likewise.
383 (config-asflags-i686): Likewise.
384 (have-mfma4): Likewise.
385 (have-as-vis3): Likewise.
387 * configure.in (MIG): Do not AC_SUBST.
388 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
389 (libc_cv_cc_sse4): Do not AC_SUBST.
390 (libc_cv_cc_avx): Likewise.
391 (libc_cv_cc_sse2avx): Likewise.
392 (libc_cv_cc_novzeroupper): Likewise.
393 (libc_cv_cc_fma4): Likewise.
394 (libc_cv_as_i686): Likewise.
395 (libc_cv_sparc_as_vis3): Likewise.
396 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
398 (config-asflags-i686): Likewise.
399 (config-cflags-avx): Likewise.
400 (config-cflags-sse2avx): Likewise.
401 (have-mfma4): Likewise.
402 (config-cflags-novzeroupper): Likewise.
403 * sysdeps/mach/configure.in (MIG): Likewise.
404 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
405 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
407 (config-cflags-avx): Likewise.
408 (config-cflags-sse2avx): Likewise.
409 (have-mfma4): Likewise.
410 (config-cflags-novzeroupper): Likewise.
411 * configure: Regenerated.
412 * sysdeps/i386/configure: Likewise.
413 * sysdeps/mach/configure: Likewise.
414 * sysdeps/sparc/configure: Likewise.
415 * sysdeps/x86_64/configure: Likewise.
417 2013-03-20 Roland McGrath <roland@hack.frob.com>
420 * locale/programs/localedef.c (options): Put N_ translation marker
421 on argument names, not just descriptions.
423 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
425 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
427 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
430 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
432 2013-03-19 Roland McGrath <roland@hack.frob.com>
434 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
435 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
436 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
437 [!BEFORE_ABORT] (before_abort): New function.
438 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
439 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
440 (writev_for_fatal): New function.
441 (WRITEV_FOR_FATAL): New macro; call that.
442 (backtrace_and_maps): New function.
443 (BEFORE_ABORT): New macro; call that.
444 (struct str_list): Type removed.
445 (__libc_message, __libc_fatal): Functions removed.
446 Include <sysdeps/posix/libc_fatal.c> instead.
448 2013-03-19 Joseph Myers <joseph@codesourcery.com>
450 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
452 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
455 2013-03-19 Andreas Schwab <schwab@suse.de>
457 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
458 * sysdeps/gnu/configure: Regenerate.
460 * configure.in: Substitute libc_cv_rtlddir.
461 * configure: Regenerate.
462 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
463 * Makeconfig (rtlddir, inst_rtlddir): New variables.
464 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
465 * elf/Makefile (install-others, CFLAGS-interp.c)
466 (ldso_install, common-ldd-rewrite): Likewise.
467 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
468 $(inst_slibdir)/$(rtld-installed-name).
469 * scripts/rellns-sh: Add -p option.
470 * Makerules (make-shlib-link): Use rellns-sh to get relative name
473 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
475 * manual/nptl.texi: Renamed to ...
476 * manual/threads.texi: ... this.
477 * manual/Makefile (chapters): Update.
479 2013-03-18 Roland McGrath <roland@hack.frob.com>
482 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
483 on argument names, not just descriptions.
484 * malloc/memusagestat.c (options): Likewise.
485 * nss/getent.c (options): Likewise.
487 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
490 * iconv/iconv_prog.c (options): Put N_ translation marker
491 on argument names, not just descriptions.
492 * iconv/iconvconfig.c (options): Likewise.
494 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
496 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
497 implementation which is faster on all x86_64 architectures.
498 Tested on AMD, Intel Nehalem, SNB, IVB.
499 * sysdeps/x86_64/strnlen.S: Likewise.
501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
502 Remove all multiarch strlen and strnlen versions.
503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
504 Remove strlen and strnlen related parts.
506 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
508 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
510 * sysdeps/x86_64/multiarch/strlen.S: Remove.
511 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
512 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
513 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
514 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
515 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
517 2013-03-17 Carlos O'Donell <carlos@redhat.com>
519 * manual/memory.texi (Malloc Tunable Parameters):
520 Sort parameters alphabetically. Add comments for missing entries.
522 2013-03-17 David S. Miller <davem@davemloft.net>
524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
526 2013-03-16 Joseph Myers <joseph@codesourcery.com>
529 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
530 for arguments at most half maximum finite value.
531 * math/libm-test.inc (j0_test): Add more tests.
535 * sysdeps/i386/fpu/libm-test-ulps: Update.
536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
539 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
540 1 / x and functions P and Q for arguments above 0x1p256L.
541 (__ieee754_y0l): Likewise.
542 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
543 (__ieee754_y1l): Likewise.
544 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
549 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
551 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
554 2013-03-15 Roland McGrath <roland@hack.frob.com>
556 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
557 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
558 zero since it's initialized to EXEC_PAGESIZE.
560 * sysdeps/unix/sysv/linux/ldsodefs.h
561 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
562 * sysdeps/generic/ldsodefs.h: ... here.
564 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
566 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
568 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
570 * math/test-snan.c: Renamed from
571 sysdeps/powerpc/fpu/test-powerpc-snan.c.
572 * math/Makefile (tests): Add test-snan.
573 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
576 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
577 SUFFIX. Initialize qNaN_var with __builtin_nan family of
579 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
580 __builtin_nan family of functions.
581 * math/libm-test.inc (initialize): Initialize qnan_value with
582 __builtin_nan family of functions.
583 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
585 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
587 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
588 storage class. Initialize qNaN_var and sNaN_var with
589 __builtin_nan and __builtin_nans families of functions,
592 * math/libm-test.inc (acosh_test): Also test with qNaN input.
593 (sqrt_test): Remove duplicate test with qNaN input.
594 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
595 (round_test, signbit_test, significand_test): Note missing +/-Inf
596 as well as qNaN tests.
598 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
599 qNaN_var. Fix a few strings, too.
600 * math/libm-test.inc (nan_value): Rename to qnan_value.
601 * math/gen-libm-test.pl (%beautify): Adjust to that.
602 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
603 * math/test-misc.c (main): Likewise.
604 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
605 to __qnan_bytes, and __qnan_union, respectively.
606 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
608 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
609 and lqnanval, respectively.
610 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
611 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
612 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
613 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
615 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
616 * math/test-misc.c (main) [__x86_64__]: Enable test for long
619 * math/test-misc.c (main): Fix copy'n'pastos.
620 * misc/tst-efgcvt.c (special): Likewise.
622 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
625 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
627 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
628 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
629 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
630 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
632 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
634 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
635 macro to return vdso values correctly in IFUNC implementations.
636 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
637 Optimization by using IFUNC.
639 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
640 Richard Henderson <rth@redhat.com>
641 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
643 * Makefile.in (bench): New target.
644 * NEWS: Mention the benchmark framework.
645 * Rules (bench): Likewise.
646 (binaries-bench): Generate binaries for functions to
648 * benchtests/Makefile: New makefile for benchmark tests.
649 * benchtests/bench-skeleton.c: New skeleton file for benchmark
651 * benchtests/exp-inputs: New input file for EXP function.
652 * benchtests/pow-inputs: New input file for POW function.
653 * scripts/bench.pl: New script to generate source files for
656 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
658 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
659 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
660 computations on mantissa. Use macros for rounding and
663 (__dbl_mp): Likewise.
664 (add_magnitudes): Likewise.
665 (sub_magnitudes): Likewise.
668 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
669 powers of two in terms of TWOPOW macro.
670 (mp_no): Make type of mantissa as MANTISSA_T.
671 [!RADIXI]: Define RADIXI.
672 [!TWO52]: Define TWO52.
673 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
675 * manual/nptl.texi (cindex): Modify threads to pthreads.
677 2013-03-15 Joseph Myers <joseph@codesourcery.com>
679 * sysdeps/x86_64/preconfigure: Regenerated.
681 2013-03-14 Joseph Myers <joseph@codesourcery.com>
684 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
686 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
687 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
689 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
690 * math/libm-test.inc (j0_test): Do not allow one spurious
694 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
696 * manual/Makefile (chapters): Add nptl.
697 * manual/debug.texi (Debugging Support): Add link to Threads
699 * manual/nptl.texi: New file.
701 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
703 2013-03-14 Petr Baudis <pasky@ucw.cz>
705 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
706 for non-NULL pointer before the memory validity test. Pointed
707 out by Holger Brunck <holger.brunck@keymile.com>.
709 2013-03-13 Andreas Schwab <schwab@suse.de>
711 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
714 2013-03-13 Joseph Myers <joseph@codesourcery.com>
716 * timezone/zic.c: Update from tzcode 2013b.
718 2013-03-12 Carlos O'Donell <carlos@redhat.com>
720 * manual/install.texi (Configuring and compiling):
721 Mention i686 and i586.
722 * INSTALL: Regenerate.
724 2013-03-12 Roland McGrath <roland@hack.frob.com>
726 * sysdeps/init_array/elf-init.c: New file.
728 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
729 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
731 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
732 __gmon_start__ as global, but as static with a .preinit_array pointer.
733 * sysdeps/init_array/gmon-start.c: New file. Use that.
734 * sysdeps/init_array/crti.S: New file, empty except for comments.
735 * sysdeps/init_array/crtn.S: Likewise.
737 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
739 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
742 Remove Prefer_SSE_for_memop.
743 * sysdeps/x86_64/multiarch/init-arch.h: Remove
744 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
745 HAS_PREFER_SSE_FOR_MEMOP.
746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
748 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
749 Remove bzero, memset ifunc support.
750 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
751 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
752 * sysdeps/x86_64/multiarch/memset.S: Likewise.
753 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
755 2013-03-11 Andreas Schwab <schwab@suse.de>
758 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
761 (GLIBC_2.16): Remove pthread_atfork.
763 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
765 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
766 (ptestcases.h): Likewise.
768 2013-03-08 Roland McGrath <roland@hack.frob.com>
770 * Makeconfig ($(common-objpfx)config.status): Depend on
771 sysdeps/*/preconfigure{,.in} too.
773 2013-03-08 Joseph Myers <joseph@codesourcery.com>
775 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
776 (__free_hook): Use void * instead of __malloc_ptr_t.
777 (__malloc_hook): Likewise.
778 (__realloc_hook): Likewise.
779 (__memalign_hook): Likewise.
780 (__after_morecore_hook): Likewise.
781 * malloc/arena.c (save_malloc_hook): Likewise.
782 (save_free_hook): Likewise.
783 * malloc/hooks.c (malloc_hook_ini): Likewise.
784 (realloc_hook_ini): Likewise.
785 (memalign_hook_ini): Likewise.
786 * malloc/malloc.c (malloc_hook_ini): Likewise.
787 (realloc_hook_ini): Likewise.
788 (memalign_hook_ini): Likewise.
789 (__free_hook): Likewise.
790 (__malloc_hook): Likewise.
791 (__realloc_hook): Likewise.
792 (__memalign_hook): Likewise.
793 (__libc_malloc): Likewise.
794 (__libc_free): Likewise.
795 (__libc_realloc): Likewise.
796 (__libc_memalign): Likewise.
797 (__libc_valloc): Likewise.
798 (__libc_pvalloc): Likewise.
799 (__libc_calloc): Likewise.
800 (__posix_memalign): Likewise.
801 * malloc/morecore.c (__sbrk): Likewise.
802 (__default_morecore): Likewise.
804 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
806 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
807 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
810 * malloc/malloc.h (__malloc_size_t): Remove macro.
811 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
813 (old_memalign_hook): Likewise.
814 (old_realloc_hook): Likewise.
815 (struct hdr): Likewise.
817 (mallochook): Likewise.
818 (memalignhook): Likewise.
819 (reallochook): Likewise.
820 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
821 (tr_old_realloc_hook): Likewise.
822 (tr_old_memalign_hook): Likewise.
823 (tr_mallochook): Likewise.
824 (tr_reallochook): Likewise.
825 (tr_memalignhook): Likewise.
827 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
829 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
830 default_ldbl_pack and using as default implementation.
831 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
833 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
834 redundant definition.
835 (ldbl_insert_mantissa): Likewise.
836 (ldbl_canonicalize): Likewise.
837 (ldbl_nearbyint): Likewise.
838 (ldbl_pack): Rename to ldbl_pack_ppc.
839 (ldbl_unpack): Rename to ldbl_unpack_ppc.
840 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
841 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
843 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
846 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
847 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
848 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
850 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
851 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
852 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
854 2013-03-07 Andreas Jaeger <aj@suse.de>
856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
859 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
861 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
862 Include mpa.h and declare __MPEXP.
863 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
864 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
865 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
866 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
867 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
868 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
869 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
871 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
872 (__slowpow): Use long double EXPL and LOGL functions to
874 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
875 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
876 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
877 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
878 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
879 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
882 intermediate variable to calculate exponent.
884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
888 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
889 [!NO__SQR]: Define __sqr.
890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
891 and NO__SQR. Remove all code except __mul and __sqr. Include
892 sysdeps/ieee754/dbl-64/mpa.c.
893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
896 * posix/Makefile (tests): Add tst-pathconf.
897 * posix/tst-pathconf.c: New test case.
898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
900 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
902 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
904 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
906 2013-03-06 Andreas Jaeger <aj@suse.de>
908 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
909 definition via __MAP_ANONYMOUS.
911 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
912 it's not part of Linux headers.
914 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
915 (MAP_HUGE_MASK): Define.
917 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
919 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
922 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
923 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
925 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
926 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
928 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
930 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
931 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
932 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
933 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
934 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
935 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
937 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
940 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
941 Handle f2fs and efivarfs.
943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
946 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
947 (EFIVARFS_MAGIC): Add.
948 (F2FS_LINK_MAX): Add.
950 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
952 * stdio-common/vfprintf.c: Replace __builtin_expect with
955 2013-03-06 Joseph Myers <joseph@codesourcery.com>
958 * sysdeps/generic/bp-sym.h: Remove file.
959 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
960 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
961 <bp-sym.h> and <bp-asm.h>.
962 (__longjmp): Don't use BP_SYM.
963 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
965 (memcpy): Don't use BP_SYM.
966 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
967 <bp-sym.h> and <bp-asm.h>.
968 (memcpy): Don't use BP_SYM.
969 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
971 (memcpy): Don't use BP_SYM.
972 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
974 (memset): Don't use BP_SYM.
975 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
976 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
977 (__bzero): Don't use BP_SYM.
978 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
979 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
980 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
981 <bp-sym.h> and <bp-asm.h>.
982 (memcmp): Don't use BP_SYM. Remove comment about bounded
984 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
985 <bp-sym.h> and <bp-asm.h>.
986 (memcpy): Don't use BP_SYM.
987 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
988 <bp-sym.h> and <bp-asm.h>.
989 (memset): Don't use BP_SYM.
990 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
991 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
992 (__bzero): Don't use BP_SYM.
993 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
994 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
995 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
996 <bp-sym.h> and <bp-asm.h>.
997 (strncmp): Don't use BP_SYM. Remove comment about bounded
999 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1000 <bp-sym.h> and <bp-asm.h>.
1001 (memcpy): Don't use BP_SYM.
1002 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1003 <bp-sym.h> and <bp-asm.h>.
1004 (memset): Don't use BP_SYM.
1005 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1006 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1007 (__bzero): Don't use BP_SYM.
1008 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1009 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1010 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1011 <bp-sym.h> and <bp-asm.h>.
1012 (__memchr): Don't use BP_SYM.
1013 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1014 <bp-sym.h> and <bp-asm.h>.
1015 (memcmp): Don't use BP_SYM. Remove comment about bounded
1017 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1018 <bp-sym.h> and <bp-asm.h>.
1019 (memcpy): Don't use BP_SYM.
1020 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1021 <bp-sym.h> and <bp-asm.h>.
1022 (__mempcpy): Don't use BP_SYM.
1023 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1024 <bp-sym.h> and <bp-asm.h>.
1025 (__memrchr): Don't use BP_SYM.
1026 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1027 <bp-sym.h> and <bp-asm.h>.
1028 (memset): Don't use BP_SYM.
1029 (__bzero): Likewise.
1030 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1031 <bp-sym.h> and <bp-asm.h>.
1032 (__rawmemchr): Don't use BP_SYM.
1033 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1034 <bp-sym.h> and <bp-asm.h>.
1035 (__STRCMP): Don't use BP_SYM.
1036 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1037 <bp-sym.h> and <bp-asm.h>.
1038 (strchr): Don't use BP_SYM.
1039 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1040 <bp-sym.h> and <bp-asm.h>.
1041 (__strchrnul): Don't use BP_SYM.
1042 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1043 <bp-sym.h> and <bp-asm.h>.
1044 (strlen): Don't use BP_SYM.
1045 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1046 <bp-sym.h> and <bp-asm.h>.
1047 (strncmp): Don't use BP_SYM. Remove comment about bounded
1049 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1050 <bp-sym.h> and <bp-asm.h>.
1051 (__strnlen): Don't use BP_SYM.
1052 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1053 <bp-sym.h> and <bp-asm.h>.
1054 (__GI__setjmp): Don't use BP_SYM.
1055 (_setjmp): Likewise.
1056 (__sigsetjmp): Likewise.
1057 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1058 (L(start_addresses)): Don't use BP_SYM.
1060 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1062 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1063 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1064 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1065 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1066 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1068 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1069 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1070 about bounded pointers.
1071 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1072 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1073 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1075 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1076 about bounded pointers. Remove GKM FIXME comments.
1077 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1078 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1080 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1081 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1082 Remove GKM FIXME comments.
1083 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1084 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1085 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1087 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1088 about bounded pointers. Remove GKM FIXME comment.
1089 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1091 (strncmp): Don't use BP_SYM. Remove comment about bounded
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1094 <bp-sym.h> and <bp-asm.h>.
1095 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1097 <bp-sym.h> and <bp-asm.h>.
1098 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1101 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1103 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1106 2013-03-05 David S. Miller <davem@davemloft.net>
1108 * po/es.po: Update from translation team.
1110 2013-03-05 Andreas Jaeger <aj@suse.de>
1112 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1113 <bits/mman-linux.h>.
1114 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1116 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1117 <bits/mman-linux.h> to end of file.
1118 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1120 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1121 <bits/mman-linux.h> to end of file.
1122 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1124 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1125 <bits/mman-linux.h> to end of file.
1127 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1128 (MCL_CURRENT, MCL_FUTURE): Define here.
1130 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1133 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1135 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1137 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1139 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1140 fourth parameter needed for rt_sigprocmask syscall.
1141 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1142 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1143 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1144 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1145 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1146 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1148 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1151 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1152 comment about bounded pointers.
1153 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1154 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1156 2013-03-04 Andreas Jaeger <aj@suse.de>
1158 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1161 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1162 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1163 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1164 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1165 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1168 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1171 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1172 __ieee754_sqrl instead of __sqrl.
1174 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1176 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1177 * sysdeps/powerpc/fpu_control.h: ... here.
1178 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1179 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1180 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1181 * sysdeps/powerpc/bits/mathinline.h: ... here.
1183 2013-03-01 Roland McGrath <roland@hack.frob.com>
1185 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1186 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1187 to just [NEED_DL_SYSINFO_DSO].
1188 * elf/dl-support.c: Likewise.
1189 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1190 * elf/rtld.c (dl_main): Likewise.
1191 * elf/setup-vdso.h (setup_vdso): Likewise.
1192 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1193 * sysdeps/unix/sysv/linux/dl-sysdep.c
1194 (_dl_discover_osversion): Likewise.
1196 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1198 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1199 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1201 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1203 * NEWS: Mention libm performance improvements and non-x86 PI
1206 * csu/libc-start.c (__pthread_initialize_minimal): Change
1208 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1210 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1213 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1214 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1215 <bp-sym.h> and <bp-asm.h>.
1216 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1217 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1219 (memcpy): Don't use BP_SYM.
1220 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1222 (__mpn_add_n): Don't use BP_SYM.
1223 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1224 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1226 (__mpn_addmul_1): Don't use BP_SYM.
1227 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1228 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1230 (_setjmp): Don't use BP_SYM.
1231 (__novmx_setjmp): Likewise.
1232 (__GI__setjmp): Likewise.
1233 (__vmx_setjmp): Likewise.
1234 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1236 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1237 (__bzero): Don't use BP_SYM.
1238 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1239 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1240 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1241 <bp-sym.h> and <bp-asm.h>.
1242 (memcpy): Don't use BP_SYM.
1243 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1244 <bp-sym.h> and <bp-asm.h>.
1245 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1246 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1247 <bp-sym.h> and <bp-asm.h>.
1248 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1249 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1251 (__mpn_lshift): Don't use BP_SYM.
1252 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1253 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1255 (memset): Don't use BP_SYM.
1256 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1257 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1258 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1260 (__mpn_mul_1): Don't use BP_SYM.
1261 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1262 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1263 <bp-sym.h> and <bp-asm.h>.
1264 (memcmp): Don't use BP_SYM.
1265 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1266 <bp-sym.h> and <bp-asm.h>.
1267 (memcpy): Don't use BP_SYM.
1268 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1269 <bp-sym.h> and <bp-asm.h>.
1270 (memset): Don't use BP_SYM.
1271 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1272 <bp-sym.h> and <bp-asm.h>.
1273 (strncmp): Don't use BP_SYM.
1274 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1275 <bp-sym.h> and <bp-asm.h>.
1276 (memcpy): Don't use BP_SYM.
1277 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1278 <bp-sym.h> and <bp-asm.h>.
1279 (memset): Don't use BP_SYM.
1280 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1281 <bp-sym.h> and <bp-asm.h>.
1282 (__memchr): Don't use BP_SYM.
1283 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1284 <bp-sym.h> and <bp-asm.h>.
1285 (memcmp): Don't use BP_SYM.
1286 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1287 <bp-sym.h> and <bp-asm.h>.
1288 (memcpy): Don't use BP_SYM.
1289 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1290 <bp-sym.h> and <bp-asm.h>.
1291 (__mempcpy): Don't use BP_SYM.
1292 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1293 <bp-sym.h> and <bp-asm.h>.
1294 (__memrchr): Don't use BP_SYM.
1295 * sysdeps/powerpc/powerpc32/power7/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/rawmemchr.S: Don't include
1299 <bp-sym.h> and <bp-asm.h>.
1300 (__rawmemchr): Don't use BP_SYM.
1301 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1302 <bp-sym.h> and <bp-asm.h>.
1303 (__STRCMP): Don't use BP_SYM.
1304 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1305 <bp-sym.h> and <bp-asm.h>.
1306 (strchr): Don't use BP_SYM.
1307 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1308 <bp-sym.h> and <bp-asm.h>.
1309 (__strchrnul): Don't use BP_SYM.
1310 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1311 <bp-sym.h> and <bp-asm.h>.
1312 (strlen): Don't use BP_SYM.
1313 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1314 <bp-sym.h> and <bp-asm.h>.
1315 (strncmp): Don't use BP_SYM.
1316 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1317 <bp-sym.h> and <bp-asm.h>.
1318 (__strnlen): Don't use BP_SYM.
1319 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1321 (__mpn_rshift): Don't use BP_SYM.
1322 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1323 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1324 <bp-sym.h> and <bp-asm.h>.
1325 (__sigsetjmp): Don't use BP_SYM.
1326 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1327 (L(start_addresses)): Don't use BP_SYM.
1329 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1331 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1332 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1333 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1334 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1336 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1337 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1338 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1339 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1341 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1343 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1344 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1346 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1348 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1349 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1350 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1352 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1354 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1356 (strncmp): Don't use BP_SYM,
1357 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1359 (__mpn_sub_n): Don't use BP_SYM.
1360 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1361 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1363 (__mpn_submul_1): Don't use BP_SYM.
1364 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1366 <bp-sym.h> and <bp-asm.h>.
1367 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1369 <bp-sym.h> and <bp-asm.h>.
1370 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1373 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1376 Use ZK to minimize writes to Z.
1377 (sub_magnitudes): Simplify code a bit.
1378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1379 Use ZK to minimize writes to Z.
1380 (sub_magnitudes): Simplify code a bit.
1382 2013-02-27 Roland McGrath <roland@hack.frob.com>
1384 * csu/gmon-start.c: Add special exception to license text.
1386 2013-02-27 Richard Henderson <rth@redhat.com>
1388 * scripts/config.guess: Update from config.git.
1389 * scripts/config.sub: Likewise.
1391 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1393 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1395 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1397 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1399 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1401 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1403 2013-02-26 Roland McGrath <roland@hack.frob.com>
1405 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1406 [$(build-shared = yes].
1408 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1410 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1411 (__mul): Reduce iterations for calculating mantissa.
1413 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1415 (__mpranred): Likewise.
1418 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1419 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1421 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1423 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1424 Define __attribute__.
1426 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1428 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1430 * posix/regex_internal.h (__attribute): Remove.
1431 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1432 (re_string_context_at): Likewise.
1433 (bitset_not): Use __attribute__ and mark function as possibly
1435 (bitset_merge): Likewise.
1436 (bitset_mask): Likewise.
1437 (re_string_char_size_at): Likewise.
1438 (re_string_wchar_at): Likewise.
1439 (re_string_elem_size_at): Likewise.
1441 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1443 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1447 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1452 (__dbl_mp): Likewise.
1453 (add_magnitudes): Likewise.
1454 (sub_magnitudes): Likewise.
1458 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1461 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1464 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1468 up changes with default code.
1469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1472 2013-02-24 Allan McRae <allan@archlinux.org>
1474 * manual/socket.texi (The Internet Namespace): Order menu items
1475 to match that in the file.
1477 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1478 node listing of the info page menu.
1480 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1483 * sysdeps/i386/bp-asm.h: Remove file.
1484 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1485 (PARMS): Do not use macros from bp-asm.h.
1489 (__mpn_add_n): Do not use BP_SYM
1490 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1492 (PARMS): Do not use macros from bp-asm.h.
1495 (__mpn_addmul_1): Do not use BP_SYM
1496 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1498 (PARMS): Do not use macros from bp-asm.h.
1500 (_setjmp): Likewise. Do not use BP_SYM.
1501 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1503 (PARMS): Do not use macros from bp-asm.h.
1505 (setjmp): Likewise. Do not use BP_SYM.
1506 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1508 (PARMS): Do not use macros from bp-asm.h.
1509 (__frexp): Do not use BP_SYM.
1511 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1513 (PARMS): Do not use macros from bp-asm.h.
1514 (__frexpf): Do not use BP_SYM.
1516 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1518 (PARMS): Do not use macros from bp-asm.h.
1519 (__frexpl): Do not use BP_SYM.
1521 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1523 (PARMS): Do not use macros from bp-asm.h.
1524 (__remquo): Do not use BP_SYM.
1526 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1528 (PARMS): Do not use macros from bp-asm.h.
1529 (__remquof): Do not use BP_SYM.
1530 (remquof): Likewise.
1531 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1533 (PARMS): Do not use macros from bp-asm.h.
1534 (__remquol): Do not use BP_SYM.
1535 (remquol): Likewise.
1536 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1538 (PARMS): Do not use macros from bp-asm.h.
1541 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1542 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1544 (PARMS): Do not use macros from bp-asm.h.
1545 (strlen): Do not use BP_SYM.
1546 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1548 (PARMS): Do not use macros from bp-asm.h.
1552 (__mpn_add_n): Do not use BP_SYM.
1553 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1555 (PARMS): Do not use macros from bp-asm.h.
1558 (__mpn_addmul_1): Do not use BP_SYM.
1559 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1562 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1564 (PARMS): Do not use macros from bp-asm.h.
1567 (__mpn_lshift): Do not use BP_SYM.
1568 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1570 (PARMS): Do not use macros from bp-asm.h.
1574 (memcpy): Likewise. Do not use BP_SYM.
1575 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1576 libc_hidden_def and weak_alias.
1577 (mempcpy): Do not use BP_SYM in weak_alias.
1578 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1580 (PARMS): Do not use macros from bp-asm.h.
1583 [!BZERO_P] (CHR): Likewise.
1584 (memset): Likewise. Do not use BP_SYM.
1585 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1587 (PARMS): Do not use macros from bp-asm.h.
1590 (__mpn_mul_1): Do not use BP_SYM.
1591 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1593 (PARMS): Do not use macros from bp-asm.h.
1596 (__mpn_rshift): Do not use BP_SYM.
1597 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1599 (PARMS): Do not use macros from bp-asm.h.
1602 (strchr): Likewise. Do not use BP_SYM.
1603 (index): Do not use BP_SYM in weak_alias.
1604 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1606 (PARMS): Do not use macros from bp-asm.h.
1609 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1610 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1612 (PARMS): Do not use macros from bp-asm.h.
1613 (strlen): Do not use BP_SYM.
1614 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1616 (PARMS): Do not use macros from bp-asm.h.
1620 (__mpn_sub_n): Do not use BP_SYM.
1621 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1623 (PARMS): Do not use macros from bp-asm.h.
1626 (__mpn_submul_1): Do not use BP_SYM.
1627 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1629 (PARMS): Do not use macros from bp-asm.h.
1633 (__mpn_add_n): Do not use BP_SYM.
1634 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1637 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1639 (PARMS): Do not use macros from bp-asm.h.
1642 (memcmp): Do not use BP_SYM.
1643 (bcmp): Do not use BP_SYM in weak_alias.
1644 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1646 (PARMS): Do not use macros from bp-asm.h.
1650 (memcpy): Likewise. Do not use BP_SYM.
1651 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1653 (PARMS): Do not use macros from bp-asm.h.
1657 (memmove): Likewise. Do not use BP_SYM.
1658 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1660 (PARMS): Do not use macros from bp-asm.h.
1664 (__mempcpy): Likewise. Do not use BP_SYM.
1665 (mempcpy): Do not use BP_SYM in weak_alias.
1666 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1668 (PARMS): Do not use macros from bp-asm.h.
1671 [!BZERO_P] (CHR): Likewise.
1672 (memset): Likewise. Do not use BP_SYM.
1673 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1675 (PARMS): Do not use macros from bp-asm.h.
1677 (strcmp): Do not use BP_SYM.
1678 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1680 (PARMS): Do not use macros from bp-asm.h.
1683 [USE_AS_STRTOK_R] (SAVE): Likewise.
1684 (FUNCTION): Likewise. Do not use BP_SYM.
1685 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1687 (strtok_r): Likewise.
1688 (__GI___strtok_r): Likewise.
1689 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1690 (PARMS): Do not use macros from bp-asm.h.
1693 (__mpn_lshift): Do not use BP_SYM.
1694 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1695 (PARMS): Do not use macros from bp-asm.h.
1698 (__memchr): Do not use BP_SYM.
1699 (memchr): Do not use BP_SYM in weak_alias.
1700 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1701 (PARMS): Do not use macros from bp-asm.h.
1704 (memcmp): Do not use BP_SYM.
1705 (bcmp): Do not use BP_SYM in weak_alias.
1706 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1707 (PARMS): Do not use macros from bp-asm.h.
1710 (__mpn_mul_1): Do not use BP_SYM.
1711 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1713 (PARMS): Do not use macros from bp-asm.h.
1716 (__rawmemchr): Do not use BP_SYM.
1717 (rawmemchr): Do not use BP_SYM in weak_alias.
1718 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1719 (PARMS): Do not use macros from bp-asm.h.
1722 (__mpn_rshift): Do not use BP_SYM.
1723 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1724 (PARMS): Do not use macros from bp-asm.h.
1726 (__sigsetjmp): Likewise. Do not use BP_SYM.
1727 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1728 (_start): Do not use BP_SYM.
1729 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1730 (PARMS): Do not use macros from bp-asm.h.
1733 (__stpcpy): Likewise. Do not use BP_SYM.
1734 (stpcpy): Do not use BP_SYM in weak_alias.
1735 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1737 (PARMS): Do not use macros from bp-asm.h.
1741 (__stpncpy): Likewise. Do not use BP_SYM.
1742 (stpncpy): Do not use BP_SYM in weak_alias.
1743 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1744 (PARMS): Do not use macros from bp-asm.h.
1747 (strchr): Likewise. Do not use BP_SYM.
1748 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1750 (PARMS): Do not use macros from bp-asm.h.
1753 (__strchrnul): Likewise. Do not use BP_SYM.
1754 (strchrnul): Do not use BP_SYM in weak_alias.
1755 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1757 (PARMS): Do not use macros from bp-asm.h.
1759 (strcspn): Do not use BP_SYM.
1760 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1762 (PARMS): Do not use macros from bp-asm.h.
1765 (strpbrk): Likewise. Do not use BP_SYM.
1766 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1768 (PARMS): Do not use macros from bp-asm.h.
1771 (strrchr): Likewise. Do not use BP_SYM.
1772 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1773 (PARMS): Do not use macros from bp-asm.h.
1775 (strspn): Do not use BP_SYM.
1776 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1777 (PARMS): Do not use macros from bp-asm.h.
1781 (FUNCTION): Likewise. Do not use BP_SYM.
1782 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1784 (strtok_r): Likewise.
1785 (__GI___strtok_r): Likewise.
1786 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1787 (PARMS): Do not use macros from bp-asm.h.
1791 (__mpn_sub_n): Do not use BP_SYM.
1792 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1794 (PARMS): Do not use macros from bp-asm.h.
1797 (__mpn_submul_1): Do not use BP_SYM.
1798 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1800 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1802 (PARMS): Do not use macros from bp-asm.h.
1807 (__clone): Do not use BP_SYM.
1808 (clone): Do not use BP_SYM in weak_alias.
1809 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1811 (PARMS): Do not use macros from bp-asm.h.
1813 (__mmap64): Do not use BP_SYM.
1814 (mmap64): Do not use BP_SYM in weak_alias.
1815 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1816 <bp-sym.h> and <bp-asm.h>.
1817 (PARMS): Do not use macros from bp-asm.h.
1818 (__posix_fadvise64_l64): Do not use BP_SYM.
1819 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1820 (PARMS): Do not use macros from bp-asm.h.
1822 (semtimedop): Do not use BP_SYM.
1823 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1826 2013-02-21 Allan McRae <allan@archlinux.org>
1828 * manual/message.texi (Charset conversion in gettext):
1829 Move @end statement to beginning of line.
1831 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1838 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1843 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1845 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1846 tail-call to the resolved function if pltexit isn't needed.
1848 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1851 or Y being zero as being unlikely.
1852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1855 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1857 * manual/nss.texi (System Databases and Name Service Switch):
1858 Remove frobnicate @pxref.
1860 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1862 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1863 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1865 2013-02-20 Petr Machata <pmachata@redhat.com>
1867 * elf/elf.h (R_ARM_TARGET1): New macro.
1868 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1869 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1870 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1871 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1872 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1873 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1874 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1875 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1876 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1877 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1878 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1879 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1880 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1881 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1882 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1883 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1884 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1885 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1886 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1887 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1888 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1889 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1890 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1891 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1892 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1893 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1894 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1895 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1896 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1897 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1898 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1899 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1900 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1901 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1902 (R_ARM_THM_GOT_BREL12): Likewise.
1903 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1904 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1905 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1906 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1907 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1908 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1909 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1910 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1911 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1913 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1915 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1916 __attribute_used__ to __attribute__ ((unused)).
1918 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1920 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1926 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1929 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1931 (ENTER): Remove both macro definitions.
1933 (CHECK_BOUNDS_LOW): Likewise.
1934 (CHECK_BOUNDS_HIGH): Likewise.
1935 (CHECK_BOUNDS_BOTH): Likewise.
1936 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1937 (RETURN_BOUNDED_POINTER): Likewise.
1938 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1939 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1940 (POP_ERRNO_LOCATION_RETURN): Likewise.
1941 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1942 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1943 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1945 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1946 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1947 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1948 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1949 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1950 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1951 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1952 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1953 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1954 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1955 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1956 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1957 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1958 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1960 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1961 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1963 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1964 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1965 * sysdeps/i386/i586/memset.S (memset): Likewise.
1966 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1967 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1968 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1970 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1971 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1972 Change uses of L(2) to L(out).
1973 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1974 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1975 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1976 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1977 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1979 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1980 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1982 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1983 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1984 (RETURN): Do not use macro LEAVE.
1985 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1986 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1987 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1988 * sysdeps/i386/i686/memset.S (memset): Likewise.
1989 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1990 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1991 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1992 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1994 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1995 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1996 L(1_2) and L(1_3) into L(1).
1997 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1998 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1999 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2000 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2001 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2002 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2003 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2004 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2005 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2007 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2008 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2009 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2010 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2011 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2012 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2013 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2014 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2015 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2016 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2017 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2018 * sysdeps/i386/strspn.S (strspn): Likewise.
2019 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2021 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2022 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2023 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2024 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2026 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2027 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2028 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2030 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2032 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2034 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2037 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2039 * math/atest-exp.c (exp_mpn): Remove ROUND.
2040 * math/atest-exp2.c (exp_mpn): Likewise.
2041 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2043 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2044 * stdlib/tst-tls-atexit-lib.c: Likewise.
2045 * stdlib/tst-tls-atexit.c: Likewise.
2047 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2049 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2050 and __attribute_alloc_size__.
2052 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2054 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2055 __attribute_alloc_size__.
2056 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2057 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2059 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2061 * include/programs/xmalloc.h: New file.
2062 * catgets/gencat.c: Include it.
2063 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2064 * elf/pldd.c: Likewise.
2065 * iconv/iconv_charmap.c: Likewise.
2066 * iconv/iconvconfig.c: Likewise.
2067 * iconv/strtab.c: Likewise.
2068 * locale/programs/locale.c: Likewise.
2069 * locale/programs/localedef.h: Likewise.
2070 * locale/programs/simple-hash.c: Likewise.
2071 * nscd/nscd.h: Likewise.
2072 * nss/makedb.c: Likewise.
2073 * sysdeps/generic/ldconfig.h: Likewise.
2075 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2077 * Versions.def: Add GLIBC_2.18.
2078 * include/link.h (struct link_map): New member l_tls_dtor_count.
2079 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2080 (__call_tls_dtors): Likewise.
2081 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2082 __cxa_thread_atexit_impl.
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2091 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2099 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2100 (tests): Add test case tst-tls-atexit.
2101 (modules-names): Add shared library for tst-tls-atexit.
2102 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2103 (GLIBC_PRIVATE): Add __call_tls_dtors.
2104 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2106 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2107 * stdlib/tst-tls-atexit.c: New test case.
2108 * stdlib/tst-tls-atexit-lib.c: New test case.
2110 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2112 * elf/Versions (ld): Add _dl_find_dso_for_object.
2113 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2114 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2115 (dl_open_worker): Use _dl_find_dso_for_object.
2116 * elf/dl-sym.c (do_sym): Likewise.
2117 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2119 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2121 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2122 Syntactic changes only.
2123 (_dl_runtime_profile): Do a tail-call to the resolved function.
2125 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2128 * sysdeps/x86_64/bp-asm.h: Remove file.
2129 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2130 <bp-sym.h> and <bp-asm.h>.
2131 (__clone): Do not use BP_SYM.
2132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2133 <bp-sym.h> and <bp-asm.h>.
2134 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2135 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2137 (_setjmp): Do not use BP_SYM.
2138 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2140 (setjmp): Do not use BP_SYM.
2141 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2143 (mempcpy): Do not use BP_SYM in weak_alias.
2144 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2146 (strchr): Do not use BP_SYM.
2147 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2149 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2150 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2151 (_start): Do not use BP_SYM.
2152 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2154 (strcat): Do not use BP_SYM.
2155 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2157 (STRCMP): Do not use BP_SYM.
2158 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2160 (STRCPY): Do not use BP_SYM.
2161 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2163 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2165 (FUNCTION): Do not use BP_SYM.
2166 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2168 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2170 2013-02-17 Andreas Jaeger <aj@suse.de>
2172 * time/Versions: Sort entries.
2173 * string/Versions: Likewise.
2174 * resolv/Versions: Likewise.
2175 * posix/Versions: Likewise.
2176 * iconv/Versions: Likewise.
2177 * elf/Versions: Likewise.
2178 * wcsmbs/Versions: Likewise.
2180 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2182 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2183 loop termination condition.
2185 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2186 variable to calculate EZ.
2189 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2190 the lower precision input.
2192 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2195 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2196 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2197 (run-via-rtld-prefix): Do not handle %-bp tests.
2198 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2199 (all-object-suffixes): Remove .ob.
2200 (bppfx): Remove variable.
2201 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2202 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2203 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2204 [$(build-bounded) = yes] (libtype.ob): Likewise.
2205 * Makerules (elide-routines.ob): Remove variable.
2206 (do-tests-clean): Do not handle *-bp.out.
2207 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2208 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2209 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2210 (tests): Do not include $(tests-bp.out).
2211 (xtests): Do not include $(xtests-bp.out).
2212 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2213 [$(build-bounded) = yes] ($(addprefix
2214 $(objpfx),$(binaries-bounded))): Remove rule.
2215 ($(objpfx)%-bp.out): Remove rule.
2216 * config.make.in (build-bounded): Remove variable.
2217 * crypt/Makefile [$(build-bounded) = yes]
2218 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2219 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2221 [$(build-bounded) = yes] (install-lib): Likewise.
2222 [$(build-bounded) = yes] (generated): Likewise.
2223 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2225 * intl/Makefile [$(build-bounded) = yes]
2226 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2227 * math/Makefile [$(build-bounded) = yes]
2228 ($(tests:%=$(objpfx)%-bp): Likewise.
2229 * misc/Makefile [$(build-bounded) = yes]
2230 ($(objpfx)tst-tsearch-bp): Likewise.
2231 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2232 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2234 * string/Makefile (o-objects.ob): Remove variable.
2235 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2236 (CFLAGS-.ob): Remove variable.
2237 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2238 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2239 both definitions of variable.
2240 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2241 (ASFLAGS-.ob): Remove variable.
2243 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2246 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2247 Remove __BOUNDED_POINTERS__ from condition.
2248 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2249 * string/bits/string2.h [!__NO_STRING_INLINES &&
2250 !__BOUNDED_POINTERS__]: Likewise.
2251 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2253 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2254 Remove conditional code.
2255 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2256 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2257 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2261 * csu/libc-start.c: Do not include <bp-sym.h>.
2262 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2263 * elf/dl-open.c: Do not include <bp-sym.h>.
2264 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2265 * math/fegetenv.c: Do not include <bp-sym.h>.
2266 (fegetenv): Do not use BP_SYM in versioned symbols.
2267 * nptl/sysdeps/pthread/bits/libc-lockP.h
2268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2271 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2273 (__pthread_mutex_destroy): Likewise.
2274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2275 (__pthread_mutex_lock): Likewise.
2276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2277 (__pthread_mutex_trylock): Likewise.
2278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2279 (__pthread_mutex_unlock): Likewise.
2280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2281 (__pthread_mutexattr_init): Likewise.
2282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2283 (__pthread_mutexattr_destroy): Likewise.
2284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2285 (__pthread_mutexattr_settype): Likewise.
2286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2287 (__pthread_rwlock_init): Likewise.
2288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2289 (__pthread_rwlock_destroy): Likewise.
2290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2291 (__pthread_rwlock_rdlock): Likewise.
2292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2293 (__pthread_rwlock_tryrdlock): Likewise.
2294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2295 (__pthread_rwlock_wrlock): Likewise.
2296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2297 (__pthread_rwlock_trywrlock): Likewise.
2298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2299 (__pthread_rwlock_unlock): Likewise.
2300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2301 (__pthread_key_create): Likewise.
2302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2303 (__pthread_setspecific): Likewise.
2304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2305 (__pthread_getspecific): Likewise.
2306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2309 (_pthread_cleanup_push_defer): Likewise.
2310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2311 (_pthread_cleanup_pop_restore): Likewise.
2312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2313 (pthread_setcancelstate): Likewise.
2314 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2316 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2317 (memchr): Do not use BP_SYM in weak_alias.
2318 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2319 (fegetenv): Do not use BP_SYM in versioned symbols.
2320 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2321 (fesetenv): Do not use BP_SYM in versioned symbols.
2322 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2323 (feupdateenv): Do not use BP_SYM in versioned symbols.
2324 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2325 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2326 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2327 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2328 (open64): Do not use BP_SYM in weak_alias.
2329 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2330 (fegetenv): Do not use BP_SYM in versioned symbols.
2331 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2332 (fesetenv): Do not use BP_SYM in versioned symbols.
2333 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2334 (feupdateenv): Do not use BP_SYM in versioned symbols.
2335 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2336 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2337 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2338 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2339 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2340 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2341 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2343 (__libc_start_main): Do not use BP_SYM.
2345 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2348 redundant return line.
2352 (sub_magnitudes): Likewise.
2358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2362 (sub_magnitudes): Likewise.
2369 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2371 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2372 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2375 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2376 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2377 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2378 of __mul for squares.
2379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2383 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2384 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2386 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2389 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2391 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2392 prototype or function definition. Rename ubp_* variables and
2393 parameters. Remove argv definitions conditional on
2394 [__BOUNDED_POINTERS__].
2395 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2396 * elf/dl-runtime.c (_dl_fixup): Likewise.
2397 * include/set-hooks.h (RUN_HOOK): Likewise.
2398 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2400 * string/strcpy.c (strcpy): Do not use __unbounded.
2401 * sysdeps/generic/frame.h (struct layout): Likewise.
2402 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2403 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2404 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2405 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2406 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2407 (__backtrace): Likewise.
2408 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2410 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2411 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2412 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2414 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2415 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2416 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2417 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2418 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2419 Do not use __unbounded.
2420 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2421 Rename __unboundedrlimits parameter to rlimits in prototype.
2422 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2423 Do not use __unbounded.
2424 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2426 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2427 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2428 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2429 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2430 __ptrvalue or __unbounded.
2431 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2432 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2434 (__new_msgctl): Do not use __ptrvalue.
2435 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2437 (__libc_msgrcv): Do not use __ptrvalue.
2438 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2439 startup_info): Do not use __unbounded.
2440 (__libc_start_main): Likewise. Rename ubp_* variables and
2441 parameters. Remove argv definitions conditional on
2442 [__BOUNDED_POINTERS__].
2443 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2445 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2447 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2449 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2451 (__new_shmctl): Do not use __ptrvalue.
2452 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2453 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2455 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2456 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2457 (__libc_sigaction): Likewise.
2458 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2459 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2461 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2463 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2465 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2467 * string/mempcpy.c: Implement by calling memcpy.
2469 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2473 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2476 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2477 values in the mantissa.
2479 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2480 minimize writes to Z.
2481 (sub_magnitudes): Simplify code a bit.
2483 2013-02-12 Roland McGrath <roland@hack.frob.com>
2485 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2486 from the message. The linker prefixes all warnings with that already.
2488 2013-02-12 Andreas Schwab <schwab@suse.de>
2491 * posix/regexec.c (extend_buffers): Add parameter min_len.
2492 (check_matching): Pass minimum needed length.
2493 (clean_state_log_if_needed): Likewise.
2494 (get_subexp): Likewise.
2495 * posix/Makefile (tests): Add bug-regex34.
2496 (bug-regex34-ENV): Define.
2497 * posix/bug-regex34.c: New file.
2500 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2501 elements compare against the byte sequence of it, not its name.
2502 * posix/Makefile (tests): Add bug-regex35.
2503 (bug-regex35-ENV): Define.
2504 * posix/bug-regex35.c: New file.
2506 2013-02-11 Tom de Vries <tom@codesourcery.com>
2508 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2510 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2511 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2512 (CHECK_EOL): Add undef.
2514 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2516 * bits/stdlib-bsearch.h: New file.
2517 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2518 * stdlib/stdlib.h: Likewise.
2520 2013-02-11 Roland McGrath <roland@hack.frob.com>
2522 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2523 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2525 * manual/search.texi (Array Search Function): Add missing const in
2527 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2528 declaration to use rlim_t.
2529 (Basic Scheduling Functions): Remove erroneous const from
2530 sched_getparam prototype. Remove erroneous * from
2531 sched_get_priority_max and sched_get_priority_min prototypes.
2532 (Resource Usage): Fix summary @comment on vtimes to refer to
2533 sys/vtimes.h rather than vtimes.h.
2534 Add missing *s in vtimes prototype.
2535 (Limits on Resources): Fix ulimit prototype to return long int.
2536 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2537 prototypes to use long int rather than double.
2538 (BSD Random): Fix initstate and setstate to use char *, not void *.
2539 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2540 prototype to make second argument 'struct aiocb64 *const[]'.
2541 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2542 (Status of AIO Operations): Remove erroneous const in aio_return and
2543 aio_return64 prototypes.
2544 (Synchronizing I/O): Fix sync prototype to return void.
2545 * manual/startup.texi (Suboptions): Remove an erroneous const in
2546 getsubopt prototype.
2547 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2548 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2549 use size_t rather than int.
2550 (Scanning All Users): Likewise for getpwent_r.
2551 (Setting Groups): Add missing const to setgroups prototype.
2552 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2553 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2554 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2555 'const void *' rather than 'const char *'.
2556 (Host Address Functions): Likewise for inet_ntop.
2557 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2558 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2559 ssize_t for return value.
2560 (Sending Data): Likewise for send, sendto, sendmsg.
2561 (Socket Option Functions): Add a missing const in setsockopt prototype.
2562 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2563 use wchar_t for the argument.
2564 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2565 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2567 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2568 double/float/long double for second argument.
2569 Fix return types of significand, significandf, significandl.
2570 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2571 argument in fchmod prototype.
2572 (File Owner): Use uid_t and gid_t in fchown prototype.
2573 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2574 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2575 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2576 use 'const struct dirent **' as argument types to CMP function pointer
2578 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2579 (File Times): Fix summary magic @comment for struct utimbuf and utime
2580 to refer to utime.h, not time.h.
2581 * manual/string.texi (Argz Functions): Add missing const in
2582 argz_extract and argz_next prototypes.
2583 (Finding Tokens in a String): Likewise for basename.
2584 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2585 (Copying and Concatenation): Fix typo in wmemmove prototype.
2586 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2587 (Signal Stack): Remove erroneous const in sigstack prototype.
2588 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2590 (Simple Calendar Time): Likewise for stime.
2591 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2593 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2594 say sys/sysctl.h instead.
2595 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2596 and vsyslog prototypes.
2598 2013-02-11 Tom de Vries <tom@codesourcery.com>
2600 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2603 2013-02-11 Roland McGrath <roland@hack.frob.com>
2605 * misc/sys/mman.h: Fix typo in mremap comment.
2607 2013-02-08 Roland McGrath <roland@hack.frob.com>
2609 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2610 the '\0' terminator.
2612 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2615 * debug/segfault.c: Don't include <bp-checks.h>.
2616 * sysdeps/generic/bp-checks.h: Remove file.
2617 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2618 (__GETDENTS): Don't use CHECK_N.
2619 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2620 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2621 (__getgroups): Don't use CHECK_N.
2622 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2623 (setgroups): Don't use CHECK_N.
2624 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2625 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2626 (__libc_msgrcv): Don't use CHECK_N.
2627 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2628 (__libc_msgsnd): Don't use CHECK_N.
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2631 (__libc_pread): Don't use CHECK_N.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2633 include <bp-checks.h>.
2634 (__libc_pread64): Don't use CHECK_N.
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2636 include <bp-checks.h>.
2637 (__libc_pwrite): Don't use CHECK_N.
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2639 include <bp-checks.h>.
2640 (__libc_pwrite64): Don't use CHECK_N.
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2643 (__libc_pread): Don't use CHECK_N.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2645 include <bp-checks.h>.
2646 (__libc_pread64): Don't use CHECK_N.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2648 include <bp-checks.h>.
2649 (__libc_pwrite): Don't use CHECK_N.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2651 include <bp-checks.h>.
2652 (__libc_pwrite64): Don't use CHECK_N.
2653 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2654 (do_pread): Don't use CHECK_N.
2655 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2656 (do_pread64): Don't use CHECK_N.
2657 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2658 (do_pwrite): Don't use CHECK_N.
2659 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2660 (do_pwrite64): Don't use CHECK_N.
2661 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2662 (__libc_readv): Don't use CHECK_N.
2663 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2664 (semop): Don't use CHECK_N.
2665 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2667 (semtimedop): Don't use CHECK_N.
2668 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2669 (__libc_pread): Don't use CHECK_N.
2670 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2672 (__libc_pread64): Don't use CHECK_N.
2673 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2675 (__libc_pwrite): Don't use CHECK_N.
2676 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2678 (__libc_pwrite64): Don't use CHECK_N.
2679 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2681 (__libc_msgrcv): Don't use CHECK_N.
2682 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2683 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2684 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2685 (__libc_writev): Don't use CHECK_N.
2687 2013-02-08 Roland McGrath <roland@hack.frob.com>
2689 * string/strcpy.c: Removed unused variable.
2691 * Makeconfig (+sysdep-includes): Define with := rather than =.
2692 Use an existing include/ subdir of each sysdeps dir before it.
2694 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2696 * nscd/connection.c (register_traced_file): Comment function.
2697 [HAVE_INOTIFY] (union __inev): Define.
2698 [HAVE_INOTIFY] (inotify_check_files): New function.
2699 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2700 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2702 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2704 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2706 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2707 loaded if not already and that a failure is permanent.
2709 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2712 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2713 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2715 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2718 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2719 (CHECK_1_NULL_OK): Likewise.
2720 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2721 (__fxstat): Do not use CHECK_1.
2722 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2724 (___fxstat64): Do not use CHECK_1.
2725 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2727 (__fxstatat): Do not use CHECK_1.
2728 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2730 (__fxstatat64): Do not use CHECK_1.
2731 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2733 (__fxstat): Do not use CHECK_1.
2734 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2736 (__fxstatat): Do not use CHECK_1.
2737 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2739 (__getresgid): Do not use CHECK_1.
2740 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2742 (__getresuid): Do not use CHECK_1.
2743 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2745 (__lxstat): Do not use CHECK_1.
2746 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2748 (__old_msgctl): Do not use CHECK_1.
2749 (__new_msgctl): Likewise.
2750 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2752 (__new_setrlimit): Do not use CHECK_1.
2753 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2755 (__old_shmctl): Do not use CHECK_1.
2756 (__new_shmctl): Likewise.
2757 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2759 (__xstat): Do not use CHECK_1.
2760 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2761 (__lxstat): Do not use CHECK_1.
2762 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2764 (___lxstat64): Do not use CHECK_1.
2765 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2766 (__old_msgctl): Do not use CHECK_1.
2767 (__new_msgctl): Likewise.
2768 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2770 (__gettimeofday): Do not use CHECK_1.
2771 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2772 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2773 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2775 (__gettimeofday): Do not use CHECK_1.
2776 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2777 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2778 (__new_shmctl): Do not use CHECK_1.
2779 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2781 (do_sigtimedwait): Do not use CHECK_1.
2782 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2784 (do_sigwaitinfo): Do not use CHECK_1.
2785 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2787 (msgctl): Do not use CHECK_1.
2788 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2790 (shmctl): Do not use CHECK_1.
2791 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2792 (ustat): Do not use CHECK_1.
2793 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2795 (__fxstat): Do not use CHECK_1.
2796 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2798 (__fxstatat): Do not use CHECK_1.
2799 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2801 (__lxstat): Do not use CHECK_1.
2802 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2804 (__xstat): Do not use CHECK_1.
2805 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2806 (__xstat): Do not use CHECK_1.
2807 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2808 (___xstat64): Do not use CHECK_1.
2811 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2813 (CHECK_BOUNDS_HIGH): Likewise.
2814 * string/strcpy.c: Do not include <bp-checks.h>.
2815 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2817 2013-02-07 Roland McGrath <roland@hack.frob.com>
2819 * nscd/nscd-client.h (__nscd_drop_map_ref):
2820 Add __attribute__ ((unused)).
2821 * nis/nss-nisplus.h (niserr2nss): Likewise.
2823 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2824 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2826 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2827 Remove inline keyword.
2828 * include/rounding-mode.h (round_away): Likewise.
2829 * libio/wfileops.c (adjust_wide_data): Likewise.
2830 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2831 (__m128i_strloadu_tolower): Likewise.
2832 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2833 (__m128i_strloadu_tolower): Likewise.
2834 * time/mktime.c (ydhms_diff): Likewise.
2835 * locale/elem-hash.h (elem_hash): Likewise.
2836 * locale/setlocale.c (setdata): Likewise.
2837 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2838 (re_string_wchar_at): Likewise.
2839 (bitset_not, bitset_merge, bitset_mask): Likewise.
2840 [!(__GNUC__ > 3)] (inline): Remove macro.
2841 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2842 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2843 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2844 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2845 * string/memcmp.c (memcmp_bytes): Likewise.
2846 * locale/programs/locarchive.c (compute_hashval): Likewise.
2847 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2848 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2849 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2850 * nss/getent.c (print_rpc, print_protocols): Likewise.
2851 (print_passwd, print_group, print_aliases): Likewise.
2852 * nis/nss-nisplus.h (niserr2nss): Likewise.
2853 * nscd/connections.c (restart_p): Likewise.
2854 Change return type to bool.
2856 2013-02-05 Roland McGrath <roland@hack.frob.com>
2858 * Makeconfig (all-Depend-files): Add existing
2859 $(sorted-subdirs:=/Depend) files.
2860 (all-subdirs): Remove nss.
2861 * sysdeps/unix/inet/Subdirs: Add it here instead.
2862 * hesiod/Depend: New file.
2864 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2865 instead of calling alloca.
2867 * io/lseek.c (__lseek): Rename to __libc_lseek.
2868 Define __lseek as an alias.
2870 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2872 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2874 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2875 else clause and remove check for non-standard endianness.
2877 2013-02-04 David S. Miller <davem@davemloft.net>
2879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2881 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2884 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2885 (__ubp_memchr): Remove prototype.
2886 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2887 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2888 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2889 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2890 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2892 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2893 (__ubp_memchr): Likewise.
2894 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2895 (__ubp_memchr): Likewise.
2896 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2897 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2898 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2899 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2901 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2902 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2903 (__getcwd): Do not use CHECK_STRING.
2904 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2906 (__real_chown): Do not use CHECK_STRING.
2907 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2909 (fchownat): Do not use CHECK_STRING.
2910 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2912 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2914 (__lchown): Do not use CHECK_STRING.
2915 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2916 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2917 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2918 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2920 include <bp-checks.h>.
2921 (truncate64): Do not use CHECK_STRING.
2922 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2924 (__real_chown): Do not use CHECK_STRING.
2925 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2927 (__lchown): Do not use CHECK_STRING.
2928 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2930 (__chown): Do not use CHECK_STRING.
2931 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2933 (truncate64): Do not use CHECK_STRING.
2934 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2936 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2937 (__xmknod): Do not use CHECK_STRING.
2938 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2940 (__xmknodat): Do not use CHECK_STRING.
2941 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2942 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2944 2013-02-04 Andreas Schwab <schwab@suse.de>
2947 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2948 * include/netdb.h: Likewise for h_errno.
2949 * elf/tst-stackguard1.c: Include <tls.h>.
2951 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2953 * elf/link.h (struct link_map): Extend the l_addr comment.
2954 * include/link.h (struct link_map): Likewise.
2956 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2959 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2960 (BOUNDED_1): Remove macro.
2961 * debug/backtrace.c: Don't include <bp-checks.h>.
2962 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2963 (__backtrace): Likewise.
2964 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2966 (__backtrace): Don't use BOUNDED_1.
2967 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2969 (__backtrace): Don't use BOUNDED_1.
2970 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2971 (__backtrace): Don't use BOUNDED_1.
2972 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2973 (shmat): Don't use BOUNDED_N.
2975 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2978 * sysdeps/generic/bp-start.h: Remove file.
2979 * csu/libc-start.c: Don't include <bp-start.h>.
2980 (LIBC_START_MAIN): Set up __environ directly instead of using
2981 INIT_ARGV_and_ENVIRON.
2982 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2986 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2988 (CHECK_FCNTL): Likewise.
2989 (CHECK_N_PAGES): Likewise.
2992 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2994 (CHECK_SIGSET_NULL_OK): Likewise.
2995 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2997 (sigpending): Don't use CHECK_SIGSET.
2998 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3000 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3001 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3003 (do_sigsuspend): Don't use CHECK_SIGSET.
3004 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3006 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3007 (do_sigwait): Don't use CHECK_SIGSET.
3008 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3011 include <bp-checks.h>.
3012 (sigpending): Don't use CHECK_SIGSET.
3013 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3014 include <bp-checks.h>.
3015 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3016 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3018 (sigpending): Don't use CHECK_SIGSET.
3019 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3021 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3024 * sysdeps/generic/bp-semctl.h: Remove file.
3025 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3026 <bp-checks.h> and <bp-semctl.h>.
3027 (__old_semctl): Don't use CHECK_SEMCTL.
3028 (__new_semctl): Likewise.
3029 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3031 (__old_semctl): Don't use CHECK_SEMCTL.
3032 (__new_semctl): Likewise.
3033 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3034 <bp-checks.h> and <bp-semctl.h>.
3035 (__old_semctl): Don't use CHECK_SEMCTL.
3036 (__new_semctl): Likewise.
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3038 <bp-checks.h> and <bp-semctl.h>.
3039 (semctl): Don't use CHECK_SEMCTL.
3042 * Makerules (elide-bp-thunks): Remove variable.
3043 (elide-routines.oS): Don't use $(elide-bp-thunks).
3044 (elide-routines.os): Likewise.
3045 (elide-routines.o): Likewise.
3046 (elide-routines.op): Likewise.
3047 (elide-routines.og): Likewise.
3048 (objects): Don't use $(bp-thunks).
3049 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3051 (common-generated): Do not add s-proto-bp.d.
3052 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3055 Do not generate makefile rules for bounded-pointer thunks.
3056 * sysdeps/generic/bp-thunks.h: Remove file.
3057 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3058 * sysdeps/unix/s-proto-bp.S: Likewise.
3061 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3062 parts of result separately when argument is not close to line from
3063 -i to i and one part of argument is small.
3064 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3065 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3066 * math/libm-test.inc (cacos_test): Add more tests.
3067 (casin_test): Likewise.
3068 (casinh_test): Likewise.
3069 * sysdeps/i386/fpu/libm-test-ulps: Update.
3070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3072 2013-01-31 David S. Miller <davem@davemloft.net>
3074 * po/de.po: Update from translation team.
3076 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3078 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3080 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3082 * configure.in (_AC_PROG_CC_C89): New definition.
3083 * configure: Regenerate.
3085 * configure.in (AC_PROG_CPP): New definition.
3086 * configure: Regenerate.
3088 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3090 * debug/tst-backtrace.h: New file.
3091 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3092 (ret): Remove variable.
3094 (FAIL): Remove macro.
3095 (NO_INLINE): Likewise.
3096 (fn1): Use match function instead of strstr.
3097 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3098 (ret): Remove variable.
3100 (FAIL): Remove macro.
3101 (NO_INLINE): Likewise.
3102 (fn): Use match function instead of strstr.
3103 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3104 (ret): Remove variable.
3106 (FAIL): Remove macro.
3107 (NO_INLINE): Likewise.
3108 (handle_signal): Use match function instead of strstr.
3109 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3110 (ret): Remove variable.
3112 (FAIL): Remove macro.
3113 (NO_INLINE): Likewise.
3114 (handle_signal): Use match function instead of strstr.
3116 2013-01-23 Roland McGrath <roland@hack.frob.com>
3118 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3120 2013-01-23 David S. Miller <davem@davemloft.net>
3122 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3123 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3124 argument of CAS if possible.
3125 * sysdeps/sparc/sparc64/bits/atomic.h
3126 (__arch_compare_and_exchange_val_32_acq): Likewise.
3127 (__arch_compare_and_exchange_val_64_acq): Likewise.
3129 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3131 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3132 * sysdeps/posix/ulimit.c: ... this.
3134 * sysdeps/unix/bsd/ulimit.c: Remove file.
3136 2013-01-23 Adam Conrad <adconrad@0c3.net>
3138 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3139 (LDFLAGS-tst-array5): Likewise.
3141 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3144 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3145 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3146 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3147 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3149 2013-01-21 David S. Miller <davem@davemloft.net>
3151 * sysdeps/sparc/backtrace.c: New file.
3152 * sysdeps/sparc/sparc32/backtrace.h: New file.
3153 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3154 * sysdeps/sparc/sparc64/backtrace.h: New file.
3155 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3156 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3159 2013-01-21 Andreas Schwab <schwab@suse.de>
3162 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3165 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3171 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3172 Mark Mitchell <mark@codesourcery.com>
3173 Tom de Vries <tom@codesourcery.com>
3174 Paul Pluzhnikov <ppluzhnikov@google.com>
3176 * debug/tst-backtrace2.c: New file.
3177 * debug/tst-backtrace3.c: Likewise.
3178 * debug/tst-backtrace4.c: Likewise.
3179 * debug/tst-backtrace5.c: Likewise.
3180 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3181 (CFLAGS-tst-backtrace3.c): Likewise.
3182 (CFLAGS-tst-backtrace4.c): Likewise.
3183 (CFLAGS-tst-backtrace5.c): Likewise.
3184 (LDFLAGS-tst-backtrace2): Likewise.
3185 (LDFLAGS-tst-backtrace3): Likewise.
3186 (LDFLAGS-tst-backtrace4): Likewise.
3187 (LDFLAGS-tst-backtrace5): Likewise.
3188 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3189 tst-backtrace4 and tst-backtrace5.
3191 2013-01-18 Anton Blanchard <anton@samba.org>
3192 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3194 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3195 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3196 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3197 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3199 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3200 "+r" and remove output regs list as redundant. Add explicit inline
3201 asm to specify register of return val to work around compiler codegen
3202 bug. Remove (int) cast on return value. Add return type parameter to
3203 use in macro so that this macro does not truncate return value for
3205 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3206 pass to INTERNAL_VSYSCALL_NCS.
3207 (INLINE_VSYSCALL): Add 'long int' as return type to
3208 INTERNAL_VSYSCALL_NCS macro invocation.
3209 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3210 INTERNAL_VSYSCALL_NCS macro invocation.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3213 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3216 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3217 Fix application of SIMD FP exception mask.
3219 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3220 mp_no from a power of two.
3221 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3222 __mpexp_twomm1. Use __pow_mp.
3224 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3227 2013-01-17 David S. Miller <davem@davemloft.net>
3229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3231 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3234 * include/complex.h: Condition contents on [!_COMPLEX_H].
3235 (__kernel_casinhf): New prototype.
3236 (__kernel_casinh): Likewise.
3237 (__kernel_casinhl): Likewise.
3238 * math/Makefile (libm_calls): Add k_casinh.
3239 * math/k_casinh.c: New file.
3240 * math/k_casinhf.c: Likewise.
3241 * math/k_casinhl.c: Likewise.
3242 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3243 finite nonzero arguments.
3244 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3245 finite nonzero arguments.
3246 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3247 finite nonzero arguments.
3248 * math/s_casinh.c: Do not include <float.h>.
3249 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3250 * math/s_casinhf.c: Do not include <float.h>.
3251 (__casinhf): Move code for finite nonzero arguments to
3253 * math/s_casinhl.c: Do not include <float.h>.
3254 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3256 (__casinhl): Move code for finite nonzero arguments to
3258 * math/libm-test.inc (cacos_test): Add more tests.
3259 * sysdeps/i386/fpu/libm-test-ulps: Update.
3260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3262 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3264 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3265 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3266 [!HAVE_MREMAP]: Remove [defined linux] case.
3267 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3269 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3271 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3273 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3275 * elf/elf.h (R_386_SIZE32): New relocation.
3276 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3278 (elf_machine_rela): Likewise.
3279 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3280 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3282 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3284 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3285 (FP_FAST_FMA): Do not define.
3286 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3287 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3288 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3289 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3290 !_SOFT_FLOAT]: Likewise.
3291 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3292 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3294 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3295 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3296 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3297 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3298 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3299 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3302 2013-01-16 Andreas Schwab <schwab@suse.de>
3305 * include/stdlib.h (__mktemp): Add declaration.
3306 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3307 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3309 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3311 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3313 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3314 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3315 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3317 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3318 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3320 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3322 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3323 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3324 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3326 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3327 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3329 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3331 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3333 2013-01-15 David S. Miller <davem@davemloft.net>
3335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3336 trunc{,f} to libm-sysdep_routes.
3337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3347 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3348 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3349 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3350 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3351 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3352 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3355 nearbyint{,f} to libm-sysdep_routes.
3356 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3367 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3369 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3370 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3372 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3373 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3374 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3376 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3377 libc_feholdexcept and libc_fesetenv.
3379 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3381 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3383 2013-01-14 David S. Miller <davem@davemloft.net>
3385 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3386 (SPARC_ASM_VIS2_IFUNC): Likewise.
3387 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3389 use of 'siam' instruction.
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3423 routines to libm-sysdep_routines.
3424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3427 fdim/fdimf to libm-sysdep_routines.
3428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3436 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3437 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3438 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3439 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3441 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3443 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3446 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3451 local variable MPTWO.
3452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3455 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3457 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3460 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3462 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3464 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3466 * manual/pattern.texi (glob_t): Document gl_flags.
3467 (glob64_t): Likewise.
3469 2013-01-11 David S. Miller <davem@davemloft.net>
3471 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3472 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3473 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3474 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3475 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3476 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3477 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3478 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3479 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3480 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3481 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3482 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3483 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3485 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3486 sparc V9 rather than using V8 code.
3487 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3488 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3492 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3495 2013-01-11 Roland McGrath <roland@hack.frob.com>
3497 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3498 not in the main loop.
3499 * configure: Regenerated.
3501 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3503 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3504 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3506 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3507 [!__GLIBC_HAVE_LONG_LONG] case.
3508 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3509 condition to just #else.
3510 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3511 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3512 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3513 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3515 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3516 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3517 #elif condition to just #else.
3518 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3519 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3520 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3521 #elif condition to just #else.
3523 2013-01-11 Steve Ellcey <sellcey@mips.com>
3525 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3526 (EF_MIPS_ARCH_64): Fix value.
3527 (EF_MIPS_ARCH_32R2): New.
3528 (EF_MIPS_ARCH_64R2): New.
3530 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3532 * Makeconfig (+link-pie-before-libc): New.
3533 (+link-pie-after-libc): Likewise.
3534 (+link-pie-tests): Likewise.
3535 (+link-pie): Rewritten.
3536 (link-before-libc): Remove $(config-LDFLAGS).
3537 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3538 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3539 (config-LDFLAGS): Renamed to ...
3540 (rtld-LDFLAGS): This.
3541 (rtld-tests-LDFLAGS): New macro.
3542 (link-libc-rpath-link): Likewise.
3543 (link-libc-tests-rpath-link): Likewise.
3544 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3545 (link-libc): Prepand $(link-libc-rpath-link).
3546 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3547 (test-program-prefix): New macro.
3548 (test-via-rtld-prefix): Likewise.
3549 (test-program-cmd): Likewise.
3550 (host-test-program-cmd): Likewise.
3551 * Makefile ($(common-objpfx)testrun.sh): Replace
3552 $(run-program-prefix) with $(test-program-prefix).
3553 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3555 ($(common-objpfx)shlib.lds): Likewise.
3556 (build-module-helper): Likewise.
3557 ($(common-objpfx)format.lds): Likewise.
3558 * Rules (binaries-pie-tests): New.
3559 (binaries-pie-notests): Likewise.
3560 (binaries-pie): Rewritten.
3561 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3562 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3563 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3564 (make-test-out): Replace $(host-built-program-cmd) with
3565 $(host-test-program-cmd).
3566 * config.make.in (build-hardcoded-path-in-tests): New variable.
3567 * configure.in (--enable-hardcoded-path-in-tests): New configure
3569 (hardcoded_path_in_tests): New AC_SUBST.
3570 * configure: Regenerated.
3571 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3572 $(built-program-cmd) with $(test-program-cmd).
3573 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3574 (test_program_cmd): This.
3575 * elf/Makefile ($(objpfx)order.out): Run test with
3576 $(test-program-prefix).
3577 ($(objpfx)order2.out): Likewise.
3578 ($(objpfx)tst-initorder.out): Likewise.
3579 ($(objpfx)tst-initorder2.out): Likewise.
3580 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3581 $(test-program-cmd).
3582 ($(objpfx)tst-array1-static.out): Likewise.
3583 ($(objpfx)tst-array2.out): Likewise.
3584 ($(objpfx)tst-array3.out): Likewise.
3585 ($(objpfx)tst-array4.out): Likewise.
3586 ($(objpfx)tst-array5.out): Likewise.
3587 ($(objpfx)tst-array5-static.out): Likewise.
3588 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3589 $(test-program-cmd).
3590 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3591 $(run-program-prefix) with $(test-program-prefix).
3592 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3593 (test_program_prefix): This.
3594 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3595 $(run-program-prefix) with $(test-program-prefix).
3596 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3597 (test_program_prefix): This.
3598 * iconvdata/tst-tables.sh: Likewise.
3599 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3600 $(run-program-prefix) with $(test-program-prefix).
3601 ($(objpfx)tst-translit.out): Likewise.
3602 ($(objpfx)tst-gettext2.out): Likewise.
3603 ($(objpfx)tst-gettext4.out): Likewise.
3604 ($(objpfx)tst-gettext6.out): Likewise.
3605 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3606 (test_program_prefix): This.
3607 * intl/tst-gettext2.sh: Likewise.
3608 * intl/tst-gettext4.sh Likewise.
3609 * intl/tst-gettext6.sh: Likewise.
3610 * intl/tst-translit.sh: Likewise.
3611 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3612 with $(test-program-cmd).
3613 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3614 $(run-program-prefix) with $(test-program-prefix).
3615 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3616 (test_program_prefix): This.
3617 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3618 $(run-program-prefix) with $(test-program-prefix).
3619 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3620 (test_program_prefix): This.
3621 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3622 * posix/Makefile ($(objpfx)globtest.out): Replace
3623 $(run-via-rtld-prefix) and $(test-wrapper) with
3624 $(test-program-prefix) and $(test-via-rtld-prefix).
3625 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3626 $(test-program-prefix).
3627 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3628 $(host-test-program-cmd).
3629 (tst-spawn-ARGS): Likewise.
3630 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3631 $(test-program-prefix).
3632 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3633 (test_via_rtld_prefix): This.
3634 (test_wrapper): Renamed to ...
3635 (test_program_prefix): This.
3636 (run_program_prefix): Replaced by test_program_prefix.
3637 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3638 (test_program_prefix): This.
3639 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3640 with $(host-test-program-cmd).
3641 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3642 $(run-program-prefix) with $(test-program-prefix).
3643 ($(objpfx)tst-printf.out): Likewise.
3644 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3645 $(test-program-cmd).
3646 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3647 (test_program_prefix): This.
3648 * stdio-common/tst-unbputc.sh: Likewise.
3649 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3650 $(run-program-prefix) with $(test-program-prefix).
3651 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3652 (test_program_prefix): This.
3653 * string/Makefile ($(objpfx)tst-svc.out): Replace
3654 $(built-program-cmd) with $(test-program-cmd).
3656 2013-01-11 Andreas Jaeger <aj@suse.de>
3659 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3660 value. Sync with Linux 3.7.
3662 2013-01-10 David S. Miller <davem@davemloft.net>
3664 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3665 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3666 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3668 2013-01-10 Roland McGrath <roland@hack.frob.com>
3670 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3672 * configure: Regenerated.
3674 2013-01-10 David S. Miller <davem@davemloft.net>
3676 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3677 sparc V9 rather than using V8 code.
3678 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3679 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3681 2013-01-10 Roland McGrath <roland@hack.frob.com>
3683 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3684 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3685 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3686 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3687 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3688 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3689 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3690 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3691 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3692 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3693 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3694 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3695 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3696 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3697 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3698 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3699 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3700 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3701 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3702 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3703 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3704 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3705 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3706 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3707 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3708 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3709 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3711 2013-01-10 David S. Miller <davem@davemloft.net>
3713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3715 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3717 * posix/Makefile (tests-static): New variable.
3718 (tests): Add $(tests-static).
3719 (tst-exec-static-ARGS): New variable.
3720 (tst-spawn-static-ARGS): Likewise.
3721 * posix/tst-exec-static.c: New file.
3722 * posix/tst-spawn-static.c: Likewise.
3723 * posix/tst-exec.c: Support run directly.
3724 * posix/tst-spawn.c: Likewise.
3726 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3728 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3730 * math/bits/mathcalls.h (llrint): Likewise.
3731 (llround): Likewise.
3732 * stdlib/stdlib.h (struct drand48_data): Likewise.
3733 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3734 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3735 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3737 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3739 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3740 (elf_greg_t): Likewise.
3741 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3742 (__jmp_buf): Likewise.
3743 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3745 (llrint): Likewise, for all definitions.
3746 (llrintl): Likewise.
3748 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3749 Remove [__GNUC__] condition.
3750 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3751 condition to just [__USE_ISOC99].
3752 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3754 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3757 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3758 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3760 (_POSIX_V6_ILP32_OFF32): Likewise.
3761 (_XBS5_ILP32_OFF32): Likewise.
3762 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3763 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3765 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3767 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3770 doubles __mpexp_twomm1. Adjust usage.
3771 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3774 2013-01-10 Andreas Schwab <schwab@suse.de>
3777 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3778 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3780 2013-01-09 David S. Miller <davem@davemloft.net>
3783 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3784 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3785 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3786 TCP_FASTOPEN): Define.
3787 (tcp_repair_opt): New structure.
3788 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3790 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3791 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3792 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3793 (tcp_cookie_transactions): New structure.
3795 2013-01-09 Anton Blanchard <anton@samba.org>
3797 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3798 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3799 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3800 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3802 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3804 * include/features.h (__USE_ANSI): Remove.
3806 2013-01-09 Roland McGrath <roland@hack.frob.com>
3808 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3810 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3812 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3814 * sysdeps/s390/fpu/libm-test-ulps: Update.
3816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3818 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3823 (__mp_dbl): Likewise.
3824 (__dbl_mp): Likewise.
3825 (add_magnitudes): Likewise.
3826 (sub_magnitudes): Likewise.
3832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3837 (__mp_dbl): Likewise.
3838 (__dbl_mp): Likewise.
3839 (add_magnitudes): Likewise.
3840 (sub_magnitudes): Likewise.
3846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3851 (__mp_dbl): Likewise.
3852 (__dbl_mp): Likewise.
3853 (add_magnitudes): Likewise.
3854 (sub_magnitudes): Likewise.
3861 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3863 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3864 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3865 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3866 2 && __USE_EXTERN_INLINES]: Likewise.
3868 2013-01-08 Andreas Jaeger <aj@suse.de>
3871 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3873 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3874 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3876 2013-01-07 Anton Blanchard <anton@samba.org>
3878 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3879 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3880 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3881 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3882 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3883 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3884 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3885 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3887 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3888 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3889 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3890 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3891 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3892 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3893 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3894 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3895 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3896 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3897 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3898 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3899 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3900 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3901 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3902 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3903 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3904 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3905 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3906 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3907 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3908 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3910 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3911 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3912 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3913 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3914 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3916 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3917 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3918 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3919 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3920 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3922 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3924 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3925 (__MALLOC_PMT): Likewise.
3926 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3927 [__GNUC__], only on [_LIBC].
3928 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3929 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3930 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3931 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3932 forward declaration.
3933 (realloc_hook_ini): Likewise.
3934 (memalign_hook_ini): Likewise.
3935 (__libc_memalign): Do not use __MALLOC_PMT in variable
3937 (__libc_valloc): Likewise.
3938 (__libc_pvalloc): Likewise.
3939 (__libc_calloc): Likewise.
3940 (__posix_memalign): Likewise.
3943 * math/s_casinh.c: Include <float.h>.
3944 (__casinh): Do not do computation with squaring and square root
3945 for large arguments.
3946 * math/s_casinhf.c: Include <float.h>.
3947 (__casinhf): Do not do computation with squaring and square root
3948 for large arguments.
3949 * math/s_casinhl.c: Include <float.h>.
3950 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3951 (__casinhl): Do not do computation with squaring and square root
3952 for large arguments.
3953 * math/libm-test.inc (casin_test): Add more tests.
3954 (casinh_test): Likewise.
3955 * sysdeps/i386/fpu/libm-test-ulps: Update.
3956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3958 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3960 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3961 (__x86_64_raw_data_cache_size): Likewise.
3962 (__x86_64_data_cache_size_half): Likewise.
3963 (__x86_64_raw_data_cache_size_half): Likewise.
3964 (__x86_64_shared_cache_size): Likewise.
3965 (__x86_64_raw_shared_cache_size): Likewise.
3966 (__x86_64_shared_cache_size_half): Likewise.
3967 (__x86_64_raw_shared_cache_size_half): Likewise.
3968 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3970 (__x86_data_cache_size): This.
3971 (__x86_64_raw_data_cache_size): Renamed to ...
3972 (__x86_raw_data_cache_size): This.
3973 (__x86_64_data_cache_size_half): Renamed to ...
3974 (__x86_data_cache_size_half): This.
3975 (__x86_64_raw_data_cache_size_half): Renamed to ...
3976 (__x86_raw_data_cache_size_half): This.
3977 (__x86_64_shared_cache_size): Renamed to ...
3978 (__x86_shared_cache_size): This.
3979 (__x86_64_raw_shared_cache_size): Renamed to ...
3980 (__x86_raw_shared_cache_size): This.
3981 (__x86_64_shared_cache_size_half): Renamed to ...
3982 (__x86_shared_cache_size_half): This.
3983 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3984 (__x86_raw_shared_cache_size_half): This.
3985 * sysdeps/x86_64/memcpy.S: Updated.
3986 * sysdeps/x86_64/memset.S: Likewise.
3987 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3988 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3989 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3991 2013-01-04 David S. Miller <davem@davemloft.net>
3993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3995 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3997 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3998 1 to avoid redefinition warning.
3999 (__USE_GNU): Don't define.
4000 (init_signaling_nan): Protoize.
4002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4004 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4006 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4008 (__cpymn): Likewise.
4009 (norm): Remove commented code.
4011 (__mp_dbl): Likewise.
4013 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4014 (__cpymn): Likewise.
4015 (norm): Remove commented code.
4017 (__mp_dbl): Likewise.
4020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4021 mp_no value for 1.0 and 2.0.
4022 (norm): Use RADIXI instead of radixi.d.
4024 (__mul): Use 0.0 instead of zero.d.
4025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4026 mp_no value for 1.0 and 2.0.
4027 (norm): Use RADIXI instead of radixi.d.
4029 (__mul): Use 0.0 instead of zero.d.
4031 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4034 * math/s_casinh.c (__casinh): Reduce finite argument to first
4035 quadrant then set signs of results at the end.
4036 * math/s_casinhf.c (__casinhf): Likewise.
4037 * math/s_casinhl.c (__casinhl): Likewise.
4038 * math/libm-test.inc (casin_test): Add more tests.
4039 (casinh_test): Likewise.
4040 * sysdeps/i386/fpu/libm-test-ulps: Update.
4041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4043 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4045 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4047 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4049 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4052 (__mp_dbl): Likewise.
4055 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4056 and adjust the header comment.
4058 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4059 variable name from declaration.
4061 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4064 Initialize COMMON_CPUID_INDEX_7 element.
4065 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4066 (CPUID_RTM): Likewise.
4067 (HAS_RTM): Likewise.
4068 (COMMON_CPUID_INDEX_7): New enum.
4070 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4073 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4074 size is zero, record memory as freed.
4076 2013-01-03 Andreas Jaeger <aj@suse.de>
4078 * po/ia.po: Add new Interlingua translation.
4080 2012-01-03 Allan McRae <allan@archlinux.org>
4082 * locale/programs/localedef.c: Fix description of '--posix' flag.
4084 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4086 * NEWS: Update dates in second copyright notice.
4087 * README: Update copyright dates in example.
4088 * manual/libc.texinfo: Update copyright dates.
4089 * scripts/test-installation.pl: Update copyright date in --version
4092 * hurd/ctty-input.c: Fix copyright notice formatting.
4093 * hurd/ctty-output.c: Likewise.
4094 * hurd/dtable.c: Likewise.
4095 * hurd/hurd-raise.c: Likewise.
4096 * hurd/hurdprio.c: Likewise.
4097 * hurd/msgportdemux.c: Likewise.
4098 * misc/sys/file.h: Likewise.
4099 * misc/sys/ioctl.h: Likewise.
4100 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4101 * sysdeps/mach/hurd/chdir.c: Likewise.
4102 * sysdeps/mach/hurd/fchdir.c: Likewise.
4103 * sysdeps/mach/hurd/rename.c: Likewise.
4104 * sysdeps/mach/hurd/rmdir.c: Likewise.
4105 * sysdeps/mach/hurd/seekdir.c: Likewise.
4106 * sysdeps/mach/hurd/setsid.c: Likewise.
4107 * sysdeps/posix/wait3.c: Likewise.
4109 * All files with FSF copyright notices: Update copyright dates
4110 using scripts/update-copyrights.
4111 * intl/plural.c: Regenerated.
4112 * locale/programs/charmap-kw.h: Likewise.
4113 * locale/programs/locfile-kw.h: Likewise.
4115 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4117 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4120 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4121 calculation loop and add branch prediction.
4123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4124 check access beyond bounds of m1np.
4126 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4128 (__inv): Remove local variable MPTWO to use the global
4130 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4131 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4133 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4134 MP3HALFS static const.
4136 2013-01-01 David S. Miller <davem@davemloft.net>
4138 * po/ca.po: Update from translation team.
4140 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4142 * scripts/update-copyrights: New file.
4143 * Makeconfig: Reformat copyright notice.
4144 * ctype/ctype.h: Likewise.
4145 * debug/swprintf_chk.c: Likewise.
4146 * elf/dl-cache.c: Likewise.
4147 * elf/dl-debug.c: Likewise.
4148 * elf/dl-object.c: Likewise.
4149 * grp/initgroups.c: Likewise.
4150 * hurd/Makefile: Likewise.
4151 * hurd/hurd/signal.h: Likewise.
4152 * hurd/hurdfault.c: Likewise.
4153 * hurd/hurdioctl.c: Likewise.
4154 * hurd/hurdlookup.c: Likewise.
4155 * hurd/intr-msg.c: Likewise.
4156 * iconv/gconv_open.c: Likewise.
4157 * libio/swprintf.c: Likewise.
4158 * locale/lc-ctype.c: Likewise.
4159 * locale/nl_langinfo.c: Likewise.
4160 * mach/Machrules: Likewise.
4161 * mach/Makefile: Likewise.
4162 * malloc/obstack.h: Likewise.
4163 * manual/Makefile: Likewise.
4164 * manual/tsort.awk: Likewise.
4165 * misc/bits/stab.def: Likewise.
4166 * nis/nis_print_group_entry.c: Likewise.
4167 * nis/nis_table.c: Likewise.
4168 * nis/nss_compat/compat-pwd.c: Likewise.
4169 * nis/nss_compat/compat-spwd.c: Likewise.
4170 * po/Makefile: Likewise.
4171 * posix/fnmatch.c: Likewise.
4172 * posix/regex.h: Likewise.
4173 * resolv/Makefile: Likewise.
4174 * resolv/nss_dns/dns-network.c: Likewise.
4175 * resolv/res_hconf.c: Likewise.
4176 * scripts/gen-sorted.awk: Likewise.
4177 * soft-fp/soft-fp.h: Likewise.
4178 * stdio-common/printf.h: Likewise.
4179 * stdlib/monetary.h: Likewise.
4180 * stdlib/random.c: Likewise.
4181 * stdlib/random_r.c: Likewise.
4182 * sysdeps/generic/Makefile: Likewise.
4183 * sysdeps/gnu/Makefile: Likewise.
4184 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4212 * sysdeps/mach/hurd/errnos.awk: Likewise.
4213 * sysdeps/mach/hurd/fork.c: Likewise.
4214 * sysdeps/mach/hurd/getcwd.c: Likewise.
4215 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4216 * sysdeps/mach/hurd/mmap.c: Likewise.
4217 * sysdeps/mach/hurd/utimes.c: Likewise.
4218 * sysdeps/mach/hurd/xmknod.c: Likewise.
4219 * sysdeps/posix/profil.c: Likewise.
4220 * sysdeps/posix/readdir_r.c: Likewise.
4221 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4222 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4223 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4224 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4226 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4227 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4228 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4230 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4231 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4232 * sysdeps/pthread/lio_listio.c: Likewise.
4233 * sysdeps/sparc/dl-procinfo.h: Likewise.
4234 * sysdeps/unix/i386/sysdep.S: Likewise.
4235 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4236 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4237 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4238 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4240 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4241 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4242 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4243 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4244 * sysdeps/wordsize-32/divdi3.c: Likewise.
4245 * time/sys/time.h: Likewise.
4246 * wcsmbs/Makefile: Likewise.
4248 2013-01-01 David S. Miller <davem@davemloft.net>
4250 * po/fr.po: Update from translation team.
4252 * catgets/gencat.c: Update copyright year.
4253 * csu/version.c: Likewise.
4254 * debug/catchsegv.sh: Likewise.
4255 * debug/pcprofiledump.c: Likewise.
4256 * debug/xtrace.sh: Likewise.
4257 * elf/ldconfig.c: Likewise.
4258 * elf/ldd.bash.in: Likewise.
4259 * elf/pldd.c: Likewise.
4260 * elf/sotruss.ksh: Likewise.
4261 * elf/sprof.c: Likewise.
4262 * iconv/iconv_prog.c: Likewise.
4263 * iconv/iconvconfig.c: Likewise.
4264 * locale/programs/locale.c: Likewise.
4265 * locale/programs/localedef.c: Likewise.
4266 * login/programs/pt_chown.c: Likewise.
4267 * malloc/memusage.sh: Likewise.
4268 * malloc/memusagestat.c: Likewise.
4269 * malloc/mtrace.pl: Likewise.
4270 * nscd/nscd.c: Likewise.
4271 * nss/getent.c: Likewise.
4272 * nss/makedb.c: Likewise.
4273 * posix/getconf.c: Likewise.
4275 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4277 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4280 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4282 * math/bits/mathcalls.h (modf): Use __nonnull.
4284 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4286 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4287 (split): Use macro CN instead of the bare value.
4288 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4290 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4291 instead of the bare value.
4294 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4298 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4300 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4302 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4303 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4304 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4305 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4307 2012-12-28 Andreas Jaeger <aj@suse.de>
4309 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4310 values are from Linux 3.7.
4312 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4313 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4315 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4317 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4320 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4322 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4323 variables with preprocessor constants.
4324 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4325 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4326 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4328 2012-12-27 Bruno Haible <bruno@clisp.org>
4331 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4334 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4336 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4337 and use variable directly.
4338 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4340 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4342 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4343 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4345 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4347 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4348 include directive. Remove local variable MPONE.
4349 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4350 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4351 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4353 2012-12-25 David S. Miller <davem@davemloft.net>
4355 * version.h (RELEASE): Set to "development".
4356 (VERSION): Set to "2.17.90".
4357 * NEWS: Add 2.18 section.
4359 2012-12-21 David S. Miller <davem@davemloft.net>
4361 * po/hr.po: Update from translation team.
4363 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4365 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4367 2012-12-19 Steve Ellcey <sellcey@mips.com>
4369 * NEWS: Mention new memcpy for MIPS.
4371 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4373 * manual/contrib.texi (Contributors): Spelling correction.
4375 2012-12-15 David S. Miller <davem@davemloft.net>
4377 * po/ru.po: Update from translation team.
4379 2012-12-13 David S. Miller <davem@davemloft.net>
4381 * NEWS: Mention IFUNC testsuite enhancements.
4383 * po/pl.po: Update from translation team.
4384 * po/bg.po: Likewise.
4386 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4387 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4389 2012-12-11 David S. Miller <davem@davemloft.net>
4391 * po/sv.po: Update from translation team.
4393 * po/vi.po: Update from translation team.
4395 * po/cs.po: Update from translation team.
4397 * po/de.po: Update from translation team.
4398 * po/eo.po: Likewise.
4399 * po/nl.po: Likewise.
4401 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4404 * manual/argp.texi (Argp Helper Functions): Move node to follow
4408 * manual/conf.texi (Limits on File System Capacity): Mention if
4409 terminating null is included in the max size.
4411 2012-12-10 Andreas Jaeger <aj@suse.de>
4413 * po/cs.po: Update from translation team.
4415 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4417 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4418 void pointer and cast to uintptr_t.
4419 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4421 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4422 * sysdeps/s390/s390-64/memset.S: Likewise.
4424 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4427 * menual/message.texi (Message Translation): Fix typos.
4428 (Helper programs for gettext): Likewise.
4430 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4433 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4436 2012-12-07 David S. Miller <davem@davemloft.net>
4438 * po/libc.pot: Update.
4440 2012-12-07 Richard Henderson <rth@redhat.com>
4443 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4444 normal/normal case to before the switch.
4445 (_FP_DIV): Likewise.
4447 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4448 Mike Frysinger <vapier@gentoo.org>
4450 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4451 check for __NR_fadvise64_64.
4453 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4455 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4456 0, not just to plain "0" as a statement.
4457 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4460 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4462 * NEWS: Use sourceware.org in Bugzilla URL.
4464 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4467 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4469 * stdio-common/tst-put-error.c (do_test): Add newline to the
4470 padded test to ensure flush.
4472 2012-12-05 Jeff Law <law@redhat.com>
4474 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4476 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4478 * README: Don't refer to ports add-on as distributed separately.
4479 Mention AArch64 in list of systems supported in the ports add-on.
4481 * LICENSES: Add more non-FSF copyright and license notices.
4483 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4486 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4488 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4489 10000 as width of padded output.
4491 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4493 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4495 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4496 variable LX with __attribute__ ((unused)).
4497 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4499 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4501 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4502 with __attribute__ ((unused)).
4504 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4506 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4508 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4510 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4511 (CFLAGS-nldbl-acos.c): New variable.
4512 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4513 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4514 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4515 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4516 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4517 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4518 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4519 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4520 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4521 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4522 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4523 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4524 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4525 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4526 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4527 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4528 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4529 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4530 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4531 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4532 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4533 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4534 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4535 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4536 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4537 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4538 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4539 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4540 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4541 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4611 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4615 whole low double instead of just low 47 bits when splitting values
4618 2012-12-03 Allan McRae <allan@archlinux.org>
4620 * manual/stdio.texi (Predefined Printf Handlers): Remove
4621 @hsep and @vsep usage.
4623 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4625 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4626 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4628 2012-12-03 Jeff Law <law@redhat.com>
4630 * time/sys/time.h (settimeofday): Do not mark TV argument
4633 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4635 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4636 when currently writing and seek to current position when not.
4637 * libio/Makefile (tests): Remove bug-fclose1.
4638 * libio/bug-fclose1.c: Delete.
4640 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4642 * manual/arith.texi (feenableexcept): Fix typo.
4643 (fedisableexcept): Likewise.
4645 2012-11-30 Roland McGrath <roland@hack.frob.com>
4647 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4648 second, differently-typed declaration, rather than a cast.
4650 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4652 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4653 * include/rpc/svc.h: ... here.
4655 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4658 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4659 depending n and resplen2 to catch cases where answer
4662 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4664 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4665 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4667 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4669 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4671 2012-11-29 Roland McGrath <roland@hack.frob.com>
4673 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4675 2012-11-28 Jeff Law <law@redhat.com>
4678 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4679 dataset_temporary. Track alloca usage into alloca_used.
4680 If dataset is large allocate and release it via malloc/free.
4682 2012-06-04 Florian Weimer <fweimer@redhat.com>
4685 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4687 2012-11-28 David S. Miller <davem@davemloft.net>
4689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4691 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4694 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4695 of pi/2 rounded to nearest to 64 bits.
4696 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4698 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4701 2012-11-28 Jeff Law <law@redhat.com>
4702 Martin Osvald <mosvald@redhat.com>
4705 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4706 * sunrpc/svc.c: Include time.h.
4707 (__svc_accept_failed): New function.
4708 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4709 any reason other than EINTR, call __svc_accept_failed.
4710 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4711 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4713 2012-11-28 Andreas Schwab <schwab@suse.de>
4715 * scripts/abilist.awk: Also handle indirect functions in .opd
4718 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4721 * sysdeps/x86/fpu/powl_helper.c: New file.
4722 * sysdeps/x86/fpu/Makefile: Likewise.
4723 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4725 (__ieee754_powl): Use __powl_helper for finite arguments except
4726 integer exponents below 8.
4727 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4729 (__ieee754_powl): Use __powl_helper for finite arguments except
4730 integer exponents below 8.
4731 * math/libm-test.inc (pow_test): Add more tests and enable some
4732 previously disabled tests.
4733 * sysdeps/i386/fpu/libm-test-ulps: Update.
4734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4736 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4737 Carlos O'Donell <carlos_odonell@mentor.com>
4739 * nss/makedb.c (is_prime): Assert that input is odd and greater
4740 than 4. Note that fact in a comment too.
4741 (next_prime): Add 4 to input.
4743 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4746 * libio/Makefile (tests): Add test case tst-fwrite-error.
4747 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4748 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4749 * libio/tst-fwrite-error.c: New test case.
4751 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4753 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4754 before casting to void *.
4755 * include/libc-internal.h (__pointer_type): New macro.
4756 (__integer_if_pointer_type_sub): Likewise.
4757 (__integer_if_pointer_type): Likewise.
4758 (cast_to_integer): Likewise.
4759 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4760 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4761 before casting to atomic64_t.
4762 (atomic_exchange_acq): Likewise.
4763 (__arch_exchange_and_add_body): Likewise.
4764 (__arch_add_body): Likewise.
4765 (atomic_add_negative): Likewise.
4766 (atomic_add_zero): Likewise.
4768 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4770 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4771 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4772 (add_fdes): Likewise.
4773 (linear_search_fdes): Likewise.
4774 (binary_search_unencoded_fdes): Likewise.
4776 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4778 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4780 2012-11-24 Adam Conrad <adconrad@0c3.net>
4782 * configure.in: Autodetect C++ header directories.
4783 * configure: Regenerated.
4785 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4787 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4789 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4793 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4795 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4796 LDBL_MANT_DIG == 106]: Disable some tests.
4797 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4799 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4803 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4804 input for small inputs. Return +/- pi/2 for large inputs.
4805 * math/libm-test.inc (atan_test): Add more tests.
4807 * sysdeps/generic/unwind-dw2-fde-glibc.c
4808 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4809 __attribute__ ((unused)).
4812 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4813 x * y if x and y are nonzero and z is zero.
4816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4817 nonzero exponents with absolute value below 0x1p-117 to +/-
4821 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4822 up arguments below 2**-450, not just those below 2**-500.
4823 * math/libm-test.inc (hypot_test): Add another test.
4826 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4827 Return a+b for ratio over 2**120, not 2**60.
4828 * math/libm-test.inc (hypot_test): Add another test.
4830 * math/libm-test.inc (clog_test): Use
4831 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4832 (clog10_test): Likewise.
4835 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4837 2012-11-22 Andreas Schwab <schwab@suse.de>
4839 * sysdeps/i386/fpu/libm-test-ulps: Update.
4841 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4843 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4844 printf output with newline.
4846 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4849 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4850 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4851 -z nodlopen, -z initfirst and -z execstack support.
4852 * configure: Regenerated.
4854 * elf/elf.h (DF_1_NODIRECT): New macro.
4855 (DF_1_IGNMULDEF): Likewise.
4856 (DF_1_NOKSYMS): Likewise.
4857 (DF_1_NOHDR): Likewise.
4858 (DF_1_EDITED): Likewise.
4859 (DF_1_NORELOC): Likewise.
4860 (DF_1_SYMINTPOSE): Likewise.
4861 (DF_1_GLOBAUDIT): Likewise.
4862 (DF_1_SINGLETON): Likewise.
4863 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4864 DT_1_SUPPORTED_MASK bits.
4865 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4867 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4869 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4871 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4873 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4876 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4877 (sendmmsg): Move declarations...
4878 * socket/sys/socket.h: ... here.
4879 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4880 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4882 * socket/recvmmsg.c: ... this new file.
4883 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4884 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4885 definition of __sendmmsg hidden.
4886 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4887 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4888 Move ENOSYS stub into and include it from...
4889 * socket/sendmmsg.c: ... this new file.
4890 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4891 (sysdep_routines): Move recvmmsg and sendmmsg...
4892 * socket/Makefile (routines): ... here.
4893 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4894 (GLIBC_PRIVATE): Add __sendmmsg.
4895 * include/sys/socket.h (__sendmmsg): Add declarations.
4896 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4899 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4901 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4902 variable I1 with __attribute__ ((unused)).
4903 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4905 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4907 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4908 DUMMY variables with __attribute__ ((unused)).
4910 * bits/byteswap.h: Include <bits/types.h>.
4911 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4913 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4915 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4916 string_t. Do not manually set errno.
4917 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4918 length with __strnlen. Make sure to both set errno and return it on
4921 2012-11-19 David S. Miller <davem@davemloft.net>
4923 With help from Joseph Myers.
4924 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4925 very large arguments properly.
4926 * math/libm-test.inc (atan_test): New tests.
4927 (atan2_test): New tests.
4928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4931 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4934 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4937 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4938 [POSIX] (EADDRNOTAVAIL): Likewise.
4939 [POSIX] (EAFNOSUPPORT): Likewise.
4940 [POSIX] (EALREADY): Likewise.
4941 [POSIX] (ECONNABORTED): Likewise.
4942 [POSIX] (ECONNREFUSED): Likewise.
4943 [POSIX] (ECONNRESET): Likewise.
4944 [POSIX] (EDESTADDRREQ): Likewise.
4945 [POSIX] (EDQUOT): Likewise.
4946 [POSIX] (EHOSTUNREACH): Likewise.
4947 [POSIX] (EIDRM): Likewise.
4948 [POSIX] (EISCONN): Likewise.
4949 [POSIX] (ELOOP): Likewise.
4950 [POSIX] (EMULTIHOP): Likewise.
4951 [POSIX] (ENETDOWN): Likewise.
4952 [POSIX] (ENETUNREACH): Likewise.
4953 [POSIX] (ENOBUFS): Likewise.
4954 [POSIX] (ENODATA): Likewise.
4955 [POSIX] (ENOLINK): Likewise.
4956 [POSIX] (ENOMSG): Likewise.
4957 [POSIX] (ENOPROTOOPT): Likewise.
4958 [POSIX] (ENOSR): Likewise.
4959 [POSIX] (ENOSTR): Likewise.
4960 [POSIX] (ENOTCONN): Likewise.
4961 [POSIX] (ENOTSOCK): Likewise.
4962 [POSIX] (EOPNOTSUPP): Likewise.
4963 [POSIX] (EOVERFLOW): Likewise.
4964 [POSIX] (EPROTO): Likewise.
4965 [POSIX] (EPROTONOSUPPORT): Likewise.
4966 [POSIX] (EPROTOTYPE): Likewise.
4967 [POSIX] (ESTALE): Likewise.
4968 [POSIX] (ETIME): Likewise.
4969 [POSIX] (ETXTBSY): Likewise.
4970 [POSIX] (EWOULDBLOCK): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4972 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4973 [POSIX] (SEEK_CUR): Likewise.
4974 [POSIX] (SEEK_END): Likewise.
4975 [POSIX || UNIX98] (mode_t): Do not require.
4976 [POSIX] (off_t): Likewise.
4977 [POSIX] (pid_t): Likewise.
4978 [POSIX] (sys/stat.h): Do not allow header.
4979 [POSIX] (unistd.h): Likewise.
4980 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4981 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4982 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4983 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4985 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4986 sigevent): Specify elements.
4987 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4989 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4990 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4992 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4993 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4994 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4995 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4996 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4997 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4998 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4999 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5000 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5001 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5002 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5003 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5004 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5005 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5007 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5009 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5011 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5013 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5014 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5015 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5016 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5018 Specify lower bound on value.
5019 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5020 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5021 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5022 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5023 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5025 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5026 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5028 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5030 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5032 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5033 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5034 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5035 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5036 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5037 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5038 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5040 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5041 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5042 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5043 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5044 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5047 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5049 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5051 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5052 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5053 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5054 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5056 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5057 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5058 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5059 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5060 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5061 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5062 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5064 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5065 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5066 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5067 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5068 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5069 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5070 specify as optional.
5071 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5072 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5073 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5074 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5075 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5076 [XPG3] (NL_LANGMAX): Likewise.
5077 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5078 [POSIX || XPG3] (NL_NMAX): Likewise.
5079 [POSIX || XPG3] (NL_SETMAX): Likewise.
5080 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5081 [XPG3] (NZERO): Likewise.
5082 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5083 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5084 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5085 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5086 (REG_ERANGE): Expect.
5087 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5089 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5090 Use (void) in prototype.
5091 [POSIX] (*_t): Allow.
5092 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5093 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5094 (WRDE_BADVAL): Expect.
5096 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5098 [XPG3 || XPG4] (O_RSYNC): Likewise.
5099 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5101 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5102 [XPG3 || XPG4] (sigqueue): Likewise.
5103 [XPG3 || XPG4] (sigtimedwait): Likewise.
5104 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5105 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5106 [XPG3 || XPG4] (vsnprintf): Likewise.
5107 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5109 [XPG3 || XPG4] (blksize_t): Likewise.
5110 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5112 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5113 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5114 [XPG3 || XPG4] (struct itimerspec): Likewise.
5115 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5116 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5117 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5118 [XPG3 || XPG4] (clockid_t): Likewise.
5119 [XPG3 || XPG4] (timer_t): Likewise.
5120 [XPG3 || XPG4] (clock_getres): Likewise.
5121 [XPG3 || XPG4] (clock_gettime): Likewise.
5122 [XPG3 || XPG4] (clock_settime): Likewise.
5123 [XPG3 || XPG4] (nanosleep): Likewise.
5124 [XPG3 || XPG4] (timer_create): Likewise.
5125 [XPG3 || XPG4] (timer_delete): Likewise.
5126 [XPG3 || XPG4] (timer_gettime): Likewise.
5127 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5128 [XPG3 || XPG4] (timer_settime): Likewise.
5129 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5130 [XPG3 || XPG4] (getlogin_r): Likewise.
5131 [XPG3 || XPG4] (pread): Likewise.
5132 [XPG3 || XPG4] (pthread_atfork): Likewise.
5133 [XPG3 || XPG4] (pwrite): Likewise.
5136 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5139 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5141 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5142 finalizing MALLSTREAM.
5144 * sysdeps/mach/hurd/syncfs.c: New file.
5146 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5149 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5150 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5151 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5152 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5153 (_nss_dns_gethostbyname4_r): Likewise.
5154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5155 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5157 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5160 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5162 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5164 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5165 * elf/cache.c (print_entry): Print ",AArch64" for
5168 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5169 * elf/cache.c (print_entry): Print ",hard-float" for
5172 2012-11-18 David S. Miller <davem@davemloft.net>
5174 With help from Joseph Myers.
5175 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5177 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5179 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5180 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5182 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5183 * math/libm-test.inc (y0_test): New tests.
5184 (y1_test): New tests.
5185 * sysdeps/i386/fpu/libm-test-ulps: Update.
5186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5189 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5191 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5193 * configure: Regenerated.
5195 2012-11-17 David S. Miller <davem@davemloft.net>
5198 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5199 nonzero exponents with absolute value below 0x1p-128 to +/-
5202 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5204 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5206 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5208 * posix/getconf-speclist.c: New file.
5209 * posix/posix-envs.def: Likewise.
5210 * posix/confstr.c (START_ENV_GROUP): New macro.
5211 (END_ENV_GROUP): Likewise.
5212 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5213 (KNOWN_PRESENT_ENV_STRING): Likewise.
5214 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5215 (UNKNOWN_ENVIRONMENT): Likewise.
5216 (confstr): Include posix-envs.def instead of handling
5217 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5218 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5219 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5220 (END_ENV_GROUP): Likewise.
5221 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5222 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5223 (UNKNOWN_ENVIRONMENT): Likewise.
5224 (__sysconf): Include posix-envs.def instead of handling associated
5225 cases directly here.
5226 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5227 preprocessing getconf-speclist.c rather than running getconf or
5228 generating empty file.
5230 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5232 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5234 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5237 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5239 2012-11-16 David S. Miller <davem@davemloft.net>
5241 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5242 smaller than LDBL_EPSILON/2.0L, just return xm1.
5244 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5246 * elf/tst-array1.c (init): Set constructor priority to 1000.
5247 (fini): Set destructor priority to 1000.
5248 * elf/tst-array2dep.c: Likewise.
5250 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5253 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5254 (_IO_new_file_xsputn): Also return EOF if none of the input
5255 data was written when overflow failed.
5256 * libio/iopadn.c (_IO_padn): Likewise.
5257 * libio/iowpadn.c (_IO_wpadn): Likewise.
5258 * stdio-common/tst-put-error.c: Add copyright notice.
5259 (do_test): Add case for printing padded string.
5260 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5261 _IO_padn returned error.
5262 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5263 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5266 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5268 * libio/libioP.h: Add comment note that the references to C++
5269 bits are now obsolete.
5271 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5273 * math/libm-test.inc (check_complex): Use asprintf.
5275 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5277 * debug/pcprofiledump.c (print_version): Update copyright year.
5278 * malloc/memusagestat.c (print_version): Likewise.
5280 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5283 * elf/Makefile (tests): Add tst-audit8.
5284 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5285 ($(objpfx)tst-audit8.out): New target.
5286 (tst-audit8-ENV): New variable.
5287 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5288 audit if l_reloc_result is NULL.
5289 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5290 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5291 * elf/tst-audit8.c: New file.
5293 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5295 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5296 * misc/Makefile (CFLAGS-select.c): Define.
5297 * posix/Makefile (CFLAGS-pause.c): Define.
5299 2012-11-13 David S. Miller <davem@davemloft.net>
5301 * crypt/Makefile: Move test targets after toplevel Rules
5302 inclusion. Grab any necessary sysdep routines when linking.
5303 * crypt/md5.c (md5_process_block): Remove define, we will always
5304 name it __md5_process_block.
5305 (md5_finish_ctx): Update md5_process_block call.
5306 (md5_stream): Likewise.
5307 (md5_process_bytes): Likewise.
5308 (md5_process_block): Rename to __md5_process_block and move to ...
5309 * crypt/md5-block.c: ... here.
5310 * crypt/sha256.c (sha256_process_block): Move to ...
5311 * crypt/sha256-block.c: ... here.
5312 * crypt/sha512.c (sha512_process_block): Move to ...
5313 * crypt/sha512-block.c: ... here.
5314 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5316 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5317 * sysdeps/sparc/sparc64/multiarch/Makefile
5318 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5320 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5321 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5323 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5324 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5325 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5326 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5327 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5328 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5329 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5330 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5331 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5333 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5334 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5336 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5338 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5340 * timezone/tzselect.ksh: Update from tzcode git revision
5341 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5342 * timezone/zdump.c: Likewise.
5343 * timezone/zic.c: Likewise.
5344 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5345 in TZVERSION setting, not $(PKGVERSION).
5346 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5347 REPORT_BUGS_TO settings.
5350 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5353 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5355 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5356 detection to immediately after _FP_ROUND().
5357 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5360 2012-11-11 David S. Miller <davem@davemloft.net>
5362 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5364 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5365 __close rather than their public counterparts.
5367 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5369 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5371 [UNIX98] (sem_timedwait): Do not expect.
5372 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5373 [XPG4 || UNIX98] (sockatmark): Do not expect.
5374 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5375 (clock_getcpuclockid): Do not expect.
5376 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5377 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5379 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5380 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5381 [UNIX98] (vwscanf): Likewise.
5382 [UNIX98] (vswscanf): Likewise.
5384 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5386 * timezone/version.h: Remove file.
5387 * timezone/README: Do not refer to version.h.
5388 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5390 ($(objpfx)zdump.o): Likewise.
5391 ($(objpfx)version.h): New target.
5393 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5395 * timezone/README: Don't mention modification to tzselect.ksh.
5396 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5397 work on unmodified tzselect.ksh. Substitute version numbers in
5400 * Makefile (format-me): Remove.
5401 (INSTALL): Adjust indentation. Use commands directly instead of
5404 * aclocal.m4 (ACX_PKGVERSION): New macro.
5405 (ACX_BUGURL): Likewise.
5406 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5407 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5408 (REPORT_BUGS_TO): Likewise.
5409 * configure: Regenerated.
5410 * config.h.in (PKGVERSION): New macro.
5411 (REPORT_BUGS_TO): Likewise.
5412 * config.make.in (PKGVERSION): New variable.
5413 (PKGVERSION_TEXI): Likewise.
5414 (REPORT_BUGS_TO): Likewise.
5415 (REPORT_BUGS_TEXI): Likewise.
5416 * Makefile (format-me): Use -I$(common-objpfx)manual.
5417 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5418 ($(common-objpfx)manual/%): New target.
5419 (manual/%): Remove target.
5420 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5421 (print_version): Use PKGVERSION.
5422 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5423 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5425 ($(objpfx)xtrace): Likewise.
5426 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5427 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5428 (print_version): Use PKGVERSION.
5429 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5430 (do_version): Use PKGVERSION.
5431 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5433 (common-ldd-rewrite): Likewise.
5434 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5435 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5436 (print_version): Use PKGVERSION.
5437 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5438 * elf/pldd.c (argp_program_bug_address): Remove variable.
5439 (more_help): New function.
5440 (argp): Use more_help.
5441 (print_version): Use PKGVERSION.
5442 * elf/sln.c (main): Use PKGVERSION.
5443 (usage): Use REPORT_BUGS_TO.
5444 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5445 (top level): Use PKGVERSION.
5446 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5447 (print_version): Use PKGVERSION.
5448 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5449 (print_version): Use PKGVERSION.
5450 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5451 (print_version): Use PKGVERSION.
5452 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5453 (print_version): Use PKGVERSION.
5454 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5455 (print_version): Use PKGVERSION.
5456 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5457 (print_version): Use PKGVERSION.
5458 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5460 ($(objpfx)memusage): Likewise.
5461 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5462 (do_version): Use PKGVERSION.
5463 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5464 (print_version): Use PKGVERSION.
5465 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5466 ($PKGVERSION): New variable.
5467 ($REPORT_BUGS_TO): Likewise.
5468 (usage): Use $REPORT_BUGS_TO.
5469 (top level): Use $PKGVERSION.
5470 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5471 ($(objpfx)pkgvers.texi): New rule.
5472 ($(objpfx)stamp-pkgvers): Likewise.
5473 * manual/install.texi: Include pkgvers.texi.
5474 (--with-pkgversion): Document new configure option.
5475 (--with-bugurl): Likewise.
5476 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5477 than necessarily for this particular distribution. Use
5478 REPORT_BUGS_TO for where to report bugs.
5479 * INSTALL: Regenerated.
5480 * manual/libc.texinfo: Include pkgvers.texi.
5481 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5482 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5483 (print_version): Use PKGVERSION.
5484 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5485 (print_version): Use PKGVERSION.
5486 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5487 (print_version): Use PKGVERSION.
5488 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5489 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5491 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5492 (print_version): Use PKGVERSION.
5493 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5494 (print_version): Use PKGVERSION.
5495 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5498 * timezone/checktab.awk: Update from tzcode 2012i.
5499 * timezone/ialloc.c: Likewise.
5500 * timezone/private.h: Likewise.
5501 * timezone/scheck.c: Likewise.
5502 * timezone/tzfile.h: Likewise.
5503 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5504 (TZVERSION): Hardcode tzcode version number.
5505 * timezone/zdump.c: Update from tzcode 2012i.
5506 * timezone/zic.c: Likewise.
5507 * timezone/version.h: New file.
5508 * timezone/README: Describe version.h. Update upstream location.
5511 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5512 (mktemp): Enable declaration.
5513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5530 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5531 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5532 for copies of such integer values.
5533 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5534 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5536 2012-11-09 Andreas Jaeger <aj@suse.de>
5538 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5539 definitions and declarations that are provided by
5540 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5542 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5544 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5545 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5546 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5549 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5551 * elf/elf.h: Update comment before AArch64 relocations.
5553 2012-11-07 David S. Miller <davem@davemloft.net>
5555 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5556 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5557 (__start_context): Declare.
5558 (__makecontext_ret): Delete.
5559 (__makecontext): Hook up __start_context instead of
5561 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5562 (sysdep_routines): Add __start_context when in stdlib.
5564 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5566 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5567 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5568 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5570 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5571 (READELF): New variable. Use it instead of hardcoded "readelf".
5573 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5575 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5576 * sysdeps/x86/Makefile: Here.
5577 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5578 * sysdeps/x86/tst-xmmymm.sh: This.
5580 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5582 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5584 [UNIX98] (pthread_barrier_t): Do not expect.
5585 [UNIX98] (pthread_barrierattr_t): Likewise.
5586 [UNIX98] (pthread_spinlock_t): Likewise.
5587 [UNIX98] (pthread_barrier_destroy): Likewise.
5588 [UNIX98] (pthread_barrier_init): Likewise.
5589 [UNIX98] (pthread_barrier_wait): Likewise.
5590 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5591 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5592 [UNIX98] (pthread_barrierattr_init): Likewise.
5593 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5594 [UNIX98] (pthread_getcpuclockid): Likewise.
5595 [UNIX98] (pthread_mutex_timedlock): Likewise.
5596 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5597 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5598 [UNIX98] (pthread_sigmask): Likewise.
5599 [UNIX98] (pthread_spin_destroy): Likewise.
5600 [UNIX98] (pthread_spin_init): Likewise.
5601 [UNIX98] (pthread_spin_lock): Likewise.
5602 [UNIX98] (pthread_spin_trylock): Likewise.
5603 [UNIX98] (pthread_spin_unlock): Likewise.
5604 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5606 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5607 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5608 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5609 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5610 [XPG3 || XPG4] (pthread_key_t): Likewise.
5611 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5612 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5613 [XPG3 || XPG4] (pthread_once_t): Likewise.
5614 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5615 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5616 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5617 [XPG3 || XPG4] (pthread_t): Likewise.
5619 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5621 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5623 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5624 Change function return type to int.
5626 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5627 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5628 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5629 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5630 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5631 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5632 [!POSIX] (posix_madvise): Likewise.
5633 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5635 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5636 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5638 (posix_mem_offset): Likewise.
5639 (posix_typed_mem_get_info): Likewise.
5640 (posix_typed_mem_open): Likewise.
5642 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5643 Change condition to [XOPEN2K8].
5645 * conform/conformtest.pl: Preprocess allow-header data with -x c
5646 instead of from stdin.
5647 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5648 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5649 [C99-based standards] (cerfc): Likewise.
5650 [C99-based standards] (cexp2): Likewise.
5651 [C99-based standards] (cexpm1): Likewise.
5652 [C99-based standards] (clog10): Likewise.
5653 [C99-based standards] (clog1p): Likewise.
5654 [C99-based standards] (clog2): Likewise.
5655 [C99-based standards] (clgamma): Likewise.
5656 [C99-based standards] (ctgamma): Likewise.
5657 [C99-based standards] (cerff): Likewise.
5658 [C99-based standards] (cerfcf): Likewise.
5659 [C99-based standards] (cexp2f): Likewise.
5660 [C99-based standards] (cexpm1f): Likewise.
5661 [C99-based standards] (clog10f): Likewise.
5662 [C99-based standards] (clog1pf): Likewise.
5663 [C99-based standards] (clog2f): Likewise.
5664 [C99-based standards] (clgammaf): Likewise.
5665 [C99-based standards] (ctgammaf): Likewise.
5666 [C99-based standards] (cerfl): Likewise.
5667 [C99-based standards] (cerfcl): Likewise.
5668 [C99-based standards] (cexp2l): Likewise.
5669 [C99-based standards] (cexpm1l): Likewise.
5670 [C99-based standards] (clog10l): Likewise.
5671 [C99-based standards] (clog1pl): Likewise.
5672 [C99-based standards] (clog2l): Likewise.
5673 [C99-based standards] (clgammal): Likewise.
5674 [C99-based standards] (ctgammal): Likewise.
5675 * conform/data/inttypes.h-data [C99-based standards]: Include
5676 stdint.h-data. Remove all expectations for stdint.h contents.
5677 [C99-based standards] (PRI*): Do not allow.
5678 [C99-based standards] (SCN*): Likewise.
5679 [C99-based standards] (*_t): Likewise.
5680 [C99-based-standards] (PRId8): Expect macro.
5681 [C99-based-standards] (PRIi8): Likewise.
5682 [C99-based-standards] (PRIo8): Likewise.
5683 [C99-based-standards] (PRIu8): Likewise.
5684 [C99-based-standards] (PRIx8): Likewise.
5685 [C99-based-standards] (PRIX8): Likewise.
5686 [C99-based-standards] (SCNd8): Likewise.
5687 [C99-based-standards] (SCNi8): Likewise.
5688 [C99-based-standards] (SCNo8): Likewise.
5689 [C99-based-standards] (SCNu8): Likewise.
5690 [C99-based-standards] (SCNx8): Likewise.
5691 [C99-based-standards] (PRIdLEAST8): Likewise.
5692 [C99-based-standards] (PRIiLEAST8): Likewise.
5693 [C99-based-standards] (PRIoLEAST8): Likewise.
5694 [C99-based-standards] (PRIuLEAST8): Likewise.
5695 [C99-based-standards] (PRIxLEAST8): Likewise.
5696 [C99-based-standards] (PRIXLEAST8): Likewise.
5697 [C99-based-standards] (SCNdLEAST8): Likewise.
5698 [C99-based-standards] (SCNiLEAST8): Likewise.
5699 [C99-based-standards] (SCNoLEAST8): Likewise.
5700 [C99-based-standards] (SCNuLEAST8): Likewise.
5701 [C99-based-standards] (SCNxLEAST8): Likewise.
5702 [C99-based-standards] (PRIdFAST8): Likewise.
5703 [C99-based-standards] (PRIiFAST8): Likewise.
5704 [C99-based-standards] (PRIoFAST8): Likewise.
5705 [C99-based-standards] (PRIuFAST8): Likewise.
5706 [C99-based-standards] (PRIxFAST8): Likewise.
5707 [C99-based-standards] (PRIXFAST8): Likewise.
5708 [C99-based-standards] (SCNdFAST8): Likewise.
5709 [C99-based-standards] (SCNiFAST8): Likewise.
5710 [C99-based-standards] (SCNoFAST8): Likewise.
5711 [C99-based-standards] (SCNuFAST8): Likewise.
5712 [C99-based-standards] (SCNxFAST8): Likewise.
5713 [C99-based-standards] (PRId16): Likewise.
5714 [C99-based-standards] (PRIi16): Likewise.
5715 [C99-based-standards] (PRIo16): Likewise.
5716 [C99-based-standards] (PRIu16): Likewise.
5717 [C99-based-standards] (PRIx16): Likewise.
5718 [C99-based-standards] (PRIX16): Likewise.
5719 [C99-based-standards] (SCNd16): Likewise.
5720 [C99-based-standards] (SCNi16): Likewise.
5721 [C99-based-standards] (SCNo16): Likewise.
5722 [C99-based-standards] (SCNu16): Likewise.
5723 [C99-based-standards] (SCNx16): Likewise.
5724 [C99-based-standards] (PRIdLEAST16): Likewise.
5725 [C99-based-standards] (PRIiLEAST16): Likewise.
5726 [C99-based-standards] (PRIoLEAST16): Likewise.
5727 [C99-based-standards] (PRIuLEAST16): Likewise.
5728 [C99-based-standards] (PRIxLEAST16): Likewise.
5729 [C99-based-standards] (PRIXLEAST16): Likewise.
5730 [C99-based-standards] (SCNdLEAST16): Likewise.
5731 [C99-based-standards] (SCNiLEAST16): Likewise.
5732 [C99-based-standards] (SCNoLEAST16): Likewise.
5733 [C99-based-standards] (SCNuLEAST16): Likewise.
5734 [C99-based-standards] (SCNxLEAST16): Likewise.
5735 [C99-based-standards] (PRIdFAST16): Likewise.
5736 [C99-based-standards] (PRIiFAST16): Likewise.
5737 [C99-based-standards] (PRIoFAST16): Likewise.
5738 [C99-based-standards] (PRIuFAST16): Likewise.
5739 [C99-based-standards] (PRIxFAST16): Likewise.
5740 [C99-based-standards] (PRIXFAST16): Likewise.
5741 [C99-based-standards] (SCNdFAST16): Likewise.
5742 [C99-based-standards] (SCNiFAST16): Likewise.
5743 [C99-based-standards] (SCNoFAST16): Likewise.
5744 [C99-based-standards] (SCNuFAST16): Likewise.
5745 [C99-based-standards] (SCNxFAST16): Likewise.
5746 [C99-based-standards] (PRId32): Likewise.
5747 [C99-based-standards] (PRIi32): Likewise.
5748 [C99-based-standards] (PRIo32): Likewise.
5749 [C99-based-standards] (PRIu32): Likewise.
5750 [C99-based-standards] (PRIx32): Likewise.
5751 [C99-based-standards] (PRIX32): Likewise.
5752 [C99-based-standards] (SCNd32): Likewise.
5753 [C99-based-standards] (SCNi32): Likewise.
5754 [C99-based-standards] (SCNo32): Likewise.
5755 [C99-based-standards] (SCNu32): Likewise.
5756 [C99-based-standards] (SCNx32): Likewise.
5757 [C99-based-standards] (PRIdLEAST32): Likewise.
5758 [C99-based-standards] (PRIiLEAST32): Likewise.
5759 [C99-based-standards] (PRIoLEAST32): Likewise.
5760 [C99-based-standards] (PRIuLEAST32): Likewise.
5761 [C99-based-standards] (PRIxLEAST32): Likewise.
5762 [C99-based-standards] (PRIXLEAST32): Likewise.
5763 [C99-based-standards] (SCNdLEAST32): Likewise.
5764 [C99-based-standards] (SCNiLEAST32): Likewise.
5765 [C99-based-standards] (SCNoLEAST32): Likewise.
5766 [C99-based-standards] (SCNuLEAST32): Likewise.
5767 [C99-based-standards] (SCNxLEAST32): Likewise.
5768 [C99-based-standards] (PRIdFAST32): Likewise.
5769 [C99-based-standards] (PRIiFAST32): Likewise.
5770 [C99-based-standards] (PRIoFAST32): Likewise.
5771 [C99-based-standards] (PRIuFAST32): Likewise.
5772 [C99-based-standards] (PRIxFAST32): Likewise.
5773 [C99-based-standards] (PRIXFAST32): Likewise.
5774 [C99-based-standards] (SCNdFAST32): Likewise.
5775 [C99-based-standards] (SCNiFAST32): Likewise.
5776 [C99-based-standards] (SCNoFAST32): Likewise.
5777 [C99-based-standards] (SCNuFAST32): Likewise.
5778 [C99-based-standards] (SCNxFAST32): Likewise.
5779 [C99-based-standards] (PRId64): Likewise.
5780 [C99-based-standards] (PRIi64): Likewise.
5781 [C99-based-standards] (PRIo64): Likewise.
5782 [C99-based-standards] (PRIu64): Likewise.
5783 [C99-based-standards] (PRIx64): Likewise.
5784 [C99-based-standards] (PRIX64): Likewise.
5785 [C99-based-standards] (SCNd64): Likewise.
5786 [C99-based-standards] (SCNi64): Likewise.
5787 [C99-based-standards] (SCNo64): Likewise.
5788 [C99-based-standards] (SCNu64): Likewise.
5789 [C99-based-standards] (SCNx64): Likewise.
5790 [C99-based-standards] (PRIdLEAST64): Likewise.
5791 [C99-based-standards] (PRIiLEAST64): Likewise.
5792 [C99-based-standards] (PRIoLEAST64): Likewise.
5793 [C99-based-standards] (PRIuLEAST64): Likewise.
5794 [C99-based-standards] (PRIxLEAST64): Likewise.
5795 [C99-based-standards] (PRIXLEAST64): Likewise.
5796 [C99-based-standards] (SCNdLEAST64): Likewise.
5797 [C99-based-standards] (SCNiLEAST64): Likewise.
5798 [C99-based-standards] (SCNoLEAST64): Likewise.
5799 [C99-based-standards] (SCNuLEAST64): Likewise.
5800 [C99-based-standards] (SCNxLEAST64): Likewise.
5801 [C99-based-standards] (PRIdFAST64): Likewise.
5802 [C99-based-standards] (PRIiFAST64): Likewise.
5803 [C99-based-standards] (PRIoFAST64): Likewise.
5804 [C99-based-standards] (PRIuFAST64): Likewise.
5805 [C99-based-standards] (PRIxFAST64): Likewise.
5806 [C99-based-standards] (PRIXFAST64): Likewise.
5807 [C99-based-standards] (SCNdFAST64): Likewise.
5808 [C99-based-standards] (SCNiFAST64): Likewise.
5809 [C99-based-standards] (SCNoFAST64): Likewise.
5810 [C99-based-standards] (SCNuFAST64): Likewise.
5811 [C99-based-standards] (SCNxFAST64): Likewise.
5812 [C99-based-standards] (PRIdMAX): Likewise.
5813 [C99-based-standards] (PRIiMAX): Likewise.
5814 [C99-based-standards] (PRIoMAX): Likewise.
5815 [C99-based-standards] (PRIuMAX): Likewise.
5816 [C99-based-standards] (PRIxMAX): Likewise.
5817 [C99-based-standards] (PRIXMAX): Likewise.
5818 [C99-based-standards] (SCNdMAX): Likewise.
5819 [C99-based-standards] (SCNiMAX): Likewise.
5820 [C99-based-standards] (SCNoMAX): Likewise.
5821 [C99-based-standards] (SCNuMAX): Likewise.
5822 [C99-based-standards] (SCNxMAX): Likewise.
5823 [C99-based-standards] (PRIdPTR): Likewise.
5824 [C99-based-standards] (PRIiPTR): Likewise.
5825 [C99-based-standards] (PRIoPTR): Likewise.
5826 [C99-based-standards] (PRIuPTR): Likewise.
5827 [C99-based-standards] (PRIxPTR): Likewise.
5828 [C99-based-standards] (PRIXPTR): Likewise.
5829 [C99-based-standards] (SCNdPTR): Likewise.
5830 [C99-based-standards] (SCNiPTR): Likewise.
5831 [C99-based-standards] (SCNoPTR): Likewise.
5832 [C99-based-standards] (SCNuPTR): Likewise.
5833 [C99-based-standards] (SCNxPTR): Likewise.
5834 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5836 * conform/data/stdint.h-data: Update comments to clarify
5838 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5840 [C99-based standards] (INT8_MAX): Likewise.
5841 [C99-based standards] (INT16_MIN): Likewise.
5842 [C99-based standards] (INT16_MAX): Likewise.
5843 [C99-based standards] (INT32_MIN): Likewise.
5844 [C99-based standards] (INT32_MAX): Likewise.
5845 [C99-based standards] (INT64_MIN): Likewise.
5846 [C99-based standards] (INT64_MAX): Likewise.
5847 [C99-based standards] (UINT8_MAX): Likewise.
5848 [C99-based standards] (UINT16_MAX): Likewise.
5849 [C99-based standards] (UINT32_MAX): Likewise.
5850 [C99-based standards] (UINT64_MAX): Likewise.
5851 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5852 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5853 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5854 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5855 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5856 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5857 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5858 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5859 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5860 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5861 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5862 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5863 [C99-based standards] (INT_FAST8_MIN): Likewise.
5864 [C99-based standards] (INT_FAST8_MAX): Likewise.
5865 [C99-based standards] (INT_FAST16_MIN): Likewise.
5866 [C99-based standards] (INT_FAST16_MAX): Likewise.
5867 [C99-based standards] (INT_FAST32_MIN): Likewise.
5868 [C99-based standards] (INT_FAST32_MAX): Likewise.
5869 [C99-based standards] (INT_FAST64_MIN): Likewise.
5870 [C99-based standards] (INT_FAST64_MAX): Likewise.
5871 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5872 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5873 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5874 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5875 [C99-based standards] (INTPTR_MIN): Likewise.
5876 [C99-based standards] (INTPTR_MAX): Likewise.
5877 [C99-based standards] (UINTPTR_MAX): Likewise.
5878 [C99-based standards] (INTMAX_MIN): Likewise.
5879 [C99-based standards] (INTMAX_MAX): Likewise.
5880 [C99-based standards] (UINTMAX_MAX): Likewise.
5881 [C99-based standards] (PTRDIFF_MIN): Likewise.
5882 [C99-based standards] (PTRDIFF_MAX): Likewise.
5883 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5884 [C99-based standards] (SIZE_MAX): Likewise.
5885 [C99-based standards] (WCHAR_MAX): Likewise.
5886 [C99-based standards] (WINT_MAX): Likewise.
5887 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5888 constraint on value.
5889 [C99-based standards] (WCHAR_MIN): Likewise.
5890 [C99-based standards] (WINT_MIN): Likewise.
5891 [C99-based standards] (*_t): Allow.
5892 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5893 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5894 Include math.h-data and complex.h-data. Remove all expectations
5895 of math.h and complex.h contents.
5896 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5898 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5899 (struct tm): Expect tag.
5900 [C99-based-standards] (wcstof): Expect function.
5901 [C99-based-standards] (wcstold): Likewise.
5902 [C99-based-standards] (wcstoll): Likewise.
5903 [C99-based-standards] (wcstoull): Likewise.
5904 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5905 macro-int-constant. Specify type.
5906 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5907 constraint on value.
5908 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5910 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5912 [ISO C standards]: Do not allow headers.
5913 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5914 wcs[abcdefghijklmnopqrstuvwxyz]*.
5915 [ISO C standards] (*_t): Do not allow.
5916 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5918 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5919 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5921 [ISO C standards]: Do not allow headers.
5922 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5923 is[abcdefghijklmnopqrstuvwxyz]*.
5924 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5925 to[abcdefghijklmnopqrstuvwxyz]*.
5926 [ISO C standards] (*_t): Do not allow.
5927 * conform/data/stdalign.h-data: New file.
5928 * conform/data/stdbool.h-data: Likewise.
5929 * conform/data/stdnoreturn.h-data: Likewise.
5931 2012-11-07 Roland McGrath <roland@hack.frob.com>
5934 * manual/filesys.texi (Directory Entries): Typo fix.
5935 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5937 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5939 * elf/elf.h (EM_AARCH64): New macro.
5940 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5941 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5942 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5943 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5944 (R_AARCH64_TLSDESC): Likewise.
5945 (NT_ARM_TLS): Likewise.
5946 (NT_ARM_HW_BREAK): Likewise.
5947 (NT_ARM_HW_WATCH): Likewise.
5949 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5952 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5953 (__ieee754_powl): Saturate nonzero exponents with absolute value
5954 below 0x1p-79 to +/- 0x1p-79.
5955 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5956 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5957 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5958 nonzero exponents with absolute value below 0x1p-32 to +/-
5960 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5961 (__ieee754_powl): Saturate nonzero exponents with absolute value
5962 below 0x1p-79 to +/- 0x1p-79.
5963 * math/libm-test.inc (pow_test): Add more tests.
5965 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5967 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5968 _dl_s390_cap_flags with kernel. Increase string length.
5969 (_dl_s390_platforms): Add z196 and zEC12.
5971 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5973 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5974 Change XOPEN21K to XOPEN2K.
5976 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5978 * string/memmove.c: Use memcpy when possible.
5980 2012-11-06 Andreas Jaeger <aj@suse.de>
5982 * po/eo.po: Update from translation team.
5984 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5988 exponent and small x and y exponents, scale x or y up. Increase
5989 by 2 the exponent used in scaling up.
5990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5992 * math/libm-test.inc (fma_test): Add more tests.
5993 (fma_test_towardzero): Likewise.
5994 (fma_test_downward): Likewise.
5995 (fma_test_upward): Likewise.
5997 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6000 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6004 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6005 namespace for names of struct fields.
6006 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6008 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6009 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6011 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6014 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6016 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6018 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6022 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6025 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6029 definitely overflow as x * y not x * y + z.
6030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6031 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6032 * math/libm-test.inc (fma_test): Add more tests.
6033 (fma_test_towardzero): Likewise.
6034 (fma_test_downward): Likewise.
6035 (fma_test_upward): Likewise.
6037 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6041 * include/stub-tag.h: Remove file.
6042 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6044 * manual/maint.texi (Porting): Don't reference it.
6045 * Makerules ($(objpfx)stubs): Likewise.
6046 * dirent/closedir.c: Don't include <stub-tag.h>.
6047 * dirent/dirfd.c: Likewise.
6048 * dirent/fdopendir.c: Likewise.
6049 * dirent/getdents.c: Likewise.
6050 * dirent/getdents64.c: Likewise.
6051 * dirent/opendir.c: Likewise.
6052 * dirent/readdir.c: Likewise.
6053 * dirent/readdir64.c: Likewise.
6054 * dirent/readdir64_r.c: Likewise.
6055 * dirent/readdir_r.c: Likewise.
6056 * dirent/rewinddir.c: Likewise.
6057 * dirent/seekdir.c: Likewise.
6058 * dirent/telldir.c: Likewise.
6059 * gmon/profil.c: Likewise.
6060 * grp/setgroups.c: Likewise.
6061 * inet/if_index.c: Likewise.
6062 * io/access.c: Likewise.
6063 * io/chdir.c: Likewise.
6064 * io/chmod.c: Likewise.
6065 * io/chown.c: Likewise.
6066 * io/close.c: Likewise.
6067 * io/dup.c: Likewise.
6068 * io/dup2.c: Likewise.
6069 * io/dup3.c: Likewise.
6070 * io/euidaccess.c: Likewise.
6071 * io/faccessat.c: Likewise.
6072 * io/fchdir.c: Likewise.
6073 * io/fchmod.c: Likewise.
6074 * io/fchmodat.c: Likewise.
6075 * io/fchown.c: Likewise.
6076 * io/fchownat.c: Likewise.
6077 * io/fcntl.c: Likewise.
6078 * io/flock.c: Likewise.
6079 * io/fstatfs.c: Likewise.
6080 * io/fstatfs64.c: Likewise.
6081 * io/fstatvfs.c: Likewise.
6082 * io/fstatvfs64.c: Likewise.
6083 * io/futimens.c: Likewise.
6084 * io/fxstat.c: Likewise.
6085 * io/fxstat64.c: Likewise.
6086 * io/fxstatat.c: Likewise.
6087 * io/fxstatat64.c: Likewise.
6088 * io/getcwd.c: Likewise.
6089 * io/isatty.c: Likewise.
6090 * io/lchmod.c: Likewise.
6091 * io/lchown.c: Likewise.
6092 * io/link.c: Likewise.
6093 * io/linkat.c: Likewise.
6094 * io/lseek.c: Likewise.
6095 * io/lseek64.c: Likewise.
6096 * io/lxstat64.c: Likewise.
6097 * io/mkdir.c: Likewise.
6098 * io/mkdirat.c: Likewise.
6099 * io/mkfifo.c: Likewise.
6100 * io/mkfifoat.c: Likewise.
6101 * io/open.c: Likewise.
6102 * io/open64.c: Likewise.
6103 * io/openat.c: Likewise.
6104 * io/openat64.c: Likewise.
6105 * io/pipe.c: Likewise.
6106 * io/pipe2.c: Likewise.
6107 * io/poll.c: Likewise.
6108 * io/posix_fadvise.c: Likewise.
6109 * io/posix_fadvise64.c: Likewise.
6110 * io/posix_fallocate.c: Likewise.
6111 * io/posix_fallocate64.c: Likewise.
6112 * io/read.c: Likewise.
6113 * io/readlink.c: Likewise.
6114 * io/readlinkat.c: Likewise.
6115 * io/rmdir.c: Likewise.
6116 * io/sendfile.c: Likewise.
6117 * io/sendfile64.c: Likewise.
6118 * io/statfs.c: Likewise.
6119 * io/statfs64.c: Likewise.
6120 * io/statvfs.c: Likewise.
6121 * io/statvfs64.c: Likewise.
6122 * io/symlink.c: Likewise.
6123 * io/symlinkat.c: Likewise.
6124 * io/ttyname.c: Likewise.
6125 * io/ttyname_r.c: Likewise.
6126 * io/umask.c: Likewise.
6127 * io/unlink.c: Likewise.
6128 * io/unlinkat.c: Likewise.
6129 * io/utime.c: Likewise.
6130 * io/utimensat.c: Likewise.
6131 * io/write.c: Likewise.
6132 * io/xmknod.c: Likewise.
6133 * io/xmknodat.c: Likewise.
6134 * io/xstat.c: Likewise.
6135 * io/xstat64.c: Likewise.
6136 * login/getpt.c: Likewise.
6137 * login/grantpt.c: Likewise.
6138 * login/unlockpt.c: Likewise.
6139 * math/e_acoshl.c: Likewise.
6140 * math/e_acosl.c: Likewise.
6141 * math/e_asinl.c: Likewise.
6142 * math/e_atan2l.c: Likewise.
6143 * math/e_atanhl.c: Likewise.
6144 * math/e_coshl.c: Likewise.
6145 * math/e_expl.c: Likewise.
6146 * math/e_fmodl.c: Likewise.
6147 * math/e_gammal_r.c: Likewise.
6148 * math/e_hypotl.c: Likewise.
6149 * math/e_j0l.c: Likewise.
6150 * math/e_j1l.c: Likewise.
6151 * math/e_jnl.c: Likewise.
6152 * math/e_lgammal_r.c: Likewise.
6153 * math/e_log10l.c: Likewise.
6154 * math/e_log2l.c: Likewise.
6155 * math/e_logl.c: Likewise.
6156 * math/e_powl.c: Likewise.
6157 * math/e_rem_pio2l.c: Likewise.
6158 * math/e_sinhl.c: Likewise.
6159 * math/e_sqrtl.c: Likewise.
6160 * math/fclrexcpt.c: Likewise.
6161 * math/fedisblxcpt.c: Likewise.
6162 * math/feenablxcpt.c: Likewise.
6163 * math/fegetenv.c: Likewise.
6164 * math/fegetexcept.c: Likewise.
6165 * math/fegetround.c: Likewise.
6166 * math/feholdexcpt.c: Likewise.
6167 * math/fesetenv.c: Likewise.
6168 * math/fesetround.c: Likewise.
6169 * math/feupdateenv.c: Likewise.
6170 * math/fgetexcptflg.c: Likewise.
6171 * math/fraiseexcpt.c: Likewise.
6172 * math/fsetexcptflg.c: Likewise.
6173 * math/ftestexcept.c: Likewise.
6174 * math/k_cosl.c: Likewise.
6175 * math/k_rem_pio2l.c: Likewise.
6176 * math/k_sinl.c: Likewise.
6177 * math/k_tanl.c: Likewise.
6178 * math/s_asinhl.c: Likewise.
6179 * math/s_atanl.c: Likewise.
6180 * math/s_cbrtl.c: Likewise.
6181 * math/s_erfl.c: Likewise.
6182 * math/s_expm1l.c: Likewise.
6183 * math/s_log1pl.c: Likewise.
6184 * math/s_tanhl.c: Likewise.
6185 * misc/acct.c: Likewise.
6186 * misc/brk.c: Likewise.
6187 * misc/chflags.c: Likewise.
6188 * misc/chroot.c: Likewise.
6189 * misc/fchflags.c: Likewise.
6190 * misc/fgetxattr.c: Likewise.
6191 * misc/flistxattr.c: Likewise.
6192 * misc/fremovexattr.c: Likewise.
6193 * misc/fsetxattr.c: Likewise.
6194 * misc/fsync.c: Likewise.
6195 * misc/ftruncate.c: Likewise.
6196 * misc/futimes.c: Likewise.
6197 * misc/futimesat.c: Likewise.
6198 * misc/getdomain.c: Likewise.
6199 * misc/getdtsz.c: Likewise.
6200 * misc/gethostid.c: Likewise.
6201 * misc/gethostname.c: Likewise.
6202 * misc/getloadavg.c: Likewise.
6203 * misc/getpagesize.c: Likewise.
6204 * misc/getsysstats.c: Likewise.
6205 * misc/getxattr.c: Likewise.
6206 * misc/gtty.c: Likewise.
6207 * misc/ioctl.c: Likewise.
6208 * misc/lgetxattr.c: Likewise.
6209 * misc/listxattr.c: Likewise.
6210 * misc/llistxattr.c: Likewise.
6211 * misc/lremovexattr.c: Likewise.
6212 * misc/lsetxattr.c: Likewise.
6213 * misc/lutimes.c: Likewise.
6214 * misc/madvise.c: Likewise.
6215 * misc/mincore.c: Likewise.
6216 * misc/mlock.c: Likewise.
6217 * misc/mlockall.c: Likewise.
6218 * misc/mmap.c: Likewise.
6219 * misc/mprotect.c: Likewise.
6220 * misc/msync.c: Likewise.
6221 * misc/munlock.c: Likewise.
6222 * misc/munlockall.c: Likewise.
6223 * misc/munmap.c: Likewise.
6224 * misc/preadv.c: Likewise.
6225 * misc/preadv64.c: Likewise.
6226 * misc/ptrace.c: Likewise.
6227 * misc/pwritev.c: Likewise.
6228 * misc/pwritev64.c: Likewise.
6229 * misc/readv.c: Likewise.
6230 * misc/reboot.c: Likewise.
6231 * misc/remap_file_pages.c: Likewise.
6232 * misc/removexattr.c: Likewise.
6233 * misc/revoke.c: Likewise.
6234 * misc/select.c: Likewise.
6235 * misc/setdomain.c: Likewise.
6236 * misc/setegid.c: Likewise.
6237 * misc/seteuid.c: Likewise.
6238 * misc/sethostid.c: Likewise.
6239 * misc/sethostname.c: Likewise.
6240 * misc/setregid.c: Likewise.
6241 * misc/setreuid.c: Likewise.
6242 * misc/setxattr.c: Likewise.
6243 * misc/sstk.c: Likewise.
6244 * misc/stty.c: Likewise.
6245 * misc/swapoff.c: Likewise.
6246 * misc/swapon.c: Likewise.
6247 * misc/sync.c: Likewise.
6248 * misc/syncfs.c: Likewise.
6249 * misc/syscall.c: Likewise.
6250 * misc/truncate.c: Likewise.
6251 * misc/ualarm.c: Likewise.
6252 * misc/usleep.c: Likewise.
6253 * misc/ustat.c: Likewise.
6254 * misc/utimes.c: Likewise.
6255 * misc/vhangup.c: Likewise.
6256 * misc/writev.c: Likewise.
6257 * posix/_exit.c: Likewise.
6258 * posix/alarm.c: Likewise.
6259 * posix/execve.c: Likewise.
6260 * posix/fexecve.c: Likewise.
6261 * posix/fork.c: Likewise.
6262 * posix/fpathconf.c: Likewise.
6263 * posix/getaddrinfo.c: Likewise.
6264 * posix/getegid.c: Likewise.
6265 * posix/geteuid.c: Likewise.
6266 * posix/getgid.c: Likewise.
6267 * posix/getgroups.c: Likewise.
6268 * posix/getlogin.c: Likewise.
6269 * posix/getlogin_r.c: Likewise.
6270 * posix/getpgid.c: Likewise.
6271 * posix/getpid.c: Likewise.
6272 * posix/getppid.c: Likewise.
6273 * posix/getresgid.c: Likewise.
6274 * posix/getresuid.c: Likewise.
6275 * posix/getsid.c: Likewise.
6276 * posix/getuid.c: Likewise.
6277 * posix/glob64.c: Likewise.
6278 * posix/nanosleep.c: Likewise.
6279 * posix/pathconf.c: Likewise.
6280 * posix/pause.c: Likewise.
6281 * posix/posix_madvise.c: Likewise.
6282 * posix/pread.c: Likewise.
6283 * posix/pread64.c: Likewise.
6284 * posix/pwrite.c: Likewise.
6285 * posix/pwrite64.c: Likewise.
6286 * posix/sched_getaffinity.c: Likewise.
6287 * posix/sched_getp.c: Likewise.
6288 * posix/sched_gets.c: Likewise.
6289 * posix/sched_primax.c: Likewise.
6290 * posix/sched_primin.c: Likewise.
6291 * posix/sched_rr_gi.c: Likewise.
6292 * posix/sched_setaffinity.c: Likewise.
6293 * posix/sched_setp.c: Likewise.
6294 * posix/sched_sets.c: Likewise.
6295 * posix/sched_yield.c: Likewise.
6296 * posix/setgid.c: Likewise.
6297 * posix/setlogin.c: Likewise.
6298 * posix/setpgid.c: Likewise.
6299 * posix/setresgid.c: Likewise.
6300 * posix/setresuid.c: Likewise.
6301 * posix/setsid.c: Likewise.
6302 * posix/setuid.c: Likewise.
6303 * posix/sleep.c: Likewise.
6304 * posix/spawni.c: Likewise.
6305 * posix/sysconf.c: Likewise.
6306 * posix/times.c: Likewise.
6307 * posix/wait.c: Likewise.
6308 * posix/wait3.c: Likewise.
6309 * posix/wait4.c: Likewise.
6310 * posix/waitpid.c: Likewise.
6311 * resolv/gai_sigqueue.c: Likewise.
6312 * resource/getpriority.c: Likewise.
6313 * resource/getrlimit.c: Likewise.
6314 * resource/getrusage.c: Likewise.
6315 * resource/nice.c: Likewise.
6316 * resource/setpriority.c: Likewise.
6317 * resource/setrlimit.c: Likewise.
6318 * resource/ulimit.c: Likewise.
6319 * rt/aio_cancel.c: Likewise.
6320 * rt/aio_fsync.c: Likewise.
6321 * rt/aio_read.c: Likewise.
6322 * rt/aio_sigqueue.c: Likewise.
6323 * rt/aio_suspend.c: Likewise.
6324 * rt/aio_write.c: Likewise.
6325 * rt/clock_getres.c: Likewise.
6326 * rt/clock_gettime.c: Likewise.
6327 * rt/clock_nanosleep.c: Likewise.
6328 * rt/clock_settime.c: Likewise.
6329 * rt/lio_listio.c: Likewise.
6330 * rt/mq_close.c: Likewise.
6331 * rt/mq_getattr.c: Likewise.
6332 * rt/mq_notify.c: Likewise.
6333 * rt/mq_open.c: Likewise.
6334 * rt/mq_receive.c: Likewise.
6335 * rt/mq_send.c: Likewise.
6336 * rt/mq_setattr.c: Likewise.
6337 * rt/mq_timedreceive.c: Likewise.
6338 * rt/mq_timedsend.c: Likewise.
6339 * rt/mq_unlink.c: Likewise.
6340 * rt/shm_open.c: Likewise.
6341 * rt/shm_unlink.c: Likewise.
6342 * rt/timer_create.c: Likewise.
6343 * rt/timer_delete.c: Likewise.
6344 * rt/timer_getoverr.c: Likewise.
6345 * rt/timer_gettime.c: Likewise.
6346 * rt/timer_settime.c: Likewise.
6347 * setjmp/__longjmp.c: Likewise.
6348 * setjmp/setjmp.c: Likewise.
6349 * signal/kill.c: Likewise.
6350 * signal/killpg.c: Likewise.
6351 * signal/raise.c: Likewise.
6352 * signal/sigaction.c: Likewise.
6353 * signal/sigaltstack.c: Likewise.
6354 * signal/sigblock.c: Likewise.
6355 * signal/sigignore.c: Likewise.
6356 * signal/sigintr.c: Likewise.
6357 * signal/signal.c: Likewise.
6358 * signal/sigpause.c: Likewise.
6359 * signal/sigpending.c: Likewise.
6360 * signal/sigqueue.c: Likewise.
6361 * signal/sigreturn.c: Likewise.
6362 * signal/sigset.c: Likewise.
6363 * signal/sigsetmask.c: Likewise.
6364 * signal/sigstack.c: Likewise.
6365 * signal/sigsuspend.c: Likewise.
6366 * signal/sigtimedwait.c: Likewise.
6367 * signal/sigvec.c: Likewise.
6368 * signal/sigwait.c: Likewise.
6369 * signal/sigwaitinfo.c: Likewise.
6370 * signal/sysv_signal.c: Likewise.
6371 * socket/accept.c: Likewise.
6372 * socket/accept4.c: Likewise.
6373 * socket/bind.c: Likewise.
6374 * socket/connect.c: Likewise.
6375 * socket/getpeername.c: Likewise.
6376 * socket/getsockname.c: Likewise.
6377 * socket/getsockopt.c: Likewise.
6378 * socket/isfdtype.c: Likewise.
6379 * socket/listen.c: Likewise.
6380 * socket/recv.c: Likewise.
6381 * socket/recvfrom.c: Likewise.
6382 * socket/recvmsg.c: Likewise.
6383 * socket/send.c: Likewise.
6384 * socket/sendmsg.c: Likewise.
6385 * socket/sendto.c: Likewise.
6386 * socket/setsockopt.c: Likewise.
6387 * socket/shutdown.c: Likewise.
6388 * socket/sockatmark.c: Likewise.
6389 * socket/socket.c: Likewise.
6390 * socket/socketpair.c: Likewise.
6391 * stdio-common/ctermid.c: Likewise.
6392 * stdio-common/cuserid.c: Likewise.
6393 * stdio-common/remove.c: Likewise.
6394 * stdio-common/rename.c: Likewise.
6395 * stdio-common/renameat.c: Likewise.
6396 * stdio-common/tempname.c: Likewise.
6397 * stdlib/getcontext.c: Likewise.
6398 * stdlib/makecontext.c: Likewise.
6399 * stdlib/setcontext.c: Likewise.
6400 * stdlib/swapcontext.c: Likewise.
6401 * stdlib/system.c: Likewise.
6402 * streams/fattach.c: Likewise.
6403 * streams/fdetach.c: Likewise.
6404 * streams/getmsg.c: Likewise.
6405 * streams/getpmsg.c: Likewise.
6406 * streams/putmsg.c: Likewise.
6407 * streams/putpmsg.c: Likewise.
6408 * sysdeps/unix/bsd/getpt.c: Likewise.
6409 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6410 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6411 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6414 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6415 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6416 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6417 * sysvipc/msgctl.c: Likewise.
6418 * sysvipc/msgget.c: Likewise.
6419 * sysvipc/msgrcv.c: Likewise.
6420 * sysvipc/msgsnd.c: Likewise.
6421 * sysvipc/semctl.c: Likewise.
6422 * sysvipc/semget.c: Likewise.
6423 * sysvipc/semop.c: Likewise.
6424 * sysvipc/semtimedop.c: Likewise.
6425 * sysvipc/shmat.c: Likewise.
6426 * sysvipc/shmctl.c: Likewise.
6427 * sysvipc/shmdt.c: Likewise.
6428 * sysvipc/shmget.c: Likewise.
6429 * termios/tcdrain.c: Likewise.
6430 * termios/tcflow.c: Likewise.
6431 * termios/tcflush.c: Likewise.
6432 * termios/tcgetattr.c: Likewise.
6433 * termios/tcgetpgrp.c: Likewise.
6434 * termios/tcsendbrk.c: Likewise.
6435 * termios/tcsetattr.c: Likewise.
6436 * termios/tcsetpgrp.c: Likewise.
6437 * time/adjtime.c: Likewise.
6438 * time/clock.c: Likewise.
6439 * time/getitimer.c: Likewise.
6440 * time/gettimeofday.c: Likewise.
6441 * time/setitimer.c: Likewise.
6442 * time/settimeofday.c: Likewise.
6443 * time/stime.c: Likewise.
6444 * time/time.c: Likewise.
6446 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6448 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6451 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6453 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6455 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6459 FE_TONEAREST before applying Dekker multiplication and Knuth
6460 addition. Clear inexact exceptions and check for exact zero
6462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6463 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6465 * math/libm-test.inc (fma_test): Add more tests.
6466 (fma_test_towardzero): Likewise.
6467 (fma_test_downward): Likewise.
6468 (fma_test_upward): Likewise.
6469 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6471 (libc_fesetround): New macro.
6472 (libc_fesetroundf): Likewise.
6473 (libc_fesetroundl): Likewise.
6474 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6476 (libc_fesetround_387): Likewise.
6477 (libc_fesetroundf): New macro.
6478 (libc_fesetround): Likewise.
6479 (libc_fesetroundl): Likewise.
6480 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6482 (libc_fesetroundf): New macro.
6483 (libc_fesetround): Likewise.
6484 (libc_fesetroundl): Likewise.
6485 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6486 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6487 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6489 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6490 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6492 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6493 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6495 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6499 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6500 integer constant usable in #if and use that to give value to enum
6502 (FE_DIVBYZERO): Likewise.
6503 (FE_UNDERFLOW): Likewise.
6504 (FE_OVERFLOW): Likewise.
6505 (FE_INVALID): Likewise.
6506 (FE_INVALID_SNAN): Likewise.
6507 (FE_INVALID_ISI): Likewise.
6508 (FE_INVALID_IDI): Likewise.
6509 (FE_INVALID_ZDZ): Likewise.
6510 (FE_INVALID_IMZ): Likewise.
6511 (FE_INVALID_COMPARE): Likewise.
6512 (FE_INVALID_SOFTWARE): Likewise.
6513 (FE_INVALID_SQRT): Likewise.
6514 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6515 (FE_TONEAREST): Likewise.
6516 (FE_TOWARDZERO): Likewise.
6517 (FE_UPWARD): Likewise.
6518 (FE_DOWNWARD): Likewise.
6519 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6520 (FE_DIVBYZERO): Likewise.
6521 (FE_OVERFLOW): Likewise.
6522 (FE_UNDERFLOW): Likewise.
6523 (FE_INEXACT): Likewise.
6524 (FE_TONEAREST): Likewise.
6525 (FE_DOWNWARD): Likewise.
6526 (FE_UPWARD): Likewise.
6527 (FE_TOWARDZERO): Likewise.
6528 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6529 (FE_UNDERFLOW): Likewise.
6530 (FE_OVERFLOW): Likewise.
6531 (FE_DIVBYZERO): Likewise.
6532 (FE_INVALID): Likewise.
6533 (FE_TONEAREST): Likewise.
6534 (FE_TOWARDZERO): Likewise.
6535 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6536 (FE_OVERFLOW): Likewise.
6537 (FE_UNDERFLOW): Likewise.
6538 (FE_DIVBYZERO): Likewise.
6539 (FE_INEXACT): Likewise.
6540 (FE_TONEAREST): Likewise.
6541 (FE_TOWARDZERO): Likewise.
6542 (FE_UPWARD): Likewise.
6543 (FE_DOWNWARD): Likewise.
6544 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6545 (FE_DIVBYZERO): Likewise.
6546 (FE_OVERFLOW): Likewise.
6547 (FE_UNDERFLOW): Likewise.
6548 (FE_INEXACT): Likewise.
6549 (FE_TONEAREST): Likewise.
6550 (FE_DOWNWARD): Likewise.
6551 (FE_UPWARD): Likewise.
6552 (FE_TOWARDZERO): Likewise.
6554 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6556 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6558 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6560 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6561 commands. Quote $PWD.
6562 (blacklist_exports): Don't use remove_newlines. Replace "declare
6564 (remove_newlines): Remove.
6566 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6568 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6569 * stdlib/stdlib.h (atof): Moved to ...
6570 * include/bits/stdlib-float.h: Here. New file.
6571 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6572 * stdlib/bits/stdlib-float.h: New file.
6573 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6575 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6578 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6580 * conform/conformtest.pl (@headers): Add fenv.h.
6581 * conform/data/fenv.h-data: New file.
6582 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6583 include of <math/fenv.h>.
6585 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6586 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6587 && !UNIX98]. Enables tests for XOPEN2K8.
6588 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6589 POSIX2008]: Likewise.
6591 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6592 (struct rusage): Do not expect type or its members.
6595 * math/math.h (FP_NAN): Define macro to integer constant usable in
6596 #if and use that to give value to enum constant.
6597 (FP_INFINITE): Likewise.
6598 (FP_ZERO): Likewise.
6599 (FP_SUBNORMAL): Likewise.
6600 (FP_NORMAL): Likewise.
6602 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6604 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6605 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6608 2012-11-02 Roland McGrath <roland@hack.frob.com>
6610 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6611 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6612 autoconf-time if not.
6613 * configure.in: Remove AC_PREREQ.
6615 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6617 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6618 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6619 of the internal implementation.
6621 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6623 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6624 except include of <misc/sys/syslog.h>.
6626 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6629 function returns with a NULL context exit with zero.
6631 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6633 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6635 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6637 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6638 (run_program_cmd): This.
6639 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6640 (tst_langinfo): New variable. Use it.
6642 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6644 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6645 floating point opcodes.
6647 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6649 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6652 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6654 * sysdeps/mach/hurd/powerpc: Remove directory.
6655 * sysdeps/mach/powerpc: Likewise.
6657 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6659 * scripts/check-local-headers.sh: Ignore c++ headers.
6661 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6663 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6664 __libc_cleanup_region_start argument.
6666 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6671 x * y using scaling, not as x * y + z.
6672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6673 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6674 * math/libm-test.inc (fma_test): Add more tests.
6675 (fma_test_towardzero): Likewise.
6676 (fma_test_downward): Likewise.
6677 (fma_test_upward): Likewise.
6679 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6681 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6683 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6685 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6688 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6690 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6692 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6699 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6702 Fix the order of the list for glibc 2.17.
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6706 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6710 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6713 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6714 for low part of x being zero before using __atanl (y).
6715 * math/libm-test.inc (atan2_test): Add another test.
6717 * manual/install.texi (Configuring and compiling): Document
6718 general use of test-wrapper and test-wrapper-env.
6719 * INSTALL: Regenerated.
6721 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6722 (__fma): Do not extract and scale down low bits on after-rounding
6723 systems when result rounded to normal precision would have normal
6725 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6726 (__fmal): Do not extract and scale down low bits on after-rounding
6727 systems when result rounded to normal precision would have normal
6729 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6730 (__fmal): Do not extract and scale down low bits on after-rounding
6731 systems when result rounded to normal precision would have normal
6733 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6735 (fma_test): Add more tests.
6736 (fma_test_towardzero): Likewise.
6737 (fma_test_downward): Likewise.
6738 (fma_test_upward): Likewise.
6740 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6742 * sysdeps/i386/tininess.h: Renamed to ...
6743 * sysdeps/x86/tininess.h: This.
6744 * sysdeps/x86_64/tininess.h: Removed.
6746 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6748 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6749 input. Use $(build-program-cmd).
6750 ($(objpfx)tst-array1-static.out): Likewise.
6751 ($(objpfx)tst-array2.out): Likewise.
6752 ($(objpfx)tst-array3.out): Likewise.
6753 ($(objpfx)tst-array4.out): Likewise.
6754 ($(objpfx)tst-array5.out): Likewise.
6755 ($(objpfx)tst-array5-static.out): Likewise.
6757 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6759 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6762 * nss/nsswitch.h (nss_interface_function): Provide new
6763 macro for use with NSS functions.
6764 * grp/initgroups.c: Use new macro.
6765 * nss/getXXbyYY.c: Likewise.
6766 * nss/getXXbyYY_r.c: Likewise.
6767 * nss/getXXent.c: Likewise.
6768 * nss/getXXent_r.c: Likewise.
6769 * sysdeps/posix/getaddrinfo.c: Likewise.
6771 2012-10-30 Andreas Jaeger <aj@suse.de>
6773 * po/ru.po: Update Russion translation from translation project.
6775 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6780 result and shift together with sticky bit instead of replicating
6781 round-to-nearest rounding.
6782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6783 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6784 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6785 missing underflow exceptions.
6786 (fma_test_towardzero): Add more tests.
6787 (fma_test_downward): Likewise.
6788 (fma_test_upward): Likewise.
6791 * sysdeps/generic/tininess.h: New file.
6792 * sysdeps/i386/tininess.h: Likewise.
6793 * sysdeps/sh/tininess.h: Likewise.
6794 * sysdeps/x86_64/tininess.h: Likewise.
6795 * stdlib/tst-strtod-underflow.c: Likewise.
6796 * stdlib/tst-tininess.c: Likewise.
6797 * stdlib/strtod_l.c: Include <tininess.h>.
6798 (round_and_return): Do not set errno for exact underflow cases.
6799 Force an underflow exception when setting errno for underflow.
6800 Determine underflow based on rounding to normal precision if
6801 TININESS_AFTER_ROUNDING.
6802 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6803 ERANGE for exact underflow cases.
6804 * stdlib/Makefile (tests): Add tst-tininess and
6805 tst-strtod-underflow.
6806 ($(objpfx)tst-tininess): Use $(link-libm).
6807 ($(objpfx)tst-strtod-underflow): Likewise.
6809 2012-10-30 Andreas Jaeger <aj@suse.de>
6812 * elf/Makefile (tests): Remove conditional for have-initfini-array
6813 since this is now always required and the variable does not exist
6815 (tests-static): Likewise.
6816 (modules-names): Likewise.
6818 * po/eo.po: Add Esperanto translation from translation project.
6820 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6821 merged with constructor/destructor.
6822 (init_array): Likewise.
6823 * elf/tst-array2dep.c (fini_array): Likewise.
6824 (init_array): Likewise.
6826 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6828 * manual/message.texi: Delete @cartouche tags.
6830 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6832 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6834 * sysdeps/mach/hurd/fsync.c: Likewise.
6836 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6837 [_POSIX_REALTIME_SIGNALS]: Change condition to
6838 [_POSIX_REALTIME_SIGNALS > 0].
6840 2012-10-27 Andreas Jaeger <aj@suse.de>
6842 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6843 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6845 [__WORDSIZE != 64]: Likewise.
6847 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6849 * iconvdata/tst-table.sh: Remove ${SHELL}.
6850 * iconvdata/tst-tables.sh: Likewise.
6852 2012-10-25 David S. Miller <davem@davemloft.net>
6854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6855 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6860 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6861 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6862 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6865 2012-10-25 Roland McGrath <roland@hack.frob.com>
6867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6868 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6871 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6872 Jim Blandy <jimb@codesourcery.com>
6874 * scripts/cross-test-ssh.sh: New file.
6875 * manual/install.texi (Configuring and compiling): Document use of
6877 * INSTALL: Regenerated.
6879 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6881 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6884 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6886 * Makeconfig (run-program-prefix): Fix comment.
6888 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6889 Jim Blandy <jimb@codesourcery.com>
6891 * Makeconfig (test-wrapper): New variable,
6892 (test-wrapper-env): Likewise.
6893 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6894 (run-built-tests): Define to yes.
6895 (run-program-prefix): Use $(test-wrapper).
6896 (built-program-cmd): Likewise.
6897 * Rules (make-test-out): Use $(test-wrapper-env) and
6898 $(host-built-program-cmd).
6899 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6900 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6902 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6903 $(test-wrapper-env) to tst-rtld-load-self.sh.
6904 ($(objpfx)order2.out): Use $(test-wrapper).
6905 ($(objpfx)tst-initorder.out): Likewise.
6906 ($(objpfx)tst-initorder2.out): Likewise.
6907 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6908 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6909 (test_wrapper_env): New variable. Use it to run ld.so.
6910 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6911 Use it to run ld.so.
6912 (test_wrapper_env): Likewise.
6913 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6914 $(test-wrapper) to run-iconv-test.sh.
6915 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6916 (ICONV): Use $test_wrapper.
6917 * posix/Makefile ($(objpfx)globtest.out): Pass
6918 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6919 globtest.sh, not $(run-program-prefix).
6920 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6921 (test_wrapper): Likewise.
6922 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6923 set together with run_via_rtld_prefix.
6924 (run_program_prefix): Define in terms of test_wrapper and
6925 run_via_rtld_prefix.
6927 2012-10-24 Roland McGrath <roland@hack.frob.com>
6929 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6930 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6934 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6935 Declare __clock_getres, __clock_gettime, __clock_settime,
6936 __clock_nanosleep, and __clock_getcpuclockid.
6937 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6938 Remove librt_hidden_def (clock_gettime).
6939 * sysdeps/unix/clock_gettime.c: Likewise.
6940 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6941 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6942 * rt/clock_getres.c: Define __clock_getres as an alias.
6943 * sysdeps/posix/clock_getres.c: Likewise.
6944 * rt/clock_settime.c: Define __clock_settime as an alias.
6945 * sysdeps/unix/clock_settime.c: Likewise.
6946 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6947 * sysdeps/unix/clock_nanosleep.c: Likewise.
6948 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6949 * rt/clock-compat.c: New file.
6950 * rt/Makefile (librt-routines): Add clock-compat and move
6951 $(clock-routines) to ...
6952 (routines): ... here, new variable.
6953 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6954 Don't add get_clockfreq here.
6955 * rt/Versions (libc: GLIBC_2.17): New version set.
6956 Add clock_* symbols here.
6957 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6958 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6959 (GLIBC_2.17): Add clock_* symbols.
6960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6962 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6971 * NEWS: Mention the move.
6973 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6974 Use __open, __read, __close rather than their public counterparts.
6975 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6976 (__get_clockfreq_via_cpuinfo): Likewise.
6977 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6978 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6980 * config.h.in (HAVE_IFUNC): New #undef.
6981 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6983 * configure: Regenerated.
6985 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6987 * configure.in: Move READELF check to start of file.
6988 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6989 libc_cv_asm_gnu_indirect_function in the process.
6990 * configure: Regenerated.
6992 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6994 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6995 send the output to /dev/null.
6996 (libc_cv_cc_with_libunwind): Likewise.
6997 (libc_cv_as_noexecstack): Likewise.
6998 * configure: Regenerate.
7000 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7002 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7004 * posix/globtest.sh (TMPDIR): Do not set.
7005 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7006 (testout): Likewise.
7008 2012-10-24 Andreas Jaeger <aj@suse.de>
7010 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7011 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7012 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7013 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7014 posix_fadvise64, posix_fallocate64.
7016 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7017 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7018 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7020 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7022 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7025 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7026 <bits/fcntl-linux.h>.
7027 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7029 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7030 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7031 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7032 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7033 [__WORDSIZE != 64]: Likewise.
7035 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7037 * Makeconfig (run-built-tests): New variable.
7038 * Rules [$(cross-compiling) = yes]: Change condition to
7039 [$(run-built-tests) = no].
7040 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7041 to [$(run-built-tests) = yes].
7042 * elf/Makefile [$(cross-compiling) = no]: Likewise
7043 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7044 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7045 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7046 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7047 * io/Makefile [$(cross-compiling) = no]: Likewise.
7048 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7049 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7050 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7051 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7052 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7053 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7054 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7055 * string/Makefile [$(cross-compiling) = no]: Likewise.
7057 * posix/Makefile ($(objpfx)globtest.out): Pass
7058 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7059 $(rtld-installed-name).
7060 * posix/globtest.sh (elf_objpfx): Remove variable.
7061 (rtld_installed_name): Likewise.
7062 (library_path): Likewise.
7063 (run_program_prefix): New variable. Use for running globtest
7066 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7067 Joseph Myers <joseph@codesourcery.com>
7069 * Makeconfig (host-built-program-cmd): New variable.
7070 * elf/Makefile (tst-stackguard1-ARGS): Use
7071 $(host-built-program-cmd).
7072 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7073 (tst-spawn-ARGS): Likewise.
7074 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7076 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7077 Jim Blandy <jimb@codesourcery.com>
7079 * Makeconfig (run-via-rtld-prefix): New variable.
7080 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7081 (built-program-cmd): Likewise.
7083 2012-10-22 Andreas Jaeger <aj@suse.de>
7085 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7086 __O_RSYNC if it exists, otherwise to O_SYNC.
7088 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7089 Joseph Myers <joseph@codesourcery.com>
7091 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7093 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7095 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7098 2012-10-22 Andreas Jaeger <aj@suse.de>
7100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7107 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7108 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7115 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7116 Joseph Myers <joseph@codesourcery.com>
7118 * config.make.in (NM): New variable.
7120 2012-10-21 Andreas Jaeger <aj@suse.de>
7122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7123 definitions and declarations that are provided by
7124 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7126 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7129 * elf/Makefile (tests-static): Add tst-leaks1-static.
7130 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7131 ($(objpfx)tst-leaks1-static): New rule.
7132 ($(objpfx)tst-leaks1-static-mem): Likewise.
7133 (tst-leaks1-static-ENV): New macro.
7134 * elf/dl-open.c (dl_open_worker): Check the main application
7135 only if SHARED is defined.
7136 * elf/tst-leaks1-static.c: New file.
7138 2012-10-20 Andreas Jaeger <aj@suse.de>
7140 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7141 generic values for Linux.
7142 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7143 and declarations that are provided by <bits/fcntl-linux.h> and
7144 include <bits/fcntl-linux.h>.
7145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7148 2012-10-20 Roland McGrath <roland@hack.frob.com>
7150 * io/fcntl.h: Move include of <bits/types.h> to the top and
7151 include it unconditionally.
7153 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7155 * wcsmbs/Makefile (tests-ifunc): New variable.
7156 (tests): Add $(tests-ifunc).
7157 * wcsmbs/test-wcschr-ifunc.c: New file.
7158 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7159 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7160 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7161 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7162 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7164 * string/Makefile (tests-ifunc): New variable.
7165 (tests): Add $(tests-ifunc).
7166 * string/test-memccpy.c (TEST_NAME): New macro.
7167 * string/test-memchr.c (TEST_NAME): Likewise.
7168 * string/test-memcmp.c (TEST_NAME): Likewise.
7169 * string/test-memcpy.c (TEST_NAME): Likewise.
7170 * string/test-memmem.c (TEST_NAME): Likewise.
7171 * string/test-memmove.c (TEST_NAME): Likewise.
7172 * string/test-memset.c (TEST_NAME): Likewise.
7173 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7174 * string/test-stpcpy.c (TEST_NAME): Likewise.
7175 * string/test-stpncpy.c (TEST_NAME): Likewise.
7176 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7177 * string/test-strcasestr.c (TEST_NAME): Likewise.
7178 * string/test-strcat.c (TEST_NAME): Likewise.
7179 * string/test-strchr.c (TEST_NAME): Likewise.
7180 * string/test-strcmp.c(TEST_NAME): Likewise.
7181 * string/test-strcpy.c (TEST_NAME): Likewise.
7182 * string/test-strcspn.c (TEST_NAME): Likewise.
7183 * string/test-strlen.c (TEST_NAME): Likewise.
7184 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7185 * string/test-strncmp.c (TEST_NAME): Likewise.
7186 * string/test-strncpy.c (TEST_NAME): Likewise.
7187 * string/test-strnlen.c (TEST_NAME): Likewise.
7188 * string/test-strpbrk.c (TEST_NAME): Likewise.
7189 * string/test-strrchr.c (TEST_NAME): Likewise.
7190 * string/test-strspn.c (TEST_NAME): Likewise.
7191 * string/test-strstr.c (TEST_NAME): Likewise.
7192 * string/test-bcopy-ifunc.c: New file.
7193 * string/test-bzero-ifunc.c: Likewise.
7194 * string/test-memccpy-ifunc.c: Likewise.
7195 * string/test-memchr-ifunc.c: Likewise.
7196 * string/test-memcmp-ifunc.c: Likewise.
7197 * string/test-memcpy-ifunc.c: Likewise.
7198 * string/test-memmem-ifunc.c: Likewise.
7199 * string/test-memmove-ifunc.c: Likewise.
7200 * string/test-mempcpy-ifunc.c: Likewise.
7201 * string/test-memset-ifunc.c: Likewise.
7202 * string/test-rawmemchr-ifunc.c: Likewise.
7203 * string/test-stpcpy-ifunc.c: Likewise.
7204 * string/test-stpncpy-ifunc.c: Likewise.
7205 * string/test-strcasecmp-ifunc.c: Likewise.
7206 * string/test-strcasestr-ifunc.c: Likewise.
7207 * string/test-strcat-ifunc.c: Likewise.
7208 * string/test-strchr-ifunc.c: Likewise.
7209 * string/test-strchrnul-ifunc.c: Likewise.
7210 * string/test-strcmp-ifunc.c: Likewise.
7211 * string/test-strcpy-ifunc.c: Likewise.
7212 * string/test-strcspn-ifunc.c: Likewise.
7213 * string/test-strlen-ifunc.c: Likewise.
7214 * string/test-strncasecmp-ifunc.c: Likewise.
7215 * string/test-strncat-ifunc.c: Likewise.
7216 * string/test-strncmp-ifunc.c: Likewise.
7217 * string/test-strncpy-ifunc.c: Likewise.
7218 * string/test-strnlen-ifunc.c: Likewise.
7219 * string/test-strpbrk-ifunc.c: Likewise.
7220 * string/test-strrchr-ifunc.c: Likewise.
7221 * string/test-strspn-ifunc.c: Likewise.
7222 * string/test-strstr-ifunc.c: Likewise.
7224 * debug/Makefile (tests-ifunc): New variable.
7225 (tests): Add $(tests-ifunc).
7226 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7227 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7228 * debug/test-stpcpy_chk-ifunc.c: New file.
7229 * debug/test-strcpy_chk-ifunc.c: Likewise.
7231 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7234 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7235 header is not read in.
7237 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7239 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7240 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7241 directly. Pass built executable to script as
7242 $(built-program-cmd).
7243 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7244 $testprogram without using LD_LIBRARY_PATH and $ldso.
7246 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7247 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7248 $(rtld-installed-name).
7249 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7250 (rtld_installed_name): Likewise.
7251 (library_path): Likewise.
7252 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7253 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7254 $(run-program-prefix) to tst-tables.sh.
7255 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7256 it to run tst-table-from and tst-table-to.
7257 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7258 Pass it to tst-table.sh.
7259 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7260 $(run-program-prefix) to tst-gettext.sh.
7261 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7263 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7265 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7267 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7268 to run tst-gettext2.
7269 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7270 to run tst-translit.
7271 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7272 $(run-program-prefix) to tst-mtrace.sh.
7273 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7275 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7276 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7277 $(rtld-installed-name).
7278 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7279 (rtld_installed_name): Likewise.
7280 (run_program_prefix): New variable. Use it to run wordexp-test.
7282 * Makeconfig (ARCH): Remove all definitions.
7283 (machine): Likewise.
7284 [ARCH]: Remove conditional code.
7285 [!objdir]: Give error.
7286 [!objdir] (objpfx): Remove.
7287 [!objdir] (common-objpfx): Likewise.
7288 [!objdir] (common-objdir): Likewise.
7289 * configure.in (config_makefile): Remove. Hardcode Makefile in
7290 AC_CONFIG_FILES call.
7291 * configure: Regenerated.
7294 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7296 (testout): Likewise.
7298 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7299 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7300 $(rtld-installed-name).
7301 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7302 (rtld_installed_name): Likwise.
7303 (runit): Remove function.
7304 (run_getconf): New variable, Use it for running getconf binary.
7306 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7309 * string/test-memmem.c (check_result): New function.
7310 (do_one_test): Use it.
7311 (check1): New function.
7312 (test_main): Use it.
7314 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7316 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7318 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7320 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7321 (_G_LSEEK64): Likewise.
7322 (_G_MMAP64): Likewise.
7323 (_G_FSTAT64): Likewise.
7324 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7325 (_G_LSEEK64): Likewise.
7326 (_G_MMAP64): Likewise.
7327 (_G_FSTAT64): Likewise.
7328 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7329 unconditional. Call __mmap64 directly.
7330 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7331 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7333 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7334 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7336 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7337 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7339 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7340 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7342 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7343 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7345 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7346 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7347 __fxstat64 directly.
7348 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7349 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7351 (freopen64) [!_G_OPEN64]: Remove conditional code.
7352 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7354 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7355 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7357 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7358 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7360 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7361 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7363 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7364 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7366 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7367 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7369 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7370 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7372 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7374 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7377 * manual/memory.texi (Malloc Tunable Parameters): Add note
7378 about free list pointers overwriting some perturb bytes.
7379 Wording suggested by Roland McGrath.
7381 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7383 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7384 (lgamma_test): Likewise.
7385 (tgamma_test): Likewise.
7387 2012-10-16 Florian Weimer <fweimer@redhat.com>
7390 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7391 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7393 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7395 * NEWS: Mention BZ #14716.
7396 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7397 when removing AVAILABLE1_USES_J macro.
7399 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7401 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7402 (__bswap_64): __uint64_t for unsigned 64-bit int.
7404 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7406 * include/string.h (memmem): Declare libc hidden alias.
7407 * string/memmem.c (memmem): Define libc hidden alias.
7408 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7409 __read, __close instead of open, read, close.
7411 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7413 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7414 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7416 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7417 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7418 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7420 (__rawmemchr_sse2): Likewise.
7421 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7422 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7423 (__strchr_sse2): Likewise.
7424 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7425 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7426 (__strcasecmp_sse2): Likewise.
7427 (__strncasecmp_sse2): Likewise.
7428 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7429 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7430 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7431 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7432 (__strrchr_sse2): Likewise.
7433 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7435 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7436 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7437 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7438 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7439 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7440 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7441 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7442 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7443 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7444 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7445 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7446 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7447 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7448 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7449 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7450 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7451 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7452 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7453 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7454 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7455 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7456 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7457 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7458 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7459 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7460 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7461 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7462 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7463 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7464 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7466 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7468 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7469 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7470 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7471 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7473 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7475 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7476 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7477 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7478 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7480 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7481 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7482 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7483 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7484 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7485 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7486 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7487 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7488 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7490 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7491 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7493 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7494 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7495 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7496 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7498 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7500 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7514 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7516 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7522 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7523 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7524 * include/ifunc-impl-list.h: New file.
7525 * misc/ifunc-impl-list.c: Likewise.
7526 * misc/Makefile (routines): Add ifunc-impl-list.
7527 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7528 * string/test-string.h: Include <ifunc-impl-list.h>.
7529 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7530 impl_array): New variables.
7531 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7533 (test_init): Call __libc_ifunc_impl_list to initialize
7534 func_list if TEST_IFUNC and TEST_NAME are defined.
7536 * string/Makefile (strop-tests): Add bcopy and bzero.
7537 * string/test-bcopy.c: New file.
7538 * string/test-bzero.c: Likewise.
7539 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7541 * string/test-memset.c: Support bzero test if TEST_BZERO is
7543 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7545 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7547 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7550 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7552 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7553 * configure: Regenerated.
7555 * Makeconfig (+link-static-before-libc): Don't include
7556 $(link-static-libc).
7558 * libio/libio.h (_IO_pos_t): Remove.
7560 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7562 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7565 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7567 * crypt/crypt-entry.c: Include fips-private.h.
7568 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7569 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7570 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7571 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7573 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7575 * crypt/crypt-private.h: Include stdbool.h.
7576 (_ufc_setup_salt_r): Return bool.
7577 * crypt/crypt-entry.c: Include errno.h.
7578 (__crypt_r): Return NULL with EINVAL for bad salt.
7579 * crypt/crypt_util.c (bad_for_salt): New.
7580 (_ufc_setup_salt_r): Check that salt is long enough and within
7581 the specified alphabet.
7582 * crypt/badsalttest.c: New file.
7583 * crypt/Makefile (tests): Add it.
7584 ($(objpfx)badsalttest): New.
7586 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7588 * NEWS: Add entry for BZ #14602.
7590 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7592 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7594 * math/libm-test.inc: Update comment listing what functions and
7596 (isgreater_test): New function.
7597 (isgreaterequal_test): Likewise.
7598 (isless_test): Likewise.
7599 (islessequal_test): Likewise.
7600 (islessgreater_test): Likewise.
7601 (isunordered_test): Likewise.
7602 (main): Call the new functions.
7604 2012-10-09 Roland McGrath <roland@hack.frob.com>
7606 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7607 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7608 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7609 * sysdeps/i386/configure: Regenerated.
7610 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7611 * sysdeps/mach/configure: Regenerated.
7612 * sysdeps/mach/hurd/configure: Regenerated.
7613 * sysdeps/powerpc/configure: Regenerated.
7614 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7615 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7616 * sysdeps/s390/s390-32/configure: Regenerated.
7617 * sysdeps/s390/s390-64/configure: Regenerated.
7618 * sysdeps/sh/configure: Regenerated.
7619 * sysdeps/sparc/configure: Regenerated.
7620 * sysdeps/unix/sysv/linux/configure: Regenerated.
7621 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7622 * sysdeps/x86_64/configure: Regenerated.
7624 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7625 defined. Don't check if MAP is NULL.
7627 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7629 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7630 (_G_stat64): Likewise.
7631 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7632 (_G_stat64): Likewise.
7633 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7634 instead of struct _G_stat64.
7635 * libio/fileops.c (mmap_remap_check): Likewise.
7636 (decide_maybe_mmap): Likewise.
7637 (_IO_new_file_seekoff): Likewise.
7638 (_IO_file_stat): Likewise.
7639 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7641 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7642 instead of struct _G_stat64.
7643 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7645 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7648 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7650 (CHECK_EOL): New macro.
7651 (two_way_short_needle): Check beginning of haystack for EOL. Use
7653 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7654 Replace with CHECK_EOL.
7655 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7656 Replace with CHECK_EOL.
7658 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7660 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7662 * math/libm-test.inc: Update comment listing what functions and
7664 (finite_test): New function.
7665 (isinf_test): Likewise.
7666 (isnan_test): Likewise.
7667 (fpclassify_test): Test subnormal input.
7668 (isfinite_test): Likewise.
7669 (isnormal_test): Likewise.
7670 (main): Call the new functions.
7672 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7675 * Makerules (%.dynsym): Force C locale when running
7676 $(OBJDUMP) --dynamic-syms.
7678 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7680 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7683 2012-10-06 David S. Miller <davem@davemloft.net>
7685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7686 upper 32-bits of the length value in %o2 since we use branch-on-register
7687 tests which consider the entire 64-bit register.
7689 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7691 * string/test-strstr.c (check2): Add a test for page boundary.
7693 2012-10-05 David S. Miller <davem@davemloft.net>
7695 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7696 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7698 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7700 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7701 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7702 and bzero when HWCAP_SPARC_CRYPTO is present.
7704 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7707 * string/test-strstr.c (check2): New function.
7708 (test_main): Call check2.
7710 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7712 * string/bug-strcasestr1.c (do_test): Moved to ...
7713 * string/test-strcasestr.c (check1): Here. New function.
7714 (do_one_test): Break out result checking code into ...
7715 (check_result): This. New function.
7716 (do_one_test): Call check_result.
7717 (test_main): Call check1.
7718 * string/bug-strchr1.c (do_test): Moved to ...
7719 * string/test-strchr.c (check1): Here. New function.
7720 (do_one_test): Break out result checking code into ...
7721 (check_result): This. New function.
7722 (do_one_test): Call check_result.
7723 (test_main): Call check1.
7724 * string/bug-strstr1.c (main): Moved to ...
7725 * string/test-strstr.c (check1): Here. New function.
7726 (do_one_test): Break out result checking code into ...
7727 (check_result): This. New function.
7728 (do_one_test): Call check_result.
7729 (test_main): Call check1.
7730 * string/bug-strcasestr1.c: Removed.
7731 * string/bug-strchr1.c: Likewise.
7732 * string/bug-strstr1.c: Likewise.
7734 * elf/Makefile (dl-routines): Add hwcaps.
7735 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7736 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7737 (_dl_important_hwcaps): Moved to ...
7738 * elf/dl-hwcaps.c: Here. New file.
7739 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7742 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7743 if IS_IN_rtld isn't defined.
7745 * elf/dl-support.c (_dl_sysinfo_map): New.
7746 Include "get-dynamic-info.h" and "setup-vdso.h".
7747 (_dl_non_dynamic_init): Call setup_vdso.
7748 * elf/dynamic-link.h: Don't include <assert.h>.
7749 (elf_get_dynamic_info): Moved to ...
7750 * elf/get-dynamic-info.h: Here. New file.
7751 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7752 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7753 * elf/setup-vdso.h: Here. New file.
7754 * elf/rtld.c: Include "setup-vdso.h".
7755 (dl_main): Call setup_vdso.
7757 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7759 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7760 creal in comment listing functions tested. List finite, isinf,
7761 isnan, isless, islessequal, isgreater, isgreaterequal,
7762 islessgreater, isunordered, lgamma_r and pow10 as functions and
7763 macros not tested. Mention which functions not tested are aliases
7764 for other functions. Fix typo. Note that signs of NaNs are not
7767 * scripts/config.guess: Update from config.git.
7768 * scripts/config.sub: Likewise.
7770 2012-10-04 Roland McGrath <roland@hack.frob.com>
7772 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7773 * misc/madvise.c (madvise): Renamed to __madvise.
7774 Make madvise a weak alias.
7775 * include/sys/mman.h: Declare __madvise.
7776 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7777 * sysdeps/unix/syscalls.list
7778 (madvise): Make __madvise the strong name, and madvise a weak alias.
7779 * sysdeps/unix/sysv/linux/syscalls.list
7780 (madvise, mmap): Remove redundant entries.
7781 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7782 * malloc/malloc.c (mtrim): Likewise.
7783 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7785 2012-10-03 Roland McGrath <roland@hack.frob.com>
7787 * sysdeps/mach/hurd/dl-cache.c: File removed.
7788 * config.h.in (USE_LDCONFIG): New #undef.
7789 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7790 * configure: Regenerated.
7791 * elf/Makefile (dl-routines): Add dl-cache only under
7792 [$(use-ldconfig) = yes].
7793 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7794 cache on [USE_LDCONFIG].
7795 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7797 * elf/rtld.c (dl_main): Likewise.
7799 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7801 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7802 _SC_LEVEL4_CACHE_LINESIZE.
7804 2012-10-03 Roland McGrath <roland@hack.frob.com>
7806 * sysdeps/unix/bsd/confstr.h: File removed.
7808 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7810 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7813 2012-10-02 Roland McGrath <roland@hack.frob.com>
7815 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7816 Make 'mapoff' field ElfW(Off) rather than off_t.
7818 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7820 * nscd/Makefile: Remove nscd-cflags and all its users.
7821 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7822 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7825 * malloc.c (malloc_printerr): Clarify error message.
7827 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7831 Set bit_FMA_Usable if FMA is supported.
7832 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7834 (bit_FMA4_Usable): Updated.
7835 (index_FMA_Usable): New macro.
7836 (CPUID_FMA): Likewise
7837 (HAS_FMA): Defined with bit_FMA_Usable.
7839 2012-10-01 Roland McGrath <roland@hack.frob.com>
7841 * bits/types.h (__swblk_t): Type removed.
7842 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7843 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7844 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7845 (__SWBLK_T_TYPE): Likewise.
7846 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7847 (__SWBLK_T_TYPE): Likewise.
7848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7849 (__SWBLK_T_TYPE): Likewise.
7850 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7851 (__SWBLK_T_TYPE): Likewise.
7853 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7854 Honza Horak <hhorak@redhat.com>
7856 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7857 (xdr_mapname): Use YPMAXMAP as maxsize.
7858 (xdr_peername): Use YPMAXPEER as maxsize.
7859 (xdr_keydat): Use YPAXRECORD as maxsize.
7860 (xdr_valdat): Use YPMAXRECORD as maxsize.
7862 2012-10-01 Roland McGrath <roland@hack.frob.com>
7864 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7866 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7867 * csu/init-first.c: ... here.
7868 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7869 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7870 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7871 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7872 * sysdeps/i386/init-first.c: File removed.
7873 * sysdeps/sh/init-first.c: File removed.
7875 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7879 if x * y might underflow to zero and z is zero.
7880 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7881 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7882 * math/libm-test.inc (min_subnorm_value): New variable.
7883 (fma_test): Add more tests.
7884 (fma_test_towardzero): Likewise.
7885 (fma_test_downward): Likewise
7886 (fma_test_upward): Likewise.
7887 (initialize): Set min_subnorm_value.
7889 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7894 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7895 mode for addition resulting in exact zero.
7896 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7899 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7900 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7901 * math/libm-test.inc (fma_test): Add more tests.
7902 (fma_test_towardzero): New function.
7903 (fma_test_downward): Likewise.
7904 (fma_test_upward): Likewise.
7905 (main): Call the new functions.
7907 2012-09-28 David S. Miller <davem@davemloft.net>
7909 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7911 2012-09-28 Roland McGrath <roland@hack.frob.com>
7913 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7916 * sysdeps/gnu/_G_config.h: Moved to ...
7917 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7918 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7919 * sysdeps/generic/_G_config.h: ... here.
7921 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7923 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7925 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7926 Conditionalize target on [libnss_test1.so-version].
7928 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7930 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7931 (elfobjdir): Move out of conditionals.
7933 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7934 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7935 (__nss_lookup_function): Conditionalize label remove_from_tree on
7936 [!DO_STATIC_NSS || SHARED], matching its only use.
7938 2012-09-28 David S. Miller <davem@davemloft.net>
7940 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7941 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7943 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7945 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7947 when HWCAP_SPARC_CRYPTO is present.
7949 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7951 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7953 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7956 * stdio-common/vfprintf.c (process_string_arg): Revert
7959 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7961 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7963 * stdio-common/tst-sprintf.c: Include <locale.h>
7964 (main): Test sprintf's handling of incomplete multibyte
7967 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7969 * elf/dl-runtime.c (VERSYMIDX): Removed.
7970 * elf/dl-version.c (VERSYMIDX): Likewise.
7971 * elf/do-rel.h (VERSYMIDX): Likewise.
7973 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7974 * elf/rtld.c (VALIDX): Likewise.
7975 (ADDRIDX): Likewise.
7976 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7977 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7978 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7979 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7981 (ADDRIDX): Likewise.
7983 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7985 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7987 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7990 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7992 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7993 addresses are in the same scope as 192.0.2/24.
7994 * posix/gai.conf: Document new scope table defaults.
7996 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7999 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8000 for ftell. Compute offsets from write pointers instead.
8001 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8003 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8006 * libio/Makefile (tests): New test case tst-fseek.
8007 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8008 combination works in wide mode.
8009 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8010 state when the external buffer state changes.
8012 2012-09-27 David S. Miller <davem@davemloft.net>
8015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8016 pass reloc->r_addend in as the 'high' argument to
8017 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8021 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8023 * rt/tst-aio2.c: Include <pthread.h>.
8024 * rt/tst-aio3.c: Likewise.
8026 2012-09-27 Steve Ellcey <sellcey@mips.com>
8028 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8030 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8032 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8033 contents on [SHARED].
8035 2012-09-26 Marek Polacek <polacek@redhat.com>
8039 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8040 for C++ and GCC <4.3 as well as for non GCC compilers.
8042 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8046 2012-09-25 Roland McGrath <roland@hack.frob.com>
8048 * Makefile.in (all, install): Declare with .PHONY.
8049 Reported by Michael Hope <michael.hope@linaro.org>.
8051 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8053 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8054 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8056 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8058 (sydep_routines): Add the new and the internal functions.
8059 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8060 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8062 (GLIBC_2.17): Add the new function.
8063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8064 (GLIBC_2.17): Likewise.
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8066 (GLIBC_2.17): Likewise.
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8068 (GLIBC_2.17): Likewise.
8069 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8071 2012-09-25 Alan Modra <amodra@gmail.com>
8073 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8074 Add release barrier before setting once_control to say
8075 initialisation is done. Add hints on lwarx. Use macro in
8077 (clear_once_control): Add release barrier.
8079 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8082 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8084 * math/s_clog10.c (__clog10): Likewise.
8085 * math/s_clog10f.c (__clog10f): Likewise.
8086 * math/s_clog10l.c (__clog10l): Likewise.
8087 * math/s_clogf.c (__clogf): Likewise.
8088 * math/s_clogl.c (__clogl): Likewise.
8089 * math/Makefile (libm-calls): Add x2y2m1.
8090 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8091 (__x2y2m1): Likewise.
8092 (__x2y2m1l): Likewise.
8093 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8094 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8095 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8096 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8097 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8098 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8099 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8100 * sysdeps/i386/fpu/libm-test-ulps: Update.
8101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8104 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8105 int as type of variable DEPTH.
8106 (glob): Use size_t instead of int as type of variables NEWCOUNT
8109 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8111 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8113 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8114 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8115 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8116 macros for using routine as __sincosf_ia32.
8117 Use macro for function declaration and weak_alias.
8118 * sysdeps/i386/fpu/libm-test-ulps: Update.
8120 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8123 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8125 * math/s_cexpf.c (__cexpf): Likewise.
8126 * math/s_csinf.c (__csinf): Likewise.
8127 * math/s_csinhf.c (__csinhf): Likewise.
8128 * math/s_ctanf.c (__ctanf): Likewise.
8129 * math/s_ctanhf.c (__ctanhf): Likewise.
8130 * math/s_ccosh.c (__ccoshf): Likewise.
8131 * math/s_cexp.c (__cexpl): Likewise.
8132 * math/s_csin.c (__csin): Likewise.
8133 * math/s_csinh.c (__csinh): Likewise.
8134 * math/s_ctan.c (__ctan): Likewise.
8135 * math/s_ctanh.c (ctanh): Likewise.
8136 * math/s_ccoshl.c (__ccoshl): Likewise.
8137 * math/s_cexpl.c (__cexpl): Likewise.
8138 * math/s_csinl.c (__csinl): Likewise.
8139 * math/s_csinhl.c (__csinhl): Likewise.
8140 * math/s_ctanl.c (__ctanl): Likewise.
8141 * math/s_ctanhl.c (__ctanhl): Likewise.
8143 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8145 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8146 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8147 (_IO_off_t): Define to __off_t, not _G_off_t.
8148 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8149 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8150 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8151 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8152 type of __dummy and __dummy2 fields.
8153 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8154 (_G_ssize_t): Likewise.
8155 (_G_off_t): Likewise.
8156 (_G_pid_t): Likewise.
8157 (_G_uid_t): Likewise.
8158 (_G_wchar_t): Likewise.
8159 (_G_wint_t): Likewise.
8160 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8161 (_G_ssize_t): Likewise.
8162 (_G_off_t): Likewise.
8163 (_G_pid_t): Likewise.
8164 (_G_uid_t): Likewise.
8165 (_G_wchar_t): Likewise.
8166 (_G_wint_t): Likewise.
8167 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8168 (_G_ssize_t): Likewise.
8169 (_G_off_t): Likewise.
8170 (_G_pid_t): Likewise.
8171 (_G_uid_t): Likewise.
8172 (_G_wchar_t): Likewise.
8173 (_G_wint_t): Likewise.
8175 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8177 * malloc/arena.c: Include malloc-sysdep.h.
8178 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8179 is sufficient to shrink the heap or an unmap is needed.
8180 * sysdeps/generic/malloc-sysdep.h: New file. Define
8181 new function check_may_shrink_heap.
8182 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8183 new function check_may_shrink_heap.
8185 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8187 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8190 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8192 * catgets/test-gencat.sh: Add "set -e".
8193 * elf/tst-pathopt.sh: Likewise.
8194 * grp/tst_fgetgrent.sh: Likewise.
8195 * iconvdata/run-iconv-test.sh: Likewise.
8196 * intl/tst-gettext.sh: Likewise.
8197 * intl/tst-gettext2.sh: Likewise.
8198 * intl/tst-gettext4.sh: Likewise.
8199 * intl/tst-gettext6.sh: Likewise.
8200 * intl/tst-translit.sh: Likewise.
8201 * io/ftwtest-sh: Likewise.
8202 * libio/test-freopen.sh: Likewise.
8203 * malloc/tst-mtrace.sh: Likewise.
8204 * posix/globtest.sh: Likewise.
8205 * posix/tst-getconf.sh: Likewise.
8206 * posix/wordexp-tst.sh: Likewise.
8207 * stdio-common/tst-printf.sh: Likewise.
8208 * stdio-common/tst-unbputc.sh: Likewise.
8209 * stdlib/tst-fmtmsg.sh: Likewise.
8210 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8211 * catgets/Makefile: Do not specify -e option when running
8212 testsuite shell scripts.
8213 * elf/Makefile: Likewise.
8214 * grp/Makefile: Likewise.
8215 * iconvdata/Makefile: Likewise.
8216 * intl/Makefile: Likewise.
8217 * io/Makefile: Likewise.
8218 * libio/Makefile: Likewise.
8219 * malloc/Makefile: Likewise.
8220 * posix/Makefile: Likewise.
8221 * stdio-common/Makefile: Likewise.
8222 * stdlib/Makefile: Likewise.
8223 * sysdeps/x86_64/Makefile: Likewise.
8225 * io/ftwtest-sh: Add copyright header.
8226 * posix/globtest.sh: Likewise.
8227 * posix/tst-getconf.sh: Likewise.
8228 * posix/wordexp-tst.sh: Likewise.
8229 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8231 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8234 * Makeconfig (+link): Defined as $(+link-static) if
8235 $(build-shared) isn't yes.
8236 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8238 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8240 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8243 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8244 new chunk size with MALLOC_ALIGN_MASK.
8246 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8249 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8251 (__printf_fphex): Determine rounding using get_rounding_mode and
8253 * stdio-common/tst-printf-round.c (struct hex_test): New
8255 (hex_tests): New variable.
8256 (test_hex_in_one_mode): New function.
8257 (do_test): Also run tests for hex float output.
8259 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8261 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8262 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8263 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8264 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8265 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8266 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8267 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8268 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8270 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8272 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8273 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8274 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8275 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8277 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8280 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8282 * elf/tst-rtld-load-self.sh: New test.
8283 * elf/Makefile: Run it.
8285 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8287 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8288 (tst-writev-ENV): Remove.
8289 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8291 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8293 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8295 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8297 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8299 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8301 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8302 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8303 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8306 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8309 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8310 * config.make.in (have-cpp-asm-debuginfo): Removed.
8311 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8312 * configure: Regenerated.
8314 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8317 * stdio-common/printf_fp.c: Include <stdbool.h> and
8319 (___printf_fp): Determine rounding using get_rounding_mode and
8321 * stdio-common/tst-printf-round.c: New file.
8322 * stdio-common/Makefile (tests): Add tst-printf-round.
8323 (link-libm): New variable.
8324 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8326 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8329 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8330 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8332 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8335 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8337 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8338 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8339 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8340 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8342 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8345 * include/rounding-mode.h: New file.
8346 * sysdeps/generic/get-rounding-mode.h: Likewise.
8347 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8348 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8349 (MAX_VALUE): New macro.
8350 (MIN_VALUE): Likewise.
8351 (overflow_value): New function.
8352 (underflow_value): Likewise.
8353 (round_and_return): Use overflow_value and underflow_value to
8354 determine return values in overflow and underflow cases. Use
8355 round_away to determine rounding depending on rounding mode.
8356 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8357 determine return values in overflow and underflow cases.
8358 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8359 (struct test_results): New structure.
8360 (struct test): Use struct test_results to store expected results
8361 for all rounding modes.
8362 (TEST): Include expected results for all rounding modes.
8363 (test_in_one_mode): New function.
8364 (do_test): Use test_in_one_mode to compute and check results.
8365 Check results for all rounding modes.
8366 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8369 2012-12-09 Allan McRae <allan@archlinux.org>
8371 * sysdeps/i386/fpu/libm-test-ulps: Update
8373 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8375 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8376 (_G_int32_t): Likewise.
8377 (_G_uint16_t): Likewise.
8378 (_G_uint32_t): Likewise.
8379 (_G_HAVE_BOOL): Likewise.
8380 (_G_HAVE_ATEXIT): Likewise.
8381 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8382 (_G_HAVE_IO_FILE_OPEN): Likewise.
8383 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8384 (_G_int32_t): Likewise.
8385 (_G_uint16_t): Likewise.
8386 (_G_uint32_t): Likewise.
8387 (_G_HAVE_BOOL): Likewise.
8388 (_G_HAVE_ATEXIT): Likewise.
8389 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8390 (_G_HAVE_IO_FILE_OPEN): Likewise.
8391 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8392 (_G_int32_t): Likewise.
8393 (_G_uint16_t): Likewise.
8394 (_G_uint32_t): Likewise.
8395 (_G_HAVE_BOOL): Likewise.
8396 (_G_HAVE_ATEXIT): Likewise.
8397 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8398 (_G_HAVE_IO_FILE_OPEN): Likewise.
8400 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8402 * csu/libc-tls.c: Update copyright years.
8404 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8406 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8407 [!_G_USING_THUNKS]: Remove conditional code.
8408 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8409 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8411 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8412 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8413 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8414 (_G_VTABLE_LABEL_PREFIX): Likewise.
8415 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8416 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8417 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8418 (_G_VTABLE_LABEL_PREFIX): Likewise.
8419 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8420 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8421 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8422 (_G_VTABLE_LABEL_PREFIX): Likewise.
8423 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8425 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8427 * libio/Makefile: Include ../Makeconfig before tests.
8428 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8429 only if $(build-shared) is yes.
8431 * iconv/gconv_db.c: Update copyright years.
8433 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8435 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8436 unwind info if defined PIC. Fix special cases description.
8437 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8439 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8441 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8443 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8445 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8447 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8450 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8451 (LDLIBS-tst-chk4): This.
8452 (LDFLAGS-tst-chk5): Renamed to ...
8453 (LDLIBS-tst-chk5): This.
8454 (LDFLAGS-tst-chk6): Renamed to ...
8455 (LDLIBS-tst-chk6): This.
8456 (LDFLAGS-tst-lfschk4): Renamed to ...
8457 (LDLIBS-tst-lfschk4): This.
8458 (LDFLAGS-tst-lfschk5): Renamed to ...
8459 (LDLIBS-tst-lfschk5): This.
8460 (LDFLAGS-tst-lfschk6): Renamed to ...
8461 (LDLIBS-tst-lfschk6): This.
8463 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8464 on $(common-objpfx)soversions.mk.
8466 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8469 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8472 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8474 * malloc/arena.c (arena_get_retry): New function that gets
8475 another arena for the caller to try its request on.
8476 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8477 current arena cannot fulfill the request.
8478 (__libc_memalign): Likewise.
8479 (__libc_memalign): Likewise.
8480 (__libc_pvalloc): Likewise.
8481 (__libc_calloc): Likewise.
8483 2012-09-05 John Tobey <john.tobey@gmail.com>
8486 * manual/arith.texi (Operations on Complex): Fix description
8489 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8492 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8496 * manual/memory.texi (Memory): Make order of menu items match
8499 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8501 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8502 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8503 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8505 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8507 * csu/libc-tls.c (static_dtv): Renamed to ...
8508 (_dl_static_dtv): This. Make it global.
8509 (_dl_initial_dtv): Removed.
8510 (__libc_setup_tls): Updated.
8511 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8512 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8515 2012-09-06 Petr Machata <pmachata@redhat.com>
8517 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8518 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8519 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8520 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8522 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8525 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8526 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8529 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8532 * Makeconfig (link-static-before-libc): Replace $(+prector)
8534 (link-static-after-libc): Replace $(+postctor) with
8536 (link-bounded): Replace $(+prector)/$(+postctor) with
8537 $(+prectorT)/$(+postctorT).
8538 (+prectorT): New macro.
8539 (+postctorT): Likewise.
8541 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8543 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8544 (round_str): Handle values above the maximum for IBM long double
8546 * stdlib/tst-strtod-round.c (tests): Regenerated.
8548 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8550 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8552 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8553 zarch_nohighgprs around the zarch optimized routines.
8554 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8555 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8556 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8559 2012-09-05 David S. Miller <davem@davemloft.net>
8561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8563 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8564 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8565 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8566 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8569 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8571 * malloc/arena.c: Fold copyright years.
8572 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8574 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8576 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8578 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8580 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8582 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8584 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8585 change internal state upon failure.
8587 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8589 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8590 * malloc/memusage.c (mmap): Likewise.
8591 (mmap64, mremap): Likewise. Adjust name in comment.
8593 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8595 * libio/fileops.c: Fix typos in comments.
8596 * libio/oldfileops.c: Likewise.
8597 * libio/wfileops.c: Likewise.
8599 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8602 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8603 (tst-malloc-usable-ENV): Set environment for test case.
8604 * malloc/hooks.c (malloc_check_get_size): New function to get
8606 * malloc/malloc.c (musable): Use malloc_check_get_size.
8607 * malloc/tst-malloc-usable.c: New test case.
8609 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8611 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8613 2012-09-05 Allan McRae <allan@archlinux.org>
8616 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8617 determine header location.
8618 * configure: Regenerated.
8620 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8622 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8624 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8625 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8629 2012-09-04 David S. Miller <davem@davemloft.net>
8631 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8632 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8633 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8635 2012-09-04 Florian Weimer <fweimer@redhat.com>
8637 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8640 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8642 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8645 * libio/iogetdelim.c: Include <limits.h>.
8646 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8647 + len + 1 would overflow.
8649 2012-09-03 Andreas Jaeger <aj@suse.de>
8651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8652 * sysdeps/i386/fpu/libm-test-ulps: Update.
8654 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8656 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8657 Add s_sinf-sse2, s_conf-sse2.
8659 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8660 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8661 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8662 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8664 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8665 for using routine as __sinf_ia32.
8666 Use macro for function declaration and weak_alias.
8667 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8668 for using routine as __cosf_ia32.
8669 Use macro for function declaration and weak_alias.
8671 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8672 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8674 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8675 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8678 * math/libm-test.inc (cos_test): Add more test cases.
8679 (sin_test): Likewise.
8680 (sincos_test): Likewise.
8682 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8684 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8685 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8687 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8689 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8692 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8693 first element of the GOT.
8694 (elf_machine_load_address): Return the difference between
8695 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8697 2012-09-01 Allan McRae <allan@archlinux.org>
8700 * configure.in (AWK): Require gawk version 3.0 or later.
8701 * configure: Regenerated.
8703 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8705 * sysdeps/unix/sysv/linux/kernel-features.h
8706 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8707 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8708 [__NR_clock_getres]: Make code unconditional.
8709 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8710 (clock_getcpuclockid): Remove code left unreachable by removal of
8712 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8714 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8715 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8716 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8717 Make code unconditional.
8718 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8719 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8720 * sysdeps/unix/sysv/linux/clock_settime.c
8721 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8723 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8724 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8726 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8729 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8730 scripts/test-installation.pl.
8732 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8733 and $ld_so_version if it is set.
8735 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8738 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8739 failure if reading from procfs failed.
8740 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8742 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8744 * sysdeps/unix/sysv/linux/kernel-features.h
8745 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8746 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8747 Remove conditional code.
8748 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8749 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8750 Remove conditional code.
8751 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8752 * sysdeps/unix/sysv/linux/i386/fxstat.c
8753 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8754 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8755 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8756 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8758 * sysdeps/unix/sysv/linux/i386/lxstat.c
8759 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8761 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8762 Remove conditional code.
8763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8764 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8765 Remove conditional code.
8766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8767 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8768 <kernel-features.h>.
8769 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8771 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8772 Remove conditional code.
8773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8774 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8777 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8780 * NEWS: Add fixed bug number.
8782 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8785 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8786 underflowing exponent in case of negative sign.
8787 * stdlib/tst-strtod-round-data: Add more tests.
8788 * stdlib/tst-strtod-round.c (tests): Regenerated.
8791 * stdlib/strtod_l.c (NDIG): Remove.
8792 (HEXNDIG): Likewise.
8793 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8794 smallest representable value.
8795 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8796 lie within an exact representation of 1/2 ulp of the result.
8797 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8799 (TENS_P9_IDX): Define unconditionally.
8800 (TENS_P9_SIZE): Likewise.
8801 (TENS_P10_IDX): Likewise.
8802 (TENS_P10_SIZE): Likewise.
8803 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8804 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8805 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8806 entries for 10^2^13 and 10^2^14.
8807 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8808 (TENS_P13_IDX): Define.
8809 (TENS_P13_SIZE): Likewise.
8810 (TENS_P14_IDX): Likewise.
8811 (TENS_P14_SIZE): Likewise.
8812 (_fpioconst_pow10): Change array size to
8813 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8815 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8816 1024]: Add entries for 10^2^13 and 10^2^14.
8817 [LAST_POW10 > _LAST_POW10]: Remove #error.
8818 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8819 (_fpioconst_pow10): Change array size to
8820 FPIOCONST_POW10_ARRAY_SIZE.
8821 * stdlib/gen-fpioconst.c: New file.
8822 * stdlib/gen-tst-strtod-round.c: Likewise.
8823 * stdlib/tst-strtod-round-data: Likewise.
8824 * stdlib/tst-strtod-round.c: Likewise.
8825 * stdlib/Makefile (tests): Add tst-strtod-round.
8828 * stdlib/strtod_l.c: Include <stdint.h>.
8829 (NDEBUG): Do not define.
8830 (round_and_return): Change EXPONENT parameter to type intmax_t.
8831 Rearrange calculations to avoid internal overflow possibilities.
8832 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8833 Rearrange calculations to avoid internal overflow possibilities.
8834 Assert that number fits inside MPNSIZE limbs.
8835 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8836 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8837 calculations and add assertions to avoid internal overflow
8838 possibilities. Add casts to avoid signed/unsigned operations.
8839 * stdlib/tst-strtod-overflow.c: New file.
8840 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8842 2012-08-25 Marek Polacek <polacek@redhat.com>
8844 * time/time.h: Fix some typos in comments.
8846 2012-08-23 Roland McGrath <roland@hack.frob.com>
8848 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8849 * posix/tst-rfc3484-2.c: Likewise.
8850 * posix/tst-rfc3484-3.c: Likewise.
8852 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8854 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8855 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8857 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8859 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8860 #include of fxstatat64.c.
8862 2012-08-22 Roland McGrath <roland@hack.frob.com>
8864 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8865 * shadow/getspent_r.c: Likewise.
8866 * shadow/getspnam.c: Likewise.
8867 * shadow/getspnam_r.c: Likewise.
8868 * gshadow/getsgent.c: Likewise.
8869 * gshadow/getsgent_r.c: Likewise.
8870 * gshadow/getsgnam.c: Likewise.
8871 * gshadow/getsgnam_r.c: Likewise.
8872 * inet/getnetbyad.c: Likewise.
8873 * inet/getnetbyad_r.c: Likewise.
8874 * inet/getnetbynm.c: Likewise.
8875 * inet/getnetbynm_r.c: Likewise.
8876 * inet/getnetent.c: Likewise.
8877 * inet/getnetent_r.c: Likewise.
8878 * inet/getproto.c: Likewise.
8879 * inet/getproto_r.c: Likewise.
8880 * inet/getprtent.c: Likewise.
8881 * inet/getprtent_r.c: Likewise.
8882 * inet/getprtname.c: Likewise.
8883 * inet/getprtname_r.c: Likewise.
8884 * inet/getrpcbyname.c: Likewise.
8885 * inet/getrpcbyname_r.c: Likewise.
8886 * inet/getrpcbynumber.c: Likewise.
8887 * inet/getrpcbynumber_r.c: Likewise.
8888 * inet/getrpcent.c: Likewise.
8889 * inet/getrpcent_r.c: Likewise.
8890 * inet/getaliasent.c: Likewise.
8891 * inet/getaliasent_r.c: Likewise.
8892 * inet/getaliasname.c: Likewise.
8893 * inet/getaliasname_r.c: Likewise.
8894 * nscd/getgrgid_r.c: Likewise.
8895 * nscd/getgrnam_r.c: Likewise.
8896 * nscd/gethstbyad_r.c: Likewise.
8897 * nscd/gethstbynm3_r.c: Likewise.
8898 * nscd/getpwnam_r.c: Likewise.
8899 * nscd/getpwuid_r.c: Likewise.
8900 * nscd/getsrvbynm_r.c: Likewise.
8901 * nscd/getsrvbypt_r.c: Likewise.
8902 * nscd/gai.c: Likewise.
8904 * configure.in (build_nscd): New substituted variable, set
8905 by --disable-build-nscd and defaults to $use_nscd.
8906 * configure: Regenerated.
8907 * config.make.in (build-nscd): New substituted variable.
8908 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8909 Change conditional to require [$(build-nscd) = yes] as well.
8910 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8913 * configure.in (use_nscd): New substituted variable, set by
8914 --disable-nscd. If enabled, define USE_NSCD.
8915 * configure: Regenerated.
8916 * config.h.in: Add USE_NSCD.
8917 * config.make.in (use-nscd): New substituted variable.
8918 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8919 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8920 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8921 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8922 (CFLAGS-getgrnam_r.c): Likewise.
8923 (CFLAGS-initgroups.c): Likewise.
8924 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8925 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8927 * inet/getnetgrent_r.c
8928 (nscd_setnetgrent): New function, broken out of ...
8929 (setnetgrent): ... here. Call it.
8930 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8931 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8932 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8933 * nscd/Makefile (routines, aux): Move definitions after include of
8934 Makeconfig. Conditionalize on [$(use-nscd) != no].
8935 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8936 Conditionalize on [USE_NSCD].
8937 (is_nscd, nscd_init_cb): Likewise.
8938 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8939 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8940 * nss/nss_db/db-init.c: Likewise.
8941 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8943 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8944 (make_request): Use it.
8945 (cache_valid_p): New function.
8946 (__check_pf): Use it.
8947 * NEWS: Add item for --disable-nscd.
8949 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8951 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8952 to support sed >= 4.2.1-20-ga9bf076.
8953 * configure: Regenerated.
8955 2012-08-22 Roland McGrath <roland@hack.frob.com>
8957 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8958 Conditionalize whole body on [IREL].
8960 2012-08-22 Jeff Law <law@redhat.com>
8963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8964 if the family is PF_UNSPEC.
8966 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8968 * Makerules (lib-version): Rename from V.
8969 (install-lib-nosubdir): Change V to lib-version.
8971 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8974 * powerpc32/power6/wcschr.c: New file.
8975 * powerpc32/power6/wcscpy.c: New file.
8976 * powerpc32/power6/wcsrchr.c: New file.
8977 * powerpc64/power6/wcschr.c: New file.
8978 * powerpc64/power6/wcscpy.c: New file.
8979 * powerpc64/power6/wcsrchr.c: New file.
8981 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8983 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8984 (two_way_short_needle): Use it.
8985 * string/strstr.c (AVAILABLE1_USES_J): Define.
8986 * string/strcasestr.c: Likewise.
8988 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8990 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8993 * NEWS: Add an entry.
8994 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8995 define their defaults.
8996 (two_way_short_needle): Detect end-of-string on-the-fly.
8997 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8998 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8999 * string/bug-strcasestr1.c: New test.
9000 * string/Makefile: Run it.
9002 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9005 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9006 the first character.
9008 2012-08-21 Roland McGrath <roland@hack.frob.com>
9010 * csu/elf-init.c (__libc_csu_irel): Function removed.
9011 * csu/libc-start.c (apply_irel): New function.
9012 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9014 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9016 * sysdeps/unix/sysv/linux/kernel-features.h
9017 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9018 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9019 <kernel-features.h>.
9020 [__NR_fadvise64_64]: Make code unconditional.
9021 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9022 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9023 !__NR_fadvise64_64)]: Likewise.
9024 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9025 !__NR_fadvise64_64))]: Likewise.
9026 [__NR_fadvise64]: Make code unconditional.
9027 [!__NR_fadvise64]: Remove conditional code.
9028 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9029 <kernel-features.h>.
9030 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9032 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9035 not include <kernel-features.h>.
9036 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9038 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9040 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9041 include <kernel-features.h>.
9042 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9044 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9047 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9050 slight instruction rearrangements per scrollpipe analysis.
9051 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9053 2012-08-20 Roland McGrath <roland@hack.frob.com>
9055 * manual/syslog.texi (syslog; vsyslog, closelog):
9056 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9057 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9059 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9060 DSOCAPS to match condition on defining it.
9062 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9064 * sysdeps/unix/sysv/linux/kernel-features.h
9065 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9067 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9068 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9070 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9071 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9073 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9074 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9076 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9077 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9079 * sysdeps/unix/sysv/linux/kernel-features.h
9080 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9081 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9083 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9084 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9085 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9086 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9087 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9088 Make code unconditional.
9089 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9090 (__mmap64) [!__NR_mmap2]: Likewise.
9091 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9092 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9093 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9094 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9095 [__NR_mmap2]: Make code unconditional.
9096 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9097 (__mmap64) [!__NR_mmap2]: Likewise.
9099 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9101 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9103 2012-08-18 Andreas Jaeger <aj@suse.de>
9105 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9107 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9109 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9110 * include/unistd.h (__have_sock_cloexec): Likewise.
9111 (__have_pipe2): Likewise.
9112 (__have_dup3): Likewise.
9114 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9117 * include/unistd.h (__have_pipe2): Change define into an extern int.
9118 (__have_dup3): Likewise.
9119 * socket/have_sock_cloexec.c: Include fcntl.h.
9120 (__have_pipe2): New variable.
9121 (__have_dup3): Likewise.
9123 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9125 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9127 2012-08-17 Marek Polacek <polacek@redhat.com>
9129 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9130 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9132 2012-08-17 Roland McGrath <roland@hack.frob.com>
9134 * configure.in: Add AC_SUBST for sysheaders.
9135 * configure: Regenerated.
9136 * config.make.in (sysheaders): New substituted variable.
9138 * sysdeps/unix/mkfifo.c: Moved ...
9139 * sysdeps/posix/mkfifo.c: ... here.
9140 * sysdeps/unix/mkfifoat.c: Moved ...
9141 * sysdeps/posix/mkfifoat.c: ... here.
9143 * sysdeps/unix/utime.c: Moved ...
9144 * sysdeps/posix/utime.c: ... here.
9146 * sysdeps/unix/time.c: Moved ...
9147 * sysdeps/posix/time.c: ... here.
9148 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9149 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9151 * sysdeps/unix/nice.c: Moved ...
9152 * sysdeps/posix/nice.c: ... here.
9154 * sysdeps/unix/alarm.c: Moved ...
9155 * sysdeps/posix/alarm.c: ... here.
9157 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9159 2012-08-17 Jeff Law <law@redhat.com>
9161 * intl/Makefile (codeset_mo): New variable.
9162 ($(codeset_mo)): New target.
9163 (tst-codeset.out): Depend on that. Remove explicit rule.
9164 (tst-gettext3.out, tst-gettext5.out): Likewise.
9165 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9166 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9167 * intl/tst-codeset.sh: Remove.
9168 * intl/tst-gettext3.sh: Likewise.
9169 * intl/tst-gettext5.sh: Likewise.
9171 2012-08-17 Roland McGrath <roland@hack.frob.com>
9173 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9174 * sysdeps/unix/syscalls.list: ... here.
9176 * sysdeps/posix/getaddrinfo.c
9177 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9178 (gaiconf_init, gaiconf_reload): Use them.
9180 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9181 Define using time_t rather than struct timespec.
9183 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9184 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9186 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9188 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9189 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9192 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9193 __libc_cleanup_push argument.
9195 * bits/param.h: New file.
9196 * misc/sys/param.h: New file.
9197 * include/sys/param.h: New file.
9198 * misc/Makefile (headers): Add bits/param.h.
9199 * sysdeps/generic/sys/param.h: File removed.
9200 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9201 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9202 * sysdeps/mach/hurd/bits/param.h: New file.
9203 * sysdeps/mach/hurd/sys/param.h: File removed.
9205 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9208 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9210 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9211 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9214 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9215 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9216 rather than -D_IO_MTSAFE_IO conditionally.
9217 * stdio-common/Makefile (CPPFLAGS): Likewise.
9218 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9219 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9220 Use $(libio-mtsafe).
9221 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9223 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9224 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9225 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9226 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9227 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9228 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9229 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9230 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9231 (CFLAGS-fread_u_chk.c): Likewise.
9232 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9233 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9234 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9235 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9236 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9237 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9238 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9239 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9240 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9242 * libio/Makefile: Test [$(libc-reentrant) = yes]
9243 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9246 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9247 * sysdeps/pthread/configure: File removed.
9248 * sysdeps/pthread/Makeconfig: New file.
9249 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9250 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9252 2012-08-16 Gary Benson <gbenson@redhat.com>
9254 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9255 unmapping the first object in a namespace.
9257 2012-08-16 Roland McGrath <roland@hack.frob.com>
9259 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9260 (__internal_setnetgrent): ... this. Add internal_function to
9261 definition. Add libc_hidden_def.
9262 (setnetgrent): Update caller.
9263 (internal_endnetgrent): Renamed to ...
9264 (__internal_endnetgrent): ... this. Add internal_function to
9265 definition. Add libc_hidden_def.
9266 (endnetgrent): Update caller.
9267 (internal_getnetgrent_r): Renamed to ...
9268 (__internal_getnetgrent_r): ... this. Add internal_function to
9269 definition. Add libc_hidden_def.
9270 (__getnetgrent_r): Update caller.
9271 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9273 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9275 * stdlib/longlong.h: Update from GCC.
9277 2012-08-16 Roland McGrath <roland@hack.frob.com>
9279 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9280 on _QL, which is set by umul_ppmm but never used.
9281 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9282 variables, which are set by GMP macros but never used.
9283 * stdio-common/_itowa.c (_itowa): Likewise.
9284 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9285 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9287 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9289 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9290 struct La_sh_regs is not constant.
9291 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9292 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9293 and struct La_sparc64_regs are not constant.
9295 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9297 * sysdeps/unix/sysv/linux/kernel-features.h
9298 (__ASSUME_POSIX_TIMERS): Remove.
9299 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9300 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9301 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9302 Make code unconditional.
9303 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9304 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9305 Make code unconditional.
9306 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9307 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9308 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9309 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9310 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9311 Make code unconditional.
9312 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9313 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9314 (__libc_missing_posix_timers): Remove.
9316 2012-08-15 Roland McGrath <roland@hack.frob.com>
9318 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9319 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9321 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9323 * elf/dl-sym.c: Include <stdlib.h>.
9325 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9326 constants, which avoids warnings in 32-bit builds.
9328 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9329 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9331 * misc/lseek.c: File moved to ...
9332 * io/lseek.c: ... here.
9334 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9336 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9337 shifting LEN more than 31 bits at once.
9339 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9342 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9343 segmentation fault for a case of two empty input strings.
9344 * string/test-strncasecmp.c (check1): Renamed to...
9346 (bz14195): Add new testcase for two empty input strings and N > 0.
9347 (test_main): Call new testcase, adapt for renamed function.
9349 2012-08-15 Andreas Jaeger <aj@suse.de>
9352 * crypt/md5test2.c: New test, based on test supplied by Serge
9353 Belyshev <belyshev@depni.sinp.msu.ru>.
9354 * crypt/Makefile (xtests): Add md5test-giant..
9355 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9357 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9360 * crypt/md5.c (md5_process_block): Don't assume the buffer
9361 length is less than 2**32.
9362 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9363 length is less than 2**64.
9365 2012-08-15 Roland McGrath <roland@hack.frob.com>
9367 * string/str-two-way.h: Include <sys/param.h>.
9368 (MAX): Macro removed.
9370 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9371 Move #define and #undef of memmove to just before and after
9372 including <string.h>.
9374 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9375 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9376 and after including <string.h>. Move declarations of
9377 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9378 to before #include "string/memmove.c".
9380 * include/dirent.h: Declare __getdirentries.
9382 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9383 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9385 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9387 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9388 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9389 * sysdeps/i386/configure: Regenerated.
9390 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9391 STABS_CURRENT_FILE, and STABS_FUN.
9392 (END): Remove call to STABS_FUN_END.
9393 (STABS_CURRENT_FILE1): Delete.
9394 (STABS_CURRENT_FILE): Likewise.
9395 (STABS_FUN): Likewise.
9396 (STABS_FUN_END): Likewise.
9397 (STABS_FUN2): Likewise.
9398 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9399 * sysdeps/x86_64/configure: Regenerated.
9401 2012-08-14 Roland McGrath <roland@hack.frob.com>
9403 * elf/dl-open.c: Include <atomic.h>.
9404 * elf/dl-lookup.c: Likewise.
9406 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9408 * sysdeps/unix/sysv/linux/kernel-features.h
9409 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9410 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9412 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9414 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9415 condition on __ASSUME_CLONE_THREAD_FLAGS.
9417 2012-08-14 Andreas Jaeger <aj@suse.de>
9419 * sysdeps/i386/fpu/libm-test-ulps: Update.
9421 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9423 * include/atomic.h (atomic_exchange_and_add): Split into ...
9424 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9427 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9431 2012-08-13 Jeff Law <law@redhat.com>
9433 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9434 null byte in the output string.
9436 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9438 * sysdeps/unix/sysv/linux/kernel-features.h
9439 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9440 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9441 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9442 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9443 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9444 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9445 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9447 2012-08-09 Jeff Law <law@redhat.com>
9450 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9451 When avoid_arena is set, don't retry in the that arena. Pick the
9452 next one, whatever it might be.
9453 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9454 (arena_lock): Pass in new parameter to arena_get2.
9455 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9457 (__libc_malloc): Unify retrying after main arena failure with
9458 __libc_memalign version.
9459 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9461 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9464 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9465 to __redirect_strstr.
9466 (__strstr_sse42): Use typeof __redirect_strstr.
9467 (__strstr_ia32): Likewise.
9468 (__libc_strstr): New prototype.
9469 (strstr): Renamed to ...
9470 (__libc_strstr): This.
9471 (strstr): New strong alias of __libc_strstr.
9472 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9473 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9476 (__libc_time): New prototype.
9477 (time_ifunc): Replace time with __libc_time.
9478 (time): New strong alias and hidden definition of __libc_time.
9479 (__GI_time): Remove strong alias.
9480 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9482 (memmove): Redefined to __redirect_memmove.
9483 (__memmove_sse2): Use typeof __redirect_memmove.
9484 (__memmove_ssse3): Likewise.
9485 (__memmove_ssse3_back): Likewise.
9486 (__libc_memmove): New prototype.
9487 (memmove): Renamed to ...
9488 (__libc_memmove): This.
9489 (memmove): New strong alias of __libc_memmove.
9491 2012-08-08 Mark Salter <msalter@redhat.com>
9494 (R_MN10300_TLS_GD): Define.
9495 (R_MN10300_TLS_LD): Likewise.
9496 (R_MN10300_TLS_LDO): Likewise.
9497 (R_MN10300_TLS_GOTIE): Likewise.
9498 (R_MN10300_TLS_IE): Likewise.
9499 (R_MN10300_TLS_LE): Likewise.
9500 (R_MN10300_TLS_DTPMOD): Likewise.
9501 (R_MN10300_TLS_DTPOFF): Likewise.
9502 (R_MN10300_TLS_TPOFF): Likewise.
9503 (R_MN10300_SYM_DIFF): Likewise.
9504 (R_MN10300_ALIGN): Likewise.
9505 (R_MN10300_NUM): Update.
9507 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9512 2012-08-08 Roland McGrath <roland@hack.frob.com>
9514 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9516 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9517 sysdeps/unix -> sysdeps/posix move.
9518 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9520 2012-08-07 Allan McRae <allan@archlinux.org>
9523 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9524 (SUNOS_CPP): Likewise.
9525 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9527 (open_input): Call CPP using execvp.
9529 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9531 * sysdeps/unix/sysv/linux/kernel-features.h
9532 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9533 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9534 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9535 (__ASSUME_WAITID_SYSCALL): Likewise.
9536 * sysdeps/unix/sysv/linux/dl-execstack.c
9537 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9539 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9541 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9542 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9543 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9545 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9547 [__ASSUME_WAITID_SYSCALL]: Likewise.
9548 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9550 2012-08-07 Roland McGrath <roland@hack.frob.com>
9552 * sysdeps/unix/closedir.c: Renamed to ...
9553 * sysdeps/posix/closedir.c: ... here.
9554 * sysdeps/unix/dirfd.c: Renamed to ...
9555 * sysdeps/posix/dirfd.c: ... here.
9556 * sysdeps/unix/dirstream.h: Renamed to ...
9557 * sysdeps/posix/dirstream.h: ... here.
9558 * sysdeps/unix/fdopendir.c: Renamed to ...
9559 * sysdeps/posix/fdopendir.c: ... here.
9560 * sysdeps/unix/opendir.c: Renamed to ...
9561 * sysdeps/posix/opendir.c: ... here.
9562 * sysdeps/unix/readdir.c: Renamed to ...
9563 * sysdeps/posix/readdir.c: ... here.
9564 * sysdeps/unix/readdir_r.c: Renamed to ...
9565 * sysdeps/posix/readdir_r.c: ... here.
9566 * sysdeps/unix/rewinddir.c: Renamed to ...
9567 * sysdeps/posix/rewinddir.c: ... here.
9568 * sysdeps/unix/seekdir.c: Renamed to ...
9569 * sysdeps/posix/seekdir.c: ... here.
9570 * sysdeps/unix/telldir.c: Renamed to ...
9571 * sysdeps/posix/telldir.c: ... here.
9572 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9573 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9574 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9575 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9577 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9578 * bits/fcntl.h: ... here.
9580 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9582 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9583 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9584 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9585 (struct flock): Move l_start, l_len to the beginning.
9586 Use __pid_t for l_pid.
9587 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9588 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9589 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9590 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9591 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9592 [__USE_LARGEFILE64] (struct flock64): New type.
9593 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9595 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9596 * bits/dirent.h: ... here.
9598 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9599 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9601 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9603 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9604 Change from 2.6.0 to 2.6.16.
9605 * sysdeps/unix/sysv/linux/configure: Regenerated.
9606 * sysdeps/unix/sysv/linux/kernel-features.h
9607 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9608 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9610 (__ASSUME_UTIMES): Likewise.
9611 (__ASSUME_CLONE_STOPPED): Remove.
9612 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9613 architectures, not kernel version.
9614 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9615 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9616 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9617 (__ASSUME_WAITID_SYSCALL): Likewise.
9618 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9619 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9620 * README: State 2.6.16 as minimum Linux kernel version. Do not
9621 refer to older versions.
9623 2012-08-06 Roland McGrath <roland@hack.frob.com>
9625 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9626 Define alphasort64 as an alias.
9627 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9628 Define versionsort64 as an alias.
9629 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9630 Define scandir64 as an alias.
9631 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9632 Define scandirat64 as an alias.
9633 * dirent/alphasort64.c (alphasort64):
9634 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9635 * dirent/versionsort64.c: Likewise.
9636 * dirent/scandir64.c: Likewise.
9637 * dirent/scandirat64.c: Likewise.
9638 * sysdeps/wordsize-64/alphasort.c: File removed.
9639 * sysdeps/wordsize-64/alphasort64.c: File removed.
9640 * sysdeps/wordsize-64/scandir.c: File removed.
9641 * sysdeps/wordsize-64/scandir64.c: File removed.
9642 * sysdeps/wordsize-64/scandirat.c: File removed.
9643 * sysdeps/wordsize-64/scandirat64.c: File removed.
9644 * sysdeps/wordsize-64/versionsort.c: File removed.
9645 * sysdeps/wordsize-64/versionsort64.c: File removed.
9646 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9647 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9648 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9649 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9650 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9651 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9652 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9653 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9655 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9657 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9658 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9659 [defined __arch64__ || defined __sparcv9]
9660 (__INO_T_MATCHES_INO64_T): New macro.
9661 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9662 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9663 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9664 * sysdeps/unix/sysv/linux/bits/dirent.h
9665 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9666 (_DIRENT_MATCHES_DIRENT64): New macro.
9668 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9669 Define lockf64 as an alias.
9670 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9671 Define fseeko64 as an alias.
9672 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9673 Define ftello64 as an alias.
9674 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9675 Define _IO_fgetpos64 and fgetpos64 as aliases.
9676 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9677 Define _IO_fsetpos64 and fsetpos64 as aliases.
9678 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9679 Conditionalize body on this.
9680 * libio/fseeko64.c: Likewise.
9681 * libio/ftello64.c: Likewise.
9682 * libio/iofgetpos64.c: Likewise.
9683 * libio/iofsetpos64.c: Likewise.
9684 * sysdeps/wordsize-64/lockf.c: File removed.
9685 * sysdeps/wordsize-64/lockf64.c: File removed.
9686 * sysdeps/wordsize-64/fseeko.c: File removed.
9687 * sysdeps/wordsize-64/fseeko64.c: File removed.
9688 * sysdeps/wordsize-64/ftello.c: File removed.
9689 * sysdeps/wordsize-64/ftello64.c: File removed.
9690 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9691 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9692 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9693 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9694 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9695 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9696 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9697 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9698 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9699 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9700 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9701 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9702 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9703 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9705 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9707 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9709 [defined __arch64__ || defined __sparcv9]
9710 (__OFF_T_MATCHES_OFF64_T): New macro.
9711 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9712 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9713 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9714 (__OFF_T_MATCHES_OFF64_T): New macro.
9716 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9718 * stdlib/secure-getenv.c (__secure_getenv): Replace
9719 GLIBC_2_16 with GLIBC_2_17.
9721 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9723 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9724 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9726 2012-08-03 David S. Miller <davem@davemloft.net>
9728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9730 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9732 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9734 (__ASSUME_CORRECT_SI_PID): Likewise.
9735 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9736 (__ASSUME_TMPFS_NAME): Likewise.
9737 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9738 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9739 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9740 (HAVE_AUX_SECURE): Make definition unconditional.
9741 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9742 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9744 2012-08-03 Roland McGrath <roland@hack.frob.com>
9746 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9747 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9748 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9749 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9750 __eloop_threshold instead of SYMLOOP_MAX.
9752 * sysdeps/generic/eloop-threshold.h: New file.
9753 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9755 * elf/chroot_canon.c (chroot_canon): Likewise.
9757 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9760 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9761 Change to 2.6.0 everywhere.
9762 * sysdeps/unix/sysv/linux/configure: Regenerated.
9763 * sysdeps/unix/sysv/linux/kernel-features.h
9764 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9765 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9767 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9768 (__ASSUME_FUTEX_REQUEUE): Remove.
9769 (__ASSUME_STATFS64): Define unconditionally.
9770 (__ASSUME_AT_SECURE): Likewise.
9771 (__ASSUME_CORRECT_SI_PID): Likewise.
9772 (__ASSUME_TGKILL): Define without depending on kernel version for
9774 (__ASSUME_UTIMES): Likewise.
9775 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9777 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9778 (__ASSUME_TMPFS_NAME): Likewise.
9779 * README: Update reference to Linux kernel versions.
9781 2012-08-02 Marek Polacek <polacek@redhat.com>
9784 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9785 libc_cv_asm_type_prefix with %.
9786 * configure: Regenerated.
9787 * include/libc-symbols.h: Remove comment about
9788 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9789 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9790 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9791 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9792 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9793 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9794 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9795 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9796 * elf/tst-unique2mod1.c: Likewise.
9797 * elf/tst-unique1mod2.c: Likewise.
9798 * elf/tst-unique1mod1.c: Likewise.
9799 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9800 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9801 Replace ASM_TYPE_DIRECTIVE with .type.
9802 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9803 * sysdeps/i386/sysdep.h: Likewise.
9804 * sysdeps/x86_64/sysdep.h: Likewise.
9805 * sysdeps/sh/sysdep.h: Likewise.
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9807 Do not define ASM_TYPE_DIRECTIVE.
9808 * sysdeps/powerpc/sysdep.h: Likewise.
9809 * sysdeps/powerpc/powerpc32/sysdep.h:
9810 Replace ASM_TYPE_DIRECTIVE with .type.
9811 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9812 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9813 * sysdeps/i386/fpu/e_powf.S: Likewise.
9814 * sysdeps/i386/fpu/e_expl.S: Likewise.
9815 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9816 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9817 * sysdeps/i386/fpu/e_pow.S: Likewise.
9818 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9819 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9820 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9821 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9822 * sysdeps/i386/fpu/e_log2.S: Likewise.
9823 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9824 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9825 * sysdeps/i386/fpu/e_powl.S: Likewise.
9826 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9827 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9828 * sysdeps/i386/fpu/e_logl.S: Likewise.
9829 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9830 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9831 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9832 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9833 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9834 * sysdeps/i386/fpu/e_log.S: Likewise.
9835 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9836 * sysdeps/i386/fpu/e_logf.S: Likewise.
9837 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9838 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9839 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9840 * sysdeps/i386/fpu/e_log10.S: Likewise.
9841 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9842 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9843 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9844 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9845 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9846 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9847 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9848 * sysdeps/i386/i686/strtok.S: Likewise.
9849 * sysdeps/i386/i386-mcount.S: Likewise.
9850 * sysdeps/i386/strtok.S: Likewise.
9851 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9852 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9853 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9854 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9855 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9856 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9857 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9858 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9859 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9860 * sysdeps/x86_64/_mcount.S: Likewise.
9861 * sysdeps/x86_64/strtok.S: Likewise.
9862 * sysdeps/sh/_mcount.S: Likewise.
9864 2012-08-01 Roland McGrath <roland@hack.frob.com>
9866 * libio/iofopen.c: Include <fcntl.h>.
9867 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9868 (_IO_fopen64, fopen64): Define as aliases.
9869 * libio/iofopen64.c: Include <fcntl.h>.
9870 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9871 Conditionalize body on this.
9872 * sysdeps/wordsize-64/iofopen.c: File removed.
9873 * sysdeps/wordsize-64/iofopen64.c: File removed.
9875 2012-08-01 Marek Polacek <polacek@redhat.com>
9877 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9878 Use dlfcn directly instead of a variable.
9879 (binfmt-subdir): Do not define.
9882 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9884 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9885 Remove all definitions.
9886 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9887 <kernel-features.h>.
9888 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9889 (miss_F_GETOWN_EX): Remove all definitions.
9890 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9892 [!__ASSUME_FCNTL64]: Remove conditional code.
9893 [__ASSUME_FCNTL64]: Make code unconditional.
9894 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9895 <kernel-features.h>.
9896 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9897 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9898 (lockf64) [__NR_fcntl64]: Make code unconditional.
9899 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9901 * sysdeps/unix/sysv/linux/kernel-features.h
9902 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9903 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9904 Make code unconditional.
9905 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9906 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9908 [__NR_vfork]: Make code unconditional.
9909 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9910 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9912 [__NR_vfork]: Make code unconditional.
9913 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9914 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9916 2012-08-01 Roland McGrath <roland@hack.frob.com>
9918 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9919 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9921 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9922 Define mkstemp64 as an alias.
9923 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9924 Define mkstemps64 as an alias.
9925 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9926 Define mkostemp64 as an alias.
9927 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9928 Define mkostemps64 as an alias.
9929 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9930 Conditionalize body on this.
9931 * misc/mkostemp64.c: Likewise.
9932 * misc/mkostemps64.c: Likewise.
9933 * misc/mkstemps64.c: Likewise.
9934 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9935 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9936 * sysdeps/wordsize-64/mkostemp.c: File removed.
9937 * sysdeps/wordsize-64/mkstemp.c: File removed.
9938 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9939 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9940 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9941 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9944 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9945 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9946 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9947 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9949 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9950 compat_symbol macros from <shlib-compat.h> rather than the underlying
9951 default_symbol_version and symbol_version macros, so that DEFAULT
9952 lines in shlib-versions are respected.
9953 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9955 2012-08-01 Florian Weimer <fweimer@redhat.com>
9957 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9958 Declare with warn_unused_result.
9959 (setgid, setregid, setegid, setresgid): Likewise.
9960 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9962 * WUR-REPORT: Remove set*id functions.
9964 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9966 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9968 2012-07-31 Roland McGrath <roland@hack.frob.com>
9970 * include/sys/socket.h (__libc_accept, __libc_accept4):
9971 Add attribute_hidden.
9972 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9974 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9976 * inet/getnetgrent_r.c (setup): Likewise.
9978 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9980 2012-07-31 David S. Miller <davem@davemloft.net>
9982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9984 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9987 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9988 value between 1.0 and 2.0 and smaller part has absolute value less
9990 * math/s_clog10.c (__clog10): Likewise.
9991 * math/s_clog10f.c (__clog10f): Likewise.
9992 * math/s_clog10l.c (__clog10l): Likewise.
9993 * math/s_clogf.c (__clogf): Likewise.
9994 * math/s_clogl.c (__clogl): Likewise.
9995 * math/libm-test.inc (clog_test): Add more tests.
9996 (clog10_test): Likewise.
9997 * sysdeps/i386/fpu/libm-test-ulps: Update.
9998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10000 2012-07-31 Florian Weimer <fweimer@redhat.com>
10002 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10003 Exit with zero in case no suitable GID is found, and write a
10004 message to standard error.
10006 2012-07-30 Roland McGrath <roland@hack.frob.com>
10008 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10010 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10011 (MAXPATHLEN): Removed.
10012 (NOGROUP, NODEV): New macros.
10013 (setbit, clrbit, isset, isclr): New macros.
10014 (howmany, roundup, powerof2): New macros.
10015 (DEV_BSIZE): New macro.
10017 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10018 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10020 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10021 definition on [!__NO_LONG_DOUBLE_MATH].
10023 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10024 PTR_MANGLE and PTR_DEMANGLE.
10026 * socket/accept4.c (accept4): Rename to __libc_accept4.
10027 Define accept4 as a weak alias.
10029 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10030 on [_DIRENT_HAVE_D_TYPE].
10031 * io/ftw.c (ftw_dir): Likewise.
10033 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10035 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10037 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10038 Use the BSD numbers rather than the arbitrary ones we had.
10039 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10040 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10041 (SIGXCPU, SIGXFSZ): New macros.
10044 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10045 initializer on [_LIBC_REENTRANT].
10047 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10048 definitions inside [_POSIX_MAPPED_FILES].
10050 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10052 * dirent/opendir.c: Include <fcntl.h>.
10054 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10055 (__libc_getspecific): Likewise.
10056 (__libc_key_create): Likewise.
10058 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10059 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10060 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10061 (tmpfile64): Define as alias.
10062 * sysdeps/wordsize-64/tmpfile.c: File removed.
10063 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10065 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10067 * stdio-common/vfscanf.c: Include <stdbool.h>.
10068 * nss/makedb.c: Likewise.
10069 * stdio-common/_i18n_number.h: Likewise.
10070 * argp/argp-help.c: Likewise.
10071 * posix/wordexp.c: Likewise.
10072 * sysdeps/posix/spawni.c: Likewise.
10073 * nss/nss_files/files-initgroups.c: Likewise.
10074 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10075 * nss/nss_files/files-initgroups.c: Likewise.
10076 * nss/nss_db/db-netgrp.c: Likewise.
10077 * nss/nss_db/db-initgroups.c: Likewise.
10078 * io/fchmodat.c: Include <sys/stat.h>.
10080 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10081 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10083 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10086 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10087 Add multiple inclusion protection.
10089 2012-07-27 David S. Miller <davem@davemloft.net>
10091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10093 2012-07-27 Gary Benson <gbenson@redhat.com>
10096 * elf/rtld.c: Include <stap-probe.h>.
10097 (dl_main): Added static probes "init_start" and "init_complete".
10098 * elf/dl-load.c: Include <stap-probe.h>.
10099 (lose): Take new parameter "nsid".
10100 Added static probe "map_failed".
10101 (_dl_map_object_from_fd): Pass namespace id to lose.
10102 Added static probe "map_start".
10103 (open_verify): Pass namespace id to lose.
10104 * elf/dl-open.c: Include <stap-probe.h>.
10105 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10106 and "reloc_complete".
10107 * elf/dl-close.c: Include <stap-probe.h>.
10108 (_dl_close_worker): Added static probes "unmap_start" and
10110 * elf/rtld-debugger-interface.txt: New file documenting the above.
10112 2012-07-26 Roland McGrath <roland@hack.frob.com>
10114 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10115 rather than a string variable.
10116 * sunrpc/rpc_main.c (h_output): Likewise.
10117 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10119 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10121 * inet/check_native.c: New file.
10123 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10126 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10127 if larger part has absolute value 1.0.
10128 * math/s_clog10.c (__clog10): Likewise.
10129 * math/s_clog10f.c (__clog10f): Likewise.
10130 * math/s_clog10l.c (__clog10l): Likewise.
10131 * math/s_clogf.c (__clogf): Likewise.
10132 * math/s_clogl.c (__clogl): Likewise.
10133 * math/libm-test.inc (clog_test): Add more tests.
10134 (clog10_test): Likewise.
10135 * sysdeps/i386/fpu/libm-test-ulps: Update.
10136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10138 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10139 (pltexit): Likewise.
10140 (La_regs): Likewise.
10141 (La_retval): Likewise.
10142 (int_retval): Likewise.
10143 Update #error for removed macros to refer only to definitions in
10145 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10147 (pltexit): Likewise.
10148 (La_regs): Likewise.
10149 (La_retval): Likewise.
10150 (int_retval): Likewise.
10151 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10153 (pltexit): Likewise.
10154 (La_regs): Likewise.
10155 (La_retval): Likewise.
10156 (int_retval): Likewise.
10157 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10159 (pltexit): Likewise.
10160 (La_regs): Likewise.
10161 (La_retval): Likewise.
10162 (int_retval): Likewise.
10163 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10165 (pltexit): Likewise.
10166 (La_regs): Likewise.
10167 (La_retval): Likewise.
10168 (int_retval): Likewise.
10169 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10171 (pltexit): Likewise.
10172 (La_regs): Likewise.
10173 (La_retval): Likewise.
10174 (int_retval): Likewise.
10175 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10177 (pltexit): Likewise.
10178 (La_regs): Likewise.
10179 (La_retval): Likewise.
10180 (int_retval): Likewise.
10181 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10182 macro definitions in tst-audit.h.
10183 * sysdeps/i386/tst-audit.h: New file.
10184 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10185 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10186 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10187 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10188 * sysdeps/sh/tst-audit.h: Likewise.
10189 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10190 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10191 * sysdeps/x86_64/tst-audit.h: Likewise.
10193 2012-07-26 Andreas Jaeger <aj@suse.de>
10195 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10198 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10199 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10200 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10202 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10203 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10206 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10209 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10211 (si_call_addr, si_syscall, si_arch): Define new macro.
10212 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10214 (si_call_addr, si_syscall, si_arch): Define new marcro.
10215 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10217 (si_call_addr, si_syscall, si_arch): Define new macro.
10218 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10220 (si_call_addr, si_syscall, si_arch): Define new macro.
10222 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10226 Change to 2.4.21 where previously 2.4.1.
10227 * sysdeps/unix/sysv/linux/configure: Regenerated.
10228 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10229 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10230 Linux kernel version.
10231 (__ASSUME_STD_AUXV): Remove.
10232 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10234 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10235 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10236 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10237 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10238 (__ASSUME_NETLINK_SUPPORT): Likewise.
10239 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10240 (__no_netlink_support): Remove conditional definition.
10241 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10243 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10244 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10245 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10246 (if_nameindex_ioctl): Remove.
10247 (if_nameindex_netlink): Do not handle __no_netlink_support.
10248 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10250 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10251 Remove conditional code.
10252 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10254 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10256 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10257 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10258 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10260 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10261 [!__ASSUME_STD_AUXV]: Remove conditional code.
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10263 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10264 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10266 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10267 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10269 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10271 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10272 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10274 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10276 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10279 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10282 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10283 code unconditional.
10284 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10286 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10288 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10291 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10293 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10296 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10297 code unconditional.
10298 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10300 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10302 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10305 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10306 code unconditional.
10307 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10309 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10311 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10314 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10316 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10317 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10318 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10319 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10320 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10321 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10322 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10323 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10324 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10325 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10326 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10327 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10328 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10329 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10330 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10331 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10332 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10333 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10334 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10336 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10337 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10338 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10340 2012-07-25 Florian Weimer <fweimer@redhat.com>
10342 * Versions.def: Add GLIBC_2.17.
10343 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10344 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10345 Introduce __libc_secure_getenv.
10346 * stdlib/Versions (2.17): Add secure_getenv
10347 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10348 * stdlib/secure-getenv.c: Rename __secure_getenv to
10349 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10350 symbol __secure_getenv for GLIBC_2.0.
10351 * stdlib/tst-secure-getenv.c: New.
10352 * stdlib/Makefile (tests): Add testcase.
10353 * manual/startup.texi (Environment Access): Document
10355 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10356 __libc_secure_getenv.
10357 * inet/ruserpass.c (ruserpass): Likewise.
10358 * malloc/mtrace.c (mtrace): Likewise.
10359 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10360 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10361 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10362 * sysdeps/posix/tempname.c: Likewise. Evaluate
10363 HAVE_SECURE_GETENV.
10364 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10365 __secure_getenv to __libc_secure_getenv.
10366 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10379 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10381 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10382 (struct La_i86_retval): Likewise.
10383 (struct La_x86_64_regs): Likewise.
10384 (struct La_x86_64_retval): Likewise.
10385 (struct La_x32_regs): Likewise.
10386 (struct La_x32_retval): Likewise.
10387 (struct La_ppc32_regs): Likewise.
10388 (struct La_ppc32_retval): Likewise.
10389 (struct La_ppc64_regs): Likewise.
10390 (struct La_ppc64_retval): Likewise.
10391 (struct La_sh_regs): Likewise.
10392 (struct La_sh_retval): Likewise.
10393 (struct La_s390_32_regs): Likewise.
10394 (struct La_s390_32_retval): Likewise.
10395 (struct La_s390_64_regs): Likewise.
10396 (struct La_s390_64_retval): Likewise.
10397 (struct La_sparc32_regs): Likewise.
10398 (struct La_sparc32_retval): Likewise.
10399 (struct La_sparc64_regs): Likewise.
10400 (struct La_sparc64_retval): Likewise.
10401 (struct audit_ifaces): Remove architecture-specific pltenter and
10403 * sysdeps/i386/ldsodefs.h: New file.
10404 * sysdeps/powerpc/ldsodefs.h: Likewise.
10405 * sysdeps/s390/ldsodefs.h: Likewise.
10406 * sysdeps/sh/ldsodefs.h: Likewise.
10407 * sysdeps/sparc/ldsodefs.h: Likewise.
10408 * sysdeps/x86_64/ldsodefs.h: Likewise.
10410 2012-07-25 Marek Polacek <polacek@redhat.com>
10413 * math/libm-test.inc (yn_test): Add another test.
10414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10415 to ERANGE when the result is +-Inf.
10416 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10417 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10418 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10419 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10421 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10423 * conform/data/time.h-data (NULL): Use macro-constant. Require
10425 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10427 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10429 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10431 * configure.in <sysdeps resolving>: Correct printing
10433 * configure: Regenerate.
10435 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10437 * math/w_ilogb.c: Include <limits.h>.
10438 * math/w_ilogbl.c: Likewise.
10440 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10442 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10443 va_copy. Document allowing for unavailable va_copy only as
10444 pre-C99 compatibility.
10445 * manual/string.texi (Copying and Concatenation): Use va_copy
10446 instead of __va_copy in concat example.
10448 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10450 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10451 (__sendto): Use create_address_port. Initialize APORT and deallocate
10454 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10455 with O_NOLINK passed to __file_name_lookup.
10457 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10458 with O_NOLINK passed to __file_name_lookup.
10460 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10461 negative N or less than NGIDS.
10463 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10464 type to string_t. Set ERANGE as errno and return it if NAME is not big
10465 enough. Use memcpy instead of strncpy.
10467 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10469 * elf/Makefile (check-data): Remove.
10470 (localplt.data): New vpath directive.
10471 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10472 instead of $(check-data).
10473 * scripts/data/localplt-generic.data: Move to ...
10474 * sysdeps/generic/localplt.data: ... here.
10475 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10476 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10477 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10480 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10483 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10486 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10489 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10492 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10496 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10498 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10499 PPC32 and PPC64 files.
10500 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10501 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10503 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10505 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10506 __makecontext_ret to ...
10507 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10508 ... here and call exit if uc_link is NULL. New file.
10509 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10510 __makecontext_ret.S.
10511 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10512 __makecontext_ret to ...
10513 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10514 ... here and call exit if uc_link is NULL. New file.
10515 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10516 __makecontext_ret.S.
10518 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10520 * elf/elf.h (R_390_IRELATIVE): New definition.
10521 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10522 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10523 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10525 (elf_machine_lazy_rel): Likewise.
10526 * sysdeps/s390/dl-irel.h: New file.
10527 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10528 * sysdeps/s390/s390-64/memset.S: New asm code.
10529 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10530 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10531 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10532 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10533 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10534 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10535 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10536 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10537 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10538 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10539 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10540 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10541 * sysdeps/s390/s390-32/memset.S: New asm code.
10542 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10544 2012-07-17 Marek Polacek <polacek@redhat.com>
10547 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10548 * sysdeps/s390/s390-64/configure.in: Likewise.
10549 * sysdeps/sparc/configure.in: Likewise.
10550 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10551 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10552 * sysdeps/i386/configure.in: Likewise.
10553 * sysdeps/x86_64/configure.in: Likewise.
10554 * sysdeps/sh/configure.in: Likewise.
10555 * sysdeps/s390/s390-32/configure: Regenerated.
10556 * sysdeps/s390/s390-64/configure: Likewise.
10557 * sysdeps/x86_64/configure: Likewise.
10558 * sysdeps/sh/configure: Likewise.
10559 * sysdeps/powerpc/powerpc64/configure: Likewise.
10560 * sysdeps/powerpc/powerpc32/configure: Likewise.
10561 * sysdeps/sparc/configure: Likwise.
10562 * sysdeps/i386/configure: Likewise.
10564 * elf/dl-open.c: Comment fixes.
10566 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10568 * Makefile [CXX] (check-data): Remove.
10569 [CXX] (c++-types.data): New vpath directive.
10570 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10571 vpath. Do not allow for C++ type data being missing.
10572 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10573 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10574 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10575 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10576 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10577 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10578 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10581 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10584 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10587 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10590 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10593 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10596 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10599 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10602 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10603 definitions to architecture-specific files.
10604 (TLS_IE): Likewise.
10605 (TLS_LD): Likewise.
10606 (TLS_GD): Likewise.
10607 * sysdeps/i386/tls-macros.h: New file.
10608 * sysdeps/powerpc/tls-macros.h: Likewise.
10609 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10610 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10611 * sysdeps/sh/tls-macros.h: Likewise.
10612 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10613 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10614 * sysdeps/x86_64/tls-macros.h: Likewise.
10616 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10618 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10619 zero value for regular exit case.
10621 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10622 (__start_context): Preserve zero value for regular exit case.
10624 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10625 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10627 * manual/setjmp.texi (setcontext): Clarify normal process
10628 termination when uc_link is the null pointer.
10629 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10632 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10634 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10635 preprocessor. Test for each exception mask separately.
10637 2012-07-16 Andreas Jaeger <aj@suse.de>
10639 * po/ru.po: Update from translation team.
10641 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10643 * conform/data/string.h-data (NULL): Use macro-constant. Require
10645 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10646 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10647 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10648 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10651 2012-07-13 Andreas Jaeger <aj@suse.de>
10653 * po/fr.po: Update from translation team.
10655 2012-07-12 Marek Polacek <polacek@redhat.com>
10658 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10659 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10662 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10665 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10666 Change to 2.4.1 where previously 2.4.0.
10667 * sysdeps/unix/sysv/linux/configure: Regenerated.
10668 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10669 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10671 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10672 (__ASSUME_AT_CLKTCK): Remove.
10673 (__ASSUME_AT_PAGESIZE): Likewise.
10674 (__ASSUME_AT_XID): Likewise.
10675 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10676 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10677 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10679 (HAVE_AUX_PAGESIZE): Likewise.
10680 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10681 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10682 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10684 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10688 the temporary buffer used to invoke __gethostbyname2_r,
10689 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10690 host_data / struct gaih_addrtuple.
10691 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10692 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10693 header file nss/nsswitch.h.
10694 * nss/nsswitch.h (global scope): Add definition of implementation
10695 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10696 resolv/nss_dns/dns-host.c).
10698 2012-07-11 Andreas Jaeger <aj@suse.de>
10700 * po/fr.po: Update from translation team.
10702 * po/sv.po: Update from translation team
10703 * po/fr.po: Another update from translation team.
10705 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10707 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10708 for subnormals or multiply small sinh result by itself.
10709 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10712 2012-07-11 David S. Miller <davem@davemloft.net>
10714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10716 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10719 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10720 (INTERNAL_MARK): Shift it here.
10722 2012-07-10 Marek Polacek <polacek@redhat.com>
10725 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10726 libc_cv_asm_global_directive with .globl.
10727 * configure: Regenerated.
10728 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10730 * sysdeps/i386/configure: Regenerated.
10731 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10733 * sysdeps/x86_64/configure: Regenerated.
10734 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10735 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10736 * elf/tst-unique2mod2.c: Likewise.
10737 * elf/tst-unique2mod1.c: Likewise.
10738 * elf/tst-unique1mod2.c: Likewise.
10739 * elf/tst-unique1mod1.c: Likewise.
10740 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10741 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10743 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10744 * sysdeps/mach/sysdep.h: Likewise.
10745 * sysdeps/i386/sysdep.h: Likewise.
10746 * sysdeps/i386/i386-mcount.S: Likewise.
10747 * sysdeps/x86_64/_mcount.S: Likewise.
10748 * sysdeps/x86_64/sysdep.h: Likewise.
10749 * sysdeps/sh/_mcount.S: Likewise.
10750 * sysdeps/sh/sysdep.h: Likewise.
10751 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10752 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10753 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10754 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10755 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10756 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10757 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10758 * locale/localeinfo.h: Likewise.
10759 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10760 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10762 2012-07-09 Roland McGrath <roland@hack.frob.com>
10765 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10767 * manual/message.texi (The Uniforum approach): Likewise.
10768 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10769 (glibc iconv Implementation): Likewise.
10771 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10774 * math/s_clog.c (__clog): Avoid scaling a value down where that
10775 could result in underflow.
10776 * math/s_clog10.c (__clog10): Likewise.
10777 * math/s_clog10f.c (__clog10f): Likewise.
10778 * math/s_clog10l.c (__clog10l): Likewise.
10779 * math/s_clogf.c (__clogf): Likewise.
10780 * math/s_clogl.c (__clogl): Likewise.
10781 * math/libm-test.inc (clog_test): Add more tests.
10782 (clog10_test): Likewise.
10783 * sysdeps/i386/fpu/libm-test-ulps: Update.
10784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10786 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10789 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10790 by 7 not 8 to examine high bit of fractional part.
10793 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10794 for call to __mcount_internal.
10795 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10796 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10797 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10799 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10802 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10803 approximation for values within 0x1p-13f of an odd multiple of
10805 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10806 exception. Add more tests.
10807 * sysdeps/i386/fpu/libm-test-ulps: Update.
10810 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10811 inputs and return -1 for them. Do not check for +Inf in case not
10812 reachable for +Inf.
10813 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10814 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10815 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10816 and return -1 for them. Do not check for +Inf in case not
10817 reachable for +Inf.
10818 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10820 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10821 and return -1 for them. Do not check for +Inf in case not
10822 reachable for +Inf.
10823 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10824 spurious underflow.
10825 * sysdeps/i386/fpu/libm-test-ulps: Update.
10826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10828 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10830 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10832 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10836 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10837 could result in spurious underflow. Scale down values above
10838 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10839 * math/s_csqrtf.c (__csqrtf): Likewise.
10840 * math/s_csqrtl.c (__csqrtl): Likewise.
10841 * math/libm-test.inc (csqrt_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-04 Andreas Schwab <schwab@linux-m68k.org>
10848 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10850 * catgets/xopen-msg.awk: New file.
10851 * catgets/xopen-msg.sed: Removed.
10853 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10855 * intl/po2test.awk: New file.
10856 * intl/po2test.sed: Removed.
10858 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10861 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10862 or multiply small sinh result by itself.
10863 * math/s_ctanf.c (__ctanf): Likewise.
10864 * math/s_ctanh.c (__ctanh): Likewise.
10865 * math/s_ctanhf.c (__ctanhf): Likewise.
10866 * math/s_ctanhl.c (__ctanhl): Likewise.
10867 * math/s_ctanl.c (__ctanl): Likewise.
10868 * math/libm-test.inc (ctan_test_tonearest): New function.
10869 (ctan_test_towardzero): Likewise.
10870 (ctan_test_downward): Likewise.
10871 (ctan_test_upward): Likewise.
10872 (ctanh_test_tonearest): Likewise.
10873 (ctanh_test_towardzero): Likewise.
10874 (ctanh_test_downward): Likewise.
10875 (ctanh_test_upward): Likewise.
10876 (main): Call these new functions.
10877 * sysdeps/i386/fpu/libm-test-ulps: Update.
10878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10880 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10882 * .gitignore: Delete /ports entry.
10884 2012-07-03 Andreas Jaeger <aj@suse.de>
10886 * po/bg.po: Update from translation team.
10887 * po/cs.po: Likewise.
10888 * po/de.po: Likewise.
10889 * po/hr.po: Likewise.
10890 * po/nl.pl: Likewise.
10891 * po/pl.po: Likewise.
10892 * po/vi.po: Likewise.
10894 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10896 * Makeconfig [!+link] (+link-before-libc): New variable.
10897 [!+link] (+link-after-libc): Likewise.
10898 [!+link] (+link-tests): Likewise.
10899 [!+link] (+link): Define in terms of $(+link-before-libc) and
10900 $(+link-after-libc).
10901 [!+link-static] (+link-static-before-libc): New variable.
10902 [!+link-static] (+link-static-after-libc): Likewise.
10903 [!+link-static] (+link-static-tests): Likewise.
10904 [!+link-static] (+link-static): Define in terms of
10905 $(+link-static-before-libc) and $(+link-static-after-libc).
10906 [build-shared] (link-libc-before-gnulib): New variable.
10907 [build-shared] (link-libc-tests): Likewise.
10908 [build-shared] (link-libc): Define in terms of
10909 $(link-libc-before-gnulib).
10910 [!build-shared] (link-libc-tests): New variable.
10911 (link-libc-static-tests): New variable.
10912 [!gnulib] (gnulib-arch): New variable.
10913 [!gnulib] (gnulib-tests): Likewise.
10914 [!gnulib] (static-gnulib-arch): Likewise.
10915 [!gnulib] (static-gnulib-tests): Likewise.
10916 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10917 Define with "=" instead of ":=".
10918 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10919 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10920 * Rules (binaries-all-notests): New variable.
10921 (binaries-all-tests): Likewise.
10922 (binaries-static-notests): Likewise.
10923 (binaries-static-tests): Likewise.
10924 (binaries-all): Define using $(binaries-all-notests) and
10925 $(binaries-all-tests).
10926 (binaries-static): Define using $(binaries-static-notests) and
10927 $(binaries-static-tests).
10928 (binaries-shared-tests): New variable.
10929 (binaries-shared-notests): Likewise.
10930 (binaries-shared): Remove variable.
10931 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10932 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10933 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10934 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10935 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10936 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10937 * elf/Makefile (sln-modules): New variable.
10938 (extra-objs): Add $(sln-modules:=.o).
10939 (ldconfig-modules): Add static-stubs.
10940 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10941 * elf/static-stubs.c: New file.
10944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10945 by 7 not 8 to examine high bit of fractional part. Use volatile
10946 variables when splitting into final array of floats if
10947 __FLT_EVAL_METHOD__ != 0.
10948 * math/libm-test.inc (cos_test): Add another test.
10949 (sin_test): Likewise.
10950 * sysdeps/i386/fpu/libm-test-ulps: Update.
10953 * math/libm-test.inc (cosh_test): Add more tests.
10955 * version.h (RELEASE): Set to "development".
10956 (VERSION): Set to "2.16.90".
10958 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10960 * NEWS: Update copyright. Remove last-updated date.
10961 Mention math library bug fixes and timezone data changes.
10962 * README: Mention GNU/Hurd, x32, and HPPA support status.
10964 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10966 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10968 2012-06-27 Andreas Jaeger <aj@suse.de>
10970 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10972 2012-06-25 Andreas Jaeger <aj@suse.de>
10974 * sysdeps/s390/fpu/libm-test-ulps: Update.
10976 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10977 Thomas Schwinge <thomas@codesourcery.com>
10979 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10980 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10984 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10986 * sysdeps/mach/start.c: Remove file.
10987 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10988 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10989 * sysdeps/sh/init-first.c: Likewise.
10991 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10992 registers for frame unwinding purposes, add CFI directives.
10993 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10994 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10995 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10998 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10999 __fortify_fail returning.
11000 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11002 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11003 sysdeps/sh/____longjmp_chk.S.
11004 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11005 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11006 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11007 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11009 * sysdeps/sh/abort-instr.h: New file.
11010 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11011 process in case exit returns.
11013 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11014 initialize the GOT register before use.
11016 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11017 calculation of ARGC > 4.
11019 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11020 meaningful names to some local labels.
11022 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11023 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11025 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11026 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11027 (__arch_compare_and_exchange_val_16_acq): Likewise.
11028 (__arch_compare_and_exchange_val_32_acq): Likewise.
11029 (atomic_exchange_and_add): Fix gUSA sequence.
11030 (atomic_add): Likewise.
11031 (atomic_add_negative): Likewise.
11032 (atomic_add_zero): Likewise.
11033 (atomic_bit_test_set): Likewise.
11035 2012-06-22 Andreas Schwab <schwab@redhat.com>
11038 * include/link.h (struct link_map): Add l_free_initfini.
11039 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11041 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11042 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11043 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11046 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11048 * configure.in: Use AC_LANG_SOURCE.
11049 * configure: Regenerate.
11051 2012-06-22 Roland McGrath <roland@hack.frob.com>
11053 * configure.in (libc_cv_localstatedir): New substituted variable.
11054 * configure: Regenerated.
11055 * config.make.in (localstatedir): New variable, substituted from
11056 libc_cv_localstatedir.
11057 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11058 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11059 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11060 * sysdeps/gnu/configure: Regenerated.
11062 2012-06-21 Jeff Law <law@redhat.com>
11065 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11066 free. Simplify list management for _LIBC case.
11068 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11071 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11072 Clear sign bit of 64-bit integer value before comparing against
11075 * sysdeps/mach/configure: Regenerated.
11077 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11080 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11082 2012-06-21 Jeff Law <law@redhat.com>
11085 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11086 uint16_t for elements in the "seen" array to avoid char overflows.
11087 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11088 * elf/dl-open.c (dl_open_worker): Likewise.
11090 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11092 * scripts/list-sources.sh: Scan PORTS for translations.
11093 * po/libc.pot: Regenerated.
11095 2012-06-21 Andreas Jaeger <aj@suse.de>
11098 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11100 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11101 * bits/byteswap-16.h (__bswap_16): Likewise.
11102 * bits/byteswap.h (__bswap_constant_16): Likewise.
11104 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11107 * sysdeps/i386/fpu_control.h: Removed.
11108 * sysdeps/x86_64/fpu_control.h: Moved to ...
11109 * sysdeps/x86/fpu_control.h: Here.
11111 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11112 (_FPU_SETCW): Likewise.
11114 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11117 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11118 * sysdeps/x86/fpu/bits/mathinline.h: This.
11119 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11123 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11124 functions if __x86_64__ is defined.
11126 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11128 * string/endian.h: Add !__ASSEMBLER__ condition for including
11129 conversion interfaces.
11131 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11134 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11135 of ABS(x) in calculating zero to negative powers other than odd
11137 * math/libm-test.inc (pow_test): Add more tests.
11139 2012-06-15 Andreas Jaeger <aj@suse.de>
11141 * manual/contrib.texi (Contributors): Update entry of Liubov
11142 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11145 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11147 * string/string.h: Add __wur to GNU version of strerror_r.
11149 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11152 * string/Makefile (tests): Add tst-strtok_r.
11153 * string/tst-strtok_r.c: New file.
11154 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11155 RAX_LP/RDX_LP on SAVE_PTR.
11157 2012-06-14 Roland McGrath <roland@hack.frob.com>
11159 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11161 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11163 * libm_test.inc (csqrt_test): Allow more spurious underflow
11165 (j0_test): Likewise.
11166 (j1_test): Likewise.
11167 (y0_test): Likewise.
11168 (y1_test): Likewise.
11170 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11172 * po/Makefile (libc.pot): Use UTF-8 charset.
11174 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11177 Suppress sign-conversion warning from FD_SET.
11178 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11179 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11180 not unsigned long int.
11181 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11183 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11187 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11188 __extern_always_inline instead of __extern_inline.
11189 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11190 (__signbit): Likewise.
11191 (__signbitl): Support C++ namespace.
11192 (lrintf): New inline function.
11194 (llrintf): Likewise.
11195 (llrint): Likewise.
11205 (floorf): Likewise.
11206 (nearbyint): Likewise.
11207 (nearbyintf): Likewise.
11209 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11211 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11212 non-default versions.
11214 2012-06-11 Roland McGrath <roland@hack.frob.com>
11217 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11219 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11221 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11222 (FE_UPWARD, FE_DOWNWARD): Don't define.
11223 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11224 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11226 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11228 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11229 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11231 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11233 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11235 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11236 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11238 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11241 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11242 * sysdeps/i386/fpu/Implies: New file.
11243 * sysdeps/x86_64/fpu/Implies: Likewise.
11244 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11245 * sysdeps/x86/fpu/bits/fenv.h: This.
11247 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11250 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11253 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11254 character 0xffff that matches the last element of the
11257 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11259 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11262 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11265 values higher than 25.6283.
11267 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11270 subnormal exponent extraction and add some __builtin_expect.
11271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11272 Fix for subnormal mantissa calculation.
11274 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11276 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11277 cpu2 is -1 and errno is not ENOSYS.
11279 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11282 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11283 * sysdeps/x86/bits/string.h: This.
11284 * sysdeps/x86_64/bits/string.h: Removed.
11286 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11287 if not compiling for x86-64, but compiling for >= i486.
11289 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11290 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11292 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11293 New macro from Linux kernel 3.4.0.
11294 (FP_XSTATE_MAGIC2): Likewise.
11295 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11296 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11297 (struct _fpx_sw_bytes): New struct.
11298 (struct _xsave_hdr): Likewise.
11299 (struct _ymmh_state): Likewise.
11300 (struct _xstate): Likewise.
11302 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11303 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11304 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11305 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11306 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11307 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11309 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11310 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11311 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11312 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11313 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11314 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11316 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11319 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11320 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11321 (sysdep_headers): Include sys/platform/ppc.h.
11322 * sysdeps/powerpc/test-gettimebase.c: Test for
11323 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11324 * manual/Makefile (appendices): Include platform.texi.
11325 * manual/contrib.texi (Contributors): Update @node pointers.
11326 * manual/maint.texi (Maintenance): Likewise.
11327 (Platform): New node.
11328 * manual/platform.texi: New file. Document the new features.
11330 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11331 Jakub Jelinek <jakub@redhat.com>
11334 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11335 where __builtin_expect is unavailable.
11337 2012-06-03 David S. Miller <davem@davemloft.net>
11339 * stdlib/longlong.h: Updated from GCC.
11341 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11344 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11345 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11348 (GLIBC_2.16): Likewise.
11350 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11352 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11354 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11357 (default-abi): New variable.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11359 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11361 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11363 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11365 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11368 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11369 definition. Document in comment.
11371 2012-06-01 David S. Miller <davem@davemloft.net>
11373 * stdlib/longlong.h: Updated from GCC.
11375 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11378 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11379 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11380 sys/debugreg.h sys/io.h here.
11381 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11382 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11384 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11385 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11386 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11387 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11388 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11389 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11391 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11392 Define only if __x86_64__ is defined.
11394 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11397 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11398 Use int64_t for variable i.
11399 * math/libm-test.inc (fmod_test): Add more tests.
11401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11402 z computation is not scheduled after fetestexcept.
11403 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11404 Use math_force_eval instead of asm to ensure calculation scheduled
11405 before exception test.
11406 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11407 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11409 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11412 computation is not scheduled after fetestexcept.
11414 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11417 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11418 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11420 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11422 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11423 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11425 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11428 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11430 (__WCHAR_MIN): Support __WORDSIZE == 64.
11431 (__WCHAR_MAX): Likewise.
11433 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11434 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11437 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11438 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11441 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11442 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11444 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11445 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11447 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11448 Defined to 1 if __x86_64__ isn't defined.
11449 (_STAT_VER_LINUX_OLD): New.
11450 (st_atime): Remove duplicate.
11451 (st_mtime): Likewise.
11452 (st_ctime): Likewise.
11454 2012-05-31 David S. Miller <davem@davemloft.net>
11456 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11459 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11461 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11465 * elf/dl-reloc.c: Include <_itoa.h>.
11466 (_dl_reloc_bad_type): Remove use of INTUSE.
11467 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11468 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11469 * stdio-common/psiginfo.c (psiginfo): Likewise.
11470 * stdio-common/psignal.c (psignal): Likewise.
11471 * string/strsignal.c (strsignal): Likewise.
11472 * include/signal.h (_sys_siglist): Declare hidden proto.
11473 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11474 INTVARDEF with libc_hidden_data_def.
11475 * stdio-common/itoa-udigits.c: Likewise.
11476 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11477 (_itoa_lower_digits_internal): Remove declaration.
11478 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11479 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11480 (_sys_sigabbrev_internal): Remove aliases.
11481 (_sys_siglist): Define hidden alias.
11483 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11488 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11491 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11492 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11494 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11495 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11496 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11497 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11498 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11499 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11501 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11502 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11503 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11505 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11514 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11515 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11517 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11518 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11519 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11520 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11521 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11522 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11524 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11525 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11527 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11528 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11530 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11531 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11532 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11534 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11535 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11537 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11539 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11540 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11541 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11543 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11545 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11547 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11549 * math/math.h (M_El): Use two more decimal places.
11550 (M_LOG2El): Likewise.
11551 (M_LOG10El): Likewise.
11552 (M_LN2l): Likewise.
11553 (M_LN10l): Likewise.
11555 (M_PI_2l): Likewise.
11556 (M_PI_4l): Likewise.
11557 (M_1_PIl): Likewise.
11558 (M_2_PIl): Likewise.
11559 (M_2_SQRTPIl): Likewise.
11560 (M_SQRT2l): Likewise.
11561 (M_SQRT1_2l): Likewise.
11563 2012-05-31 David S. Miller <davem@davemloft.net>
11565 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11566 values between float registers.
11567 * sysdeps/sparc/sparc64/memset.S: Likewise.
11568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11570 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11572 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11573 -D_FORTIFY_SOURCE=1.
11574 (CPPFLAGS-tst-longjmp_chk.c): Define.
11575 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11576 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11577 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11578 CFLAGS-tst-wchar-h.c.
11580 2012-05-31 Marek Polacek <polacek@redhat.com>
11583 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11584 __endmntent_internal): Remove declaration.
11585 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11586 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11587 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11589 2012-05-30 David S. Miller <davem@davemloft.net>
11591 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11592 (___Q_simulate_exceptions): Use real FP ops rather than writing
11594 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11597 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11600 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11601 * sysdeps/x86/bits/xtitypes.h: This.
11603 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11604 * sysdeps/x86/bits/wordsize.h: This.
11606 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11607 * sysdeps/x86/bits/huge_vall.h: This.
11609 * sysdeps/i386/bits/select.h: Removed.
11610 * sysdeps/x86_64/bits/select.h: Renamed to ...
11611 * sysdeps/x86/bits/select.h: This.
11613 * sysdeps/i386/bits/setjmp.h: Removed.
11614 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11615 * sysdeps/x86/bits/setjmp.h: This.
11617 * sysdeps/i386/bits/mathdef.h: Removed.
11618 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11619 * sysdeps/x86/bits/mathdef.h: This.
11621 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11624 * include/sys/socket.h (__connect_internal)
11625 (__libc_sa_len_internal): Remove declaration.
11626 (__connect, __libc_sa_len): Declare hidden_proto.
11627 (SA_LEN): Remove use of INTUSE.
11628 * socket/connect.c: Add libc_hidden_def.
11629 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11630 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11631 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11633 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11634 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11635 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11636 of adding _internal alias.
11638 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11641 * sysdeps/i386/bits/link.h: Removed.
11642 * sysdeps/i386/bits/linkmap.h: Likewise.
11643 * sysdeps/x86_64/bits/link.h: Renamed to ...
11644 * sysdeps/x86/bits/link.h: This.
11645 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11646 * sysdeps/x86/bits/linkmap.h: This.
11648 * sysdeps/i386/bits/endian.h: Removed.
11649 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11650 * sysdeps/x86/bits/endian.h: This.
11652 * sysdeps/i386/bits/byteswap.h: Removed.
11653 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11654 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11655 * sysdeps/x86/bits/byteswap.h: This.
11656 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11657 * sysdeps/x86/bits/byteswap-16.h: This.
11658 * sysdeps/i386/Implies: Add x86.
11659 * sysdeps/x86_64/Implies: Likewise.
11661 2012-05-30 David S. Miller <davem@davemloft.net>
11663 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11664 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11665 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11666 (FP_TRAPPING_EXCEPTIONS): Define.
11667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11668 (FP_TRAPPING_EXCEPTIONS): Define.
11669 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11670 subnormals only when inexact has been signalled or underflow
11671 exceptions are enabled.
11672 (_FP_PACK_CANONICAL): Likewise.
11674 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11678 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11680 2012-05-30 Richard Henderson <rth@twiddle.net>
11682 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11683 with #ifndef NOT_IN_libc.
11685 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11686 marked to avoid plt entry.
11688 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11691 * Makeconfig (default-abi): New macro.
11692 (abi-includes): Likewise.
11693 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11694 $(abi-$(default-abi)-lib-soname) for soname if defined.
11695 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11697 * Makefile (installed-stubs): Likewise.
11698 * include/stubs-biarch.h: Removed.
11699 * scripts/lib-names.awk: Only handle one library at a time.
11700 * scripts/soversions.awk: Remove WORDSIZE support.
11701 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11703 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11705 (syscall-list-default-condition): Likewise.
11706 (syscall-list-default-condition): Likewise.
11707 (syscall-list-includes): Likewise.
11708 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11709 syscall-list-* with abi-*. Handle undefined abi-variants.
11710 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11711 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11712 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11713 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11714 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11715 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11717 (syscall-list-32-options): Likewise.
11718 (syscall-list-32-condition): Likewise.
11719 (syscall-list-64-options): Likewise.
11720 (syscall-list-64-condition): Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11723 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11726 (abi-64-ld-soname): New macro.
11727 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11728 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11731 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11732 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11734 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11736 * sysdeps/unix/sysv/linux/kernel-features.h
11737 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11738 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11739 include <kernel-features.h>.
11740 [!__NR_ftruncate64]: Remove conditional code.
11741 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11742 [__NR_ftruncate64]: Make code unconditional.
11743 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11744 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11745 include <kernel-features.h>.
11746 [!__NR_ftruncate64]: Remove conditional code.
11747 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11748 [__NR_ftruncate64]: Make code unconditional.
11749 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11751 include <kernel-features.h>.
11752 [!__NR_ftruncate64]: Remove conditional code.
11753 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11754 [__NR_ftruncate64]: Make code unconditional.
11755 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.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.
11763 * configure.in (libc_cv_fpie): Weaken to a compile test using
11764 LIBC_TRY_CC_OPTION.
11765 * configure: Regenerated.
11767 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11782 2012-05-27 David S. Miller <davem@davemloft.net>
11784 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11786 (__Q_simulate_exceptions): Return void. Change to simulate
11787 exceptions by writing into the %fsr.
11788 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11789 (__Qp_handle_exceptions): Likewise.
11791 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11792 __Qp_handle_exceptions.
11793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11794 __Qp_handle_exceptions.
11795 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11796 as unused and give dummy FP_RND_NEAREST initializer.
11797 (FP_INHIBIT_RESULTS): Define.
11798 (___Q_simulate_exceptions): Update declaration.
11799 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11801 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11802 as unused and give dummy FP_RND_NEAREST initializer.
11803 (__Qp_handle_exceptions): Update declaration.
11804 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11807 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11809 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11810 the temporary FPU control word.
11811 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11812 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11813 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11814 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11815 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11816 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11817 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11818 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11819 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11820 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11821 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11823 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11825 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11828 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11830 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11831 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11832 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11833 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11835 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11836 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11839 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11841 * po/h.po: Update from translation team.
11843 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11845 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11847 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11848 handling of denormals.
11849 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11850 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11851 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11852 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11858 2012-05-26 Marek Polacek <polacek@redhat.com>
11861 * math/libm-test.inc (fma_test): Don't always expect underflow
11864 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11867 * elf/tst-execstack.c: Include stackinfo.h.
11868 (do_test): Adjust test case to ensure that pthread_getattr_np
11869 behaviour remains the same after marking stack executable.
11871 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11873 * sysdeps/unix/sysv/linux/kernel-features.h
11874 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11875 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11877 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11878 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11879 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11881 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11882 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11884 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11886 * configure.in: Define the default includes to being none.
11887 * configure: Regenerated.
11889 2012-05-25 Roland McGrath <roland@hack.frob.com>
11891 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11892 * sysdeps/x86_64/setjmp.S: Likewise.
11893 * sysdeps/i386/bsd-setjmp.S: Likewise.
11894 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11895 * sysdeps/i386/setjmp.S: Likewise.
11896 * sysdeps/i386/__longjmp.S: Likewise.
11897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11898 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11900 * include/stap-probe.h: New file.
11901 * configure.in: Handle --enable-systemtap.
11902 * configure: Regenerated.
11903 * config.h.in (USE_STAP_PROBE): New #undef.
11904 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11905 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11906 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11908 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11911 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11912 to 2.4.0 where earlier.
11913 * sysdeps/unix/sysv/linux/configure: Regenerated.
11914 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11915 <kernel-features.h>.
11916 [__ASSUME_32BITUIDS]: Make code unconditional.
11917 [!__ASSUME_32BITUIDS]: Remove conditional code.
11918 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11919 <kernel-features.h>.
11920 [__ASSUME_32BITUIDS]: Make code unconditional.
11921 [!__ASSUME_32BITUIDS]: Remove conditional code.
11922 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11923 [__ASSUME_32BITUIDS]: Make code unconditional.
11924 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11925 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11926 <kernel-features.h>.
11927 [__ASSUME_32BITUIDS]: Make code unconditional.
11928 [!__ASSUME_32BITUIDS]: Remove conditional code.
11929 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11930 <kernel-features.h>.
11931 [__ASSUME_32BITUIDS]: Make code unconditional.
11932 [!__ASSUME_32BITUIDS]: Remove conditional code.
11933 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11934 <kernel-features.h>.
11935 [__ASSUME_32BITUIDS]: Make code unconditional.
11936 [!__ASSUME_32BITUIDS]: Remove conditional code.
11937 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11938 <kernel-features.h>.
11939 [__ASSUME_32BITUIDS]: Make code unconditional.
11940 [!__ASSUME_32BITUIDS]: Remove conditional code.
11941 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11942 <kernel-features.h>.
11943 [__ASSUME_32BITUIDS]: Make code unconditional.
11944 [!__ASSUME_32BITUIDS]: Remove conditional code.
11945 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11946 <kernel-features.h>.
11947 [__ASSUME_32BITUIDS]: Make code unconditional.
11948 [!__ASSUME_32BITUIDS]: Remove conditional code.
11949 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11950 <kernel-features.h>.
11951 [__ASSUME_32BITUIDS]: Make code unconditional.
11952 [!__ASSUME_32BITUIDS]: Remove conditional code.
11953 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11954 <kernel-features.h>.
11955 [__ASSUME_32BITUIDS]: Make code unconditional.
11956 [!__ASSUME_32BITUIDS]: Remove conditional code.
11957 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11958 <kernel-features.h>.
11959 [__ASSUME_32BITUIDS]: Make code unconditional.
11960 [!__ASSUME_32BITUIDS]: Remove conditional code.
11961 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11962 <kernel-features.h>.
11963 [__ASSUME_32BITUIDS]: Make code unconditional.
11964 [!__ASSUME_32BITUIDS]: Remove conditional code.
11965 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11966 <kernel-features.h>.
11967 [__NR_setresgid] (__setresgid): Do not declare.
11968 [__ASSUME_32BITUIDS]: Make code unconditional.
11969 [!__ASSUME_32BITUIDS]: Remove conditional code.
11970 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11971 <kernel-features.h>.
11972 [__NR_setresuid] (__setresuid): Do not declare.
11973 [__ASSUME_32BITUIDS]: Make code unconditional.
11974 [!__ASSUME_32BITUIDS]: Remove conditional code.
11975 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
11984 <kernel-features.h>.
11985 [__ASSUME_32BITUIDS]: Make code unconditional.
11986 [!__ASSUME_32BITUIDS]: Remove conditional code.
11987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11988 <kernel-features.h>.
11989 [__ASSUME_32BITUIDS]: Make code unconditional.
11990 [!__ASSUME_32BITUIDS]: Remove conditional code.
11991 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11992 <kernel-features.h>.
11993 [__ASSUME_32BITUIDS]: Make code unconditional.
11994 [!__ASSUME_32BITUIDS]: Remove conditional code.
11995 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11996 <kernel-features.h>.
11997 [__ASSUME_32BITUIDS]: Make code unconditional.
11998 [!__ASSUME_32BITUIDS]: Remove conditional code.
11999 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12000 <kernel-features.h>.
12001 [__ASSUME_32BITUIDS]: Make code unconditional.
12002 [!__ASSUME_32BITUIDS]: Remove conditional code.
12003 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12004 <kernel-features.h>.
12005 [__ASSUME_32BITUIDS]: Make code unconditional.
12006 [!__ASSUME_32BITUIDS]: Remove conditional code.
12007 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12008 <kernel-features.h>.
12009 [__ASSUME_32BITUIDS]: Make code unconditional.
12010 [!__ASSUME_32BITUIDS]: Remove conditional code.
12011 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12012 <kernel-features.h>.
12013 [__ASSUME_32BITUIDS]: Make code unconditional.
12014 [!__ASSUME_32BITUIDS]: Remove conditional code.
12015 * sysdeps/unix/sysv/linux/kernel-features.h
12016 (__ASSUME_SETRESUID_SYSCALL): Remove.
12017 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12018 (__ASSUME_32BITUIDS): Likewise.
12019 (__ASSUME_LDT_WORKS): Likewise.
12020 (__ASSUME_O_DIRECTORY): Likewise.
12021 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12022 architecture but not kernel version.
12023 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12024 (__ASSUME_MMAP2_SYSCALL): Likewise.
12025 (__ASSUME_STAT64_SYSCALL): Likewise.
12026 (__ASSUME_IPC64): Likewise.
12027 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12028 <kernel-features.h>.
12029 [__ASSUME_32BITUIDS]: Make code unconditional.
12030 [!__ASSUME_32BITUIDS]: Remove conditional code.
12031 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12032 <kernel-features.h>.
12033 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12034 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12035 132096]: Remove conditional code.
12036 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12037 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12038 <kernel-features.h>.
12039 [__ASSUME_32BITUIDS]: Make code unconditional.
12040 [!__ASSUME_32BITUIDS]: Remove conditional code.
12041 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12042 <kernel-features.h>.
12043 [__ASSUME_32BITUIDS]: Make code unconditional.
12044 [!__ASSUME_32BITUIDS]: Remove conditional code.
12045 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12046 <kernel-features.h>.
12047 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12049 (__setresgid): Do not declare.
12050 [__ASSUME_32BITUIDS]: Make code unconditional.
12051 [!__ASSUME_32BITUIDS]: Remove conditional code.
12052 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12053 <kernel-features.h>.
12054 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12056 (__setresuid): Do not declare.
12057 [__ASSUME_32BITUIDS]: Make code unconditional.
12058 [!__ASSUME_32BITUIDS]: Remove conditional code.
12059 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
12064 <kernel-features.h>.
12065 [__ASSUME_32BITUIDS]: Make code unconditional.
12066 [!__ASSUME_32BITUIDS]: Remove conditional code.
12068 2012-05-25 Richard Henderson <rth@twiddle.net>
12070 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12071 dl_hwcap to ifunc resolver.
12072 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12074 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12075 dl_hwcap to ifunc resolver.
12076 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12078 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12081 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12082 for |x| <= 2**-26, not 2**-57.
12083 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12086 2012-05-24 Jeff Law <law@redhat.com>
12088 * stdio-common/Makefile (tests): Add bug25.
12089 * stdio-common/bug25.c: New test.
12091 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12094 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12095 multiple of MALLOC_ALIGNMENT in size.
12096 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12098 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12100 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12102 (FILENAME_MAX): Use macro-int-constant.
12103 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12104 (_IOFBF): Use macro-int-constant.
12105 (_IOLBF): Likewise.
12106 (_IONBF): Likewise.
12107 (SEEK_CUR): Likewise.
12108 (SEEK_END): Likewise.
12109 (SEEK_SET): Likewise.
12110 (TMP_MAX): Likewise.
12111 (EOF): Use macro-int-constant. Require < 0.
12112 (NULL): Use macro-constant. Require == 0.
12113 (stdin): Require type to be FILE *.
12114 (stdout): Likewise.
12115 (stderr): Likewise.
12116 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12117 macro-int-constant.
12118 (EXIT_SUCCESS): Likewise.
12119 (NULL): Use macro-constant. Require == 0.
12120 (RAND_MAX): Use macro-int-constant.
12121 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12122 [C99-based standards] (strtof): Require function.
12123 [C99-based standards] (strtold): Likewise.
12124 [C99-based standards] (strtoll): Likewise.
12125 [C99-based standards] (strtoull): Likewise.
12126 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12127 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12128 [ISO || ISO99 || ISO11] (math.h): Likewise.
12129 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12130 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12131 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12133 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12136 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12137 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12138 * intl/dgettext.c (DCGETTEXT): Likewise.
12139 * intl/gettext.c (DCGETTEXT): Likewise.
12140 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12141 * posix/regex_internal.h (gettext): Likewise.
12142 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12143 Remove declaration.
12144 * include/argz.h (__argz_count_internal)
12145 (__argz_stringify_internal): Remove declaration.
12146 (__argz_count, __argz_stringify): Declare hidden proto.
12147 * intl/dcgettext.c: Remove use of INTDEF.
12148 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12149 * string/argz-stringify.c: Likewise.
12150 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12151 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12152 Declare hidden proto.
12153 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12154 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12155 Declare hidden proto.
12156 * include/stdio.h (__asprintf_internal): Don't declare.
12157 (__asprintf): Don't define as macro. Declare hidden proto.
12158 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12159 (__fsetlocking): Declare hidden proto.
12160 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12161 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12163 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12164 (_IO_setlinebuf): Remove use of INTUSE.
12165 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12166 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12167 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12168 Remove declaration.
12169 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12170 (_IO_do_flush): Remove use of INTUSE.
12171 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12172 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12173 (_IO_adjust_column, _IO_least_wmarker)
12174 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12175 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12176 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12177 (_IO_default_doallocate, _IO_wdefault_doallocate)
12178 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12179 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12180 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12181 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12182 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12183 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12184 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12185 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12186 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12187 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12188 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12189 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12190 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12192 (_IO_flush_all_internal, _IO_adjust_column_internal)
12193 (_IO_default_uflow_internal, _IO_default_finish_internal)
12194 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12195 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12196 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12197 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12198 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12199 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12200 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12201 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12202 (_IO_file_close_internal, _IO_file_close_it_internal)
12203 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12204 (_IO_file_init_internal, _IO_file_attach_internal)
12205 (_IO_file_fopen_internal, _IO_file_read_internal)
12206 (_IO_file_sync_internal, _IO_file_seek_internal)
12207 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12208 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12209 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12210 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12211 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12212 (_IO_list_all_internal, _IO_link_in_internal)
12213 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12214 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12215 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12216 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12217 (_IO_do_write_internal, _IO_padn_internal)
12218 (_IO_getline_info_internal, _IO_getline_internal)
12219 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12220 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12221 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12222 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12223 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12224 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12225 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12226 with libc_hidden_ver, remove use of INTUSE.
12227 * libio/genops.c: Likewise.
12228 * libio/freopen.c: Likewise.
12229 * libio/freopen64.c: Likewise.
12230 * libio/iofclose.c: Likewise.
12231 * libio/iofdopen.c: Likewise.
12232 * libio/iofflush.c: Likewise.
12233 * libio/iofflush_u.c: Likewise.
12234 * libio/iofgets.c: Likewise.
12235 * libio/iofgets_u.c: Likewise.
12236 * libio/iofopen.c: Likewise.
12237 * libio/iofopncook.c: Likewise.
12238 * libio/iofread.c: Likewise.
12239 * libio/iofread_u.c: Likewise.
12240 * libio/ioftell.c: Likewise.
12241 * libio/iofwrite.c: Likewise.
12242 * libio/iogetline.c: Likewise.
12243 * libio/iogets.c: Likewise.
12244 * libio/iogetwline.c: Likewise.
12245 * libio/iopadn.c: Likewise.
12246 * libio/iopopen.c: Likewise.
12247 * libio/ioseekoff.c: Likewise.
12248 * libio/ioseekpos.c: Likewise.
12249 * libio/iosetbuffer.c: Likewise.
12250 * libio/iosetvbuf.c: Likewise.
12251 * libio/ioungetc.c: Likewise.
12252 * libio/ioungetwc.c: Likewise.
12253 * libio/iovdprintf.c: Likewise.
12254 * libio/iovsprintf.c: Likewise.
12255 * libio/iovsscanf.c: Likewise.
12256 * libio/memstream.c: Likewise.
12257 * libio/obprintf.c: Likewise.
12258 * libio/oldfileops.c: Likewise.
12259 * libio/oldiofclose.c: Likewise.
12260 * libio/oldiofdopen.c: Likewise.
12261 * libio/oldiofopen.c: Likewise.
12262 * libio/oldiopopen.c: Likewise.
12263 * libio/oldstdfiles.c: Likewise.
12264 * libio/putc.c: Likewise.
12265 * libio/setbuf.c: Likewise.
12266 * libio/setlinebuf.c: Likewise.
12267 * libio/stdfiles.c: Likewise.
12268 * libio/strops.c: Likewise.
12269 * libio/vasprintf.c: Likewise.
12270 * libio/vscanf.c: Likewise.
12271 * libio/vsnprintf.c: Likewise.
12272 * libio/vswprintf.c: Likewise.
12273 * libio/wfiledoalloc.c: Likewise.
12274 * libio/wfileops.c: Likewise.
12275 * libio/wgenops.c: Likewise.
12276 * libio/wmemstream.c: Likewise.
12277 * libio/wstrops.c: Likewise.
12278 * libio/__fpurge.c: Likewise.
12279 * libio/__fsetlocking.c: Likewise.
12280 * assert/assert.c: Likewise.
12281 * debug/fgets_chk.c: Likewise.
12282 * debug/fgets_u_chk.c: Likewise.
12283 * debug/fread_chk.c: Likewise.
12284 * debug/fread_u_chk.c: Likewise.
12285 * debug/gets_chk.c: Likewise.
12286 * debug/obprintf_chk.c: Likewise.
12287 * debug/vasprintf_chk.c: Likewise.
12288 * debug/vdprintf_chk.c: Likewise.
12289 * debug/vsnprintf_chk.c: Likewise.
12290 * debug/vsprintf_chk.c: Likewise.
12291 * malloc/mtrace.c: Likewise.
12292 * misc/error.c: Likewise.
12293 * misc/syslog.c: Likewise.
12294 * stdio-common/asprintf.c: Likewise.
12295 * stdio-common/fxprintf.c: Likewise.
12296 * stdio-common/getw.c: Likewise.
12297 * stdio-common/isoc99_fscanf.c: Likewise.
12298 * stdio-common/isoc99_scanf.c: Likewise.
12299 * stdio-common/isoc99_vfscanf.c: Likewise.
12300 * stdio-common/isoc99_vscanf.c: Likewise.
12301 * stdio-common/isoc99_vsscanf.c: Likewise.
12302 * stdio-common/printf-prs.c: Likewise.
12303 * stdio-common/printf_fp.c: Likewise.
12304 * stdio-common/printf_fphex.c: Likewise.
12305 * stdio-common/printf_size.c: Likewise.
12306 * stdio-common/putw.c: Likewise.
12307 * stdio-common/scanf.c: Likewise.
12308 * stdio-common/sprintf.c: Likewise.
12309 * stdio-common/tmpfile.c: Likewise.
12310 * stdio-common/vfprintf.c: Likewise.
12311 * stdio-common/vfscanf.c: Likewise.
12312 * stdlib/strfmon_l.c: Likewise.
12313 * sunrpc/openchild.c: Likewise.
12314 * sunrpc/xdr_stdio.c: Likewise.
12315 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12316 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12318 2012-05-24 Roland McGrath <roland@hack.frob.com>
12320 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12322 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12323 in the third column, to generate for the shared library an IFUNC
12324 that uses _dl_vdso_vsym.
12325 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12326 * Makeconfig (object-suffixes-noshared): New variable.
12328 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12329 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12330 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12331 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12334 * include/sys/time.h (__gettimeofday): Remove macro.
12335 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12336 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12338 (__gettimeofday): Add libc_hidden_def.
12339 (gettimeofday): Add libc_hidden_weak.
12340 * sysdeps/mach/gettimeofday.c: Likewise.
12341 * sysdeps/posix/gettimeofday.c: Likewise.
12342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12343 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12344 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12345 (__gettimeofday_internal): Remove strong_alias.
12346 (__gettimeofday): Add libc_hidden_def.
12347 (gettimeofday): Add libc_hidden_weak.
12348 * sysdeps/unix/syscalls.list (gettimeofday):
12349 Remove __gettimeofday_internal alias.
12351 2012-05-24 Daniel Jacobowitz <drow@false.org>
12352 H.J. Lu <hongjiu.lu@intel.com>
12355 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12356 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12357 (largebin_index_32_big): New.
12358 (largebin_index): Use it for 16-byte alignment.
12359 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12360 correction with front_misalign.
12362 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12390 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12391 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12393 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12397 * math/libm-test.inc (exp_test): Add test from bug 14036.
12398 (pow_test): Add test from bug 10846.
12400 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12402 (special_function): Do not include flags in test name.
12403 (parse_args): Likewise.
12404 * sysdeps/i386/fpu/libm-test-ulps: Update.
12405 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12406 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12407 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12410 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12412 * math/libm-test.inc ("Philosophy"): Update comment about
12414 (UNDERFLOW_EXCEPTION): New macro.
12415 (UNDERFLOW_EXCEPTION_OK): Likewise.
12416 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12417 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12418 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12419 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12420 (INVALID_EXCEPTION_OK): Update value.
12421 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12422 (OVERFLOW_EXCEPTION_OK): Likewise.
12423 (IGNORE_ZERO_INF_SIGN): Likewise.
12424 (test_exceptions): Handle underflow exceptions.
12425 (acos_test): Update for underflow exception expectations.
12426 (cexp_test): Likewise.
12427 (clog_test): Likewise.
12428 (clog10_test): Likewise.
12429 (csqrt_test): Likewise.
12430 (ctan_test): Likewise.
12431 (ctanh_test): Likewise.
12432 (exp_test): Likewise.
12433 (exp10_test): Likewise.
12434 (exp2_test): Likewise.
12435 (expm1_test): Likewise.
12436 (fma_test): Likewise.
12437 (j0_test): Likewise.
12438 (jn_test): Likewise.
12439 (nexttoward_test): Likewise.
12440 (pow_test): Likewise.
12441 (scalbn_test): Likewise.
12442 (scalbln_test): Likewise.
12443 (tan_test): Likewise.
12444 (y1_test): Likewise.
12445 * sysdeps/i386/fpu/libm-test-ulps: Update.
12446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12448 2012-05-23 David S. Miller <davem@davemloft.net>
12450 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12451 (__libc_sigaction): Remove unused local variables.
12453 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12455 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12457 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12459 mktime: avoid signed integer overflow
12460 * time/mktime.c (__mktime_internal): Do not mishandle the case
12461 where diff == INT_MIN.
12463 mktime: simplify computation of average
12464 * time/mktime.c (ranged_convert): Use new time_t_avg function
12465 instead of rolling our own (probably-slower) code.
12467 mktime: do not assume signed right shift propagates sign bit
12468 * time/mktime.c (isdst_differ): New static function.
12469 (__mktime_internal): No need to normalize tm_isdst now.
12470 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12473 mktime: merge another wrapv change from gnulib
12474 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12475 from some compilers.
12477 mktime: remove incorrect attempt at unusual arithmetics
12478 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12479 The code didn't really work on such machines anyway.
12480 (TYPE_MINIMUM): Assume two's complement.
12481 (twos_complement_arithmetic): Verify that long_int and time_t
12482 are two's complement (or unsigned, in the latter case).
12484 mktime: check signed shifts on long_int and time_t, too
12485 * time/mktime.c (SHR): Check that shifts work as desired
12486 on the types long_int and time_t too, as SHR is used on
12489 mktime: do not assume 'long' is wide enough
12490 * time/mktime.c (verify): Move decl up.
12491 (long_int): New type.
12492 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12493 to remove assumption in the code that 'long' is wide enough to
12494 store year values. This assumption is not true on x32 and on
12495 some non-glibc platforms.
12497 mktime: merge wrapv change from gnulib
12498 * time/mktime.c (WRAPV): New macro.
12499 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12500 (guess_time_tm, __mktime_internal): Do not assume that signed
12501 integer overflow wraps around; modern compilers generate code
12502 where this assumption is no longer valid.
12504 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12506 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12507 Replace "jmp L(pseudo_end)" with "ret".
12508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12511 2012-05-23 Andreas Jaeger <aj@suse.de>
12513 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12514 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12516 2012-05-23 Andreas Jaeger <aj@suse.de>
12517 Maximilian Attems <max@stro.at>
12519 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12522 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12524 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12525 code so that pseudo_end is just ret and the stack pointer is
12526 correct also for static library in error case.
12528 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12530 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12531 move to syscalls.list.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12537 * manual/install.texi (Running make install): Do not mention Linux
12538 kernel version for which pt_chown is not needed.
12539 (Linux): Do not mention problems with nscd with 2.0 kernels.
12540 * INSTALL: Regenerated.
12542 2012-05-23 Andreas Jaeger <aj@suse.de>
12544 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12545 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12547 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12548 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12549 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12550 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12551 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12552 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12553 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12554 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12555 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12556 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12557 * sysdeps/unix/sysv/linux/bits/in.h
12558 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12560 2012-05-22 Roland McGrath <roland@hack.frob.com>
12562 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12563 (PREPARE_VERSION): Just use assert instead, it will be elided
12564 under [NDEBUG] anyway.
12566 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12568 * sysdeps/unix/sysv/linux/Makefile: Include
12569 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12570 (sysdep_routines): Remove sysctl.
12571 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12572 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12573 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12574 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12575 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12577 2012-05-22 Andreas Jaeger <aj@suse.de>
12579 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12580 that pseudo_end is just ret and the stack pointer is correct also
12581 for static library in error case.
12583 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12586 * nss/nsswitch.c (defconfig_entries): New variable.
12587 (__nss_database_lookup): Don't leak defconfig entries.
12588 (nss_parse_service_list): Don't leak on error paths.
12589 (free_database_entries): New function.
12590 (free_defconfig): New function.
12591 (free_mem): Move common code to free_database_entries.
12593 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12595 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12597 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12599 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12600 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12603 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12604 (INTERNAL_SYSCALL_TYPES): Likewise.
12605 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12606 (LOAD_REGS_TYPES_[1-6]): Likewise.
12607 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12608 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12610 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12612 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12613 copysignl for GLIBC_2_0.
12614 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12615 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12617 logbl for GLIBC_2_0.
12618 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12619 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12621 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12623 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12624 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12626 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12629 * time/mktime.c: Update copyright years.
12631 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12633 mktime: merge comment-quoting-style change from gnulib
12634 * time/mktime.c: Quote 'like this' in comments.
12635 The GNU coding standards suggest that we no longer quote `like this',
12636 as "`" and "'" are typically rendered asymmetrically nowadays.
12637 The typical gnulib style is to quote 'like this' when quoting
12638 code, and "like this" when quoting English.
12640 * time/mktime.c (compile-command): Add "-I.".
12642 mktime: merge mktime-internal.h change from gnulib
12643 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12645 mktime: merge time_r change from gnulib
12646 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12648 mktime: merge DEBUG change from gnulib
12649 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12650 case system <time.h> has a #define.
12652 mktime: merge <sys/types.h> change from gnulib
12653 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12654 since <time.t> is now guaranteed to define time_t.
12656 mktime: merge HAVE_CONFIG_H change from gnulib
12657 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12659 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12664 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12666 (struct rusage): Use anonymous union to pad each field to
12669 2012-05-21 David S. Miller <davem@davemloft.net>
12671 * Makefules (o-iterator): Remove .s cases.
12672 (compile-command.s): Delete.
12673 (COMPILE.s): Delete.
12674 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12676 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12678 * configure.in (libc_cv_predef_stack_protector): Only consider
12679 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12680 * configure: Regenerated.
12682 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12685 New macro. Use R*LP on int and pointer.
12686 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12687 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12688 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12689 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12691 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12692 [__WORDSIZE_TIME64_COMPAT32] instead of
12693 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12694 (struct utmp): Likewise.
12695 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12696 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12698 (__WORDSIZE_TIME64_COMPAT32): This.
12699 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12700 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12701 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12702 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12703 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12704 (__WORDSIZE_TIME64_COMPAT32): New macro.
12706 2012-05-21 Andreas Jaeger <aj@suse.de>
12708 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12709 only if [SHARED]. Add prototype for __wcschr_ia32.
12711 2012-05-21 Roland McGrath <roland@hack.frob.com>
12713 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12714 of %rbp unmolested in the jmp_buf while mangling the low bits.
12715 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12716 unmolested high bits of %rbp while demangling the low bits.
12717 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12719 2012-05-21 Andreas Jaeger <aj@suse.de>
12721 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12722 * sunrpc/svc_simple.c: Use it for registerrpc.
12723 * sunrpc/xcrypt.c: Use it for passwd2des.
12725 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12727 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12729 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12730 Don't define if [__SYSCALL_WORDSIZE != 32].
12731 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12734 2012-05-21 Bruno Haible <bruno@clisp.org>
12735 Andreas Jaeger <aj@suse.de>
12737 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12738 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12739 inptr and inend for must_buffer_ch.
12740 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12741 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12742 * stdio-common/Makefile (tests): Remove bug15.
12743 (bug15-ENV): Remove macro.
12744 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12747 2012-05-19 Andreas Jaeger <aj@suse.de>
12748 Roland McGrath <roland@hack.frob.com>
12750 * manual/contrib.texi: Completely rewritten. It contains now an
12751 alphabetical list of contributors and their contributions.
12753 2012-05-21 Richard Henderson <rth@twiddle.net>
12755 * misc/getauxval.c (__getauxval): Use unsigned long int.
12756 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12757 (getauxval): Use unsigned long int.
12759 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12761 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12763 2012-05-21 Roland McGrath <roland@hack.frob.com>
12765 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12766 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12767 __alignof__ (long double).
12769 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12773 2012-05-20 Richard Henderson <rth@twiddle.net>
12775 * misc/getauxval.c: New file.
12776 * misc/sys/auxv.h: New file.
12777 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12778 (routines): Add getauxval.
12779 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12780 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12781 * elf/dl-sysdep.c (_dl_auxv): Remove.
12782 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12783 * elf/dl-support.c (_dl_auxv): New variable.
12784 (_dl_aux_init): Initialize it.
12785 * manual/startup.texi (Auxiliary Vector): New node.
12786 * sysdeps/generic/bits/hwcap.h: New file.
12787 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12788 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12789 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12790 * sysdeps/sparc/sysdep.h: ... here. Include it.
12791 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12804 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12808 2012-05-19 David S. Miller <davem@davemloft.net>
12810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12812 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12815 * math/s_ccosh.c: Include <float.h>
12816 (__ccosh): Avoid internal overflow calculating sinh and cosh
12817 values before multiplying by sin and cos values.
12818 * math/s_ccoshf.c: Likewise.
12819 * math/s_ccoshl.c: Likewise.
12820 * math/s_csin.c: Likewise.
12821 * math/s_csinf.c: Likewise.
12822 * math/s_csinl.c: Likewise.
12823 * math/s_csinh.c: Likewise.
12824 * math/s_csinhf.c: Likewise.
12825 * math/s_csinhl.c: Likewise.
12826 * math/libm-test.inc (ccos_test): Add more tests.
12827 (ccosh_test): Likewise.
12828 (csin_test): Likewise.
12829 (csinh_test): Likewise.
12830 * sysdeps/i386/fpu/libm-test-ulps: Update.
12831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12833 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12835 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12836 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12838 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12840 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12842 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12843 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12844 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12845 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12846 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12847 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12848 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12849 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12850 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12851 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12852 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12853 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12854 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12855 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12856 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12857 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12858 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12859 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12860 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12861 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12862 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12863 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12864 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12865 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12866 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12867 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12868 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12869 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12870 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12871 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12872 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12874 2012-05-18 Andreas Jaeger <aj@suse.de>
12876 * csu/.gitignore: Delete.
12878 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12880 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12881 (timex): Use __syscall_slong_t.
12883 2012-05-18 Andreas Jaeger <aj@suse.de>
12884 Carlos O'Donell <carlos_odonell@mentor.com>
12886 * manual/install.texi (Configuring and compiling): Update
12887 description about files modified in the source directory.
12888 * INSTALL: Regenerated.
12890 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12892 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12893 value. Use "or" to set return value to -1.
12894 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12895 negate return value.
12897 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12899 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12900 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12901 failure if the compiler has Graphite support disabled.
12902 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12904 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12905 CFLAGS-memmove.c): Likewise.
12906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12909 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12911 * sysdeps/x86_64/x32/_itoa.h: New file.
12913 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12914 getdents system call only if kernel and user dirents have the
12915 same d_ino and d_off.
12917 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12918 LLONG_MAX != LONG_MAX.
12919 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12920 (_fitoa_word): Likewise.
12922 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12924 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12925 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12926 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12928 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12929 include <bits/wordsize.h>. Check __x86_64__ instead of
12931 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12932 if __x86_64__ is defined. Use anonymous union on fpstate.
12934 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12937 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12939 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12940 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12941 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12942 Refer to _rtld_local_ro instead of _rtld_global_ro.
12943 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12945 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12947 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12949 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12950 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12951 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12953 * sysdeps/powerpc/powerpc32/dl-machine.c
12954 (__elf_machine_runtime_setup) [PROF]: Don't reference
12957 2012-05-18 Andreas Jaeger <aj@suse.de>
12959 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12960 function only available for GCCs before 3.4 since GCC 3.4
12961 introduced a builtin.
12963 (llrintf): Likewise.
12964 (llrint): Likewise.
12971 (nearbyint): Likewise.
12972 (nearbyintf): Likewise.
12976 (floorf): Likewise.
12978 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12980 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12981 on both fields and cast pointer to __syscall_ulong_t.
12983 * bits/types.h (__fsword_t): New type.
12984 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12985 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12987 (__FSWORD_T_TYPE): Likewise.
12988 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12989 (__FSWORD_T_TYPE): Likewise.
12990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12991 (__FSWORD_T_TYPE): Likewise.
12992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12993 (__FSWORD_T_TYPE): Likewise.
12994 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12995 __SWORD_TYPE with __fsword_t.
12996 (statfs64): Likewise.
12998 2012-05-17 David S. Miller <davem@davemloft.net>
13000 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13002 2012-05-17 Andreas Jaeger <aj@suse.de>
13004 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13007 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13009 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13011 2012-05-17 Andreas Jaeger <aj@suse.de>
13013 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13016 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13018 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13020 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13022 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13023 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13025 2012-05-17 Andreas Jaeger <aj@suse.de>
13026 Carlos O'Donell <carlos_odonell@mentor.com>
13029 * sysdeps/x86_64/multiarch/init-arch.h
13030 (bit_YMM_Usable): Rename to...
13031 (bit_AVX_Usable): ... this.
13032 (bit_FMA4_Usable): New macro.
13033 (bit_XMM_state): New macro.
13034 (bit_YMM_state): New macro.
13035 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13036 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13037 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13038 (CPUID_OSXSAVE): New macro.
13039 (CPUID_AVX): New macro.
13040 (CPUID_FMA4): New macro.
13041 (index_YMM_Usable): Rename to...
13042 (index_AVX_Usable): ... this.
13043 (HAS_AVX): Use HAS_ARCH_FEATURE.
13044 (HAS_FMA4): Likewise.
13045 (HAS_YMM_USABLE): Remove.
13046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13047 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13049 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13050 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13051 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13052 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13053 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13055 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13057 * math/libm-test.c: Support platforms without multiple rounding modes.
13058 * math/bug-nextafter.c: Support platforms without FP exceptions.
13059 * math/bug-nexttoward.c: Likewise.
13060 * math/test-fenv.c: Likewise.
13061 * math/test-misc.c: Likewise.
13062 * stdlib/bug-getcontext.c: Likewise.
13064 2012-05-17 Andreas Jaeger <aj@suse.de>
13066 * manual/examples/search.c (critter_cmp): Change signature to
13068 * manual/string.texi (Collation Functions): Likewise.
13070 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13072 * bits/types.h: Fold copyright years.
13073 * bits/typesizes.h: Likewise.
13074 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13076 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13077 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13078 * time/time.h: Likewise.
13080 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13083 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13084 in instead of returning them. Return void.
13085 (__libc_mallinfo): Accumulate over all arenas.
13086 (__malloc_stats): Adjust for change in int_mallinfo interface.
13088 2012-05-16 Roland McGrath <roland@hack.frob.com>
13091 * configure.in (NM): Add AC_CHECK_TOOL for it.
13092 (libc_extra_cflags): New substituted variable.
13093 Check for -fstack-protector being used implicitly.
13094 * configure: Regenerated.
13095 * config.make.in (config-extra-cflags): New variable,
13096 gets @libc_extra_cflags@.
13097 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13100 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13101 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13102 * configure: Regenerated.
13103 * config.make.in (CPPUNDEFS): New substituted variable.
13104 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13105 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13106 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13108 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13110 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13111 (mq_attr): Use __syscall_slong_t.
13113 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13115 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13116 Check __x86_64__ instead of __WORDSIZE.
13117 (_STAT_VER_LINUX): Likewise.
13118 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13119 __syscall_ulong_t and __syscall_slong_t.
13120 (stat64): Likewise.
13122 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13126 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13128 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13130 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13132 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13135 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13136 include <bits/wordsize.h>. Check __x86_64__ instead of
13138 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13140 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13142 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13143 include <bits/wordsize.h>. Check __x86_64__ instead of
13145 (user_regs_struct): Use "__extension__ unsigned long long"
13146 instead of "unsigned long" if __x86_64__ is defined.
13147 (user): Likewise. Pad after pointer field if __ILP32__ is
13150 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13152 * configure.in (makeinfo): Require version 4.5 or later. Allow
13154 * configure: Regenerated.
13155 * manual/install.texi (texinfo): Increase version requirement to
13157 * INSTALL: Regenerated.
13159 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13161 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13163 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13165 * sysdeps/x86_64/x32/ffs.c: New file.
13167 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13169 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13170 defined. Use __syscall_ulong_t.
13171 (shminfo): Use __syscall_ulong_t.
13172 (shm_info): Likewise.
13174 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13177 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13179 (msgqnum_t): Use __syscall_ulong_t.
13180 (msglen_t): Likewise.
13181 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13184 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13185 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13187 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13189 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13190 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13192 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13195 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13196 include <bits/wordsize.h>. Check __x86_64__ instead of
13199 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13200 "unsigned long long int" if __x86_64__ is defined.
13201 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13203 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13204 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13205 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13207 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13209 (GET_PC): Cast to uintptr_t first.
13210 (GET_FRAME): Likewise.
13211 (GET_STACK): Likewise.
13213 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13214 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13215 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13216 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13217 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13218 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13219 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13220 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13221 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13222 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13223 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13224 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13225 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13226 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13227 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13228 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13229 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13231 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13232 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13233 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13237 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13239 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13240 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13241 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13243 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13245 * Makerules (+depfiles): Also collect depfiles from .oS in
13247 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13248 .oS, $(libnldbl-routines)).
13250 * Makerules (native-compile-mkdep-flags): Define.
13251 * sunrpc/Makefile (extra-objs): Add $(addprefix
13252 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13253 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13254 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13255 calling $(make-target-directory).
13257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13259 * bits/types.h (__snseconds_t): Removed.
13260 * time/time.h (struct timespec): Replace __snseconds_t with
13262 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13263 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13265 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13266 (__SNSECONDS_T_TYPE): Likewise.
13267 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13268 (__SNSECONDS_T_TYPE): Likewise.
13269 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13270 (__SNSECONDS_T_TYPE): Likewise.
13272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13274 * sysdeps/mach/hurd/bits/typesizes.h
13275 (__SYSCALL_SLONG_TYPE): New macro.
13276 (__SYSCALL_ULONG_TYPE): Likewise.
13278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13280 * bits/types.h (__syscall_slong_t): New type.
13281 (__syscall_ulong_t): Likewise.
13283 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13284 (__SYSCALL_ULONG_TYPE): Likewise.
13285 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13286 (__SYSCALL_SLONG_TYPE): Likewise.
13287 (__SYSCALL_ULONG_TYPE): Likewise.
13288 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13289 (__SYSCALL_SLONG_TYPE): Likewise.
13290 (__SYSCALL_ULONG_TYPE): Likewise.
13291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13292 (__SYSCALL_SLONG_TYPE): Likewise.
13293 (__SYSCALL_ULONG_TYPE): Likewise.
13295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13297 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13298 Add sigaltstack-offsets.sym.
13299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13300 <sigaltstack-offsets.h>.
13301 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13302 longjmp_msg pointer.
13303 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13304 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13306 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13308 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13310 * elf/stackguard-macros.h: Remove file.
13311 * sysdeps/generic/stackguard-macros.h: New file.
13312 * sysdeps/i386/stackguard-macros.h: Likewise.
13313 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13314 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13315 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13316 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13317 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13318 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13319 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13320 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13321 <elf/stackguard-macros.h>.
13324 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13325 __aligned__ in attribute.
13326 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13327 (gregset_t): Likewise.
13329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13331 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13332 * sysdeps/x86_64/64/Implies-after: Here. New file.
13333 * sysdeps/x86_64/x32/Implies-after: New file.
13335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13337 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13338 and access return value for _dl_profile_fixup. Use R10_LP to
13341 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13343 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13347 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13348 * sysdeps/x86_64/x32/sysdep.h: New file.
13350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13352 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13353 * sysdeps/x86_64/setjmp.S: Likewise.
13355 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13357 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13359 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13360 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13361 remove unused global constant.
13363 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13365 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13366 include of <not-cancel.h>.
13368 2012-05-15 Roland McGrath <roland@hack.frob.com>
13370 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13372 2012-05-15 Jeff Law <law@redhat.com>
13373 Andreas Jaeger <aj@suse.de>
13376 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13378 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13379 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13380 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13381 code changing __hst_map_handle.map.
13383 2012-05-15 Roland McGrath <roland@hack.frob.com>
13385 * configure.in (sysnames): Look for Implies-before and Implies-after
13387 * configure: Regenerated.
13389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13391 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13392 8-byte data alignment with LP_SIZE alignment.
13394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13396 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13401 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13405 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13406 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13407 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13409 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13413 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13414 (stackinfo_sub_sp): Likewise.
13416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13418 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13428 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13433 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13437 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13438 into R11_LP and load __x86_64_shared_cache_size_half into
13441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13446 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13455 powerpc32/power7/fpu/s_logb.c via #include.
13456 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13457 powerpc32/power7/fpu/s_logbf.c via #include.
13458 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13459 powerpc32/power7/fpu/s_logbl.c via #include.
13461 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13463 * README.libm: Remove file.
13465 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13467 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13468 count for x32. Use R*_LP and omit operand-size suffix.
13470 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13472 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13473 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13474 * sysdeps/x86_64/x32/shlib-versions: New file.
13476 2012-05-14 Roland McGrath <roland@hack.frob.com>
13478 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13479 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13480 Use _dl_fatal_printf instead.
13482 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13484 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13485 set if not set by the user. Do not allow for being unset.
13486 * sysdeps/unix/sysv/linux/configure: Regenerated.
13488 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13490 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13491 the `q' suffix from lea and replace .quad with ASM_ADDR.
13493 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13496 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13498 (PTR_DEMANGLE): Likewise.
13500 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13502 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13504 (ASM_ADDR): Likewise.
13505 (RAX_LP): Likewise.
13506 (RBP_LP): Likewise.
13507 (RBX_LP): Likewise.
13508 (RCX_LP): Likewise.
13509 (RDI_LP): Likewise.
13510 (RSI_LP): Likewise.
13511 (RSP_LP): Likewise.
13514 (R10_LP): Likewise.
13515 (R10_LP): Likewise.
13516 (R11_LP): Likewise.
13517 (R12_LP): Likewise.
13518 (R13_LP): Likewise.
13519 (R14_LP): Likewise.
13520 (R15_LP): Likewise.
13522 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13524 * sysdeps/x86_64/x32/dl-machine.h: New file.
13526 2012-05-14 Andreas Jaeger <aj@suse.de>
13528 * manual/Makefile (subdir): Remove export of subdir.
13529 (all): Remove target.
13530 (.PHONY): Remove all from list.
13531 (mkinstalldirs): Remove.
13532 (.PHONY): Remove installdirs from list.
13533 ($(inst_infodir)/libc.info): Use make-target-directory.
13534 (installdirs): Remove.
13535 (subdir_%): Remove.
13536 (glibc-targets): Remove.
13539 ($(objpfx)stubs ../po/manual.pot): Remove.
13540 ($(objpfx)stamp%): Remove.
13541 (make-target-directory): Remove.
13542 (subdir_install): Remove.
13543 (routines): Remove.
13550 * manual/.gitignore: Remove, it's not needed anymore.
13551 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13553 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13555 (texis): Renamed to $(objpfx)texis.
13556 (texis-path): New, contains path to generated files.
13557 (chapters.%): Use texis-path for complete path, add extra argument
13559 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13560 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13561 (summary,texi, stamp-summary): Use complete path of
13562 files. Generate files in build dir.
13563 (dir-add.texi): Build in build dir.
13564 (libm-err.texi,stamp-libm-err): Likewise.
13565 (version.texi, stamp-version): Likewise.
13566 (.%c.texi): Likewise.
13567 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13568 (mostlyclean): Remove target.
13569 (realclean): Remove target.
13570 (generated): Add new variable with contents from mostlyclean and
13571 realclean, remove entries duplicated in common-mostlyclean, add
13572 stamp-libm-err and stamp-version.
13573 (generated-dirs): Add libc directory.
13574 ($(inst_infodir)/libc.info): Install files from build dir.
13576 * manual/install.texi (Configuring and compiling): Adjust since
13577 the info files are not part of the tar ball anymore.
13579 2012-05-14 Andreas Jaeger <aj@suse.de>
13581 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13584 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13588 to 2.2.0 where earlier.
13589 * sysdeps/unix/sysv/linux/configure: Regenerated.
13590 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13591 Remove conditional code.
13592 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13593 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13594 Remove conditional code.
13595 [!__NR_lchown]: Likewise.
13596 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13597 [__NR_lchown]: Likewise.
13598 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13599 comment referencing __ASSUME_LCHOWN_SYSCALL.
13600 * sysdeps/unix/sysv/linux/i386/sigaction.c
13601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13603 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13604 Remove conditional code.
13605 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13606 (__protocol_available): Remove #if 0 code.
13607 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13609 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13610 * sysdeps/unix/sysv/linux/kernel-features.h
13611 (__ASSUME_GETCWD_SYSCALL): Don't define.
13612 (__ASSUME_REALTIME_SIGNALS): Likewise.
13613 (__ASSUME_PREAD_SYSCALL): Likewise.
13614 (__ASSUME_PWRITE_SYSCALL): Likewise.
13615 (__ASSUME_POLL_SYSCALL): Likewise.
13616 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13617 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13619 (__ASSUME_SIOCGIFNAME): Don't define.
13620 (__ASSUME_MSG_NOSIGNAL): Likewise.
13621 (__ASSUME_SENDFILE): Define unconditionally.
13622 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13623 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13625 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13626 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13627 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13628 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13629 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13630 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13631 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13636 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13648 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13654 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13655 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13656 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13657 Remove conditional code.
13658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13659 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13660 Remove conditional code.
13661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13662 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13663 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13664 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13665 Remove conditional code.
13666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13667 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13668 Remove conditional code.
13669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13670 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13671 Remove conditional code.
13672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13673 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13674 Remove conditional code.
13675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13676 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13677 Remove conditional code.
13678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13679 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13680 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13682 * sysdeps/unix/sysv/linux/sigaction.c
13683 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13684 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13685 * sysdeps/unix/sysv/linux/sigpending.c
13686 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13687 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13688 * sysdeps/unix/sysv/linux/sigprocmask.c
13689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13691 * sysdeps/unix/sysv/linux/sigsuspend.c
13692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13694 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13695 (__libc_missing_rt_sigs): Remove.
13696 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13697 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13698 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13699 Remove conditional code.
13700 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13701 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13703 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13704 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13705 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13706 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13708 2012-05-14 Andreas Jaeger <aj@suse.de>
13710 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13711 it's not used in glibc.
13712 (__coshm1): Likewise.
13713 (__acosh1p): Likewise.
13716 * manual/string.texi (Copying and Concatenation): Add missing
13717 variable in concat example.
13718 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13720 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13724 __builtin_clzl with __builtin_clzll.
13726 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13729 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13732 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13734 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13735 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13736 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13737 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13739 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13741 * NEWS: Update ia64 info.
13743 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13745 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13748 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13750 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13751 * sysdeps/unix/syscalls.list (dup3): Likewise.
13752 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13753 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13755 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13757 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13758 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13760 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13762 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13764 (TLS_IE): Use mov/add instead of movq/addq to load thread
13766 (TLS_GD_PREFIX): New.
13769 2012-05-11 David S. Miller <davem@davemloft.net>
13771 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13772 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13773 (_FPU_SETCW): Likewise.
13775 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13777 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13778 is 32-byte aligned.
13780 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13783 * iconvdata/gb18030.c: Update tables.
13784 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13785 characters specially.
13786 (BODY for TO_LOOP): Add encoding of missing ranges.
13788 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13791 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13792 * sysdeps/mach/hurd/dup3.c: Likewise.
13793 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13794 * sysdeps/powerpc/memmove.c:: Likewise.
13796 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13799 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13801 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13803 * elf/elf.h (R_X86_64_RELATIVE64): New.
13804 (R_X86_64_NUM): Updated.
13805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13806 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13807 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13808 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13809 tst-quad1pie tst-quad2pie
13810 (modules-names): Add tst-quadmod1 tst-quadmod2.
13811 ($(objpfx)tst-quad1): New dependency.
13812 ($(objpfx)tst-quad2): Likewise.
13813 ($(objpfx)tst-quad1pie): Likewise.
13814 ($(objpfx)tst-quad2pie): Likewise.
13815 * sysdeps/x86_64/tst-quad1.c: New file.
13816 * sysdeps/x86_64/tst-quad1pie.c: New file.
13817 * sysdeps/x86_64/tst-quad2.c: Likewise.
13818 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13819 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13820 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13821 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13822 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13824 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13826 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13827 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13828 * streams/stropts.h (t_scalar_t): Define type.
13830 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13831 (_PATH_PRESERVE): Set to "/var/lib".
13832 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13834 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13837 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13838 if __dir_mkfile succeeded.
13840 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13841 checking for _hurd_dtablesize. Unlock it right after having
13842 finished _hurd_dtable allocation.
13844 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13846 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13847 * sysdeps/mach/hurd/configure: Regenerated.
13848 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13849 special-casing to...
13850 * sysdeps/gnu/configure.in: ... this new file.
13851 * sysdeps/unix/sysv/linux/configure: Regenerated.
13852 * sysdeps/gnu/configure: New generated file.
13854 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13855 for Linux: use nsec instead of usec, as well as:
13856 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13857 members of type struct timespec.
13858 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13860 (struct stat64): Likewise.
13861 (_STATBUF_ST_NSEC): New macro.
13862 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13864 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13865 __strtoul_internal rather than strtoul.
13867 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13869 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13874 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13875 which preserves existing values.
13876 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13878 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13880 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13881 TIMEOUT values. Return EINVAL for NFDS values either negative or
13882 greater than FD_SETSIZE.
13884 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13886 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13887 allocated, call __vm_protect to finish enabling the existing space, and
13888 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13889 allocate the remainder.
13891 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13893 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13894 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13896 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13898 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13899 sysdeps/mach/hurd/readlink.c.
13901 * posix/tst-sysconf.c (posix_options): Only use
13902 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13903 _POSIX_SYNCHRONIZED_IO when they are defined
13904 * sysdeps/mach/hurd/bits/posix_opt.h:
13905 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13906 (_XOPEN_REALTIME): Undefine macro.
13907 (_XOPEN_REALTIME_THREADS): Undefine macro.
13908 (_XOPEN_SHM): Undefine macro.
13909 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13911 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13913 (_POSIX_ASYNC_IO): Undefine macro.
13914 (_POSIX_PRIORITIZED_IO): Undefine macro.
13915 (_POSIX_SPIN_LOCKS): Define macro to -1.
13917 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13918 SA_NODEFER, SA_RESETHAND.
13919 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13920 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13923 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13925 * elf/Makefile (pldd-modules): Define unconditionally.
13927 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13929 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13931 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13933 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13934 Return ENOENT when name is empty.
13935 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13937 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13939 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13941 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13943 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13945 Fix mlock in all cases except non-readable pages.
13946 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13947 instead of VM_PROT_ALL as parameter to __vm_wire function.
13949 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13950 (__mkdir): When path is `/', just fail with EEXIST.
13951 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13953 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13955 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13956 <sys/uio.h> (for writev).
13957 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13958 and <sys/param.h> (for MIN).
13960 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13962 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13963 REQUESTED_TIME. Properly set the remaining time and return EINTR
13966 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13968 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13969 Depend on against $(link-rpcuserlibs).
13971 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13973 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13974 (__libc_stack_end): Do not use attribute_relro.
13975 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13976 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13977 to libthread-provided value.
13978 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13981 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13984 * bits/libc-lock.h (__libc_once_get): New macro.
13985 * sysdeps/mach/bits/libc-lock.h: Likewise.
13986 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13987 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13988 instead of using implementation details.
13990 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13991 * libio/freopen.c: Likewise.
13992 * libio/freopen64.c: Likewise.
13993 * misc/syslog.c: Likewise.
13994 * nscd/connections.c: Likewise.
13995 * nscd/netgroupcache.c: Likewise.
13996 * sysdeps/posix/getcwd.c: Likewise.
13998 2012-05-10 Roland McGrath <roland@hack.frob.com>
14000 * math/w_ilogbf.c: Add #include <limits.h>.
14002 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14004 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14005 path instead of returning without unlocking.
14007 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14008 immediate-write ioctls.
14009 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14011 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14013 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14014 __builtin_frame_address instead of making assumptions about the
14015 location of the return address relative to DATA. Force early load of
14016 the return address.
14017 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14018 __builtin_frame_address.
14021 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14022 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14023 implement dup3 and do some further code clean-ups.
14024 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14025 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14029 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14031 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14032 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14033 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14034 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14035 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14038 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14039 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14040 when handler == SIG_ERR, not when handler != SIG_ERR.
14042 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14044 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14045 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14048 accept4 for GNU Hurd.
14049 * include/sys/socket.h (__libc_accept4): New prototype.
14050 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14051 to implement __libc_accept4.
14052 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14054 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14056 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14057 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14058 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14059 signal-defines.sym.
14061 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14063 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14065 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14067 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14068 assertion on O_CLOEXEC flag.
14069 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14070 * hurd/intern-fd.c: Likewise.
14071 * hurd/port2fd.c: Likewise.
14073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14076 * bits/in.h (IPV6_PKTINFO): Define new macro.
14077 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14079 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14084 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14086 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14087 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14088 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14089 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14090 * math/libm-test.inc (logb_test) : Additional logb tests.
14092 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14093 Andreas Jaeger <aj@suse.de>
14095 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14096 * configure: Regenerated.
14097 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14098 * config.make.in (link-obsolete-rpc): New substituted variable.
14099 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14100 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14101 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14102 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14103 so that libc.a contains the symbols.
14104 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14105 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14106 * sunrpc/auth_none.c: Likewise.
14107 * sunrpc/auth_unix.c: Likewise.
14108 * sunrpc/authdes_prot.c: Likewise.
14109 * sunrpc/authuxprot.c: Likewise.
14110 * sunrpc/clnt_gen.c: Likewise.
14111 * sunrpc/clnt_perr.c: Likewise.
14112 * sunrpc/clnt_raw.c: Likewise.
14113 * sunrpc/clnt_simp.c: Likewise.
14114 * sunrpc/clnt_tcp.c: Likewise.
14115 * sunrpc/clnt_udp.c: Likewise.
14116 * sunrpc/clnt_unix.c: Likewise.
14117 * sunrpc/des_crypt.c: Likewise.
14118 * sunrpc/des_soft.c: Likewise.
14119 * sunrpc/get_myaddr.c: Likewise.
14120 * sunrpc/key_call.c: Likewise.
14121 * sunrpc/key_prot.c: Likewise.
14122 * sunrpc/netname.c: Likewise.
14123 * sunrpc/pm_getmaps.c: Likewise.
14124 * sunrpc/pm_getport.c: Likewise.
14125 * sunrpc/pmap_clnt.c: Likewise.
14126 * sunrpc/pmap_prot.c: Likewise.
14127 * sunrpc/pmap_prot2.c: Likewise.
14128 * sunrpc/pmap_rmt.c: Likewise.
14129 * sunrpc/publickey.c: Likewise.
14130 * sunrpc/rpc_cmsg.c: Likewise.
14131 * sunrpc/rpc_common.c: Likewise.
14132 * sunrpc/rpc_dtable.c: Likewise.
14133 * sunrpc/rpc_prot.c: Likewise.
14134 * sunrpc/rpc_thread.c: Likewise.
14135 * sunrpc/rtime.c: Likewise.
14136 * sunrpc/svc.c: Likewise.
14137 * sunrpc/svc_auth.c: Likewise.
14138 * sunrpc/svc_raw.c: Likewise.
14139 * sunrpc/svc_run.c: Likewise.
14140 * sunrpc/svc_tcp.c: Likewise.
14141 * sunrpc/svc_udp.c: Likewise.
14142 * sunrpc/svc_unix.c: Likewise.
14143 * sunrpc/svcauth_des.c: Likewise.
14144 * sunrpc/xcrypt.c: Likewise.
14145 * sunrpc/xdr.c: Likewise.
14146 * sunrpc/xdr_array.c: Likewise.
14147 * sunrpc/xdr_float.c: Likewise.
14148 * sunrpc/xdr_intXX_t.c: Likewise.
14149 * sunrpc/xdr_mem.c: Likewise.
14150 * sunrpc/xdr_rec.c: Likewise.
14151 * sunrpc/xdr_ref.c: Likewise.
14152 * sunrpc/xdr_sizeof.c: Likewise.
14153 * sunrpc/xdr_stdio.c: Likewise.
14155 2012-05-10 Roland McGrath <roland@hack.frob.com>
14157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14158 change. Update copyright years.
14160 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14162 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14164 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14165 Joseph Myers <joseph@codesourcery.com>
14166 Paul Pluzhnikov <ppluzhnikov@google.com>
14169 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14171 [cross-compiling] (extra-libs): Likewise.
14172 [cross-compiling] (extra-libs-others): Likewise.
14173 [cross-compiling] (librpcsvc-routines): Likewise.
14174 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14175 [cross-compiling] (omit-deps): Likewise.
14176 (sunrpc-CPPFLAGS): New variable.
14177 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14178 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14179 (cross-rpcgen-objs): New variable.
14180 (extra-objs): Append $(cross-rpcgen-objs).
14181 ($(cross-rpcgen-objs)): New rule.
14182 ($(objpfx)cross-rpcgen): Likewise.
14183 (rpcgen-cmd): Define to use $(built-program-file). Expand
14185 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14186 ($(objpfx)x%.stmp): Likewise.
14187 * sunrpc/proto.h [IS_IN_build] (_): Define.
14188 [IS_IN_build] (_libc_intl_domainname): Likewise.
14190 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14192 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14193 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14194 and R_X86_64_TPOFF64.
14196 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14198 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14199 sysdeps/unix/sysv/syscalls.list.
14202 * sysdeps/unix/sysv/syscalls.list: Remove file.
14204 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14207 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14208 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14209 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14210 (__LC_IDENTIFICATION): Make these macros useful in #if
14211 expressions, as required by C99.
14213 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14215 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14216 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14219 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14221 * stdlib/longlong.h: Updated from GCC.
14223 2012-05-09 Andreas Jaeger <aj@suse.de>
14225 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14226 default is first entry.
14227 (run_mode): Set type.
14228 (main): Remove informal message about syslog.
14229 (options): Fix typo.
14232 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14235 (llrintf): Likewise.
14236 (llrint): Likewise.
14239 (nearbyint): Likewise.
14240 (nearbyintf): Likewise.
14242 2012-05-09 Andreas Jaeger <aj@suse.de>
14243 Pedro Alves <palves@redhat.com>
14245 * nscd/nscd.c (run_mode): Use enum.
14246 (main): Cleanup coding style issue.
14248 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14249 Andreas Jaeger <aj@suse.de>
14251 * nscd/nscd.c (go_background): Replaced with...
14252 (run_mode): ... this.
14253 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14254 (options): Add -F --foreground.
14255 (main): Implement it.
14256 (parse_opt): Parse it.
14258 2012-05-09 Andreas Jaeger <aj@suse.de>
14261 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14262 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14263 -Wconversion warning.
14264 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14267 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14269 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14271 (LC_ALL): Use macro-int-constant.
14272 (LC_COLLATE): Likewise.
14273 (LC_CTYPE): Likewise.
14274 (LC_MESSAGES): Likewise.
14275 (LC_MONETARY): Likewise.
14276 (LC_NUMERIC): Likewise.
14277 (LC_TIME): Likewise.
14278 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14279 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14280 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14281 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14283 [C99-based standards] (float_t): Expect type.
14284 [C99-based standards] (double_t): Expect type.
14285 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14287 [C99-based standards] (HUGE_VALL): Likewise.
14288 [C99-based standards] (INFINITY): Likewise.
14289 [C99-based standards] (NAN): Likewise.
14290 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14291 [C99-based standards] (FP_NAN): Likewise.
14292 [C99-based standards] (FP_NORMAL): Likewise.
14293 [C99-based standards] (FP_SUBNORMAL): Likewise.
14294 [C99-based standards] (FP_ZERO): Likewise.
14295 [C99-based standards] (FP_FAST_FMA): Use
14296 optional-macro-int-constant. Specify type. Require == 1.
14297 [C99-based standards] (FP_FAST_FMAF): Likewise.
14298 [C99-based standards] (FP_FAST_FMAL): Likewise.
14299 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14300 [C99-based standards] (FP_ILOGBNAN): Likewise.
14301 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14303 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14304 [C99-based standards] (math_errhandling): Specify type.
14305 [ISO99 || ISO11] (signgam): Do not allow.
14306 [non-C99-based standards] (copysignf): Do not allow.
14307 [non-C99-based standards] (exp2f): Likewise.
14308 [non-C99-based standards] (log2f): Likewise.
14309 [non-C99-based standards] (modff): Allow.
14310 [non-C99-based standards] (erff): Do not allow.
14311 [non-C99-based standards] (erfcf): Likewise.
14312 [non-C99-based standards] (gammaf): Likewise.
14313 [non-C99-based standards] (hypotf): Likewise.
14314 [non-C99-based standards] (j0f): Likewise.
14315 [non-C99-based standards] (j1f): Likewise.
14316 [non-C99-based standards] (jnf): Likewise.
14317 [non-C99-based standards] (lgammaf): Likewise.
14318 [non-C99-based standards] (tgammaf): Likewise.
14319 [non-C99-based standards] (y0f): Likewise.
14320 [non-C99-based standards] (y1f): Likewise.
14321 [non-C99-based standards] (ynf): Likewise.
14322 [non-C99-based standards] (isnanf): Likewise.
14323 [non-C99-based standards] (acoshf): Likewise.
14324 [non-C99-based standards] (asinhf): Likewise.
14325 [non-C99-based standards] (atanhf): Likewise.
14326 [non-C99-based standards] (cbrtf): Likewise.
14327 [non-C99-based standards] (expm1f): Likewise.
14328 [non-C99-based standards] (ilogbf): Likewise.
14329 [non-C99-based standards] (log1pf): Likewise.
14330 [non-C99-based standards] (logbf): Likewise.
14331 [non-C99-based standards] (nextafterf): Likewise.
14332 [non-C99-based standards] (remainderf): Likewise.
14333 [non-C99-based standards] (rintf): Likewise.
14334 [non-C99-based standards] (scalbf): Likewise.
14335 [non-C99-based standards] (copysignl): Likewise.
14336 [non-C99-based standards] (exp2l): Likewise.
14337 [non-C99-based standards] (log2l): Likewise.
14338 [non-C99-based standards] (modfl): Allow.
14339 [non-C99-based standards] (erfl): Do not allow.
14340 [non-C99-based standards] (erfcl): Likewise.
14341 [non-C99-based standards] (gammal): Likewise.
14342 [non-C99-based standards] (hypotl): Likewise.
14343 [non-C99-based standards] (j0l): Likewise.
14344 [non-C99-based standards] (j1l): Likewise.
14345 [non-C99-based standards] (jnl): Likewise.
14346 [non-C99-based standards] (lgammal): Likewise.
14347 [non-C99-based standards] (tgammal): Likewise.
14348 [non-C99-based standards] (y0l): Likewise.
14349 [non-C99-based standards] (y1l): Likewise.
14350 [non-C99-based standards] (ynl): Likewise.
14351 [non-C99-based standards] (isnanl): Likewise.
14352 [non-C99-based standards] (acoshl): Likewise.
14353 [non-C99-based standards] (asinhl): Likewise.
14354 [non-C99-based standards] (atanhl): Likewise.
14355 [non-C99-based standards] (cbrtl): Likewise.
14356 [non-C99-based standards] (expm1l): Likewise.
14357 [non-C99-based standards] (ilogbl): Likewise.
14358 [non-C99-based standards] (log1pl): Likewise.
14359 [non-C99-based standards] (logbl): Likewise.
14360 [non-C99-based standards] (nextafterl): Likewise.
14361 [non-C99-based standards] (remainderl): Likewise.
14362 [non-C99-based standards] (rintl): Likewise.
14363 [non-C99-based standards] (scalbl): Likewise.
14364 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14365 [non-C99-based standards] (FP_*): Do not allow.
14366 [C99-based standards] (FP_*): Change to
14367 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14368 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14370 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14371 (SIG_ERR): Likewise.
14372 [X/Open-based standards] (SIG_HOLD): Likewise.
14373 (SIG_IGN): Likewise.
14374 (SIGABRT): Use macro-int-constant. Specify type. Require
14376 (SIGFPE): Likewise.
14377 (SIGILL): Likewise.
14378 (SIGINT): Likewise.
14379 (SIGSEGV): Likewise.
14380 (SIGTER): Likewise.
14381 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14382 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14383 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14384 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14385 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14386 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14387 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14388 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14389 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14390 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14391 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14392 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14393 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14394 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14395 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14396 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14397 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14398 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14399 [X/Open-based standards] (SIGTRAP): Likewise.
14400 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14401 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14402 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14403 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14404 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14407 2012-05-08 Ian Wienand <ianw@vmware.com>
14410 * time/tzset.c (__tzset_parse_tz): Update default rules for
14411 daylight time changes in the Energy Policy Act of 2005.
14413 2012-05-09 Andreas Jaeger <aj@suse.de>
14416 * elf/ldconfig.c (parse_conf): Change string to make clear that
14417 ldconfig only issued a warning if ld.so.conf does not exist.
14419 2012-05-08 David S. Miller <davem@davemloft.net>
14421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14422 movxtod instead of popping the value on the stack.
14424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14426 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14428 * config.h.in: Add HAVE_ARM_PCS_VFP.
14430 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14433 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14434 checking but the checks are disabled for any reason.
14436 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14438 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14439 and ELF64_R_TYPE with ELFW(R_TYPE).
14441 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14443 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14444 (ulimit): Likewise.
14446 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14447 (settimeofday): Likewise.
14449 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14451 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14452 a struct th_u2 inside the union, and move tu_block/tu_code into
14453 a new th_u3 union of tu_block/tu_code inside of that. Move
14454 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14455 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14456 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14457 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14458 (th_stuff): Change to th_u1.tu_stuff.
14460 (th_msg): Change to th_u1.th_u2.tu_data.
14462 2012-05-07 David S. Miller <davem@davemloft.net>
14464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14467 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14468 (SETUP_PIC_REG): Use it.
14469 (SETUP_PIC_REG_LEAF): Use it.
14471 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14475 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14477 (EXPL_FINITE): Likewise.
14478 (FLDLOG): Likewise.
14479 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14480 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14482 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14484 (EXPL_FINITE): Likewise.
14485 (FLDLOG): Likewise.
14486 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14487 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14489 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14490 test of -max_value argument for long double.
14491 * sysdeps/i386/fpu/libm-test-ulps: Update.
14492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14494 2012-05-06 David S. Miller <davem@davemloft.net>
14496 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14497 quad soft-float symbols whose references which are compiler
14499 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14501 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14505 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14507 (EXPL_FINITE): Likewise.
14508 (FLDLOG): Likewise.
14511 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14512 Adjust comments for base varying.
14513 (__expl_finite): Change alias to EXPL_FINITE.
14514 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14516 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14517 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14518 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14519 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14520 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14522 (EXPL_FINITE): Likewise.
14523 (FLDLOG): Likewise.
14526 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14527 Adjust comments for base varying.
14528 (__expl_finite): Change alias to EXPL_FINITE.
14529 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14534 * math/libm-test.inc (check_float_internal): Correct ulp
14535 calculation for subnormal expected results.
14537 2012-05-06 Andreas Jaeger <aj@suse.de>
14539 * Makeconfig (+math-flags): New, set to -frounding-math.
14540 (+cflags): Add +math-flags so that all of glibc gets compiled with
14543 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14545 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14547 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14553 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14554 (__ieee754_expl): Allow for and saturate large arguments.
14555 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14556 (u_threshold): Likewise.
14557 (__exp): Call __ieee754_exp before checking for overflow and
14559 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14560 (u_threshold): Likewise.
14561 (__expf): Call __ieee754_expf before checking for overflow and
14563 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14564 (u_threshold): Likewise.
14565 (__expl): Call __ieee754_expl before checking for overflow and
14567 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14568 (__ieee754_expl): Allow for and saturate large arguments.
14569 * math/libm-test.inc (exp_test): Add another test. Do not allow
14570 missing overflow exception on overflow.
14571 (expm1_test): Do not allow missing overflow exception on overflow.
14573 * sysdeps/i386/fpu/e_expl.c: Move to ...
14574 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14575 rather than using inline asm.
14576 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14577 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14578 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14580 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14583 (signal): Likewise.
14587 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14589 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14590 sysdeps/unix/common/syscalls.list.
14591 (fchmod): Likewise.
14592 (fchown): Likewise.
14593 (ftruncate): Likewise.
14594 (getrusage): Likewise.
14595 (gettimeofday): Likewise.
14596 (setpgid): Likewise.
14597 (setregid): Likewise.
14598 (setreuid): Likewise.
14599 (sigaction): Likewise.
14600 (truncate): Likewise.
14601 (vhangup): Likewise.
14602 * sysdeps/unix/common/syscalls.list: Remove file.
14603 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14604 * sysdeps/unix/sysv/linux/Implies: Likewise.
14606 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14608 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14610 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14614 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14617 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14620 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14623 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14626 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14629 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14632 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14636 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14640 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14643 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14647 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14651 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14653 * sysdeps/unix/common/bits/dirent.h: Remove file.
14654 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14656 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14657 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14658 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14659 * sysdeps/unix/bsd/isatty.c: Likewise.
14660 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14661 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14662 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14664 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14667 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14668 long double comparison inaccuracies.
14669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14672 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14674 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14675 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14677 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14680 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14681 nonzero digits before rounding a hex value.
14682 * stdlib/tst-strtod.c (tests): Add another test.
14684 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14686 * sysdeps/s390/fpu/libm-test-ulps: Update.
14688 2012-05-03 Andreas Jaeger <aj@suse.de>
14690 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14691 does not get optimized out.
14692 (malloc_opt_barrier): New.
14694 2012-05-03 Andreas Jaeger <aj@suse.de>
14695 Roland McGrath <roland@hack.frob.com>
14697 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14698 intermediate file deletion.
14699 (generated): Add .symlist files.
14701 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14704 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14705 Redirect under this condition.
14706 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14707 [__USE_GNU] (__dprintf_chk): Not under this condition.
14708 [__USE_GNU] (__vdprintf_chk): Likewise.
14709 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14710 under this condition.
14711 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14712 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14713 [__USE_XOPEN2K8] (vdprintf): Likewise.
14714 [__USE_GNU] (__dprintf_chk): Not under this condition.
14715 [__USE_GNU] (__vdprintf_chk): Likewise.
14716 [__USE_GNU] (dprintf): Likewise.
14717 [__USE_GNU] (vdprintf): Likewise.
14719 2012-05-03 Roland McGrath <roland@hack.frob.com>
14721 * elf/Makefile (common-generated): Set this instead of generated for
14722 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14723 $(all-built-dso)-derived lists.
14725 2012-05-03 Andreas Jaeger <aj@suse.de>
14727 * sysdeps/i386/fpu/libm-test-ulps: Update.
14730 * FAQ.in: Likewise.
14731 * scripts/gen-FAQ.pl: Likewise.
14732 * manual/install.texi (Installation): Point to online location of
14734 * Makefile (files-for-dist): Remove FAQ.
14737 2012-05-02 Allan McRae <allan@archlinux.org>
14739 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14740 (LDFLAGS-reldepmod5.so): Likewise.
14741 (LDFLAGS-reldep6mod1.so): Likewise.
14742 (LDFLAGS-reldep6mod4.so): Likewise.
14743 (LDFLAGS-reldep8mod3.so): Likewise.
14744 (LDFLAGS-unload4mod1.so): Likewise.
14745 (LDFLAGS-unload4mod2.so): Likewise.
14746 (LDFLAGS-tst-initorder): Likewise.
14747 (LDFLAGS-tst-initordera2.so): Likewise.
14748 (LDFLAGS-tst-initordera3.so): Likewise.
14749 (LDFLAGS-tst-initordera4.so): Likewise.
14750 (LDFLAGS-tst-initorderb2.so): Likewise.
14751 (LDFLAGS-noload): Likewise.
14752 (LDFLAGS-next): Likewise.
14753 (LDFLAGS-order2mod1.so): Likewise.
14754 (LDFLAGS-order2mod2.so): Likewise.
14755 (LDFLAGS-tst-initorder2): Likewise.
14756 (LDFLAGS-tst-initorder2a.so): Likewise.
14757 (LDFLAGS-tst-initorder2b.so): Likewise.
14758 (LDFLAGS-tst-initorder2c.so): Likewise.
14759 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14761 2012-05-02 David S. Miller <davem@davemloft.net>
14763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14765 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14768 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14770 2012-05-02 Andreas Jaeger <aj@suse.de>
14772 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14773 since we manipulate rounding mode.
14774 (CPPFLAGS-test-idouble.c): Likewise.
14775 (CPPFLAGS-test-ifloat.c): Likewise.
14776 (CFLAGS-test-ldouble.c): Likewise.
14777 (CFLAGS-test-double.c): Likewise.
14778 (CFLAGS-test-float.c): Likewise.
14779 (CFLAGS-test-misc.c): Likewise.
14780 (CFLAGS-test-test-fenv.c): Likewise.
14782 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14787 comparisons to determine direction to adjust input.
14789 2012-05-01 Roland McGrath <roland@hack.frob.com>
14791 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14792 output to the target.
14794 * scripts/localplt.awk: New file.
14795 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14796 (check-localplt-CFLAGS): Variable removed.
14797 ($(all-built-dso:=.jmprel)): New static pattern rule.
14798 (generated): Add those targets.
14799 (localplt-built-dso): New variable.
14800 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14802 * elf/check-localplt.c: File removed.
14804 * scripts/check-execstack.awk: New file.
14805 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14806 (check-execstack-CFLAGS): Variable removed.
14807 ($(objpfx)check-execstack.h): Target removed.
14808 ($(objpfx)execstack-default): New target.
14809 (generated): Add that instead of check-execstack.h.
14810 ($(all-built-dso:=.phdr)): New static pattern rule.
14811 (generated): Add those targets.
14812 * elf/check-execstack.c: File removed.
14814 * scripts/check-textrel.awk: New file.
14815 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14816 (check-textrel-CFLAGS): Variable removed.
14817 (all-built-dso): Use := to define.o
14818 ($(all-built-dso:=.dyn)): New static pattern rule.
14819 (generated): Add those targets.
14820 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14821 * config.make.in (READELF): New substituted variable.
14822 * elf/check-textrel.c: File removed.
14824 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14826 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14828 * conform/data/ctype.h-data [C99-based standards] (isblank):
14830 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14831 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14833 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14834 Specify type. Require positive value.
14835 (EILSEQ): Likewise.
14836 (ERANGE): Likewise.
14837 [ISO || POSIX] (EILSEQ): Do not expect.
14838 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14839 Specify type. Require positive value.
14840 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14841 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14842 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14843 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14844 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14845 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14846 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14847 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14848 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14849 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14850 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14851 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14852 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14853 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14854 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14855 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14856 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14857 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14858 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14859 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14860 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14861 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14862 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14863 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14864 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14882 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14883 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14887 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14888 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14889 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14890 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14891 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14892 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14893 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14894 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14895 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14897 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14898 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14899 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14900 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14901 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14902 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14904 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14905 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14906 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14907 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14908 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14910 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14911 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14913 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14914 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14915 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14916 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14918 (FLT_ROUNDS): Expect as macro, not constant.
14919 (FLT_MANT_DIG): Use macro-int-constant.
14920 (DBL_MANT_DIG): Likewise.
14921 (LDBL_MANT_DIG): Likewise.
14922 (FLT_DIG): Likewise.
14923 (DBL_DIG): Likewise.
14924 (LDBL_DIG): Likewise.
14925 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14926 (DBL_MIN_EXP): Likewise.
14927 (LDBL_MIN_EXP): Likewise.
14928 (FLT_MAX_EXP): Use macro-int-constant.
14929 (DBL_MAX_EXP): Likewise.
14930 (LDBL_MAX_EXP): Likewise.
14931 (FLT_MAX_10_EXP): Likewise.
14932 (DBL_MAX_10_EXP): Likewise.
14933 (LDBL_MAX_10_EXP): Likewise.
14934 (FLT_MAX): Use macro-constant.
14935 (DBL_MAX): Likewise.
14936 (LDBL_MAX): Likewise.
14937 (FLT_EPSILON): Use macro-constant. Give upper bound.
14938 (DBL_EPSILON): Likewise.
14939 (LDBL_EPSILON): Likewise.
14940 (FLT_MIN): Likewise.
14941 (DBL_MIN): Likewise.
14942 (LDBL_MIN): Likewise.
14943 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14944 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14945 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14946 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14947 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14948 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14949 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14950 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14951 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14952 [ISO11] (FLT_TRUE_MIN): Likewise.
14953 [ISO11] (LDBL_TRUE_MIN): Likewise.
14954 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14955 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14956 (SCHAR_MIN): Use macro-int-constant. Specify type.
14957 (SCHAR_MAX): Likewise.
14958 (UCHAR_MAX): Likewise.
14959 (CHAR_MIN): Likewise.
14960 (CHAR_MAX): Likewise.
14961 (MB_LEN_MAX): Use macro-int-constant.
14962 (SHRT_MIN): Use macro-int-constant. Specify type.
14963 (SHRT_MAX): Likewise.
14964 (USHRT_MAX): Likewise.
14965 (INT_MAX): Likewise.
14966 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14968 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14970 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14972 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14973 bound negative. Suffix upper bound with "L".
14974 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14976 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14978 [C99-based standards] (LLONG_MAX): Likewise.
14979 [C99-based standards] (ULLONG_MAX): Likewise.
14980 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14982 [ISO11] (max_align_t): Require type.
14983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14985 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14986 from $CFLAGS, without defining away __attribute__ calls.
14987 (checknamespace): Use $CFLAGS_namespace.
14989 * conform/conformtest.pl (@keywords): Only include C99 keywords
14990 for standards based on C99 or C11.
14992 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14994 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14997 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14998 usability of symbols in #if.
15000 * conform/conformtest.pl: If macro or constant types start
15001 "promoted:", expect the symbol to be of the following type
15002 promoted by the integer promotions.
15004 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15005 in one place. Also handle "macro-constant".
15007 * conform/conformtest.pl: Only accept expected macro values with
15008 "==". Parse all "macro" lines in one place.
15009 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15011 * conform/conformtest.pl: Handle braced types on "constant" lines
15012 instead of handling "typed-constant".
15013 * conform/data/signal.h-data: Use "constant" instead of
15016 * conform/conformtest.pl: Handle "optional-" at start of lines in
15017 one place rather than duplicating several cases. Handle each
15018 format of "macro" line with initial "optional-".
15020 * conform/conformtest.pl: Only accept expected constant or
15021 optional-constant values with "==". Parse all "constant" lines in
15022 one place. Parse all "optional-constant" lines in one place.
15023 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15024 * conform/data/fmtmsg.h-data: Likewise.
15025 * conform/data/netinet/in.h-data: Likewise.
15026 * conform/data/tar.h-data: Likewise.
15027 * conform/data/limits.h-data: Use "==" form on "constant" and
15028 "optional-constant" lines.
15030 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15031 Use -std=c99 for XOPEN2K.
15032 (@knownproblems): Remove.
15033 (newtoken): Don't check %isknown.
15035 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15036 Do not expect macro.
15037 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15038 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15039 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15040 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15041 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15042 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15043 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15044 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15045 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15046 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15047 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15048 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15049 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15050 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15051 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15052 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15053 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15054 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15055 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15057 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15058 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15060 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15061 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15064 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15067 [XPG3] (acosh): Likewise.
15068 [XPG3] (asinh): Likewise.
15069 [XPG3] (atanh): Likewise.
15070 [XPG3] (cbrt): Likewise.
15071 [XPG3] (expm1): Likewise.
15072 [XPG3] (ilogb): Likewise.
15073 [XPG3] (log1p): Likewise.
15074 [XPG3] (logb): Likewise.
15075 [XPG3] (nextafter): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15078 [XPG3] (remainder): Likewise.
15079 [XPG3] (rint): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15082 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15083 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15085 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15086 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15087 [UNIX98 || XOPEN2K] (scalb): Expect.
15088 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15089 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15090 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15091 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15092 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15093 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15095 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15096 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15097 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15098 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15099 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15102 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15103 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15104 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15105 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15226 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15227 _XOPEN_SOURCE_EXTENDED for XPG4.
15229 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15231 * Makeconfig (localtime): Remove variable.
15232 (inst_localtime-file): Likewise.
15234 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15255 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15259 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15260 comparisons to determine direction to adjust input.
15261 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15262 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15263 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15265 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15267 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15269 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15270 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15272 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15274 * math/libm-test.inc (nexttoward_test): Add more tests.
15276 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15280 in version GLIBC_2.1, not GLIBC_2.0.
15281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15284 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15287 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15289 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15290 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15291 * math/libm-test.inc (acos_test): Add more tests.
15292 (asin_test): Likewise.
15293 * sysdeps/i386/fpu/libm-test-ulps: Update.
15294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15297 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15299 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15300 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15301 * math/libm-test.inc (acos_test_tonearest): New function.
15302 (acos_test_towardzero): Likewise.
15303 (acos_test_downward): Likewise.
15304 (acos_test_upward): Likewise.
15305 (asin_test_tonearest): Likewise.
15306 (asin_test_towardzero): Likewise.
15307 (asin_test_downward): Likewise.
15308 (asin_test_upward): Likewise.
15309 (main): Call the new functions.
15310 * sysdeps/i386/fpu/libm-test-ulps: Update.
15311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15315 * math/e_exp10.c: Include <float.h>.
15316 (__ieee754_exp10): Handle underflow here rather than multiplying
15317 large negative argument by M_LN10.
15318 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15320 * math/e_exp10l.c: Include <float.h>.
15321 (__ieee754_exp10l): Handle underflow here rather than multiplying
15322 large negative argument by M_LN10l.
15323 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15324 spurious overflow exception on underflow.
15326 2012-04-29 Marek Polacek <polacek@redhat.com>
15328 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15329 (__fortify_function): New macro.
15330 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15331 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15332 __extern_always_inline.
15333 * libio/bits/stdio2.h: Likewise.
15334 * libio/bits/stdio.h: Likewise.
15335 * string/string.h: Likewise.
15336 * string/bits/string3.h: Likewise.
15337 * include/stdio.h: Likewise.
15338 * stdlib/bits/stdlib.h: Likewise.
15339 * stdlib/stdlib.h: Likewise.
15340 * rt/bits/mqueue2.h: Likewise.
15341 * rt/mqueue.h: Likewise.
15342 * posix/bits/unistd.h: Likewise.
15343 * posix/unistd.h: Likewise.
15344 * io/bits/poll2.h: Likewise.
15345 * io/bits/fcntl2.h: Likewise.
15346 * io/fcntl.h: Likewise.
15347 * io/sys/poll.h: Likewise.
15348 * misc/bits/syslog.h: Likewise.
15349 * misc/bits/syslog-ldbl.h: Likewise.
15350 * misc/sys/syslog.h: Likewise.
15351 * socket/bits/socket2.h: Likewise.
15352 * socket/sys/socket.h: Likewise.
15353 * debug/tst-chk1.c: Likewise.
15354 * wcsmbs/bits/wchar2.h: Likewise.
15355 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15356 * wcsmbs/wchar.h: Likewise.
15358 2012-04-29 Andreas Jaeger <aj@suse.de>
15360 * Makerules (tests): Remove enable-check-abi protection.
15361 (check-abi-warn): Remove.
15362 (check-abi-%): Remove check-abi-warn usage.
15364 * configure.in: Remove check-abi configure option.
15365 * configure: Regenerated.
15366 * config.make.in (enable-check-abi): Remove.
15368 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15371 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15372 double functions to double *_finite functions.
15375 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15376 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15378 * stdio-common/Makefile (tests): Add tst-sprintf3.
15379 * stdio-common/tst-sprintf3.c: New file.
15381 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15382 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15384 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15386 * conform/conformtest.pl: Remove duplicate typed-constant
15389 2012-04-28 David S. Miller <davem@davemloft.net>
15391 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15392 (check-abi-%): Remove AWK script prerequisite and explicit
15394 (check-abi): Rewrite to just diff the symlist with the abilist.
15395 (config-tls, config-abi-config): Delete, no longer used.
15396 (update-abi-%): Remove AWK script and explicit abilist directory.
15397 (update-abi): Rewrite to simply compare and conditionally copy the
15398 symlist and the sysdep abilist file. Remove update-abi-config
15400 * abilist/ld.abilist: Remove.
15401 * abilist/libBrokenLocale.abilist: Remove.
15402 * abilist/libanl.abilist: Remove.
15403 * abilist/libcrypt.abilist: Remove.
15404 * abilist/libdl.abilist: Remove.
15405 * abilist/librt.abilist: Remove.
15406 * abilist/libthread_db.abilist: Remove.
15407 * abilist/libutil.abilist: Remove.
15408 * scripts/extract-abilist.awk: Remove.
15409 * scripts/merge-abilist.awk: Remove.
15410 * sysdeps/generic/libcidn.abilist: New file.
15411 * sysdeps/generic/libnss_compat.abilist: New file.
15412 * sysdeps/generic/libnss_db.abilist: New file.
15413 * sysdeps/generic/libnss_dns.abilist: New file.
15414 * sysdeps/generic/libnss_files.abilist: New file.
15415 * sysdeps/generic/libnss_hesiod.abilist: New file.
15416 * sysdeps/generic/libnss_nis.abilist: New file.
15417 * sysdeps/generic/libnss_nisplus.abilist: New file.
15418 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15419 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15420 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15422 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15423 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15424 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15425 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15426 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15427 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15428 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15429 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15430 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15432 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15433 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15434 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15435 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15437 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15438 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15439 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15440 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15441 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15442 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15444 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15445 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15446 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15448 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15551 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15552 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15553 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15556 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15557 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15558 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15559 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15560 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15561 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15562 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15563 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15564 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15616 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15618 * conform/conformtest.pl: Fix typo in handling typed-constant from
15621 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15623 * README: Cut down references to pre-2.6 Linux kernels and
15624 Linuxthreads. Update lists of configurations in libc and ports
15625 and sort alphabetically. Say "or newer" with Linux kernel version
15628 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15630 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15633 * math/libm-test.inc (logb_test_downward): New test to expose
15634 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15637 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15640 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15642 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15643 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15645 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15647 * sysdeps/unix/i386/brk.S: Remove file.
15648 * sysdeps/unix/i386/dl-brk.S: Likewise.
15649 * sysdeps/unix/i386/pipe.S: Likewise.
15650 * sysdeps/unix/i386/sigreturn.S: Likewise.
15651 * sysdeps/unix/i386/syscall.S: Likewise.
15652 * sysdeps/unix/i386/vfork.S: Likewise.
15653 * sysdeps/unix/i386/wait.S: Likewise.
15655 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15656 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15658 * configure.in (arm*-none*): Do not allow without
15659 --enable-hacker-mode.
15660 (netbsd*): Remove case setting base_os.
15661 (386bsd*): Likewise.
15662 (freebsd*): Likewise.
15665 (sunos*): Likewise.
15666 (ultrix*): Likewise.
15667 (newsos*): Likewise.
15668 (dynix*): Likewise.
15674 (minix*): Likewise.
15675 (irix4*): Likewise.
15676 (irix6*): Likewise.
15677 (solaris[2-9]*): Likewise.
15679 * configure: Regenerated.
15681 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15684 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15685 overflow or cancellation in calculating denominator.
15686 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15687 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15688 down expression to avoid unexpected rounding in newer GCCs.
15689 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15691 2012-04-26 David S. Miller <davem@davemloft.net>
15693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15694 long-double compat symbols.
15695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15709 2012-04-25 David S. Miller <davem@davemloft.net>
15711 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15712 HWCAP_* values only after the memory barriers have been defined.
15713 (atomic_full_barrier): Define.
15714 (atomic_read_barrier): Define.
15715 (atomic_write_barrier): Define.
15717 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15719 * shlib-versions: Add libgcc_s version information.
15720 * sysdeps/generic/libgcc_s.h: Remove.
15721 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15723 * sysdeps/gnu/unwind-resume.c: Likewise.
15724 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15726 2012-04-25 David S. Miller <davem@davemloft.net>
15728 * sysdeps/unix/sparc/brk.S: Delete.
15729 * sysdeps/unix/sparc/dl-brk.S: Delete.
15730 * sysdeps/unix/sparc/pipe.S: Delete.
15731 * sysdeps/unix/sparc/sysdep.S: Delete.
15732 * sysdeps/unix/sparc/sysdep.h: Delete.
15733 * sysdeps/unix/sparc/vfork.S: Delete.
15734 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15735 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15737 ret_ERRVAL, r0, r1, MOVE): Define.
15738 (JUMPTARGET): Remove.
15739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15740 sysdeps/unix/sparc/sysdep.h
15741 (ENTRY, END): Remove.
15742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15744 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15746 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15747 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15750 * timezone/README: Update upstream location and email address for
15752 * timezone/zdump.c: Update from tzcode 2012b.
15753 * timezone/zic.c: Likewise.
15755 * configure.in (libc_cv_as_needed): Remove test.
15756 * configure: Regenerated.
15757 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15758 conditional definition.
15759 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15760 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15761 * config.make.in (have-as-needed): Remove variable.
15763 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15764 Paul Pluzhnikov <ppluzhnikov@google.com>
15766 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15769 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15771 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15772 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15773 * sysdeps/sh/strlen.S: Likewise.
15775 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15777 * sysdeps/unix/fork.S: Remove file.
15778 * sysdeps/unix/i386/fork.S: Likewise.
15779 * sysdeps/unix/sparc/fork.S: Likewise.
15781 * sysdeps/unix/system.c: Remove file.
15782 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15784 * sysdeps/unix/getegid.S: Remove file.
15785 * sysdeps/unix/geteuid.S: Likewise.
15787 2012-04-24 Roland McGrath <roland@hack.frob.com>
15789 * scripts/check-localplt.awk: New file.
15790 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15792 * scripts/data/localplt-generic.data: Add a comment.
15794 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15795 NODE when __dir_mkfile failed.
15796 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15797 Reported by Ludovic Courtès <ludo@gnu.org>.
15799 2012-04-24 Andreas Jaeger <aj@suse.de>
15801 * Makerules (common-clean): Also remove gen-as-const-headers
15804 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15806 * Makerules (native-compile): Do not change working directory for
15807 build. Use $(OUTPUT_OPTION) in command.
15808 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15810 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15813 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15814 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15815 * math/libm-test.inc (floor_test): Add more tests.
15816 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15818 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15820 * sysdeps/unix/getdents.c: Remove file.
15821 * sysdeps/unix/sysv/getdents.c: Likewise.
15822 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15824 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15825 sysdeps/unix/mman/syscalls.list.
15827 (mprotect): Likewise.
15829 (munmap): Likewise.
15830 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15831 * sysdeps/unix/mman/syscalls.list: Remove.
15832 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15834 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15835 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15836 * configure: Regenerated.
15837 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15838 $(libgcc_s_suffix).
15839 * config.make.in (libgcc_s_suffix): Remove variable.
15841 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15843 * sysdeps/unix/sysv/gethostname.c: Move to ...
15844 * sysdeps/posix/gethostname.c: ... here.
15846 * sysdeps/unix/execve.S: Remove file.
15848 * sysdeps/unix/_exit.S: Remove file.
15850 2012-04-23 Andreas Jaeger <aj@suse.de>
15853 * manual/Makefile: Remove make dist support, there's no
15854 need for a stand-alone documentation tar ball.
15855 (TEXI2DVI): Define always, it's not in Makeconfig.
15858 (edition): Removed.
15859 (glibc-doc-$(edition).tar): Removed
15863 (ETAGS): Remove, it's in Makeconfig.
15864 (move-if-change): Remove, it's in Makeconfig.
15866 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15869 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15870 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15871 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15872 (strtod_l, strtof_l, strtold_l): Remove __wur.
15873 It is not necessarily an error to ignore strtol's return value.
15874 One can reliably look at the stored endptr to decide whether
15875 the number had valid syntax.
15877 2012-04-21 Andreas Jaeger <aj@suse.de>
15880 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15882 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15884 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15885 * sysdeps/unix/sysv/Versions: Remove file.
15887 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15892 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15896 version from __vm86.
15898 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15900 * sysdeps/unix/common/lxstat.c: Remove file.
15901 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15903 * sysdeps/unix/sysv/Makefile: Remove file.
15905 * sysdeps/unix/sysv/direct.h: Remove file.
15907 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15908 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15909 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15910 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15911 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15912 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15913 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15915 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15917 * sysdeps/unix/xmknod.c: Remove file.
15918 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15920 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15922 * sysdeps/unix/sysv/i386/time.S: Remove file.
15924 * sysdeps/unix/fxstat.c: Remove file.
15925 * sysdeps/unix/xstat.c: Likewise.
15926 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15928 * sysdeps/unix/sysv/sigaction.c: Remove file.
15930 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15931 (sysdep_headers): Remove variable.
15932 [termio.h not in sysdep_headers] (generated): Likewise.
15933 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15934 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15935 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15936 * sysdeps/unix/sysv/tcflow.c: Likewise.
15937 * sysdeps/unix/sysv/tcflush.c: Likewise.
15938 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15939 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15940 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15941 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15942 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15944 * sysdeps/unix/siglist.c: Remove file.
15946 * sysdeps/unix/getppid.S: Remove file.
15948 * sysdeps/unix/mkdir.c: Remove file.
15949 * sysdeps/unix/rmdir.c: Likewise.
15951 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15953 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15955 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15956 errlist-compat value.
15958 2012-04-18 David S. Miller <davem@davemloft.net>
15960 * sysdeps/generic/memcopy.h (reg_char): Delete.
15961 * debug/strcat_chk.c: Use char, not reg_char.
15962 * debug/strcpy_chk.c: Likewise.
15963 * debug/strncat_chk.c: Likewise.
15964 * debug/strncpy_chk.c: Likewise.
15965 * string/memchr.c: Likewise.
15966 * string/memrchr.c: Likewise.
15967 * string/rawmemchr.c: Likewise.
15968 * string/strcat.c: Likewise.
15969 * string/strchr.c: Likewise.
15970 * string/strchrnul.c: Likewise.
15971 * string/strcmp.c: Likewise.
15972 * string/strcpy.c: Likewise.
15973 * string/strncat.c: Likewise.
15974 * string/strncmp.c: Likewise.
15975 * string/strncpy.c: Likewise.
15977 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15979 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15980 __builtin_memcopy is called when src and dest ranges are known to not
15983 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15985 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15986 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15987 fwd_align_merge macro call.
15988 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15989 bwd_align_merge macro call.
15990 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15992 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15994 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15995 bwd_align_merge macros.
15996 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15997 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15998 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16000 2012-04-18 David S. Miller <davem@davemloft.net>
16002 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16004 2012-04-18 Andreas Jaeger <aj@suse.de>
16007 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16008 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16009 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16011 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16012 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16013 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16015 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16016 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16017 Adjust for changed ldbl-128 files.
16019 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16020 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16021 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16023 2012-04-17 David S. Miller <davem@davemloft.net>
16025 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16027 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16029 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16030 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16031 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16032 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16033 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16034 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16036 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16039 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16040 * math/libm-test.inc: Add ilogb errno and exception tests.
16041 * math/w_ilogb.c: New file: ilogb wrapper.
16042 * math/w_ilogbf.c: New file: ilogbf wrapper.
16043 * math/w_ilogbl.c: New file: ilogbl wrapper.
16044 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16045 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16046 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16047 exception being thrown with 0.0 as argument.
16048 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16049 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16050 exception being thrown with 0.0 as argument.
16051 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16052 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16053 exception being thrown with 0.0 as argument.
16054 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16055 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16056 exception being thrown with 0.0 as argument.
16057 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16058 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16059 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16060 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16061 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16062 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16063 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16064 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16065 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16067 2012-04-17 Petr Baudis <pasky@ucw.cz>
16069 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16072 2012-04-16 Marek Polacek <polacek@redhat.com>
16074 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16076 2012-04-16 Marek Polacek <polacek@redhat.com>
16078 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16079 operands of fdivp instruction.
16081 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16083 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16084 * elf/tst-auditmod3b.c: Likewise.
16085 * elf/tst-auditmod4b.c: Likewise.
16086 * elf/tst-auditmod5b.c: Likewise.
16087 * elf/tst-auditmod6b.c: Likewise.
16088 * elf/tst-auditmod6c.c: Likewise.
16089 * elf/tst-auditmod7b.c: Likewise.
16090 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16091 * sysdeps/x86_64/preconfigure.in: Likewise.
16092 * sysdeps/x86_64/preconfigure: Regenerated.
16094 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16096 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16099 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16102 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16104 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16107 * locale/iso-639.def: Fix gl language name. Spotted by
16110 2012-04-12 Roland McGrath <roland@hack.frob.com>
16113 * libio/libio.h (__io_write_fn): Update comment.
16115 2012-04-12 Petr Baudis <pasky@ucw.cz>
16118 * stdio.texi (Hook Functions): The user provided writer function
16119 is not allowed to return -1.
16121 2012-04-11 David S. Miller <davem@davemloft.net>
16123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16125 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16127 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16128 Add a leading slash to rtkaio.
16130 2012-04-11 Jim Meyering <meyering@redhat.com>
16133 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16134 It is not necessarily an error to ignore fwrite's return
16135 value. One can reliably use ferror to test for errors after
16138 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16140 * bits/types.h (__snseconds_t): New type.
16141 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16143 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16145 (__SNSECONDS_T_TYPE): Likewise.
16146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16147 (__SNSECONDS_T_TYPE): Likewise.
16148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16149 (__SNSECONDS_T_TYPE): Likewise.
16151 2012-04-10 Andreas Jaeger <aj@suse.de>
16154 * manual/time.texi (Processor Time): Return type of times is
16155 elapsed real time since an arbitrary point in the past.
16156 (CPU Time): Move CLK_TCK from here...
16157 (Processor Time): ...to here. Correct description.
16158 * manual/conf.texi (Constants for Sysconf): Correct description of
16161 2012-04-10 David S. Miller <davem@davemloft.net>
16164 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16165 where the is a gap between DT_REL(A) and DT_JMPREL.
16167 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16169 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16170 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16171 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16173 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16175 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16176 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16177 (dl_main): Handle --inhibit-cache.
16178 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16180 * elf/dl-load.c (_dl_map_object): Use it.
16181 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16183 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16186 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16187 (__ieee754_powl): Saturate large exponents rather than testing for
16188 overflow of y*log2(x).
16189 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16190 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16194 * math/s_ctan.c: Include <float.h>.
16195 (__ctan): Avoid internal overflow or cancellation in calculating
16197 * math/s_ctanf.c: Likewise.
16198 * math/s_ctanl.c: Likewise.
16199 * math/s_ctanh.c: Likewise.
16200 * math/s_ctanhf.c: Likewise.
16201 * math/s_ctanhl.c: Likewise.
16202 * math/libm-test.inc (ctan_test): Add more tests.
16203 (ctanh_test): Likewise.
16204 * sysdeps/i386/fpu/libm-test-ulps: Update.
16205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16207 2012-04-09 Andreas Jaeger <aj@suse.de>
16210 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16211 is an optional BSD extension.
16214 * manual/stdio.texi (Opening Streams): Document additional fopen
16217 2012-04-09 Roland McGrath <roland@hack.frob.com>
16219 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16220 %eax without telling the compiler.
16222 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16225 * manual/install.texi: Use sourceware.org.
16227 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16230 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16231 (__ieee754_pow): Generate overflow and underflow using huge*huge
16232 and tiny*tiny rather than just returning constant infinity or zero
16233 for large exponents.
16234 * math/libm-test.inc (pow_test): Require overflow exceptions for
16235 applicable cases of large exponents.
16238 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16239 (__ieee754_pow): Use iterative multiplication algorithm only for
16240 integer exponents with absolute value below 1024. Check for odd
16241 integer exponents when using algorithm for real exponents.
16242 * math/libm-test.inc (pow_test): Add more tests.
16243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16245 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16248 * math/libm-test.inc (exp_test): Do not allow overflow exception
16251 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16254 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16255 instead of __kernel_standard_f.
16257 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16259 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16260 * sysdeps/x86_64/memset_chk.S: Likewise.
16262 2012-04-08 Andreas Jaeger <aj@suse.de>
16265 * manual/startup.texi (Environment Access): Describe return value
16266 for putenv and setenv.
16269 * manual/filesys.texi (Directory Entries): Add description for
16273 * manual/filesys.texi (Directory Entries): Clarify that it's file
16274 system not operating system in the description of DT_UNKNOWN.
16277 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16279 2012-04-08 Stephen Compall <s11@member.fsf.org>
16282 * manual/llio.texi (Opening and Closing Files): Add cross
16283 reference to explain mode argument.
16285 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16287 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16288 * sysdeps/x86_64/memset_chk.S: Likewise.
16290 2012-04-07 David S. Miller <davem@davemloft.net>
16292 * elf/elf.h (R_SPARC_WDISP10): Define.
16293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16296 R_SPARC_SIZE64 and R_SPARC_H34.
16298 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16300 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16301 conditions and remove no longer applicable assertion.
16303 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16305 * bits/byteswap.h: Include <features.h>.
16306 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16307 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16309 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16311 * bits/byteswap.h (__bswap_16): Removed.
16312 Include <bits/byteswap-16.h> to get __bswap_16.
16313 * sysdeps/i386/bits/byteswap.h: Likewise.
16314 * sysdeps/s390/bits/byteswap.h: Likewise.
16315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16316 * bits/byteswap-16.h: New file.
16317 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16318 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16319 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16320 * string/Makefile (headers): Add bits/byteswap-16.h.
16322 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16325 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16327 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16328 * nss/tst-nss-static.c: New.
16330 2012-04-06 Robert Millan <rmh@gnu.org>
16333 * manual/llio.texi (File Position Primitive): lseek
16334 refers to WHENCE when it really means OFFSET.
16336 2012-04-06 Andreas Jaeger <aj@suse.de>
16338 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16339 strncmp declarations.
16341 * abilist/libc.abilist: Add __poll and __ppoll.
16343 2012-04-05 David S. Miller <davem@davemloft.net>
16345 * scripts/check-local-headers.sh: Accept a host triplet in the
16346 path matched by the exclude regexp.
16348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16350 * sysdeps/powerpc/powerpc32/dl-machine.h
16351 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16352 * sysdeps/s390/s390-32/dl-machine.h
16353 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16354 * sysdeps/sparc/sparc32/dl-machine.h
16355 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16356 * sysdeps/sparc/sparc64/dl-machine.h
16357 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16359 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16361 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16362 undefined symbol errors.
16364 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16367 2012-04-05 Michael Matz <matz@suse.de>
16370 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16372 2012-04-05 Andreas Jaeger <aj@suse.de>
16375 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16378 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16380 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16381 which ROUND is no valid rounding mode.
16383 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16385 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16387 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16389 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16391 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16392 an exception using FPU order intentionally.
16394 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16396 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16397 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16398 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16399 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16401 2012-04-05 Simon Josefsson <simon@josefsson.org>
16404 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16405 EINVAL when BUFLEN is too smal.
16407 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16410 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16411 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16413 2012-04-03 Andreas Jaeger <aj@suse.de>
16416 * manual/setjmp.texi (System V contexts): Fix sentence.
16419 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16420 New macro for this case.
16421 [!__GNUC__] (__bswap_64): New inline function for this case.
16422 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16423 * bits/byteswap.h: Likewise.
16424 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16425 ull, guard with __GLIBC_HAVE_LONG_LONG.
16427 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16428 __GLIBC_HAVE_LONG_LONG.
16430 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16431 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16433 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16436 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16437 inptr and inend, rather than using last_ch.
16439 2012-04-02 David S. Miller <davem@davemloft.net>
16441 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16442 * stdio-common/printf-parse.h (read_int): Change return type to
16443 'int', return -1 on INT_MAX overflow.
16444 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16445 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16446 overflows INT_MAX. Check for overflow of in-format-string precision
16447 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16448 SIZE_MAX not INT_MAX for integer overflow test.
16449 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16450 skip the construct in the format string but do not record anything.
16451 * stdio-common/bug22.c: Adjust to test both width/prevision
16452 INT_MAX overflow as well as total length INT_MAX overflow. Check
16453 explicitly for proper errno values.
16455 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16457 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16459 * string/test-strcmp.c [! WIDE]: Likewise.
16460 * time/tst-mktime2.c: Likewise for INT_MAX.
16461 * string/test-string.h: #include <sys/param.h> for MIN.
16463 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16464 * sysdeps/i386/init-first.c (init): Likewise.
16465 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16466 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16467 * sysdeps/sh/init-first.c (init): Likewise.
16469 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16471 * po/ru.po: Update from translation team.
16472 * po/vi.po: Likewise.
16474 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16476 * resolv/nss_dns/dns-host.c: Merge copyright years.
16478 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16480 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16481 Optimize memcpy with prefetch if
16482 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16483 src, dst pointers have unequal 16 byte alignments.
16485 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16488 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16489 from a CNAME entry and return the minimum ttl for the query.
16490 (gaih_getanswer_slice): Likewise.
16492 2012-03-30 Jeff Law <law@redhat.com>
16494 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16496 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16497 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16499 * resolv/nss_dns/dns-host.c: Update copyright year.
16501 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16503 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16504 requests to save a system call. Fix check that all bytes are sent.
16506 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16507 comments for sendmmsg.
16509 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16512 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16513 with only 1 character between 0x0041 and 0x01b0.
16514 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16515 * wcsmbs/tst-mbsnrtowcs.c: New file.
16517 2012-03-29 David S. Miller <davem@davemloft.net>
16519 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16520 small copies by hand.
16522 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16525 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16526 _nss_compat_initgroups_dyn): Fall back to malloc/free
16527 for large group memberships.
16529 2012-03-28 David S. Miller <davem@davemloft.net>
16531 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16532 that branches into memcpy.
16533 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16536 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16537 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16539 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16540 implementation too.
16541 * sysdeps/sparc/mempcpy.S: New file.
16543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16544 the IFUNC routine in the libc case.
16545 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16547 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16548 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16549 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16550 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16551 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16552 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16553 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16554 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16556 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16557 loop to 256 bytes instead of 64 bytes and fix test signedness.
16559 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16560 * sysdeps/sparc/sparc32/Makefile: rather than here...
16561 * sysdeps/sparc/sparc64/Makefile: and here.
16563 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16565 * malloc/mallocbug.c: Avoid warnings about unused variables.
16567 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16570 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16571 in the right place. Discard and retry query if response is
16572 larger than input buffer size.
16574 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16579 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16580 x for large integer exponent.
16581 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16582 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16583 sign of result as needed afterwards.
16584 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16585 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16586 result for underflowing pow the same as for overflow.
16587 (__kernel_standard_l): Handle powl overflow and underflow here
16588 rather than calling __kernel_standard.
16589 * math/libm-test.inc (pow_test): Add more tests.
16604 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16605 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16606 (__kernel_standard_l): New function.
16607 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16609 * math/w_acosl.c (__acosl): Likewise.
16610 * math/w_asinl.c (__asinl): Likewise.
16611 * math/w_atan2l.c (__atan2l): Likewise.
16612 * math/w_atanhl.c (__atanhl): Likewise.
16613 * math/w_coshl.c (__coshl): Likewise.
16614 * math/w_exp10l.c (__exp10l): Likewise.
16615 * math/w_exp2l.c (__exp2l): Likewise.
16616 * math/w_fmodl.c (__fmodl): Likewise.
16617 * math/w_hypotl.c (__hypotl): Likewise.
16618 * math/w_j0l.c (__j0l, __y0l): Likewise.
16619 * math/w_j1l.c (__j1l, __y1l): Likewise.
16620 * math/w_jnl.c (__jnl, __ynl): Likewise.
16621 * math/w_lgammal.c (__lgammal): Likewise.
16622 * math/w_log10l.c (__log10l): Likewise.
16623 * math/w_log2l.c (__log2l): Likewise.
16624 * math/w_logl.c (__logl): Likewise.
16625 * math/w_powl.c (__powl): Likewise.
16626 * math/w_remainderl.c (__remainderl): Likewise.
16627 * math/w_scalbl.c (sysv_scalbl): Likewise.
16628 * math/w_sinhl.c (__sinhl): Likewise.
16629 * math/w_sqrtl.c (__sqrtl): Likewise.
16630 * math/w_tgammal.c (__tgammal): Likewise.
16631 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16632 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16633 * math/libm-test.inc (acos_test): Add more tests.
16634 (acosh_test): Likewise.
16635 (asin_test): Likewise.
16636 (atanh_test): Likewise.
16637 (exp_test): Likewise.
16638 (exp10_test): Likewise.
16639 (exp2_test): Likewise.
16640 (expm1_test): Likewise.
16641 (lgamma_test): Likewise.
16642 (log_test): Likewise.
16643 (log10_test): Likewise.
16644 (log1p_test): Likewise.
16645 (log2_test): Likewise.
16646 (pow_test): Do not allow some spurious overflow exceptions.
16647 (sqrt_test): Add more tests.
16648 (tgamma_test): Likewise.
16649 (y0_test): Likewise.
16650 (y1_test): Likewise.
16651 (yn_test): Likewise.
16653 2012-03-27 Anton Blanchard <anton@samba.org>
16655 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16657 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16658 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16659 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16661 2012-03-27 David S. Miller <davem@davemloft.net>
16663 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16665 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16666 have-as-vis3 check.
16668 2012-03-27 Andreas Jaeger <aj@suse.de>
16670 * sysdeps/x86_64/elf/configure.in: Moved to ...
16671 * sysdeps/x86_64/configure.in: ... here.
16672 * sysdeps/x86_64/elf/start.S: Moved to ...
16673 * sysdeps/x86_64/start.S: ... here.
16674 * sysdeps/x86_64/elf/configure: Delete.
16676 * sysdeps/x86_64/configure.in: Merge contents from
16677 sysdeps/i386/configure.in (without i686 check).
16679 * sysdeps/i386/elf/Versions: Merge into ...
16680 * sysdeps/i386/Versions: ... this.
16681 * sysdeps/i386/elf/Versions: Delete file.
16682 * sysdeps/i386/elf/start.S: Moved to ...
16683 * sysdeps/i386/start.S: ...here.
16684 * sysdeps/i386/elf/configure.in: Merge into...
16685 * sysdeps/i386/configure.in: ...here.
16686 * sysdeps/i386/elf/configure.in: Delete file.
16687 * sysdeps/i386/elf/configure: Delete file.
16689 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16690 * debug/backtracesyms.c: ... here.
16691 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16692 * debug/backtracesymsfd.c: ... here.
16693 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16694 * sysdeps/generic/ifunc-sel.h: ... here.
16696 * sysdeps/unix/i386/start.c: Delete file.
16697 * sysdeps/unix/sparc/start.c: Delete file.
16698 * sysdeps/unix/start.c: Delete file.
16700 * sysdeps/sh/elf/configure.in: Moved to ...
16701 * sysdeps/sh/configure.in: ... here.
16702 * sysdeps/sh/elf/start.S: Moved to ...
16703 * sysdeps/sh/start.S: ... here.
16704 * sysdeps/sh/elf/configure: Delete file.
16706 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16707 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16708 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16709 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16710 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16711 * sysdeps/powerpc/powerpc64/start.S: here.
16712 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16713 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16714 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16715 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16716 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16718 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16719 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16720 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16721 * sysdeps/powerpc/powerpc32/start.S: ... here.
16722 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16723 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16724 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16726 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16727 * sysdeps/powerpc/ifunc-sel.h: ... here.
16728 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16729 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16731 * sysdeps/sparc/elf/configure.in: Moved to ...
16732 * sysdeps/sparc/configure.in: ... here.
16733 * sysdeps/sparc/elf/configure: Delete file.
16734 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16735 * sysdeps/sparc/sparc32/start.S: ... here.
16736 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16737 * sysdeps/sparc/sparc64/start.S: ... here.
16738 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16739 * sysdeps/sparc/sparc32/Makefile: ... this.
16740 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16741 * sysdeps/sparc/sparc64/Makefile: ... this.
16743 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16744 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16745 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16746 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16747 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16748 * sysdeps/s390/s390-32/setjmp.S: ... here.
16749 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16750 * sysdeps/s390/s390-32/configure.in: ... here.
16751 * sysdeps/s390/s390-32/elf/configure: Delete file.
16752 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16753 * sysdeps/s390/s390-32/start.S: ... here.
16755 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16756 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16757 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16758 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16759 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16760 * sysdeps/s390/s390-64/setjmp.S: ... here.
16761 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16762 * sysdeps/s390/s390-64/configure.in: ... here
16763 * sysdeps/s390/s390-64/elf/configure: Delete file.
16764 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16765 * sysdeps/s390/s390-64/start.S: ... here.
16766 * sysdeps/s390/s390-64/elf/configure: Delete.
16768 * configure.in: Remove support for elf directories in sysdeps.
16770 * configure: Regenerated.
16771 * sysdeps/i386/configure: Regenerated.
16772 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16773 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16774 * sysdeps/s390/s390-32/configure: Regenerated.
16775 * sysdeps/s390/s390-64/configure: Regenerated.
16776 * sysdeps/sh/configure: Regenerated.
16777 * sysdeps/sparc/configure: Regenerated.
16778 * sysdeps/x86_64/configure: Regenerated.
16780 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16785 denormal result into account.
16787 2012-03-25 Roland McGrath <roland@hack.frob.com>
16789 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16790 Reported by Allan McRae <allan@archlinux.org>.
16792 2012-03-23 Jeff Law <law@redhat.com>
16794 * nss/getnssent.c (__nss_getent): Fix typo.
16796 2012-03-23 David S. Miller <davem@davemloft.net>
16798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16800 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16802 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16803 to pad to uint64_t for each field.
16804 (dl_tls_index): Replace unsigned long with uint64_t.
16806 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16807 Paul Pluzhnikov <ppluzhnikov@google.com>
16810 * grp/Makefile (otherlibs): Don't set it.
16811 * inet/Makefile (otherlibs): Likewise.
16812 * login/Makefile (otherlibs): Likewise.
16813 * nscd/Makefile (otherlibs): Likewise.
16814 * posix/Makefile (otherlibs): Likewise.
16815 * pwd/Makefile (otherlibs): Likewise.
16816 * rt/Makefile (otherlibs): Likewise.
16817 * sunrpc/Makefile (otherlibs): Likewise.
16818 * nss/Makefile (otherlibs): Likewise.
16819 Add libnss_files to routines and static-only-routines.
16820 ($(objpfx)getent): Remove rule.
16821 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16822 static-only-routines.
16824 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16827 * math/s_cexp.c: Include <float.h>.
16828 (__cexp): Handle exp result overflowing not necessarily
16829 overflowing both real and imaginary parts of result.
16830 * math/s_cexpf.c: Likewise.
16831 * math/s_cexpl.c: Likewise.
16832 * math/libm-test.inc (cexp_test): Add more tests.
16833 * sysdeps/i386/fpu/libm-test-ulps: Update.
16834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16836 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16838 * include/link.h (ELFW): New macro.
16839 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16840 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16842 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16844 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16847 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16849 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16851 (struct La_x32_retval): Likewise.
16853 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16855 * sysdeps/x86_64/preconfigure.in: New file.
16856 * sysdeps/x86_64/preconfigure: New generated file.
16858 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16861 * math/e_exp2l.c: Include <float.h>.
16862 (__ieee754_exp2l): Handle overflow and underflow cases
16863 separately. Only pass fractional part of argument to
16865 * math/libm-test.inc (exp2_test): Add more tests.
16867 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16868 negating x to take absolute value.
16869 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16871 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16872 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16874 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16875 computing low part if x was negated.
16876 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16878 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16880 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16881 la_x32_gnu_pltexit.
16882 (pltexit): Cast int_retval to ptrdiff_t.
16883 * elf/tst-auditmod3b.c: Likewise.
16884 * elf/tst-auditmod4b.c: Likewise.
16885 * elf/tst-auditmod5b.c: Likewise.
16886 * elf/tst-auditmod6b.c: Likewise.
16887 * elf/tst-auditmod6c.c: Likewise.
16888 * elf/tst-auditmod7b.c: Likewise.
16890 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16891 and x32_gnu_pltexit.
16893 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16894 __ELF_NATIVE_CLASS.
16895 (La_x32_regs): New macro.
16896 (La_x32_retval): Likewise.
16897 (la_x32_gnu_pltenter): New function prototype.
16898 (la_x32_gnu_pltexit): Likewise.
16900 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16902 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16907 * configure.in (libc_cv_cc_nofma): Check for option to disable
16908 generation of FMA instructions.
16909 * configure: Regenerate.
16910 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16911 * sysdeps/ieee754/dbl-64/Makefile: New file.
16912 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16913 Remove brandred-fma4.
16914 (CFLAGS-brandred-fma4.c): Remove.
16915 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16916 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16918 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16921 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16923 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16924 LLONG_MAX != LONG_MAX.
16925 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16926 (_fitoa_word): Likewise.
16927 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16928 LLONG_MAX != LONG_MAX.
16929 * stdio-common/_itowa.h: Include <_itoa.h>.
16930 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16931 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16932 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16933 only if not defined.
16934 (_ITOA_WORD_TYPE): Likewise.
16935 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16936 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16938 2012-03-21 David S. Miller <davem@davemloft.net>
16940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16942 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16944 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16945 of x86_64 when setting libc_cv_slibdir, libdir and
16947 * sysdeps/unix/sysv/linux/configure: Regenerated.
16949 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16951 * manual/lang.texi (Old Varargs): Remove section.
16952 (How Variadic): Update menu.
16953 (va_start): Do not mention varargs.h.
16955 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16956 Joseph Myers <joseph@codesourcery.com>
16958 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16960 * configure: Regenerated.
16962 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16964 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16965 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16968 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16971 * Makefile (files-for-dist): Remove NOTES.
16972 (NOTES): Remove rule.
16973 * README: Don't refer to NOTES.
16974 * manual/creature.texi: Don't include macros.texi.
16975 * manual/intro.texi (creature.texi): Remove comment referring to
16978 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16979 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16980 * configure: Regenerated.
16981 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16982 LIBC_TRY_CC_OPTION.
16983 (libc_cv_as_i686): Likewise.
16984 (libc_cv_cc_avx): Likewise.
16985 (libc_cv_cc_sse2avx): Likewise.
16986 (libc_cv_cc_fma4): Likewise.
16987 (libc_cv_cc_novzeroupper): Likewise.
16988 * sysdeps/i386/configure: Regenerated.
16991 * sysdeps/i386/fpu/s_cexp.S: Remove.
16992 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16993 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16994 * math/libm-test.inc (cexp_test): Add more tests.
16995 * sysdeps/i386/fpu/libm-test-ulps: Update.
16996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16998 2012-03-21 Allan McRae <allan@archlinux.org>
17000 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17002 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17005 * math/w_exp2.c: Do not include <float.h>.
17006 (o_threshold, u_threshold): Remove.
17007 (__exp2): Calculate result before checking finiteness and calling
17009 * math/w_exp2f.c: Likewise.
17010 * math/w_exp2l.c: Likewise.
17011 * math/libm-test.inc (exp2_test): Require overflow exception for
17015 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17016 range of signed 64-bit integers before using fistpll. Remove
17017 checks for whether integers fit in mantissa bits.
17018 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17019 the range of signed 32-bit integers before using fistpl. Remove
17020 checks for whether integers fit in mantissa bits.
17021 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17022 (__ieee754_powl): Test for y outside the range of signed 64-bit
17023 integers before using fistpll. Reduce 64-bit values to 63-bit
17025 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17026 divide-by-zero is raised for zero to large negative powers.
17027 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17028 (__ieee754_powl): Test for y outside the range of signed 64-bit
17029 integers before using fistpll. Reduce 64-bit values to 63-bit
17031 * math/libm-test.inc (pow_test): Add more tests.
17033 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17035 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17036 <stdio-common/_itoa.h>.
17037 * debug/segfault.c: Likewise.
17038 * elf/dl-cache.c: Likewise.
17039 * elf/dl-minimal.c: Likewise.
17040 * elf/dl-misc.c: Likewise.
17041 * elf/dl-sysdep.c: Likewise.
17042 * elf/dl-version.c: Likewise.
17043 * elf/rtld.c: Likewise.
17044 * hurd/hurdsock.c: Likewise.
17045 * hurd/lookup-retry.c: Likewise.
17046 * malloc/malloc.c: Likewise.
17047 * malloc/mtrace.c: Likewise.
17048 * nscd/nscd_getgr_r.c: Likewise.
17049 * nscd/nscd_getpw_r.c: Likewise.
17050 * nscd/nscd_getserv_r.c: Likewise.
17051 * posix/getopt_init.c: Likewise.
17052 * posix/wordexp.c: Likewise.
17053 * stdio-common/_itoa.c: Likewise.
17054 * stdio-common/printf_fphex.c: Likewise.
17055 * stdio-common/vfprintf.c: Likewise.
17056 * string/_strerror.c: Likewise.
17057 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17058 * sysdeps/i386/i686/hp-timing.h: Likewise.
17059 * sysdeps/mach/_strerror.c: Likewise.
17060 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17061 * sysdeps/mach/hurd/sethostid.c: Likewise.
17062 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17063 * sysdeps/mach/xpg-strerror.c: Likewise.
17064 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17065 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17066 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17067 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17068 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17069 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17070 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17071 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17072 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17073 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17074 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17075 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17076 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17077 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17078 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17079 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17080 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17081 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17082 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17083 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17084 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17086 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17088 * stdio-common/_itoa.h: Moved to ...
17089 * sysdeps/generic/_itoa.h: Here.
17091 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17093 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17094 instead of "_itoa.h" and "_itowa.h".
17095 * stdio-common/vfprintf.: Likewise.
17097 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17099 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17101 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17102 (__signbit): Likwise.
17103 (llrintf): Likwise.
17106 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17108 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17111 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17113 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17114 OVERFLOW_EXCEPTION_OK.
17115 * math/libm-test.inc ("Philosophy"): Update comment about
17117 (OVERFLOW_EXCEPTION): Define.
17118 (OVERFLOW_EXCEPTION_OK): Likewise.
17119 (INVALID_EXCEPTION_OK): Renumber.
17120 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17121 (IGNORE_ZERO_INF_SIGN): Likewise.
17122 (test_exceptions): Handle FE_OVERFLOW.
17123 (exp10_test): Expect overflow exceptions.
17124 (exp2_test): Likewise.
17125 (expm1_test): Likewise.
17126 (nextafter_test): Likewise.
17127 (pow_test): Likewise.
17128 (scalbn_test): Likewise.
17129 (scalbln_test): Likewise.
17131 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17133 * sysdeps/x86_64/bits/atomic.h
17134 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17136 (atomic_exchange_acq): Likewise.
17137 (__arch_exchange_and_add_body): Likewise.
17138 (__arch_add_body): Likewise.
17139 (atomic_add_negative): Likewise.
17140 (atomic_add_zero): Likewise.
17142 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17144 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17145 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17147 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17149 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17150 Check __x86_64__ instead of __WORDSIZE.
17152 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17154 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17156 2012-03-19 David S. Miller <davem@davemloft.net>
17158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17160 * sysdeps/sparc/fpu/fenv_private.h: New file.
17161 * sysdeps/sparc/fpu/math_private.h: Use it.
17162 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17164 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17165 (libc_feholdexcept_setroundl): Remove.
17166 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17168 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17169 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17171 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17173 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17174 int64_t instead of long int.
17175 (INSERT_WORDS64): Likwise.
17177 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17179 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17180 _Unwind_GetCFA return to _Unwind_Ptr first.
17182 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17185 * math/s_clog.c: Include <float.h>.
17186 (__clog): Scale large or subnormal inputs.
17187 * math/s_clogf.c: Likewise.
17188 * math/s_clogl.c: Likewise.
17189 * math/s_clog10.c: Include <float.h>.
17190 (M_LOG10_2): Define.
17191 (__clog10): Scale large or subnormal inputs.
17192 * math/s_clog10f.c: Likewise.
17193 * math/s_clog10l.c: Likewise.
17194 * math/libm-test.inc (clog_test): Add more tests.
17195 (clog10_test): Likewise.
17196 * sysdeps/i386/fpu/libm-test-ulps: Update.
17197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17200 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17202 * math/libm-test.inc (atan2_test): Add another test.
17204 * Makerules (common-objdir-compile): Remove.
17205 * sysdeps/unix/Makefile (config-generated): Do not add
17206 $(unix-generated) to variable.
17207 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17208 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17210 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17212 [generic bits/local_lim.h] (before-compile): Do not append to
17214 [generic bits/local_lim.h] (common-generated): Likewise.
17215 [generic sys/param.h] (before-compile): Do not append to variable.
17216 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17217 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17218 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17219 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17221 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17222 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17223 [generic sys/param.h] ($(addprefix
17224 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17225 [generic sys/param.h] (common-generated): Do not append to
17227 [generic sys/param.h] (sysdep_headers): Likewise.
17228 [generic bits/errno.h] (before-compile): Do not append to
17230 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17232 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17233 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17234 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17235 [generic bits/errno.h] (common-generated): Do not append to
17237 [generic bits/ioctls.h] (before-compile): Do not append to
17239 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17241 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17242 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17243 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17245 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17246 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17247 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17248 [generic bits/ioctls.h] (common-generated): Do not append to
17250 [generic sys/syscall.h] (syscall.h): Remove variable.
17251 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17253 [generic sys/syscall.h] (before-compile): Do not append to
17255 [generic sys/syscall.h] (common-generated): Likewise.
17256 * sysdeps/unix/errnos-tmpl.c: Remove file.
17257 * sysdeps/unix/errnos.awk: Likewise.
17258 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17259 * sysdeps/unix/ioctls.awk: Likewise.
17260 * sysdeps/unix/mk-local_lim.c: Likewise.
17261 * sysdeps/unix/snarf-ioctls: Likewise.
17263 2012-03-19 Richard Henderson <rth@twiddle.net>
17265 * sysdeps/i386/fpu/fenv_private.h: New file.
17266 * sysdeps/i386/fpu/math_private.h: Use it.
17267 (math_opt_barrier, math_force_eval): Remove.
17268 (libc_feholdexcept_setround_53bit): Remove.
17269 (libc_feupdateenv_53bit): Remove.
17270 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17271 (math_opt_barrier, math_force_eval): Remove.
17272 (libc_feholdexcept): Remove.
17273 (libc_feholdexcept_setround): Remove.
17274 (libc_fetestexcept, libc_fesetenv): Remove.
17275 (libc_feupdateenv_test): Remove.
17276 (libc_feupdateenv, libc_feholdsetround): Remove.
17277 (libc_feresetround): Remove.
17279 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17280 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17282 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17283 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17284 (libc_feupdateenv_testl): New.
17285 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17286 (libc_feupdateenv_testf): New.
17287 (libc_feupdateenv): Use libc_feupdateenv_test.
17288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17289 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17291 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17292 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17293 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17294 (libc_feresetround_noex): New.
17295 (libc_feresetround_noexf): New.
17296 (libc_feresetround_noexl): New.
17297 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17298 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17299 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17300 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17303 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17305 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17306 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17307 SET_RESTORE_ROUND_NOEX.
17308 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17309 SET_RESTORE_ROUND_NOEXF.
17310 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17311 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17312 (libc_feholdsetroundf): New.
17313 (libc_feresetround, libc_feresetroundf): New.
17315 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17316 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17317 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17319 * sysdeps/generic/math_private.h: Include <fenv.h>.
17320 (default_libc_feholdexcept): New.
17321 (default_libc_feholdexcept_setround): New.
17322 (default_libc_fesetenv, default_libc_feupdateenv): New.
17323 (libc_feholdexcept): Only define if undefined.
17324 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17325 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17326 (libc_feholdexcept_setroundl): Likewise.
17327 (libc_feholdexcept_setround_53bit): Likewise.
17328 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17329 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17330 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17331 (libc_feupdateenv_53bit): Likewise.
17332 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17333 (libc_feholdexcept): Convert from macro to inline function.
17334 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17335 (libc_fesetenv, libc_feupdateenv): Likewise.
17337 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17338 not previously defined.
17339 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17340 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17341 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17342 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17343 * sysdeps/ieee754/flt-32/math_private.h: New file.
17344 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17345 math_private.h below SET_FLOAT_WORD.
17346 (__isnan, __isinf_ns, __finite): Remove.
17347 (__isnanf, __isinf_nsf, __finitef): Remove.
17349 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17353 2012-03-17 David S. Miller <davem@davemloft.net>
17356 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17359 2012-03-16 David S. Miller <davem@davemloft.net>
17361 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17365 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17367 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17368 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17369 sysdep_routines when subdir is sysvipc.
17370 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17371 __getshmlba helper.
17373 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17375 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17377 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17380 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17382 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17383 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17384 (__lround): Renamed to ...
17385 (__llround): This. Replace long int with long long int.
17386 Define lround functions as aliases of llround functions.
17387 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17389 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17391 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17392 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17393 adresses to uintptr_t. Replace "long int" and "unsigned long
17394 int" with "greg_t" on va_arg.
17396 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17398 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17399 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17401 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17402 Move e_machine check before EI_CLASS check. Handle x32
17403 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17404 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17405 SKIP_EM_IA_64 and include
17406 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17408 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17409 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17410 (add_system_dir): New macro.
17412 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17413 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17415 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17426 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17428 * math/w_j0f.c (j0f): Likewise.
17430 * math/w_j0l.c (__j0l): Likewise.
17432 * math/w_j1.c (j1): Likewise.
17434 * math/w_j1f.c (j1f): Likewise.
17436 * math/w_j1l.c (__j1l): Likewise.
17438 * math/w_jn.c (jn): Likewise.
17440 * math/w_jnf.c (jnf): Likewise.
17442 * math/w_jnl.c (__jnl): Likewise.
17444 * math/libm-test.inc (j0_test): Add more tests.
17445 (j1_test): Likewise.
17446 (jn_test): Likewise. Add trailing semicolon to existing test.
17447 (y0_test): Likewise.
17448 (y1_test): Likewise.
17449 * sysdeps/i386/fpu/libm-test-ulps: Update.
17450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17454 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17455 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17456 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17457 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17458 (__tanl): Set errno for infinite argument.
17459 * sysdeps/i386/fpu/mptan.c: Remove.
17460 * sysdeps/i386/fpu/s_tan.S: Likewise.
17461 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17462 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17463 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17464 * math/libm-test.inc (tan_test): Add more tests and enable more
17465 tests for double and long double.
17466 * sysdeps/i386/fpu/libm-test-ulps: Update.
17467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17469 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17471 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17472 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17474 2012-03-16 Roland McGrath <roland@hack.frob.com>
17476 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17477 * configure.in: Use it for both main tree and add-ons.
17478 * configure: Regenerated.
17480 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17482 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17484 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17486 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17490 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17491 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17492 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17496 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17497 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17498 != 0 for prec == 2.
17499 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17500 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17501 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17502 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17503 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17504 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17505 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17506 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17507 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17508 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17509 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17510 * math/libm-test.inc (cos_test): Add more tests and enable more
17511 tests for long double.
17512 (sin_test): Likewise.
17513 (sincos_test): Likewise.
17514 * sysdeps/i386/fpu/libm-test-ulps: Update.
17515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17517 2012-03-16 David S. Miller <davem@davemloft.net>
17519 * sysdeps/sparc/fpu/math_private.h: New file.
17521 2012-03-15 David S. Miller <davem@davemloft.net>
17523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17537 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17538 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17540 * sysdeps/sparc/sparc-ifunc.h: New file.
17541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17583 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17584 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17586 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17588 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17592 2012-03-15 Andreas Jaeger <aj@suse.de>
17595 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17596 ieee754/flt-32 implementation for sin, cos and sincos.
17597 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17598 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17599 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17600 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17601 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17602 ieee754/flt-32 implementation for tan.
17604 * math/libm-test.inc (cos_test): Enable some large input tests for
17606 (sin_test): Likewise.
17607 (sincos_test): Likewise.
17608 (tan_test): Add tests for large input.
17610 * sysdeps/i386/fpu/libm-test-ulps: Update.
17612 2012-03-15 Andreas Jaeger <aj@suse.de>
17615 * math/libm-test.inc (cos_test): Add more test cases.
17616 (sin_test): Likewise.
17617 (sincos_test): Likewise.
17619 2012-03-15 Andreas Jaeger <aj@suse.de>
17622 * math/libm-test.inc (cos_test): Add a test case for large input
17624 (sin_test): Likewise.
17625 (sincos_test): Likewise.
17627 2012-03-15 Andreas Jaeger <aj@suse.de>,
17628 Joseph Myers <joseph@codesourcery.com>
17631 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17632 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17633 * sysdeps/i386/fpu/branred.c: Likewise.
17634 * sysdeps/i386/fpu/dosincos.c: Likewise.
17635 * sysdeps/i386/fpu/mpa.c: Likewise.
17636 * sysdeps/i386/fpu/s_cos.S: Likewise.
17637 * sysdeps/i386/fpu/s_sin.S: Likewise.
17638 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17639 * sysdeps/i386/fpu/sincos32.c: Likewise.
17641 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17643 (libc_feupdateenv_53bit): Define.
17644 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17646 (libc_feupdateenv_53bit): Define.
17648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17649 53 bit (without extend i386 double precision).
17651 * math/libm-test.inc (sincos_test): Add tests for large input.
17655 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17657 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17661 2012-03-15 David S. Miller <davem@davemloft.net>
17663 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17664 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17665 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17666 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17691 fmin/fmax sysdep routines.
17692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17694 2012-03-14 David S. Miller <davem@davemloft.net>
17696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17768 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17773 * sysdeps/sparc/configure.in: New file.
17774 * sysdeps/sparc/configure: Generate.
17775 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17776 * configure: Regenerate.
17777 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17778 * config.make.in (have-as-vis3): New.
17779 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17780 available use -Av9d instead of -Av9a.
17781 * sysdeps/sparc/sparc64/Makefile: Likewise.
17782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17791 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17797 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17798 fzeros/fnegs to load 0x80000000 into a float register instead of
17800 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17802 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17806 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17807 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17808 ($(inst_includedir)/bits/syscall.h): Remove rule.
17809 ($(objpfx)bits/syscall.d): Include instead of
17810 $(objpfx)syscall-list.d.
17811 (generated): Change syscall-list.h and syscall-list.d to
17812 bits/syscall.h and bits/syscall.d.
17814 2012-03-14 Roland McGrath <roland@hack.frob.com>
17817 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17819 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17822 * math/s_csqrt.c: Include <float.h>.
17823 (__csqrt): Scale large or subnormal inputs.
17824 * math/s_csqrtf.c: Likewise.
17825 * math/s_csqrtl.c: Likewise.
17826 * math/libm-test.inc (csqrt_test): Add more tests.
17827 * sysdeps/i386/fpu/libm-test-ulps: Update.
17828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17831 * math/libm-test.inc (hypot_test): Add more tests.
17833 2012-03-13 David S. Miller <davem@davemloft.net>
17836 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17837 double-precision for the calculation instead of scaling.
17839 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17841 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17842 manipulate bits before adding and subtracting TWO52[sx].
17843 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17844 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17846 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17848 2012-03-13 David S. Miller <davem@davemloft.net>
17850 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17851 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17852 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17853 rtld-global-offsets.h
17854 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17856 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17859 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17861 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17862 'err' in the ifdef scope in which it is actually used.
17864 * nss/nss_db/db-init.c: Include string.h
17866 2012-03-12 David S. Miller <davem@davemloft.net>
17868 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17869 masking out of the most significant byte of random value used.
17870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17871 Fix coding style in previous change.
17873 * sysdeps/unix/sysv/linux/kernel-features.h
17874 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17875 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17877 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17880 2012-03-11 David S. Miller <davem@davemloft.net>
17882 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17883 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17884 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17885 for 'resultvar' otherwise things get truncated on 64-bit.
17887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17888 Fix masking out of the most significant byte of random value used.
17890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17892 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17896 2012-03-09 David S. Miller <davem@davemloft.net>
17898 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17899 variables with appropriate CPP guards.
17900 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17901 frame pointer, not the stack pointer. Correct layout comments. Fix test
17902 on resulting framesize and the management of the outregs buffer for pltexit.
17903 Preserve floating point return values across _dl_call_pltexit call.
17904 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17905 framesize and the management of the outregs buffer for pltexit.
17906 Preserve floating point return values across _dl_call_pltexit
17908 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17909 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17910 (print_exit): Fix format string for return register value.
17912 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17914 * sunrpc/Makefile (others): Add rpcgen.
17915 ($(objpfx)rpcgen): Remove special build rule and dependency on
17917 * sunrpc/rpcgen.c: New file.
17919 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17922 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17923 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17924 * sysdeps/i386/crti.S: Likewise.
17925 * sysdeps/i386/crtn.S: Likewise.
17926 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17927 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17928 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17929 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17930 * sysdeps/sh/crti.S: Likewise.
17931 * sysdeps/sh/crtn.S: Likewise.
17932 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17935 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17937 * locale/programs/locfile-kw.gperf: Likewise.
17938 * locale/programs/charmap-kw.h: Regenerated.
17939 * locale/programs/locfile-kw.h: Likewise.
17942 * intl/plural.y: Replace FSF snail mail address with URL.
17943 * intl/plural.c: Regenerated.
17945 2012-03-09 Richard Henderson <rth@twiddle.net>
17947 * include/math_private.h: Remove file.
17948 * math/math_private.h: Move file ...
17949 * sysdeps/generic/math_private.h: ... here.
17951 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17952 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17953 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17955 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17956 and <math_private.h>.
17957 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17958 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17959 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17960 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17961 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18045 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18046 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18047 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18048 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18049 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18050 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18051 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18052 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18053 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18054 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18055 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18056 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18057 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18058 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18059 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18060 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18061 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18062 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18063 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18064 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18065 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18066 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18067 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18068 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18069 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18070 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18071 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18072 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18073 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18074 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18075 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18076 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18077 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18078 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18079 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18080 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18081 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18082 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18083 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18084 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18085 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18086 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18087 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18088 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18092 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18094 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18095 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18096 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18097 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18099 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18100 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18101 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18103 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18105 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18106 * sysdeps/ieee754/k_standard.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18116 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18117 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18222 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18226 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18227 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18229 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18234 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18255 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18256 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18257 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18267 * sysdeps/ieee754/s_lib_version.c: Likewise.
18268 * sysdeps/ieee754/s_matherr.c: Likewise.
18269 * sysdeps/ieee754/s_signgam.c: Likewise.
18270 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18271 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18272 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18273 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18274 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18275 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18276 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18277 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18278 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18279 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18280 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18281 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18282 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18283 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18284 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18285 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18286 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18287 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18288 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18292 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18294 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18295 * sunrpc/rpc_main.c: Likewise.
18296 * sunrpc/rpc_svcout.c: Likewise.
18298 2012-03-09 David S. Miller <davem@davemloft.net>
18300 * include/math_private.h: New file.
18302 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18304 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18305 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18306 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18307 from <bits/socket_type.h>.
18308 (enum __socket_type): Don't define here.
18309 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18311 bits/socket_type.h.
18314 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18315 checking __USE_GNU.
18317 * Makerules ($(inst_includedir)/%.h): New rule.
18318 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18319 (install-others): Remove variable setting.
18320 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18322 2012-03-08 Richard Henderson <rth@twiddle.net>
18324 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18325 from macro to inline function; merge with the
18326 !__LIBC_INTERNAL_MATH_INLINES version.
18327 (__ieee754_sqrtf): Likewise.
18329 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18330 to inline function.
18331 (__rintf, __floor, __floorf): Likewise.
18333 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18334 macro to inline function.
18335 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18337 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18338 not <math/math_private.h>.
18340 2012-03-08 David S. Miller <davem@davemloft.net>
18342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18344 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18346 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18348 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18350 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18351 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18353 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18355 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18356 be defined individually, they must be defined as a block. Define
18357 S for printing a string instead of hidint the different by using a
18358 macro for adding the 'l'.
18359 * stdio-common/tst-fphex-wide.c: Adjust.
18361 2012-03-07 Marek Polacek <polacek@redhat.com>
18363 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18365 2012-03-08 Marek Polacek <polacek@redhat.com>
18368 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18369 * stdio-common/tst-fphex.c: Define a few macros to make the
18370 test reusable. Use them.
18371 * stdio-common/tst-fphex-wide.c: New file.
18373 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18376 * manual/macros.texi (gnusystems): New macro.
18377 (nongnusystems): Likewise.
18378 (gnulinuxhurdsystems): Likewise.
18379 (gnuhurdsystems): Likewise..
18380 (gnulinuxsystems): Likewise.
18381 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18382 variants of the GNU system, not "GNU system".
18383 * manual/conf.texi: Likewise.
18384 * manual/errno.texi: Likewise. Update example of errno macro
18386 * manual/filesys.texi: Likewise.
18387 (getumask): Document as specific to GNU/Hurd.
18388 * manual/install.texi: Likewise. Reword some references to
18390 * manual/intro.texi: Likewise.
18391 * manual/io.texi: Likewise.
18392 (File Name Portability): Detail which constraints are inapplicable
18393 to all GNU systems and which are only inapplicable to GNU/Hurd.
18394 * manual/job.texi: Likewise.
18395 * manual/llio.texi: Likewise.
18396 (O_NOCTTY): Document as present on GNU/Linux.
18397 * manual/maint.texi: Likewise.
18398 * manual/memory.texi: Likewise.
18399 * manual/pattern.texi: Likewise.
18400 * manual/pipe.texi: Likewise.
18401 * manual/process.texi: Likewise.
18402 * manual/resource.texi: Likewise.
18403 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18405 * manual/setjmp.texi: Likewise.
18406 * manual/signal.texi: Likewise.
18407 * manual/startup.texi: Likewise.
18408 * manual/stdio.texi: Likewise.
18409 * manual/terminal.texi: Likewise.
18410 (ONLCR): Document as POSIX.
18411 (OXTABS): Document availability on GNU/Linux as XTABS.
18412 (ONOEOT): Document availability separately from other bits.
18413 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18414 * manual/time.texi: Likewise.
18415 * manual/users.texi: Likewise.
18416 * INSTALL: Regenerated.
18417 * sysdeps/gnu/errlist.c: Regenerated.
18419 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18420 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18421 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18423 * configure: Regenerated.
18425 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18427 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18428 default includes instead of AC_HEADER_CHECK.
18429 * sysdeps/i386/configure: Regenerated.
18432 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18433 * math/s_cacoshf.c (__cacoshf): Likewise.
18434 * math/s_cacoshl.c (__cacoshl): Likewise.
18435 * math/s_casinh.c (__casinh): Set signs of result from argument.
18436 * math/s_casinhf.c (__casinhf): Likewise.
18437 * math/s_casinhl.c (__casinhl): Likewise.
18438 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18439 (casinh_test): Add more tests.
18440 * sysdeps/i386/fpu/libm-test-ulps: Update.
18441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18443 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18445 * po/zh_TW.po: Update from translation team.
18447 * login/Makefile (distribute): Remove variable.
18448 * catgets/Makefile: Likewise.
18449 * mach/Makefile: Likewise.
18450 * malloc/Makefile: Likewise.
18451 * misc/Makefile: Likewise.
18452 * iconv/Makefile: Likewise.
18453 * nscd/Makefile: Likewise.
18454 * hurd/Makefile: Likewise.
18455 * manual/Makefile: Likewise.
18456 * locale/Makefile: Likewise.
18457 * intl/Makefile: Likewise.
18458 * conform/Makefile: Likewise.
18459 * nss/Makefile: Likewise.
18460 * time/Makefile: Likewise.
18461 * soft-fp/Makefile: Likewise.
18462 * dirent/Makefile: Likewise.
18463 * gmon/Makefile: Likewise.
18464 * po/Makefile: Likewise.
18465 * rt/Makefile: Likewise.
18466 * socket/Makefile: Likewise.
18467 * math/Makefile: Likewise.
18468 * signal/Makefile: Likewise.
18469 * debug/Makefile: Likewise.
18470 * elf/Makefile: Likewise.
18471 * timezone/Makefile: Likewise.
18472 * stdlib/Makefile: Likewise.
18473 * iconvdata/Makefile: Likewise.
18474 * sunrpc/Makefile: Likewise.
18475 * io/Makefile: Likewise.
18476 * argp/Makefile: Likewise.
18477 * inet/Makefile: Likewise.
18478 * hesiod/Makefile: Likewise.
18479 * grp/Makefile: Likewise.
18480 * csu/Makefile: Likewise.
18481 * wctype/Makefile: Likewise.
18482 * crypt/Makefile: Likewise.
18483 * libio/Makefile: Likewise.
18484 * string/Makefile: Likewise.
18485 * nis/Makefile: Likewise.
18486 * resolv/Makefile: Likewise.
18487 * stdio-common/Makefile: Likewise.
18488 * wcsmbs/Makefile: Likewise.
18489 * dlfcn/Makefile: Likewise.
18490 * posix/Makefile: Likewise.
18493 * timezone/Makefile: Don't install timezone files, just the programs
18496 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18498 * nss/databases.def: Add missing gshadow entry.
18500 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18502 2012-03-06 Marek Polacek <polacek@redhat.com>
18505 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18506 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18507 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18508 * stdio-common/tst-long-dbl-fphex.c: New file.
18510 2012-03-06 David S. Miller <davem@davemloft.net>
18512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18513 (set_obp_int): New function.
18514 (get_obp_int): New function.
18515 (__get_clockfreq_via_dev_openprom): Likewise.
18516 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18517 Avoid unused variable warnings on 'val' and use builtin_expect.
18518 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18520 (INLINE_CLONE_SYSCALL): Likewise.
18522 2012-03-05 David S. Miller <davem@davemloft.net>
18524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18526 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18531 only for |x| >= 40.
18532 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18534 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18536 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18537 Replace gettimeofday with __vdso_gettimeofday.
18539 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18540 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18541 __vdso_clock_gettime and __vdso_getcpu.
18543 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18544 time with __vdso_time.
18546 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18548 * manual/lang.texi (size_t): Note types to which size_t may be
18549 equivalent with the GNU C Library, but do not describe when
18550 differences between them are significant.
18552 2012-03-05 Andreas Jaeger <aj@suse.de>
18554 * sysdeps/i386/fpu/libm-test-ulps: Update.
18556 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18559 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18560 (__ieee754_pow): Save and restore rounding mode and use
18561 round-to-nearest for main computations.
18562 * math/libm-test.inc (pow_test_tonearest): New function.
18563 (pow_test_towardzero): Likewise.
18564 (pow_test_downward): Likewise.
18565 (pow_test_upward): Likewise.
18566 (main): Call the new functions.
18567 * sysdeps/i386/fpu/libm-test-ulps: Update.
18568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18571 * math/libm-test.inc (cosh_test_tonearest): New function.
18572 (cosh_test_towardzero): Likewise.
18573 (cosh_test_downward): Likewise.
18574 (cosh_test_upward): Likewise.
18575 (sinh_test_tonearest): Likewise.
18576 (sinh_test_towardzero): Likewise.
18577 (sinh_test_downward): Likewise.
18578 (sinh_test_upward): Likewise.
18579 (main): Call the new functions.
18580 * sysdeps/i386/fpu/libm-test-ulps: Update.
18581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18583 2012-03-05 Tom de Vries <tom@codesourcery.com>
18585 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18586 default stack guard is set in last bytes.
18587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18589 2012-03-05 Kees Cook <keescook@chromium.org>
18591 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18594 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18595 possibly allocate from heap instead of stack.
18596 * stdio-common/bug-vfprintf-nargs.c: New file.
18597 * stdio-common/Makefile (tests): Add nargs overflow test.
18599 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18603 2012-03-03 Marek Polacek <polacek@redhat.com>
18605 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18606 * math/math_private.h: Likewise.
18607 * stdlib/tst-strtod.c: Likewise.
18608 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18609 * sysdeps/x86_64/bits/atomic.h: Likewise.
18611 2012-03-02 David S. Miller <davem@davemloft.net>
18613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18617 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18618 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18619 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18620 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18622 2012-03-02 Roland McGrath <roland@hack.frob.com>
18625 * manual/examples/README: New file, says the example source files
18626 can be used under GPL>=2.
18627 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18628 line containing just "*/".
18629 * manual/examples/add.c: Add copyright header (GPL>=2).
18630 * manual/examples/argp-ex1.c: Likewise.
18631 * manual/examples/argp-ex2.c: Likewise.
18632 * manual/examples/argp-ex3.c: Likewise.
18633 * manual/examples/argp-ex4.c: Likewise.
18634 * manual/examples/atexit.c: Likewise.
18635 * manual/examples/db.c: Likewise.
18636 * manual/examples/dir.c: Likewise.
18637 * manual/examples/dir2.c: Likewise.
18638 * manual/examples/execinfo.c: Likewise.
18639 * manual/examples/filecli.c: Likewise.
18640 * manual/examples/filesrv.c: Likewise.
18641 * manual/examples/fmtmsgexpl.c: Likewise.
18642 * manual/examples/genpass.c: Likewise.
18643 * manual/examples/inetcli.c: Likewise.
18644 * manual/examples/inetsrv.c: Likewise.
18645 * manual/examples/isockad.c: Likewise.
18646 * manual/examples/longopt.c: Likewise.
18647 * manual/examples/memopen.c: Likewise.
18648 * manual/examples/memstrm.c: Likewise.
18649 * manual/examples/mkfsock.c: Likewise.
18650 * manual/examples/mkisock.c: Likewise.
18651 * manual/examples/mygetpass.c: Likewise.
18652 * manual/examples/pipe.c: Likewise.
18653 * manual/examples/popen.c: Likewise.
18654 * manual/examples/rprintf.c: Likewise.
18655 * manual/examples/search.c: Likewise.
18656 * manual/examples/select.c: Likewise.
18657 * manual/examples/setjmp.c: Likewise.
18658 * manual/examples/sigh1.c: Likewise.
18659 * manual/examples/sigusr.c: Likewise.
18660 * manual/examples/stpcpy.c: Likewise.
18661 * manual/examples/strdupa.c: Likewise.
18662 * manual/examples/strftim.c: Likewise.
18663 * manual/examples/strncat.c: Likewise.
18664 * manual/examples/subopt.c: Likewise.
18665 * manual/examples/swapcontext.c: Likewise.
18666 * manual/examples/termios.c: Likewise.
18667 * manual/examples/testopt.c: Likewise.
18668 * manual/examples/testpass.c: Likewise.
18669 * manual/examples/timeval_subtract.c: Likewise.
18672 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18674 * manual/timeval_subtract.c.texi: ... here, new file.
18676 2012-03-02 David S. Miller <davem@davemloft.net>
18678 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18680 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18683 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18684 (__sin): Save and restore rounding mode and use round-to-nearest
18685 for all computations.
18686 (__cos): Save and restore rounding mode and use round-to-nearest
18687 for all computations.
18688 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18690 (tan): Save and restore rounding mode and use round-to-nearest for
18692 * math/libm-test.inc (cos_test_tonearest): New function.
18693 (cos_test_towardzero): Likewise.
18694 (cos_test_downward): Likewise.
18695 (cos_test_upward): Likewise.
18696 (sin_test_tonearest): Likewise.
18697 (sin_test_towardzero): Likewise.
18698 (sin_test_downward): Likewise.
18699 (sin_test_upward): Likewise.
18700 (tan_test_tonearest): Likewise.
18701 (tan_test_towardzero): Likewise.
18702 (tan_test_downward): Likewise.
18703 (tan_test_upward): Likewise.
18704 (main): Call the new functions.
18705 * sysdeps/i386/fpu/libm-test-ulps: Update.
18706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18709 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18710 small n, then large n, before computing and testing k+n.
18711 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18712 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18714 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18716 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18717 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18718 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18719 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18720 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18721 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18722 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18723 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18724 * math/libm-test.inc (scalbn_test): Add more tests.
18725 (scalbln_test): Likewise.
18727 * manual/filesys.texi (mode_t): Describe constraints on size and
18728 signedness, not exact equivalence to a particular type.
18730 (ino64_t): Likewise.
18732 (nlink_t): Likewise.
18733 (blkcnt_t): Likewise.
18734 (blkcnt64_t): Likewise.
18735 * manual/llio.texi (off_t): Likewise.
18738 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18739 (__ieee754_exp): Save and restore rounding mode and use
18740 round-to-nearest for all computations.
18741 * math/libm-test.inc (exp_test_tonearest): New function.
18742 (exp_test_towardzero): Likewise.
18743 (exp_test_downward): Likewise.
18744 (exp_test_upward): Likewise.
18745 (main): Call the new functions.
18746 * sysdeps/i386/fpu/libm-test-ulps: Update.
18747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18749 2012-03-01 Chris Demetriou <cgd@google.com>
18751 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18752 have predictable order.
18754 2012-03-01 David S. Miller <davem@davemloft.net>
18756 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18758 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18759 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18760 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18761 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18763 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18764 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18765 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18767 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18768 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18769 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18770 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18771 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18775 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18776 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18777 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18779 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18780 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18781 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18782 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18783 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18786 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18787 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18788 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18789 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18790 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18792 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18793 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18795 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18796 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18797 * sysdeps/sparc/elf/configure: Regenerated.
18799 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18801 * configure.in (AS, LD): Require binutils 2.20 or later.
18802 * configure: Regenerated.
18803 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18804 as required minimum version.
18805 * INSTALL: Regenerated.
18809 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18810 before squaring exponent.
18811 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18812 bottom long double and 27 bits of top long double before squaring
18814 * math/libm-test.inc (erfc_test): Add more tests.
18815 * sysdeps/i386/fpu/libm-test-ulps: Update.
18816 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18819 2012-03-01 Kai Tietz <ktietz@redhat.com>
18821 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18822 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18823 containing bit-fields.
18824 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18825 * soft-fp/single.h (_FP_UNION_S): Likewise.
18826 * soft-fp/double.h (_FP_UNION_D): Likewise.
18828 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18831 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18832 not include ../strcmp.S.
18833 [USE_AS_STRNCASECMP_L]: Likewise.
18834 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18835 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18836 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18837 (__strncasecmp_l_ia32): Define as alias to
18838 __strncasecmp_l_nonascii.
18841 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18842 * sysdeps/i386/fpu/libm-test-ulps: Update.
18843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18845 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18848 2012-02-29 Jeff Law <law@redhat.com>
18850 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18851 out of bounds read.
18853 2012-02-29 Marek Polacek <polacek@redhat.com>
18856 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18857 * elf/Makefile: Add rules to run tst-unused-dep.out.
18859 2012-02-28 David S. Miller <davem@davemloft.net>
18861 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18862 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18865 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18866 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18868 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18870 * math/libm-test.inc (llround_test): Move one test from
18871 lround_test. Use TEST_f_L in moved test.
18872 (lround_test): Move misplaced test to llround_test. Add testcase
18875 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18877 * sysdeps/x86_64/fpu/e_expf.S: New file.
18878 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18880 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18883 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18884 of remain_len that may cause incomplete multi-byte character and
18886 * posix/bug-regex33.c: New file.
18887 * posix/Makefile (tests): Add bug-regex33.
18889 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18891 * manual/macros.texi: New file.
18892 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18893 * manual/libc.texinfo: Include macros.texi.
18894 * manual/creatute.texi: Likewise.
18895 * manual/install.texi: Likewise.
18896 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18897 @glibcadj{} in references to the GNU C Library.
18898 * manual/charset.texi: Likewise.
18899 * manual/conf.texi: Likewise.
18900 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18901 when not using those macros.
18902 * manual/creature.texi: Likewise.
18903 * manual/crypt.texi: Likewise.
18904 * manual/errno.texi: Likewise.
18905 * manual/filesys.texi: Likewise.
18906 * manual/header.texi: Likewise.
18907 * manual/install.texi: Likewise.
18908 * manual/intro.texi: Likewise.
18909 * manual/io.texi: Likewise.
18910 * manual/job.texi: Likewise.
18911 * manual/lang.texi: Likewise.
18912 * manual/libc.texiinfo: Likewise.
18913 * manual/llio.texi: Likewise.
18914 * manual/locale.texi: Likewise.
18915 * manual/maint.texi: Likewise.
18916 * manual/math.texi: Likewise.
18917 * manual/memory.texi: Likewise.
18918 * manual/message.texi: Likewise.
18919 * manual/nss.texi: Likewise.
18920 * manual/pattern.texi: Likewise.
18921 * manual/process.texi: Likewise.
18922 * manual/resource.texi: Likewise.
18923 * manual/search.texi: Likewise.
18924 * manual/setjmp.texi: Likewise.
18925 * manual/signal.texi: Likewise.
18926 * manual/socket.texi: Likewise.
18927 * manual/startup.texi: Likewise.
18928 * manual/stdio.texi: Likewise.
18929 * manual/string.texi: Likewise.
18930 * manual/sysinfo.texi: Likewise.
18931 * manual/syslog.texi: Likewise.
18932 * manual/terminal.texi: Likewise.
18933 * manual/time.texi: Likewise.
18934 * manual/users.texi: Likewise.
18935 * INSTALL: Regenerated.
18936 * NOTES: Regenerated.
18937 * sysdeps/gnu/errlist.c: Regenerated.
18939 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18941 * include/dirent.h: Include <dirstream.h> before
18944 2012-02-28 David S. Miller <davem@davemloft.net>
18946 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18947 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18948 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18949 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18951 2012-02-27 David S. Miller <davem@davemloft.net>
18953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18955 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18956 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18959 frame pointer instead of stack pointer relative arg slot.
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18961 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18962 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18964 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18967 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18969 2012-02-27 David S. Miller <davem@davemloft.net>
18971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18975 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18976 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18977 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18978 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18980 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18982 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18983 later. Allow versions 5-9.
18984 * configure: Regenerated.
18985 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18986 required minimum version and 4.6 as recommended version. Do not
18987 mention bugs in GCC 2.7 and 2.8.
18988 * INSTALL: Regenerated.
18990 2012-02-27 David S. Miller <davem@davemloft.net>
18992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18996 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18997 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18998 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18999 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19001 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19002 manipulate bits before adding and subtracting TWO112[sx].
19003 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19005 2012-02-27 Roland McGrath <roland@hack.frob.com>
19008 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19009 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19010 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19011 being in POSIX, because they are in 1003.1-2008.
19013 * rt/tst-aio.c: Include <fcntl.h>.
19014 * rt/tst-aio7.c: Likewise.
19015 * rt/tst-aio64.c: Likewise.
19017 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19019 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19021 * manual/install.texi (--with-headers): Describe headers as
19022 interface headers, not private headers.
19023 (Specific advice for GNU/Linux systems): Describe use of headers
19024 from "make headers_install", not private headers from older
19026 * INSTALL: Regenerated.
19027 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19029 * sysdeps/unix/sysv/linux/configure: Regenerated.
19031 * manual/llio.texi (fclean): Remove documentation.
19033 * manual/Makefile (libc-texi-generated): New variable. Include
19035 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19036 $(libc-texi-generated), not duplicated list of files.
19037 (version.texi, stamp-version): New rules.
19038 (realclean): Remove $(libc-texi-generated), not individual files
19039 from that list. Do not remove dir-add.texinfo.
19040 * manual/libc.texinfo: Comment out uses of edition numbers and
19041 references to printed manual. Remove last-updated dates.
19042 (EDITION): Comment out.
19044 (VERSION, UPDATED): Remove.
19045 (version.texi): Include.
19047 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19049 * sysdeps/posix/spawni.c: Include <signal.h>.
19050 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19051 * sysdeps/pthread/aio_fsync.c: Likewise.
19053 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19055 * conform/Makefile (tests): Run only when not cross-compiling and
19056 when fast-check is not defined.
19058 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19059 * conform/data/limits.h-data: Fixes for POSIX2008.
19060 * conform/run-conformtest.sh: Run all tests.
19061 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19063 * include/bits/dlfcn.h: Likewise.
19064 * include/langinfo.h: Likewise.
19065 * include/monetary.h: Likewise.
19066 * include/sys/poll.h: Likewise.
19068 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19070 * posix/spawn.h: Define __need_sigset_t.
19071 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19072 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19073 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19074 to get sigevent_t only.
19075 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19076 only for __USE_GNU.
19077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19078 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19079 process_vm_writev only for __USE_GNU.
19080 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19082 * conform/Makefile: For now ignore errors from run-conformtest.
19083 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19084 POSIX to avoid namespace pollution. Don't prepend headers.
19085 * conform/data/aio.h-data: Fixes for POSIX testing.
19086 * conform/data/fcntl.h-data: Likewise.
19087 * conform/data/glob.h-data: Likewise.
19088 * conform/data/grp.h-data: Likewise.
19089 * conform/data/pthread.h-data: Likewise.
19090 * conform/data/pwd.h-data: Likewise.
19091 * conform/data/signal.h-data: Likewise.
19092 * conform/data/spawn.h-data: Likewise.
19093 * conform/data/stdio.h-data: Likewise.
19094 * conform/data/stdlib.h-data: Likewise.
19095 * conform/data/stropts.h-data: Likewise.
19096 * conform/data/sys/mman.h-data: Likewise.
19097 * conform/data/sys/stat.h-data: Likewise.
19098 * conform/data/sys/types.h-data: Likewise.
19099 * conform/data/sys/wait.h-data: Likewise.
19100 * conform/data/time.h-data: Likewise.
19101 * conform/data/unistd.h-data: Likewise.
19102 * conform/data/utime.h-data: Likewise.
19104 * io/sys/stat.h: fchmod was always in POSIX.
19105 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19106 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19107 * rt/aio.h: Define __need_timespec before including <time.h>.
19108 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19109 struct. Add forward declaration of pthread_attr_t and use it in
19111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19112 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19113 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19114 always remove CLK_TCK definition.
19116 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19118 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19120 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19122 * conform/run-conformtest.sh: New file.
19123 * conform/Makefile: Run run-conformtest for tests.
19124 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19127 * conform/data/uchar.h-data: New file.
19128 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19129 * conform/data/arpa/inet.h-data: Likewise.
19130 * conform/data/assert.h-data: Likewise.
19131 * conform/data/complex.h-data: Likewise.
19132 * conform/data/cpio.h-data: Likewise.
19133 * conform/data/ctype.h-data: Likewise.
19134 * conform/data/dirent.h-data: Likewise.
19135 * conform/data/dlfcn.h-data: Likewise.
19136 * conform/data/errno.h-data: Likewise.
19137 * conform/data/fcntl.h-data: Likewise.
19138 * conform/data/float.h-data: Likewise.
19139 * conform/data/fmtmsg.h-data: Likewise.
19140 * conform/data/fnmatch.h-data: Likewise.
19141 * conform/data/ftw.h-data: Likewise.
19142 * conform/data/glob.h-data: Likewise.
19143 * conform/data/grp.h-data: Likewise.
19144 * conform/data/iconv.h-data: Likewise.
19145 * conform/data/inttypes.h-data: Likewise.
19146 * conform/data/langinfo.h-data: Likewise.
19147 * conform/data/libgen.h-data: Likewise.
19148 * conform/data/limits.h-data: Likewise.
19149 * conform/data/locale.h-data: Likewise.
19150 * conform/data/math.h-data: Likewise.
19151 * conform/data/monetary.h-data: Likewise.
19152 * conform/data/mqueue.h-data: Likewise.
19153 * conform/data/ndbm.h-data: Likewise.
19154 * conform/data/net/if.h-data: Likewise.
19155 * conform/data/netdb.h-data: Likewise.
19156 * conform/data/netinet/in.h-data: Likewise.
19157 * conform/data/nl_types.h-data: Likewise.
19158 * conform/data/poll.h-data: Likewise.
19159 * conform/data/pthread.h-data: Likewise.
19160 * conform/data/pwd.h-data: Likewise.
19161 * conform/data/regex.h-data: Likewise.
19162 * conform/data/sched.h-data: Likewise.
19163 * conform/data/search.h-data: Likewise.
19164 * conform/data/semaphore.h-data: Likewise.
19165 * conform/data/setjmp.h-data: Likewise.
19166 * conform/data/signal.h-data: Likewise.
19167 * conform/data/spawn.h-data: Likewise.
19168 * conform/data/stdarg.h-data: Likewise.
19169 * conform/data/stdio.h-data: Likewise.
19170 * conform/data/stdlib.h-data: Likewise.
19171 * conform/data/string.h-data: Likewise.
19172 * conform/data/strings.h-data: Likewise.
19173 * conform/data/stropts.h-data: Likewise.
19174 * conform/data/sys/ipc.h-data: Likewise.
19175 * conform/data/sys/mman.h-data: Likewise.
19176 * conform/data/sys/msg.h-data: Likewise.
19177 * conform/data/sys/resource.h-data: Likewise.
19178 * conform/data/sys/select.h-data: Likewise.
19179 * conform/data/sys/sem.h-data: Likewise.
19180 * conform/data/sys/shm.h-data: Likewise.
19181 * conform/data/sys/socket.h-data: Likewise.
19182 * conform/data/sys/stat.h-data: Likewise.
19183 * conform/data/sys/statvfs.h-data: Likewise.
19184 * conform/data/sys/time.h-data: Likewise.
19185 * conform/data/sys/timeb.h-data: Likewise.
19186 * conform/data/sys/times.h-data: Likewise.
19187 * conform/data/sys/types.h-data: Likewise.
19188 * conform/data/sys/uio.h-data: Likewise.
19189 * conform/data/sys/un.h-data: Likewise.
19190 * conform/data/sys/utsname.h-data: Likewise.
19191 * conform/data/sys/wait.h-data: Likewise.
19192 * conform/data/syslog.h-data: Likewise.
19193 * conform/data/tar.h-data: Likewise.
19194 * conform/data/termios.h-data: Likewise.
19195 * conform/data/utime.h-data: Likewise.
19196 * conform/data/utmpx.h-data: Likewise.
19197 * conform/data/varargs.h-data: Likewise.
19198 * conform/data/wchar.h-data: Likewise.
19199 * conform/data/wctype.h-data: Likewise.
19200 * conform/data/wordexp.h-data: Likewise.
19202 * include/stropts.h: New file.
19203 * include/uchar.h: New file.
19204 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19205 * include/assert.h: Likewise.
19206 * include/ctype.h: Likewise.
19207 * include/dirent.h: Likewise.
19208 * include/dlfcn.h: Likewise.
19209 * include/fcntl.h: Likewise.
19210 * include/fnmatch.h: Likewise.
19211 * include/glob.h: Likewise.
19212 * include/grp.h: Likewise.
19213 * include/libio.h: Likewise.
19214 * include/locale.h: Likewise.
19215 * include/math.h: Likewise.
19216 * include/net/if.h: Likewise.
19217 * include/netdb.h: Likewise.
19218 * include/netinet/in.h: Likewise.
19219 * include/pthread.h: Likewise.
19220 * include/pwd.h: Likewise.
19221 * include/regex.h: Likewise.
19222 * include/sched.h: Likewise.
19223 * include/search.h: Likewise.
19224 * include/setjmp.h: Likewise.
19225 * include/signal.h: Likewise.
19226 * include/stdio.h: Likewise.
19227 * include/stdlib.h: Likewise.
19228 * include/string.h: Likewise.
19229 * include/sys/cdefs.h: Likewise.
19230 * include/sys/mman.h: Likewise.
19231 * include/sys/msg.h: Likewise.
19232 * include/sys/resource.h: Likewise.
19233 * include/sys/select.h: Likewise.
19234 * include/sys/socket.h: Likewise.
19235 * include/sys/stat.h: Likewise.
19236 * include/sys/statvfs.h: Likewise.
19237 * include/sys/time.h: Likewise.
19238 * include/sys/times.h: Likewise.
19239 * include/sys/uio.h: Likewise.
19240 * include/sys/utsname.h: Likewise.
19241 * include/sys/wait.h: Likewise.
19242 * include/termios.h: Likewise.
19243 * include/time.h: Likewise.
19244 * include/ulimit.h: Likewise.
19245 * include/unistd.h: Likewise.
19246 * include/utime.h: Likewise.
19247 * include/wchar.h: Likewise.
19248 * include/wctype.h: Likewise.
19249 * include/wordexp.h: Likewise.
19251 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19253 * time/time.h: TIME_UTC must be a macro.
19254 Make timespec_get available for ISO C11 only as well.
19256 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19258 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19259 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19261 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19263 * configure.in: Use -o not -a in test for unsupported multi-arch.
19265 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19267 * manual/texinfo.tex: Update to version 2012-01-19.16.
19269 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19271 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19273 2012-02-24 Roland McGrath <roland@hack.frob.com>
19276 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19277 * manual/fdl-1.3.texi: New file.
19278 * manual/fdl-1.1.texi: File removed.
19281 * manual/libc.texinfo (FDL_VERSION): New @set.
19282 Use it for mention of FDL in cover text.
19283 (Documentation License): Use it in @include file name.
19285 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19286 Roland McGrath <roland@hack.frob.com>
19289 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19290 not LONG_LONG_MAX and LONG_LONG_MIN.
19291 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19292 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19294 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19296 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19300 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19301 manipulate bits before adding and subtracting TWO23[sx].
19302 * math/libm-test.inc (nearbyint_test): Add more tests.
19304 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19307 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19308 bits before adding and subtracting TWO23[sx].
19309 * math/libm-test.inc (rint_test): Add more tests.
19310 (rint_test_tonearest): Likewise.
19311 (rint_test_towardzero): Likewise.
19312 (rint_test_downward): Likewise.
19313 (rint_test_upward: Likewise.
19315 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19318 * include/stdc-predef.h: New file. Extracted from features.h.
19319 * include/features.h: Include stdc-predef.h.
19320 * Makefile (headers): Add stdc-predef.h.
19321 * CONFORMANCE (Compiler limitations): Update.
19323 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19325 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19327 2012-02-21 David S. Miller <davem@davemloft.net>
19329 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19330 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19332 2012-02-20 David S. Miller <davem@davemloft.net>
19334 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19335 using a normal save/restore sequence, rather than allocating a
19336 dummy stack frame just to store a frame pointer and restore.
19337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19339 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19341 * manual/install.texi: Fix stray word in line-wrapped comment.
19343 2012-02-20 David S. Miller <davem@davemloft.net>
19345 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19346 both binutils and gcc support GOTDATA.
19348 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19349 "rd %pc" in the PIC register setup sequences.
19351 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19352 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19353 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19354 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19355 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19358 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19360 (SYSCALL_ERROR_HANDLER): Likewise.
19361 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19362 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19363 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19364 (SYSCALL_ERROR_HANDLER): Likewise.
19366 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19367 (HAVE_GCC_GOTDATA): New.
19368 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19369 relocation support in both binutils and gcc.
19370 * sysdeps/sparc/elf/configure: Regenerate.
19372 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19373 * sysdeps/sparc/sparc32/elf/configure: Delete.
19374 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19375 * sysdeps/sparc/sparc64/elf/configure: Delete.
19376 * sysdeps/sparc/elf/configure.in: New file.
19377 * sysdeps/sparc/elf/configure: Generate.
19379 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19380 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19381 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19382 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19383 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19385 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19387 * manual/install.texi: Do not mention specific glibc version
19389 * manual/libc.texinfo (VERSION, UPDATED): Update.
19390 (@copying): Use @copyright{} and range of years.
19392 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19395 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19396 [crti.S not in sysdirs] (generated): Do not append.
19397 [crti.S not in sysdirs] (omit-deps): Likewise.
19398 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19399 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19400 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19401 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19402 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19404 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19405 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19406 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19407 * csu/defs.awk: Remove file.
19408 * sysdeps/generic/initfini.c: Likewise.
19409 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19411 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19414 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19416 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19417 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19418 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19419 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19420 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19421 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19423 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19424 (__EPOLL_PACKED): Define to empty if not defined by
19426 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19430 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19432 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19433 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19434 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19435 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19437 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19441 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19443 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19446 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19450 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19452 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19453 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19455 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19457 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19458 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19460 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19462 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19465 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19467 * math/w_acos.c: Use non-signaling floating-point comparisons.
19468 * math/w_acosf.c: Likewise.
19469 * math/w_acosh.c: Likewise.
19470 * math/w_acoshf.c: Likewise.
19471 * math/w_acoshl.c: Likewise.
19472 * math/w_acosl.c: Likewise.
19473 * math/w_asin.c: Likewise.
19474 * math/w_asinf.c: Likewise.
19475 * math/w_asinl.c: Likewise.
19476 * math/w_atanh.c: Likewise.
19477 * math/w_atanhf.c: Likewise.
19478 * math/w_atanhl.c: Likewise.
19479 * math/w_exp2.c: Likewise.
19480 * math/w_exp2f.c: Likewise.
19481 * math/w_exp2l.c: Likewise.
19482 * math/w_j0.c: Likewise.
19483 * math/w_j0f.c: Likewise.
19484 * math/w_j0l.c: Likewise.
19485 * math/w_j1.c: Likewise.
19486 * math/w_j1f.c: Likewise.
19487 * math/w_j1l.c: Likewise.
19488 * math/w_jn.c: Likewise.
19489 * math/w_jnf.c: Likewise.
19490 * math/w_log.c: Likewise.
19491 * math/w_log10.c: Likewise.
19492 * math/w_log10f.c: Likewise.
19493 * math/w_log10l.c: Likewise.
19494 * math/w_log2.c: Likewise.
19495 * math/w_log2f.c: Likewise.
19496 * math/w_log2l.c: Likewise.
19497 * math/w_logf.c: Likewise.
19498 * math/w_logl.c: Likewise.
19499 * math/w_sqrt.c: Likewise.
19500 * math/w_sqrtf.c: Likewise.
19501 * math/w_sqrtl.c: Likewise.
19502 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19503 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19504 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19505 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19506 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19508 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19511 * manual/string.texi (strnlen): Use correct parameter name in
19512 equivalent expression.
19514 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19517 * manual/users.texi (seteuid): Consistently use neweuid for
19520 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19523 * manual/nss.texi (Services in the NSS configuration): Correct
19524 list of services in example configuration file.
19526 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19529 * manual/arith.texi: Remove statements about negative zero
19530 behaving identically to zero.
19532 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19535 * manual/install.texi: Do not document upgrading from libc5.
19537 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19540 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19542 2012-02-18 David S. Miller <davem@davemloft.net>
19544 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19545 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19546 %o7 across the call.
19547 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19549 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19550 SETUP_PIC_REG_LEAF.
19551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19552 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19553 * sysdeps/sparc/crtn.S: Likewise.
19555 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19557 * aout/Makefile: Remove.
19559 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19562 * manual/examples/argp-ex1.c (main): Format definition in GNU
19564 * manual/examples/argp-ex2.c (main): Likewise.
19565 * manual/examples/argp-ex3.c (main): Likewise.
19566 * manual/examples/argp-ex4.c (main): Likewise.
19567 * manual/examples/longopt.c (main): Use new-style prototype
19569 * manual/examples/strncat.c (main): Specify return type and use
19570 (void) for arguments.
19571 * manual/examples/subopt.c (main): Use char **argv argument.
19573 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19576 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19579 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19582 * manual/string.texi (strchr): Change when strchrnul is
19585 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19588 * manual/locale.texi (setlocale): Document LOCPATH.
19590 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19593 * manual/process.texi (execle): Move @dots{} before last argument.
19595 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19598 * manual/charset.texi (Generic Charset Conversion): Fix typo
19599 (LC_TYPE -> LC_CTYPE).
19601 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19604 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19605 (scalbnf): Likewise.
19606 (scalbnl): Likewise.
19607 (scalbln): Likewise.
19608 (scalblnf): Likewise.
19609 (scalblnl): Likewise.
19610 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19611 (vwarnx): Likewise.
19614 * manual/filesys.texi (telldir): Use braces around return type.
19615 * manual/llio.texi (mmap): Add space after comma.
19616 (mmap64): Likewise.
19617 * manual/math.texi (jn): Use @var{} on parameter names.
19623 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19625 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19627 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19628 (sched_get_priority_max): Likewise.
19629 * manual/signal.texi (sigvec): Add space after comma.
19630 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19632 (if_indextoname): Likewise.
19633 (if_freenameindex): Likewise.
19634 (sendto): Use ',' instead of '.' in prototype.
19635 * manual/startup.texi (syscall): Use @dots{} instead of literal
19637 * manual/stdio.texi (__fpending): Separate initial words of
19638 paragraph from @deftypefun line.
19639 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19641 (vsyslog): Use @var{} on parameter names.
19642 * manual/terminal.texi (stty): Use @var{} on parameter names.
19643 * manual/users.texi (getutmp): Use @var{} on parameter names.
19644 (getutmpx): Likewise.
19646 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19649 * manual/stdio.texi (fopen): Fix typos in description of
19652 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19655 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19656 get clock_id definition.
19658 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19661 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19662 (madvise): Cast every argument to void on its own.
19664 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19667 * manual/startup.texi (Exit Status): Fix typo.
19669 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19672 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19673 * manual/examples/argp-ex2.c: Likewise.
19674 * manual/examples/argp-ex3.c: Likewise.
19676 2012-02-16 Richard Henderson <rth@redhat.com>
19678 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19679 * sysdeps/s390/s390-32/initfini.c: Remove.
19680 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19681 * sysdeps/s390/s390-64/initfini.c: Remove.
19683 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19685 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19686 compiler output for sysdeps/generic/initfini.c.
19687 * sysdeps/sh/elf/initfini.c: Remove file.
19689 2012-02-16 David S. Miller <davem@davemloft.net>
19692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19694 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19695 * sysdeps/sparc/crti.S: New file.
19696 * sysdeps/sparc/crtn.S: New file.
19697 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19698 * sysdeps/sparc/sparc64/Makefile: Likewise.
19700 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19703 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19705 2012-02-15 Roland McGrath <roland@hack.frob.com>
19708 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19710 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19711 (write, read, close): Likewise.
19712 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19714 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19716 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19717 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19718 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19719 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19721 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19725 2012-02-14 Marek Polacek <polacek@redhat.com>
19727 * sysdeps/x86_64/crti.S: New file.
19728 * sysdeps/x86_64/crtn.S: New file.
19729 * sysdeps/x86_64/elf/initfini.c: Remove file.
19731 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19733 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19734 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19735 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19736 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19738 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19742 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19744 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19745 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19746 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19747 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19749 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19753 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19755 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19756 __feraiseexcept instead of feraiseexcept.
19758 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19759 nanosleep invocations.
19760 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19761 strings, and add error checking for a nanosleep invocations.
19763 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19765 Replace FSF snail mail address with URLs, as per GNU coding standards.
19766 Most of the snail mail addresses were wrong anyway, and omitting
19767 them makes the source code easier to maintain. Almost all of the
19768 changes are to license notices and to locale LC_IDENTIFICATION
19769 addresses, except for this one:
19770 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19771 not its snail mail address.
19773 2012-02-09 Richard Henderson <rth@twiddle.net>
19775 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19776 of kernel-features.h.
19778 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19780 2012-02-08 Marek Polacek <polacek@redhat.com>
19782 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19783 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19784 * sysdeps/gnu/_G_config.h: Likewise.
19785 * sysdeps/generic/_G_config.h: Likewise.
19787 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19789 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19793 * sysdeps/powerpc/powerpc32/crti.S: New file.
19794 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19795 * sysdeps/powerpc/powerpc64/crti.S: New file.
19796 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19798 * Makeconfig (have-initfini): Don't set.
19799 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19800 * configure.in (nopic_initfini): Don't substitute.
19801 * config.h.in (HAVE_INITFINI): Don't #undef.
19802 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19803 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19805 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19807 Support crti.S and crtn.S provided directly by architectures.
19808 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19809 [crti.S in sysdirs] (omit-deps): Likewise.
19810 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19811 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19812 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19813 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19814 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19815 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19816 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19817 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19818 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19819 compiler output for sysdeps/generic/initfini.c.
19820 * sysdeps/i386/elf/Makefile: Remove file.
19821 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19823 2012-02-07 Marek Polacek <polacek@redhat.com>
19825 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19826 * sysdeps/gnu/_G_config.h: Likewise.
19827 * sysdeps/mach/hurd/_G_config.h: Likewise.
19829 2012-02-07 Marek Polacek <polacek@redhat.com>
19831 * math/Makefile (tests): Add tst-CMPLX2.
19832 * math/tst-CMPLX2.c: New file.
19834 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19836 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19838 * math/libm-test.inc (jn_test): Add missing L suffix.
19840 2012-02-06 Marek Polacek <polacek@redhat.com>
19842 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19843 * sysdeps/i386/fpu/e_powf.S: Likewise.
19844 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19845 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19846 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19847 * sysdeps/i386/fpu/e_pow.S: Likewise.
19848 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19849 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19850 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19851 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19852 * sysdeps/i386/fpu/e_log2.S: Likewise.
19853 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19854 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19855 * sysdeps/i386/fpu/e_powl.S: Likewise.
19856 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19857 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19858 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19859 * sysdeps/i386/fpu/e_logl.S: Likewise.
19860 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19861 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19862 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19863 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19864 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19865 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19866 * sysdeps/i386/fpu/e_log.S: Likewise.
19867 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19868 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19869 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19870 * sysdeps/i386/fpu/e_logf.S: Likewise.
19871 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19872 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19873 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19874 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19875 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19876 * sysdeps/i386/fpu/e_log10.S: Likewise.
19877 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19878 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19879 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19880 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19881 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19882 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19883 * sysdeps/i386/asm-syntax.h: Likewise.
19884 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19885 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19886 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19887 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19888 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19889 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19890 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19891 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19892 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19893 * sysdeps/powerpc/sysdep.h: Likewise.
19894 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19895 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19897 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19900 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19902 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19904 * sysdeps/i386/sysdep.h: Include <features.h>.
19905 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19908 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19910 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19912 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19915 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19917 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19918 (SETUP_PIC_REG): Use GET_PC_THUNK.
19919 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19922 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19924 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19925 for non-PIC compilation.
19926 (SETUP_PIC_REG): Add .p2align directive.
19927 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19928 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19929 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19930 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19931 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19932 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19933 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19935 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19936 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19937 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19938 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19939 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19940 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19941 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19942 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19943 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19944 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19945 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19946 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19947 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19948 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19949 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19950 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19953 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19954 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19955 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19956 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19957 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19958 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19959 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19960 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19961 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19962 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19963 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19964 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19965 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19966 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19967 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19969 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19971 * math/tst-CMPLX.c: Include <stdio.h>.
19973 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19975 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19977 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19978 * sysdeps/sparc/bits/mathdef.h: Likewise.
19980 2012-01-31 Marek Polacek <polacek@redhat.com>
19982 * libio/libio.h: Don't define _PARAMS.
19983 * locale/programs/config.h: Don't define PARAMS.
19984 * stdlib/strtol_l.c: Likewise.
19985 (__strtol_l): Remove PARAMS from the prototype.
19987 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19989 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19990 names. Just use the correct names. Remove unnecessary wrapper
19992 * malloc/arena.c: Likewise.
19993 * malloc/hooks.c: Likewise.
19995 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19996 ARENA_TEST says not to. Simplify test for creation of a new arena.
19997 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19999 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20001 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20003 (update_get_addr): New function.
20004 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20005 GET_ADDR_MODULE parameter.
20007 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20009 * crypt/cert.c: Remove __STDC__ conditionals.
20010 * crypt/crypt-entry.c: Likewise.
20011 * crypt/crypt_util.c: Likewise.
20012 * libio/filedoalloc.c: Likewise.
20013 * libio/fileops.c: Likewise.
20014 * libio/genops.c: Likewise.
20015 * libio/iofclose.c: Likewise.
20016 * libio/iofdopen.c: Likewise.
20017 * libio/iofopen.c: Likewise.
20018 * libio/iofopen64.c: Likewise.
20019 * libio/iogetdelim.c: Likewise.
20020 * libio/iopopen.c: Likewise.
20021 * libio/obprintf.c: Likewise.
20022 * libio/oldfileops.c: Likewise.
20023 * libio/oldiofclose.c: Likewise.
20024 * libio/oldiofdopen.c: Likewise.
20025 * libio/oldiofopen.c: Likewise.
20026 * libio/oldiopopen.c: Likewise.
20027 * libio/wfiledoalloc.c: Likewise.
20028 * libio/wgenops.c: Likewise.
20029 * locale/programs/xmalloc.c: Likewise.
20030 * misc/syslog.c: Likewise.
20031 * stdio-common/xbug.c: Likewise.
20032 * string/memchr.c: Likewise.
20033 * string/memcmp.c: Likewise.
20034 * string/memrchr.c: Likewise.
20035 * string/rawmemchr.c: Likewise.
20036 * sysdeps/posix/getcwd.c: Likewise.
20037 * time/strftime_l.c: Likewise.
20039 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20041 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20042 * config.make.in (config-cflags-sse2avx): Define.
20043 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20046 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20048 * scripts/config.guess: Update from upstream config git repository.
20049 * scripts/config.sub: Likewise.
20051 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20053 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20055 (R_TILEPRO_*, R_TILEGX_*): New macros.
20057 * scripts/firstversions.awk: Fix bug in version range handling.
20059 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20061 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20063 * include/sys/epoll.h: New file.
20064 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20067 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20069 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20070 Avoid unnecessary __WORDSIZE == 64 test.
20071 (fmaxf): Use VEX format if possible.
20076 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20077 * math/math_private.h: Remove libc_fegetround* and
20079 * sysdeps/i386/configure.in: Check for -msse2avx.
20080 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20081 also if SSE2AVX is defined.
20082 Remove libc_fegetround* and libc_fesetround*.
20083 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20084 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20085 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20087 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20088 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20089 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20090 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20091 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20093 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20095 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20097 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20099 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20101 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20104 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20106 * Makeconfig (libm): Define.
20107 * elf/Makefile: Add rules to build and run tst-relsort1.
20108 * elf/tst-relsort1.c: New file.
20109 * elf/tst-relsort1mod1.c: New file.
20110 * elf/tst-relsort1mod2.c: New file.
20112 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20114 * math/s_ldexp.c: Remove __STDC__ conditionals.
20115 * math/s_ldexpf.c: Likewise.
20116 * math/s_ldexpl.c: Likewise.
20117 * math/s_nextafter.c: Likewise.
20118 * math/s_nexttowardf.c: Likewise.
20119 * math/s_significand.c: Likewise.
20120 * math/s_significandf.c: Likewise.
20121 * math/s_significandl.c: Likewise.
20122 * math/w_jnl.c: Likewise.
20123 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20124 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20125 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20126 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20127 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20129 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20130 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20131 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20132 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20133 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20134 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20135 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20136 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20137 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20138 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20139 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20140 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20142 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20143 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20144 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20145 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20146 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20147 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20148 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20149 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20150 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20151 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20152 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20153 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20154 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20155 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20156 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20157 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20158 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20159 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20160 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20161 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20162 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20163 * sysdeps/ieee754/k_standard.c: Likewise.
20164 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20165 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20166 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20167 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20168 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20169 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20170 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20171 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20172 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20173 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20174 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20176 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20177 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20178 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20202 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20207 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20211 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20212 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20213 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20214 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20216 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20217 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20219 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20220 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20221 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20225 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20230 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20232 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20236 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20238 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20239 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20243 * sysdeps/ieee754/s_matherr.c: Likewise.
20244 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20245 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20247 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20249 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20251 * crypt/md5.h: Remove __STDC__ conditionals.
20252 * libio/libioP.h: Likewise.
20253 * locale/programs/config.h: Likewise.
20254 * sysdeps/generic/sysdep.h: Likewise.
20255 * sysdeps/i386/asm-syntax.h: Likewise.
20256 * sysdeps/s390/asm-syntax.h: Likewise.
20257 * sysdeps/unix/sysdep.h: Likewise.
20258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20261 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20263 * libio/libio.h: Remove __STDC__ conditionals.
20264 * malloc/obstack.h: Likewise.
20265 * math/complex.h: Likewise.
20266 * math/math.h: Likewise.
20267 * sysdeps/generic/_G_config.h: Likewise.
20268 * sysdeps/gnu/_G_config.h: Likewise.
20269 * sysdeps/mach/hurd/_G_config.h: Likewise.
20270 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20271 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20272 * sysdeps/sparc/bits/mathdef.h: Likewise.
20274 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20277 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20278 Clean up HAS_* macros.
20279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20280 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20282 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20284 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20285 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20287 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20288 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20290 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20292 * elf/tst-unique3.cc (gets): Remove declaration.
20293 * elf/tst-unique3lib.cc (gets): Likewise.
20294 * elf/tst-unique3lib2.cc (gets): Likewise.
20295 * elf/tst-unique4.cc (gets): Likewise.
20297 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20299 * include/stdio.h: Add C++ protection. Add gets declarations and
20301 * debug/tst-chk1.c: Don't declare gets here.
20302 * stdio-common/tst-gets.c: Likewise.
20304 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20306 * posix/glob: Remove directory.
20308 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20310 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20312 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20314 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20315 of the non-standard EPFNOSUPPORT.
20317 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20319 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20320 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20321 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20323 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20325 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20327 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20329 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20331 * nscd/grpcache.c (cache_addgr): Likewise.
20332 * nscd/hstcache.c (cache_addhst): Likewise.
20333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20334 * nscd/pwdcache.c (cache_addpw): Likewise.
20335 * nscd/servicescache.c (cache_addserv): Likewise.
20337 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20339 * malloc/malloc.c: Various cleanups.
20340 * malloc/hooks.c: Likewise.
20342 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20343 * stdlib/bug-fmtmsg1.c: New file.
20345 * stdlib/fmtmsg.c (init): Add missing unlock.
20346 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20348 2012-01-12 Marek Polacek <polacek@redhat.com>
20350 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20353 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20355 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20356 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20357 macro to ensure uniqueness of label name.
20358 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20359 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20361 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20363 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20365 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20366 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20367 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20370 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20372 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20374 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20375 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20376 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20378 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20380 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20381 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20382 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20383 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20385 * math/bits/math-finite.h: Add ldexp support.
20387 2012-01-10 Marek Polacek <polacek@redhat.com>
20389 * locale/programs/localedef.h (show_archive_content): Add noreturn
20392 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20394 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20396 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20398 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20400 * io/Makefile (headers): Add bits/poll2.h.
20402 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20405 typo #include statement.
20407 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20409 * include/sys/cdefs.h: Define __attribute_alloc_size.
20410 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20411 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20412 * elf/pldd.c: Likewise.
20413 * iconv/iconv_charmap.c: Likewise.
20414 * iconv/iconvconfig.c: Likewise.
20415 * iconv/strtab.c: Likewise.
20416 * locale/programs/locale.c: Likewise.
20417 * locale/programs/localedef.h: Likewise.
20418 * locale/programs/simple-hash.c: Likewise.
20419 * nscd/nscd.h: Likewise.
20420 * nss/makedb.c: Likewise.
20421 * sysdeps/generic/ldconfig.h: Likewise.
20422 * locale/programs/localedef.c: Remove xmalloc prototype.
20423 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20425 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20427 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20430 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20432 * math/Makefile (tests): Add tst-CMPLX.
20433 * math/tst-CMPLX.c: New file.
20435 * math/complex.h (CMPLXL): Fix typo.
20437 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20438 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20440 * debug/tst-chk1.c: Add poll and ppoll tests.
20441 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20442 * include/sys/poll.h: Add hidden proto for ppoll.
20443 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20444 * sysdeps/mach/hurd/ppoll.c: Likewise.
20445 * io/ppoll.c: Likewise.
20446 * debug/poll_chk.c: New file.
20447 * debug/ppoll_chk.c: New file.
20448 * include/bits/poll2.h: New file.
20449 * io/bits/poll2.h: New file.
20452 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20454 * configure.in: static is always set to yes. Remove.
20455 * config.make.in: Don't set build-static.
20456 * Makeconfig: Remove use of build-static.
20457 * dlfcn/Makefile: Likewise.
20458 * elf/Makefile: Likewise.
20459 * math/Makefile: Likewise.
20460 * misc/Makefile: Likewise.
20461 * nptl/Makefile: Likewise.
20462 * sysdeps/mach/hurd/Makefile: Likewise.
20464 * configure.in: PWD_P is not used anymore.
20465 * config.make.in: Remove PWD_P entry.
20467 * configure.in: Remove last remnants of RANLIB.
20468 No need to check for signed size_t anymore.
20469 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20471 Remove __builtin_expect test because we require at least gcc 3.4.
20472 * aclocal.m4: Likewise.
20474 * wcsmbs/mbrtoc16.c: Implement using towc function.
20475 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20476 * wcsmbs/wcsmbsload.c: Likewise.
20477 * iconv/gconv_simple.c: Likewise.
20478 * iconv/gconv_int.h: Likewise.
20479 * iconv/gconv_builtin.h: Likewise.
20480 * iconv/iconv_prog.c: Remove CHAR16 handling.
20482 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20484 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20486 * configure.in: Remove --with-elf and --enable-bounded options.
20487 Dont set base_machine for ia64. More non-ELF conditions removed.
20488 Remove testing and setting of leading underscore information.
20489 * config.make.in (build-bounded): Set to no.
20490 * config.h.in: Remove NO_UNDERSCORES entry.
20491 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20493 * csu/start.c: Remove !NO_UNDERSCORE code.
20494 * locale/localeinfo.h: Likewise.
20495 * sysdeps/generic/machine-gmon.h: Likewise.
20496 * sysdeps/generic/sysdep.h: Likewise.
20497 * sysdeps/i386/sysdep.h: Likewise.
20498 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20499 * sysdeps/mach/sysdep.h: Likewise.
20500 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20501 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20502 * sysdeps/sh/sysdep.h: Likewise.
20503 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20504 * sysdeps/unix/i386/sysdep.S: Likewise.
20505 * sysdeps/unix/sparc/start.c: Likewise.
20506 * sysdeps/unix/sparc/sysdep.S: Likewise.
20507 * sysdeps/unix/sparc/sysdep.h: Likewise.
20508 * sysdeps/unix/start.c: Likewise.
20509 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20510 * sysdeps/x86_64/sysdep.h: Likewise.
20512 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20515 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20517 * argp/argp-fmtstream.h: Use const instead __const.
20518 * argp/argp.h: Likewise.
20519 * assert/assert.h: Likewise.
20520 * bits/fenv.h: Likewise.
20521 * bits/sched.h: Likewise.
20522 * bits/sigset.h: Likewise.
20523 * bits/sigthread.h: Likewise.
20524 * catgets/nl_types.h: Likewise.
20525 * conform/data/pthread.h-data: Likewise.
20526 * crypt/crypt-private.h: Likewise.
20527 * crypt/crypt.h: Likewise.
20528 * crypt/crypt_util.c: Likewise.
20529 * ctype/ctype.h: Likewise.
20530 * debug/execinfo.h: Likewise.
20531 * debug/mbsnrtowcs_chk.c: Likewise.
20532 * debug/mbsrtowcs_chk.c: Likewise.
20533 * debug/wcsnrtombs_chk.c: Likewise.
20534 * debug/wcsrtombs_chk.c: Likewise.
20535 * debug/wcstombs_chk.c: Likewise.
20536 * dirent/dirent.h: Likewise.
20537 * dlfcn/dlfcn.h: Likewise.
20538 * elf/neededtest4.c: Likewise.
20539 * grp/grp.h: Likewise.
20540 * gshadow/gshadow.h: Likewise.
20541 * iconv/gconv.h: Likewise.
20542 * iconv/gconv_int.h: Likewise.
20543 * iconv/gconv_simple.c: Likewise.
20544 * iconv/iconv.h: Likewise.
20545 * iconv/loop.c: Likewise.
20546 * iconv/skeleton.c: Likewise.
20547 * include/aio.h: Likewise.
20548 * include/aliases.h: Likewise.
20549 * include/argz.h: Likewise.
20550 * include/arpa/inet.h: Likewise.
20551 * include/assert.h: Likewise.
20552 * include/dirent.h: Likewise.
20553 * include/dlfcn.h: Likewise.
20554 * include/execinfo.h: Likewise.
20555 * include/fcntl.h: Likewise.
20556 * include/fenv.h: Likewise.
20557 * include/glob.h: Likewise.
20558 * include/grp.h: Likewise.
20559 * include/libintl.h: Likewise.
20560 * include/mntent.h: Likewise.
20561 * include/netdb.h: Likewise.
20562 * include/pwd.h: Likewise.
20563 * include/rpc/netdb.h: Likewise.
20564 * include/sched.h: Likewise.
20565 * include/search.h: Likewise.
20566 * include/shadow.h: Likewise.
20567 * include/signal.h: Likewise.
20568 * include/stdio.h: Likewise.
20569 * include/stdlib.h: Likewise.
20570 * include/string.h: Likewise.
20571 * include/sys/socket.h: Likewise.
20572 * include/sys/stat.h: Likewise.
20573 * include/sys/statfs.h: Likewise.
20574 * include/sys/statvfs.h: Likewise.
20575 * include/sys/syslog.h: Likewise.
20576 * include/sys/time.h: Likewise.
20577 * include/sys/uio.h: Likewise.
20578 * include/time.h: Likewise.
20579 * include/unistd.h: Likewise.
20580 * include/utmp.h: Likewise.
20581 * include/wchar.h: Likewise.
20582 * include/wctype.h: Likewise.
20583 * inet/aliases.h: Likewise.
20584 * inet/arpa/inet.h: Likewise.
20585 * inet/netinet/ether.h: Likewise.
20586 * inet/netinet/in.h: Likewise.
20587 * intl/libintl.h: Likewise.
20588 * io/bits/fcntl2.h: Likewise.
20589 * io/fcntl.h: Likewise.
20590 * io/ftw.h: Likewise.
20591 * io/sys/poll.h: Likewise.
20592 * io/sys/stat.h: Likewise.
20593 * io/sys/statfs.h: Likewise.
20594 * io/sys/statvfs.h: Likewise.
20595 * io/utime.h: Likewise.
20596 * libio/bits/stdio.h: Likewise.
20597 * libio/bits/stdio2.h: Likewise.
20598 * libio/libio.h: Likewise.
20599 * libio/libioP.h: Likewise.
20600 * libio/stdio.h: Likewise.
20601 * locale/lc-ctype.c: Likewise.
20602 * locale/locale.h: Likewise.
20603 * login/utmp.h: Likewise.
20604 * malloc/arena.c: Likewise.
20605 * malloc/malloc.c: Likewise.
20606 * malloc/malloc.h: Likewise.
20607 * malloc/mcheck.c: Likewise.
20608 * malloc/mtrace.c: Likewise.
20609 * math/bits/mathcalls.h: Likewise.
20610 * math/fenv.h: Likewise.
20611 * math/math_private.h: Likewise.
20612 * misc/bits/error.h: Likewise.
20613 * misc/bits/syslog.h: Likewise.
20614 * misc/err.h: Likewise.
20615 * misc/error.h: Likewise.
20616 * misc/fstab.h: Likewise.
20617 * misc/mntent.h: Likewise.
20618 * misc/regexp.h: Likewise.
20619 * misc/search.h: Likewise.
20620 * misc/sgtty.h: Likewise.
20621 * misc/sys/mman.h: Likewise.
20622 * misc/sys/syslog.h: Likewise.
20623 * misc/sys/uio.h: Likewise.
20624 * misc/sys/xattr.h: Likewise.
20625 * misc/ttyent.h: Likewise.
20626 * nis/rpcsvc/ypclnt.h: Likewise.
20627 * nss/nss.h: Likewise.
20628 * posix/bits/unistd.h: Likewise.
20629 * posix/fnmatch.h: Likewise.
20630 * posix/glob.h: Likewise.
20631 * posix/sched.h: Likewise.
20632 * posix/spawn.h: Likewise.
20633 * posix/sys/wait.h: Likewise.
20634 * posix/unistd.h: Likewise.
20635 * posix/wordexp.h: Likewise.
20636 * pwd/pwd.h: Likewise.
20637 * resolv/netdb.h: Likewise.
20638 * resource/sys/resource.h: Likewise.
20639 * rt/aio.h: Likewise.
20640 * rt/bits/mqueue2.h: Likewise.
20641 * rt/mqueue.h: Likewise.
20642 * shadow/shadow.h: Likewise.
20643 * signal/signal.h: Likewise.
20644 * socket/send.c: Likewise.
20645 * socket/sendto.c: Likewise.
20646 * socket/sys/socket.h: Likewise.
20647 * stdio-common/printf.h: Likewise.
20648 * stdlib/bits/stdlib.h: Likewise.
20649 * stdlib/fmtmsg.h: Likewise.
20650 * stdlib/monetary.h: Likewise.
20651 * stdlib/stdlib.h: Likewise.
20652 * stdlib/ucontext.h: Likewise.
20653 * streams/stropts.h: Likewise.
20654 * string/argz.h: Likewise.
20655 * string/bits/string2.h: Likewise.
20656 * string/string.h: Likewise.
20657 * string/strings.h: Likewise.
20658 * sunrpc/rpc/auth.h: Likewise.
20659 * sunrpc/rpc/auth_des.h: Likewise.
20660 * sunrpc/rpc/clnt.h: Likewise.
20661 * sunrpc/rpc/netdb.h: Likewise.
20662 * sunrpc/rpc/pmap_clnt.h: Likewise.
20663 * sunrpc/rpc/xdr.h: Likewise.
20664 * sysdeps/generic/inttypes.h: Likewise.
20665 * sysdeps/generic/net/if.h: Likewise.
20666 * sysdeps/generic/sys/swap.h: Likewise.
20667 * sysdeps/gnu/net/if.h: Likewise.
20668 * sysdeps/gnu/utmpx.h: Likewise.
20669 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20670 * sysdeps/i386/i486/bits/string.h: Likewise.
20671 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20672 * sysdeps/s390/bits/string.h: Likewise.
20673 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20674 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20675 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20676 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20677 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20678 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20679 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20680 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20681 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20682 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20683 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20684 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20685 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20686 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20687 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20688 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20689 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20691 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20692 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20693 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20694 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20695 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20696 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20697 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20698 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20699 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20700 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20701 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20702 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20703 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20704 * sysvipc/sys/ipc.h: Likewise.
20705 * sysvipc/sys/msg.h: Likewise.
20706 * sysvipc/sys/sem.h: Likewise.
20707 * sysvipc/sys/shm.h: Likewise.
20708 * termios/termios.h: Likewise.
20709 * time/sys/time.h: Likewise.
20710 * time/time.h: Likewise.
20711 * wcsmbs/bits/wchar2.h: Likewise.
20712 * wcsmbs/uchar.h: Likewise.
20713 * wcsmbs/wchar.h: Likewise.
20714 * wctype/wctype.h: Likewise.
20717 * Makeconfig: Remove all but ELF support including AIX support.
20718 * Makerules: Likewise.
20719 * config.h.in: Likewise.
20720 * config.make.in: Likewise.
20721 * configure: Likewise.
20722 * configure.in: Likewise.
20723 * csu/Makefile: Likewise.
20724 * csu/version.c: Likewise.
20725 * debug/Makefile: Likewise.
20726 * dlfcn/Makefile: Likewise.
20727 * elf/Makefile: Likewise.
20728 * extra-lib.mk: Likewise.
20729 * iconv/Makefile: Likewise.
20730 * include/libc-symbols.h: Likewise.
20731 * include/shlib-compat.h: Likewise.
20732 * resolv/Makefile: Likewise.
20733 * resolv/res_libc.c: Likewise.
20734 * rt/Makefile: Likewise.
20735 * sysdeps/i386/asm-syntax.h: Likewise.
20736 * sysdeps/i386/sysdep.h: Likewise.
20737 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20738 * sysdeps/mach/sysdep.h: Likewise.
20739 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20740 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20741 * sysdeps/s390/asm-syntax.h: Likewise.
20742 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20743 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20744 * sysdeps/sh/sysdep.h: Likewise.
20745 * sysdeps/unix/sparc/sysdep.h: Likewise.
20746 * sysdeps/wordsize-32/divdi3.c: Likewise.
20747 * sysdeps/x86_64/sysdep.h: Likewise.
20749 * argp/Versions: Remove _argp_unlock_xxx.
20752 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20753 * abilist/libBrokenLocale.abilist: Likewise.
20754 * abilist/libanl.abilist: Likewise.
20755 * abilist/libc.abilist: Likewise.
20756 * abilist/libcrypt.abilist: Likewise.
20757 * abilist/libdl.abilist: Likewise.
20758 * abilist/libm.abilist: Likewise.
20759 * abilist/libnsl.abilist: Likewise.
20760 * abilist/libpthread.abilist: Likewise.
20761 * abilist/libresolv.abilist: Likewise.
20762 * abilist/librt.abilist: Likewise.
20763 * abilist/libthread_db.abilist: Likewise.
20764 * abilist/libutil.abilist: Likewise.
20765 * abilist/libnss_db.abilist: New file.
20767 * scripts/abilist.awk: Add support for indirect functions.
20769 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20771 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20773 * shlib-versions: Remove entries for ports architectures.
20775 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20777 * elf/stackguard-macros.h: Remove support for IA-64.
20778 * elf/tst-auditmod1.c: Likewise.
20779 * sysdeps/generic/ldsodefs.h: Likewise.
20781 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20782 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20786 * configure.in: Remove --enable-omitfp support.
20788 * config.make.in: Likewise.
20789 * Makeconfig: Likewise.
20790 * manual/install.texi: Likewise.
20792 In case anyone cares, the IA-64 architecture could move to ports.
20793 * sysdeps/ia64/*: Removed.
20794 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20795 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20798 * configure.in: Remove entries for unsupported architectures.
20801 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20802 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20804 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20805 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20806 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20807 fall back to using wcrtomb.
20808 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20809 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20811 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20812 * wcsmbs/tst-c16c32-1.c: New file.
20814 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20817 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20819 * elf/tst-unique3.cc: Add explicit declaration of gets.
20820 * elf/tst-unique3lib.cc: Likewise.
20821 * elf/tst-unique3lib2.cc: Likewise.
20822 * elf/tst-unique4.cc: Likewise.
20824 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20826 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20829 * assert/assert.h (static_assert): Don't define for C++.
20830 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20831 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20833 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20835 * iconv/loop.c (single loop): Fix assertion in storing of
20838 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20840 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20842 * posix/getconf.c: Update copyright year.
20843 * nss/getent.c: Likewise.
20844 * nss/makedb.c: Likewise.
20845 * iconv/iconvconfig.c: Likewise.
20846 * iconv/iconv_prog.c: Likewise.
20847 * elf/ldconfig.c: Likewise.
20848 * elf/pldd.c: Likewise.
20849 * elf/sotruss.ksh: Likewise.
20850 * catgets/gencat.c: Likewise.
20851 * csu/version.c: Likewise.
20852 * elf/ldd.bash.in: Likewise.
20853 * elf/sprof.c (print_version): Likewise.
20854 * locale/programs/locale.c: Likewise.
20855 * locale/programs/localedef.c: Likewise.
20856 * login/programs/pt_chown.c: Likewise.
20857 * nscd/nscd.c (print_version): Likewise.
20858 * debug/xtrace.sh: Likewise.
20859 * malloc/memusage.sh: Likewise.
20860 * malloc/mtrace.pl: Likewise.
20861 * debug/catchsegv.sh: Likewise.
20863 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20865 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20868 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20871 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20872 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20874 * iconv/gconv_int.h: Likewise.
20875 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20876 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20877 from libc for GLIBC_2.16.
20878 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20879 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20880 * wcsmbs/uchar.h: Really define mbstate_t.
20881 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20882 * wcsmbs/c16rtomb.c: New file.
20883 * wcsmbs/mbrtoc16.c: New file.
20884 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20885 for C/POSIX locale.
20886 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20887 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20889 * wcsmbs/wchar.h: Add missing __restrict.
20891 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20894 * time/Makefile (routines): Add timespec_get.
20895 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20896 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20897 timespec for ISO C11.
20898 * time/timespec_get.c: New file.
20899 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20900 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20903 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20904 * stdlib/stdlib.h: Declare aligned_alloc.
20905 * Versions.def: Add GLIBC_2.16 for libc.
20906 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20909 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20912 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20916 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20919 * assert/assert.h (static_assert): Define.
20921 * version.h: Update for 2.16 development version.
20924 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20927 * version.h (RELEASE): Bump for 2.15 release.
20928 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20930 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20931 Patch by Marek Polacek <mpolacek@redhat.com>.
20933 * bits/byteswap.h: Protect long long constants with __extension__.
20934 * sysdeps/i386/bits/byteswap.h: Likewise.
20935 * sysdeps/ia64/bits/byteswap.h: Likewise.
20936 * sysdeps/s390/bits/byteswap.h: Likewise.
20937 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20939 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20942 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20943 destination buffer.
20944 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20946 2011-12-23 Marek Polacek <polacek@redhat.com>
20948 * elf/dl-addr.c (determine_info): Add inline keyword.
20949 * elf/tst-auditmod4b.c (check_avx): Likewise.
20950 * elf/tst-auditmod6b.c (check_avx): Likewise.
20951 * elf/tst-auditmod6c.c (check_avx): Likewise.
20952 * elf/tst-auditmod7b.c (check_avx): Likewise.
20954 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20956 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20959 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20962 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20963 processing for last bytes.
20965 2011-08-06 Bruno Haible <bruno@clisp.org>
20968 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20969 U+0385, not to U+1FEE.
20972 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20973 entry for U+00A5 U+0301.
20975 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20978 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20979 buffer for the output is too small.
20981 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20985 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20986 SSE flags if possible.
20988 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20991 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20992 processing for last bytes.
20994 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20996 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20997 (syscall-list-default-options, syscall-list-default-condition)
20998 (syscall-list-includes): Define.
20999 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21000 list of ABIs and options and #if conditions for each ABI. Do not
21001 handle common syscalls between ABIs specially.
21002 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21004 (syscall-list-variants, syscall-list-32bit-options)
21005 (syscall-list-32bit-condition, syscall-list-64bit-options)
21006 (syscall-list-64bit-condition): Define.
21007 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21008 (syscall-list-variants, syscall-list-32bit-options)
21009 (syscall-list-32bit-condition, syscall-list-64bit-options)
21010 (syscall-list-64bit-condition): Define.
21011 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21013 (syscall-list-variants, syscall-list-32bit-options)
21014 (syscall-list-32bit-condition, syscall-list-64bit-options)
21015 (syscall-list-64bit-condition): Define.
21016 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21018 (syscall-list-variants, syscall-list-32bit-options)
21019 (syscall-list-32bit-condition, syscall-list-64bit-options)
21020 (syscall-list-64bit-condition): Define.
21022 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21024 * locale/iso-639.def: Add brx entry.
21027 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21028 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21030 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21031 __feraiseexcept_renamed.
21033 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21036 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21037 EPOLLET with unsigned values.
21038 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21039 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21041 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21042 to large cancellation.
21043 * math/s_cacoshf.c: Likewise.
21044 * math/s_cacoshl.c: Likewise.
21046 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21050 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21051 * math/s_cacoshf.c: Likewise.
21052 * math/s_cacoshl.c: Likewise.
21054 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21057 * iconv/gconv.h: Define __GCONV_SWAP.
21058 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21059 * iconvdata/utf-16.c: Likewise.
21060 * iconvdata/utf-32.c: Likewise.
21062 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21066 numerator after shifting it by one limb.
21068 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21070 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21071 under [__USE_EXTERN_INLINES].
21073 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21076 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21078 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21080 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21081 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21083 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21084 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21085 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21086 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21087 for strncasecmp/strncasecmp_l compilation.
21088 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21089 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21091 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21094 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21097 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21100 * time/tzfile.c (__tzfile_read): Check values from file header.
21102 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21104 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21105 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21106 * powerpc/powerpc32/dl-start.S: Likewise.
21107 * powerpc/powerpc32/elf/start.S: Likewise.
21108 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21109 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21110 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21111 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21112 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21113 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21114 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21115 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21116 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21117 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21118 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21119 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21120 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21121 * powerpc/powerpc32/memset.S: Likewise.
21122 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21123 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21124 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21125 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21126 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21127 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21128 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21129 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21130 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21131 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21132 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21133 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21134 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21136 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21138 * math/libm-test.inc: Added more nearbyint tests.
21139 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21140 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21142 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21144 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21146 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21149 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21151 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21152 Add wcscpy-ssse3 wcscpy-c.
21153 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21154 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21155 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21156 * sysdeps/x86_64/wcschr.S: New file.
21157 * sysdeps/x86_64/wcsrchr.S: New file.
21158 * string/test-strcmp.c: Remove checking of wcscmp function for
21160 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21161 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21162 wcsrchr-sse2 wcsrchr-c.
21163 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21164 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21165 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21166 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21167 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21168 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21169 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21170 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21171 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21172 * wcsmbc/wcschr.c (WCSCHR): New macro.
21174 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21176 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21177 * wcsmbs/test-wcsrchr.c: New file.
21178 * string/test-strrchr.c: Add wcsrchr support.
21180 * wcsmbs/test-wcscpy.c: New file.
21181 * string/test-strcpy.c: Add wcscpy support.
21184 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21186 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21189 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21192 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21194 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21196 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21197 Minor optimizations.
21199 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21200 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21201 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21203 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21205 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21206 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21207 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21208 for gcc to avoid warnings.
21209 * inet/Makefile (tests): Add tst-checks.
21210 * inet/tst-checks.c: New file.
21212 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21215 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21218 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21219 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21221 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21223 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21225 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21228 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21230 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21232 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21233 conditional on GCC version.
21234 (__arch_compare_and_exchange_val_8_acq)
21235 (__arch_compare_and_exchange_val_16_acq)
21236 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21237 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21238 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21240 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21242 * sysdeps/sh/backtrace.c: New file.
21244 2011-12-02 Andreas Schwab <schwab@redhat.com>
21246 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21249 2011-12-01 Andreas Schwab <schwab@redhat.com>
21251 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21252 falling back to utime.
21254 2011-11-30 Andreas Schwab <schwab@redhat.com>
21256 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21257 expectations for float.
21259 2011-11-29 Andreas Schwab <schwab@redhat.com>
21261 * locale/weight.h (findidx): Add parameter len.
21262 * locale/weightwc.h (findidx): Likewise.
21263 * posix/fnmatch_loop.c (FCT): Adjust caller.
21264 * posix/regcomp.c (build_equiv_class): Likewise.
21265 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21266 * posix/regexec.c (check_node_accept_bytes): Likewise.
21267 * string/strcoll_l.c (STRCOLL): Likewise.
21268 * string/strxfrm_l.c (STRXFRM): Likewise.
21270 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21272 * Makefile.in: Remove CVSOPT handling.
21273 * configure.in: Remove use of AC_REVISION.
21274 * iconvdata/Makefile (distribute): No need to filter out CVS.
21275 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21278 2011-11-16 Andreas Schwab <schwab@redhat.com>
21280 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21281 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21282 [USE_AS_STRNCASECMP_L]: Likewise.
21283 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21284 NO_TLS_DIRECT_SEG_REFS.
21285 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21286 Fix argument offsets for non-PIC.
21287 [USE_AS_STRNCASECMP_L]: Likewise.
21288 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21289 NO_TLS_DIRECT_SEG_REFS.
21291 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21293 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21295 * locale/loadlocale.c (_nl_load_locale): Likewise.
21297 2011-11-15 Andreas Schwab <schwab@redhat.com>
21299 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21300 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21301 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21302 (SYSCALL_GETTIME): Set errno on error.
21304 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21305 count references to noai6ai_cached.
21307 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21309 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21311 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21312 FD_CLOEXEC for /proc/self/maps.
21314 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21315 FD_CLOEXEC for /proc/meminfo.
21317 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21320 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21321 FD_CLOEXEC for given file.
21323 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21325 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21326 FD_CLOEXEC for /etc/hosts.
21327 (_gethtent): Likewise.
21329 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21331 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21332 cancellation and set FD_CLOEXEC for /etc/netgroup.
21334 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21335 reading /etc/publickey.
21337 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21338 allow cancellation when reading /etc/group.
21340 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21342 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21344 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21345 when using data file.
21347 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21349 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21350 (write_nis_obj): Use "c" and "e" in fopen.
21352 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21354 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21356 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21358 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21360 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21363 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21365 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21367 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21369 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21370 file parsing and set FD_CLOEXEC.
21372 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21374 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21376 2011-11-14 Andreas Schwab <schwab@redhat.com>
21378 * malloc/arena.c (arena_get2): Don't call reused_arena when
21379 _int_new_arena failed.
21381 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21383 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21384 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21385 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21386 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21387 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21389 to compile strcasecmp and strncasecmp.
21390 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21391 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21395 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21397 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21398 locale-defines.sym to gen-as-const-headers.
21399 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21400 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21402 to compile strcasecmp and strncasecmp.
21403 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21404 strcasecmp_l and strncasecmp_l.
21405 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21406 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21407 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21408 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21409 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21410 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21411 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21412 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21413 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21414 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21415 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21417 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21419 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21420 result of SYSDEP_GETTIME_CPU to retval.
21421 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21422 parameter list to macro. Remove trailing semicolon. Adjust users.
21424 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21427 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21429 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21431 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21432 from unused variable.
21434 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21436 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21439 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21442 * sunrpc/rpc_prot.c (rejected): Fix case value.
21444 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21445 unsigned long long int to avoid warnings in shift.
21447 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21449 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21452 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21453 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21454 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21456 * nis/nis_table.c (nis_list): Use variable of correct type for
21457 result of __follow_path call.
21459 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21461 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21462 of math functions ceil, trunc, floor, round, and sqrt, when
21463 avaliable on the platform.
21464 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21466 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21467 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21468 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21470 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21472 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21473 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21475 2011-11-11 Roland McGrath <roland@hack.frob.com>
21477 * include/unistd.h: Fix __readlink return type.
21478 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21480 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21482 * stdlib/ucontext.h: Undo last change for makecontext.
21484 2011-11-11 Andreas Schwab <schwab@redhat.com>
21486 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21488 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21489 * setjmp/setjmp.h: Mark functions as non-leaf.
21490 * setjmp/bits/setjmp2.h: Likewise.
21491 * stdlib/ucontext.h: Likewise.
21493 2011-11-10 Andreas Schwab <schwab@redhat.com>
21495 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21496 (reused_arena): Don't check arena limit.
21497 (arena_get2): Atomically check arena limit.
21499 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21501 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21502 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21504 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21507 2011-11-07 Andreas Schwab <schwab@redhat.com>
21509 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21510 handler when locking.
21512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21513 Fix size of allocated buffer.
21515 2011-11-04 Andreas Schwab <schwab@redhat.com>
21518 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21519 declarations for long double functions.
21520 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21522 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21524 2011-11-03 Andreas Schwab <schwab@redhat.com>
21526 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21529 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21532 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21534 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21536 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21538 * include/alloca.h (stackinfo_alloca_round): Define.
21539 (extend_alloca): Use it.
21540 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21541 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21544 * scripts/check-local-headers.sh: Ignore libaudit.h.
21546 * nscd/Makefile (extra-objs): Make recursively expanded.
21548 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21550 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21551 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21553 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21554 * posix/tst-rfc3484-2.c: Likewise.
21555 * posix/tst-rfc3484-3.c: Likewise.
21557 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21559 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21561 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21562 process_vm_writev from libc using GLIBC_2.15 version.
21564 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21566 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21568 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21571 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21574 * nss/getent.c (initgroups_keys): Show error message in case no group
21577 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21578 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21579 __bump_nl_timestamp.
21580 * nscd/connections (nscd_init): When host database is served open
21581 netlink socket and request notification about configuration changes.
21582 (main_loop_poll): Track netlink file descriptor and bump timestamp
21583 in case data becomes available.
21584 (main_loop_epoll): Likewise.
21585 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21586 (database_pers_head): Add extra_data fileds.
21587 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21588 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21589 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21591 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21592 in6ai data, call __free_in6ai.
21593 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21594 Add -DHAVE_NETLINK.
21595 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21596 interface information. Reuse previous data if netlink timestamp
21598 (__bump_nl_timestamp): New function.
21599 (__free_in6ai): New function.
21601 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21603 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21604 close_not_cancel_no_status here.
21605 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21607 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21610 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21613 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21614 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21615 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21617 2011-07-03 Andreas Jaeger <aj@suse.de>
21620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21621 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21622 * math/libm-test.inc (sin_test): Add test case.
21624 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21627 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21628 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21630 * elf/chroot_canon.c (chroot_canon): Cleanups.
21632 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21635 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21636 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21638 * string/test-strchr.c: Make usable for strchrnul testing.
21639 * string/test-strchrnul.c: New file.
21640 * string/Makefile (strop-tests): Add strchrnul.
21642 * po/it.po: Update from translation team.
21643 * po/es.po: Likewise.
21645 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21647 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21648 the three constants needed as parameters. Drop the others.
21649 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21650 __m128i_strloadu_tolower.
21651 Create and initialize variable zero and use it in all the places
21652 where _mm_setzero_si128 was used.
21654 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21655 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21656 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21657 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21659 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21660 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21661 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21662 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21663 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21664 __mpranred, __mptan.
21665 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21666 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21667 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21668 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21669 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21670 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21671 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21672 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21673 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21675 2011-10-28 Andreas Schwab <schwab@redhat.com>
21677 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21678 redefine if SHARED.
21679 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21682 wide char related routines to wcsmbs subdir.
21684 2011-10-27 Andreas Schwab <schwab@redhat.com>
21687 * misc/sys/cdefs.h (__THROWNL): Define.
21688 * posix/unistd.h: Use __THREADNL instead of __THREAD
21689 for memory synchronization functions.
21691 2011-10-26 Roland McGrath <roland@hack.frob.com>
21694 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21696 * manual/stdio.texi (Obstack Streams): Node removed.
21698 2011-10-26 Andreas Schwab <schwab@redhat.com>
21700 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21701 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21702 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21704 * math/math_private.h (math_force_eval): Allow non-addressable
21706 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21708 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21710 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21711 file is not needed.
21713 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21714 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21716 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21717 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21718 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21719 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21720 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21722 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21723 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21724 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21725 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21726 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21727 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21728 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21729 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21730 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21731 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21732 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21733 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21734 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21735 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21736 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21737 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21738 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21739 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21740 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21742 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21743 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21746 place. Use VEX encoding when compiling for AVX.
21748 2011-10-25 Andreas Schwab <schwab@redhat.com>
21750 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21751 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21753 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21755 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21757 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21758 useless if() expression.
21759 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21760 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21761 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21763 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21764 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21765 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21766 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21767 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21768 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21769 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21770 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21771 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21772 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21773 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21774 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21775 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21777 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21779 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21781 2011-10-25 Andreas Schwab <schwab@redhat.com>
21783 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21785 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21787 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21789 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21790 .text section. Avoid duplicate constants.
21791 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21801 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21803 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21804 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21805 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21806 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21808 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21809 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21810 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21811 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21812 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21813 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21814 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21815 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21816 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21817 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21818 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21819 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21820 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21821 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21822 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21823 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21824 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21825 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21826 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21827 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21828 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21829 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21830 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21831 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21832 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21833 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21834 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21835 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21837 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21839 * sysdeps/x86_64/dla.h: Move to ...
21840 * sysdeps/x86_64/fpu/dla.h: ...here.
21841 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21842 situations. Use __builtin_fma only for gcc 4.6 and up.
21844 * config.make.in: Add have-mfma4 entry.
21845 * configure.in: Substitute libc_cv_cc_fma4.
21846 * math/Makefile (dbl-only-routines): Add sincostab.
21847 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21848 Use __sincostab not sincos.
21849 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21851 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21853 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21854 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21856 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21857 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21858 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21859 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21861 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21862 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21864 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21865 define aliases when function name is a macro.
21866 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21867 sysdeps/ieee754/dbl-64/sincos.tbl.
21868 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21869 fma4-enabled routines.
21870 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21871 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21872 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21873 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21874 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21875 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21876 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21877 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21878 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21879 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21880 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21881 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21882 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21883 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21884 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21885 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21886 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21887 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21888 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21889 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21890 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21891 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21892 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21893 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21894 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21895 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21897 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21898 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21899 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21901 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21909 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21912 2011-10-24 Andreas Schwab <schwab@redhat.com>
21914 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21916 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21918 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21920 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21922 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21924 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21925 Remove unused variable magic_bits.
21926 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21928 * string/strnlen.c: Define and use STRNLEN macro.
21929 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21930 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21931 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21932 * wcsmbs/wcslen.c: Define and use WCSLEN.
21933 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21934 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21935 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21936 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21937 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21938 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21939 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21941 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21944 strnlen-sse2-no-bsf.
21945 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21946 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21947 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21948 Add strnlen support.
21949 (USE_AS_STRNLEN): New macro.
21950 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21951 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21952 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21953 * sysdeps/x86_64/wcslen.S: New file.
21955 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21958 XMM-moves are used for copying on small sizes.
21960 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21962 * wcsmbs/Makefile (strop-tests): Add wcschr.
21963 * wcsmbs/test-wcschr.c: New file.
21964 * string/test-strchr.c: Update.
21965 Add wcschr support.
21968 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21970 * wcsmbs/Makefile (strop-tests): Add wcslen.
21971 * wcsmbs/test-wcslen.c: New file.
21972 * string/test-strlen.c: Update.
21973 Add wcslen support.
21976 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21978 * po/it.po: Update from translation team.
21980 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21982 * sysdeps/x86_64/wcscmp.S: Update.
21983 Fix wrong comparison semantics.
21984 wcscmp shall use signed comparison not unsigned.
21985 Don't use substraction to avoid overflow bug.
21986 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21987 * wcsmbc/wcscmp.c: Likewise.
21988 * string/test-strcmp.c: Likewise.
21989 Add new tests to check cases with negative values.
21991 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21993 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21994 * sysdeps/x86_64/dla.h: ...here. New file.
21995 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22000 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22002 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22005 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22008 __ynl_finite aliases.
22010 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22014 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22016 [DLA_FMA] (EMULV): Use DLA_FMA.
22017 [DLA_FMA] (MUL12): Use EMULV.
22018 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22019 that are not needed.
22020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22028 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22030 * math/s_nan.c: Undef __nan.
22031 * math/s_nanf.c: Undef __nanf.
22032 * math/s_nanl.c: Undef __nanl.
22033 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22036 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22038 * math/s_catan.c: Add branch predictions.
22039 * math/s_catanf.c: Likewise.
22040 * math/s_catanh.c: Likewise.
22041 * math/s_catanhf.c: Likewise.
22042 * math/s_catanhl.c: Likewise.
22043 * math/s_catanl.c: Likewise.
22044 * math/s_cexp.c: Likewise.
22045 * math/s_cexpf.c: Likewise.
22046 * math/s_cexpl.c: Likewise.
22047 * math/s_clog.c: Likewise.
22048 * math/s_clog10.c: Likewise.
22049 * math/s_clog10f.c: Likewise.
22050 * math/s_clog10l.c: Likewise.
22051 * math/s_clogf.c: Likewise.
22052 * math/s_clogl.c: Likewise.
22053 * math/s_csqrt.c: Likewise.
22054 * math/s_csqrtf.c: Likewise.
22055 * math/s_csqrtl.c: Likewise.
22056 * math/s_ctanf.c: Likewise.
22057 * math/s_ctanh.c: Likewise.
22058 * math/s_ctanhf.c: Likewise.
22059 * math/s_ctanhl.c: Likewise.
22060 * math/s_ctanl.c: Likewise.
22062 * math/math_private.h: Define __nan, __nanf, __nanl.
22063 * math/s_cacosh.c: Include <math_private.h>.
22064 * math/s_cacoshl.c: Likewise.
22065 * math/s_casinh.c: Likewise.
22066 * math/s_casinhf.c: Likewise.
22067 * math/s_casinhl.c: Likewise.
22068 * math/s_ccos.c: Rely entire on ccosh.
22069 * math/s_ccosf.c: Rely entire on ccoshf.
22070 * math/s_ccosl.c: Rely entirely on ccoshl.
22071 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22072 Remove tests for FE_INVALID.
22073 * math/s_ccoshf.c: Likewise.
22074 * math/s_ccoshl.c: Likewise.
22075 * math/s_csin.c: Likewise.
22076 * math/s_csinf.c: Likewise.
22077 * math/s_csinh.c Likewise.
22078 * math/s_csinhf.c: Likewise.
22079 * math/s_csinhl.c: Likewise.
22080 * math/s_csinl.c: Likewise.
22081 * math/s_ctan.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22083 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22084 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22086 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22089 compilation problems.
22091 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22094 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22096 * sysdeps/i386/configure.in: Test for -mfma4 option.
22097 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22098 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22099 COMMON_CPUID_INDEX_80000001.
22100 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22101 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22102 use it if FMA3 is not supported.
22103 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22105 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22106 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22108 2011-10-20 Andreas Schwab <schwab@redhat.com>
22111 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22112 it would create a cycle with a link time dependency.
22114 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22116 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22118 * string/Makefile (strop-tests): Add rawmemchr.
22119 * string/test-rawmemchr.c: New file.
22121 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22122 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22123 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22124 when compiling str{,n}casecmp and when AVX is available. Hook up
22125 new optimized code in initializers.
22127 2011-10-19 Andreas Schwab <schwab@redhat.com>
22129 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22130 __feraiseexcept instead of feraiseexcept.
22132 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22134 * math/math_private.h: Define defaults for libc_fetestexcept and
22136 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22137 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22138 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22139 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22140 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22141 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22142 libc_fetestexcept and libc_feupdateenv.
22144 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22145 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22146 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22147 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22148 libc_feholdexcept_setround.
22150 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22151 Add s_nearbyint-c and s_nearbyintf-c.
22152 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22153 nearbyintf inlines.
22154 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22155 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22156 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22157 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22159 * math/math_private.h: Define defaults for libc_fegetround,
22160 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22161 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22162 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22164 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22165 standard functions.
22166 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22167 Remove comments and hacks for old compiler versions.
22168 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22169 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22170 libc_feholdexceptl.
22172 2011-10-18 Andreas Schwab <schwab@redhat.com>
22174 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22175 (__feraiseexcept_renamed): Add __NTH.
22176 (feraiseexcept): Add __NTH. Rename local variables to fix
22177 namespace violations.
22179 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22181 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22183 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22185 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22186 recently added interfaces.
22187 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22189 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22190 about macro parameter expansion.
22192 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22193 __NO_MATH_INLINES is defined. Cleanups.
22195 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22196 and __floorf is target has SSE4.1.
22197 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22198 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22199 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22200 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22202 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22204 (floorf): Likewise.
22206 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22208 2011-10-17 Andreas Schwab <schwab@redhat.com>
22210 * misc/sys/cdefs.h: Fix last change.
22212 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22215 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22217 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22219 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22220 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22221 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22222 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22224 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22225 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22226 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22227 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22228 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22229 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22230 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22231 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22232 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22233 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22234 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22235 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22236 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22237 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22238 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22239 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22240 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22242 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22243 ceil, ceilf, floor, floorf.
22245 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22246 Perform IRELATIVE relocations last.
22248 * elf/do-rel.h: Add another parameter nrelative, replacing the
22249 local variable with the same name. Change name of the function
22250 to end in Rel or Rela (uppercase).
22251 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22252 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22253 elf_dynamic_do_##reloc function.
22255 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22257 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22258 is sufficient, at least on modern CPUs.
22260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22262 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22263 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22265 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22267 * math/bits/math-finite.h: Add entries for exp.
22268 * math/e_expl.c: Add __*_finite alias.
22269 * sysdeps/i386/fpu/e_exp.S: Likewise.
22270 * sysdeps/i386/fpu/e_expf.S: Likewise.
22271 * sysdeps/i386/fpu/e_expl.c: Likewise.
22272 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22273 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22274 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22277 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22278 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22280 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22281 is sufficient, at least on modern CPUs.
22283 * ctype/ctype-info.c (__ctype_init): Define.
22284 * include/ctype.h (__ctype_init): Declare.
22285 (__ctype_b_loc): The variable is always initialized.
22286 (__ctype_toupper_loc): Likewise.
22287 (__ctype_tolower_loc): Likewise.
22288 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22289 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22291 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22293 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22295 * configure.in: Also look in $cxxmachine/include for C++ system
22298 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22300 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22301 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22302 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22303 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22304 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22305 (USE_AS_WMEMCMP): New macro.
22307 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22308 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22309 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22310 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22312 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22313 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22314 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22315 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22316 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22317 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22318 (USE_AS_WMEMCMP): New macro.
22319 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22320 * sysdeps/string/test-memcmp.c: Update.
22321 Fix simple_wmemcmp.
22323 * wcsmbs/wmemcmp.c: Update.
22324 (WMEMCMP): New macro.
22327 2011-10-12 Andreas Jaeger <aj@suse.de>
22330 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22332 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22334 * libio/iofwide.c (do_length): Avoid warning.
22336 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22338 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22340 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22342 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22343 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22344 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22345 * sysdeps/i386/i686/fpu/e_log.S: New file.
22346 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22347 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22349 * ctype/ctype.h: Add support for inlined isXXX functions when
22350 compiling C++ code.
22352 2011-10-14 Andreas Schwab <schwab@redhat.com>
22354 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22356 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22358 2011-10-13 Roland McGrath <roland@hack.frob.com>
22361 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22363 2011-10-13 Andreas Schwab <schwab@redhat.com>
22365 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22366 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22369 * sysdeps/x86_64/memrchr.S: Check for zero size.
22371 * string/stratcliff.c: Add memrchr tests.
22373 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22376 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22377 rawmemchr-sse2 rawmemchr-sse2-bsf.
22378 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22379 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22380 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22381 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22382 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22383 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22384 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22385 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22386 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22387 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22388 * string/memrchr.c (MEMRCHR): New macro.
22390 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22392 Add integration with gcc's -ffinite-math-only and optimize wrapper
22394 * Versions.def: Define GLIBC_2.15 version for libm.
22395 * math/Makefile (headers): Add bits/math-finite.h.
22396 * math/bits/math-finite.h: New file.
22397 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22398 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22399 * math/e_acoshl.c: Add __*_finite alias.
22400 * math/e_acosl.c: Likewise.
22401 * math/e_asinl.c: Likewise.
22402 * math/e_atan2l.c: Likewise.
22403 * math/e_atanhl.c: Likewise.
22404 * math/e_coshl.c: Likewise.
22405 * math/e_exp10.c: Likewise.
22406 * math/e_exp10f.c: Likewise.
22407 * math/e_exp10l.c: Likewise.
22408 * math/e_exp2l.c: Likewise.
22409 * math/e_fmodl.c: Likewise.
22410 * math/e_gammal_r.c: Likewise.
22411 * math/e_hypotl.c: Likewise.
22412 * math/e_j0l.c: Likewise.
22413 * math/e_j1l.c: Likewise.
22414 * math/e_jnl.c: Likewise.
22415 * math/e_lgammal_r.c: Likewise.
22416 * math/e_log10l.c: Likewise.
22417 * math/e_log2l.c: Likewise.
22418 * math/e_logl.c: Likewise.
22419 * math/e_powl.c: Likewise.
22420 * math/e_sinhl.c: Likewise.
22421 * math/e_sqrtl.c: Likewise.
22422 * math/e_scalb.c: Completely rewritten and optimized.
22423 * math/e_scalbf.c: Likewise.
22424 * math/e_scalbl.c: Likewise.
22425 * math/w_acos.c: Likewise.
22426 * math/w_acosf.c: Likewise.
22427 * math/w_acosl.c: Likewise.
22428 * math/w_acosh.c: Likewise.
22429 * math/w_acoshf.c: Likewise.
22430 * math/w_acoshl.c: Likewise.
22431 * math/w_asin.c: Likewise.
22432 * math/w_asinf.c: Likewise.
22433 * math/w_asinl.c: Likewise.
22434 * math/w_atan2.c: Likewise.
22435 * math/w_atan2f.c: Likewise.
22436 * math/w_atan2l.c: Likewise.
22437 * math/w_atanh.c: Likewise.
22438 * math/w_atanhf.c: Likewise.
22439 * math/w_atanhl.c: Likewise.
22440 * math/w_exp10.c: Likewise.
22441 * math/w_exp10f.c: Likewise.
22442 * math/w_exp10l.c: Likewise.
22443 * math/w_fmod.c: Likewise.
22444 * math/w_fmodf.c: Likewise.
22445 * math/w_fmodl.c: Likewise.
22446 * math/w_j0.c: Likewise.
22447 * math/w_j0f.c: Likewise.
22448 * math/w_j0l.c: Likewise.
22449 * math/w_j1.c: Likewise.
22450 * math/w_j1f.c: Likewise.
22451 * math/w_j1l.c: Likewise.
22452 * math/w_jn.c: Likewise.
22453 * math/w_jnf.c: Likewise.
22454 * math/w_log.c: Likewise.
22455 * math/w_logf.c: Likewise.
22456 * math/w_logl.c: Likewise.
22457 * math/w_log10.c: Likewise.
22458 * math/w_log10f.c: Likewise.
22459 * math/w_log10l.c: Likewise.
22460 * math/w_log2.c: Likewise.
22461 * math/w_log2f.c: Likewise.
22462 * math/w_log2l.c: Likewise.
22463 * math/w_pow.c: Likewise.
22464 * math/w_powf.c: Likewise.
22465 * math/w_powl.c: Likewise.
22466 * math/w_remainder.c: Likewise.
22467 * math/w_remainderf.c: Likewise.
22468 * math/w_remainderl.c: Likewise.
22469 * math/w_scalb.c: Likewise.
22470 * math/w_scalbf.c: Likewise.
22471 * math/w_scalbl.c: Likewise.
22472 * math/w_sqrt.c: Likewise.
22473 * math/w_sqrtf.c: Likewise.
22474 * math/w_sqrtl.c: Likewise.
22475 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22476 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22478 * math/math_private.h: Declare __kernel_standard_f.
22479 * math/w_cosh.c: Remove cruft and optimize a bit.
22480 * math/w_coshf.c: Likewise.
22481 * math/w_coshl.c: Likewise.
22482 * math/w_exp2.c: Likewise.
22483 * math/w_exp2f.c: Likewise.
22484 * math/w_exp2l.c: Likewise.
22485 * math/w_hypot.c: Likewise.
22486 * math/w_hypotf.c: Likewise.
22487 * math/w_hypotl.c: Likewise.
22488 * math/w_lgamma.c: Likewise.
22489 * math/w_lgamma_r.c: Likewise.
22490 * math/w_lgammaf.c: Likewise.
22491 * math/w_lgammaf_r.c: Likewise.
22492 * math/w_lgammal.c: Likewise.
22493 * math/w_lgammal_r.c: Likewise.
22494 * math/w_sinh.c: Likewise.
22495 * math/w_sinhf.c: Likewise.
22496 * math/w_sinhl.c: Likewise.
22497 * math/w_tgamma.c: Likewise.
22498 * math/w_tgammaf.c: Likewise.
22499 * math/w_tgammal.c: Likewise.
22500 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22501 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22502 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22503 Minor optimizations. Pretty printing. Remove cruft.
22504 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22505 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22506 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22507 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22508 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22509 * sysdeps/i386/fpu/e_asin.S: Likewise.
22510 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22511 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22512 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22513 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22514 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22515 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22516 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22517 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22518 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22519 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22520 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22521 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22522 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22523 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22524 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22525 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22526 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22527 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22528 * sysdeps/i386/fpu/e_log.S: Likewise.
22529 * sysdeps/i386/fpu/e_log10.S: Likewise.
22530 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22531 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22532 * sysdeps/i386/fpu/e_log2.S: Likewise.
22533 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22534 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22535 * sysdeps/i386/fpu/e_logf.S: Likewise.
22536 * sysdeps/i386/fpu/e_logl.S: Likewise.
22537 * sysdeps/i386/fpu/e_pow.S: Likewise.
22538 * sysdeps/i386/fpu/e_powf.S: Likewise.
22539 * sysdeps/i386/fpu/e_powl.S: Likewise.
22540 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22541 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22542 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22543 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22544 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22545 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22546 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22547 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22548 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22549 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22552 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22554 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22559 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22570 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22571 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22572 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22573 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22574 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22575 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22576 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22577 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22578 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22579 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22580 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22581 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22582 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22583 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22584 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22585 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22586 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22587 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22588 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22589 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22590 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22629 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22632 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22634 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22635 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22637 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22640 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22641 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22642 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22643 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22644 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22645 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22646 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22647 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22648 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22649 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22650 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22651 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22652 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22653 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22654 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22655 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22656 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22657 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22658 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22659 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22660 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22661 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22662 (__isnanf): Likewise.
22663 (__isinf_ns): Likewise.
22664 (__isinf_nsf): Likewise.
22665 (__finite): Likewise.
22666 (__finitef): Likewise.
22667 (__ieee754_sqrt): Define as macro.
22668 (__ieee754_sqrtf): Define as macro.
22669 (__ieee754_sqrtl): Define as macro.
22670 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22672 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22673 __FINITE_MATH_ONLY__ consistent.
22674 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22676 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22678 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22681 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22683 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22685 * po/ja.po: Update from translation team.
22687 2011-10-08 Roland McGrath <roland@hack.frob.com>
22689 * locale/programs/locarchive.c (prepare_address_space): New function.
22690 (create_archive, enlarge_archive, open_archive): Use it.
22692 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22693 inside [SHARED], where it is used.
22695 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22697 * nss/getent.c (netgroup_keys): Remove unused variable.
22698 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22700 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22702 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22703 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22705 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22706 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22707 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22708 * math/Makefile (libm-calls): Add s_isinf_ns.
22709 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22710 * math/multc3.c: Likewise.
22711 * math/s_casin.c: Likewise.
22712 * math/s_casinf.c: Likewise.
22713 * math/s_casinl.c: Likewise.
22714 * math/s_ccos.c: Likewise.
22715 * math/s_ccosf.c: Likewise.
22716 * math/s_ccosl.c: Likewise.
22717 * math/s_ctan.c: Likewise.
22718 * math/s_ctanf.c: Likewise.
22719 * math/s_ctanh.c: Likewise.
22720 * math/s_ctanhf.c: Likewise.
22721 * math/s_ctanhl.c: Likewise.
22722 * math/s_ctanl.c: Likewise.
22723 * math/w_fmod.c: Likewise.
22724 * math/w_fmodf.c: Likewise.
22725 * math/w_fmodl.c: Likewise.
22726 * math/w_remainder.c: Likewise.
22727 * math/w_remainderf.c: Likewise.
22728 * math/w_remainderl.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22730 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22731 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22732 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22733 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22734 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22735 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22736 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22738 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22740 * stdio-common/printf_fphex.c: Likewise.
22741 * stdio-common/printf_size.c: Likewise.
22743 * math/e_exp10.c: Include math_private.h using <...> not "...".
22744 * math/e_exp10f.c: Likewise.
22745 * math/e_exp10l.c: Likewise.
22746 * math/e_exp2l.c: Likewise.
22747 * math/e_j0l.c: Likewise.
22748 * math/e_j1l.c: Likewise.
22749 * math/e_jnl.c: Likewise.
22750 * math/e_lgammal_r.c: Likewise.
22751 * math/e_rem_pio2l.c: Likewise.
22752 * math/e_scalb.c: Likewise.
22753 * math/e_scalbf.c: Likewise.
22754 * math/e_scalbl.c: Likewise.
22755 * math/k_cosl.c: Likewise.
22756 * math/k_sinl.c: Likewise.
22757 * math/k_tanl.c: Likewise.
22758 * math/s_cacoshf.c: Likewise.
22759 * math/s_catan.c: Likewise.
22760 * math/s_catanf.c: Likewise.
22761 * math/s_catanh.c: Likewise.
22762 * math/s_catanhf.c: Likewise.
22763 * math/s_catanhl.c: Likewise.
22764 * math/s_catanl.c: Likewise.
22765 * math/s_ccosh.c: Likewise.
22766 * math/s_ccoshf.c: Likewise.
22767 * math/s_ccoshl.c: Likewise.
22768 * math/s_cexp.c: Likewise.
22769 * math/s_cexpf.c: Likewise.
22770 * math/s_cexpl.c: Likewise.
22771 * math/s_clog.c: Likewise.
22772 * math/s_clog10.c: Likewise.
22773 * math/s_clog10f.c: Likewise.
22774 * math/s_clog10l.c: Likewise.
22775 * math/s_clogf.c: Likewise.
22776 * math/s_clogl.c: Likewise.
22777 * math/s_csin.c: Likewise.
22778 * math/s_csinf.c: Likewise.
22779 * math/s_csinh.c: Likewise.
22780 * math/s_csinhf.c: Likewise.
22781 * math/s_csinhl.c: Likewise.
22782 * math/s_csinl.c: Likewise.
22783 * math/s_csqrt.c: Likewise.
22784 * math/s_csqrtf.c: Likewise.
22785 * math/s_csqrtl.c: Likewise.
22786 * math/s_ctan.c: Likewise.
22787 * math/s_ctanf.c: Likewise.
22788 * math/s_ctanh.c: Likewise.
22789 * math/s_ctanhf.c: Likewise.
22790 * math/s_ctanhl.c: Likewise.
22791 * math/s_ctanl.c: Likewise.
22792 * math/s_ldexp.c: Likewise.
22793 * math/s_ldexpf.c: Likewise.
22794 * math/s_ldexpl.c: Likewise.
22795 * math/s_significand.c: Likewise.
22796 * math/s_significandf.c: Likewise.
22797 * math/s_significandl.c: Likewise.
22798 * math/w_acos.c: Likewise.
22799 * math/w_acosf.c: Likewise.
22800 * math/w_acosh.c: Likewise.
22801 * math/w_acoshf.c: Likewise.
22802 * math/w_acoshl.c: Likewise.
22803 * math/w_acosl.c: Likewise.
22804 * math/w_asin.c: Likewise.
22805 * math/w_asinf.c: Likewise.
22806 * math/w_asinl.c: Likewise.
22807 * math/w_atan2.c: Likewise.
22808 * math/w_atan2f.c: Likewise.
22809 * math/w_atan2l.c: Likewise.
22810 * math/w_atanh.c: Likewise.
22811 * math/w_atanhf.c: Likewise.
22812 * math/w_atanhl.c: Likewise.
22813 * math/w_cosh.c: Likewise.
22814 * math/w_coshf.c: Likewise.
22815 * math/w_coshl.c: Likewise.
22816 * math/w_dremf.c: Likewise.
22817 * math/w_exp10.c: Likewise.
22818 * math/w_exp10f.c: Likewise.
22819 * math/w_exp10l.c: Likewise.
22820 * math/w_exp2.c: Likewise.
22821 * math/w_exp2f.c: Likewise.
22822 * math/w_fmod.c: Likewise.
22823 * math/w_fmodf.c: Likewise.
22824 * math/w_fmodl.c: Likewise.
22825 * math/w_hypot.c: Likewise.
22826 * math/w_hypotf.c: Likewise.
22827 * math/w_hypotl.c: Likewise.
22828 * math/w_j0.c: Likewise.
22829 * math/w_j0f.c: Likewise.
22830 * math/w_j0l.c: Likewise.
22831 * math/w_j1.c: Likewise.
22832 * math/w_j1f.c: Likewise.
22833 * math/w_j1l.c: Likewise.
22834 * math/w_jn.c: Likewise.
22835 * math/w_jnf.c: Likewise.
22836 * math/w_jnl.c: Likewise.
22837 * math/w_lgamma.c: Likewise.
22838 * math/w_lgamma_r.c: Likewise.
22839 * math/w_lgammaf.c: Likewise.
22840 * math/w_lgammaf_r.c: Likewise.
22841 * math/w_lgammal.c: Likewise.
22842 * math/w_lgammal_r.c: Likewise.
22843 * math/w_log.c: Likewise.
22844 * math/w_log10.c: Likewise.
22845 * math/w_log10f.c: Likewise.
22846 * math/w_log10l.c: Likewise.
22847 * math/w_log2.c: Likewise.
22848 * math/w_log2f.c: Likewise.
22849 * math/w_log2l.c: Likewise.
22850 * math/w_logf.c: Likewise.
22851 * math/w_logl.c: Likewise.
22852 * math/w_pow.c: Likewise.
22853 * math/w_powf.c: Likewise.
22854 * math/w_powl.c: Likewise.
22855 * math/w_remainder.c: Likewise.
22856 * math/w_remainderf.c: Likewise.
22857 * math/w_remainderl.c: Likewise.
22858 * math/w_scalb.c: Likewise.
22859 * math/w_scalbf.c: Likewise.
22860 * math/w_scalbl.c: Likewise.
22861 * math/w_sinh.c: Likewise.
22862 * math/w_sinhf.c: Likewise.
22863 * math/w_sinhl.c: Likewise.
22864 * math/w_sqrt.c: Likewise.
22865 * math/w_sqrtf.c: Likewise.
22866 * math/w_sqrtl.c: Likewise.
22867 * math/w_tgamma.c: Likewise.
22868 * math/w_tgammaf.c: Likewise.
22869 * math/w_tgammal.c: Likewise.
22871 * po/ja.po: Update from translation team.
22873 2011-09-29 Andreas Jaeger <aj@suse.de>
22876 * sunrpc/netname.c (netname2host): Fix logic.
22880 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22882 * math/w_remainder.c (__remainder): Likewise.
22883 * math/w_remainderf.c (__remainderf): Likewise.
22884 * math/libm-test.inc (remainder_test): Add test cases.
22886 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22888 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22891 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22893 * string/test-memcmp.c: Avoid unncessary #defines.
22894 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22896 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22898 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22899 Use new sse2 version for core i3 - i7 as it's faster
22900 than sse42 version.
22901 (bit_Prefer_PMINUB_for_stringop): New.
22902 * sysdeps/x86_64/rawmemchr.S: Update.
22903 Replace with faster SSE2 version.
22904 * sysdeps/x86_64/memrchr.S: New file.
22905 * sysdeps/x86_64/memchr.S: Update.
22906 Replace with faster SSE2 version.
22908 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22910 * elf/dl-load.c (lose): Add cast to avoid warning.
22912 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22914 * po/ca.po: Update from translation team.
22916 * inet/getnetgrent_r.c: Hook up nscd.
22917 * nscd/Makefile (routines): Add nscd_netgroup.
22918 (nscd-modules): Add netgroupcache.
22919 (CFLAGS-netgroupcache.c): Define.
22920 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22921 (cache_search): Add const to second parameter.
22922 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22924 (dbs): Add netgrdb entry.
22925 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22926 (verify_persistent_db): Handle netgrdb.
22927 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22928 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22930 (netgroup_response_header): Define.
22931 (innetgroup_response_header): Define.
22932 (datahead): Add netgroup_response_header and innetgroup_response_header
22934 * nscd/nscd.conf: Add entries for netgroup cache.
22935 * nscd/nscd.h (dbtype): Add netgrdb.
22936 (_PATH_NSCD_NETGROUP_DB): Define.
22937 (netgroup_iov_disabled): Declare.
22938 (xmalloc, xcalloc, xrealloc): Move declarations here.
22939 (cache_search): Adjust prototype.
22940 Add netgroup-related prototypes.
22941 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22942 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22943 (__nscd_innetgr): Declare.
22944 * nscd/selinux.c (perms): Use access_vector_t as element type and
22945 add netgroup-related initializers.
22946 * nscd/netgroupcache.c: New file.
22947 * nscd/nscd_netgroup.c: New file.
22948 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22949 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22950 For four parameters use innetgr.
22951 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22952 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22953 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22954 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22956 * nscd/connections.c (register_traced_file): Don't register file
22957 for disabled databases.
22959 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22961 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22963 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22964 from tree and freeing node.
22966 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22968 * nss/nsswitch.c (__nss_database_lookup): Handle
22969 nss_parse_service_list out of memory case.
22971 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22973 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22974 out of memory case.
22976 2011-10-04 Andreas Schwab <schwab@redhat.com>
22978 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22979 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22981 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22982 elf_machine_rela, elf_machine_lazy_rel.
22983 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22984 (ELF_DYNAMIC_DO_REL): Likewise.
22985 (ELF_DYNAMIC_DO_RELA): Likewise.
22986 (ELF_DYNAMIC_RELOCATE): Likewise.
22987 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22988 to ELF_DYNAMIC_DO_REL.
22989 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22990 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22991 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22993 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22994 skip_ifunc, don't call ifunc function if non-zero.
22995 (elf_machine_rela): Likewise.
22996 (elf_machine_lazy_rel): Likewise.
22997 (elf_machine_lazy_rela): Likewise.
22998 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22999 (elf_machine_lazy_rel): Likewise.
23000 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23002 (elf_machine_lazy_rel): Likewise.
23003 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23005 (elf_machine_lazy_rel): Likewise.
23006 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23007 (elf_machine_lazy_rel): Likewise.
23008 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23009 (elf_machine_lazy_rel): Likewise.
23010 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23011 (elf_machine_lazy_rel): Likewise.
23012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23013 (elf_machine_lazy_rel): Likewise.
23014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23015 (elf_machine_lazy_rel): Likewise.
23016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23017 (elf_machine_lazy_rel): Likewise.
23019 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23021 * nss/nss_files/files-init.c (_nss_files_init): Use static
23022 initialization for all the *_traced_file variables.
23024 2011-09-28 Andreas Schwab <schwab@redhat.com>
23026 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23028 2011-09-27 Roland McGrath <roland@hack.frob.com>
23031 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23033 2011-09-27 Andreas Schwab <schwab@redhat.com>
23035 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23036 Reread the line before reparsing it.
23038 2011-09-26 Andreas Schwab <schwab@redhat.com>
23040 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23042 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23043 Maxim Kuvyrkov <maxim@codesourcery.com>
23044 Joseph Myers <joseph@codesourcery.com>
23046 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23047 if needed for __stack_chk_guard.
23049 2011-09-19 Roland McGrath <roland@hack.frob.com>
23051 * sysdeps/posix/spawni.c (script_execute): Always define it.
23052 It will be optimized away if unused.
23053 (maybe_script_execute): New function.
23054 (__spawni): Call it.
23056 * Makerules: Don't include tls.make.
23057 (config-tls): Always set to thread.
23058 * tls.make.c: File removed.
23060 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23062 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23063 * config.make.in (CPPFLAGS-config): New substituted variable.
23065 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23067 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23070 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23071 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23073 2011-09-15 Roland McGrath <roland@hack.frob.com>
23075 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23076 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23078 (CALL_FAIL): Likewise.
23079 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23080 (CALL_FAIL): Macro removed.
23081 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23083 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23085 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23086 for __FINITE_MATH_ONLY__ == 1.
23088 2011-09-15 Andreas Schwab <schwab@redhat.com>
23090 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23091 __ieee754_sqrt instead of sqrt.
23092 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23093 __ieee754_sqrtf instead of sqrtf.
23094 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23095 __floorf instead of floorf.
23096 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23097 __floorf, __truncf instead of floorf, truncf.
23099 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23101 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23103 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23104 __extern_always_inline.
23105 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23108 2011-09-14 Andreas Schwab <schwab@redhat.com>
23110 * elf/rtld.c (dl_main): Also relocate in dependency order when
23111 doing symbol dependency testing.
23113 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23115 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23116 Always define `refsym'.
23118 2011-09-13 Andreas Schwab <schwab@redhat.com>
23120 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23121 (__FD_ELT): Renamed from __FDELT.
23122 * misc/bits/select2.h (__FD_ELT): Likewise.
23123 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23124 __FD_MASK instead of __FDELT, __FDMASK.
23125 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23127 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23130 * elf/Makefile (gen-ldd): Fix pattern.
23132 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23133 (init_tls): Likewise.
23135 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23139 2011-09-12 Andreas Schwab <schwab@redhat.com>
23141 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23142 `struct cmsghdr *' instead of `void *'.
23143 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23146 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23148 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23150 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23151 ldd_rewrite_script.
23153 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23155 * configure.in: Remove --with-tls option.
23156 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23157 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23158 out in case it is missing.
23159 * sysdeps/ia64/elf/configure.in: Likewise.
23160 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23161 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23162 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23163 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23164 * sysdeps/sh/elf/configure.in: Likewise.
23165 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23166 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23167 * sysdeps/x86_64/elf/configure.in: Likewise.
23168 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23169 * sysdeps/mach/hurd/tls.h: Likewise.
23172 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23175 * configure.in: Fix use of AC_INIT.
23177 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23179 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23181 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23183 * malloc/hooks.c: Likewise.
23186 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23187 variables statically.
23188 (narenas): Initialize.
23189 (list_lock): Initialize.
23190 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23191 initializtion of main_arena and list_lock. Small cleanups.
23192 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23193 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23194 Add initializers to main_arena and mp_.
23195 (malloc_state): Remove pagesize member. Change all users to use
23198 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23199 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23200 is always initialized.
23202 * malloc/malloc.c: Removed unused configurations and dead code.
23203 * malloc/arena.c: Likewise.
23204 * malloc/hooks.c: Likewise.
23205 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23207 * include/tls.h: Removed. USE___THREAD must always be defined.
23208 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23209 * elf/dl-libc.c: Likewise.
23210 * elf/dl-tsd.c: Likewise.
23211 * include/errno.h: Likewise.
23212 * include/netdb.h: Likewise.
23213 * include/resolv.h: Likewise.
23214 * inet/herrno-loc.c: Likewise.
23215 * inet/herrno.c: Likewise.
23216 * malloc/arena.c: Likewise.
23217 * malloc/hooks.c: Likewise.
23218 * malloc/malloc.c: Likewise.
23219 * resolv/res-state.c: Likewise.
23220 * resolv/res_libc.c: Likewise.
23221 * sysdeps/i386/dl-machine.h: Likewise.
23222 * sysdeps/ia64/dl-machine.h: Likewise.
23223 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23224 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23225 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23226 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23227 * sysdeps/sh/dl-machine.h: Likewise.
23228 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23229 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23230 * sysdeps/unix/i386/sysdep.S: Likewise.
23231 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23232 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23237 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23241 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23242 * sysdeps/x86_64/dl-machine.h: Likewise.
23243 * tls.make.c: Likewise.
23245 * configure.in: Remove --with-__thread option. Make tests for
23246 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23247 tls_model attribute fail if no support is available. Remove
23249 * Makeconfig: Adjust for dropped configure option. All features are
23251 * Makerules: Likewise.
23252 * Versions.def: Likewise.
23253 * argp/argp-fmtstream.c: Likewise.
23254 * argp/argp-fmtstream.h: Likewise.
23255 * argp/argp-help.c: Likewise.
23256 * assert/assert.c: Likewise.
23257 * config.h.in: Likewise.
23258 * config.make.in: Likewise.
23259 * configure: Likewise.
23260 * configure.in: Likewise.
23261 * csu/Versions: Likewise.
23262 * csu/init.c: Likewise.
23263 * elf/tst-audit2.c: Likewise.
23264 * elf/tst-tls10.c: Likewise.
23265 * elf/tst-tls10.h: Likewise.
23266 * elf/tst-tls11.c: Likewise.
23267 * elf/tst-tls12.c: Likewise.
23268 * elf/tst-tls14.c: Likewise.
23269 * elf/tst-tlsmod11.c: Likewise.
23270 * elf/tst-tlsmod12.c: Likewise.
23271 * elf/tst-tlsmod13.c: Likewise.
23272 * elf/tst-tlsmod13a.c: Likewise.
23273 * elf/tst-tlsmod14a.c: Likewise.
23274 * elf/tst-tlsmod15b.c: Likewise.
23275 * elf/tst-tlsmod16a.c: Likewise.
23276 * elf/tst-tlsmod16b.c: Likewise.
23277 * elf/tst-tlsmod7.c: Likewise.
23278 * elf/tst-tlsmod8.c: Likewise.
23279 * elf/tst-tlsmod9.c: Likewise.
23280 * gmon/gmon.c: Likewise.
23281 * grp/fgetgrent_r.c: Likewise.
23282 * grp/putgrent.c: Likewise.
23283 * hurd/fopenport.c: Likewise.
23284 * include/libc-symbols.h: Likewise.
23285 * include/tls.h: Likewise.
23286 * intl/gettextP.h: Likewise.
23287 * intl/loadinfo.h: Likewise.
23288 * locale/global-locale.c: Likewise.
23289 * locale/localeinfo.h: Likewise.
23290 * mach/devstream.c: Likewise.
23291 * malloc/arena.c: Likewise.
23292 * malloc/set-freeres.c: Likewise.
23293 * misc/err.c: Likewise.
23294 * misc/getttyent.c: Likewise.
23295 * misc/mntent_r.c: Likewise.
23296 * posix/getopt.c: Likewise.
23297 * posix/wordexp.c: Likewise.
23298 * pwd/fgetpwent_r.c: Likewise.
23299 * resolv/Versions: Likewise.
23300 * resolv/res_hconf.c: Likewise.
23301 * shadow/fgetspent_r.c: Likewise.
23302 * shadow/putspent.c: Likewise.
23303 * stdio-common/printf_fphex.c: Likewise.
23304 * stdio-common/tmpfile.c: Likewise.
23305 * stdlib/abort.c: Likewise.
23306 * stdlib/fmtmsg.c: Likewise.
23307 * sunrpc/auth_unix.c: Likewise.
23308 * sunrpc/clnt_perr.c: Likewise.
23309 * sunrpc/clnt_tcp.c: Likewise.
23310 * sunrpc/clnt_udp.c: Likewise.
23311 * sunrpc/clnt_unix.c: Likewise.
23312 * sunrpc/openchild.c: Likewise.
23313 * sunrpc/svc_simple.c: Likewise.
23314 * sunrpc/svc_tcp.c: Likewise.
23315 * sunrpc/svc_udp.c: Likewise.
23316 * sunrpc/svc_unix.c: Likewise.
23317 * sunrpc/xdr.c: Likewise.
23318 * sunrpc/xdr_array.c: Likewise.
23319 * sunrpc/xdr_rec.c: Likewise.
23320 * sunrpc/xdr_ref.c: Likewise.
23321 * sunrpc/xdr_stdio.c: Likewise.
23323 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23325 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23327 2011-07-03 Andreas Jaeger <aj@suse.de>
23329 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23330 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23331 regenerate with gen-libm-tests.pl.
23333 2010-05-12 Petr Baudis <pasky@suse.cz>
23336 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23337 around j0() zero points by switching to j1().
23338 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23343 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23345 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23347 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23349 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23350 Patch in part by Pavel Roskin <proski@gnu.org>.
23353 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23355 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23356 Free memory block if necessary.
23359 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23360 be NULL. Don't lock in this case.
23362 2011-09-09 Roland McGrath <roland@hack.frob.com>
23364 * elf/elf.h (ELFOSABI_GNU): New macro.
23365 (ELFOSABI_LINUX): Define to that.
23367 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23369 * string/strncat.c (strncat): Undef the symbol in case it has been
23370 defined in bits/string.h.
23372 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23374 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23376 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23379 2011-08-17 Andreas Jaeger <aj@suse.de>
23381 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23383 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23384 Ian Lance Taylor <iant@google.com>
23386 * math/libm-test.inc (lround_test): New testcase.
23387 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23389 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23391 * Makefile: Remove support for automatic cvs check-ins.
23392 * Makerules: Likewise.
23393 * config.make.in: Likewise.
23394 * configure.in: Likewise.
23395 * intl/Makefile: Likewise.
23396 * locale/Makefile: Likewise.
23397 * po/Makefile: Likewise.
23398 * posix/Makefile: Likewise.
23399 * sysdeps/gnu/Makefile: Likewise.
23400 * sysdeps/mach/hurd/Makefile: Likewise.
23401 * sysdeps/sparc/sparc32/Makefile: Likewise.
23404 * posix/Makefile (bug-regex32-ENV): Define.
23405 Patch by John Stanley <jpsinthemix@verizon.net>.
23407 * misc/Makefile (headers): Add bits/select2.h.
23408 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23409 * misc/bits/select2.h: New file.
23410 * include/bits/select2.h: New file.
23411 * debug/Makefile (routines): Add fdelt_chk.
23412 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23413 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23415 * debug/fdelt_chk.c: New file.
23417 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23418 * wcsmbs/test-wmemcmp.c: Likewise.
23419 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23420 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23422 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23424 * string/Makefile (strop-tests): Add memcmp.
23425 * string/test-wmemcmp.c: New file.
23426 * string/test-memcmp.c: Add wmemcmp support.
23428 2011-09-08 Roland McGrath <roland@hack.frob.com>
23431 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23434 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23435 garbage value in a __mach_port_mod_refs call in the cases of the
23436 task-self and thread-self ports.
23438 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23440 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23442 2011-09-08 Andreas Schwab <schwab@redhat.com>
23444 * elf/dl-load.c (lose): Check for non-null L.
23446 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23448 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23450 * elf/dl-libc.c (dlerror_run): Pass back error code from
23454 * elf/dl-load.c (lose): Free l_origin if it is valid.
23456 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23458 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23459 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23461 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23462 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23463 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23465 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23467 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23468 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23469 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23470 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23471 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23472 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23473 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23474 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23475 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23476 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23478 2011-08-15 Alan Modra <amodra@gmail.com>
23481 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23482 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23483 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23484 ppc_mcount to static-only-routines.
23485 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23487 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23488 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23490 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23492 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23493 for finite and infinity parameters.
23495 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23497 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23498 and add nop instructions for throughput optimization.
23499 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23501 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23503 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23504 aligned copy for power7 with vector-scalar instructions.
23505 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23507 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23512 2011-09-07 Andreas Schwab <schwab@redhat.com>
23515 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23518 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23520 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23521 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23522 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23523 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23526 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23528 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23529 Forgot to demangle the pointer.
23531 * sysdeps/i386/sysdep.h: Define atom_text_section.
23532 * sysdeps/x86_64/sysdep.h: Likewise.
23533 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23534 section with atom_text_section.
23535 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23536 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23537 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23538 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23539 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23541 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23542 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23543 already be defined. Change to take two parameters and don't assign
23544 result to variable. Adjust all users.
23545 Define INTERNAL_GETTIME if not already defined.
23546 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23549 HAVE_CLOCK_GETTIME_VSYSCALL.
23550 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23553 gettimeofday vsyscall, just use time.
23555 2011-09-06 Andreas Schwab <schwab@redhat.com>
23557 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23560 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23562 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23564 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23566 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23567 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23568 syscall if possible.
23570 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23572 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23573 e_ident. Don't pass to find_mapsXX.
23574 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23576 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23579 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23580 * sysdeps/x86_64/multiarch/strchr.S: Update.
23581 Check bit_slow_BSF bit.
23582 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23583 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23584 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23586 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23589 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23591 (tryshell): Define.
23592 (__spawni): Change last parameter to be flag. Test
23593 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23594 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23595 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23596 * posix/spawni.c: Likewise.
23597 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23598 * posix/spawnp.c: Likewise. Change normal version to use
23599 SPAWN_XFLAGS_USE_PATH.
23600 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23601 SPAWN_XFLAGS_TRY_SHELL.
23604 * posix/glob.h: Remove gcc 1.x support.
23607 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23609 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23612 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23614 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23615 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23617 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23618 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23621 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23623 * sysdeps/x86_64/wcscmp.S: New file.
23625 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23626 wcscmp-c wcscmp-sse2
23627 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23628 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23629 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23630 * wcsmbs/wcscmp.c: Allow renaming.
23632 2011-09-05 David S. Miller <davem@davemloft.net>
23634 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23635 stack slot, rather than the struct return pointer slot.
23636 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23637 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23639 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23641 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23643 * po/ja.po: Update from translation team.
23646 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23647 kernel in 64-bit binaries.
23649 2011-09-01 David S. Miller <davem@davemloft.net>
23651 * elf/elf.h (HWCAP_SPARC_*): Move to..
23652 * sysdeps/sparc/sysdep.h: this new file and add new values.
23653 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23654 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23655 _DL_HWCAP_COUNT to 24.
23656 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23658 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23659 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23660 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23661 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23662 instead of magic constants.
23663 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23665 2011-08-31 David S. Miller <davem@davemloft.net>
23667 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23668 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23669 Reimplement to do errno handling inline.
23670 (SYSCALL_ERROR_HANDLER): New macro.
23671 (__SYSCALL_STRING): Do not do errno handling in asm.
23672 (__CLONE_SYSCALL_STRING): Delete.
23673 (__INTERNAL_SYSCALL_STRING): Delete.
23674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23675 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23676 (PSEUDO): Reimplement to do errno handling inline.
23677 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23678 (SYSCALL_ERROR_HANDLER): New macro.
23679 (__SYSCALL_STRING): Do not do errno handling in asm.
23680 (__CLONE_SYSCALL_STRING): Delete.
23681 (__INTERNAL_SYSCALL_STRING): Delete.
23682 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23683 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23685 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23686 (inline_syscall*): Add 'err' argument.
23687 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23688 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23689 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23690 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23692 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23693 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23695 2011-08-30 Andreas Schwab <schwab@redhat.com>
23697 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23699 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23701 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23704 2011-08-24 David S. Miller <davem@davemloft.net>
23706 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23708 2011-08-24 Andreas Schwab <schwab@redhat.com>
23710 * elf/Makefile: Add rules to build and run unload8 test.
23711 * elf/unload8.c: New file.
23712 * elf/unload8mod1.c: New file.
23713 * elf/unload8mod1x.c: New file.
23714 * elf/unload8mod2.c: New file.
23715 * elf/unload8mod3.c: New file.
23717 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23720 2011-08-23 David S. Miller <davem@davemloft.net>
23722 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23723 subtract stack bias.
23724 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23725 %sp not %fp in calculations.
23726 (_JMPBUF_UNWINDS_ADJ): Likewise.
23728 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23729 (aio_suspend): Call it to force an exception region around the
23730 AIO_MISC_WAIT() invocation.
23732 2011-08-23 Andreas Schwab <schwab@redhat.com>
23734 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23737 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23739 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23741 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23742 and <dl-machine.h>.
23743 (Elf64_FuncDesc): Remove.
23745 2011-08-22 David S. Miller <davem@davemloft.net>
23747 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23748 sigaltstack check, add missing cfi directives.
23749 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23750 missing cfi directives, and sigaltstack handling.
23752 2011-08-16 Andreas Schwab <schwab@redhat.com>
23755 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23756 object is seen twice.
23757 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23759 * elf/Makefile (distribute): Add tst-initorder2.c.
23760 (tests): Add tst-initorder2.
23761 (modules-names): Add tst-initorder2a tst-initorder2b
23762 tst-initorder2c tst-initorder2d. Add rules to build them.
23763 ($(objpfx)tst-initorder2.out): New rule.
23764 * elf/tst-initorder2.c: New file.
23765 * elf/tst-initorder2.exp: New file.
23767 2011-08-22 Andreas Schwab <schwab@redhat.com>
23769 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23771 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23772 dependencies back to end of function.
23774 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23775 $(elfobjdir)/ld.so.
23777 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23780 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23781 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23782 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23783 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23784 of __vdso_gettimeofday.
23785 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23786 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23788 (_libc_vdso_platform_setup): Remove initialization of
23789 __vdso_gettimeofday and __vdso_time.
23791 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23793 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23794 and fgetc_unlocked.
23795 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23798 * elf/dl-open.c (add_to_global): Report additions to the global scope
23799 for LD_DEBUG=scopes.
23800 (dl_open_worker): Also print scope of newly loaded dependencies.
23801 (_dl_show_scope): Indicate if there is no scope.
23804 * stdio-common/Makefile (tests): Add bug24.
23805 * stdio-common/bug24.c: New file.
23807 2011-08-19 Andreas Jaeger <aj@suse.de>
23810 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23811 non-existant file when using close-on-exec mode.
23813 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23815 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23816 the very first instruction.
23818 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23819 the CFI state in the end.
23820 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23821 inclusion of dl-trampoline.h.
23822 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23824 2011-08-19 Andreas Schwab <schwab@redhat.com>
23826 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23827 expectations for long double.
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23830 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23832 2011-08-14 David S. Miller <davem@davemloft.net>
23834 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23835 artificual limit depends upon the system page size.
23837 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23839 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23840 * resolv/Makefile: Define CFLAGS-libresolv.
23842 2011-08-17 Andreas Schwab <schwab@redhat.com>
23844 * nss/makedb.c (compute_tables): Make variables used in nested
23847 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23849 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23850 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23851 if buffer was too small.
23853 * elf/pldd.c (main): Attach to all threads in the process.
23854 Rewrite /proc handling to use *at functions.
23856 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23858 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23859 specifies first scope to show.
23860 (dl_open_worker): Update callers. Move printing scope of new
23861 object to before the relocation.
23862 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23863 * sysdeps/generic/ldsodefs.h: Update declaration.
23865 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23866 string for the scope number.
23868 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23870 * nscd/servicescache.c (cache_addserv): Make sure written is always
23873 2011-08-14 Roland McGrath <roland@hack.frob.com>
23875 * sysdeps/i386/i486/bits/atomic.h
23876 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23877 statement expression, so as to suppress "set but not used" warning.
23878 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23880 * string/strncat.c (STRNCAT): Use prototype definition.
23882 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23883 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23885 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23886 (localedef-modules): Add localedef.
23887 (locale-modules): Add locale.
23889 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23890 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23891 to avoid a warning.
23893 2011-08-14 David S. Miller <davem@davemloft.net>
23895 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23896 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23898 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23900 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23901 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23902 * elf/rtld.c (dl_main): Set l_name of vDSO.
23903 Call _dl_show_scope when DL_DEBUG_SCOPES.
23904 (process_dl_debug): Recognize scopes flag and also set it for all.
23905 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23906 Declare _dl_show_scope.
23908 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23909 (do_dlopen): Pass caller_dlopen to dl_open.
23910 (__libc_dlopen_mode): Initialize caller_dlopen.
23912 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23913 of libc. Make tolower call locale-independent. Optimize a bit by
23914 using isdigit instead of isalnum.
23915 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23917 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23919 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23920 was a dependency or dynamically loaded.
23922 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23924 * intl/l10nflist.c: Allow architecture-specific pop function.
23925 * sysdeps/x86_64/l10nflist.c: New file.
23927 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23930 2011-08-10 Andreas Schwab <schwab@redhat.com>
23932 * include/dirent.h: Add libc_hidden_proto for scandirat and
23933 scandirat64. Don't declare __scandirat64.
23934 * dirent/scandirat.c: Add libc_hidden_def.
23935 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23936 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23938 2011-08-10 David S. Miller <davem@davemloft.net>
23940 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23942 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23943 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23944 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23946 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23948 * Versions.def [libc]: Add GLIBC_2.15.
23949 * dirent/Makefile (routines): Add scandirat and scandirat64.
23950 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23952 * dirent/dirent.h: Declare scandirat and scandirat64.
23953 * dirent/scandirat.c: New file.
23954 * dirent/scandirat64.c: New file.
23955 * sysdeps/wordsize-64/scandirat.c: New file.
23956 * sysdeps/wordsize-64/scandirat64.c: New file.
23957 * dirent/opendir.c: Define opendirat.
23958 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23960 * dirent/scandir64.c: Adjust for scandir.c change.
23961 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23962 __scandirat64, and __scandir_cancel_handler.
23963 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23964 additional parameter and use openat instead of open (outside of ld.so).
23965 Add new __opendir as wrapper around __opendirat.
23966 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23967 here without requiring old scandirat implementation.
23969 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23971 * dirent/scandir.c (cancel_handler): Renamed to
23972 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23973 defined. Adjust users.
23974 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23977 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23979 * string/test-string.h (IMPL): Use __STRING to expand name and then
23982 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23985 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23987 * string/Makefile: Update.
23988 (strop-tests): Append strncat.
23989 * string/test-wcscmp.c: New file.
23990 New comprehensive test for wcscmp.
23991 * string/test-strcmp.c: Update.
23992 (WIDE): New define.
23994 2011-07-22 Andreas Schwab <schwab@redhat.com>
23996 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23999 2011-07-26 Andreas Schwab <schwab@redhat.com>
24001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24002 encoding to ACE if AI_IDN.
24004 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24007 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24009 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24011 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24012 Fix overflow bug in strncat.
24013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24015 * string/test-strncat.c: Update.
24016 Add new tests for checking overflow bugs.
24018 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24021 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24022 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24023 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24025 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24026 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24027 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24028 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24030 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24031 (USE_AS_STRCAT): Define.
24032 Add strcat and strncat support.
24033 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24035 2011-07-25 Andreas Schwab <schwab@redhat.com>
24037 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24038 __n bigger than INT_MAX+1.
24039 (__strncmp_g): Likewise.
24041 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24043 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24044 * libio/stido.h: Likewise.
24046 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24051 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24052 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24053 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24054 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24055 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24058 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24063 (_dl_x86_64_save_sse): Likewise.
24065 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24069 (_dl_x86_64_save_sse): Likewise.
24071 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24073 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24075 2011-07-21 Andreas Schwab <schwab@redhat.com>
24077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24079 (_dl_x86_64_save_sse): Use correct AVX check.
24081 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24083 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24084 bug in strncpy/strncat.
24085 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24087 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24089 * string/tester.c (test_strcat): Add tests for different alignments
24090 of source and destination.
24091 (test_strncat): Likewise.
24093 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24096 * posix/glob.c (glob): Check passed in values before using them in
24097 expressions to avoid some overflows.
24098 (glob_in_dir): Likewise.
24101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24102 check for AVX enablement so that we don't crash with old kernels and
24104 * elf/tst-audit4.c: Add same checks here.
24105 * elf/tst-audit6.c: Likewise.
24107 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24109 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24111 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24113 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24115 * po/cs.po: Update from translation team.
24116 * po/bg.po: Likewise.
24118 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24120 * misc/sys/cdefs.h: Add support for const attribute.
24121 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24122 to gnu_dev_{major,minor,makedev} functions.
24124 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24126 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24128 2011-07-20 Andreas Schwab <schwab@redhat.com>
24130 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24133 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24136 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24137 register in order to avoid conflicts with the soft frame pointer
24138 being held in r11 when necessary.
24139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24140 (INTERNAL_VSYSCALL_NCS): Likewise.
24142 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24144 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24145 * elf/dl-fini.c (_dl_fini): Adjust caller.
24146 * elf/dl-close.c (_dl_close_worker): Likewise.
24147 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24149 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24151 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24152 "aux_cache->nlibs < 0".
24154 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24155 in the reload-count case.
24157 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24160 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24161 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24162 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24163 * sysdeps/x86_64/multiarch/strcat.S: New file.
24164 * sysdeps/x86_64/multiarch/strncat.S: New file.
24165 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24166 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24167 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24168 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24169 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24170 (USE_AS_STRCAT): Define.
24171 Add strcat and strncat support.
24172 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24173 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24174 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24175 * string/strncat.c: Update.
24176 (USE_AS_STRNCAT): Define.
24177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24178 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24180 * sysdeps/x86_64/multiarch/init-arch.h
24181 (bit_Prefer_PMINUB_for_stringop): New.
24182 (index_Prefer_PMINUB_for_stringop): Likewise.
24183 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24184 bit_Prefer_PMINUB_for_stringop.
24186 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24188 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24190 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24191 of casting of buffer.
24192 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24193 buffer32 and buffer64.
24194 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24195 writes instead of casting of buffer.
24196 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24198 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24201 2011-07-19 Andreas Schwab <schwab@redhat.com>
24203 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24205 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24207 * nscd/nscd.c (termination_handler): Don't do anything for a database
24208 if it has not yet been initialized.
24210 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24212 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24214 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24216 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24218 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24220 * po/nl.po: Update from translation team.
24221 * po/sv.po: Likewise.
24223 2011-07-16 Roland McGrath <roland@hack.frob.com>
24225 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24226 now disallowed by GCC.
24228 * configure.in (use-default-link): Default to yes if a test -shared
24229 link meets our qualifications.
24230 * configure: Regenerated.
24232 * config.make.in (output-format): New variable.
24233 * configure.in: Check for ld --print-output-format support.
24234 * configure: Regenerated.
24235 * Makerules ($(common-objpfx)format.lds)
24236 [$(output-format) != unknown]: Just use $(output-format),
24237 instead of the linker-script munging.
24239 2011-07-14 Roland McGrath <roland@hack.frob.com>
24241 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24242 of $(common-objpfx)shlib.lds.
24243 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24245 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24246 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24248 * configure.in (-z relro check): Adjust test code to add a large
24249 writable data section after it.
24250 * configure: Regenerated.
24252 2011-07-11 Roland McGrath <roland@hack.frob.com>
24254 * configure.in (-z relro check): Fix test code to make the variable
24256 * configure: Regenerated.
24258 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24260 * nscd/nscd.h (struct traced_file): Define.
24261 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24262 elements. Add traced_files.
24263 (inotify_fd): Declare.
24264 (register_traced_file): Declare.
24265 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24266 (inotify_fd): Export.
24267 (resolv_conf_descr): Remove.
24268 (nscd_init): Move inotify descriptor creation to main.
24269 Don't register files for notification here.
24270 (register_traced_file): New function.
24271 (invalidate_cache): Don't use reset_res to determine whether to call
24272 res_init, go through the list of registered files.
24273 (main_loop_poll): The inotify descriptors are now stored in the
24274 structures for the traced files.
24275 (main_loop_epoll): Likewise
24276 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24277 to __nss_disable_nscd.
24278 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24279 for a database anymore. Check the records for all the registered
24281 * nss/Makefile (libnss_files-routines): Add files-init.
24282 (libnss_db-routines): Add db-init.
24283 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24284 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24285 * nss/nss_db/db-init.c: New file.
24286 * nss/nss_files/files-init.c: New file.
24287 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24288 __nss_lookup_function.
24289 (__nss_lookup_function): Call nss_load_library.
24290 (nss_load_all_libraries): New function.
24291 (__nss_disable_nscd): Take parameter with callback function for files
24292 to register. Set is_nscd. Load all the DSOs for the NSS modules
24293 used for the cached services.
24294 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24295 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24296 options for features to all the files in nscd.
24298 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24300 2011-07-10 Roland McGrath <roland@hack.frob.com>
24302 * csu/elf-init.c (__libc_csu_init): Comment typo.
24304 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24306 * po/pl.po: Update from translation team.
24307 * po/ja.po: Likewise.
24308 * po/ru.po: Likewise.
24309 * po/ko.po: Likewise.
24310 * po/fr.po: Likewise.
24312 2011-07-09 Roland McGrath <roland@hack.frob.com>
24314 * configure.in (.ctors/.dtors header and trailer check):
24315 Use an empirical test on a built program.
24316 * configure: Regenerated.
24318 * configure.in (-z relro check): Use an empirical test on a built DSO.
24319 Detect, but do not require, on ia64.
24320 * configure: Regenerated.
24322 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24323 Update tests that use readelf to use $READELF instead.
24324 * configure: Regenerated.
24326 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24328 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24329 if the result is not used.
24331 2011-07-05 Andreas Jaeger <aj@suse.de>
24334 * stdlib/tst-strtod.c: Add testcase.
24336 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24338 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24339 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24340 The latter has a higher limit. Take additional parameter to pass to
24342 (__pathconf): Pass file to __statfs_link_max.
24343 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24345 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24349 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24350 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24352 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24353 (__statfs_filesize_max): Likewise.
24354 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24356 2011-07-05 Andreas Jaeger <aj@suse.de>
24358 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24360 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24362 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24364 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24367 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24369 * Makefile (strop-tests): Add strncat.
24370 * string/test-strncat.c: New file.
24372 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24374 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24376 2011-06-21 Andreas Jaeger <aj@suse.de>
24378 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24379 Copy rule from iconvdata/Makefile.
24381 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24384 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24385 but no long options are defined, just return 'W'.
24387 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24390 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24392 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24394 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24396 (innetgr): Likewise.
24398 2011-07-05 Roland McGrath <roland@hack.frob.com>
24400 * config.make.in (install_root): Default to $(DESTDIR).
24402 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24404 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24406 2011-07-02 Roland McGrath <roland@hack.frob.com>
24408 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24410 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24411 containing directory rather than embedding absolute directory names.
24413 * scripts/check-local-headers.sh: Rewritten using awk.
24414 Match by word, not by line. Print error messages for matches.
24415 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24417 * Makerules [shlib-lds-flags empty]:
24418 ($(common-objpfx)libc_pic.opts): New target.
24419 ($(common-objpfx)libc_pic.os.clean): New target.
24420 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24422 * config.make.in (OBJCOPY): New variable.
24423 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24424 * configure: Regenerated.
24426 * config.make.in (use-default-link): New variable.
24427 * configure.in (use_default_link): Grok --with-default-link to set it.
24428 * configure: Regenerated.
24429 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24430 (shlib-lds, shlib-lds-flags): Define to empty.
24432 * Makerules (shlib-lds): New variable.
24433 (shlib-lds-flags): New variable.
24434 (build-shlib, build-moduile, build-module-asneeded): Use it.
24435 ($(common-objpfx)libc.so): Use $(shlib-lds).
24436 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24437 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24439 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24440 DT_FLAGS/DT_FLAGS_1 with zero flags.
24442 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24443 linker script munging.
24445 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24447 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24449 * crypt/sha512.c (sha512_process_block): Perform total addition using
24450 128-bit if possible.
24451 (__sha512_finish_ctx): Likewise.
24452 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24454 * crypt/sha256.c (SWAP64): Define.
24455 (sha256_process_block): Perform total addition using 64-bit if
24457 (__sha256_finish_ctx): Likewise.
24459 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24461 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24462 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24463 * nscd/hstcache.c (cache_addhst): Likewise.
24464 * nscd/grpcache.c (cache_addgr): Likewise.
24465 * nscd/aicache.c (addhstaiX): Likewise
24466 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24468 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24470 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24472 * nscd/hstcache.c (cache_addhst): Likewise.
24473 * nscd/grpcache.c (cache_addgr): Likewise.
24474 * nscd/aicache.c (addhstaiX): Likewise
24476 2011-07-01 Andreas Schwab <schwab@redhat.com>
24478 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24479 domain only when needed.
24481 2011-06-30 Andreas Schwab <schwab@redhat.com>
24483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24484 is always restored.
24486 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24488 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24489 are re-adding the entry.
24490 * nscd/servicescache.c (cache_addserv): Likewise.
24492 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24494 * sysdeps/generic/dl-irel.h: fix protection against multiple
24496 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24498 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24501 * malloc/memusage.sh: Fix quoting in message.
24502 * debug/xtrace.sh: Likewise.
24504 * configure.in: Remove support for --experimental-malloc option, make
24506 * config.make.in: Likewise.
24507 * malloc/Makefile: Likewise.
24509 2011-06-27 Andreas Schwab <schwab@redhat.com>
24511 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24512 two-byte characters.
24514 2011-06-27 Roland McGrath <roland@hack.frob.com>
24516 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24517 AC_CACHE_CHECK invocation.
24518 * configure: Regenerated.
24520 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24522 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24525 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24526 bit from old_res_options.
24528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24530 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24531 value type for setfct.
24533 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24536 __gettimeofday instead of gettimeofday.
24538 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24540 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24542 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24544 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24549 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24552 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24553 strcpy-sse2-unaligned strncpy-sse2-unaligned
24554 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24555 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24556 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24557 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24558 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24559 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24560 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24561 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24562 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24563 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24564 (STRCPY): Support SSE2 and SSSE3 versions.
24566 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24569 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24570 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24571 kernels which artificially limit size of requests.
24573 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24576 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24577 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24578 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24579 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24580 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24581 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24582 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24583 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24584 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24585 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24586 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24587 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24588 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24589 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24591 Enable unaligned load optimization for Intel Core i3, i5 and i7
24593 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24595 (index_Fast_Unaligned_Load): Define.
24596 (HAS_FAST_UNALIGNED_LOAD): Define.
24598 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24600 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24602 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24606 until it is clear that the information is realy needed.
24607 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24609 2011-06-22 Andreas Schwab <schwab@redhat.com>
24611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24613 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24616 /sys/devices/system/cpu/online if it is usable.
24618 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24619 reading the information from the /proc filesystem to once a second.
24621 2011-06-21 Andreas Jaeger <aj@suse.de>
24623 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24624 NULL after inclusion of kernel headers.
24626 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24628 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24629 calls to internal_setent.
24632 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24633 addresses using gethostbyname4_r ignore IPv4 addresses.
24635 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24636 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24638 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24640 2011-06-20 David S. Miller <davem@davemloft.net>
24642 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24644 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24646 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24647 (elf_irel): Use it.
24648 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24649 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24650 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24651 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24652 * sysdeps/x86_64/dl-irel.h: Likewise.
24654 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24655 * elf/dl-sym.c: Likewise.
24657 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24659 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24660 need to dereference resplen2.
24662 2011-06-14 Andreas Schwab <schwab@redhat.com>
24664 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24666 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24668 * Makeconfig: Define vardbdir and inst_vardbdir.
24669 * nss/Makefile: Add rules to install db-Makefile.
24671 * nss/nss_db/db-XXX.c: Cleanup.
24673 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24674 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24676 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24677 * nss/makedb.c: Implement -g option to specify that value strings
24678 are generated and should not be added to table iterated over for
24680 * nss/nss_db/db-initgroups.c: New file.
24682 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24685 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24686 (internal_getgrouplist): Adjust to name change.
24687 Update use_initgroups_entry if this is not the first call.
24688 * nss/databases.def: Add initgroups entry.
24690 * nss/makedb.c (compute_tables): Check result of multiple hash table
24691 sizes to minimize maximum chain length.
24693 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24695 * Versions.def: Add entry for libnss_db.
24696 * shlib-versions: Likewise.
24697 * nss/Makefile: Add rules to build libnss_db.
24698 * nss/Versions: Add libnss_db information. Organize libnss_files
24700 * nss/db-Makefile: Add gshadow support. Change rules for the new
24701 makedb progra. Some minor improvements to generate smaller files.
24702 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24704 * nss/makedb.c: ...here.
24705 Improve database format to be smaller and require less memory at
24707 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24709 * nss/nss_db/db-netgrp.c: Likewise.
24710 * nss/nss_db/db-open.c: Likewise.
24711 * nss/nss_files/flies-XXX.x: Adjust comments.
24712 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24713 * nss/nss_files/files-grp.c: Likewise.
24714 * nss/nss_files/files-hosts.c: Likewise.
24715 * nss/nss_files/files-network.c: Likewise.
24716 * nss/nss_files/files-proto.c: Likewise.
24717 * nss/nss_files/files-pwd.c: Likewise.
24718 * nss/nss_files/files-rpc.c: Likewise.
24719 * nss/nss_files/files-service.c: Likewise.
24720 * nss/nss_files/files-sgrp.c: Likewise.
24721 * nss/nss_files/files-spwd.c: Likewise.
24722 * nss/nss_db/db-alias.c: Removed.
24723 * nss/nss_db/dummy-db.h: Removed.
24725 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24727 * nss/makedb.c: Rewritten to not use database library.
24728 * nss/Makefile: Update to build new makedb program.
24730 2011-06-14 Andreas Jaeger <aj@suse.de>
24732 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24733 memset declaration.
24735 2011-06-10 Andreas Schwab <schwab@redhat.com>
24737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24740 2011-06-10 Roland McGrath <roland@hack.frob.com>
24742 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24743 * elf/Makefile ($(objpfx)ld.so): Likewise.
24745 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24746 Don't list ld.so twice in dependencies.
24748 * posix/bug-regex31.c: Include <stdlib.h>.
24750 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24752 * nis/nss_compat/compat-spwd.c
24753 (getspent_next_nss_netgr): Remove unused variable.
24754 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24756 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24757 nonmembers" output to use the right array.
24759 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24761 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24763 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24764 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24765 * catgets/gencat.c (read_input_file): Likewise.
24766 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24768 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24769 variable definition inside #if's controlling its use.
24771 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24773 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24775 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24777 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24780 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24782 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24783 * configure: Regenerated.
24785 * Makerules: Revert last change.
24786 * elf/Makefile: Likewise.
24788 2011-06-09 Roland McGrath <roland@hack.frob.com>
24790 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24791 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24792 (reloc-link): Likewise.
24794 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24796 * elf/Makefile: Add rules to build pldd.
24797 * elf/pldd.c: New file.
24798 * elf/pldd-xx.c: New file.
24800 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24802 * version.h: Update for 2.15 development version.
24804 2011-06-07 David S. Miller <davem@davemloft.net>
24806 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24808 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24809 elf_machine_lazy_rel): Likewise.
24810 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24811 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24812 elf_machine_lazy_rel): Likewise.
24813 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24814 dl_hwcap via passed in argument.
24815 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24818 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24820 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24822 2011-06-06 Roland McGrath <roland@hack.frob.com>
24825 * manual/fdl-1.1.texi: New file, verbatim from:
24826 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24827 * manual/lgpl-2.1.texi: New file, verbatim from:
24828 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24829 * manual/Makefile (licenses): New variable, list those new file names.
24831 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24833 * manual/fdl.texi: File removed.
24834 * manual/lesser.texi: File removed.
24835 * manual/libc.texinfo (Copying, Documentation License):
24836 Use new @include file names, put @appendix directive before @include.
24838 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24841 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24842 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24843 (mq_open): Add __NTH.
24845 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24848 Assume Intel Core i3/i5/i7 processor if AVX is available.
24850 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24852 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24855 2011-05-31 Andreas Schwab <schwab@redhat.com>
24857 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24858 memory. Use alloca_account. Fix memory leak when retrying.
24860 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24862 * version.h (RELEASE): Bump for 2.14 release.
24863 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24865 * config.make.in (RANLIB): Remove entry.
24867 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24869 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24870 (libc.pot): Work around missing support for .ksh extension in xgettext.
24873 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24874 if both request failed.
24875 (send_dg): In case of server errors clear resplen or *resplen2.
24878 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24879 when there are multiple maps.
24880 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24881 (_dl_fini): Remove test here.
24883 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24885 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24888 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24889 bit from old_res_options.
24890 (gaih_inet): Likewise.
24893 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24896 * resolv/res_init.c (res_setoptions): Make the code more compact.
24899 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24903 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24905 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24908 * malloc/malloc.h: Declare malloc hook variables as volatile.
24910 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24914 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24915 raise in the comment.
24916 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24917 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24918 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24920 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24923 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24924 grow the buffers more if it already has to be sufficient.
24925 (build_wcs_upper_buffer): Likewise.
24926 * posix/regexec.c (check_matching): Likewise.
24927 (clean_state_log_if_needed): Likewise.
24928 (extend_buffers): Don't enlarge buffers beyond size of the input
24930 Patches mostly by Emil Wojak <emil@wojak.eu>.
24931 * posix/bug-regex32.c: New file.
24932 * posix/Makefile (tests): Add bug-regex32.
24934 * locale/findlocale.c (_nl_find_locale): Return right away if
24935 _nl_explode_name failed.
24936 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24938 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24940 * debug/xtrace.sh: Unify messages.
24941 * malloc/memusage.sh: Likewise.
24944 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24945 time symbol from vDSO. Substitute with vsyscall if not available.
24946 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24949 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24950 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24951 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24952 Add sendmmsg and internal_sendmmsg.
24953 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24954 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24955 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24957 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24958 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24959 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24961 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24964 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24965 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24967 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24971 * iconvdata/Makefile (tests): Add bug-iconv9.
24972 * iconvdata/bug-iconv9.c: New file.
24974 2011-05-27 Andreas Schwab <schwab@redhat.com>
24977 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24979 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24981 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24982 (struct user_regs_struct): Change intcs field back to cs.
24984 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24986 * po/ja.po: Update from translation team.
24988 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24991 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24992 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24994 2011-05-20 Andreas Schwab <schwab@redhat.com>
24996 * stdlib/longlong.h: Update from GCC.
24998 2011-05-23 Andreas Schwab <schwab@redhat.com>
25000 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25002 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25003 Add parameter name.
25004 (__sysconf): Pass it down.
25006 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25009 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25011 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25012 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25013 add in in __libc_use_alloca calls. Adjust callers.
25014 (glob): Use malloc in some situations.
25016 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25017 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25020 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25022 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25023 and CLOCK_BOOTTIME_ALARM.
25026 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25029 * string/_strerror.c (__strerror_r): Print negative errors as signed
25033 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25034 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25035 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25037 * configure.in: Fix typo in redirection and correct removal of test
25038 files in two cases.
25041 * locale/setlocale.c (new_composite_name): Fix test to check for
25042 identical name of all categories.
25045 * libio/filedoalloc.c (local_isatty): New function.
25046 (_IO_file_doallocate): Use local_isatty.
25047 * stdio-common/perror.c (perror): In case a new stream is used
25048 forward the stream error.
25049 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25052 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25057 * include/alloca.h (extend_alloca_account): Define.
25060 * posix/regex.h: Fix comments with documentation of user-accessible
25061 fields after compilation and describe correct free'ing of pattern
25062 after re_compile_pattern.
25063 Patch by Reuben Thomas <rrt@sc3d.org>.
25065 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25067 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25068 and -mno-altivec to prevent the compiler from using Altivec and/or
25069 VSX instructions when the corresponding registers are not available.
25071 2011-05-19 Andreas Schwab <schwab@redhat.com>
25073 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25075 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25077 * libio/freopen.c (freopen): Use __dup2, not dup2.
25078 * libio/freopen64.c (freopen64): Likewise.
25080 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25083 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25084 * math/Makefile (tests): Add test-powl.
25085 (CFLAGS-test-powl.c): Define.
25086 * math/test-powl.c: New file.
25088 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25090 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25092 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25095 * iconvdata/gb18030.c: Update to GB18020-2005.
25097 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25099 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25100 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25101 Patch by Aharon Robbins <arnold@skeeve.com>.
25104 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25108 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25109 through underflows.
25112 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25113 point to strings before performing equality test for error_one_per_line
25117 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25121 (struct user_fpregs_struct): Avoid __uint*_t types.
25124 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25125 symbol info. Use it instead of calling _dl_addr locally.
25126 (lock_and_info): New function.
25127 (tr_freehook): Call lock_and_info and pass symbol info as additional
25128 parameter to tr_where.
25129 (tr_mallochook): Likewise.
25130 (tr_reallochook): Likewise.
25131 (tr_memalignhook): Likewise.
25133 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25134 used and couldn't be at all thread-safe.
25136 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25138 * libio/freopen.c (freopen): Don't close old file descriptor
25139 before the new one is opened. Instead dup the new file descriptor
25140 to the old one after the new stream is created.
25141 * libio/freopen64.c (freopen64): Likewise.
25142 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25143 * libio/fileops.c (_IO_new_file_close_it): Handle new
25144 _IO_FLAGS2_NOCLOSE flag.
25145 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25146 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25147 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25148 _IO_FLAGS2_NOCLOSE flag.
25149 * include/unistd.h: Add hidden_proto for dup3.
25150 Define __have_dup3.
25151 * io/dup3.c: Define hidden symbol.
25152 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25155 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25156 when an incomplete long option is used.
25157 * posix/tst-getopt_long1.c: New file.
25158 * posix/Makefile (tests): Add tst-getopt_long1.
25161 * scripts/config.guess: Update from autoconf-2.68.
25162 * scripts/config.sub: Likewise.
25165 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25167 (has_cpuclock): ...this. New function.
25168 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25169 macro here based on has_cpuclock code.
25172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25173 First byte (not low byte) is now always NUL.
25174 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25176 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25177 Use non-cancelable interfaces.
25180 * locale/iso-639.def: Add entry for Sorani.
25183 * include/stdlib.h: Move include protection to the right place.
25184 Define abort_msg_s. Declare __abort_msg with it.
25185 * stdlib/abort.c (__abort_msg): Adjust type.
25186 * assert/assert.c (__assert_fail_base): New function. Majority
25187 of code from __assert_fail. Allocate memory for __abort_msg with
25189 (__assert_fail): Now call __assert_fail_base.
25190 * assert/assert-perr.c: Remove bulk of implementation. Use
25191 __assert_fail_base.
25192 * include/assert.hL Declare __assert_fail_base.
25193 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25195 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25197 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25201 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25202 until all modules are registered in the DTV.
25203 * elf/Makefile: Add rules to build and run tst-tls19.
25204 * elf/tst-tls19.c: New file.
25205 * elf/tst-tls19mod1.c: New file.
25206 * elf/tst-tls19mod2.c: New file.
25207 * elf/tst-tls19mod3.c: New file.
25208 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25211 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25215 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25216 two-byte sequence errors.
25217 * iconvdata/Makefile (tests): Add bug-iconv8.
25218 * iconvdata/bug-iconv8.c: New file.
25221 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25224 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25227 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25228 (dummy_getcfa): New function.
25229 (init): Get _Unwind_GetCFA address, use dummy if not found.
25230 (backtrace_helper): In recursion check, also check whether CFA changes.
25231 (__backtrace): Completely initialize arg.
25233 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25234 storing incomplete byte sequence in state object. Avoid testing for
25235 guaranteed too small input if we know there is enough data available.
25237 2011-05-11 Andreas Schwab <schwab@redhat.com>
25239 * Makeconfig (+link-pie): Indent.
25240 * Rules (binaries-pie): Define if $(have-fpie) and
25242 (binaries-shared): Also filter out $(binaries-pie).
25243 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25244 * nscd/Makefile (others-pie): Add nscd.
25245 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25246 ($(objpfx)nscd): Remove command override.
25247 * login/Makefile (others-pie): Add pt_chown.
25248 ($(objpfx)pt_chown): Remove command override.
25249 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25250 remove command overrides.
25252 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25254 * libio/tst_putwc.c: Fix error messages.
25257 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25258 currently writing and seek to current position when not.
25259 * libio/Makefile (tests): Add bug-fclose1.
25260 * libio/bug-fclose1.c: New file.
25262 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25265 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25266 don't set DF_1_NODELETE here.
25267 (do_lookup_x): When entering new entry test for copy relocation
25268 and if necessary set DF_1_NODELETE flag.
25269 * elf/tst-unique4.cc: New file.
25270 * elf/tst-unique4.h: New file.
25271 * elf/tst-unique4lib.cc: New file.
25272 * elf/Makefile: Add rules to build and run tst-unique4.
25273 Patch by Piotr Bury <pbury@goahead.com>.
25275 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25278 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25281 * misc/mntent_r.c (addmntent): Flush the stream after the output
25284 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25285 (is_trusted_path_normalize): Skip initial colon. Append slash
25286 to empty buffer. Duplicate is_trusted_path code but allow
25287 constructed patch to be prefix.
25288 (is_dst): Allow $ORIGIN followed by /.
25289 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25290 Correct testing of result of is_trusted_path_normalize
25291 (decompose_rpath): Fix warning.
25293 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25296 * grp/initgroups.c (internal_getgrouplist): When we found the service
25297 list through the initgroups entry in nsswitch.conf do not always
25298 continue on a successful lookup. Don't always use the
25299 __nss_group_database value if it is set.
25300 * nss/nsswitch.conf (initgroups): Change action for successful db
25301 lookup to continue for compatibility.
25303 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25306 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25308 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25310 * iconvdata/tst-tables.sh: Likewise.
25311 * iconvdata/cp770.c: New file.
25312 * iconvdata/cp771.c: New file.
25313 * iconvdata/cp772.c: New file.
25314 * iconvdata/cp773.c: New file.
25315 * iconvdata/cp774.c: New file.
25316 * iconvdata/testdata/CP770: New file.
25317 * iconvdata/testdata/CP770..UTF8: New file.
25318 * iconvdata/testdata/CP771: New file.
25319 * iconvdata/testdata/CP771..UTF8: New file.
25320 * iconvdata/testdata/CP772: New file.
25321 * iconvdata/testdata/CP772..UTF8: New file.
25322 * iconvdata/testdata/CP773: New file.
25323 * iconvdata/testdata/CP773..UTF8: New file.
25324 * iconvdata/testdata/CP774: New file.
25325 * iconvdata/testdata/CP774..UTF8: New file.
25327 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25329 * iconvdata/gen-8bit-gap.sh: Likewise.
25330 * iconvdata/gen-8bit.sh: Likewise.
25332 * locale/iso-639.def: Add ary entry.
25335 * locale/C-translit.h.in: Add U20A1 transliteration.
25338 * locale/iso-639.def: Add wae entry.
25339 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25342 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25346 * locale/C-translit.h.in: Add entry for U20B9.
25347 Patch by pravin.d.s@gmail.com.
25349 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25352 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25353 ENAMETOOLONG use generic getcwd.
25354 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25355 in rtld. Use *stat64.
25356 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25357 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25358 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25359 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25360 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25361 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25362 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25363 __fstatat64 macros.
25364 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25365 * dirent/rewinddir.c: Add libc_hidden_def.
25366 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25367 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25369 * include/dirent.h (__alloc_dir): Add flags parameter.
25370 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25371 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25373 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25374 from fdopendir if O_CLOEXEC is already set.
25376 2011-03-15 Alan Modra <amodra@gmail.com>
25378 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25379 l_tls_firstbyte_offset non-zero. Save padding offset in
25380 l_tls_firstbyte_offset for later use.
25381 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25382 freeing static tls block.
25384 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25386 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25387 where #ifdef was intended. The intent is to prevent ARG_MAX from
25388 being defined by the kernel headers.
25390 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25393 * resolv/resolv.h: Define RES_NOTLDQUERY.
25394 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25395 no-tld-query and set RES_NOTLDQUERY.
25396 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25397 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25398 modern BIND to search name as TLD unless forbidden.
25400 2011-05-07 Petr Baudis <pasky@suse.cz>
25401 Ulrich Drepper <drepper@gmail.com>
25404 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25405 (is_trusted_path): ...to here.
25406 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25407 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25408 using is_trusted_path_normalize() in setuid scripts.
25410 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25412 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25413 __BEGIN/__END_DECLS.
25415 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25417 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25418 NSS_STATUS_NOTFOUND if no record was found.
25420 2011-05-05 Andreas Schwab <schwab@redhat.com>
25422 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25423 (headers-not-in-tirpc): Remove rpc/netdb.h
25424 * resolv/netdb.h: Revert last change.
25426 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25428 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25429 circular dependency between libgcc.a and libc.a.
25431 2011-05-05 Andreas Schwab <schwab@redhat.com>
25433 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25434 * nis/Makefile: Don't install rpcsvc/*.
25435 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25436 instead of <rpc/types.h>.
25437 (MAXHOSTNAMELEN): Define.
25439 2011-05-03 Andreas Schwab <schwab@redhat.com>
25441 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25443 2011-04-28 Maciej Babinski <mbabinski@google.com>
25446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25447 gethostbyname4_r when IPv6 results are possible.
25449 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25452 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25453 _PC_PIPE_BUF handling.
25455 2011-04-30 Bruno Haible <bruno@clisp.org>
25458 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25459 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25461 * inet/getnameinfo.c (getnameinfo): Likewise.
25463 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25465 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25466 to groups setting in database lookup.
25467 * nss/nsswitch.conf: Add initgroups entry.
25469 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25472 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25474 Patch by Eric Blake <eblake@redhat.com>.
25476 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25478 * sunrpc/Makefile (need-export-routines): Add svc_run.
25479 (routines): Remove svc_run.
25480 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25481 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25482 * sunrpc/svc_run.c (svc_run): Likewise.
25483 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25485 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25488 problem in reallocation in last patch.
25490 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25492 * sunrpc/Makefile: Move inclusion of Rules.
25494 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25496 * nss/nss_files/files-initgroups.c: New file.
25497 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25498 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25499 _nss_files_initgroups_dyn.
25501 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25503 * elf/elf.h (R_ARM_IRELATIVE): Define.
25505 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25507 * po/ru.po: Update from translation team.
25509 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25511 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25514 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25518 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25519 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25521 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25523 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25525 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25527 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25531 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25534 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25536 * stdlib/bug-getcontext.c: New file.
25537 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25539 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25541 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25542 instructions into .machine "z9-109".
25543 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25544 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25546 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25548 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25549 between environment variables and auxiliary vector.
25551 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25553 * Makefile: Add rules to build linkobj/libc.so.
25554 * include/libc-symbols.h: Define libc_hidden_nolink.
25555 * include/rpc/auth.h: Mark functions which are to be hidden.
25556 * include/rpc/auth_des.h: Likewise.
25557 * include/rpc/auth_unix.h: Likewise.
25558 * include/rpc/clnt.h: Likewise.
25559 * include/rpc/des_crypt.h: Likewise.
25560 * include/rpc/key_prot.h: Likewise.
25561 * include/rpc/pmap_clnt.h: Likewise.
25562 * include/rpc/pmap_prot.h: Likewise.
25563 * include/rpc/pmap_rmt.h: Likewise.
25564 * include/rpc/rpc_msg.h: Likewise.
25565 * include/rpc/svc.h: Likewise.
25566 * include/rpc/svc_auth.h: Likewise.
25567 * include/rpc/xdr.h: Likewise.
25568 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25569 * nss/Makefile: Likewise.
25570 * sunrpc/Makefile: Don't install headers. Build library with normal
25571 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25572 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25573 for the compat linking library. Remove use of INTDEF/INTUSE.
25574 * sunrpc/auth_none.c: Likewise.
25575 * sunrpc/auth_unix.c: Likewise.
25576 * sunrpc/authdes_prot.c: Likewise.
25577 * sunrpc/authuxprot.c: Likewise.
25578 * sunrpc/clnt_gen.c: Likewise.
25579 * sunrpc/clnt_perr.c: Likewise.
25580 * sunrpc/clnt_raw.c: Likewise.
25581 * sunrpc/clnt_simp.c: Likewise.
25582 * sunrpc/clnt_tcp.c: Likewise.
25583 * sunrpc/clnt_udp.c: Likewise.
25584 * sunrpc/clnt_unix.c: Likewise.
25585 * sunrpc/des_crypt.c: Likewise.
25586 * sunrpc/des_soft.c: Likewise.
25587 * sunrpc/get_myaddr.c: Likewise.
25588 * sunrpc/key_call.c: Likewise.
25589 * sunrpc/key_prot.c: Likewise.
25590 * sunrpc/netname.c: Likewise.
25591 * sunrpc/pm_getmaps.c: Likewise.
25592 * sunrpc/pm_getport.c: Likewise.
25593 * sunrpc/pmap_clnt.c: Likewise.
25594 * sunrpc/pmap_prot.c: Likewise.
25595 * sunrpc/pmap_prot2.c: Likewise.
25596 * sunrpc/pmap_rmt.c: Likewise.
25597 * sunrpc/publickey.c: Likewise.
25598 * sunrpc/rpc_cmsg.c: Likewise.
25599 * sunrpc/rpc_common.c: Likewise.
25600 * sunrpc/rpc_dtable.c: Likewise.
25601 * sunrpc/rpc_prot.c: Likewise.
25602 * sunrpc/rpc_thread.c: Likewise.
25603 * sunrpc/rtime.c: Likewise.
25604 * sunrpc/svc.c: Likewise.
25605 * sunrpc/svc_auth.c: Likewise.
25606 * sunrpc/svc_authux.c: Likewise.
25607 * sunrpc/svc_raw.c: Likewise.
25608 * sunrpc/svc_run.c: Likewise.
25609 * sunrpc/svc_simple.c: Likewise.
25610 * sunrpc/svc_tcp.c: Likewise.
25611 * sunrpc/svc_udp.c: Likewise.
25612 * sunrpc/svc_unix.c: Likewise.
25613 * sunrpc/svcauth_des.c: Likewise.
25614 * sunrpc/xcrypt.c: Likewise.
25615 * sunrpc/xdr.c: Likewise.
25616 * sunrpc/xdr_array.c: Likewise.
25617 * sunrpc/xdr_float.c: Likewise.
25618 * sunrpc/xdr_intXX_t.c: Likewise.
25619 * sunrpc/xdr_mem.c: Likewise.
25620 * sunrpc/xdr_rec.c: Likewise.
25621 * sunrpc/xdr_ref.c: Likewise.
25622 * sunrpc/xdr_sizeof.c: Likewise.
25623 * sunrpc/xdr_stdio.c: Likewise.
25625 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25628 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25629 * sysdeps/ia64/dl-tls.h: Likewise.
25630 * sysdeps/powerpc/dl-tls.h: Likewise.
25631 * sysdeps/s390/dl-tls.h: Likewise.
25632 * sysdeps/sh/dl-tls.h: Likewise.
25633 * sysdeps/sparc/dl-tls.h: Likewise.
25634 * sysdeps/x86_64/dl-tls.h: Likewise.
25635 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25637 2011-03-14 Andreas Schwab <schwab@redhat.com>
25639 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25640 rpath element also skip the following colon.
25641 (expand_dynamic_string_token): Add is_path parameter and pass
25642 down to DL_DST_REQUIRED and _dl_dst_substitute.
25643 (decompose_rpath): Call expand_dynamic_string_token with
25644 non-zero is_path. Ignore empty rpaths.
25645 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25648 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25653 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25656 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25657 Patch by Filipe David Manana <fdmanana@apache.org>.
25659 2011-04-07 Andreas Schwab <schwab@redhat.com>
25661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25662 Maintain aligned stack.
25663 (CHECK_RSP): Remove unused macro.
25665 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25667 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25668 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25670 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25672 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25674 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25676 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25679 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25680 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25681 * sysdeps/x86_64/memmove.c: New file.
25682 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25683 (memcpy): Renamed to ...
25684 (__new_memcpy): This.
25685 (memcpy): Provide GLIBC_2_14 memcpy.
25686 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25687 (memcpy): Provide GLIBC_2_2_5 memcpy.
25689 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25692 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25694 2011-03-30 Andreas Schwab <schwab@redhat.com>
25696 * misc/syncfs.c: New file.
25697 * misc/Makefile (routines): Add syncfs.
25698 * posix/unistd.h: Declare syncfs.
25699 * sysdeps/unix/syscalls.list: Add syncfs.
25701 2011-04-01 Andreas Schwab <schwab@redhat.com>
25703 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25708 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25710 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25713 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25715 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25716 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25717 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25719 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25723 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25724 sync_file_range.c with -fexceptions.
25725 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25726 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25727 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25728 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25729 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25730 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25732 sync_file_range as cancellation point
25733 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25734 now a wrapper around __call_sync_file_range with cancellation handling.
25735 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25736 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25737 function name to __call_sync_file_range.
25738 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25739 Add call_sync_file_range.
25741 2011-04-01 Andreas Schwab <schwab@redhat.com>
25743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25746 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25748 * iconv/iconv.h: Fix typo in comment.
25749 * io/fcntl.h: Likewise.
25750 * libio/stdio.h: Likewise.
25751 * posix/spawn.h: Likewise.
25752 * posix/unistd.h: Likewise.
25753 * stdlib/stdlib.h: Likewise.
25754 * time/time.h: Likewise.
25755 * wcsmbs/wchar.h: Likewise.
25757 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25758 open_by_handle): Add.
25759 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25760 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25761 Augment a few comments.
25762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25763 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25767 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25770 * io/fcntl.h (AT_EMPTY_PATH): Define.
25772 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25774 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25775 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25776 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25778 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25779 * Versions.def: Add GLIBC_2.14.
25780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25783 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25785 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25787 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25789 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25792 * string/test-strncmp.c (do_page_test): New function.
25793 (check2): Likewise.
25794 (test_main): Call check2.
25795 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25797 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25800 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25801 Handle cache information in CPU leaf 4.
25802 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25804 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25807 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25808 character representation.
25809 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25811 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25813 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25814 END(__isnan) to END(__isnanf) to match function entry point/label
25815 EALIGN(__isnanf,...).
25817 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25819 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25821 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25824 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25825 copy from the symbol referenced in the relocation to initialize the
25827 Patch by Piotr Bury <pbury@goahead.com>.
25828 * elf/Makefile: Add rules to build and tst-unique3.
25829 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25830 * elf/tst-unique3.cc: New file.
25831 * elf/tst-unique3.h: New file.
25832 * elf/tst-unique3lib.cc: New file.
25833 * elf/tst-unique3lib2.cc: New file.
25835 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25837 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25839 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25840 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25843 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25845 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25846 to-be-loaded object along a path to loader is ld.so.
25848 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25849 Ulrich Drepper <drepper@gmail.com>
25851 * sysdeps/x86_64/memset.S: After aligning destination, code
25852 branches to different locations depending on the value of
25853 misalignment, when multiarch is enabled. Fix this.
25855 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25857 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25858 Set _x86_64_preferred_memory_instruction for AMD processsors.
25859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25860 Set bit_Prefer_SSE_for_memop for AMD processors.
25862 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25864 * libio/fmemopen.c (fmemopen): Optimize a bit.
25866 2011-03-03 Andreas Schwab <schwab@redhat.com>
25868 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25870 2011-03-03 Roland McGrath <roland@redhat.com>
25872 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25874 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25876 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25877 __bzero_ultra1 instead of __memset_ultra1.
25879 2011-02-23 Andreas Schwab <schwab@redhat.com>
25880 Ulrich Drepper <drepper@gmail.com>
25883 * include/link.h (struct link_map): Add l_orig_initfini.
25884 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25885 returning unsuccessfully.
25886 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25887 close of a file loaded at startup, restore the original l_initfini
25889 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25890 list, store the pointer.
25891 * elf/Makefile ($(objpfx)noload-mem): New rule.
25892 (noload-ENV): Define.
25893 (tests): Add $(objpfx)noload-mem.
25894 * elf/noload.c: Include <memcheck.h>.
25895 (main): Call mtrace. Close all opened handles.
25897 2011-02-17 Andreas Schwab <schwab@redhat.com>
25900 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25901 dependencies are missing.
25903 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25905 Fix __if_freereq crash: Unlike the generic version which uses free,
25907 * sysdeps/mach/hurd/ifreq.h: New file.
25909 2011-01-27 Petr Baudis <pasky@suse.cz>
25910 Ulrich Drepper <drepper@gmail.com>
25913 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25914 to extend_alloca().
25915 * stdio-common/bug23.c: New file.
25916 * stdio-common/Makefile (tests): Add bug23.
25918 2010-09-28 Andreas Schwab <schwab@redhat.com>
25919 Ulrich Drepper <drepper@gmail.com>
25922 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25923 before performing relro protection. At old place add assertion
25924 to make sure nothing changed.
25926 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25927 Glauber de Oliveira Costa <glommer@gmail.com>
25929 * elf/elf.h: Add new ARM TLS relocs.
25931 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25934 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25936 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25938 * sysdeps/wordsize-64/tst-writev.c: New file.
25940 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25942 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25943 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25944 insns in _dl_start to prevent a TOC reference before relocs are
25947 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25950 * Makeconfig: Remove RANLIB definition.
25951 * Makerules: Don't use RANLIB.
25952 * aclocal.m4: Remove ranlib test.
25953 * configure.in: No need to check for ranlib.
25954 * elf/rtld-Rules: Don't use RANLIB.
25956 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25958 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25960 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25961 inclusion protection macro.
25963 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25964 SIGRTMIN and SIGRTMAX and print information in that case only when
25965 SIGRTMIN is defined.
25967 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25969 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25970 arginfo fn returning -1.
25972 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25973 and thousands string is zero terminated.
25975 2011-02-03 Andreas Schwab <schwab@redhat.com>
25977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25978 sysdeps/unix/sysv/linux/bits/socket.h.
25980 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25982 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25983 (__CPU_COUNT): Remove old macros.
25984 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25985 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25986 (__CPU_ALLOC, __CPU_FREE): Add macros.
25987 (__sched_cpualloc, __sched_cpufree): Add declarations.
25989 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25991 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25992 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25993 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25994 (readdhstai): Return value of addhstaiX call.
25995 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25996 (addgrbyX): Return value returned by cache_addgr.
25997 (readdgrbyname): Return value returned by addgrbyX.
25998 (readdgrbygid): Likewise.
25999 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26000 (addpwbyX): Return value returned by cache_addpw.
26001 (readdpwbyname): Return value returned by addhstbyX.
26002 (readdpwbyuid): Likewise.
26003 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26004 (addservbyX): Return value returned by cache_addserv.
26005 (readdservbyname): Return value returned by addservbyX:
26006 (readdservbyport): Likewise.
26007 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26008 (addhstbyX): Return value returned by cache_addhst.
26009 (readdhstbyname): Return value returned by addhstbyX.
26010 (readdhstbyaddr): Likewise.
26011 (readdhstbynamev6): Likewise.
26012 (readdhstbyaddrv6): Likewise.
26013 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26014 (readdinitgroups): Return value returned by addinitgroupsX.
26015 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26016 (prune_cache): Keep track of timeout value of re-added entries.
26017 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26018 * nscd/nscd.h: Adjust prototypes of readd* functions.
26020 2011-02-04 Roland McGrath <roland@redhat.com>
26022 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26023 (nis_stats): Likewise.
26024 * nis/nis_modify.c (nis_modify): Likewise.
26025 * nis/nis_remove.c (nis_remove): Likewise.
26026 * nis/nis_add.c (nis_add): Likewise.
26028 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26030 * posix/fnmatch_loop.c: Add some consts.
26032 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26034 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26037 * config.make.in (config-cflags-novzeroupper): Define.
26038 * configure.in: Substitute libc_cv_cc_novzeroupper.
26039 * elf/Makefile (AVX-CFLAGS): Define.
26040 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26041 (CFLAGS-tst-auditmod4a.c): Likewise.
26042 (CFLAGS-tst-auditmod4b.c): Likewise.
26043 (CFLAGS-tst-auditmod6b.c): Likewise.
26044 (CFLAGS-tst-auditmod6c.c): Likewise.
26045 (CFLAGS-tst-auditmod7b.c): Likewise.
26046 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26048 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26050 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26051 function to the callback.
26052 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26054 2011-02-02 Andreas Schwab <schwab@redhat.com>
26056 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26059 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26062 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26064 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26066 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26069 * elf/Makefile: Add rules to build and run new test.
26070 * elf/tst-initorder.c: New file.
26071 * elf/tst-initorder.exp: New file.
26072 * elf/tst-initordera1.c: New file.
26073 * elf/tst-initordera2.c: New file.
26074 * elf/tst-initordera3.c: New file.
26075 * elf/tst-initordera4.c: New file.
26076 * elf/tst-initorderb1.c: New file.
26077 * elf/tst-initorderb2.c: New file.
26078 * elf/tst-order-a1.c: New file.
26079 * elf/tst-order-a2.c: New file.
26080 * elf/tst-order-a3.c: New file.
26081 * elf/tst-order-a4.c: New file.
26082 * elf/tst-order-b1.c: New file.
26083 * elf/tst-order-b2.c: New file.
26084 * elf/tst-order-main.c: New file.
26085 New test case by George Gensure <werkt0@gmail.com>.
26087 2010-10-01 Andreas Schwab <schwab@redhat.com>
26089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26090 decoding ACE if AI_CANONIDN.
26092 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26094 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26096 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26098 * version.h (RELEASE): Bump for 2.13 release.
26099 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26101 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26103 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26105 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26106 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26107 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26108 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26109 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26112 * posix/getconf.c: Update copyright year.
26113 * catgets/gencat.c: Likewise.
26114 * csu/version.c: Likewise.
26115 * debug/catchsegv.sh: Likewise.
26116 * debug/xtrace.sh: Likewise.
26117 * elf/ldconfig.c: Likewise.
26118 * elf/ldd.bash.in: Likewise.
26119 * elf/sprof.c (print_version): Likewise.
26120 * iconv/iconv_prog.c: Likewise.
26121 * iconv/iconvconfig.c: Likewise.
26122 * locale/programs/locale.c: Likewise.
26123 * locale/programs/localedef.c: Likewise.
26124 * malloc/memusage.sh: Likewise.
26125 * malloc/mtrace.pl: Likewise.
26126 * nscd/nscd.c (print_version): Likewise.
26127 * nss/getent.c: Likewise.
26129 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26130 PF_CAIF, and PF_ALG.
26131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26133 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26135 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26136 (modules-names): Use them.
26137 (ifunc-test-modules, ifunc-pie-tests): Define.
26138 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26139 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26140 (test-extras): Likewise.
26141 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26142 $(compile-command.c).
26143 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26144 (all-built-dso): Define.
26145 (check-textrel.out, check-execstack.out): Depend on it.
26147 * configure.in: Don't override --enable-multi-arch.
26149 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26152 * nscd/hstcache.c (tryagain): Define.
26153 (cache_addhst): Return tryagain not notfound for temporary errors.
26154 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26157 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26160 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26161 to make the syscall.
26162 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26165 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26166 and fall back to matching as normal character if the string ends before
26167 the matching ']' is found. This is what POSIX requires.
26168 * posix/testfnm.c: Adjust test result.
26169 * posix/globtest.sh: Adjust test result. Add new test.
26170 * posix/tst-fnmatch.input: Likewise.
26171 * posix/tst-fnmatch2.c: Add new test.
26173 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26175 * elf/Makefile (check-execstack): Revert last change. Depend on
26177 (check-execstack.h): New target.
26178 (generated): Add check-execstack.h.
26179 * elf/check-execstack.c: Include "check-execstack.h".
26180 (main): Revert last change.
26181 (handle_file): Return zero if GNU_STACK is absent and
26182 DEFAULT_STACK_PERMS doesn't include PF_X.
26184 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26186 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26187 in child fails because the descriptor is already closed.
26188 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26189 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26190 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26193 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26197 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26198 temporary buffer used to handle multi lookups locally.
26199 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26201 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26203 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26206 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26208 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26209 alignment for SSE2.
26211 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26214 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26215 characters. When rounding increased number of integer digits recompute
26217 * stdio-common/tst-grouping.c: New file.
26218 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26220 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26222 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26223 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26225 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26227 * bits/select.h: Likewise.
26229 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26231 * po/ja.po: Update from translation team.
26233 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26236 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26237 implementation just like for lxstat, fxstatat, et al.
26239 2010-12-27 Jim Meyering <meyering@redhat.com>
26242 * posix/regexec.c (build_trtable): Return failure indication upon
26243 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26245 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26248 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26249 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26250 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26251 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26254 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26257 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26258 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26260 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26262 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26263 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26264 script has SORT_BY_INIT_PRIORITY.
26265 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26266 NO_CTORS_DTORS_SECTIONS is defined.
26267 * elf/soinit.c: Likewise.
26268 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26269 NO_CTORS_DTORS_SECTIONS is defined.
26270 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26271 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26272 * sysdeps/sh/init-first.c: Likewise.
26273 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26275 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26277 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26278 always use the slow path.
26280 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26282 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26283 similar rule which adds the sysdep directories to the header search in
26284 order to pick up the correct platform stackinfo.h.
26285 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26286 perform test if it is, otherwise return successfully without testing.
26287 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26288 DEFAULT_STACK_PERMS define in stackinfo.h.
26289 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26290 defined in stackinfo.h.
26291 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26292 DEFAULT_STACK_PERMS defined in stackinfo.h.
26293 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26294 * sysdeps/ia64/stackinfo.h: Likewise.
26295 * sysdeps/s390/stackinfo.h: Likewise.
26296 * sysdeps/sh/stackinfo.h: Likewise.
26297 * sysdeps/sparc/stackinfo.h: Likewise.
26298 * sysdeps/x86_64/stackinfo.h: Likewise.
26299 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26300 PF_X for powerpc64. Retain PF_X for powerpc32.
26302 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26304 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26306 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26307 GETDENTS_64BIT_ALIGNED.
26309 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26311 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26313 2010-12-10 Andreas Schwab <schwab@redhat.com>
26315 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26318 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26319 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26321 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26322 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26324 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26327 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26330 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26332 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26334 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26336 * po/it.po: Update from translation team.
26338 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26343 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26345 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26347 2010-11-24 Andreas Schwab <schwab@redhat.com>
26349 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26351 (gaih_getanswer_slice): Likewise.
26353 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26357 2010-05-31 Petr Baudis <pasky@suse.cz>
26360 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26361 silently even in the chroot mode.
26363 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26365 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26366 last patch a bit. Pretty printing
26368 2010-05-31 Petr Baudis <pasky@suse.cz>
26371 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26372 initialization of skip_initgroups_dyn.
26374 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26376 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26377 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26379 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26381 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26383 2010-11-11 Andreas Schwab <schwab@redhat.com>
26385 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26386 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26387 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26388 ($(objpfx)tst-fnmatch-mem): New rule.
26389 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26390 * posix/tst-fnmatch.c (main): Call mtrace.
26392 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26395 Support Intel processor model 6 and model 0x2c.
26397 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26399 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26402 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26405 * string/test-strncasecmp.c (check_result): New function.
26406 (do_one_test): Use it.
26407 (check1): New function.
26408 (test_main): Use it.
26409 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26410 Support strcasecmp and strncasecmp.
26412 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26415 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26416 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26418 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26420 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26424 * sysdeps/x86_64/multiarch/bzero.S: New file.
26425 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26426 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26427 * sysdeps/x86_64/multiarch/memset.S: New file.
26428 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26430 Set bit_Prefer_SSE_for_memop for Intel processors.
26431 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26433 (index_Prefer_SSE_for_memop): Define.
26434 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26436 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26438 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26439 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26441 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26444 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26445 (__x86_64_raw_data_cache_size_half): Likewise.
26446 (__x86_64_raw_shared_cache_size): Likewise.
26447 (__x86_64_raw_shared_cache_size_half): Likewise.
26449 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26450 (__x86_64_raw_data_cache_size_half): Likewise.
26451 (__x86_64_raw_shared_cache_size): Likewise.
26452 (__x86_64_raw_shared_cache_size_half): Likewise.
26453 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26454 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26455 and __x86_64_raw_shared_cache_size_half. Round
26456 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26457 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26458 to multiple of 256 bytes.
26460 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26463 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26464 of inacessible symlinks. Verify result of symlink before returning it.
26465 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26466 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26468 2010-10-28 Erich Ritz <erichritz@gmail.com>
26470 * math/math.h (isinf): Fix typo in comment.
26472 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26474 * po/da.po: Update from translation team.
26476 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26478 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26479 is added to the list.
26481 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26482 Ulrich Drepper <drepper@gmail.com>
26484 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26485 the global list here. Move code to...
26486 (_dl_add_to_namespace_list): ...here. New function.
26487 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26488 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26489 * elf/dl-load.c (lose): Don't remove the element from the list.
26490 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26491 (_dl_map_object): Likewise.
26493 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26496 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26497 into all bytes of SSE register.
26498 Patch by Richard Li <richardpku@gmail.com>.
26500 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26503 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26506 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26508 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26509 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26510 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26511 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26516 2010-10-22 Andreas Schwab <schwab@redhat.com>
26518 * include/dlfcn.h (__RTLD_SECURE): Define.
26519 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26520 mode & __RTLD_SECURE instead.
26521 (open_path): Rename preloaded parameter to secure.
26522 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26523 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26524 * elf/dl-deps.c (openaux): Likewise.
26525 * elf/rtld.c (struct map_args): Remove is_preloaded.
26526 (map_doit): Don't use it.
26527 (dl_main): Likewise.
26528 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26529 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26531 2010-09-09 Andreas Schwab <schwab@redhat.com>
26533 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26534 (sysd-rules-targets): Remove duplicates.
26535 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26536 rtld-%.$o dependency.
26538 2010-10-18 Andreas Schwab <schwab@redhat.com>
26540 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26541 _dl_map_object do it.
26543 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26545 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26546 fast fma builtins, define the macros in the C99 standard.
26547 (FP_FAST_FMAF): Likewise.
26548 (FP_FAST_FMAL): Likewise.
26549 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26551 * bits/mathdef.h: Update copyright year.
26552 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26554 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26556 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26557 builtins, define the macros in the C99 standard.
26558 (FP_FAST_FMAF): Likewise.
26559 (FP_FAST_FMAL): Likewise.
26560 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26562 (FP_FAST_FMAF): Likewise.
26564 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26567 * math/libm-test.inc (fma_test): Some new testcases.
26568 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26569 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26570 y and infinite z. Do multiplication by C already in long double.
26571 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26573 y and infinite z. Do bitwise or of inexact bit into u.d.
26574 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26575 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26576 * sysdeps/i386/fpu/s_fma.S: Removed.
26577 * sysdeps/i386/fpu/s_fmal.S: Removed.
26579 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26582 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26584 computation is not scheduled after fetestexcept. Fix value
26585 of minimum denormal long double.
26587 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26590 * math/libm-test.inc (fma_test): Add some more tests.
26591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26594 2010-10-15 Andreas Schwab <schwab@redhat.com>
26596 * scripts/data/localplt-s390-linux-gnu.data: New file.
26597 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26599 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26602 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26603 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26605 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26607 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26609 if one of x and y is very large and the other is subnormal.
26610 * sysdeps/s390/fpu/s_fmaf.c: New file.
26611 * sysdeps/s390/fpu/s_fma.c: New file.
26612 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26613 * sysdeps/powerpc/fpu/s_fma.S: New file.
26614 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26615 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26616 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26618 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26621 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26623 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26624 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26625 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26626 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26627 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26628 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26631 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26634 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26635 * posix/bug-regex31.input: Add test case.
26637 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26639 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26640 * posix/bug-regex31.input: New file.
26643 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26644 (parse_sub_exp): Fix last change, use postorder.
26646 * posix/bug-regex31.c: New file.
26647 * posix/Makefile: Add rules to build and run bug-regex31.
26649 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26652 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26655 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26656 to have entries in sys_siglist.
26659 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26662 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26665 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26666 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26667 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26668 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26669 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26670 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26671 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26672 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26673 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26674 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26675 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26676 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26677 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26678 * math/ftestexcept.c (fetestexcept): Likewise.
26679 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26680 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26681 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26682 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26683 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26684 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26685 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26687 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26690 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26693 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26695 * string/bug-strstr1.c: New file.
26696 * string/Makefile: Add rules to build and run bug-strstr1.
26698 2010-10-05 Eric Blake <eblake@redhat.com>
26701 * string/str-two-way.h (two_way_long_needle): Always clear memory
26702 when skipping input due to the shift table.
26704 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26707 * malloc/mcheck.c: Handle large requests.
26710 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26711 for strncmp and strncasecmp.
26712 * string/stratcliff.c: Add tests for strcmp and strncmp.
26713 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26715 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26717 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26720 2010-09-30 Andreas Jaeger <aj@suse.de>
26722 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26723 (CGROUP_SUPER_MAGIC): Define.
26724 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26725 Handle btrfs and cgroup file systems.
26726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26729 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26731 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26732 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26734 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26737 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26738 trying to locate the ELF header.
26740 2010-09-27 Andreas Schwab <schwab@redhat.com>
26743 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26744 Mask out sign-bit copies when constructing f_fsid.
26746 2010-09-24 Petr Baudis <pasky@suse.cz>
26748 * debug/stack_chk_fail_local.c: Add missing licence exception.
26749 * debug/warning-nop.c: Likewise.
26751 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26753 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26754 implementing getdents64 using getdents syscall, set d_type if
26755 __ASSUME_GETDENTS32_D_TYPE.
26757 2010-09-16 Andreas Schwab <schwab@redhat.com>
26759 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26760 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26762 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26765 * posix/unistd.h: Undo change of feature selection for ftruncate from
26768 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26770 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26773 2010-09-20 Andreas Schwab <schwab@redhat.com>
26775 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26777 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26779 2010-09-14 Andreas Schwab <schwab@redhat.com>
26781 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26782 variables after CHECK_SP call.
26783 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26785 2010-09-13 Andreas Schwab <schwab@redhat.com>
26786 Ulrich Drepper <drepper@redhat.com>
26788 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26789 re-relocationg ld.so.
26790 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26791 _dl_init_paths call.
26792 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26795 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26797 * resolv/res_init.c (__res_vinit): Count the default server we added.
26799 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26800 Ulrich Drepper <drepper@redhat.com>
26803 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26804 (____longjmp_chk): Use %ebx for saving value across system call.
26807 2010-09-06 Andreas Schwab <schwab@redhat.com>
26809 * manual/Makefile: Don't mix pattern rules with normal rules.
26811 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26813 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26815 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26816 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26817 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26818 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26819 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26822 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26825 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26826 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26828 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26830 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26831 * sysdeps/x86_64/addmul_1.S: Likewise.
26832 * sysdeps/x86_64/lshift.S: Likewise.
26833 * sysdeps/x86_64/mul_1.S: Likewise.
26834 * sysdeps/x86_64/rshift.S: Likewise.
26835 * sysdeps/x86_64/sub_n.S: Likewise.
26836 * sysdeps/x86_64/submul_1.S: Likewise.
26838 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26840 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26841 Define __sched_param instead of SCHED_* and sched_param when
26842 <bits/sched.h> is included with __need_schedparam defined.
26843 * bits/sched.h [__need_schedparam]
26844 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26845 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26846 (__defined_schedparam): Define to 1.
26847 (__sched_param): New structure, identical to sched_param.
26848 (__need_schedparam): Undefine.
26850 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26852 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26853 (epoll_create1): Declare.
26855 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26857 2010-08-31 Andreas Schwab <schwab@redhat.com>
26860 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26861 shifting retval into place.
26863 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26865 * nis/rpcsvc/nis.h: Update copyright notice.
26866 * nis/rpcsvc/nis.x: Likewise.
26867 * nis/rpcsvc/nis_callback.h: Likewise.
26868 * nis/rpcsvc/nis_callback.x: Likewise.
26869 * nis/rpcsvc/nis_object.x: Likewise.
26870 * nis/rpcsvc/nis_tags.h: Likewise.
26871 * nis/rpcsvc/yp.h: Likewise.
26872 * nis/rpcsvc/yp.x: Likewise.
26873 * nis/rpcsvc/ypupd.h: Likewise.
26874 * nis/yp_xdr.c: Likewise.
26875 * nis/ypupdate_xdr.c: Likewise.
26877 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26878 mainly the body of pmap_getport. Add parameters to specify timeouts.
26879 (pmap_getport): Use __libc_rpc_getport.
26880 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26881 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26882 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26884 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26889 2010-08-27 Roland McGrath <roland@redhat.com>
26891 * sysdeps/i386/i686/multiarch/Makefile
26892 (CFLAGS-varshift.c): New variable.
26894 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26896 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26897 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26899 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26901 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26903 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26905 * sysdeps/x86_64/strlen.S: Unroll the loop.
26906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26907 strlen-sse2 strlen-sse2-bsf.
26908 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26909 __strlen_no_bsf if bit_Slow_BSF is set.
26910 (__strlen_sse42): Removed.
26911 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26912 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26914 2010-08-25 Roland McGrath <roland@redhat.com>
26916 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26917 * sysdeps/x86_64/multiarch/varshift.c: New file.
26918 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26919 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26920 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26921 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26923 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26926 strlen-sse2 strlen-sse2-bsf.
26927 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26928 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26929 (__strlen_sse2): Removed.
26930 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26931 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26933 bit_Slow_BSF for Atom.
26934 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26935 (index_Slow_BSF): Define.
26936 (HAS_SLOW_BSF): Define.
26938 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26941 * resolv/res_init.c (__res_vinit): When no server address at all
26942 is given default to loopback.
26944 2010-08-24 Roland McGrath <roland@redhat.com>
26946 * configure.in: Remove config-name.h generation.
26947 * configure: Regenerated.
26948 * config-name.in: File removed.
26949 * scripts/config-uname.sh: New file.
26950 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26951 ($(objdir)config-name.h): New target.
26953 * sunrpc/rpc_parse.h: Avoid nested comment.
26955 2010-08-24 Richard Henderson <rth@redhat.com>
26956 Ulrich Drepper <drepper@redhat.com>
26957 H.J. Lu <hongjiu.lu@intel.com>
26959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26961 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26962 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26963 _mm_alignr_epi8 with _mm_loadu_si128.
26964 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26965 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26966 (__m128i_shift_right): Removed.
26967 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26968 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26969 * sysdeps/x86_64/multiarch/varshift.h: New file.
26970 * sysdeps/x86_64/multiarch/varshift.S: New file.
26972 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26974 * configure.in: Move assembler checks to before sysdep dir checking.
26976 2010-08-20 Petr Baudis <pasky@suse.cz>
26978 * LICENSES: Sync the sunrpc license.
26980 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26982 * sunrpc/auth_des.c: Update copyright notice once again.
26983 * sunrpc/auth_none.c: Likewise.
26984 * sunrpc/auth_unix.c: Likewise.
26985 * sunrpc/authdes_prot.c: Likewise.
26986 * sunrpc/authuxprot.c: Likewise.
26987 * sunrpc/bindrsvprt.c: Likewise.
26988 * sunrpc/clnt_gen.c: Likewise.
26989 * sunrpc/clnt_perr.c: Likewise.
26990 * sunrpc/clnt_raw.c: Likewise.
26991 * sunrpc/clnt_simp.c: Likewise.
26992 * sunrpc/clnt_tcp.c: Likewise.
26993 * sunrpc/clnt_udp.c: Likewise.
26994 * sunrpc/clnt_unix.c: Likewise.
26995 * sunrpc/des_crypt.c: Likewise.
26996 * sunrpc/des_soft.c: Likewise.
26997 * sunrpc/get_myaddr.c: Likewise.
26998 * sunrpc/getrpcport.c: Likewise.
26999 * sunrpc/key_call.c: Likewise.
27000 * sunrpc/key_prot.c: Likewise.
27001 * sunrpc/openchild.c: Likewise.
27002 * sunrpc/pm_getmaps.c: Likewise.
27003 * sunrpc/pm_getport.c: Likewise.
27004 * sunrpc/pmap_clnt.c: Likewise.
27005 * sunrpc/pmap_prot.c: Likewise.
27006 * sunrpc/pmap_prot2.c: Likewise.
27007 * sunrpc/pmap_rmt.c: Likewise.
27008 * sunrpc/rpc/auth.h: Likewise.
27009 * sunrpc/rpc/auth_unix.h: Likewise.
27010 * sunrpc/rpc/clnt.h: Likewise.
27011 * sunrpc/rpc/des_crypt.h: Likewise.
27012 * sunrpc/rpc/key_prot.h: Likewise.
27013 * sunrpc/rpc/netdb.h: Likewise.
27014 * sunrpc/rpc/pmap_clnt.h: Likewise.
27015 * sunrpc/rpc/pmap_prot.h: Likewise.
27016 * sunrpc/rpc/pmap_rmt.h: Likewise.
27017 * sunrpc/rpc/rpc.h: Likewise.
27018 * sunrpc/rpc/rpc_des.h: Likewise.
27019 * sunrpc/rpc/rpc_msg.h: Likewise.
27020 * sunrpc/rpc/svc.h: Likewise.
27021 * sunrpc/rpc/svc_auth.h: Likewise.
27022 * sunrpc/rpc/types.h: Likewise.
27023 * sunrpc/rpc/xdr.h: Likewise.
27024 * sunrpc/rpc_clntout.c: Likewise.
27025 * sunrpc/rpc_cmsg.c: Likewise.
27026 * sunrpc/rpc_common.c: Likewise.
27027 * sunrpc/rpc_cout.c: Likewise.
27028 * sunrpc/rpc_dtable.c: Likewise.
27029 * sunrpc/rpc_hout.c: Likewise.
27030 * sunrpc/rpc_main.c: Likewise.
27031 * sunrpc/rpc_parse.c: Likewise.
27032 * sunrpc/rpc_parse.h: Likewise.
27033 * sunrpc/rpc_prot.c: Likewise.
27034 * sunrpc/rpc_sample.c: Likewise.
27035 * sunrpc/rpc_scan.c: Likewise.
27036 * sunrpc/rpc_scan.h: Likewise.
27037 * sunrpc/rpc_svcout.c: Likewise.
27038 * sunrpc/rpc_tblout.c: Likewise.
27039 * sunrpc/rpc_util.c: Likewise.
27040 * sunrpc/rpc_util.h: Likewise.
27041 * sunrpc/rpcinfo.c: Likewise.
27042 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27043 * sunrpc/rpcsvc/key_prot.x: Likewise.
27044 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27045 * sunrpc/rpcsvc/mount.x: Likewise.
27046 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27047 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27048 * sunrpc/rpcsvc/rex.x: Likewise.
27049 * sunrpc/rpcsvc/rstat.x: Likewise.
27050 * sunrpc/rpcsvc/rusers.x: Likewise.
27051 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27052 * sunrpc/rpcsvc/spray.x: Likewise.
27053 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27054 * sunrpc/rtime.c: Likewise.
27055 * sunrpc/svc.c: Likewise.
27056 * sunrpc/svc_auth.c: Likewise.
27057 * sunrpc/svc_authux.c: Likewise.
27058 * sunrpc/svc_raw.c: Likewise.
27059 * sunrpc/svc_run.c: Likewise.
27060 * sunrpc/svc_simple.c: Likewise.
27061 * sunrpc/svc_tcp.c: Likewise.
27062 * sunrpc/svc_udp.c: Likewise.
27063 * sunrpc/svc_unix.c: Likewise.
27064 * sunrpc/svcauth_des.c: Likewise.
27065 * sunrpc/xcrypt.c: Likewise.
27066 * sunrpc/xdr.c: Likewise.
27067 * sunrpc/xdr_array.c: Likewise.
27068 * sunrpc/xdr_float.c: Likewise.
27069 * sunrpc/xdr_mem.c: Likewise.
27070 * sunrpc/xdr_rec.c: Likewise.
27071 * sunrpc/xdr_ref.c: Likewise.
27072 * sunrpc/xdr_sizeof.c: Likewise.
27073 * sunrpc/xdr_stdio.c: Likewise.
27075 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27078 2010-08-19 Andreas Schwab <schwab@redhat.com>
27080 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27082 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27084 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27085 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27086 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27087 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27088 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27089 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27090 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27091 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27092 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27093 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27094 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27095 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27096 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27097 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27099 2010-07-26 Anton Blanchard <anton@samba.org>
27101 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27102 * malloc/arena.c (heap_trim): Likewise.
27104 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27106 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27108 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27109 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27111 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27113 * sysdeps/i386/elf/Makefile: New file.
27115 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27117 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27118 from fanotify_init.
27119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27120 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27122 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27124 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27126 * sysdeps/multiarch/strcmp.S: Likewise.
27128 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27130 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27131 strncase_l-nonascii.
27132 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27133 Add strncase_l-ssse3.
27134 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27135 * sysdeps/x86_64/strcmp.S: Likewise.
27136 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27137 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27138 * sysdeps/x86_64/strncase.S: New file.
27139 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27140 * sysdeps/x86_64/strncase_l.S: New file.
27141 * string/Makefile (strop-tests): Add strncasecmp.
27142 * string/test-strncasecmp.c: New file.
27144 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27147 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27148 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27150 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27152 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27154 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27156 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27157 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27158 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27160 2010-05-01 Alan Modra <amodra@gmail.com>
27162 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27163 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27164 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27165 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27166 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27167 tidying. Don't tail-call __sigjmp_save for static lib.
27168 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27170 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27171 (CALL_MCOUNT): Add eh info, and nop after bl.
27172 (TAIL_CALL_SYSCALL_ERROR): New macro.
27173 (PSEUDO_RET): Use it.
27174 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27175 Correct save location of integer regs and cr.
27176 (_dl_profile_resolve): Correct cr save location. Delete nops
27177 after bl when SHARED. Reduce cfi size a little by better
27178 placement of cfi directives.
27179 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27180 make a stack frame. Instead use parm save area as a temp.
27181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27182 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27184 Don't make a stack frame for parent, use parm save area.
27185 Increase child stack frame to 112 bytes. Don't save unused reg,
27186 and adjust reg usage. Set up cfi on error recovery and
27187 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27189 (__makecontext): Add dummy nop after jump to exit.
27190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27191 Use correct parm save area and cr save, reduce stack frame.
27192 Correct cfi for possible PSEUDO_RET frame setup.
27193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27194 Branch to local label emitted by PSEUDO_RET rather than
27197 2010-08-12 Andreas Schwab <schwab@redhat.com>
27200 * locale/programs/locale.c (print_assignment): New function.
27201 (show_locale_vars): Use it.
27203 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27205 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27207 (struct statfs64): Likewise.
27208 (_STATFS_F_FLAGS): Define.
27209 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27210 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27211 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27212 (ST_VALID): Define locally.
27213 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27214 __statvfs_getflags, use the provided value.
27215 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27216 __ASSUME_STATFS_F_FLAGS.
27218 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27220 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27221 Add sys/fanotify.h.
27222 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27223 fanotify_mask for GLIBC_2.13.
27224 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27225 fanotify_init and fanotify_mark.
27226 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27227 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27229 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27231 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27232 prlimit64 for GLIBC_2.13.
27233 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27238 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27239 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27240 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27241 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27243 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27246 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27247 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27249 * nss/Makefile: Add rules to build and run tst-nss-test1.
27250 * shlib-versions: Add entry for libnss_test1.
27251 * nss/nss_test1.c: New file.
27252 * nss/tst-nss-test1.c: New file.
27254 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27255 (__nss_configure_lookup): Set appropriate entry in
27256 __nss_configure_lookup to true.
27257 * nss/nsswitch.h: Define enum with indeces of databases in
27258 databases and __nss_database_custom arrays. Declare
27259 __nss_database_custom.
27260 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27261 to avoid using nscd when custom rules are installed.
27262 * nss/getXXbyYY_r.c: Likewise.
27263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27265 * nss/nss_files/files-parse.c: Whitespace fixes.
27267 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27270 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27271 * posix/fnmatch_loop.c: Likewise.
27273 2010-07-17 Andi Kleen <ak@linux.intel.com>
27275 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27276 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27277 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27278 * Versions.def [GLIBC_2.13]: Add.
27280 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27282 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27283 Also fail if tpwd after pwuid call is NULL.
27285 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27287 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27288 when converting to ms.
27290 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27292 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27293 EOPNOTSUPP errors with ENOTTY.
27294 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27295 EOPNOTSUPP errors with ENOTTY.
27297 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27299 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27300 Add strcasecmp_l-ssse3.
27301 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27303 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27304 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27305 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27307 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27309 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27311 * string/Makefile (strop-tests): Add strcasecmp.
27312 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27313 strcasecmp_l-nonascii.
27314 (gen-as-const-headers): Add locale-defines.sym.
27315 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27316 * sysdeps/x86_64/strcasecmp.S: New file.
27317 * sysdeps/x86_64/strcasecmp_l.S: New file.
27318 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27319 * sysdeps/x86_64/locale-defines.sym: New file.
27320 * string/test-strcasecmp.c: New file.
27322 * string/test-strcasestr.c: Test both ends of the range of characters.
27323 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27325 2010-07-29 Roland McGrath <roland@redhat.com>
27328 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27330 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27332 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27335 2010-07-27 Andreas Schwab <schwab@redhat.com>
27337 * manual/memory.texi (Malloc Tunable Parameters): Document
27340 2010-07-26 Roland McGrath <roland@redhat.com>
27343 * configure.in (-fgnu89-inline check): Set and substitute
27344 gnu89_inline, not libc_cv_gnu89_inline.
27345 * configure: Regenerated.
27346 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27348 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27350 * string/test-strnlen.c: New file.
27351 * string/Makefile (strop-tests): Add strnlen.
27352 * string/tester.c (test_strnlen): Add a few more test cases.
27353 * string/tst-strlen.c: Better error reporting.
27355 * sysdeps/x86_64/strnlen.S: New file.
27357 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27360 lower-latency instructions.
27362 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27364 * string/test-strcasestr.c: New file.
27365 * string/test-strstr.c: New file.
27366 * string/Makefile (strop-tests): Add strstr and strcasestr.
27367 * string/str-two-way.h: Don't undefine MAX.
27368 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27370 2010-07-21 Andreas Schwab <schwab@redhat.com>
27372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27373 strcasestr-nonascii.
27374 (CFLAGS-strcasestr-nonascii.c): Define.
27375 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27376 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27377 Remove unused attribute.
27379 2010-07-20 Roland McGrath <roland@redhat.com>
27381 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27382 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27383 ld.so.cache was broken. With it, there is no way to disable dsocaps
27384 like LD_HWCAP_MASK can disable hwcaps.
27386 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27388 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27390 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27392 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27393 call in strcasestr.
27394 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27395 __strcasestr_sse42_nonascii.
27396 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27397 strcasestr-nonascii.c.
27398 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27400 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27402 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27403 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27404 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27405 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27407 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27409 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27412 2010-07-06 Andreas Schwab <schwab@redhat.com>
27415 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27418 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27420 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27421 _PC_PIPE_BUF using F_GETPIPE_SZ.
27423 2010-07-05 Roland McGrath <roland@redhat.com>
27425 * manual/arith.texi (Rounding Functions): Fix rint description
27426 implicit in round description.
27428 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27430 * elf/Makefile: Fix linking for a few tests to make recent linker
27433 2010-06-30 Andreas Schwab <schwab@redhat.com>
27435 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27436 $(common-objpfx)libc_nonshared.a.
27438 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27440 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27441 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27442 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27443 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27444 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27445 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27446 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27447 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27462 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27463 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27464 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27465 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27466 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27467 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27468 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27469 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27470 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27471 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27472 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27473 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27489 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27491 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27492 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27493 * string/memmove.c (memmove): Renamed to ...
27494 (MEMMOVE): ...this. Default to memmove.
27495 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27496 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27499 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27500 mempcpy-ssse3-back memmove-ssse3-back.
27501 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27502 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27503 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27504 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27505 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27506 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27507 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27508 * sysdeps/x86_64/multiarch/memmove.c: New file.
27509 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27510 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27511 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27512 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27513 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27516 (index_Fast_Copy_Backward): Define.
27517 (HAS_ARCH_FEATURE): Define.
27518 (HAS_FAST_REP_STRING): Define.
27519 (HAS_FAST_COPY_BACKWARD): Define.
27521 2010-06-21 Andreas Schwab <schwab@redhat.com>
27523 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27524 Restore proper fallback handling.
27526 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27529 * posix/group_member.c (__group_member): Correct checking loop.
27531 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27532 OOM in getpwuid_r correctly. Return error number when the caller
27533 should return, otherwise -1.
27534 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27535 call returning > 0 value.
27536 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27538 2010-06-07 Andreas Schwab <schwab@redhat.com>
27540 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27541 libc_nonshared.a from targets in modules-names.
27543 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27545 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27548 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27550 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27551 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27553 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27555 2010-06-02 Andreas Schwab <schwab@redhat.com>
27557 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27559 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27561 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27564 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27567 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27570 2010-06-14 Roland McGrath <roland@redhat.com>
27572 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27574 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27576 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27577 __REDIRECT followed by __THROW.
27578 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27579 * posix/getopt.h (getopt): Likewise.
27581 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27583 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27584 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27585 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27587 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27588 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27590 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27592 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27594 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27598 Properly check family and model.
27600 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27602 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27604 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27606 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27608 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27610 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27613 2010-05-19 Andreas Schwab <schwab@redhat.com>
27615 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27618 2010-05-21 Andreas Schwab <schwab@redhat.com>
27620 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27621 and internal_recvmmsg.
27622 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27623 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27624 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27625 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27627 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27628 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27629 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27631 2010-05-20 Andreas Schwab <schwab@redhat.com>
27633 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27635 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27637 POWER7 optimizations.
27638 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27639 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27641 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27643 * version.h: Update for 2.13 development version.
27645 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27647 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27648 exceptions. Return 0.
27650 2010-05-07 Roland McGrath <roland@redhat.com>
27652 * elf/ldconfig.c (main): Add a const.
27654 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27656 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27657 (args_options): Add no-idn option.
27658 (ahosts_keys_int): Add idn_flags to ai_flags.
27659 (parse_option): Handle 'i' option to clear idn_flags.
27661 * malloc/malloc.c (_int_free): Possible race in the most recently
27662 added check. Only act on the data if no current modification
27665 See ChangeLog.17 for earlier changes.