1 2013-04-03 Andreas Schwab <schwab@suse.de>
4 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5 order arrays from heap if bigger than alloca cutoff.
7 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10 (SNAN_TESTS_double): Refer to GCC PR56831.
11 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16 * Rules (bench): Move bench.out after the run is complete.
18 * Rules (bench): Echo currently running benchmark.
20 * benchtests/Makefile (bench): Add atan and slowatan.
21 * benchtests/atan-inputs: New file.
22 * benchtests/slowatan-inputs: New file.
23 * benchtests/slowatan.c: New file.
25 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30 * sysdeps/unix/sysv/linux/kernel-features.h
31 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32 __ASSUME_XFS_RESTRICTED_CHOWN.
33 * sysdeps/unix/sysv/linux/pathconf.c
34 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35 Save and restore errno.
37 2013-04-02 Joseph Myers <joseph@codesourcery.com>
40 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41 arguments using __kernel_casinh.
42 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43 arguments using __kernel_casinhf.
44 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45 arguments using __kernel_casinhl.
46 * math/libm-test.inc (cacosh_test): Add more tests.
47 * sysdeps/i386/fpu/libm-test-ulps: Update.
48 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
52 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55 * bench/Makefile (bench): Add sin and slowsin.
56 * benchtests/sin-inputs: New file.
57 * benchtests/slowsin-inputs: New file.
58 * benchtests/slowsin.c: New file.
60 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61 (bench): Add slowexp and slowpow.
62 (exp-ITER): Increase iterations.
64 * benchtests/exp-inputs: Change input.
65 * benchtests/pow-inputs: Likewise.
66 * benchtests/slowexp-inputs: New file.
67 * benchtests/slowexp.c: New file.
68 * benchtests/slowpow-inputs: New file.
69 * benchtests/slowpow.c: New file.
71 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
75 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
77 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
78 * benchtests/Makefile: Add rint benchtest.
79 * benchtests/rint-inputs: Input for rint benchtest.
81 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
83 * Versions.def (libm): Add GLIBC_2.18.
84 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
85 hidden libm prototypes.
86 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
87 * math/Makefile (libm-calls): Add s_issignaling.
88 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
89 __issignalingf, __issignalingl. Adjust all libm.abilist files.
90 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
92 * math/math.h [__USE_GNU] (issignaling): New macro.
93 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
94 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
95 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
96 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
97 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
98 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
99 * manual/arith.texi (issignaling): New section.
100 * manual/libm-err-tab.pl (@all_functions): Update comment.
101 * math/gen-libm-test.pl (parse_args): Apply special handling for
103 * math/libm-test.inc (print_float, issignaling_test): New
105 (check_float_internal): Add issignaling checks.
106 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
108 * sysdeps/powerpc/math-tests.h: New file.
109 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
111 * math/test-snan.c (TEST_FUNC): Likewise.
113 2013-03-30 David S. Miller <davem@davemloft.net>
115 * po/de.po: Update from translation team.
117 2013-03-30 Joseph Myers <joseph@codesourcery.com>
120 * math/k_casinh.c (__kernel_casinh): Handle arguments with
121 imaginary part less than 1.0 and real part less than 0.5
123 * math/k_casinhf.c (__kernel_casinhf): Likewise.
124 * math/k_casinhl.c (__kernel_casinhl): Likewise.
125 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
126 (cacos_test): Add more tests.
127 (casin_test): Likewise.
128 (casinh_test): Likewise.
129 * sysdeps/i386/fpu/libm-test-ulps: Update.
130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
132 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
134 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
137 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
138 (__pow_mp): Replace ONE and MONE with their values.
139 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
140 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
141 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
142 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
143 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
144 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
146 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
148 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
149 (__pow_mp): Replace ZERO and MZERO with their values.
150 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
152 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
154 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
155 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
158 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
160 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
162 2013-03-28 Roland McGrath <roland@hack.frob.com>
164 * include/stdlib.h [!SHARED] (__call_tls_dtors):
165 Declare with __attribute__ ((weak)).
166 * stdlib/exit.c (__libc_atexit) [!SHARED]:
167 Call __call_tls_dtors only if it's not NULL.
169 2013-03-28 Roland McGrath <roland@hack.frob.com>
171 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
172 didn't do it already, then set _dl_phdr and _dl_phnum based on the
173 magic __ehdr_start linker symbol if it's defined.
174 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
175 them up here if it was already done.
177 * elf/dl-support.c (_dl_phdr): Make pointer to const.
178 (_dl_aux_init): Use const in cast when setting it.
179 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
180 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
181 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
183 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
185 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
186 * csu/libc-tls.c: Nor here.
187 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
189 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
190 (__libc_message): Never call vsyslog.
192 2013-03-28 Alan Modra <amodra@gmail.com>
194 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
196 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
199 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
206 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
209 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
210 Don't add gid passed as argument.
212 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
214 2013-03-27 Joseph Myers <joseph@codesourcery.com>
217 * math/k_casinh.c (__kernel_casinh): Handle arguments with
218 imaginary part between 1.0 and 1.5 and real part less than 0.5
220 * math/k_casinhf.c (__kernel_casinhf): Likewise.
221 * math/k_casinhl.c (__kernel_casinhl): Likewise.
222 * math/libm-test.inc (cacos_test): Add more tests.
223 (casin_test): Likewise.
224 (casinh_test): Likewise.
225 * sysdeps/i386/fpu/libm-test-ulps: Update.
226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
228 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
230 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
234 (__dbl_mp): Likewise.
235 (add_magnitudes): Likewise.
236 (sub_magnitudes): Likewise.
244 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
246 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
247 (__dubcos): Likewise.
248 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
249 (__ieee754_acos): Likewise.
250 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
251 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
253 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
257 (checkint): Likewise.
258 * sysdeps/ieee754/dbl-64/e_remainder.c
259 (__ieee754_remainder): Likewise.
260 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
261 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
263 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
265 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
266 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
267 MANTISSA_STORE_T to store computations on mantissa. Use
268 macros for rounding and division.
270 (__dbl_mp): Likewise.
271 (add_magnitudes): Likewise.
272 (sub_magnitudes): Likewise.
275 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
276 powers of two in terms of TWOPOW macro.
277 (mp_no): Make type of mantissa as MANTISSA_T.
278 [!RADIXI]: Define RADIXI.
279 [!TWO52]: Define TWO52.
280 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
282 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
284 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
285 llroundl symbol when building for PPC32.
287 2013-03-24 Mark H Weaver <mhw@netris.org>
289 * manual/arith.texi (Normalization Functions): Fix prototypes for
290 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
292 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
295 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
296 high value to check if expl overflow.
297 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
298 to check for underflow and overflow.
299 * math/libm-test.inc: Add exp test.
301 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
304 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
307 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
309 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
312 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
314 * math/gen-libm-test.pl (parse_args, special_functions): Properly
315 wrap blocks consisting of several statements.
317 * sysdeps/generic/math-tests.h: New file.
318 * sysdeps/i386/fpu/math-tests.h: Likewise.
319 * math/test-snan.c: Include it.
320 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
322 2013-03-21 Joseph Myers <joseph@codesourcery.com>
325 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
326 (__ieee754_j0l): Do not improve calculations using cos of twice
327 input for inputs above LDBL_MAX / 2.0L.
328 (__ieee754_y0l): Likewise.
329 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
330 (__ieee754_j1l): Do not improve calculations using cos of twice
331 input for inputs above LDBL_MAX / 2.0L.
332 (__ieee754_y1l): Likewise.
333 * math/libm-test.inc (j0_test): Add another test.
337 * sysdeps/i386/fpu/libm-test-ulps: Update.
339 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
341 * Rules ($(objpfx)bench-%.c): Include code from a C source
344 2013-03-21 Joseph Myers <joseph@codesourcery.com>
347 * math/k_casinh.c (__kernel_casinh): Handle arguments with
348 imaginary part 1.0 and real part less than 0.5 specially.
349 * math/k_casinhf.c (__kernel_casinhf): Likewise.
350 * math/k_casinhl.c (__kernel_casinhl): Likewise.
351 * math/libm-test.inc (cacos_test): Add more tests.
352 (casin_test): Likewise.
353 (casinh_test): Likewise.
354 * sysdeps/i386/fpu/libm-test-ulps: Update.
355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
357 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
359 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
360 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
362 2013-03-20 Joseph Myers <joseph@codesourcery.com>
364 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
365 * config.make.in (config-cflags-sse4): Remove variable.
366 (config-cflags-avx): Likewise.
367 (config-cflags-sse2avx): Likewise.
368 (config-cflags-novzeroupper): Likewise.
369 (config-asflags-i686): Likewise.
370 (have-mfma4): Likewise.
371 (have-as-vis3): Likewise.
373 * configure.in (MIG): Do not AC_SUBST.
374 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
375 (libc_cv_cc_sse4): Do not AC_SUBST.
376 (libc_cv_cc_avx): Likewise.
377 (libc_cv_cc_sse2avx): Likewise.
378 (libc_cv_cc_novzeroupper): Likewise.
379 (libc_cv_cc_fma4): Likewise.
380 (libc_cv_as_i686): Likewise.
381 (libc_cv_sparc_as_vis3): Likewise.
382 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
384 (config-asflags-i686): Likewise.
385 (config-cflags-avx): Likewise.
386 (config-cflags-sse2avx): Likewise.
387 (have-mfma4): Likewise.
388 (config-cflags-novzeroupper): Likewise.
389 * sysdeps/mach/configure.in (MIG): Likewise.
390 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
391 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
393 (config-cflags-avx): Likewise.
394 (config-cflags-sse2avx): Likewise.
395 (have-mfma4): Likewise.
396 (config-cflags-novzeroupper): Likewise.
397 * configure: Regenerated.
398 * sysdeps/i386/configure: Likewise.
399 * sysdeps/mach/configure: Likewise.
400 * sysdeps/sparc/configure: Likewise.
401 * sysdeps/x86_64/configure: Likewise.
403 2013-03-20 Roland McGrath <roland@hack.frob.com>
406 * locale/programs/localedef.c (options): Put N_ translation marker
407 on argument names, not just descriptions.
409 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
411 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
413 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
416 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
418 2013-03-19 Roland McGrath <roland@hack.frob.com>
420 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
421 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
422 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
423 [!BEFORE_ABORT] (before_abort): New function.
424 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
425 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
426 (writev_for_fatal): New function.
427 (WRITEV_FOR_FATAL): New macro; call that.
428 (backtrace_and_maps): New function.
429 (BEFORE_ABORT): New macro; call that.
430 (struct str_list): Type removed.
431 (__libc_message, __libc_fatal): Functions removed.
432 Include <sysdeps/posix/libc_fatal.c> instead.
434 2013-03-19 Joseph Myers <joseph@codesourcery.com>
436 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
438 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
441 2013-03-19 Andreas Schwab <schwab@suse.de>
443 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
444 * sysdeps/gnu/configure: Regenerate.
446 * configure.in: Substitute libc_cv_rtlddir.
447 * configure: Regenerate.
448 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
449 * Makeconfig (rtlddir, inst_rtlddir): New variables.
450 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
451 * elf/Makefile (install-others, CFLAGS-interp.c)
452 (ldso_install, common-ldd-rewrite): Likewise.
453 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
454 $(inst_slibdir)/$(rtld-installed-name).
455 * scripts/rellns-sh: Add -p option.
456 * Makerules (make-shlib-link): Use rellns-sh to get relative name
459 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
461 * manual/nptl.texi: Renamed to ...
462 * manual/threads.texi: ... this.
463 * manual/Makefile (chapters): Update.
465 2013-03-18 Roland McGrath <roland@hack.frob.com>
468 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
469 on argument names, not just descriptions.
470 * malloc/memusagestat.c (options): Likewise.
471 * nss/getent.c (options): Likewise.
473 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
476 * iconv/iconv_prog.c (options): Put N_ translation marker
477 on argument names, not just descriptions.
478 * iconv/iconvconfig.c (options): Likewise.
480 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
482 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
483 implementation which is faster on all x86_64 architectures.
484 Tested on AMD, Intel Nehalem, SNB, IVB.
485 * sysdeps/x86_64/strnlen.S: Likewise.
487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
488 Remove all multiarch strlen and strnlen versions.
489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
490 Remove strlen and strnlen related parts.
492 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
494 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
496 * sysdeps/x86_64/multiarch/strlen.S: Remove.
497 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
498 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
499 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
500 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
501 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
503 2013-03-17 Carlos O'Donell <carlos@redhat.com>
505 * manual/memory.texi (Malloc Tunable Parameters):
506 Sort parameters alphabetically. Add comments for missing entries.
508 2013-03-17 David S. Miller <davem@davemloft.net>
510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
512 2013-03-16 Joseph Myers <joseph@codesourcery.com>
515 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
516 for arguments at most half maximum finite value.
517 * math/libm-test.inc (j0_test): Add more tests.
521 * sysdeps/i386/fpu/libm-test-ulps: Update.
522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
525 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
526 1 / x and functions P and Q for arguments above 0x1p256L.
527 (__ieee754_y0l): Likewise.
528 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
529 (__ieee754_y1l): Likewise.
530 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
535 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
537 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
540 2013-03-15 Roland McGrath <roland@hack.frob.com>
542 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
543 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
544 zero since it's initialized to EXEC_PAGESIZE.
546 * sysdeps/unix/sysv/linux/ldsodefs.h
547 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
548 * sysdeps/generic/ldsodefs.h: ... here.
550 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
552 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
554 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
556 * math/test-snan.c: Renamed from
557 sysdeps/powerpc/fpu/test-powerpc-snan.c.
558 * math/Makefile (tests): Add test-snan.
559 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
562 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
563 SUFFIX. Initialize qNaN_var with __builtin_nan family of
565 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
566 __builtin_nan family of functions.
567 * math/libm-test.inc (initialize): Initialize qnan_value with
568 __builtin_nan family of functions.
569 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
571 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
573 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
574 storage class. Initialize qNaN_var and sNaN_var with
575 __builtin_nan and __builtin_nans families of functions,
578 * math/libm-test.inc (acosh_test): Also test with qNaN input.
579 (sqrt_test): Remove duplicate test with qNaN input.
580 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
581 (round_test, signbit_test, significand_test): Note missing +/-Inf
582 as well as qNaN tests.
584 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
585 qNaN_var. Fix a few strings, too.
586 * math/libm-test.inc (nan_value): Rename to qnan_value.
587 * math/gen-libm-test.pl (%beautify): Adjust to that.
588 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
589 * math/test-misc.c (main): Likewise.
590 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
591 to __qnan_bytes, and __qnan_union, respectively.
592 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
594 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
595 and lqnanval, respectively.
596 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
597 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
598 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
599 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
601 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
602 * math/test-misc.c (main) [__x86_64__]: Enable test for long
605 * math/test-misc.c (main): Fix copy'n'pastos.
606 * misc/tst-efgcvt.c (special): Likewise.
608 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
611 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
613 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
614 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
615 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
616 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
618 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
621 macro to return vdso values correctly in IFUNC implementations.
622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
623 Optimization by using IFUNC.
625 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
626 Richard Henderson <rth@redhat.com>
627 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
629 * Makefile.in (bench): New target.
630 * NEWS: Mention the benchmark framework.
631 * Rules (bench): Likewise.
632 (binaries-bench): Generate binaries for functions to
634 * benchtests/Makefile: New makefile for benchmark tests.
635 * benchtests/bench-skeleton.c: New skeleton file for benchmark
637 * benchtests/exp-inputs: New input file for EXP function.
638 * benchtests/pow-inputs: New input file for POW function.
639 * scripts/bench.pl: New script to generate source files for
642 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
644 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
645 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
646 computations on mantissa. Use macros for rounding and
649 (__dbl_mp): Likewise.
650 (add_magnitudes): Likewise.
651 (sub_magnitudes): Likewise.
654 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
655 powers of two in terms of TWOPOW macro.
656 (mp_no): Make type of mantissa as MANTISSA_T.
657 [!RADIXI]: Define RADIXI.
658 [!TWO52]: Define TWO52.
659 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
661 * manual/nptl.texi (cindex): Modify threads to pthreads.
663 2013-03-15 Joseph Myers <joseph@codesourcery.com>
665 * sysdeps/x86_64/preconfigure: Regenerated.
667 2013-03-14 Joseph Myers <joseph@codesourcery.com>
670 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
672 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
673 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
675 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
676 * math/libm-test.inc (j0_test): Do not allow one spurious
680 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
682 * manual/Makefile (chapters): Add nptl.
683 * manual/debug.texi (Debugging Support): Add link to Threads
685 * manual/nptl.texi: New file.
687 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
689 2013-03-14 Petr Baudis <pasky@ucw.cz>
691 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
692 for non-NULL pointer before the memory validity test. Pointed
693 out by Holger Brunck <holger.brunck@keymile.com>.
695 2013-03-13 Andreas Schwab <schwab@suse.de>
697 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
700 2013-03-13 Joseph Myers <joseph@codesourcery.com>
702 * timezone/zic.c: Update from tzcode 2013b.
704 2013-03-12 Carlos O'Donell <carlos@redhat.com>
706 * manual/install.texi (Configuring and compiling):
707 Mention i686 and i586.
708 * INSTALL: Regenerate.
710 2013-03-12 Roland McGrath <roland@hack.frob.com>
712 * sysdeps/init_array/elf-init.c: New file.
714 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
715 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
717 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
718 __gmon_start__ as global, but as static with a .preinit_array pointer.
719 * sysdeps/init_array/gmon-start.c: New file. Use that.
720 * sysdeps/init_array/crti.S: New file, empty except for comments.
721 * sysdeps/init_array/crtn.S: Likewise.
723 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
725 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
728 Remove Prefer_SSE_for_memop.
729 * sysdeps/x86_64/multiarch/init-arch.h: Remove
730 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
731 HAS_PREFER_SSE_FOR_MEMOP.
732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
734 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
735 Remove bzero, memset ifunc support.
736 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
737 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
738 * sysdeps/x86_64/multiarch/memset.S: Likewise.
739 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
741 2013-03-11 Andreas Schwab <schwab@suse.de>
744 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
747 (GLIBC_2.16): Remove pthread_atfork.
749 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
751 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
752 (ptestcases.h): Likewise.
754 2013-03-08 Roland McGrath <roland@hack.frob.com>
756 * Makeconfig ($(common-objpfx)config.status): Depend on
757 sysdeps/*/preconfigure{,.in} too.
759 2013-03-08 Joseph Myers <joseph@codesourcery.com>
761 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
762 (__free_hook): Use void * instead of __malloc_ptr_t.
763 (__malloc_hook): Likewise.
764 (__realloc_hook): Likewise.
765 (__memalign_hook): Likewise.
766 (__after_morecore_hook): Likewise.
767 * malloc/arena.c (save_malloc_hook): Likewise.
768 (save_free_hook): Likewise.
769 * malloc/hooks.c (malloc_hook_ini): Likewise.
770 (realloc_hook_ini): Likewise.
771 (memalign_hook_ini): Likewise.
772 * malloc/malloc.c (malloc_hook_ini): Likewise.
773 (realloc_hook_ini): Likewise.
774 (memalign_hook_ini): Likewise.
775 (__free_hook): Likewise.
776 (__malloc_hook): Likewise.
777 (__realloc_hook): Likewise.
778 (__memalign_hook): Likewise.
779 (__libc_malloc): Likewise.
780 (__libc_free): Likewise.
781 (__libc_realloc): Likewise.
782 (__libc_memalign): Likewise.
783 (__libc_valloc): Likewise.
784 (__libc_pvalloc): Likewise.
785 (__libc_calloc): Likewise.
786 (__posix_memalign): Likewise.
787 * malloc/morecore.c (__sbrk): Likewise.
788 (__default_morecore): Likewise.
790 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
792 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
793 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
796 * malloc/malloc.h (__malloc_size_t): Remove macro.
797 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
799 (old_memalign_hook): Likewise.
800 (old_realloc_hook): Likewise.
801 (struct hdr): Likewise.
803 (mallochook): Likewise.
804 (memalignhook): Likewise.
805 (reallochook): Likewise.
806 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
807 (tr_old_realloc_hook): Likewise.
808 (tr_old_memalign_hook): Likewise.
809 (tr_mallochook): Likewise.
810 (tr_reallochook): Likewise.
811 (tr_memalignhook): Likewise.
813 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
815 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
816 default_ldbl_pack and using as default implementation.
817 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
819 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
820 redundant definition.
821 (ldbl_insert_mantissa): Likewise.
822 (ldbl_canonicalize): Likewise.
823 (ldbl_nearbyint): Likewise.
824 (ldbl_pack): Rename to ldbl_pack_ppc.
825 (ldbl_unpack): Rename to ldbl_unpack_ppc.
826 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
827 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
829 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
832 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
833 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
834 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
836 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
837 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
838 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
840 2013-03-07 Andreas Jaeger <aj@suse.de>
842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
845 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
847 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
848 Include mpa.h and declare __MPEXP.
849 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
850 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
851 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
852 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
853 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
854 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
855 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
857 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
858 (__slowpow): Use long double EXPL and LOGL functions to
860 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
861 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
862 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
863 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
864 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
865 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
868 intermediate variable to calculate exponent.
870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
874 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
875 [!NO__SQR]: Define __sqr.
876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
877 and NO__SQR. Remove all code except __mul and __sqr. Include
878 sysdeps/ieee754/dbl-64/mpa.c.
879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
882 * posix/Makefile (tests): Add tst-pathconf.
883 * posix/tst-pathconf.c: New test case.
884 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
886 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
888 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
890 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
892 2013-03-06 Andreas Jaeger <aj@suse.de>
894 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
895 definition via __MAP_ANONYMOUS.
897 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
898 it's not part of Linux headers.
900 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
901 (MAP_HUGE_MASK): Define.
903 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
905 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
906 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
908 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
909 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
911 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
912 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
914 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
916 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
917 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
918 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
919 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
920 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
921 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
923 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
926 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
927 Handle f2fs and efivarfs.
929 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
932 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
933 (EFIVARFS_MAGIC): Add.
934 (F2FS_LINK_MAX): Add.
936 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
938 * stdio-common/vfprintf.c: Replace __builtin_expect with
941 2013-03-06 Joseph Myers <joseph@codesourcery.com>
944 * sysdeps/generic/bp-sym.h: Remove file.
945 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
946 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
947 <bp-sym.h> and <bp-asm.h>.
948 (__longjmp): Don't use BP_SYM.
949 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
951 (memcpy): Don't use BP_SYM.
952 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
953 <bp-sym.h> and <bp-asm.h>.
954 (memcpy): Don't use BP_SYM.
955 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
957 (memcpy): Don't use BP_SYM.
958 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
960 (memset): Don't use BP_SYM.
961 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
962 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
963 (__bzero): Don't use BP_SYM.
964 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
965 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
966 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
967 <bp-sym.h> and <bp-asm.h>.
968 (memcmp): Don't use BP_SYM. Remove comment about bounded
970 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
971 <bp-sym.h> and <bp-asm.h>.
972 (memcpy): Don't use BP_SYM.
973 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
974 <bp-sym.h> and <bp-asm.h>.
975 (memset): Don't use BP_SYM.
976 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
977 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
978 (__bzero): Don't use BP_SYM.
979 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
980 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
981 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
982 <bp-sym.h> and <bp-asm.h>.
983 (strncmp): Don't use BP_SYM. Remove comment about bounded
985 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
986 <bp-sym.h> and <bp-asm.h>.
987 (memcpy): Don't use BP_SYM.
988 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
989 <bp-sym.h> and <bp-asm.h>.
990 (memset): Don't use BP_SYM.
991 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
992 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
993 (__bzero): Don't use BP_SYM.
994 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
995 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
996 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
997 <bp-sym.h> and <bp-asm.h>.
998 (__memchr): Don't use BP_SYM.
999 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1000 <bp-sym.h> and <bp-asm.h>.
1001 (memcmp): Don't use BP_SYM. Remove comment about bounded
1003 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1004 <bp-sym.h> and <bp-asm.h>.
1005 (memcpy): Don't use BP_SYM.
1006 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1007 <bp-sym.h> and <bp-asm.h>.
1008 (__mempcpy): Don't use BP_SYM.
1009 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1010 <bp-sym.h> and <bp-asm.h>.
1011 (__memrchr): Don't use BP_SYM.
1012 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1013 <bp-sym.h> and <bp-asm.h>.
1014 (memset): Don't use BP_SYM.
1015 (__bzero): Likewise.
1016 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1017 <bp-sym.h> and <bp-asm.h>.
1018 (__rawmemchr): Don't use BP_SYM.
1019 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1020 <bp-sym.h> and <bp-asm.h>.
1021 (__STRCMP): Don't use BP_SYM.
1022 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1023 <bp-sym.h> and <bp-asm.h>.
1024 (strchr): Don't use BP_SYM.
1025 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1026 <bp-sym.h> and <bp-asm.h>.
1027 (__strchrnul): Don't use BP_SYM.
1028 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1029 <bp-sym.h> and <bp-asm.h>.
1030 (strlen): Don't use BP_SYM.
1031 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1032 <bp-sym.h> and <bp-asm.h>.
1033 (strncmp): Don't use BP_SYM. Remove comment about bounded
1035 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1036 <bp-sym.h> and <bp-asm.h>.
1037 (__strnlen): Don't use BP_SYM.
1038 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1039 <bp-sym.h> and <bp-asm.h>.
1040 (__GI__setjmp): Don't use BP_SYM.
1041 (_setjmp): Likewise.
1042 (__sigsetjmp): Likewise.
1043 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1044 (L(start_addresses)): Don't use BP_SYM.
1046 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1048 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1049 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1050 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1051 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1052 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1054 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1055 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1056 about bounded pointers.
1057 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1058 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1059 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1061 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1062 about bounded pointers. Remove GKM FIXME comments.
1063 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1064 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1066 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1067 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1068 Remove GKM FIXME comments.
1069 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1070 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1071 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1073 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1074 about bounded pointers. Remove GKM FIXME comment.
1075 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1077 (strncmp): Don't use BP_SYM. Remove comment about bounded
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1080 <bp-sym.h> and <bp-asm.h>.
1081 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1083 <bp-sym.h> and <bp-asm.h>.
1084 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1087 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1089 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1092 2013-03-05 David S. Miller <davem@davemloft.net>
1094 * po/es.po: Update from translation team.
1096 2013-03-05 Andreas Jaeger <aj@suse.de>
1098 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1099 <bits/mman-linux.h>.
1100 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1102 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1103 <bits/mman-linux.h> to end of file.
1104 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1106 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1107 <bits/mman-linux.h> to end of file.
1108 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1111 <bits/mman-linux.h> to end of file.
1113 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1114 (MCL_CURRENT, MCL_FUTURE): Define here.
1116 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1119 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1121 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1123 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1125 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1126 fourth parameter needed for rt_sigprocmask syscall.
1127 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1128 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1129 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1130 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1131 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1132 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1134 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1137 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1138 comment about bounded pointers.
1139 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1140 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1142 2013-03-04 Andreas Jaeger <aj@suse.de>
1144 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1147 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1148 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1149 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1150 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1151 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1152 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1154 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1158 __ieee754_sqrl instead of __sqrl.
1160 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1162 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1163 * sysdeps/powerpc/fpu_control.h: ... here.
1164 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1165 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1166 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1167 * sysdeps/powerpc/bits/mathinline.h: ... here.
1169 2013-03-01 Roland McGrath <roland@hack.frob.com>
1171 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1172 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1173 to just [NEED_DL_SYSINFO_DSO].
1174 * elf/dl-support.c: Likewise.
1175 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1176 * elf/rtld.c (dl_main): Likewise.
1177 * elf/setup-vdso.h (setup_vdso): Likewise.
1178 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1179 * sysdeps/unix/sysv/linux/dl-sysdep.c
1180 (_dl_discover_osversion): Likewise.
1182 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1184 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1185 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1187 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1189 * NEWS: Mention libm performance improvements and non-x86 PI
1192 * csu/libc-start.c (__pthread_initialize_minimal): Change
1194 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1196 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1199 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1200 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1201 <bp-sym.h> and <bp-asm.h>.
1202 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1203 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1205 (memcpy): Don't use BP_SYM.
1206 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1208 (__mpn_add_n): Don't use BP_SYM.
1209 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1210 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1212 (__mpn_addmul_1): Don't use BP_SYM.
1213 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1214 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1216 (_setjmp): Don't use BP_SYM.
1217 (__novmx_setjmp): Likewise.
1218 (__GI__setjmp): Likewise.
1219 (__vmx_setjmp): Likewise.
1220 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1222 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1223 (__bzero): Don't use BP_SYM.
1224 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1225 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1226 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1227 <bp-sym.h> and <bp-asm.h>.
1228 (memcpy): Don't use BP_SYM.
1229 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1230 <bp-sym.h> and <bp-asm.h>.
1231 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1232 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1233 <bp-sym.h> and <bp-asm.h>.
1234 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1235 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1237 (__mpn_lshift): Don't use BP_SYM.
1238 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1239 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1241 (memset): Don't use BP_SYM.
1242 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1243 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1244 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1246 (__mpn_mul_1): Don't use BP_SYM.
1247 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1248 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1249 <bp-sym.h> and <bp-asm.h>.
1250 (memcmp): Don't use BP_SYM.
1251 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1252 <bp-sym.h> and <bp-asm.h>.
1253 (memcpy): Don't use BP_SYM.
1254 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1255 <bp-sym.h> and <bp-asm.h>.
1256 (memset): Don't use BP_SYM.
1257 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1258 <bp-sym.h> and <bp-asm.h>.
1259 (strncmp): Don't use BP_SYM.
1260 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1261 <bp-sym.h> and <bp-asm.h>.
1262 (memcpy): Don't use BP_SYM.
1263 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1264 <bp-sym.h> and <bp-asm.h>.
1265 (memset): Don't use BP_SYM.
1266 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1267 <bp-sym.h> and <bp-asm.h>.
1268 (__memchr): Don't use BP_SYM.
1269 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1270 <bp-sym.h> and <bp-asm.h>.
1271 (memcmp): Don't use BP_SYM.
1272 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1273 <bp-sym.h> and <bp-asm.h>.
1274 (memcpy): Don't use BP_SYM.
1275 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1276 <bp-sym.h> and <bp-asm.h>.
1277 (__mempcpy): Don't use BP_SYM.
1278 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1279 <bp-sym.h> and <bp-asm.h>.
1280 (__memrchr): Don't use BP_SYM.
1281 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1282 <bp-sym.h> and <bp-asm.h>.
1283 (memset): Don't use BP_SYM.
1284 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1285 <bp-sym.h> and <bp-asm.h>.
1286 (__rawmemchr): Don't use BP_SYM.
1287 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1288 <bp-sym.h> and <bp-asm.h>.
1289 (__STRCMP): Don't use BP_SYM.
1290 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1291 <bp-sym.h> and <bp-asm.h>.
1292 (strchr): Don't use BP_SYM.
1293 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1294 <bp-sym.h> and <bp-asm.h>.
1295 (__strchrnul): Don't use BP_SYM.
1296 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1297 <bp-sym.h> and <bp-asm.h>.
1298 (strlen): Don't use BP_SYM.
1299 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1300 <bp-sym.h> and <bp-asm.h>.
1301 (strncmp): Don't use BP_SYM.
1302 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1303 <bp-sym.h> and <bp-asm.h>.
1304 (__strnlen): Don't use BP_SYM.
1305 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1307 (__mpn_rshift): Don't use BP_SYM.
1308 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1309 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1310 <bp-sym.h> and <bp-asm.h>.
1311 (__sigsetjmp): Don't use BP_SYM.
1312 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1313 (L(start_addresses)): Don't use BP_SYM.
1315 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1317 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1318 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1319 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1320 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1322 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1323 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1324 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1325 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1327 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1329 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1330 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1332 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1334 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1335 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1336 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1338 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1340 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1342 (strncmp): Don't use BP_SYM,
1343 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1345 (__mpn_sub_n): Don't use BP_SYM.
1346 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1347 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1349 (__mpn_submul_1): Don't use BP_SYM.
1350 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1352 <bp-sym.h> and <bp-asm.h>.
1353 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1355 <bp-sym.h> and <bp-asm.h>.
1356 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1359 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1362 Use ZK to minimize writes to Z.
1363 (sub_magnitudes): Simplify code a bit.
1364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1365 Use ZK to minimize writes to Z.
1366 (sub_magnitudes): Simplify code a bit.
1368 2013-02-27 Roland McGrath <roland@hack.frob.com>
1370 * csu/gmon-start.c: Add special exception to license text.
1372 2013-02-27 Richard Henderson <rth@redhat.com>
1374 * scripts/config.guess: Update from config.git.
1375 * scripts/config.sub: Likewise.
1377 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1379 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1381 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1383 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1385 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1387 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1389 2013-02-26 Roland McGrath <roland@hack.frob.com>
1391 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1392 [$(build-shared = yes].
1394 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1396 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1397 (__mul): Reduce iterations for calculating mantissa.
1399 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1401 (__mpranred): Likewise.
1404 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1405 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1407 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1409 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1410 Define __attribute__.
1412 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1414 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1416 * posix/regex_internal.h (__attribute): Remove.
1417 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1418 (re_string_context_at): Likewise.
1419 (bitset_not): Use __attribute__ and mark function as possibly
1421 (bitset_merge): Likewise.
1422 (bitset_mask): Likewise.
1423 (re_string_char_size_at): Likewise.
1424 (re_string_wchar_at): Likewise.
1425 (re_string_elem_size_at): Likewise.
1427 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1429 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1433 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1438 (__dbl_mp): Likewise.
1439 (add_magnitudes): Likewise.
1440 (sub_magnitudes): Likewise.
1444 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1447 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1450 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1454 up changes with default code.
1455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1458 2013-02-24 Allan McRae <allan@archlinux.org>
1460 * manual/socket.texi (The Internet Namespace): Order menu items
1461 to match that in the file.
1463 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1464 node listing of the info page menu.
1466 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1469 * sysdeps/i386/bp-asm.h: Remove file.
1470 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1471 (PARMS): Do not use macros from bp-asm.h.
1475 (__mpn_add_n): Do not use BP_SYM
1476 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1478 (PARMS): Do not use macros from bp-asm.h.
1481 (__mpn_addmul_1): Do not use BP_SYM
1482 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1484 (PARMS): Do not use macros from bp-asm.h.
1486 (_setjmp): Likewise. Do not use BP_SYM.
1487 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1489 (PARMS): Do not use macros from bp-asm.h.
1491 (setjmp): Likewise. Do not use BP_SYM.
1492 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1494 (PARMS): Do not use macros from bp-asm.h.
1495 (__frexp): Do not use BP_SYM.
1497 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1499 (PARMS): Do not use macros from bp-asm.h.
1500 (__frexpf): Do not use BP_SYM.
1502 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1504 (PARMS): Do not use macros from bp-asm.h.
1505 (__frexpl): Do not use BP_SYM.
1507 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1509 (PARMS): Do not use macros from bp-asm.h.
1510 (__remquo): Do not use BP_SYM.
1512 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1514 (PARMS): Do not use macros from bp-asm.h.
1515 (__remquof): Do not use BP_SYM.
1516 (remquof): Likewise.
1517 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1519 (PARMS): Do not use macros from bp-asm.h.
1520 (__remquol): Do not use BP_SYM.
1521 (remquol): Likewise.
1522 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1524 (PARMS): Do not use macros from bp-asm.h.
1527 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1528 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1530 (PARMS): Do not use macros from bp-asm.h.
1531 (strlen): Do not use BP_SYM.
1532 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1534 (PARMS): Do not use macros from bp-asm.h.
1538 (__mpn_add_n): Do not use BP_SYM.
1539 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1541 (PARMS): Do not use macros from bp-asm.h.
1544 (__mpn_addmul_1): Do not use BP_SYM.
1545 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1548 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1550 (PARMS): Do not use macros from bp-asm.h.
1553 (__mpn_lshift): Do not use BP_SYM.
1554 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1556 (PARMS): Do not use macros from bp-asm.h.
1560 (memcpy): Likewise. Do not use BP_SYM.
1561 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1562 libc_hidden_def and weak_alias.
1563 (mempcpy): Do not use BP_SYM in weak_alias.
1564 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1566 (PARMS): Do not use macros from bp-asm.h.
1569 [!BZERO_P] (CHR): Likewise.
1570 (memset): Likewise. Do not use BP_SYM.
1571 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1573 (PARMS): Do not use macros from bp-asm.h.
1576 (__mpn_mul_1): Do not use BP_SYM.
1577 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1579 (PARMS): Do not use macros from bp-asm.h.
1582 (__mpn_rshift): Do not use BP_SYM.
1583 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1585 (PARMS): Do not use macros from bp-asm.h.
1588 (strchr): Likewise. Do not use BP_SYM.
1589 (index): Do not use BP_SYM in weak_alias.
1590 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1592 (PARMS): Do not use macros from bp-asm.h.
1595 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1596 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1598 (PARMS): Do not use macros from bp-asm.h.
1599 (strlen): Do not use BP_SYM.
1600 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1602 (PARMS): Do not use macros from bp-asm.h.
1606 (__mpn_sub_n): Do not use BP_SYM.
1607 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1609 (PARMS): Do not use macros from bp-asm.h.
1612 (__mpn_submul_1): Do not use BP_SYM.
1613 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1615 (PARMS): Do not use macros from bp-asm.h.
1619 (__mpn_add_n): Do not use BP_SYM.
1620 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1623 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1625 (PARMS): Do not use macros from bp-asm.h.
1628 (memcmp): Do not use BP_SYM.
1629 (bcmp): Do not use BP_SYM in weak_alias.
1630 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1632 (PARMS): Do not use macros from bp-asm.h.
1636 (memcpy): Likewise. Do not use BP_SYM.
1637 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1639 (PARMS): Do not use macros from bp-asm.h.
1643 (memmove): Likewise. Do not use BP_SYM.
1644 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1646 (PARMS): Do not use macros from bp-asm.h.
1650 (__mempcpy): Likewise. Do not use BP_SYM.
1651 (mempcpy): Do not use BP_SYM in weak_alias.
1652 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1654 (PARMS): Do not use macros from bp-asm.h.
1657 [!BZERO_P] (CHR): Likewise.
1658 (memset): Likewise. Do not use BP_SYM.
1659 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1661 (PARMS): Do not use macros from bp-asm.h.
1663 (strcmp): Do not use BP_SYM.
1664 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1666 (PARMS): Do not use macros from bp-asm.h.
1669 [USE_AS_STRTOK_R] (SAVE): Likewise.
1670 (FUNCTION): Likewise. Do not use BP_SYM.
1671 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1673 (strtok_r): Likewise.
1674 (__GI___strtok_r): Likewise.
1675 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1676 (PARMS): Do not use macros from bp-asm.h.
1679 (__mpn_lshift): Do not use BP_SYM.
1680 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1681 (PARMS): Do not use macros from bp-asm.h.
1684 (__memchr): Do not use BP_SYM.
1685 (memchr): Do not use BP_SYM in weak_alias.
1686 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1687 (PARMS): Do not use macros from bp-asm.h.
1690 (memcmp): Do not use BP_SYM.
1691 (bcmp): Do not use BP_SYM in weak_alias.
1692 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1693 (PARMS): Do not use macros from bp-asm.h.
1696 (__mpn_mul_1): Do not use BP_SYM.
1697 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1699 (PARMS): Do not use macros from bp-asm.h.
1702 (__rawmemchr): Do not use BP_SYM.
1703 (rawmemchr): Do not use BP_SYM in weak_alias.
1704 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1705 (PARMS): Do not use macros from bp-asm.h.
1708 (__mpn_rshift): Do not use BP_SYM.
1709 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1710 (PARMS): Do not use macros from bp-asm.h.
1712 (__sigsetjmp): Likewise. Do not use BP_SYM.
1713 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1714 (_start): Do not use BP_SYM.
1715 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1716 (PARMS): Do not use macros from bp-asm.h.
1719 (__stpcpy): Likewise. Do not use BP_SYM.
1720 (stpcpy): Do not use BP_SYM in weak_alias.
1721 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1723 (PARMS): Do not use macros from bp-asm.h.
1727 (__stpncpy): Likewise. Do not use BP_SYM.
1728 (stpncpy): Do not use BP_SYM in weak_alias.
1729 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1730 (PARMS): Do not use macros from bp-asm.h.
1733 (strchr): Likewise. Do not use BP_SYM.
1734 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1736 (PARMS): Do not use macros from bp-asm.h.
1739 (__strchrnul): Likewise. Do not use BP_SYM.
1740 (strchrnul): Do not use BP_SYM in weak_alias.
1741 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1743 (PARMS): Do not use macros from bp-asm.h.
1745 (strcspn): Do not use BP_SYM.
1746 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1748 (PARMS): Do not use macros from bp-asm.h.
1751 (strpbrk): Likewise. Do not use BP_SYM.
1752 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1754 (PARMS): Do not use macros from bp-asm.h.
1757 (strrchr): Likewise. Do not use BP_SYM.
1758 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1759 (PARMS): Do not use macros from bp-asm.h.
1761 (strspn): Do not use BP_SYM.
1762 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1763 (PARMS): Do not use macros from bp-asm.h.
1767 (FUNCTION): Likewise. Do not use BP_SYM.
1768 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1770 (strtok_r): Likewise.
1771 (__GI___strtok_r): Likewise.
1772 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1773 (PARMS): Do not use macros from bp-asm.h.
1777 (__mpn_sub_n): Do not use BP_SYM.
1778 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1780 (PARMS): Do not use macros from bp-asm.h.
1783 (__mpn_submul_1): Do not use BP_SYM.
1784 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1786 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1788 (PARMS): Do not use macros from bp-asm.h.
1793 (__clone): Do not use BP_SYM.
1794 (clone): Do not use BP_SYM in weak_alias.
1795 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1797 (PARMS): Do not use macros from bp-asm.h.
1799 (__mmap64): Do not use BP_SYM.
1800 (mmap64): Do not use BP_SYM in weak_alias.
1801 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1802 <bp-sym.h> and <bp-asm.h>.
1803 (PARMS): Do not use macros from bp-asm.h.
1804 (__posix_fadvise64_l64): Do not use BP_SYM.
1805 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1806 (PARMS): Do not use macros from bp-asm.h.
1808 (semtimedop): Do not use BP_SYM.
1809 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1812 2013-02-21 Allan McRae <allan@archlinux.org>
1814 * manual/message.texi (Charset conversion in gettext):
1815 Move @end statement to beginning of line.
1817 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1824 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1829 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1831 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1832 tail-call to the resolved function if pltexit isn't needed.
1834 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1837 or Y being zero as being unlikely.
1838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1841 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1843 * manual/nss.texi (System Databases and Name Service Switch):
1844 Remove frobnicate @pxref.
1846 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1848 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1849 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1851 2013-02-20 Petr Machata <pmachata@redhat.com>
1853 * elf/elf.h (R_ARM_TARGET1): New macro.
1854 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1855 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1856 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1857 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1858 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1859 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1860 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1861 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1862 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1863 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1864 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1865 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1866 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1867 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1868 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1869 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1870 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1871 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1872 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1873 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1874 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1875 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1876 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1877 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1878 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1879 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1880 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1881 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1882 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1883 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1884 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1885 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1886 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1887 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1888 (R_ARM_THM_GOT_BREL12): Likewise.
1889 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1890 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1891 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1892 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1893 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1894 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1895 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1896 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1897 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1899 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1901 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1902 __attribute_used__ to __attribute__ ((unused)).
1904 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1906 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1912 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1915 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1917 (ENTER): Remove both macro definitions.
1919 (CHECK_BOUNDS_LOW): Likewise.
1920 (CHECK_BOUNDS_HIGH): Likewise.
1921 (CHECK_BOUNDS_BOTH): Likewise.
1922 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1923 (RETURN_BOUNDED_POINTER): Likewise.
1924 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1925 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1926 (POP_ERRNO_LOCATION_RETURN): Likewise.
1927 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1928 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1929 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1931 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1932 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1933 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1934 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1935 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1936 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1937 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1938 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1939 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1940 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1941 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1942 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1943 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1944 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1946 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1947 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1949 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1950 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1951 * sysdeps/i386/i586/memset.S (memset): Likewise.
1952 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1953 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1954 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1956 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1957 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1958 Change uses of L(2) to L(out).
1959 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1960 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1961 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1962 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1963 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1965 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1966 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1968 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1969 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1970 (RETURN): Do not use macro LEAVE.
1971 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1972 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1973 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1974 * sysdeps/i386/i686/memset.S (memset): Likewise.
1975 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1976 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1977 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1978 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1980 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1981 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1982 L(1_2) and L(1_3) into L(1).
1983 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1984 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1985 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1986 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1987 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1988 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1989 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1990 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1991 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1993 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1994 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1995 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1996 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1997 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1998 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1999 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2000 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2001 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2002 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2003 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2004 * sysdeps/i386/strspn.S (strspn): Likewise.
2005 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2007 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2008 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2009 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2010 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2012 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2013 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2014 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2016 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2018 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2020 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2023 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2025 * math/atest-exp.c (exp_mpn): Remove ROUND.
2026 * math/atest-exp2.c (exp_mpn): Likewise.
2027 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2029 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2030 * stdlib/tst-tls-atexit-lib.c: Likewise.
2031 * stdlib/tst-tls-atexit.c: Likewise.
2033 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2035 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2036 and __attribute_alloc_size__.
2038 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2040 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2041 __attribute_alloc_size__.
2042 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2043 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2045 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2047 * include/programs/xmalloc.h: New file.
2048 * catgets/gencat.c: Include it.
2049 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2050 * elf/pldd.c: Likewise.
2051 * iconv/iconv_charmap.c: Likewise.
2052 * iconv/iconvconfig.c: Likewise.
2053 * iconv/strtab.c: Likewise.
2054 * locale/programs/locale.c: Likewise.
2055 * locale/programs/localedef.h: Likewise.
2056 * locale/programs/simple-hash.c: Likewise.
2057 * nscd/nscd.h: Likewise.
2058 * nss/makedb.c: Likewise.
2059 * sysdeps/generic/ldconfig.h: Likewise.
2061 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2063 * Versions.def: Add GLIBC_2.18.
2064 * include/link.h (struct link_map): New member l_tls_dtor_count.
2065 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2066 (__call_tls_dtors): Likewise.
2067 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2068 __cxa_thread_atexit_impl.
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2077 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2085 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2086 (tests): Add test case tst-tls-atexit.
2087 (modules-names): Add shared library for tst-tls-atexit.
2088 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2089 (GLIBC_PRIVATE): Add __call_tls_dtors.
2090 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2092 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2093 * stdlib/tst-tls-atexit.c: New test case.
2094 * stdlib/tst-tls-atexit-lib.c: New test case.
2096 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2098 * elf/Versions (ld): Add _dl_find_dso_for_object.
2099 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2100 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2101 (dl_open_worker): Use _dl_find_dso_for_object.
2102 * elf/dl-sym.c (do_sym): Likewise.
2103 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2105 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2107 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2108 Syntactic changes only.
2109 (_dl_runtime_profile): Do a tail-call to the resolved function.
2111 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2114 * sysdeps/x86_64/bp-asm.h: Remove file.
2115 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2116 <bp-sym.h> and <bp-asm.h>.
2117 (__clone): Do not use BP_SYM.
2118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2119 <bp-sym.h> and <bp-asm.h>.
2120 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2121 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2123 (_setjmp): Do not use BP_SYM.
2124 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2126 (setjmp): Do not use BP_SYM.
2127 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2129 (mempcpy): Do not use BP_SYM in weak_alias.
2130 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2132 (strchr): Do not use BP_SYM.
2133 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2135 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2136 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2137 (_start): Do not use BP_SYM.
2138 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2140 (strcat): Do not use BP_SYM.
2141 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2143 (STRCMP): Do not use BP_SYM.
2144 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2146 (STRCPY): Do not use BP_SYM.
2147 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2149 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2151 (FUNCTION): Do not use BP_SYM.
2152 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2154 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2156 2013-02-17 Andreas Jaeger <aj@suse.de>
2158 * time/Versions: Sort entries.
2159 * string/Versions: Likewise.
2160 * resolv/Versions: Likewise.
2161 * posix/Versions: Likewise.
2162 * iconv/Versions: Likewise.
2163 * elf/Versions: Likewise.
2164 * wcsmbs/Versions: Likewise.
2166 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2168 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2169 loop termination condition.
2171 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2172 variable to calculate EZ.
2175 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2176 the lower precision input.
2178 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2181 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2182 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2183 (run-via-rtld-prefix): Do not handle %-bp tests.
2184 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2185 (all-object-suffixes): Remove .ob.
2186 (bppfx): Remove variable.
2187 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2188 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2189 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2190 [$(build-bounded) = yes] (libtype.ob): Likewise.
2191 * Makerules (elide-routines.ob): Remove variable.
2192 (do-tests-clean): Do not handle *-bp.out.
2193 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2194 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2195 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2196 (tests): Do not include $(tests-bp.out).
2197 (xtests): Do not include $(xtests-bp.out).
2198 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2199 [$(build-bounded) = yes] ($(addprefix
2200 $(objpfx),$(binaries-bounded))): Remove rule.
2201 ($(objpfx)%-bp.out): Remove rule.
2202 * config.make.in (build-bounded): Remove variable.
2203 * crypt/Makefile [$(build-bounded) = yes]
2204 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2205 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2207 [$(build-bounded) = yes] (install-lib): Likewise.
2208 [$(build-bounded) = yes] (generated): Likewise.
2209 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2211 * intl/Makefile [$(build-bounded) = yes]
2212 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2213 * math/Makefile [$(build-bounded) = yes]
2214 ($(tests:%=$(objpfx)%-bp): Likewise.
2215 * misc/Makefile [$(build-bounded) = yes]
2216 ($(objpfx)tst-tsearch-bp): Likewise.
2217 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2218 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2220 * string/Makefile (o-objects.ob): Remove variable.
2221 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2222 (CFLAGS-.ob): Remove variable.
2223 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2224 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2225 both definitions of variable.
2226 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2227 (ASFLAGS-.ob): Remove variable.
2229 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2232 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2233 Remove __BOUNDED_POINTERS__ from condition.
2234 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2235 * string/bits/string2.h [!__NO_STRING_INLINES &&
2236 !__BOUNDED_POINTERS__]: Likewise.
2237 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2239 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2240 Remove conditional code.
2241 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2242 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2243 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2247 * csu/libc-start.c: Do not include <bp-sym.h>.
2248 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2249 * elf/dl-open.c: Do not include <bp-sym.h>.
2250 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2251 * math/fegetenv.c: Do not include <bp-sym.h>.
2252 (fegetenv): Do not use BP_SYM in versioned symbols.
2253 * nptl/sysdeps/pthread/bits/libc-lockP.h
2254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2257 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2259 (__pthread_mutex_destroy): Likewise.
2260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2261 (__pthread_mutex_lock): Likewise.
2262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2263 (__pthread_mutex_trylock): Likewise.
2264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2265 (__pthread_mutex_unlock): Likewise.
2266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2267 (__pthread_mutexattr_init): Likewise.
2268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2269 (__pthread_mutexattr_destroy): Likewise.
2270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2271 (__pthread_mutexattr_settype): Likewise.
2272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2273 (__pthread_rwlock_init): Likewise.
2274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2275 (__pthread_rwlock_destroy): Likewise.
2276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2277 (__pthread_rwlock_rdlock): Likewise.
2278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2279 (__pthread_rwlock_tryrdlock): Likewise.
2280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2281 (__pthread_rwlock_wrlock): Likewise.
2282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2283 (__pthread_rwlock_trywrlock): Likewise.
2284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2285 (__pthread_rwlock_unlock): Likewise.
2286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2287 (__pthread_key_create): Likewise.
2288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2289 (__pthread_setspecific): Likewise.
2290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2291 (__pthread_getspecific): Likewise.
2292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2295 (_pthread_cleanup_push_defer): Likewise.
2296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2297 (_pthread_cleanup_pop_restore): Likewise.
2298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2299 (pthread_setcancelstate): Likewise.
2300 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2302 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2303 (memchr): Do not use BP_SYM in weak_alias.
2304 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2305 (fegetenv): Do not use BP_SYM in versioned symbols.
2306 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2307 (fesetenv): Do not use BP_SYM in versioned symbols.
2308 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2309 (feupdateenv): Do not use BP_SYM in versioned symbols.
2310 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2311 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2312 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2313 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2314 (open64): Do not use BP_SYM in weak_alias.
2315 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2316 (fegetenv): Do not use BP_SYM in versioned symbols.
2317 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2318 (fesetenv): Do not use BP_SYM in versioned symbols.
2319 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2320 (feupdateenv): Do not use BP_SYM in versioned symbols.
2321 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2322 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2323 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2324 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2325 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2326 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2327 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2329 (__libc_start_main): Do not use BP_SYM.
2331 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2334 redundant return line.
2338 (sub_magnitudes): Likewise.
2344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2348 (sub_magnitudes): Likewise.
2355 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2357 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2358 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2361 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2362 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2364 of __mul for squares.
2365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2369 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2370 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2372 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2375 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2377 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2378 prototype or function definition. Rename ubp_* variables and
2379 parameters. Remove argv definitions conditional on
2380 [__BOUNDED_POINTERS__].
2381 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2382 * elf/dl-runtime.c (_dl_fixup): Likewise.
2383 * include/set-hooks.h (RUN_HOOK): Likewise.
2384 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2386 * string/strcpy.c (strcpy): Do not use __unbounded.
2387 * sysdeps/generic/frame.h (struct layout): Likewise.
2388 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2389 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2390 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2391 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2392 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2393 (__backtrace): Likewise.
2394 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2396 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2397 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2398 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2400 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2401 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2402 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2403 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2404 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2405 Do not use __unbounded.
2406 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2407 Rename __unboundedrlimits parameter to rlimits in prototype.
2408 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2409 Do not use __unbounded.
2410 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2412 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2413 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2414 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2415 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2416 __ptrvalue or __unbounded.
2417 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2418 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2420 (__new_msgctl): Do not use __ptrvalue.
2421 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2423 (__libc_msgrcv): Do not use __ptrvalue.
2424 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2425 startup_info): Do not use __unbounded.
2426 (__libc_start_main): Likewise. Rename ubp_* variables and
2427 parameters. Remove argv definitions conditional on
2428 [__BOUNDED_POINTERS__].
2429 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2431 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2433 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2435 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2437 (__new_shmctl): Do not use __ptrvalue.
2438 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2439 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2441 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2442 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2443 (__libc_sigaction): Likewise.
2444 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2445 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2447 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2449 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2451 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2453 * string/mempcpy.c: Implement by calling memcpy.
2455 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2462 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2463 values in the mantissa.
2465 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2466 minimize writes to Z.
2467 (sub_magnitudes): Simplify code a bit.
2469 2013-02-12 Roland McGrath <roland@hack.frob.com>
2471 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2472 from the message. The linker prefixes all warnings with that already.
2474 2013-02-12 Andreas Schwab <schwab@suse.de>
2477 * posix/regexec.c (extend_buffers): Add parameter min_len.
2478 (check_matching): Pass minimum needed length.
2479 (clean_state_log_if_needed): Likewise.
2480 (get_subexp): Likewise.
2481 * posix/Makefile (tests): Add bug-regex34.
2482 (bug-regex34-ENV): Define.
2483 * posix/bug-regex34.c: New file.
2486 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2487 elements compare against the byte sequence of it, not its name.
2488 * posix/Makefile (tests): Add bug-regex35.
2489 (bug-regex35-ENV): Define.
2490 * posix/bug-regex35.c: New file.
2492 2013-02-11 Tom de Vries <tom@codesourcery.com>
2494 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2496 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2497 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2498 (CHECK_EOL): Add undef.
2500 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2502 * bits/stdlib-bsearch.h: New file.
2503 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2504 * stdlib/stdlib.h: Likewise.
2506 2013-02-11 Roland McGrath <roland@hack.frob.com>
2508 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2509 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2511 * manual/search.texi (Array Search Function): Add missing const in
2513 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2514 declaration to use rlim_t.
2515 (Basic Scheduling Functions): Remove erroneous const from
2516 sched_getparam prototype. Remove erroneous * from
2517 sched_get_priority_max and sched_get_priority_min prototypes.
2518 (Resource Usage): Fix summary @comment on vtimes to refer to
2519 sys/vtimes.h rather than vtimes.h.
2520 Add missing *s in vtimes prototype.
2521 (Limits on Resources): Fix ulimit prototype to return long int.
2522 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2523 prototypes to use long int rather than double.
2524 (BSD Random): Fix initstate and setstate to use char *, not void *.
2525 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2526 prototype to make second argument 'struct aiocb64 *const[]'.
2527 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2528 (Status of AIO Operations): Remove erroneous const in aio_return and
2529 aio_return64 prototypes.
2530 (Synchronizing I/O): Fix sync prototype to return void.
2531 * manual/startup.texi (Suboptions): Remove an erroneous const in
2532 getsubopt prototype.
2533 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2534 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2535 use size_t rather than int.
2536 (Scanning All Users): Likewise for getpwent_r.
2537 (Setting Groups): Add missing const to setgroups prototype.
2538 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2539 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2540 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2541 'const void *' rather than 'const char *'.
2542 (Host Address Functions): Likewise for inet_ntop.
2543 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2544 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2545 ssize_t for return value.
2546 (Sending Data): Likewise for send, sendto, sendmsg.
2547 (Socket Option Functions): Add a missing const in setsockopt prototype.
2548 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2549 use wchar_t for the argument.
2550 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2551 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2553 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2554 double/float/long double for second argument.
2555 Fix return types of significand, significandf, significandl.
2556 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2557 argument in fchmod prototype.
2558 (File Owner): Use uid_t and gid_t in fchown prototype.
2559 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2560 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2561 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2562 use 'const struct dirent **' as argument types to CMP function pointer
2564 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2565 (File Times): Fix summary magic @comment for struct utimbuf and utime
2566 to refer to utime.h, not time.h.
2567 * manual/string.texi (Argz Functions): Add missing const in
2568 argz_extract and argz_next prototypes.
2569 (Finding Tokens in a String): Likewise for basename.
2570 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2571 (Copying and Concatenation): Fix typo in wmemmove prototype.
2572 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2573 (Signal Stack): Remove erroneous const in sigstack prototype.
2574 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2576 (Simple Calendar Time): Likewise for stime.
2577 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2579 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2580 say sys/sysctl.h instead.
2581 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2582 and vsyslog prototypes.
2584 2013-02-11 Tom de Vries <tom@codesourcery.com>
2586 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2589 2013-02-11 Roland McGrath <roland@hack.frob.com>
2591 * misc/sys/mman.h: Fix typo in mremap comment.
2593 2013-02-08 Roland McGrath <roland@hack.frob.com>
2595 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2596 the '\0' terminator.
2598 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2601 * debug/segfault.c: Don't include <bp-checks.h>.
2602 * sysdeps/generic/bp-checks.h: Remove file.
2603 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2604 (__GETDENTS): Don't use CHECK_N.
2605 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2606 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2607 (__getgroups): Don't use CHECK_N.
2608 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2609 (setgroups): Don't use CHECK_N.
2610 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2611 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2612 (__libc_msgrcv): Don't use CHECK_N.
2613 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2614 (__libc_msgsnd): Don't use CHECK_N.
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2617 (__libc_pread): Don't use CHECK_N.
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2619 include <bp-checks.h>.
2620 (__libc_pread64): Don't use CHECK_N.
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2622 include <bp-checks.h>.
2623 (__libc_pwrite): Don't use CHECK_N.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2625 include <bp-checks.h>.
2626 (__libc_pwrite64): Don't use CHECK_N.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2629 (__libc_pread): Don't use CHECK_N.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2631 include <bp-checks.h>.
2632 (__libc_pread64): Don't use CHECK_N.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2634 include <bp-checks.h>.
2635 (__libc_pwrite): Don't use CHECK_N.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2637 include <bp-checks.h>.
2638 (__libc_pwrite64): Don't use CHECK_N.
2639 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2640 (do_pread): Don't use CHECK_N.
2641 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2642 (do_pread64): Don't use CHECK_N.
2643 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2644 (do_pwrite): Don't use CHECK_N.
2645 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2646 (do_pwrite64): Don't use CHECK_N.
2647 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2648 (__libc_readv): Don't use CHECK_N.
2649 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2650 (semop): Don't use CHECK_N.
2651 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2653 (semtimedop): Don't use CHECK_N.
2654 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2655 (__libc_pread): Don't use CHECK_N.
2656 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2658 (__libc_pread64): Don't use CHECK_N.
2659 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2661 (__libc_pwrite): Don't use CHECK_N.
2662 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2664 (__libc_pwrite64): Don't use CHECK_N.
2665 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2667 (__libc_msgrcv): Don't use CHECK_N.
2668 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2669 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2670 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2671 (__libc_writev): Don't use CHECK_N.
2673 2013-02-08 Roland McGrath <roland@hack.frob.com>
2675 * string/strcpy.c: Removed unused variable.
2677 * Makeconfig (+sysdep-includes): Define with := rather than =.
2678 Use an existing include/ subdir of each sysdeps dir before it.
2680 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2682 * nscd/connection.c (register_traced_file): Comment function.
2683 [HAVE_INOTIFY] (union __inev): Define.
2684 [HAVE_INOTIFY] (inotify_check_files): New function.
2685 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2686 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2688 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2690 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2692 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2693 loaded if not already and that a failure is permanent.
2695 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2698 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2699 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2701 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2704 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2705 (CHECK_1_NULL_OK): Likewise.
2706 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2707 (__fxstat): Do not use CHECK_1.
2708 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2710 (___fxstat64): Do not use CHECK_1.
2711 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2713 (__fxstatat): Do not use CHECK_1.
2714 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2716 (__fxstatat64): Do not use CHECK_1.
2717 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2719 (__fxstat): Do not use CHECK_1.
2720 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2722 (__fxstatat): Do not use CHECK_1.
2723 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2725 (__getresgid): Do not use CHECK_1.
2726 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2728 (__getresuid): Do not use CHECK_1.
2729 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2731 (__lxstat): Do not use CHECK_1.
2732 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2734 (__old_msgctl): Do not use CHECK_1.
2735 (__new_msgctl): Likewise.
2736 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2738 (__new_setrlimit): Do not use CHECK_1.
2739 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2741 (__old_shmctl): Do not use CHECK_1.
2742 (__new_shmctl): Likewise.
2743 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2745 (__xstat): Do not use CHECK_1.
2746 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2747 (__lxstat): Do not use CHECK_1.
2748 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2750 (___lxstat64): Do not use CHECK_1.
2751 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2752 (__old_msgctl): Do not use CHECK_1.
2753 (__new_msgctl): Likewise.
2754 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2756 (__gettimeofday): Do not use CHECK_1.
2757 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2758 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2759 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2761 (__gettimeofday): Do not use CHECK_1.
2762 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2763 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2764 (__new_shmctl): Do not use CHECK_1.
2765 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2767 (do_sigtimedwait): Do not use CHECK_1.
2768 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2770 (do_sigwaitinfo): Do not use CHECK_1.
2771 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2773 (msgctl): Do not use CHECK_1.
2774 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2776 (shmctl): Do not use CHECK_1.
2777 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2778 (ustat): Do not use CHECK_1.
2779 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2781 (__fxstat): Do not use CHECK_1.
2782 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2784 (__fxstatat): Do not use CHECK_1.
2785 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2787 (__lxstat): Do not use CHECK_1.
2788 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2790 (__xstat): Do not use CHECK_1.
2791 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2792 (__xstat): Do not use CHECK_1.
2793 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2794 (___xstat64): Do not use CHECK_1.
2797 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2799 (CHECK_BOUNDS_HIGH): Likewise.
2800 * string/strcpy.c: Do not include <bp-checks.h>.
2801 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2803 2013-02-07 Roland McGrath <roland@hack.frob.com>
2805 * nscd/nscd-client.h (__nscd_drop_map_ref):
2806 Add __attribute__ ((unused)).
2807 * nis/nss-nisplus.h (niserr2nss): Likewise.
2809 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2810 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2812 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2813 Remove inline keyword.
2814 * include/rounding-mode.h (round_away): Likewise.
2815 * libio/wfileops.c (adjust_wide_data): Likewise.
2816 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2817 (__m128i_strloadu_tolower): Likewise.
2818 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2819 (__m128i_strloadu_tolower): Likewise.
2820 * time/mktime.c (ydhms_diff): Likewise.
2821 * locale/elem-hash.h (elem_hash): Likewise.
2822 * locale/setlocale.c (setdata): Likewise.
2823 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2824 (re_string_wchar_at): Likewise.
2825 (bitset_not, bitset_merge, bitset_mask): Likewise.
2826 [!(__GNUC__ > 3)] (inline): Remove macro.
2827 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2828 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2829 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2830 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2831 * string/memcmp.c (memcmp_bytes): Likewise.
2832 * locale/programs/locarchive.c (compute_hashval): Likewise.
2833 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2834 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2835 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2836 * nss/getent.c (print_rpc, print_protocols): Likewise.
2837 (print_passwd, print_group, print_aliases): Likewise.
2838 * nis/nss-nisplus.h (niserr2nss): Likewise.
2839 * nscd/connections.c (restart_p): Likewise.
2840 Change return type to bool.
2842 2013-02-05 Roland McGrath <roland@hack.frob.com>
2844 * Makeconfig (all-Depend-files): Add existing
2845 $(sorted-subdirs:=/Depend) files.
2846 (all-subdirs): Remove nss.
2847 * sysdeps/unix/inet/Subdirs: Add it here instead.
2848 * hesiod/Depend: New file.
2850 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2851 instead of calling alloca.
2853 * io/lseek.c (__lseek): Rename to __libc_lseek.
2854 Define __lseek as an alias.
2856 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2858 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2860 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2861 else clause and remove check for non-standard endianness.
2863 2013-02-04 David S. Miller <davem@davemloft.net>
2865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2867 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2870 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2871 (__ubp_memchr): Remove prototype.
2872 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2873 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2874 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2875 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2876 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2878 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2879 (__ubp_memchr): Likewise.
2880 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2881 (__ubp_memchr): Likewise.
2882 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2883 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2884 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2885 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2887 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2888 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2889 (__getcwd): Do not use CHECK_STRING.
2890 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2892 (__real_chown): Do not use CHECK_STRING.
2893 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2895 (fchownat): Do not use CHECK_STRING.
2896 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2898 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2900 (__lchown): Do not use CHECK_STRING.
2901 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2902 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2903 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2904 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2906 include <bp-checks.h>.
2907 (truncate64): Do not use CHECK_STRING.
2908 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2910 (__real_chown): Do not use CHECK_STRING.
2911 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2913 (__lchown): Do not use CHECK_STRING.
2914 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2916 (__chown): Do not use CHECK_STRING.
2917 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2919 (truncate64): Do not use CHECK_STRING.
2920 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2922 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2923 (__xmknod): Do not use CHECK_STRING.
2924 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2926 (__xmknodat): Do not use CHECK_STRING.
2927 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2928 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2930 2013-02-04 Andreas Schwab <schwab@suse.de>
2933 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2934 * include/netdb.h: Likewise for h_errno.
2935 * elf/tst-stackguard1.c: Include <tls.h>.
2937 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2939 * elf/link.h (struct link_map): Extend the l_addr comment.
2940 * include/link.h (struct link_map): Likewise.
2942 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2945 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2946 (BOUNDED_1): Remove macro.
2947 * debug/backtrace.c: Don't include <bp-checks.h>.
2948 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2949 (__backtrace): Likewise.
2950 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2952 (__backtrace): Don't use BOUNDED_1.
2953 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2955 (__backtrace): Don't use BOUNDED_1.
2956 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2957 (__backtrace): Don't use BOUNDED_1.
2958 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2959 (shmat): Don't use BOUNDED_N.
2961 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2964 * sysdeps/generic/bp-start.h: Remove file.
2965 * csu/libc-start.c: Don't include <bp-start.h>.
2966 (LIBC_START_MAIN): Set up __environ directly instead of using
2967 INIT_ARGV_and_ENVIRON.
2968 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2972 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2974 (CHECK_FCNTL): Likewise.
2975 (CHECK_N_PAGES): Likewise.
2978 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2980 (CHECK_SIGSET_NULL_OK): Likewise.
2981 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2983 (sigpending): Don't use CHECK_SIGSET.
2984 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2986 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2987 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2989 (do_sigsuspend): Don't use CHECK_SIGSET.
2990 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2992 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2993 (do_sigwait): Don't use CHECK_SIGSET.
2994 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2996 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2997 include <bp-checks.h>.
2998 (sigpending): Don't use CHECK_SIGSET.
2999 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3000 include <bp-checks.h>.
3001 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3002 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3004 (sigpending): Don't use CHECK_SIGSET.
3005 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3007 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3010 * sysdeps/generic/bp-semctl.h: Remove file.
3011 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3012 <bp-checks.h> and <bp-semctl.h>.
3013 (__old_semctl): Don't use CHECK_SEMCTL.
3014 (__new_semctl): Likewise.
3015 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3017 (__old_semctl): Don't use CHECK_SEMCTL.
3018 (__new_semctl): Likewise.
3019 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3020 <bp-checks.h> and <bp-semctl.h>.
3021 (__old_semctl): Don't use CHECK_SEMCTL.
3022 (__new_semctl): Likewise.
3023 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3024 <bp-checks.h> and <bp-semctl.h>.
3025 (semctl): Don't use CHECK_SEMCTL.
3028 * Makerules (elide-bp-thunks): Remove variable.
3029 (elide-routines.oS): Don't use $(elide-bp-thunks).
3030 (elide-routines.os): Likewise.
3031 (elide-routines.o): Likewise.
3032 (elide-routines.op): Likewise.
3033 (elide-routines.og): Likewise.
3034 (objects): Don't use $(bp-thunks).
3035 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3037 (common-generated): Do not add s-proto-bp.d.
3038 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3041 Do not generate makefile rules for bounded-pointer thunks.
3042 * sysdeps/generic/bp-thunks.h: Remove file.
3043 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3044 * sysdeps/unix/s-proto-bp.S: Likewise.
3047 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3048 parts of result separately when argument is not close to line from
3049 -i to i and one part of argument is small.
3050 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3051 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3052 * math/libm-test.inc (cacos_test): Add more tests.
3053 (casin_test): Likewise.
3054 (casinh_test): Likewise.
3055 * sysdeps/i386/fpu/libm-test-ulps: Update.
3056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3058 2013-01-31 David S. Miller <davem@davemloft.net>
3060 * po/de.po: Update from translation team.
3062 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3064 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3066 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3068 * configure.in (_AC_PROG_CC_C89): New definition.
3069 * configure: Regenerate.
3071 * configure.in (AC_PROG_CPP): New definition.
3072 * configure: Regenerate.
3074 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3076 * debug/tst-backtrace.h: New file.
3077 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3078 (ret): Remove variable.
3080 (FAIL): Remove macro.
3081 (NO_INLINE): Likewise.
3082 (fn1): Use match function instead of strstr.
3083 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3084 (ret): Remove variable.
3086 (FAIL): Remove macro.
3087 (NO_INLINE): Likewise.
3088 (fn): Use match function instead of strstr.
3089 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3090 (ret): Remove variable.
3092 (FAIL): Remove macro.
3093 (NO_INLINE): Likewise.
3094 (handle_signal): Use match function instead of strstr.
3095 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3096 (ret): Remove variable.
3098 (FAIL): Remove macro.
3099 (NO_INLINE): Likewise.
3100 (handle_signal): Use match function instead of strstr.
3102 2013-01-23 Roland McGrath <roland@hack.frob.com>
3104 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3106 2013-01-23 David S. Miller <davem@davemloft.net>
3108 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3109 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3110 argument of CAS if possible.
3111 * sysdeps/sparc/sparc64/bits/atomic.h
3112 (__arch_compare_and_exchange_val_32_acq): Likewise.
3113 (__arch_compare_and_exchange_val_64_acq): Likewise.
3115 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3117 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3118 * sysdeps/posix/ulimit.c: ... this.
3120 * sysdeps/unix/bsd/ulimit.c: Remove file.
3122 2013-01-23 Adam Conrad <adconrad@0c3.net>
3124 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3125 (LDFLAGS-tst-array5): Likewise.
3127 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3130 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3131 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3132 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3133 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3135 2013-01-21 David S. Miller <davem@davemloft.net>
3137 * sysdeps/sparc/backtrace.c: New file.
3138 * sysdeps/sparc/sparc32/backtrace.h: New file.
3139 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3140 * sysdeps/sparc/sparc64/backtrace.h: New file.
3141 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3142 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3145 2013-01-21 Andreas Schwab <schwab@suse.de>
3148 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3151 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3157 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3158 Mark Mitchell <mark@codesourcery.com>
3159 Tom de Vries <tom@codesourcery.com>
3160 Paul Pluzhnikov <ppluzhnikov@google.com>
3162 * debug/tst-backtrace2.c: New file.
3163 * debug/tst-backtrace3.c: Likewise.
3164 * debug/tst-backtrace4.c: Likewise.
3165 * debug/tst-backtrace5.c: Likewise.
3166 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3167 (CFLAGS-tst-backtrace3.c): Likewise.
3168 (CFLAGS-tst-backtrace4.c): Likewise.
3169 (CFLAGS-tst-backtrace5.c): Likewise.
3170 (LDFLAGS-tst-backtrace2): Likewise.
3171 (LDFLAGS-tst-backtrace3): Likewise.
3172 (LDFLAGS-tst-backtrace4): Likewise.
3173 (LDFLAGS-tst-backtrace5): Likewise.
3174 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3175 tst-backtrace4 and tst-backtrace5.
3177 2013-01-18 Anton Blanchard <anton@samba.org>
3178 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3180 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3181 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3182 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3183 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3185 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3186 "+r" and remove output regs list as redundant. Add explicit inline
3187 asm to specify register of return val to work around compiler codegen
3188 bug. Remove (int) cast on return value. Add return type parameter to
3189 use in macro so that this macro does not truncate return value for
3191 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3192 pass to INTERNAL_VSYSCALL_NCS.
3193 (INLINE_VSYSCALL): Add 'long int' as return type to
3194 INTERNAL_VSYSCALL_NCS macro invocation.
3195 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3196 INTERNAL_VSYSCALL_NCS macro invocation.
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3199 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3202 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3203 Fix application of SIMD FP exception mask.
3205 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3206 mp_no from a power of two.
3207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3208 __mpexp_twomm1. Use __pow_mp.
3210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3213 2013-01-17 David S. Miller <davem@davemloft.net>
3215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3217 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3220 * include/complex.h: Condition contents on [!_COMPLEX_H].
3221 (__kernel_casinhf): New prototype.
3222 (__kernel_casinh): Likewise.
3223 (__kernel_casinhl): Likewise.
3224 * math/Makefile (libm_calls): Add k_casinh.
3225 * math/k_casinh.c: New file.
3226 * math/k_casinhf.c: Likewise.
3227 * math/k_casinhl.c: Likewise.
3228 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3229 finite nonzero arguments.
3230 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3231 finite nonzero arguments.
3232 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3233 finite nonzero arguments.
3234 * math/s_casinh.c: Do not include <float.h>.
3235 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3236 * math/s_casinhf.c: Do not include <float.h>.
3237 (__casinhf): Move code for finite nonzero arguments to
3239 * math/s_casinhl.c: Do not include <float.h>.
3240 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3242 (__casinhl): Move code for finite nonzero arguments to
3244 * math/libm-test.inc (cacos_test): Add more tests.
3245 * sysdeps/i386/fpu/libm-test-ulps: Update.
3246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3248 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3250 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3251 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3252 [!HAVE_MREMAP]: Remove [defined linux] case.
3253 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3255 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3257 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3259 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3261 * elf/elf.h (R_386_SIZE32): New relocation.
3262 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3264 (elf_machine_rela): Likewise.
3265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3266 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3268 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3270 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3271 (FP_FAST_FMA): Do not define.
3272 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3273 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3274 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3275 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3276 !_SOFT_FLOAT]: Likewise.
3277 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3278 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3280 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3281 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3282 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3283 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3284 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3285 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3288 2013-01-16 Andreas Schwab <schwab@suse.de>
3291 * include/stdlib.h (__mktemp): Add declaration.
3292 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3293 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3295 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3297 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3299 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3300 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3301 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3303 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3304 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3306 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3308 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3309 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3310 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3312 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3313 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3315 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3317 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3319 2013-01-15 David S. Miller <davem@davemloft.net>
3321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3322 trunc{,f} to libm-sysdep_routes.
3323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3333 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3334 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3335 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3336 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3337 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3338 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3341 nearbyint{,f} to libm-sysdep_routes.
3342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3353 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3355 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3356 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3358 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3359 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3360 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3362 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3363 libc_feholdexcept and libc_fesetenv.
3365 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3367 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3369 2013-01-14 David S. Miller <davem@davemloft.net>
3371 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3372 (SPARC_ASM_VIS2_IFUNC): Likewise.
3373 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3375 use of 'siam' instruction.
3376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3409 routines to libm-sysdep_routines.
3410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3413 fdim/fdimf to libm-sysdep_routines.
3414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3422 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3423 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3424 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3425 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3427 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3429 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3432 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3437 local variable MPTWO.
3438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3441 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3443 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3446 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3448 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3450 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3452 * manual/pattern.texi (glob_t): Document gl_flags.
3453 (glob64_t): Likewise.
3455 2013-01-11 David S. Miller <davem@davemloft.net>
3457 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3458 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3459 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3460 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3461 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3462 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3463 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3464 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3465 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3466 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3467 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3468 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3469 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3471 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3472 sparc V9 rather than using V8 code.
3473 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3474 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3476 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3478 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3481 2013-01-11 Roland McGrath <roland@hack.frob.com>
3483 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3484 not in the main loop.
3485 * configure: Regenerated.
3487 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3489 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3490 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3492 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3493 [!__GLIBC_HAVE_LONG_LONG] case.
3494 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3495 condition to just #else.
3496 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3497 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3498 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3499 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3501 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3502 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3503 #elif condition to just #else.
3504 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3505 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3506 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3507 #elif condition to just #else.
3509 2013-01-11 Steve Ellcey <sellcey@mips.com>
3511 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3512 (EF_MIPS_ARCH_64): Fix value.
3513 (EF_MIPS_ARCH_32R2): New.
3514 (EF_MIPS_ARCH_64R2): New.
3516 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3518 * Makeconfig (+link-pie-before-libc): New.
3519 (+link-pie-after-libc): Likewise.
3520 (+link-pie-tests): Likewise.
3521 (+link-pie): Rewritten.
3522 (link-before-libc): Remove $(config-LDFLAGS).
3523 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3524 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3525 (config-LDFLAGS): Renamed to ...
3526 (rtld-LDFLAGS): This.
3527 (rtld-tests-LDFLAGS): New macro.
3528 (link-libc-rpath-link): Likewise.
3529 (link-libc-tests-rpath-link): Likewise.
3530 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3531 (link-libc): Prepand $(link-libc-rpath-link).
3532 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3533 (test-program-prefix): New macro.
3534 (test-via-rtld-prefix): Likewise.
3535 (test-program-cmd): Likewise.
3536 (host-test-program-cmd): Likewise.
3537 * Makefile ($(common-objpfx)testrun.sh): Replace
3538 $(run-program-prefix) with $(test-program-prefix).
3539 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3541 ($(common-objpfx)shlib.lds): Likewise.
3542 (build-module-helper): Likewise.
3543 ($(common-objpfx)format.lds): Likewise.
3544 * Rules (binaries-pie-tests): New.
3545 (binaries-pie-notests): Likewise.
3546 (binaries-pie): Rewritten.
3547 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3548 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3549 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3550 (make-test-out): Replace $(host-built-program-cmd) with
3551 $(host-test-program-cmd).
3552 * config.make.in (build-hardcoded-path-in-tests): New variable.
3553 * configure.in (--enable-hardcoded-path-in-tests): New configure
3555 (hardcoded_path_in_tests): New AC_SUBST.
3556 * configure: Regenerated.
3557 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3558 $(built-program-cmd) with $(test-program-cmd).
3559 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3560 (test_program_cmd): This.
3561 * elf/Makefile ($(objpfx)order.out): Run test with
3562 $(test-program-prefix).
3563 ($(objpfx)order2.out): Likewise.
3564 ($(objpfx)tst-initorder.out): Likewise.
3565 ($(objpfx)tst-initorder2.out): Likewise.
3566 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3567 $(test-program-cmd).
3568 ($(objpfx)tst-array1-static.out): Likewise.
3569 ($(objpfx)tst-array2.out): Likewise.
3570 ($(objpfx)tst-array3.out): Likewise.
3571 ($(objpfx)tst-array4.out): Likewise.
3572 ($(objpfx)tst-array5.out): Likewise.
3573 ($(objpfx)tst-array5-static.out): Likewise.
3574 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3575 $(test-program-cmd).
3576 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3577 $(run-program-prefix) with $(test-program-prefix).
3578 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3579 (test_program_prefix): This.
3580 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3581 $(run-program-prefix) with $(test-program-prefix).
3582 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3583 (test_program_prefix): This.
3584 * iconvdata/tst-tables.sh: Likewise.
3585 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3586 $(run-program-prefix) with $(test-program-prefix).
3587 ($(objpfx)tst-translit.out): Likewise.
3588 ($(objpfx)tst-gettext2.out): Likewise.
3589 ($(objpfx)tst-gettext4.out): Likewise.
3590 ($(objpfx)tst-gettext6.out): Likewise.
3591 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3592 (test_program_prefix): This.
3593 * intl/tst-gettext2.sh: Likewise.
3594 * intl/tst-gettext4.sh Likewise.
3595 * intl/tst-gettext6.sh: Likewise.
3596 * intl/tst-translit.sh: Likewise.
3597 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3598 with $(test-program-cmd).
3599 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3600 $(run-program-prefix) with $(test-program-prefix).
3601 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3602 (test_program_prefix): This.
3603 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3604 $(run-program-prefix) with $(test-program-prefix).
3605 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3606 (test_program_prefix): This.
3607 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3608 * posix/Makefile ($(objpfx)globtest.out): Replace
3609 $(run-via-rtld-prefix) and $(test-wrapper) with
3610 $(test-program-prefix) and $(test-via-rtld-prefix).
3611 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3612 $(test-program-prefix).
3613 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3614 $(host-test-program-cmd).
3615 (tst-spawn-ARGS): Likewise.
3616 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3617 $(test-program-prefix).
3618 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3619 (test_via_rtld_prefix): This.
3620 (test_wrapper): Renamed to ...
3621 (test_program_prefix): This.
3622 (run_program_prefix): Replaced by test_program_prefix.
3623 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3624 (test_program_prefix): This.
3625 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3626 with $(host-test-program-cmd).
3627 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3628 $(run-program-prefix) with $(test-program-prefix).
3629 ($(objpfx)tst-printf.out): Likewise.
3630 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3631 $(test-program-cmd).
3632 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3633 (test_program_prefix): This.
3634 * stdio-common/tst-unbputc.sh: Likewise.
3635 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3636 $(run-program-prefix) with $(test-program-prefix).
3637 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3638 (test_program_prefix): This.
3639 * string/Makefile ($(objpfx)tst-svc.out): Replace
3640 $(built-program-cmd) with $(test-program-cmd).
3642 2013-01-11 Andreas Jaeger <aj@suse.de>
3645 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3646 value. Sync with Linux 3.7.
3648 2013-01-10 David S. Miller <davem@davemloft.net>
3650 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3651 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3652 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3654 2013-01-10 Roland McGrath <roland@hack.frob.com>
3656 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3658 * configure: Regenerated.
3660 2013-01-10 David S. Miller <davem@davemloft.net>
3662 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3663 sparc V9 rather than using V8 code.
3664 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3665 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3667 2013-01-10 Roland McGrath <roland@hack.frob.com>
3669 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3670 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3671 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3672 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3673 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3674 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3675 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3676 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3677 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3678 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3679 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3680 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3681 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3682 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3683 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3684 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3685 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3686 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3687 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3688 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3689 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3690 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3691 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3692 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3693 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3694 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3695 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3697 2013-01-10 David S. Miller <davem@davemloft.net>
3699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3701 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3703 * posix/Makefile (tests-static): New variable.
3704 (tests): Add $(tests-static).
3705 (tst-exec-static-ARGS): New variable.
3706 (tst-spawn-static-ARGS): Likewise.
3707 * posix/tst-exec-static.c: New file.
3708 * posix/tst-spawn-static.c: Likewise.
3709 * posix/tst-exec.c: Support run directly.
3710 * posix/tst-spawn.c: Likewise.
3712 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3714 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3716 * math/bits/mathcalls.h (llrint): Likewise.
3717 (llround): Likewise.
3718 * stdlib/stdlib.h (struct drand48_data): Likewise.
3719 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3720 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3721 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3723 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3725 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3726 (elf_greg_t): Likewise.
3727 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3728 (__jmp_buf): Likewise.
3729 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3731 (llrint): Likewise, for all definitions.
3732 (llrintl): Likewise.
3734 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3735 Remove [__GNUC__] condition.
3736 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3737 condition to just [__USE_ISOC99].
3738 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3740 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3743 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3744 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3746 (_POSIX_V6_ILP32_OFF32): Likewise.
3747 (_XBS5_ILP32_OFF32): Likewise.
3748 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3749 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3751 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3753 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3756 doubles __mpexp_twomm1. Adjust usage.
3757 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3760 2013-01-10 Andreas Schwab <schwab@suse.de>
3763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3764 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3766 2013-01-09 David S. Miller <davem@davemloft.net>
3769 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3770 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3771 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3772 TCP_FASTOPEN): Define.
3773 (tcp_repair_opt): New structure.
3774 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3776 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3777 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3778 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3779 (tcp_cookie_transactions): New structure.
3781 2013-01-09 Anton Blanchard <anton@samba.org>
3783 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3784 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3785 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3786 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3788 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3790 * include/features.h (__USE_ANSI): Remove.
3792 2013-01-09 Roland McGrath <roland@hack.frob.com>
3794 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3796 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3798 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3800 * sysdeps/s390/fpu/libm-test-ulps: Update.
3802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3804 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3809 (__mp_dbl): Likewise.
3810 (__dbl_mp): Likewise.
3811 (add_magnitudes): Likewise.
3812 (sub_magnitudes): Likewise.
3818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3823 (__mp_dbl): Likewise.
3824 (__dbl_mp): Likewise.
3825 (add_magnitudes): Likewise.
3826 (sub_magnitudes): Likewise.
3832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3837 (__mp_dbl): Likewise.
3838 (__dbl_mp): Likewise.
3839 (add_magnitudes): Likewise.
3840 (sub_magnitudes): Likewise.
3847 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3849 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3850 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3851 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3852 2 && __USE_EXTERN_INLINES]: Likewise.
3854 2013-01-08 Andreas Jaeger <aj@suse.de>
3857 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3859 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3860 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3862 2013-01-07 Anton Blanchard <anton@samba.org>
3864 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3865 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3866 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3867 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3868 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3869 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3870 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3871 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3873 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3874 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3875 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3876 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3877 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3878 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3879 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3880 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3881 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3882 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3883 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3884 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3885 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3887 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3888 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3889 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3890 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3891 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3893 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3894 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3896 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3897 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3898 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3899 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3900 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3901 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3902 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3903 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3904 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3905 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3906 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3908 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3910 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3911 (__MALLOC_PMT): Likewise.
3912 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3913 [__GNUC__], only on [_LIBC].
3914 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3915 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3916 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3917 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3918 forward declaration.
3919 (realloc_hook_ini): Likewise.
3920 (memalign_hook_ini): Likewise.
3921 (__libc_memalign): Do not use __MALLOC_PMT in variable
3923 (__libc_valloc): Likewise.
3924 (__libc_pvalloc): Likewise.
3925 (__libc_calloc): Likewise.
3926 (__posix_memalign): Likewise.
3929 * math/s_casinh.c: Include <float.h>.
3930 (__casinh): Do not do computation with squaring and square root
3931 for large arguments.
3932 * math/s_casinhf.c: Include <float.h>.
3933 (__casinhf): Do not do computation with squaring and square root
3934 for large arguments.
3935 * math/s_casinhl.c: Include <float.h>.
3936 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3937 (__casinhl): Do not do computation with squaring and square root
3938 for large arguments.
3939 * math/libm-test.inc (casin_test): Add more tests.
3940 (casinh_test): Likewise.
3941 * sysdeps/i386/fpu/libm-test-ulps: Update.
3942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3944 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3946 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3947 (__x86_64_raw_data_cache_size): Likewise.
3948 (__x86_64_data_cache_size_half): Likewise.
3949 (__x86_64_raw_data_cache_size_half): Likewise.
3950 (__x86_64_shared_cache_size): Likewise.
3951 (__x86_64_raw_shared_cache_size): Likewise.
3952 (__x86_64_shared_cache_size_half): Likewise.
3953 (__x86_64_raw_shared_cache_size_half): Likewise.
3954 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3956 (__x86_data_cache_size): This.
3957 (__x86_64_raw_data_cache_size): Renamed to ...
3958 (__x86_raw_data_cache_size): This.
3959 (__x86_64_data_cache_size_half): Renamed to ...
3960 (__x86_data_cache_size_half): This.
3961 (__x86_64_raw_data_cache_size_half): Renamed to ...
3962 (__x86_raw_data_cache_size_half): This.
3963 (__x86_64_shared_cache_size): Renamed to ...
3964 (__x86_shared_cache_size): This.
3965 (__x86_64_raw_shared_cache_size): Renamed to ...
3966 (__x86_raw_shared_cache_size): This.
3967 (__x86_64_shared_cache_size_half): Renamed to ...
3968 (__x86_shared_cache_size_half): This.
3969 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3970 (__x86_raw_shared_cache_size_half): This.
3971 * sysdeps/x86_64/memcpy.S: Updated.
3972 * sysdeps/x86_64/memset.S: Likewise.
3973 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3974 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3975 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3977 2013-01-04 David S. Miller <davem@davemloft.net>
3979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3981 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3983 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3984 1 to avoid redefinition warning.
3985 (__USE_GNU): Don't define.
3986 (init_signaling_nan): Protoize.
3988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3990 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3992 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3994 (__cpymn): Likewise.
3995 (norm): Remove commented code.
3997 (__mp_dbl): Likewise.
3999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4000 (__cpymn): Likewise.
4001 (norm): Remove commented code.
4003 (__mp_dbl): Likewise.
4006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4007 mp_no value for 1.0 and 2.0.
4008 (norm): Use RADIXI instead of radixi.d.
4010 (__mul): Use 0.0 instead of zero.d.
4011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4012 mp_no value for 1.0 and 2.0.
4013 (norm): Use RADIXI instead of radixi.d.
4015 (__mul): Use 0.0 instead of zero.d.
4017 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4020 * math/s_casinh.c (__casinh): Reduce finite argument to first
4021 quadrant then set signs of results at the end.
4022 * math/s_casinhf.c (__casinhf): Likewise.
4023 * math/s_casinhl.c (__casinhl): Likewise.
4024 * math/libm-test.inc (casin_test): Add more tests.
4025 (casinh_test): Likewise.
4026 * sysdeps/i386/fpu/libm-test-ulps: Update.
4027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4029 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4031 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4033 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4035 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4038 (__mp_dbl): Likewise.
4041 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4042 and adjust the header comment.
4044 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4045 variable name from declaration.
4047 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4050 Initialize COMMON_CPUID_INDEX_7 element.
4051 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4052 (CPUID_RTM): Likewise.
4053 (HAS_RTM): Likewise.
4054 (COMMON_CPUID_INDEX_7): New enum.
4056 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4059 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4060 size is zero, record memory as freed.
4062 2013-01-03 Andreas Jaeger <aj@suse.de>
4064 * po/ia.po: Add new Interlingua translation.
4066 2012-01-03 Allan McRae <allan@archlinux.org>
4068 * locale/programs/localedef.c: Fix description of '--posix' flag.
4070 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4072 * NEWS: Update dates in second copyright notice.
4073 * README: Update copyright dates in example.
4074 * manual/libc.texinfo: Update copyright dates.
4075 * scripts/test-installation.pl: Update copyright date in --version
4078 * hurd/ctty-input.c: Fix copyright notice formatting.
4079 * hurd/ctty-output.c: Likewise.
4080 * hurd/dtable.c: Likewise.
4081 * hurd/hurd-raise.c: Likewise.
4082 * hurd/hurdprio.c: Likewise.
4083 * hurd/msgportdemux.c: Likewise.
4084 * misc/sys/file.h: Likewise.
4085 * misc/sys/ioctl.h: Likewise.
4086 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4087 * sysdeps/mach/hurd/chdir.c: Likewise.
4088 * sysdeps/mach/hurd/fchdir.c: Likewise.
4089 * sysdeps/mach/hurd/rename.c: Likewise.
4090 * sysdeps/mach/hurd/rmdir.c: Likewise.
4091 * sysdeps/mach/hurd/seekdir.c: Likewise.
4092 * sysdeps/mach/hurd/setsid.c: Likewise.
4093 * sysdeps/posix/wait3.c: Likewise.
4095 * All files with FSF copyright notices: Update copyright dates
4096 using scripts/update-copyrights.
4097 * intl/plural.c: Regenerated.
4098 * locale/programs/charmap-kw.h: Likewise.
4099 * locale/programs/locfile-kw.h: Likewise.
4101 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4103 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4106 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4107 calculation loop and add branch prediction.
4109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4110 check access beyond bounds of m1np.
4112 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4114 (__inv): Remove local variable MPTWO to use the global
4116 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4119 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4120 MP3HALFS static const.
4122 2013-01-01 David S. Miller <davem@davemloft.net>
4124 * po/ca.po: Update from translation team.
4126 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4128 * scripts/update-copyrights: New file.
4129 * Makeconfig: Reformat copyright notice.
4130 * ctype/ctype.h: Likewise.
4131 * debug/swprintf_chk.c: Likewise.
4132 * elf/dl-cache.c: Likewise.
4133 * elf/dl-debug.c: Likewise.
4134 * elf/dl-object.c: Likewise.
4135 * grp/initgroups.c: Likewise.
4136 * hurd/Makefile: Likewise.
4137 * hurd/hurd/signal.h: Likewise.
4138 * hurd/hurdfault.c: Likewise.
4139 * hurd/hurdioctl.c: Likewise.
4140 * hurd/hurdlookup.c: Likewise.
4141 * hurd/intr-msg.c: Likewise.
4142 * iconv/gconv_open.c: Likewise.
4143 * libio/swprintf.c: Likewise.
4144 * locale/lc-ctype.c: Likewise.
4145 * locale/nl_langinfo.c: Likewise.
4146 * mach/Machrules: Likewise.
4147 * mach/Makefile: Likewise.
4148 * malloc/obstack.h: Likewise.
4149 * manual/Makefile: Likewise.
4150 * manual/tsort.awk: Likewise.
4151 * misc/bits/stab.def: Likewise.
4152 * nis/nis_print_group_entry.c: Likewise.
4153 * nis/nis_table.c: Likewise.
4154 * nis/nss_compat/compat-pwd.c: Likewise.
4155 * nis/nss_compat/compat-spwd.c: Likewise.
4156 * po/Makefile: Likewise.
4157 * posix/fnmatch.c: Likewise.
4158 * posix/regex.h: Likewise.
4159 * resolv/Makefile: Likewise.
4160 * resolv/nss_dns/dns-network.c: Likewise.
4161 * resolv/res_hconf.c: Likewise.
4162 * scripts/gen-sorted.awk: Likewise.
4163 * soft-fp/soft-fp.h: Likewise.
4164 * stdio-common/printf.h: Likewise.
4165 * stdlib/monetary.h: Likewise.
4166 * stdlib/random.c: Likewise.
4167 * stdlib/random_r.c: Likewise.
4168 * sysdeps/generic/Makefile: Likewise.
4169 * sysdeps/gnu/Makefile: Likewise.
4170 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4198 * sysdeps/mach/hurd/errnos.awk: Likewise.
4199 * sysdeps/mach/hurd/fork.c: Likewise.
4200 * sysdeps/mach/hurd/getcwd.c: Likewise.
4201 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4202 * sysdeps/mach/hurd/mmap.c: Likewise.
4203 * sysdeps/mach/hurd/utimes.c: Likewise.
4204 * sysdeps/mach/hurd/xmknod.c: Likewise.
4205 * sysdeps/posix/profil.c: Likewise.
4206 * sysdeps/posix/readdir_r.c: Likewise.
4207 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4208 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4209 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4210 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4212 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4213 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4214 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4216 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4217 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4218 * sysdeps/pthread/lio_listio.c: Likewise.
4219 * sysdeps/sparc/dl-procinfo.h: Likewise.
4220 * sysdeps/unix/i386/sysdep.S: Likewise.
4221 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4222 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4223 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4224 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4226 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4227 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4228 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4229 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4230 * sysdeps/wordsize-32/divdi3.c: Likewise.
4231 * time/sys/time.h: Likewise.
4232 * wcsmbs/Makefile: Likewise.
4234 2013-01-01 David S. Miller <davem@davemloft.net>
4236 * po/fr.po: Update from translation team.
4238 * catgets/gencat.c: Update copyright year.
4239 * csu/version.c: Likewise.
4240 * debug/catchsegv.sh: Likewise.
4241 * debug/pcprofiledump.c: Likewise.
4242 * debug/xtrace.sh: Likewise.
4243 * elf/ldconfig.c: Likewise.
4244 * elf/ldd.bash.in: Likewise.
4245 * elf/pldd.c: Likewise.
4246 * elf/sotruss.ksh: Likewise.
4247 * elf/sprof.c: Likewise.
4248 * iconv/iconv_prog.c: Likewise.
4249 * iconv/iconvconfig.c: Likewise.
4250 * locale/programs/locale.c: Likewise.
4251 * locale/programs/localedef.c: Likewise.
4252 * login/programs/pt_chown.c: Likewise.
4253 * malloc/memusage.sh: Likewise.
4254 * malloc/memusagestat.c: Likewise.
4255 * malloc/mtrace.pl: Likewise.
4256 * nscd/nscd.c: Likewise.
4257 * nss/getent.c: Likewise.
4258 * nss/makedb.c: Likewise.
4259 * posix/getconf.c: Likewise.
4261 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4263 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4266 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4268 * math/bits/mathcalls.h (modf): Use __nonnull.
4270 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4272 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4273 (split): Use macro CN instead of the bare value.
4274 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4277 instead of the bare value.
4280 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4282 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4284 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4286 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4288 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4289 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4290 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4291 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4293 2012-12-28 Andreas Jaeger <aj@suse.de>
4295 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4296 values are from Linux 3.7.
4298 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4299 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4301 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4303 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4306 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4308 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4309 variables with preprocessor constants.
4310 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4311 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4312 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4314 2012-12-27 Bruno Haible <bruno@clisp.org>
4317 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4320 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4323 and use variable directly.
4324 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4326 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4328 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4331 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4333 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4334 include directive. Remove local variable MPONE.
4335 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4336 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4337 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4339 2012-12-25 David S. Miller <davem@davemloft.net>
4341 * version.h (RELEASE): Set to "development".
4342 (VERSION): Set to "2.17.90".
4343 * NEWS: Add 2.18 section.
4345 2012-12-21 David S. Miller <davem@davemloft.net>
4347 * po/hr.po: Update from translation team.
4349 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4351 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4353 2012-12-19 Steve Ellcey <sellcey@mips.com>
4355 * NEWS: Mention new memcpy for MIPS.
4357 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4359 * manual/contrib.texi (Contributors): Spelling correction.
4361 2012-12-15 David S. Miller <davem@davemloft.net>
4363 * po/ru.po: Update from translation team.
4365 2012-12-13 David S. Miller <davem@davemloft.net>
4367 * NEWS: Mention IFUNC testsuite enhancements.
4369 * po/pl.po: Update from translation team.
4370 * po/bg.po: Likewise.
4372 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4373 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4375 2012-12-11 David S. Miller <davem@davemloft.net>
4377 * po/sv.po: Update from translation team.
4379 * po/vi.po: Update from translation team.
4381 * po/cs.po: Update from translation team.
4383 * po/de.po: Update from translation team.
4384 * po/eo.po: Likewise.
4385 * po/nl.po: Likewise.
4387 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4390 * manual/argp.texi (Argp Helper Functions): Move node to follow
4394 * manual/conf.texi (Limits on File System Capacity): Mention if
4395 terminating null is included in the max size.
4397 2012-12-10 Andreas Jaeger <aj@suse.de>
4399 * po/cs.po: Update from translation team.
4401 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4403 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4404 void pointer and cast to uintptr_t.
4405 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4407 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4408 * sysdeps/s390/s390-64/memset.S: Likewise.
4410 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4413 * menual/message.texi (Message Translation): Fix typos.
4414 (Helper programs for gettext): Likewise.
4416 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4419 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4422 2012-12-07 David S. Miller <davem@davemloft.net>
4424 * po/libc.pot: Update.
4426 2012-12-07 Richard Henderson <rth@redhat.com>
4429 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4430 normal/normal case to before the switch.
4431 (_FP_DIV): Likewise.
4433 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4434 Mike Frysinger <vapier@gentoo.org>
4436 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4437 check for __NR_fadvise64_64.
4439 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4441 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4442 0, not just to plain "0" as a statement.
4443 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4446 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4448 * NEWS: Use sourceware.org in Bugzilla URL.
4450 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4453 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4455 * stdio-common/tst-put-error.c (do_test): Add newline to the
4456 padded test to ensure flush.
4458 2012-12-05 Jeff Law <law@redhat.com>
4460 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4462 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4464 * README: Don't refer to ports add-on as distributed separately.
4465 Mention AArch64 in list of systems supported in the ports add-on.
4467 * LICENSES: Add more non-FSF copyright and license notices.
4469 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4472 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4474 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4475 10000 as width of padded output.
4477 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4479 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4481 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4482 variable LX with __attribute__ ((unused)).
4483 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4485 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4486 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4487 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4488 with __attribute__ ((unused)).
4490 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4492 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4494 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4496 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4497 (CFLAGS-nldbl-acos.c): New variable.
4498 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4499 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4500 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4501 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4502 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4503 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4504 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4505 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4506 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4507 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4508 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4509 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4510 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4511 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4512 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4513 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4514 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4515 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4516 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4517 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4518 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4519 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4520 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4521 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4522 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4523 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4524 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4525 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4526 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4527 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4528 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4529 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4530 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4531 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4532 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4533 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4534 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4535 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4536 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4537 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4538 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4539 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4540 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4541 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4597 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4600 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4601 whole low double instead of just low 47 bits when splitting values
4604 2012-12-03 Allan McRae <allan@archlinux.org>
4606 * manual/stdio.texi (Predefined Printf Handlers): Remove
4607 @hsep and @vsep usage.
4609 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4611 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4612 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4614 2012-12-03 Jeff Law <law@redhat.com>
4616 * time/sys/time.h (settimeofday): Do not mark TV argument
4619 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4621 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4622 when currently writing and seek to current position when not.
4623 * libio/Makefile (tests): Remove bug-fclose1.
4624 * libio/bug-fclose1.c: Delete.
4626 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4628 * manual/arith.texi (feenableexcept): Fix typo.
4629 (fedisableexcept): Likewise.
4631 2012-11-30 Roland McGrath <roland@hack.frob.com>
4633 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4634 second, differently-typed declaration, rather than a cast.
4636 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4638 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4639 * include/rpc/svc.h: ... here.
4641 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4644 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4645 depending n and resplen2 to catch cases where answer
4648 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4650 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4651 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4653 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4655 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4657 2012-11-29 Roland McGrath <roland@hack.frob.com>
4659 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4661 2012-11-28 Jeff Law <law@redhat.com>
4664 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4665 dataset_temporary. Track alloca usage into alloca_used.
4666 If dataset is large allocate and release it via malloc/free.
4668 2012-06-04 Florian Weimer <fweimer@redhat.com>
4671 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4673 2012-11-28 David S. Miller <davem@davemloft.net>
4675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4677 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4680 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4681 of pi/2 rounded to nearest to 64 bits.
4682 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4684 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4687 2012-11-28 Jeff Law <law@redhat.com>
4688 Martin Osvald <mosvald@redhat.com>
4691 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4692 * sunrpc/svc.c: Include time.h.
4693 (__svc_accept_failed): New function.
4694 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4695 any reason other than EINTR, call __svc_accept_failed.
4696 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4697 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4699 2012-11-28 Andreas Schwab <schwab@suse.de>
4701 * scripts/abilist.awk: Also handle indirect functions in .opd
4704 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4707 * sysdeps/x86/fpu/powl_helper.c: New file.
4708 * sysdeps/x86/fpu/Makefile: Likewise.
4709 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4711 (__ieee754_powl): Use __powl_helper for finite arguments except
4712 integer exponents below 8.
4713 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4715 (__ieee754_powl): Use __powl_helper for finite arguments except
4716 integer exponents below 8.
4717 * math/libm-test.inc (pow_test): Add more tests and enable some
4718 previously disabled tests.
4719 * sysdeps/i386/fpu/libm-test-ulps: Update.
4720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4722 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4723 Carlos O'Donell <carlos_odonell@mentor.com>
4725 * nss/makedb.c (is_prime): Assert that input is odd and greater
4726 than 4. Note that fact in a comment too.
4727 (next_prime): Add 4 to input.
4729 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4732 * libio/Makefile (tests): Add test case tst-fwrite-error.
4733 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4734 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4735 * libio/tst-fwrite-error.c: New test case.
4737 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4739 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4740 before casting to void *.
4741 * include/libc-internal.h (__pointer_type): New macro.
4742 (__integer_if_pointer_type_sub): Likewise.
4743 (__integer_if_pointer_type): Likewise.
4744 (cast_to_integer): Likewise.
4745 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4746 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4747 before casting to atomic64_t.
4748 (atomic_exchange_acq): Likewise.
4749 (__arch_exchange_and_add_body): Likewise.
4750 (__arch_add_body): Likewise.
4751 (atomic_add_negative): Likewise.
4752 (atomic_add_zero): Likewise.
4754 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4756 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4757 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4758 (add_fdes): Likewise.
4759 (linear_search_fdes): Likewise.
4760 (binary_search_unencoded_fdes): Likewise.
4762 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4764 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4766 2012-11-24 Adam Conrad <adconrad@0c3.net>
4768 * configure.in: Autodetect C++ header directories.
4769 * configure: Regenerated.
4771 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4773 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4775 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4779 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4781 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4782 LDBL_MANT_DIG == 106]: Disable some tests.
4783 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4785 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4789 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4790 input for small inputs. Return +/- pi/2 for large inputs.
4791 * math/libm-test.inc (atan_test): Add more tests.
4793 * sysdeps/generic/unwind-dw2-fde-glibc.c
4794 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4795 __attribute__ ((unused)).
4798 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4799 x * y if x and y are nonzero and z is zero.
4802 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4803 nonzero exponents with absolute value below 0x1p-117 to +/-
4807 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4808 up arguments below 2**-450, not just those below 2**-500.
4809 * math/libm-test.inc (hypot_test): Add another test.
4812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4813 Return a+b for ratio over 2**120, not 2**60.
4814 * math/libm-test.inc (hypot_test): Add another test.
4816 * math/libm-test.inc (clog_test): Use
4817 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4818 (clog10_test): Likewise.
4821 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4823 2012-11-22 Andreas Schwab <schwab@suse.de>
4825 * sysdeps/i386/fpu/libm-test-ulps: Update.
4827 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4829 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4830 printf output with newline.
4832 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4835 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4836 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4837 -z nodlopen, -z initfirst and -z execstack support.
4838 * configure: Regenerated.
4840 * elf/elf.h (DF_1_NODIRECT): New macro.
4841 (DF_1_IGNMULDEF): Likewise.
4842 (DF_1_NOKSYMS): Likewise.
4843 (DF_1_NOHDR): Likewise.
4844 (DF_1_EDITED): Likewise.
4845 (DF_1_NORELOC): Likewise.
4846 (DF_1_SYMINTPOSE): Likewise.
4847 (DF_1_GLOBAUDIT): Likewise.
4848 (DF_1_SINGLETON): Likewise.
4849 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4850 DT_1_SUPPORTED_MASK bits.
4851 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4853 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4855 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4857 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4859 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4862 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4863 (sendmmsg): Move declarations...
4864 * socket/sys/socket.h: ... here.
4865 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4866 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4868 * socket/recvmmsg.c: ... this new file.
4869 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4870 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4871 definition of __sendmmsg hidden.
4872 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4873 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4874 Move ENOSYS stub into and include it from...
4875 * socket/sendmmsg.c: ... this new file.
4876 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4877 (sysdep_routines): Move recvmmsg and sendmmsg...
4878 * socket/Makefile (routines): ... here.
4879 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4880 (GLIBC_PRIVATE): Add __sendmmsg.
4881 * include/sys/socket.h (__sendmmsg): Add declarations.
4882 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4885 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4887 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4888 variable I1 with __attribute__ ((unused)).
4889 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4891 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4893 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4894 DUMMY variables with __attribute__ ((unused)).
4896 * bits/byteswap.h: Include <bits/types.h>.
4897 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4899 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4901 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4902 string_t. Do not manually set errno.
4903 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4904 length with __strnlen. Make sure to both set errno and return it on
4907 2012-11-19 David S. Miller <davem@davemloft.net>
4909 With help from Joseph Myers.
4910 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4911 very large arguments properly.
4912 * math/libm-test.inc (atan_test): New tests.
4913 (atan2_test): New tests.
4914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4917 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4920 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4923 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4924 [POSIX] (EADDRNOTAVAIL): Likewise.
4925 [POSIX] (EAFNOSUPPORT): Likewise.
4926 [POSIX] (EALREADY): Likewise.
4927 [POSIX] (ECONNABORTED): Likewise.
4928 [POSIX] (ECONNREFUSED): Likewise.
4929 [POSIX] (ECONNRESET): Likewise.
4930 [POSIX] (EDESTADDRREQ): Likewise.
4931 [POSIX] (EDQUOT): Likewise.
4932 [POSIX] (EHOSTUNREACH): Likewise.
4933 [POSIX] (EIDRM): Likewise.
4934 [POSIX] (EISCONN): Likewise.
4935 [POSIX] (ELOOP): Likewise.
4936 [POSIX] (EMULTIHOP): Likewise.
4937 [POSIX] (ENETDOWN): Likewise.
4938 [POSIX] (ENETUNREACH): Likewise.
4939 [POSIX] (ENOBUFS): Likewise.
4940 [POSIX] (ENODATA): Likewise.
4941 [POSIX] (ENOLINK): Likewise.
4942 [POSIX] (ENOMSG): Likewise.
4943 [POSIX] (ENOPROTOOPT): Likewise.
4944 [POSIX] (ENOSR): Likewise.
4945 [POSIX] (ENOSTR): Likewise.
4946 [POSIX] (ENOTCONN): Likewise.
4947 [POSIX] (ENOTSOCK): Likewise.
4948 [POSIX] (EOPNOTSUPP): Likewise.
4949 [POSIX] (EOVERFLOW): Likewise.
4950 [POSIX] (EPROTO): Likewise.
4951 [POSIX] (EPROTONOSUPPORT): Likewise.
4952 [POSIX] (EPROTOTYPE): Likewise.
4953 [POSIX] (ESTALE): Likewise.
4954 [POSIX] (ETIME): Likewise.
4955 [POSIX] (ETXTBSY): Likewise.
4956 [POSIX] (EWOULDBLOCK): Likewise.
4957 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4958 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4959 [POSIX] (SEEK_CUR): Likewise.
4960 [POSIX] (SEEK_END): Likewise.
4961 [POSIX || UNIX98] (mode_t): Do not require.
4962 [POSIX] (off_t): Likewise.
4963 [POSIX] (pid_t): Likewise.
4964 [POSIX] (sys/stat.h): Do not allow header.
4965 [POSIX] (unistd.h): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4967 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4969 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4971 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4972 sigevent): Specify elements.
4973 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4975 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4976 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4978 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4979 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4980 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4981 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4982 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4983 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4984 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4985 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4986 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4987 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4988 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4989 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4990 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4991 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4993 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4995 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4997 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4999 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5000 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5001 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5002 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5003 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5004 Specify lower bound on value.
5005 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5006 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5007 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5008 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5009 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5010 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5011 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5012 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5014 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5016 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5019 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5020 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5021 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5022 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5023 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5025 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5026 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5027 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5028 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5029 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5030 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5033 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5035 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5036 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5037 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5038 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5040 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5042 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5043 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5044 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5047 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5048 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5050 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5051 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5052 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5053 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5054 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5055 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5056 specify as optional.
5057 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5058 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5059 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5060 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5061 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5062 [XPG3] (NL_LANGMAX): Likewise.
5063 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5064 [POSIX || XPG3] (NL_NMAX): Likewise.
5065 [POSIX || XPG3] (NL_SETMAX): Likewise.
5066 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5067 [XPG3] (NZERO): Likewise.
5068 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5069 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5070 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5071 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5072 (REG_ERANGE): Expect.
5073 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5075 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5076 Use (void) in prototype.
5077 [POSIX] (*_t): Allow.
5078 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5079 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5080 (WRDE_BADVAL): Expect.
5082 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5084 [XPG3 || XPG4] (O_RSYNC): Likewise.
5085 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5087 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5088 [XPG3 || XPG4] (sigqueue): Likewise.
5089 [XPG3 || XPG4] (sigtimedwait): Likewise.
5090 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5091 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5092 [XPG3 || XPG4] (vsnprintf): Likewise.
5093 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5095 [XPG3 || XPG4] (blksize_t): Likewise.
5096 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5098 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5099 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5100 [XPG3 || XPG4] (struct itimerspec): Likewise.
5101 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5102 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5103 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5104 [XPG3 || XPG4] (clockid_t): Likewise.
5105 [XPG3 || XPG4] (timer_t): Likewise.
5106 [XPG3 || XPG4] (clock_getres): Likewise.
5107 [XPG3 || XPG4] (clock_gettime): Likewise.
5108 [XPG3 || XPG4] (clock_settime): Likewise.
5109 [XPG3 || XPG4] (nanosleep): Likewise.
5110 [XPG3 || XPG4] (timer_create): Likewise.
5111 [XPG3 || XPG4] (timer_delete): Likewise.
5112 [XPG3 || XPG4] (timer_gettime): Likewise.
5113 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5114 [XPG3 || XPG4] (timer_settime): Likewise.
5115 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5116 [XPG3 || XPG4] (getlogin_r): Likewise.
5117 [XPG3 || XPG4] (pread): Likewise.
5118 [XPG3 || XPG4] (pthread_atfork): Likewise.
5119 [XPG3 || XPG4] (pwrite): Likewise.
5122 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5125 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5127 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5128 finalizing MALLSTREAM.
5130 * sysdeps/mach/hurd/syncfs.c: New file.
5132 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5135 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5136 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5137 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5138 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5139 (_nss_dns_gethostbyname4_r): Likewise.
5140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5141 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5143 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5146 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5148 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5150 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5151 * elf/cache.c (print_entry): Print ",AArch64" for
5154 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5155 * elf/cache.c (print_entry): Print ",hard-float" for
5158 2012-11-18 David S. Miller <davem@davemloft.net>
5160 With help from Joseph Myers.
5161 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5163 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5165 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5166 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5168 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5169 * math/libm-test.inc (y0_test): New tests.
5170 (y1_test): New tests.
5171 * sysdeps/i386/fpu/libm-test-ulps: Update.
5172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5175 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5177 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5179 * configure: Regenerated.
5181 2012-11-17 David S. Miller <davem@davemloft.net>
5184 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5185 nonzero exponents with absolute value below 0x1p-128 to +/-
5188 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5190 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5192 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5194 * posix/getconf-speclist.c: New file.
5195 * posix/posix-envs.def: Likewise.
5196 * posix/confstr.c (START_ENV_GROUP): New macro.
5197 (END_ENV_GROUP): Likewise.
5198 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5199 (KNOWN_PRESENT_ENV_STRING): Likewise.
5200 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5201 (UNKNOWN_ENVIRONMENT): Likewise.
5202 (confstr): Include posix-envs.def instead of handling
5203 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5204 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5205 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5206 (END_ENV_GROUP): Likewise.
5207 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5208 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5209 (UNKNOWN_ENVIRONMENT): Likewise.
5210 (__sysconf): Include posix-envs.def instead of handling associated
5211 cases directly here.
5212 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5213 preprocessing getconf-speclist.c rather than running getconf or
5214 generating empty file.
5216 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5218 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5220 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5223 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5225 2012-11-16 David S. Miller <davem@davemloft.net>
5227 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5228 smaller than LDBL_EPSILON/2.0L, just return xm1.
5230 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5232 * elf/tst-array1.c (init): Set constructor priority to 1000.
5233 (fini): Set destructor priority to 1000.
5234 * elf/tst-array2dep.c: Likewise.
5236 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5239 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5240 (_IO_new_file_xsputn): Also return EOF if none of the input
5241 data was written when overflow failed.
5242 * libio/iopadn.c (_IO_padn): Likewise.
5243 * libio/iowpadn.c (_IO_wpadn): Likewise.
5244 * stdio-common/tst-put-error.c: Add copyright notice.
5245 (do_test): Add case for printing padded string.
5246 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5247 _IO_padn returned error.
5248 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5249 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5252 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5254 * libio/libioP.h: Add comment note that the references to C++
5255 bits are now obsolete.
5257 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5259 * math/libm-test.inc (check_complex): Use asprintf.
5261 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5263 * debug/pcprofiledump.c (print_version): Update copyright year.
5264 * malloc/memusagestat.c (print_version): Likewise.
5266 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5269 * elf/Makefile (tests): Add tst-audit8.
5270 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5271 ($(objpfx)tst-audit8.out): New target.
5272 (tst-audit8-ENV): New variable.
5273 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5274 audit if l_reloc_result is NULL.
5275 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5276 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5277 * elf/tst-audit8.c: New file.
5279 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5281 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5282 * misc/Makefile (CFLAGS-select.c): Define.
5283 * posix/Makefile (CFLAGS-pause.c): Define.
5285 2012-11-13 David S. Miller <davem@davemloft.net>
5287 * crypt/Makefile: Move test targets after toplevel Rules
5288 inclusion. Grab any necessary sysdep routines when linking.
5289 * crypt/md5.c (md5_process_block): Remove define, we will always
5290 name it __md5_process_block.
5291 (md5_finish_ctx): Update md5_process_block call.
5292 (md5_stream): Likewise.
5293 (md5_process_bytes): Likewise.
5294 (md5_process_block): Rename to __md5_process_block and move to ...
5295 * crypt/md5-block.c: ... here.
5296 * crypt/sha256.c (sha256_process_block): Move to ...
5297 * crypt/sha256-block.c: ... here.
5298 * crypt/sha512.c (sha512_process_block): Move to ...
5299 * crypt/sha512-block.c: ... here.
5300 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5302 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5303 * sysdeps/sparc/sparc64/multiarch/Makefile
5304 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5306 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5307 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5309 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5310 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5311 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5312 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5313 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5314 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5315 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5316 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5317 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5319 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5320 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5322 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5324 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5326 * timezone/tzselect.ksh: Update from tzcode git revision
5327 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5328 * timezone/zdump.c: Likewise.
5329 * timezone/zic.c: Likewise.
5330 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5331 in TZVERSION setting, not $(PKGVERSION).
5332 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5333 REPORT_BUGS_TO settings.
5336 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5339 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5341 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5342 detection to immediately after _FP_ROUND().
5343 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5346 2012-11-11 David S. Miller <davem@davemloft.net>
5348 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5350 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5351 __close rather than their public counterparts.
5353 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5355 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5357 [UNIX98] (sem_timedwait): Do not expect.
5358 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5359 [XPG4 || UNIX98] (sockatmark): Do not expect.
5360 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5361 (clock_getcpuclockid): Do not expect.
5362 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5363 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5365 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5366 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5367 [UNIX98] (vwscanf): Likewise.
5368 [UNIX98] (vswscanf): Likewise.
5370 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5372 * timezone/version.h: Remove file.
5373 * timezone/README: Do not refer to version.h.
5374 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5376 ($(objpfx)zdump.o): Likewise.
5377 ($(objpfx)version.h): New target.
5379 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5381 * timezone/README: Don't mention modification to tzselect.ksh.
5382 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5383 work on unmodified tzselect.ksh. Substitute version numbers in
5386 * Makefile (format-me): Remove.
5387 (INSTALL): Adjust indentation. Use commands directly instead of
5390 * aclocal.m4 (ACX_PKGVERSION): New macro.
5391 (ACX_BUGURL): Likewise.
5392 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5393 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5394 (REPORT_BUGS_TO): Likewise.
5395 * configure: Regenerated.
5396 * config.h.in (PKGVERSION): New macro.
5397 (REPORT_BUGS_TO): Likewise.
5398 * config.make.in (PKGVERSION): New variable.
5399 (PKGVERSION_TEXI): Likewise.
5400 (REPORT_BUGS_TO): Likewise.
5401 (REPORT_BUGS_TEXI): Likewise.
5402 * Makefile (format-me): Use -I$(common-objpfx)manual.
5403 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5404 ($(common-objpfx)manual/%): New target.
5405 (manual/%): Remove target.
5406 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5407 (print_version): Use PKGVERSION.
5408 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5409 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5411 ($(objpfx)xtrace): Likewise.
5412 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5413 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5414 (print_version): Use PKGVERSION.
5415 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5416 (do_version): Use PKGVERSION.
5417 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5419 (common-ldd-rewrite): Likewise.
5420 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5421 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5422 (print_version): Use PKGVERSION.
5423 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5424 * elf/pldd.c (argp_program_bug_address): Remove variable.
5425 (more_help): New function.
5426 (argp): Use more_help.
5427 (print_version): Use PKGVERSION.
5428 * elf/sln.c (main): Use PKGVERSION.
5429 (usage): Use REPORT_BUGS_TO.
5430 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5431 (top level): Use PKGVERSION.
5432 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5433 (print_version): Use PKGVERSION.
5434 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5435 (print_version): Use PKGVERSION.
5436 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5437 (print_version): Use PKGVERSION.
5438 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5439 (print_version): Use PKGVERSION.
5440 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5441 (print_version): Use PKGVERSION.
5442 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5443 (print_version): Use PKGVERSION.
5444 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5446 ($(objpfx)memusage): Likewise.
5447 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5448 (do_version): Use PKGVERSION.
5449 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5450 (print_version): Use PKGVERSION.
5451 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5452 ($PKGVERSION): New variable.
5453 ($REPORT_BUGS_TO): Likewise.
5454 (usage): Use $REPORT_BUGS_TO.
5455 (top level): Use $PKGVERSION.
5456 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5457 ($(objpfx)pkgvers.texi): New rule.
5458 ($(objpfx)stamp-pkgvers): Likewise.
5459 * manual/install.texi: Include pkgvers.texi.
5460 (--with-pkgversion): Document new configure option.
5461 (--with-bugurl): Likewise.
5462 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5463 than necessarily for this particular distribution. Use
5464 REPORT_BUGS_TO for where to report bugs.
5465 * INSTALL: Regenerated.
5466 * manual/libc.texinfo: Include pkgvers.texi.
5467 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5468 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5469 (print_version): Use PKGVERSION.
5470 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5471 (print_version): Use PKGVERSION.
5472 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5473 (print_version): Use PKGVERSION.
5474 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5475 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5477 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5478 (print_version): Use PKGVERSION.
5479 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5480 (print_version): Use PKGVERSION.
5481 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5484 * timezone/checktab.awk: Update from tzcode 2012i.
5485 * timezone/ialloc.c: Likewise.
5486 * timezone/private.h: Likewise.
5487 * timezone/scheck.c: Likewise.
5488 * timezone/tzfile.h: Likewise.
5489 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5490 (TZVERSION): Hardcode tzcode version number.
5491 * timezone/zdump.c: Update from tzcode 2012i.
5492 * timezone/zic.c: Likewise.
5493 * timezone/version.h: New file.
5494 * timezone/README: Describe version.h. Update upstream location.
5497 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5498 (mktemp): Enable declaration.
5499 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5500 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5501 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5502 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5504 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5516 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5517 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5518 for copies of such integer values.
5519 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5520 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5522 2012-11-09 Andreas Jaeger <aj@suse.de>
5524 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5525 definitions and declarations that are provided by
5526 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5528 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5530 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5531 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5532 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5535 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5537 * elf/elf.h: Update comment before AArch64 relocations.
5539 2012-11-07 David S. Miller <davem@davemloft.net>
5541 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5542 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5543 (__start_context): Declare.
5544 (__makecontext_ret): Delete.
5545 (__makecontext): Hook up __start_context instead of
5547 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5548 (sysdep_routines): Add __start_context when in stdlib.
5550 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5552 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5553 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5554 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5556 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5557 (READELF): New variable. Use it instead of hardcoded "readelf".
5559 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5561 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5562 * sysdeps/x86/Makefile: Here.
5563 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5564 * sysdeps/x86/tst-xmmymm.sh: This.
5566 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5568 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5570 [UNIX98] (pthread_barrier_t): Do not expect.
5571 [UNIX98] (pthread_barrierattr_t): Likewise.
5572 [UNIX98] (pthread_spinlock_t): Likewise.
5573 [UNIX98] (pthread_barrier_destroy): Likewise.
5574 [UNIX98] (pthread_barrier_init): Likewise.
5575 [UNIX98] (pthread_barrier_wait): Likewise.
5576 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5577 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5578 [UNIX98] (pthread_barrierattr_init): Likewise.
5579 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5580 [UNIX98] (pthread_getcpuclockid): Likewise.
5581 [UNIX98] (pthread_mutex_timedlock): Likewise.
5582 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5583 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5584 [UNIX98] (pthread_sigmask): Likewise.
5585 [UNIX98] (pthread_spin_destroy): Likewise.
5586 [UNIX98] (pthread_spin_init): Likewise.
5587 [UNIX98] (pthread_spin_lock): Likewise.
5588 [UNIX98] (pthread_spin_trylock): Likewise.
5589 [UNIX98] (pthread_spin_unlock): Likewise.
5590 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5592 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5593 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5594 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5595 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5596 [XPG3 || XPG4] (pthread_key_t): Likewise.
5597 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5598 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5599 [XPG3 || XPG4] (pthread_once_t): Likewise.
5600 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5601 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5602 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5603 [XPG3 || XPG4] (pthread_t): Likewise.
5605 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5607 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5609 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5610 Change function return type to int.
5612 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5613 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5614 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5615 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5616 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5617 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5618 [!POSIX] (posix_madvise): Likewise.
5619 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5621 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5622 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5624 (posix_mem_offset): Likewise.
5625 (posix_typed_mem_get_info): Likewise.
5626 (posix_typed_mem_open): Likewise.
5628 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5629 Change condition to [XOPEN2K8].
5631 * conform/conformtest.pl: Preprocess allow-header data with -x c
5632 instead of from stdin.
5633 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5634 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5635 [C99-based standards] (cerfc): Likewise.
5636 [C99-based standards] (cexp2): Likewise.
5637 [C99-based standards] (cexpm1): Likewise.
5638 [C99-based standards] (clog10): Likewise.
5639 [C99-based standards] (clog1p): Likewise.
5640 [C99-based standards] (clog2): Likewise.
5641 [C99-based standards] (clgamma): Likewise.
5642 [C99-based standards] (ctgamma): Likewise.
5643 [C99-based standards] (cerff): Likewise.
5644 [C99-based standards] (cerfcf): Likewise.
5645 [C99-based standards] (cexp2f): Likewise.
5646 [C99-based standards] (cexpm1f): Likewise.
5647 [C99-based standards] (clog10f): Likewise.
5648 [C99-based standards] (clog1pf): Likewise.
5649 [C99-based standards] (clog2f): Likewise.
5650 [C99-based standards] (clgammaf): Likewise.
5651 [C99-based standards] (ctgammaf): Likewise.
5652 [C99-based standards] (cerfl): Likewise.
5653 [C99-based standards] (cerfcl): Likewise.
5654 [C99-based standards] (cexp2l): Likewise.
5655 [C99-based standards] (cexpm1l): Likewise.
5656 [C99-based standards] (clog10l): Likewise.
5657 [C99-based standards] (clog1pl): Likewise.
5658 [C99-based standards] (clog2l): Likewise.
5659 [C99-based standards] (clgammal): Likewise.
5660 [C99-based standards] (ctgammal): Likewise.
5661 * conform/data/inttypes.h-data [C99-based standards]: Include
5662 stdint.h-data. Remove all expectations for stdint.h contents.
5663 [C99-based standards] (PRI*): Do not allow.
5664 [C99-based standards] (SCN*): Likewise.
5665 [C99-based standards] (*_t): Likewise.
5666 [C99-based-standards] (PRId8): Expect macro.
5667 [C99-based-standards] (PRIi8): Likewise.
5668 [C99-based-standards] (PRIo8): Likewise.
5669 [C99-based-standards] (PRIu8): Likewise.
5670 [C99-based-standards] (PRIx8): Likewise.
5671 [C99-based-standards] (PRIX8): Likewise.
5672 [C99-based-standards] (SCNd8): Likewise.
5673 [C99-based-standards] (SCNi8): Likewise.
5674 [C99-based-standards] (SCNo8): Likewise.
5675 [C99-based-standards] (SCNu8): Likewise.
5676 [C99-based-standards] (SCNx8): Likewise.
5677 [C99-based-standards] (PRIdLEAST8): Likewise.
5678 [C99-based-standards] (PRIiLEAST8): Likewise.
5679 [C99-based-standards] (PRIoLEAST8): Likewise.
5680 [C99-based-standards] (PRIuLEAST8): Likewise.
5681 [C99-based-standards] (PRIxLEAST8): Likewise.
5682 [C99-based-standards] (PRIXLEAST8): Likewise.
5683 [C99-based-standards] (SCNdLEAST8): Likewise.
5684 [C99-based-standards] (SCNiLEAST8): Likewise.
5685 [C99-based-standards] (SCNoLEAST8): Likewise.
5686 [C99-based-standards] (SCNuLEAST8): Likewise.
5687 [C99-based-standards] (SCNxLEAST8): Likewise.
5688 [C99-based-standards] (PRIdFAST8): Likewise.
5689 [C99-based-standards] (PRIiFAST8): Likewise.
5690 [C99-based-standards] (PRIoFAST8): Likewise.
5691 [C99-based-standards] (PRIuFAST8): Likewise.
5692 [C99-based-standards] (PRIxFAST8): Likewise.
5693 [C99-based-standards] (PRIXFAST8): Likewise.
5694 [C99-based-standards] (SCNdFAST8): Likewise.
5695 [C99-based-standards] (SCNiFAST8): Likewise.
5696 [C99-based-standards] (SCNoFAST8): Likewise.
5697 [C99-based-standards] (SCNuFAST8): Likewise.
5698 [C99-based-standards] (SCNxFAST8): Likewise.
5699 [C99-based-standards] (PRId16): Likewise.
5700 [C99-based-standards] (PRIi16): Likewise.
5701 [C99-based-standards] (PRIo16): Likewise.
5702 [C99-based-standards] (PRIu16): Likewise.
5703 [C99-based-standards] (PRIx16): Likewise.
5704 [C99-based-standards] (PRIX16): Likewise.
5705 [C99-based-standards] (SCNd16): Likewise.
5706 [C99-based-standards] (SCNi16): Likewise.
5707 [C99-based-standards] (SCNo16): Likewise.
5708 [C99-based-standards] (SCNu16): Likewise.
5709 [C99-based-standards] (SCNx16): Likewise.
5710 [C99-based-standards] (PRIdLEAST16): Likewise.
5711 [C99-based-standards] (PRIiLEAST16): Likewise.
5712 [C99-based-standards] (PRIoLEAST16): Likewise.
5713 [C99-based-standards] (PRIuLEAST16): Likewise.
5714 [C99-based-standards] (PRIxLEAST16): Likewise.
5715 [C99-based-standards] (PRIXLEAST16): Likewise.
5716 [C99-based-standards] (SCNdLEAST16): Likewise.
5717 [C99-based-standards] (SCNiLEAST16): Likewise.
5718 [C99-based-standards] (SCNoLEAST16): Likewise.
5719 [C99-based-standards] (SCNuLEAST16): Likewise.
5720 [C99-based-standards] (SCNxLEAST16): Likewise.
5721 [C99-based-standards] (PRIdFAST16): Likewise.
5722 [C99-based-standards] (PRIiFAST16): Likewise.
5723 [C99-based-standards] (PRIoFAST16): Likewise.
5724 [C99-based-standards] (PRIuFAST16): Likewise.
5725 [C99-based-standards] (PRIxFAST16): Likewise.
5726 [C99-based-standards] (PRIXFAST16): Likewise.
5727 [C99-based-standards] (SCNdFAST16): Likewise.
5728 [C99-based-standards] (SCNiFAST16): Likewise.
5729 [C99-based-standards] (SCNoFAST16): Likewise.
5730 [C99-based-standards] (SCNuFAST16): Likewise.
5731 [C99-based-standards] (SCNxFAST16): Likewise.
5732 [C99-based-standards] (PRId32): Likewise.
5733 [C99-based-standards] (PRIi32): Likewise.
5734 [C99-based-standards] (PRIo32): Likewise.
5735 [C99-based-standards] (PRIu32): Likewise.
5736 [C99-based-standards] (PRIx32): Likewise.
5737 [C99-based-standards] (PRIX32): Likewise.
5738 [C99-based-standards] (SCNd32): Likewise.
5739 [C99-based-standards] (SCNi32): Likewise.
5740 [C99-based-standards] (SCNo32): Likewise.
5741 [C99-based-standards] (SCNu32): Likewise.
5742 [C99-based-standards] (SCNx32): Likewise.
5743 [C99-based-standards] (PRIdLEAST32): Likewise.
5744 [C99-based-standards] (PRIiLEAST32): Likewise.
5745 [C99-based-standards] (PRIoLEAST32): Likewise.
5746 [C99-based-standards] (PRIuLEAST32): Likewise.
5747 [C99-based-standards] (PRIxLEAST32): Likewise.
5748 [C99-based-standards] (PRIXLEAST32): Likewise.
5749 [C99-based-standards] (SCNdLEAST32): Likewise.
5750 [C99-based-standards] (SCNiLEAST32): Likewise.
5751 [C99-based-standards] (SCNoLEAST32): Likewise.
5752 [C99-based-standards] (SCNuLEAST32): Likewise.
5753 [C99-based-standards] (SCNxLEAST32): Likewise.
5754 [C99-based-standards] (PRIdFAST32): Likewise.
5755 [C99-based-standards] (PRIiFAST32): Likewise.
5756 [C99-based-standards] (PRIoFAST32): Likewise.
5757 [C99-based-standards] (PRIuFAST32): Likewise.
5758 [C99-based-standards] (PRIxFAST32): Likewise.
5759 [C99-based-standards] (PRIXFAST32): Likewise.
5760 [C99-based-standards] (SCNdFAST32): Likewise.
5761 [C99-based-standards] (SCNiFAST32): Likewise.
5762 [C99-based-standards] (SCNoFAST32): Likewise.
5763 [C99-based-standards] (SCNuFAST32): Likewise.
5764 [C99-based-standards] (SCNxFAST32): Likewise.
5765 [C99-based-standards] (PRId64): Likewise.
5766 [C99-based-standards] (PRIi64): Likewise.
5767 [C99-based-standards] (PRIo64): Likewise.
5768 [C99-based-standards] (PRIu64): Likewise.
5769 [C99-based-standards] (PRIx64): Likewise.
5770 [C99-based-standards] (PRIX64): Likewise.
5771 [C99-based-standards] (SCNd64): Likewise.
5772 [C99-based-standards] (SCNi64): Likewise.
5773 [C99-based-standards] (SCNo64): Likewise.
5774 [C99-based-standards] (SCNu64): Likewise.
5775 [C99-based-standards] (SCNx64): Likewise.
5776 [C99-based-standards] (PRIdLEAST64): Likewise.
5777 [C99-based-standards] (PRIiLEAST64): Likewise.
5778 [C99-based-standards] (PRIoLEAST64): Likewise.
5779 [C99-based-standards] (PRIuLEAST64): Likewise.
5780 [C99-based-standards] (PRIxLEAST64): Likewise.
5781 [C99-based-standards] (PRIXLEAST64): Likewise.
5782 [C99-based-standards] (SCNdLEAST64): Likewise.
5783 [C99-based-standards] (SCNiLEAST64): Likewise.
5784 [C99-based-standards] (SCNoLEAST64): Likewise.
5785 [C99-based-standards] (SCNuLEAST64): Likewise.
5786 [C99-based-standards] (SCNxLEAST64): Likewise.
5787 [C99-based-standards] (PRIdFAST64): Likewise.
5788 [C99-based-standards] (PRIiFAST64): Likewise.
5789 [C99-based-standards] (PRIoFAST64): Likewise.
5790 [C99-based-standards] (PRIuFAST64): Likewise.
5791 [C99-based-standards] (PRIxFAST64): Likewise.
5792 [C99-based-standards] (PRIXFAST64): Likewise.
5793 [C99-based-standards] (SCNdFAST64): Likewise.
5794 [C99-based-standards] (SCNiFAST64): Likewise.
5795 [C99-based-standards] (SCNoFAST64): Likewise.
5796 [C99-based-standards] (SCNuFAST64): Likewise.
5797 [C99-based-standards] (SCNxFAST64): Likewise.
5798 [C99-based-standards] (PRIdMAX): Likewise.
5799 [C99-based-standards] (PRIiMAX): Likewise.
5800 [C99-based-standards] (PRIoMAX): Likewise.
5801 [C99-based-standards] (PRIuMAX): Likewise.
5802 [C99-based-standards] (PRIxMAX): Likewise.
5803 [C99-based-standards] (PRIXMAX): Likewise.
5804 [C99-based-standards] (SCNdMAX): Likewise.
5805 [C99-based-standards] (SCNiMAX): Likewise.
5806 [C99-based-standards] (SCNoMAX): Likewise.
5807 [C99-based-standards] (SCNuMAX): Likewise.
5808 [C99-based-standards] (SCNxMAX): Likewise.
5809 [C99-based-standards] (PRIdPTR): Likewise.
5810 [C99-based-standards] (PRIiPTR): Likewise.
5811 [C99-based-standards] (PRIoPTR): Likewise.
5812 [C99-based-standards] (PRIuPTR): Likewise.
5813 [C99-based-standards] (PRIxPTR): Likewise.
5814 [C99-based-standards] (PRIXPTR): Likewise.
5815 [C99-based-standards] (SCNdPTR): Likewise.
5816 [C99-based-standards] (SCNiPTR): Likewise.
5817 [C99-based-standards] (SCNoPTR): Likewise.
5818 [C99-based-standards] (SCNuPTR): Likewise.
5819 [C99-based-standards] (SCNxPTR): Likewise.
5820 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5822 * conform/data/stdint.h-data: Update comments to clarify
5824 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5826 [C99-based standards] (INT8_MAX): Likewise.
5827 [C99-based standards] (INT16_MIN): Likewise.
5828 [C99-based standards] (INT16_MAX): Likewise.
5829 [C99-based standards] (INT32_MIN): Likewise.
5830 [C99-based standards] (INT32_MAX): Likewise.
5831 [C99-based standards] (INT64_MIN): Likewise.
5832 [C99-based standards] (INT64_MAX): Likewise.
5833 [C99-based standards] (UINT8_MAX): Likewise.
5834 [C99-based standards] (UINT16_MAX): Likewise.
5835 [C99-based standards] (UINT32_MAX): Likewise.
5836 [C99-based standards] (UINT64_MAX): Likewise.
5837 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5838 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5839 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5840 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5841 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5842 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5843 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5844 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5845 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5846 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5847 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5848 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5849 [C99-based standards] (INT_FAST8_MIN): Likewise.
5850 [C99-based standards] (INT_FAST8_MAX): Likewise.
5851 [C99-based standards] (INT_FAST16_MIN): Likewise.
5852 [C99-based standards] (INT_FAST16_MAX): Likewise.
5853 [C99-based standards] (INT_FAST32_MIN): Likewise.
5854 [C99-based standards] (INT_FAST32_MAX): Likewise.
5855 [C99-based standards] (INT_FAST64_MIN): Likewise.
5856 [C99-based standards] (INT_FAST64_MAX): Likewise.
5857 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5858 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5859 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5860 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5861 [C99-based standards] (INTPTR_MIN): Likewise.
5862 [C99-based standards] (INTPTR_MAX): Likewise.
5863 [C99-based standards] (UINTPTR_MAX): Likewise.
5864 [C99-based standards] (INTMAX_MIN): Likewise.
5865 [C99-based standards] (INTMAX_MAX): Likewise.
5866 [C99-based standards] (UINTMAX_MAX): Likewise.
5867 [C99-based standards] (PTRDIFF_MIN): Likewise.
5868 [C99-based standards] (PTRDIFF_MAX): Likewise.
5869 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5870 [C99-based standards] (SIZE_MAX): Likewise.
5871 [C99-based standards] (WCHAR_MAX): Likewise.
5872 [C99-based standards] (WINT_MAX): Likewise.
5873 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5874 constraint on value.
5875 [C99-based standards] (WCHAR_MIN): Likewise.
5876 [C99-based standards] (WINT_MIN): Likewise.
5877 [C99-based standards] (*_t): Allow.
5878 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5879 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5880 Include math.h-data and complex.h-data. Remove all expectations
5881 of math.h and complex.h contents.
5882 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5884 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5885 (struct tm): Expect tag.
5886 [C99-based-standards] (wcstof): Expect function.
5887 [C99-based-standards] (wcstold): Likewise.
5888 [C99-based-standards] (wcstoll): Likewise.
5889 [C99-based-standards] (wcstoull): Likewise.
5890 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5891 macro-int-constant. Specify type.
5892 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5893 constraint on value.
5894 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5896 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5898 [ISO C standards]: Do not allow headers.
5899 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5900 wcs[abcdefghijklmnopqrstuvwxyz]*.
5901 [ISO C standards] (*_t): Do not allow.
5902 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5904 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5905 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5907 [ISO C standards]: Do not allow headers.
5908 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5909 is[abcdefghijklmnopqrstuvwxyz]*.
5910 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5911 to[abcdefghijklmnopqrstuvwxyz]*.
5912 [ISO C standards] (*_t): Do not allow.
5913 * conform/data/stdalign.h-data: New file.
5914 * conform/data/stdbool.h-data: Likewise.
5915 * conform/data/stdnoreturn.h-data: Likewise.
5917 2012-11-07 Roland McGrath <roland@hack.frob.com>
5920 * manual/filesys.texi (Directory Entries): Typo fix.
5921 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5923 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5925 * elf/elf.h (EM_AARCH64): New macro.
5926 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5927 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5928 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5929 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5930 (R_AARCH64_TLSDESC): Likewise.
5931 (NT_ARM_TLS): Likewise.
5932 (NT_ARM_HW_BREAK): Likewise.
5933 (NT_ARM_HW_WATCH): Likewise.
5935 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5938 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5939 (__ieee754_powl): Saturate nonzero exponents with absolute value
5940 below 0x1p-79 to +/- 0x1p-79.
5941 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5942 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5943 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5944 nonzero exponents with absolute value below 0x1p-32 to +/-
5946 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5947 (__ieee754_powl): Saturate nonzero exponents with absolute value
5948 below 0x1p-79 to +/- 0x1p-79.
5949 * math/libm-test.inc (pow_test): Add more tests.
5951 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5953 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5954 _dl_s390_cap_flags with kernel. Increase string length.
5955 (_dl_s390_platforms): Add z196 and zEC12.
5957 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5959 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5960 Change XOPEN21K to XOPEN2K.
5962 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5964 * string/memmove.c: Use memcpy when possible.
5966 2012-11-06 Andreas Jaeger <aj@suse.de>
5968 * po/eo.po: Update from translation team.
5970 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5974 exponent and small x and y exponents, scale x or y up. Increase
5975 by 2 the exponent used in scaling up.
5976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5978 * math/libm-test.inc (fma_test): Add more tests.
5979 (fma_test_towardzero): Likewise.
5980 (fma_test_downward): Likewise.
5981 (fma_test_upward): Likewise.
5983 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5986 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5990 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5991 namespace for names of struct fields.
5992 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5994 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5995 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5997 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6000 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6002 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6004 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6008 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6011 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6015 definitely overflow as x * y not x * y + z.
6016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6018 * math/libm-test.inc (fma_test): Add more tests.
6019 (fma_test_towardzero): Likewise.
6020 (fma_test_downward): Likewise.
6021 (fma_test_upward): Likewise.
6023 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6027 * include/stub-tag.h: Remove file.
6028 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6030 * manual/maint.texi (Porting): Don't reference it.
6031 * Makerules ($(objpfx)stubs): Likewise.
6032 * dirent/closedir.c: Don't include <stub-tag.h>.
6033 * dirent/dirfd.c: Likewise.
6034 * dirent/fdopendir.c: Likewise.
6035 * dirent/getdents.c: Likewise.
6036 * dirent/getdents64.c: Likewise.
6037 * dirent/opendir.c: Likewise.
6038 * dirent/readdir.c: Likewise.
6039 * dirent/readdir64.c: Likewise.
6040 * dirent/readdir64_r.c: Likewise.
6041 * dirent/readdir_r.c: Likewise.
6042 * dirent/rewinddir.c: Likewise.
6043 * dirent/seekdir.c: Likewise.
6044 * dirent/telldir.c: Likewise.
6045 * gmon/profil.c: Likewise.
6046 * grp/setgroups.c: Likewise.
6047 * inet/if_index.c: Likewise.
6048 * io/access.c: Likewise.
6049 * io/chdir.c: Likewise.
6050 * io/chmod.c: Likewise.
6051 * io/chown.c: Likewise.
6052 * io/close.c: Likewise.
6053 * io/dup.c: Likewise.
6054 * io/dup2.c: Likewise.
6055 * io/dup3.c: Likewise.
6056 * io/euidaccess.c: Likewise.
6057 * io/faccessat.c: Likewise.
6058 * io/fchdir.c: Likewise.
6059 * io/fchmod.c: Likewise.
6060 * io/fchmodat.c: Likewise.
6061 * io/fchown.c: Likewise.
6062 * io/fchownat.c: Likewise.
6063 * io/fcntl.c: Likewise.
6064 * io/flock.c: Likewise.
6065 * io/fstatfs.c: Likewise.
6066 * io/fstatfs64.c: Likewise.
6067 * io/fstatvfs.c: Likewise.
6068 * io/fstatvfs64.c: Likewise.
6069 * io/futimens.c: Likewise.
6070 * io/fxstat.c: Likewise.
6071 * io/fxstat64.c: Likewise.
6072 * io/fxstatat.c: Likewise.
6073 * io/fxstatat64.c: Likewise.
6074 * io/getcwd.c: Likewise.
6075 * io/isatty.c: Likewise.
6076 * io/lchmod.c: Likewise.
6077 * io/lchown.c: Likewise.
6078 * io/link.c: Likewise.
6079 * io/linkat.c: Likewise.
6080 * io/lseek.c: Likewise.
6081 * io/lseek64.c: Likewise.
6082 * io/lxstat64.c: Likewise.
6083 * io/mkdir.c: Likewise.
6084 * io/mkdirat.c: Likewise.
6085 * io/mkfifo.c: Likewise.
6086 * io/mkfifoat.c: Likewise.
6087 * io/open.c: Likewise.
6088 * io/open64.c: Likewise.
6089 * io/openat.c: Likewise.
6090 * io/openat64.c: Likewise.
6091 * io/pipe.c: Likewise.
6092 * io/pipe2.c: Likewise.
6093 * io/poll.c: Likewise.
6094 * io/posix_fadvise.c: Likewise.
6095 * io/posix_fadvise64.c: Likewise.
6096 * io/posix_fallocate.c: Likewise.
6097 * io/posix_fallocate64.c: Likewise.
6098 * io/read.c: Likewise.
6099 * io/readlink.c: Likewise.
6100 * io/readlinkat.c: Likewise.
6101 * io/rmdir.c: Likewise.
6102 * io/sendfile.c: Likewise.
6103 * io/sendfile64.c: Likewise.
6104 * io/statfs.c: Likewise.
6105 * io/statfs64.c: Likewise.
6106 * io/statvfs.c: Likewise.
6107 * io/statvfs64.c: Likewise.
6108 * io/symlink.c: Likewise.
6109 * io/symlinkat.c: Likewise.
6110 * io/ttyname.c: Likewise.
6111 * io/ttyname_r.c: Likewise.
6112 * io/umask.c: Likewise.
6113 * io/unlink.c: Likewise.
6114 * io/unlinkat.c: Likewise.
6115 * io/utime.c: Likewise.
6116 * io/utimensat.c: Likewise.
6117 * io/write.c: Likewise.
6118 * io/xmknod.c: Likewise.
6119 * io/xmknodat.c: Likewise.
6120 * io/xstat.c: Likewise.
6121 * io/xstat64.c: Likewise.
6122 * login/getpt.c: Likewise.
6123 * login/grantpt.c: Likewise.
6124 * login/unlockpt.c: Likewise.
6125 * math/e_acoshl.c: Likewise.
6126 * math/e_acosl.c: Likewise.
6127 * math/e_asinl.c: Likewise.
6128 * math/e_atan2l.c: Likewise.
6129 * math/e_atanhl.c: Likewise.
6130 * math/e_coshl.c: Likewise.
6131 * math/e_expl.c: Likewise.
6132 * math/e_fmodl.c: Likewise.
6133 * math/e_gammal_r.c: Likewise.
6134 * math/e_hypotl.c: Likewise.
6135 * math/e_j0l.c: Likewise.
6136 * math/e_j1l.c: Likewise.
6137 * math/e_jnl.c: Likewise.
6138 * math/e_lgammal_r.c: Likewise.
6139 * math/e_log10l.c: Likewise.
6140 * math/e_log2l.c: Likewise.
6141 * math/e_logl.c: Likewise.
6142 * math/e_powl.c: Likewise.
6143 * math/e_rem_pio2l.c: Likewise.
6144 * math/e_sinhl.c: Likewise.
6145 * math/e_sqrtl.c: Likewise.
6146 * math/fclrexcpt.c: Likewise.
6147 * math/fedisblxcpt.c: Likewise.
6148 * math/feenablxcpt.c: Likewise.
6149 * math/fegetenv.c: Likewise.
6150 * math/fegetexcept.c: Likewise.
6151 * math/fegetround.c: Likewise.
6152 * math/feholdexcpt.c: Likewise.
6153 * math/fesetenv.c: Likewise.
6154 * math/fesetround.c: Likewise.
6155 * math/feupdateenv.c: Likewise.
6156 * math/fgetexcptflg.c: Likewise.
6157 * math/fraiseexcpt.c: Likewise.
6158 * math/fsetexcptflg.c: Likewise.
6159 * math/ftestexcept.c: Likewise.
6160 * math/k_cosl.c: Likewise.
6161 * math/k_rem_pio2l.c: Likewise.
6162 * math/k_sinl.c: Likewise.
6163 * math/k_tanl.c: Likewise.
6164 * math/s_asinhl.c: Likewise.
6165 * math/s_atanl.c: Likewise.
6166 * math/s_cbrtl.c: Likewise.
6167 * math/s_erfl.c: Likewise.
6168 * math/s_expm1l.c: Likewise.
6169 * math/s_log1pl.c: Likewise.
6170 * math/s_tanhl.c: Likewise.
6171 * misc/acct.c: Likewise.
6172 * misc/brk.c: Likewise.
6173 * misc/chflags.c: Likewise.
6174 * misc/chroot.c: Likewise.
6175 * misc/fchflags.c: Likewise.
6176 * misc/fgetxattr.c: Likewise.
6177 * misc/flistxattr.c: Likewise.
6178 * misc/fremovexattr.c: Likewise.
6179 * misc/fsetxattr.c: Likewise.
6180 * misc/fsync.c: Likewise.
6181 * misc/ftruncate.c: Likewise.
6182 * misc/futimes.c: Likewise.
6183 * misc/futimesat.c: Likewise.
6184 * misc/getdomain.c: Likewise.
6185 * misc/getdtsz.c: Likewise.
6186 * misc/gethostid.c: Likewise.
6187 * misc/gethostname.c: Likewise.
6188 * misc/getloadavg.c: Likewise.
6189 * misc/getpagesize.c: Likewise.
6190 * misc/getsysstats.c: Likewise.
6191 * misc/getxattr.c: Likewise.
6192 * misc/gtty.c: Likewise.
6193 * misc/ioctl.c: Likewise.
6194 * misc/lgetxattr.c: Likewise.
6195 * misc/listxattr.c: Likewise.
6196 * misc/llistxattr.c: Likewise.
6197 * misc/lremovexattr.c: Likewise.
6198 * misc/lsetxattr.c: Likewise.
6199 * misc/lutimes.c: Likewise.
6200 * misc/madvise.c: Likewise.
6201 * misc/mincore.c: Likewise.
6202 * misc/mlock.c: Likewise.
6203 * misc/mlockall.c: Likewise.
6204 * misc/mmap.c: Likewise.
6205 * misc/mprotect.c: Likewise.
6206 * misc/msync.c: Likewise.
6207 * misc/munlock.c: Likewise.
6208 * misc/munlockall.c: Likewise.
6209 * misc/munmap.c: Likewise.
6210 * misc/preadv.c: Likewise.
6211 * misc/preadv64.c: Likewise.
6212 * misc/ptrace.c: Likewise.
6213 * misc/pwritev.c: Likewise.
6214 * misc/pwritev64.c: Likewise.
6215 * misc/readv.c: Likewise.
6216 * misc/reboot.c: Likewise.
6217 * misc/remap_file_pages.c: Likewise.
6218 * misc/removexattr.c: Likewise.
6219 * misc/revoke.c: Likewise.
6220 * misc/select.c: Likewise.
6221 * misc/setdomain.c: Likewise.
6222 * misc/setegid.c: Likewise.
6223 * misc/seteuid.c: Likewise.
6224 * misc/sethostid.c: Likewise.
6225 * misc/sethostname.c: Likewise.
6226 * misc/setregid.c: Likewise.
6227 * misc/setreuid.c: Likewise.
6228 * misc/setxattr.c: Likewise.
6229 * misc/sstk.c: Likewise.
6230 * misc/stty.c: Likewise.
6231 * misc/swapoff.c: Likewise.
6232 * misc/swapon.c: Likewise.
6233 * misc/sync.c: Likewise.
6234 * misc/syncfs.c: Likewise.
6235 * misc/syscall.c: Likewise.
6236 * misc/truncate.c: Likewise.
6237 * misc/ualarm.c: Likewise.
6238 * misc/usleep.c: Likewise.
6239 * misc/ustat.c: Likewise.
6240 * misc/utimes.c: Likewise.
6241 * misc/vhangup.c: Likewise.
6242 * misc/writev.c: Likewise.
6243 * posix/_exit.c: Likewise.
6244 * posix/alarm.c: Likewise.
6245 * posix/execve.c: Likewise.
6246 * posix/fexecve.c: Likewise.
6247 * posix/fork.c: Likewise.
6248 * posix/fpathconf.c: Likewise.
6249 * posix/getaddrinfo.c: Likewise.
6250 * posix/getegid.c: Likewise.
6251 * posix/geteuid.c: Likewise.
6252 * posix/getgid.c: Likewise.
6253 * posix/getgroups.c: Likewise.
6254 * posix/getlogin.c: Likewise.
6255 * posix/getlogin_r.c: Likewise.
6256 * posix/getpgid.c: Likewise.
6257 * posix/getpid.c: Likewise.
6258 * posix/getppid.c: Likewise.
6259 * posix/getresgid.c: Likewise.
6260 * posix/getresuid.c: Likewise.
6261 * posix/getsid.c: Likewise.
6262 * posix/getuid.c: Likewise.
6263 * posix/glob64.c: Likewise.
6264 * posix/nanosleep.c: Likewise.
6265 * posix/pathconf.c: Likewise.
6266 * posix/pause.c: Likewise.
6267 * posix/posix_madvise.c: Likewise.
6268 * posix/pread.c: Likewise.
6269 * posix/pread64.c: Likewise.
6270 * posix/pwrite.c: Likewise.
6271 * posix/pwrite64.c: Likewise.
6272 * posix/sched_getaffinity.c: Likewise.
6273 * posix/sched_getp.c: Likewise.
6274 * posix/sched_gets.c: Likewise.
6275 * posix/sched_primax.c: Likewise.
6276 * posix/sched_primin.c: Likewise.
6277 * posix/sched_rr_gi.c: Likewise.
6278 * posix/sched_setaffinity.c: Likewise.
6279 * posix/sched_setp.c: Likewise.
6280 * posix/sched_sets.c: Likewise.
6281 * posix/sched_yield.c: Likewise.
6282 * posix/setgid.c: Likewise.
6283 * posix/setlogin.c: Likewise.
6284 * posix/setpgid.c: Likewise.
6285 * posix/setresgid.c: Likewise.
6286 * posix/setresuid.c: Likewise.
6287 * posix/setsid.c: Likewise.
6288 * posix/setuid.c: Likewise.
6289 * posix/sleep.c: Likewise.
6290 * posix/spawni.c: Likewise.
6291 * posix/sysconf.c: Likewise.
6292 * posix/times.c: Likewise.
6293 * posix/wait.c: Likewise.
6294 * posix/wait3.c: Likewise.
6295 * posix/wait4.c: Likewise.
6296 * posix/waitpid.c: Likewise.
6297 * resolv/gai_sigqueue.c: Likewise.
6298 * resource/getpriority.c: Likewise.
6299 * resource/getrlimit.c: Likewise.
6300 * resource/getrusage.c: Likewise.
6301 * resource/nice.c: Likewise.
6302 * resource/setpriority.c: Likewise.
6303 * resource/setrlimit.c: Likewise.
6304 * resource/ulimit.c: Likewise.
6305 * rt/aio_cancel.c: Likewise.
6306 * rt/aio_fsync.c: Likewise.
6307 * rt/aio_read.c: Likewise.
6308 * rt/aio_sigqueue.c: Likewise.
6309 * rt/aio_suspend.c: Likewise.
6310 * rt/aio_write.c: Likewise.
6311 * rt/clock_getres.c: Likewise.
6312 * rt/clock_gettime.c: Likewise.
6313 * rt/clock_nanosleep.c: Likewise.
6314 * rt/clock_settime.c: Likewise.
6315 * rt/lio_listio.c: Likewise.
6316 * rt/mq_close.c: Likewise.
6317 * rt/mq_getattr.c: Likewise.
6318 * rt/mq_notify.c: Likewise.
6319 * rt/mq_open.c: Likewise.
6320 * rt/mq_receive.c: Likewise.
6321 * rt/mq_send.c: Likewise.
6322 * rt/mq_setattr.c: Likewise.
6323 * rt/mq_timedreceive.c: Likewise.
6324 * rt/mq_timedsend.c: Likewise.
6325 * rt/mq_unlink.c: Likewise.
6326 * rt/shm_open.c: Likewise.
6327 * rt/shm_unlink.c: Likewise.
6328 * rt/timer_create.c: Likewise.
6329 * rt/timer_delete.c: Likewise.
6330 * rt/timer_getoverr.c: Likewise.
6331 * rt/timer_gettime.c: Likewise.
6332 * rt/timer_settime.c: Likewise.
6333 * setjmp/__longjmp.c: Likewise.
6334 * setjmp/setjmp.c: Likewise.
6335 * signal/kill.c: Likewise.
6336 * signal/killpg.c: Likewise.
6337 * signal/raise.c: Likewise.
6338 * signal/sigaction.c: Likewise.
6339 * signal/sigaltstack.c: Likewise.
6340 * signal/sigblock.c: Likewise.
6341 * signal/sigignore.c: Likewise.
6342 * signal/sigintr.c: Likewise.
6343 * signal/signal.c: Likewise.
6344 * signal/sigpause.c: Likewise.
6345 * signal/sigpending.c: Likewise.
6346 * signal/sigqueue.c: Likewise.
6347 * signal/sigreturn.c: Likewise.
6348 * signal/sigset.c: Likewise.
6349 * signal/sigsetmask.c: Likewise.
6350 * signal/sigstack.c: Likewise.
6351 * signal/sigsuspend.c: Likewise.
6352 * signal/sigtimedwait.c: Likewise.
6353 * signal/sigvec.c: Likewise.
6354 * signal/sigwait.c: Likewise.
6355 * signal/sigwaitinfo.c: Likewise.
6356 * signal/sysv_signal.c: Likewise.
6357 * socket/accept.c: Likewise.
6358 * socket/accept4.c: Likewise.
6359 * socket/bind.c: Likewise.
6360 * socket/connect.c: Likewise.
6361 * socket/getpeername.c: Likewise.
6362 * socket/getsockname.c: Likewise.
6363 * socket/getsockopt.c: Likewise.
6364 * socket/isfdtype.c: Likewise.
6365 * socket/listen.c: Likewise.
6366 * socket/recv.c: Likewise.
6367 * socket/recvfrom.c: Likewise.
6368 * socket/recvmsg.c: Likewise.
6369 * socket/send.c: Likewise.
6370 * socket/sendmsg.c: Likewise.
6371 * socket/sendto.c: Likewise.
6372 * socket/setsockopt.c: Likewise.
6373 * socket/shutdown.c: Likewise.
6374 * socket/sockatmark.c: Likewise.
6375 * socket/socket.c: Likewise.
6376 * socket/socketpair.c: Likewise.
6377 * stdio-common/ctermid.c: Likewise.
6378 * stdio-common/cuserid.c: Likewise.
6379 * stdio-common/remove.c: Likewise.
6380 * stdio-common/rename.c: Likewise.
6381 * stdio-common/renameat.c: Likewise.
6382 * stdio-common/tempname.c: Likewise.
6383 * stdlib/getcontext.c: Likewise.
6384 * stdlib/makecontext.c: Likewise.
6385 * stdlib/setcontext.c: Likewise.
6386 * stdlib/swapcontext.c: Likewise.
6387 * stdlib/system.c: Likewise.
6388 * streams/fattach.c: Likewise.
6389 * streams/fdetach.c: Likewise.
6390 * streams/getmsg.c: Likewise.
6391 * streams/getpmsg.c: Likewise.
6392 * streams/putmsg.c: Likewise.
6393 * streams/putpmsg.c: Likewise.
6394 * sysdeps/unix/bsd/getpt.c: Likewise.
6395 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6396 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6397 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6400 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6401 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6402 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6403 * sysvipc/msgctl.c: Likewise.
6404 * sysvipc/msgget.c: Likewise.
6405 * sysvipc/msgrcv.c: Likewise.
6406 * sysvipc/msgsnd.c: Likewise.
6407 * sysvipc/semctl.c: Likewise.
6408 * sysvipc/semget.c: Likewise.
6409 * sysvipc/semop.c: Likewise.
6410 * sysvipc/semtimedop.c: Likewise.
6411 * sysvipc/shmat.c: Likewise.
6412 * sysvipc/shmctl.c: Likewise.
6413 * sysvipc/shmdt.c: Likewise.
6414 * sysvipc/shmget.c: Likewise.
6415 * termios/tcdrain.c: Likewise.
6416 * termios/tcflow.c: Likewise.
6417 * termios/tcflush.c: Likewise.
6418 * termios/tcgetattr.c: Likewise.
6419 * termios/tcgetpgrp.c: Likewise.
6420 * termios/tcsendbrk.c: Likewise.
6421 * termios/tcsetattr.c: Likewise.
6422 * termios/tcsetpgrp.c: Likewise.
6423 * time/adjtime.c: Likewise.
6424 * time/clock.c: Likewise.
6425 * time/getitimer.c: Likewise.
6426 * time/gettimeofday.c: Likewise.
6427 * time/setitimer.c: Likewise.
6428 * time/settimeofday.c: Likewise.
6429 * time/stime.c: Likewise.
6430 * time/time.c: Likewise.
6432 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6434 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6437 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6439 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6441 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6445 FE_TONEAREST before applying Dekker multiplication and Knuth
6446 addition. Clear inexact exceptions and check for exact zero
6448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6449 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6451 * math/libm-test.inc (fma_test): Add more tests.
6452 (fma_test_towardzero): Likewise.
6453 (fma_test_downward): Likewise.
6454 (fma_test_upward): Likewise.
6455 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6457 (libc_fesetround): New macro.
6458 (libc_fesetroundf): Likewise.
6459 (libc_fesetroundl): Likewise.
6460 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6462 (libc_fesetround_387): Likewise.
6463 (libc_fesetroundf): New macro.
6464 (libc_fesetround): Likewise.
6465 (libc_fesetroundl): Likewise.
6466 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6468 (libc_fesetroundf): New macro.
6469 (libc_fesetround): Likewise.
6470 (libc_fesetroundl): Likewise.
6471 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6472 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6473 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6475 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6476 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6478 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6479 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6481 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6485 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6486 integer constant usable in #if and use that to give value to enum
6488 (FE_DIVBYZERO): Likewise.
6489 (FE_UNDERFLOW): Likewise.
6490 (FE_OVERFLOW): Likewise.
6491 (FE_INVALID): Likewise.
6492 (FE_INVALID_SNAN): Likewise.
6493 (FE_INVALID_ISI): Likewise.
6494 (FE_INVALID_IDI): Likewise.
6495 (FE_INVALID_ZDZ): Likewise.
6496 (FE_INVALID_IMZ): Likewise.
6497 (FE_INVALID_COMPARE): Likewise.
6498 (FE_INVALID_SOFTWARE): Likewise.
6499 (FE_INVALID_SQRT): Likewise.
6500 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6501 (FE_TONEAREST): Likewise.
6502 (FE_TOWARDZERO): Likewise.
6503 (FE_UPWARD): Likewise.
6504 (FE_DOWNWARD): Likewise.
6505 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6506 (FE_DIVBYZERO): Likewise.
6507 (FE_OVERFLOW): Likewise.
6508 (FE_UNDERFLOW): Likewise.
6509 (FE_INEXACT): Likewise.
6510 (FE_TONEAREST): Likewise.
6511 (FE_DOWNWARD): Likewise.
6512 (FE_UPWARD): Likewise.
6513 (FE_TOWARDZERO): Likewise.
6514 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6515 (FE_UNDERFLOW): Likewise.
6516 (FE_OVERFLOW): Likewise.
6517 (FE_DIVBYZERO): Likewise.
6518 (FE_INVALID): Likewise.
6519 (FE_TONEAREST): Likewise.
6520 (FE_TOWARDZERO): Likewise.
6521 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6522 (FE_OVERFLOW): Likewise.
6523 (FE_UNDERFLOW): Likewise.
6524 (FE_DIVBYZERO): Likewise.
6525 (FE_INEXACT): Likewise.
6526 (FE_TONEAREST): Likewise.
6527 (FE_TOWARDZERO): Likewise.
6528 (FE_UPWARD): Likewise.
6529 (FE_DOWNWARD): Likewise.
6530 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6531 (FE_DIVBYZERO): Likewise.
6532 (FE_OVERFLOW): Likewise.
6533 (FE_UNDERFLOW): Likewise.
6534 (FE_INEXACT): Likewise.
6535 (FE_TONEAREST): Likewise.
6536 (FE_DOWNWARD): Likewise.
6537 (FE_UPWARD): Likewise.
6538 (FE_TOWARDZERO): Likewise.
6540 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6542 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6544 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6546 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6547 commands. Quote $PWD.
6548 (blacklist_exports): Don't use remove_newlines. Replace "declare
6550 (remove_newlines): Remove.
6552 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6554 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6555 * stdlib/stdlib.h (atof): Moved to ...
6556 * include/bits/stdlib-float.h: Here. New file.
6557 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6558 * stdlib/bits/stdlib-float.h: New file.
6559 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6561 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6564 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6566 * conform/conformtest.pl (@headers): Add fenv.h.
6567 * conform/data/fenv.h-data: New file.
6568 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6569 include of <math/fenv.h>.
6571 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6572 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6573 && !UNIX98]. Enables tests for XOPEN2K8.
6574 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6575 POSIX2008]: Likewise.
6577 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6578 (struct rusage): Do not expect type or its members.
6581 * math/math.h (FP_NAN): Define macro to integer constant usable in
6582 #if and use that to give value to enum constant.
6583 (FP_INFINITE): Likewise.
6584 (FP_ZERO): Likewise.
6585 (FP_SUBNORMAL): Likewise.
6586 (FP_NORMAL): Likewise.
6588 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6590 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6591 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6594 2012-11-02 Roland McGrath <roland@hack.frob.com>
6596 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6597 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6598 autoconf-time if not.
6599 * configure.in: Remove AC_PREREQ.
6601 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6603 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6604 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6605 of the internal implementation.
6607 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6609 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6610 except include of <misc/sys/syslog.h>.
6612 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6615 function returns with a NULL context exit with zero.
6617 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6619 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6621 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6623 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6624 (run_program_cmd): This.
6625 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6626 (tst_langinfo): New variable. Use it.
6628 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6630 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6631 floating point opcodes.
6633 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6635 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6638 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6640 * sysdeps/mach/hurd/powerpc: Remove directory.
6641 * sysdeps/mach/powerpc: Likewise.
6643 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6645 * scripts/check-local-headers.sh: Ignore c++ headers.
6647 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6649 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6650 __libc_cleanup_region_start argument.
6652 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6657 x * y using scaling, not as x * y + z.
6658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6659 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6660 * math/libm-test.inc (fma_test): Add more tests.
6661 (fma_test_towardzero): Likewise.
6662 (fma_test_downward): Likewise.
6663 (fma_test_upward): Likewise.
6665 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6667 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6669 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6671 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6674 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6676 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6678 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6685 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6688 Fix the order of the list for glibc 2.17.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6692 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6696 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6699 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6700 for low part of x being zero before using __atanl (y).
6701 * math/libm-test.inc (atan2_test): Add another test.
6703 * manual/install.texi (Configuring and compiling): Document
6704 general use of test-wrapper and test-wrapper-env.
6705 * INSTALL: Regenerated.
6707 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6708 (__fma): Do not extract and scale down low bits on after-rounding
6709 systems when result rounded to normal precision would have normal
6711 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6712 (__fmal): Do not extract and scale down low bits on after-rounding
6713 systems when result rounded to normal precision would have normal
6715 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6716 (__fmal): Do not extract and scale down low bits on after-rounding
6717 systems when result rounded to normal precision would have normal
6719 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6721 (fma_test): Add more tests.
6722 (fma_test_towardzero): Likewise.
6723 (fma_test_downward): Likewise.
6724 (fma_test_upward): Likewise.
6726 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6728 * sysdeps/i386/tininess.h: Renamed to ...
6729 * sysdeps/x86/tininess.h: This.
6730 * sysdeps/x86_64/tininess.h: Removed.
6732 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6734 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6735 input. Use $(build-program-cmd).
6736 ($(objpfx)tst-array1-static.out): Likewise.
6737 ($(objpfx)tst-array2.out): Likewise.
6738 ($(objpfx)tst-array3.out): Likewise.
6739 ($(objpfx)tst-array4.out): Likewise.
6740 ($(objpfx)tst-array5.out): Likewise.
6741 ($(objpfx)tst-array5-static.out): Likewise.
6743 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6745 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6748 * nss/nsswitch.h (nss_interface_function): Provide new
6749 macro for use with NSS functions.
6750 * grp/initgroups.c: Use new macro.
6751 * nss/getXXbyYY.c: Likewise.
6752 * nss/getXXbyYY_r.c: Likewise.
6753 * nss/getXXent.c: Likewise.
6754 * nss/getXXent_r.c: Likewise.
6755 * sysdeps/posix/getaddrinfo.c: Likewise.
6757 2012-10-30 Andreas Jaeger <aj@suse.de>
6759 * po/ru.po: Update Russion translation from translation project.
6761 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6766 result and shift together with sticky bit instead of replicating
6767 round-to-nearest rounding.
6768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6770 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6771 missing underflow exceptions.
6772 (fma_test_towardzero): Add more tests.
6773 (fma_test_downward): Likewise.
6774 (fma_test_upward): Likewise.
6777 * sysdeps/generic/tininess.h: New file.
6778 * sysdeps/i386/tininess.h: Likewise.
6779 * sysdeps/sh/tininess.h: Likewise.
6780 * sysdeps/x86_64/tininess.h: Likewise.
6781 * stdlib/tst-strtod-underflow.c: Likewise.
6782 * stdlib/tst-tininess.c: Likewise.
6783 * stdlib/strtod_l.c: Include <tininess.h>.
6784 (round_and_return): Do not set errno for exact underflow cases.
6785 Force an underflow exception when setting errno for underflow.
6786 Determine underflow based on rounding to normal precision if
6787 TININESS_AFTER_ROUNDING.
6788 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6789 ERANGE for exact underflow cases.
6790 * stdlib/Makefile (tests): Add tst-tininess and
6791 tst-strtod-underflow.
6792 ($(objpfx)tst-tininess): Use $(link-libm).
6793 ($(objpfx)tst-strtod-underflow): Likewise.
6795 2012-10-30 Andreas Jaeger <aj@suse.de>
6798 * elf/Makefile (tests): Remove conditional for have-initfini-array
6799 since this is now always required and the variable does not exist
6801 (tests-static): Likewise.
6802 (modules-names): Likewise.
6804 * po/eo.po: Add Esperanto translation from translation project.
6806 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6807 merged with constructor/destructor.
6808 (init_array): Likewise.
6809 * elf/tst-array2dep.c (fini_array): Likewise.
6810 (init_array): Likewise.
6812 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6814 * manual/message.texi: Delete @cartouche tags.
6816 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6818 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6820 * sysdeps/mach/hurd/fsync.c: Likewise.
6822 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6823 [_POSIX_REALTIME_SIGNALS]: Change condition to
6824 [_POSIX_REALTIME_SIGNALS > 0].
6826 2012-10-27 Andreas Jaeger <aj@suse.de>
6828 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6829 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6831 [__WORDSIZE != 64]: Likewise.
6833 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6835 * iconvdata/tst-table.sh: Remove ${SHELL}.
6836 * iconvdata/tst-tables.sh: Likewise.
6838 2012-10-25 David S. Miller <davem@davemloft.net>
6840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6841 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6846 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6847 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6848 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6851 2012-10-25 Roland McGrath <roland@hack.frob.com>
6853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6854 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6857 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6858 Jim Blandy <jimb@codesourcery.com>
6860 * scripts/cross-test-ssh.sh: New file.
6861 * manual/install.texi (Configuring and compiling): Document use of
6863 * INSTALL: Regenerated.
6865 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6867 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6870 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6872 * Makeconfig (run-program-prefix): Fix comment.
6874 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6875 Jim Blandy <jimb@codesourcery.com>
6877 * Makeconfig (test-wrapper): New variable,
6878 (test-wrapper-env): Likewise.
6879 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6880 (run-built-tests): Define to yes.
6881 (run-program-prefix): Use $(test-wrapper).
6882 (built-program-cmd): Likewise.
6883 * Rules (make-test-out): Use $(test-wrapper-env) and
6884 $(host-built-program-cmd).
6885 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6886 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6888 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6889 $(test-wrapper-env) to tst-rtld-load-self.sh.
6890 ($(objpfx)order2.out): Use $(test-wrapper).
6891 ($(objpfx)tst-initorder.out): Likewise.
6892 ($(objpfx)tst-initorder2.out): Likewise.
6893 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6894 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6895 (test_wrapper_env): New variable. Use it to run ld.so.
6896 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6897 Use it to run ld.so.
6898 (test_wrapper_env): Likewise.
6899 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6900 $(test-wrapper) to run-iconv-test.sh.
6901 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6902 (ICONV): Use $test_wrapper.
6903 * posix/Makefile ($(objpfx)globtest.out): Pass
6904 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6905 globtest.sh, not $(run-program-prefix).
6906 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6907 (test_wrapper): Likewise.
6908 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6909 set together with run_via_rtld_prefix.
6910 (run_program_prefix): Define in terms of test_wrapper and
6911 run_via_rtld_prefix.
6913 2012-10-24 Roland McGrath <roland@hack.frob.com>
6915 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6916 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6920 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6921 Declare __clock_getres, __clock_gettime, __clock_settime,
6922 __clock_nanosleep, and __clock_getcpuclockid.
6923 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6924 Remove librt_hidden_def (clock_gettime).
6925 * sysdeps/unix/clock_gettime.c: Likewise.
6926 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6927 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6928 * rt/clock_getres.c: Define __clock_getres as an alias.
6929 * sysdeps/posix/clock_getres.c: Likewise.
6930 * rt/clock_settime.c: Define __clock_settime as an alias.
6931 * sysdeps/unix/clock_settime.c: Likewise.
6932 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6933 * sysdeps/unix/clock_nanosleep.c: Likewise.
6934 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6935 * rt/clock-compat.c: New file.
6936 * rt/Makefile (librt-routines): Add clock-compat and move
6937 $(clock-routines) to ...
6938 (routines): ... here, new variable.
6939 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6940 Don't add get_clockfreq here.
6941 * rt/Versions (libc: GLIBC_2.17): New version set.
6942 Add clock_* symbols here.
6943 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6944 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6945 (GLIBC_2.17): Add clock_* symbols.
6946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6957 * NEWS: Mention the move.
6959 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6960 Use __open, __read, __close rather than their public counterparts.
6961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6962 (__get_clockfreq_via_cpuinfo): Likewise.
6963 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6964 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6966 * config.h.in (HAVE_IFUNC): New #undef.
6967 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6969 * configure: Regenerated.
6971 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6973 * configure.in: Move READELF check to start of file.
6974 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6975 libc_cv_asm_gnu_indirect_function in the process.
6976 * configure: Regenerated.
6978 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6980 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6981 send the output to /dev/null.
6982 (libc_cv_cc_with_libunwind): Likewise.
6983 (libc_cv_as_noexecstack): Likewise.
6984 * configure: Regenerate.
6986 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6988 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6990 * posix/globtest.sh (TMPDIR): Do not set.
6991 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6992 (testout): Likewise.
6994 2012-10-24 Andreas Jaeger <aj@suse.de>
6996 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6997 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6998 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6999 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7000 posix_fadvise64, posix_fallocate64.
7002 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7003 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7004 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7006 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7008 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7011 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7012 <bits/fcntl-linux.h>.
7013 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7016 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7017 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7018 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7019 [__WORDSIZE != 64]: Likewise.
7021 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7023 * Makeconfig (run-built-tests): New variable.
7024 * Rules [$(cross-compiling) = yes]: Change condition to
7025 [$(run-built-tests) = no].
7026 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7027 to [$(run-built-tests) = yes].
7028 * elf/Makefile [$(cross-compiling) = no]: Likewise
7029 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7030 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7031 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7032 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7033 * io/Makefile [$(cross-compiling) = no]: Likewise.
7034 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7035 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7036 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7037 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7038 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7039 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7040 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7041 * string/Makefile [$(cross-compiling) = no]: Likewise.
7043 * posix/Makefile ($(objpfx)globtest.out): Pass
7044 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7045 $(rtld-installed-name).
7046 * posix/globtest.sh (elf_objpfx): Remove variable.
7047 (rtld_installed_name): Likewise.
7048 (library_path): Likewise.
7049 (run_program_prefix): New variable. Use for running globtest
7052 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7053 Joseph Myers <joseph@codesourcery.com>
7055 * Makeconfig (host-built-program-cmd): New variable.
7056 * elf/Makefile (tst-stackguard1-ARGS): Use
7057 $(host-built-program-cmd).
7058 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7059 (tst-spawn-ARGS): Likewise.
7060 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7062 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7063 Jim Blandy <jimb@codesourcery.com>
7065 * Makeconfig (run-via-rtld-prefix): New variable.
7066 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7067 (built-program-cmd): Likewise.
7069 2012-10-22 Andreas Jaeger <aj@suse.de>
7071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7072 __O_RSYNC if it exists, otherwise to O_SYNC.
7074 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7075 Joseph Myers <joseph@codesourcery.com>
7077 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7079 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7081 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7084 2012-10-22 Andreas Jaeger <aj@suse.de>
7086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7094 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7101 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7102 Joseph Myers <joseph@codesourcery.com>
7104 * config.make.in (NM): New variable.
7106 2012-10-21 Andreas Jaeger <aj@suse.de>
7108 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7109 definitions and declarations that are provided by
7110 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7112 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7115 * elf/Makefile (tests-static): Add tst-leaks1-static.
7116 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7117 ($(objpfx)tst-leaks1-static): New rule.
7118 ($(objpfx)tst-leaks1-static-mem): Likewise.
7119 (tst-leaks1-static-ENV): New macro.
7120 * elf/dl-open.c (dl_open_worker): Check the main application
7121 only if SHARED is defined.
7122 * elf/tst-leaks1-static.c: New file.
7124 2012-10-20 Andreas Jaeger <aj@suse.de>
7126 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7127 generic values for Linux.
7128 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7129 and declarations that are provided by <bits/fcntl-linux.h> and
7130 include <bits/fcntl-linux.h>.
7131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7134 2012-10-20 Roland McGrath <roland@hack.frob.com>
7136 * io/fcntl.h: Move include of <bits/types.h> to the top and
7137 include it unconditionally.
7139 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7141 * wcsmbs/Makefile (tests-ifunc): New variable.
7142 (tests): Add $(tests-ifunc).
7143 * wcsmbs/test-wcschr-ifunc.c: New file.
7144 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7145 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7146 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7147 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7148 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7150 * string/Makefile (tests-ifunc): New variable.
7151 (tests): Add $(tests-ifunc).
7152 * string/test-memccpy.c (TEST_NAME): New macro.
7153 * string/test-memchr.c (TEST_NAME): Likewise.
7154 * string/test-memcmp.c (TEST_NAME): Likewise.
7155 * string/test-memcpy.c (TEST_NAME): Likewise.
7156 * string/test-memmem.c (TEST_NAME): Likewise.
7157 * string/test-memmove.c (TEST_NAME): Likewise.
7158 * string/test-memset.c (TEST_NAME): Likewise.
7159 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7160 * string/test-stpcpy.c (TEST_NAME): Likewise.
7161 * string/test-stpncpy.c (TEST_NAME): Likewise.
7162 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7163 * string/test-strcasestr.c (TEST_NAME): Likewise.
7164 * string/test-strcat.c (TEST_NAME): Likewise.
7165 * string/test-strchr.c (TEST_NAME): Likewise.
7166 * string/test-strcmp.c(TEST_NAME): Likewise.
7167 * string/test-strcpy.c (TEST_NAME): Likewise.
7168 * string/test-strcspn.c (TEST_NAME): Likewise.
7169 * string/test-strlen.c (TEST_NAME): Likewise.
7170 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7171 * string/test-strncmp.c (TEST_NAME): Likewise.
7172 * string/test-strncpy.c (TEST_NAME): Likewise.
7173 * string/test-strnlen.c (TEST_NAME): Likewise.
7174 * string/test-strpbrk.c (TEST_NAME): Likewise.
7175 * string/test-strrchr.c (TEST_NAME): Likewise.
7176 * string/test-strspn.c (TEST_NAME): Likewise.
7177 * string/test-strstr.c (TEST_NAME): Likewise.
7178 * string/test-bcopy-ifunc.c: New file.
7179 * string/test-bzero-ifunc.c: Likewise.
7180 * string/test-memccpy-ifunc.c: Likewise.
7181 * string/test-memchr-ifunc.c: Likewise.
7182 * string/test-memcmp-ifunc.c: Likewise.
7183 * string/test-memcpy-ifunc.c: Likewise.
7184 * string/test-memmem-ifunc.c: Likewise.
7185 * string/test-memmove-ifunc.c: Likewise.
7186 * string/test-mempcpy-ifunc.c: Likewise.
7187 * string/test-memset-ifunc.c: Likewise.
7188 * string/test-rawmemchr-ifunc.c: Likewise.
7189 * string/test-stpcpy-ifunc.c: Likewise.
7190 * string/test-stpncpy-ifunc.c: Likewise.
7191 * string/test-strcasecmp-ifunc.c: Likewise.
7192 * string/test-strcasestr-ifunc.c: Likewise.
7193 * string/test-strcat-ifunc.c: Likewise.
7194 * string/test-strchr-ifunc.c: Likewise.
7195 * string/test-strchrnul-ifunc.c: Likewise.
7196 * string/test-strcmp-ifunc.c: Likewise.
7197 * string/test-strcpy-ifunc.c: Likewise.
7198 * string/test-strcspn-ifunc.c: Likewise.
7199 * string/test-strlen-ifunc.c: Likewise.
7200 * string/test-strncasecmp-ifunc.c: Likewise.
7201 * string/test-strncat-ifunc.c: Likewise.
7202 * string/test-strncmp-ifunc.c: Likewise.
7203 * string/test-strncpy-ifunc.c: Likewise.
7204 * string/test-strnlen-ifunc.c: Likewise.
7205 * string/test-strpbrk-ifunc.c: Likewise.
7206 * string/test-strrchr-ifunc.c: Likewise.
7207 * string/test-strspn-ifunc.c: Likewise.
7208 * string/test-strstr-ifunc.c: Likewise.
7210 * debug/Makefile (tests-ifunc): New variable.
7211 (tests): Add $(tests-ifunc).
7212 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7213 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7214 * debug/test-stpcpy_chk-ifunc.c: New file.
7215 * debug/test-strcpy_chk-ifunc.c: Likewise.
7217 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7220 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7221 header is not read in.
7223 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7225 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7226 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7227 directly. Pass built executable to script as
7228 $(built-program-cmd).
7229 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7230 $testprogram without using LD_LIBRARY_PATH and $ldso.
7232 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7233 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7234 $(rtld-installed-name).
7235 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7236 (rtld_installed_name): Likewise.
7237 (library_path): Likewise.
7238 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7239 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7240 $(run-program-prefix) to tst-tables.sh.
7241 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7242 it to run tst-table-from and tst-table-to.
7243 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7244 Pass it to tst-table.sh.
7245 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7246 $(run-program-prefix) to tst-gettext.sh.
7247 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7249 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7251 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7253 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7254 to run tst-gettext2.
7255 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7256 to run tst-translit.
7257 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7258 $(run-program-prefix) to tst-mtrace.sh.
7259 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7261 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7262 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7263 $(rtld-installed-name).
7264 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7265 (rtld_installed_name): Likewise.
7266 (run_program_prefix): New variable. Use it to run wordexp-test.
7268 * Makeconfig (ARCH): Remove all definitions.
7269 (machine): Likewise.
7270 [ARCH]: Remove conditional code.
7271 [!objdir]: Give error.
7272 [!objdir] (objpfx): Remove.
7273 [!objdir] (common-objpfx): Likewise.
7274 [!objdir] (common-objdir): Likewise.
7275 * configure.in (config_makefile): Remove. Hardcode Makefile in
7276 AC_CONFIG_FILES call.
7277 * configure: Regenerated.
7280 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7282 (testout): Likewise.
7284 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7285 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7286 $(rtld-installed-name).
7287 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7288 (rtld_installed_name): Likwise.
7289 (runit): Remove function.
7290 (run_getconf): New variable, Use it for running getconf binary.
7292 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7295 * string/test-memmem.c (check_result): New function.
7296 (do_one_test): Use it.
7297 (check1): New function.
7298 (test_main): Use it.
7300 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7302 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7304 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7306 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7307 (_G_LSEEK64): Likewise.
7308 (_G_MMAP64): Likewise.
7309 (_G_FSTAT64): Likewise.
7310 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7311 (_G_LSEEK64): Likewise.
7312 (_G_MMAP64): Likewise.
7313 (_G_FSTAT64): Likewise.
7314 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7315 unconditional. Call __mmap64 directly.
7316 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7317 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7319 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7320 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7322 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7323 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7325 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7326 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7328 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7329 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7331 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7332 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7333 __fxstat64 directly.
7334 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7335 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7337 (freopen64) [!_G_OPEN64]: Remove conditional code.
7338 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7340 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7341 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7343 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7344 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7346 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7347 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7349 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7350 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7352 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7353 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7355 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7356 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7358 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7360 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7363 * manual/memory.texi (Malloc Tunable Parameters): Add note
7364 about free list pointers overwriting some perturb bytes.
7365 Wording suggested by Roland McGrath.
7367 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7369 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7370 (lgamma_test): Likewise.
7371 (tgamma_test): Likewise.
7373 2012-10-16 Florian Weimer <fweimer@redhat.com>
7376 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7377 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7379 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7381 * NEWS: Mention BZ #14716.
7382 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7383 when removing AVAILABLE1_USES_J macro.
7385 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7387 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7388 (__bswap_64): __uint64_t for unsigned 64-bit int.
7390 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7392 * include/string.h (memmem): Declare libc hidden alias.
7393 * string/memmem.c (memmem): Define libc hidden alias.
7394 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7395 __read, __close instead of open, read, close.
7397 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7399 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7400 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7402 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7403 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7404 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7406 (__rawmemchr_sse2): Likewise.
7407 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7408 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7409 (__strchr_sse2): Likewise.
7410 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7411 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7412 (__strcasecmp_sse2): Likewise.
7413 (__strncasecmp_sse2): Likewise.
7414 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7415 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7416 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7417 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7418 (__strrchr_sse2): Likewise.
7419 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7421 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7422 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7423 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7424 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7425 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7426 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7427 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7428 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7429 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7430 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7431 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7432 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7433 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7434 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7435 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7436 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7437 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7438 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7439 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7440 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7441 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7442 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7443 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7444 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7445 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7446 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7447 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7448 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7449 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7450 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7452 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7454 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7455 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7456 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7457 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7459 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7461 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7462 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7463 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7464 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7467 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7468 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7469 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7470 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7471 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7472 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7473 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7474 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7475 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7476 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7477 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7478 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7479 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7480 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7481 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7482 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7483 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7484 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7485 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7486 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7487 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7488 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7490 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7491 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7493 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7494 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7495 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7496 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7498 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7500 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7508 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7509 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7510 * include/ifunc-impl-list.h: New file.
7511 * misc/ifunc-impl-list.c: Likewise.
7512 * misc/Makefile (routines): Add ifunc-impl-list.
7513 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7514 * string/test-string.h: Include <ifunc-impl-list.h>.
7515 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7516 impl_array): New variables.
7517 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7519 (test_init): Call __libc_ifunc_impl_list to initialize
7520 func_list if TEST_IFUNC and TEST_NAME are defined.
7522 * string/Makefile (strop-tests): Add bcopy and bzero.
7523 * string/test-bcopy.c: New file.
7524 * string/test-bzero.c: Likewise.
7525 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7527 * string/test-memset.c: Support bzero test if TEST_BZERO is
7529 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7531 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7533 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7536 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7538 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7539 * configure: Regenerated.
7541 * Makeconfig (+link-static-before-libc): Don't include
7542 $(link-static-libc).
7544 * libio/libio.h (_IO_pos_t): Remove.
7546 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7548 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7551 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7553 * crypt/crypt-entry.c: Include fips-private.h.
7554 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7555 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7556 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7557 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7559 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7561 * crypt/crypt-private.h: Include stdbool.h.
7562 (_ufc_setup_salt_r): Return bool.
7563 * crypt/crypt-entry.c: Include errno.h.
7564 (__crypt_r): Return NULL with EINVAL for bad salt.
7565 * crypt/crypt_util.c (bad_for_salt): New.
7566 (_ufc_setup_salt_r): Check that salt is long enough and within
7567 the specified alphabet.
7568 * crypt/badsalttest.c: New file.
7569 * crypt/Makefile (tests): Add it.
7570 ($(objpfx)badsalttest): New.
7572 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7574 * NEWS: Add entry for BZ #14602.
7576 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7578 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7580 * math/libm-test.inc: Update comment listing what functions and
7582 (isgreater_test): New function.
7583 (isgreaterequal_test): Likewise.
7584 (isless_test): Likewise.
7585 (islessequal_test): Likewise.
7586 (islessgreater_test): Likewise.
7587 (isunordered_test): Likewise.
7588 (main): Call the new functions.
7590 2012-10-09 Roland McGrath <roland@hack.frob.com>
7592 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7593 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7594 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7595 * sysdeps/i386/configure: Regenerated.
7596 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7597 * sysdeps/mach/configure: Regenerated.
7598 * sysdeps/mach/hurd/configure: Regenerated.
7599 * sysdeps/powerpc/configure: Regenerated.
7600 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7601 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7602 * sysdeps/s390/s390-32/configure: Regenerated.
7603 * sysdeps/s390/s390-64/configure: Regenerated.
7604 * sysdeps/sh/configure: Regenerated.
7605 * sysdeps/sparc/configure: Regenerated.
7606 * sysdeps/unix/sysv/linux/configure: Regenerated.
7607 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7608 * sysdeps/x86_64/configure: Regenerated.
7610 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7611 defined. Don't check if MAP is NULL.
7613 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7615 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7616 (_G_stat64): Likewise.
7617 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7618 (_G_stat64): Likewise.
7619 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7620 instead of struct _G_stat64.
7621 * libio/fileops.c (mmap_remap_check): Likewise.
7622 (decide_maybe_mmap): Likewise.
7623 (_IO_new_file_seekoff): Likewise.
7624 (_IO_file_stat): Likewise.
7625 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7627 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7628 instead of struct _G_stat64.
7629 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7631 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7634 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7636 (CHECK_EOL): New macro.
7637 (two_way_short_needle): Check beginning of haystack for EOL. Use
7639 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7640 Replace with CHECK_EOL.
7641 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7642 Replace with CHECK_EOL.
7644 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7646 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7648 * math/libm-test.inc: Update comment listing what functions and
7650 (finite_test): New function.
7651 (isinf_test): Likewise.
7652 (isnan_test): Likewise.
7653 (fpclassify_test): Test subnormal input.
7654 (isfinite_test): Likewise.
7655 (isnormal_test): Likewise.
7656 (main): Call the new functions.
7658 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7661 * Makerules (%.dynsym): Force C locale when running
7662 $(OBJDUMP) --dynamic-syms.
7664 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7666 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7669 2012-10-06 David S. Miller <davem@davemloft.net>
7671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7672 upper 32-bits of the length value in %o2 since we use branch-on-register
7673 tests which consider the entire 64-bit register.
7675 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7677 * string/test-strstr.c (check2): Add a test for page boundary.
7679 2012-10-05 David S. Miller <davem@davemloft.net>
7681 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7682 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7684 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7686 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7687 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7688 and bzero when HWCAP_SPARC_CRYPTO is present.
7690 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7693 * string/test-strstr.c (check2): New function.
7694 (test_main): Call check2.
7696 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7698 * string/bug-strcasestr1.c (do_test): Moved to ...
7699 * string/test-strcasestr.c (check1): Here. New function.
7700 (do_one_test): Break out result checking code into ...
7701 (check_result): This. New function.
7702 (do_one_test): Call check_result.
7703 (test_main): Call check1.
7704 * string/bug-strchr1.c (do_test): Moved to ...
7705 * string/test-strchr.c (check1): Here. New function.
7706 (do_one_test): Break out result checking code into ...
7707 (check_result): This. New function.
7708 (do_one_test): Call check_result.
7709 (test_main): Call check1.
7710 * string/bug-strstr1.c (main): Moved to ...
7711 * string/test-strstr.c (check1): Here. New function.
7712 (do_one_test): Break out result checking code into ...
7713 (check_result): This. New function.
7714 (do_one_test): Call check_result.
7715 (test_main): Call check1.
7716 * string/bug-strcasestr1.c: Removed.
7717 * string/bug-strchr1.c: Likewise.
7718 * string/bug-strstr1.c: Likewise.
7720 * elf/Makefile (dl-routines): Add hwcaps.
7721 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7722 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7723 (_dl_important_hwcaps): Moved to ...
7724 * elf/dl-hwcaps.c: Here. New file.
7725 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7728 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7729 if IS_IN_rtld isn't defined.
7731 * elf/dl-support.c (_dl_sysinfo_map): New.
7732 Include "get-dynamic-info.h" and "setup-vdso.h".
7733 (_dl_non_dynamic_init): Call setup_vdso.
7734 * elf/dynamic-link.h: Don't include <assert.h>.
7735 (elf_get_dynamic_info): Moved to ...
7736 * elf/get-dynamic-info.h: Here. New file.
7737 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7738 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7739 * elf/setup-vdso.h: Here. New file.
7740 * elf/rtld.c: Include "setup-vdso.h".
7741 (dl_main): Call setup_vdso.
7743 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7745 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7746 creal in comment listing functions tested. List finite, isinf,
7747 isnan, isless, islessequal, isgreater, isgreaterequal,
7748 islessgreater, isunordered, lgamma_r and pow10 as functions and
7749 macros not tested. Mention which functions not tested are aliases
7750 for other functions. Fix typo. Note that signs of NaNs are not
7753 * scripts/config.guess: Update from config.git.
7754 * scripts/config.sub: Likewise.
7756 2012-10-04 Roland McGrath <roland@hack.frob.com>
7758 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7759 * misc/madvise.c (madvise): Renamed to __madvise.
7760 Make madvise a weak alias.
7761 * include/sys/mman.h: Declare __madvise.
7762 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7763 * sysdeps/unix/syscalls.list
7764 (madvise): Make __madvise the strong name, and madvise a weak alias.
7765 * sysdeps/unix/sysv/linux/syscalls.list
7766 (madvise, mmap): Remove redundant entries.
7767 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7768 * malloc/malloc.c (mtrim): Likewise.
7769 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7771 2012-10-03 Roland McGrath <roland@hack.frob.com>
7773 * sysdeps/mach/hurd/dl-cache.c: File removed.
7774 * config.h.in (USE_LDCONFIG): New #undef.
7775 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7776 * configure: Regenerated.
7777 * elf/Makefile (dl-routines): Add dl-cache only under
7778 [$(use-ldconfig) = yes].
7779 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7780 cache on [USE_LDCONFIG].
7781 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7783 * elf/rtld.c (dl_main): Likewise.
7785 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7787 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7788 _SC_LEVEL4_CACHE_LINESIZE.
7790 2012-10-03 Roland McGrath <roland@hack.frob.com>
7792 * sysdeps/unix/bsd/confstr.h: File removed.
7794 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7796 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7799 2012-10-02 Roland McGrath <roland@hack.frob.com>
7801 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7802 Make 'mapoff' field ElfW(Off) rather than off_t.
7804 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7806 * nscd/Makefile: Remove nscd-cflags and all its users.
7807 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7808 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7811 * malloc.c (malloc_printerr): Clarify error message.
7813 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7817 Set bit_FMA_Usable if FMA is supported.
7818 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7820 (bit_FMA4_Usable): Updated.
7821 (index_FMA_Usable): New macro.
7822 (CPUID_FMA): Likewise
7823 (HAS_FMA): Defined with bit_FMA_Usable.
7825 2012-10-01 Roland McGrath <roland@hack.frob.com>
7827 * bits/types.h (__swblk_t): Type removed.
7828 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7829 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7831 (__SWBLK_T_TYPE): Likewise.
7832 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7833 (__SWBLK_T_TYPE): Likewise.
7834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7835 (__SWBLK_T_TYPE): Likewise.
7836 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7837 (__SWBLK_T_TYPE): Likewise.
7839 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7840 Honza Horak <hhorak@redhat.com>
7842 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7843 (xdr_mapname): Use YPMAXMAP as maxsize.
7844 (xdr_peername): Use YPMAXPEER as maxsize.
7845 (xdr_keydat): Use YPAXRECORD as maxsize.
7846 (xdr_valdat): Use YPMAXRECORD as maxsize.
7848 2012-10-01 Roland McGrath <roland@hack.frob.com>
7850 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7852 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7853 * csu/init-first.c: ... here.
7854 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7855 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7856 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7857 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7858 * sysdeps/i386/init-first.c: File removed.
7859 * sysdeps/sh/init-first.c: File removed.
7861 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7865 if x * y might underflow to zero and z is zero.
7866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7868 * math/libm-test.inc (min_subnorm_value): New variable.
7869 (fma_test): Add more tests.
7870 (fma_test_towardzero): Likewise.
7871 (fma_test_downward): Likewise
7872 (fma_test_upward): Likewise.
7873 (initialize): Set min_subnorm_value.
7875 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7880 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7881 mode for addition resulting in exact zero.
7882 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7885 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7886 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7887 * math/libm-test.inc (fma_test): Add more tests.
7888 (fma_test_towardzero): New function.
7889 (fma_test_downward): Likewise.
7890 (fma_test_upward): Likewise.
7891 (main): Call the new functions.
7893 2012-09-28 David S. Miller <davem@davemloft.net>
7895 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7897 2012-09-28 Roland McGrath <roland@hack.frob.com>
7899 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7902 * sysdeps/gnu/_G_config.h: Moved to ...
7903 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7904 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7905 * sysdeps/generic/_G_config.h: ... here.
7907 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7909 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7911 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7912 Conditionalize target on [libnss_test1.so-version].
7914 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7916 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7917 (elfobjdir): Move out of conditionals.
7919 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7920 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7921 (__nss_lookup_function): Conditionalize label remove_from_tree on
7922 [!DO_STATIC_NSS || SHARED], matching its only use.
7924 2012-09-28 David S. Miller <davem@davemloft.net>
7926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7927 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7929 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7931 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7933 when HWCAP_SPARC_CRYPTO is present.
7935 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7937 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7939 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7942 * stdio-common/vfprintf.c (process_string_arg): Revert
7945 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7947 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7949 * stdio-common/tst-sprintf.c: Include <locale.h>
7950 (main): Test sprintf's handling of incomplete multibyte
7953 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7955 * elf/dl-runtime.c (VERSYMIDX): Removed.
7956 * elf/dl-version.c (VERSYMIDX): Likewise.
7957 * elf/do-rel.h (VERSYMIDX): Likewise.
7959 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7960 * elf/rtld.c (VALIDX): Likewise.
7961 (ADDRIDX): Likewise.
7962 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7963 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7964 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7965 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7967 (ADDRIDX): Likewise.
7969 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7971 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7973 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7976 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7978 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7979 addresses are in the same scope as 192.0.2/24.
7980 * posix/gai.conf: Document new scope table defaults.
7982 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7985 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7986 for ftell. Compute offsets from write pointers instead.
7987 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7989 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7992 * libio/Makefile (tests): New test case tst-fseek.
7993 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7994 combination works in wide mode.
7995 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7996 state when the external buffer state changes.
7998 2012-09-27 David S. Miller <davem@davemloft.net>
8001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8002 pass reloc->r_addend in as the 'high' argument to
8003 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8007 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8009 * rt/tst-aio2.c: Include <pthread.h>.
8010 * rt/tst-aio3.c: Likewise.
8012 2012-09-27 Steve Ellcey <sellcey@mips.com>
8014 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8016 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8018 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8019 contents on [SHARED].
8021 2012-09-26 Marek Polacek <polacek@redhat.com>
8025 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8026 for C++ and GCC <4.3 as well as for non GCC compilers.
8028 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8032 2012-09-25 Roland McGrath <roland@hack.frob.com>
8034 * Makefile.in (all, install): Declare with .PHONY.
8035 Reported by Michael Hope <michael.hope@linaro.org>.
8037 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8039 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8040 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8042 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8044 (sydep_routines): Add the new and the internal functions.
8045 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8046 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8048 (GLIBC_2.17): Add the new function.
8049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8050 (GLIBC_2.17): Likewise.
8051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8052 (GLIBC_2.17): Likewise.
8053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8054 (GLIBC_2.17): Likewise.
8055 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8057 2012-09-25 Alan Modra <amodra@gmail.com>
8059 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8060 Add release barrier before setting once_control to say
8061 initialisation is done. Add hints on lwarx. Use macro in
8063 (clear_once_control): Add release barrier.
8065 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8068 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8070 * math/s_clog10.c (__clog10): Likewise.
8071 * math/s_clog10f.c (__clog10f): Likewise.
8072 * math/s_clog10l.c (__clog10l): Likewise.
8073 * math/s_clogf.c (__clogf): Likewise.
8074 * math/s_clogl.c (__clogl): Likewise.
8075 * math/Makefile (libm-calls): Add x2y2m1.
8076 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8077 (__x2y2m1): Likewise.
8078 (__x2y2m1l): Likewise.
8079 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8080 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8081 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8082 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8083 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8084 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8085 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8086 * sysdeps/i386/fpu/libm-test-ulps: Update.
8087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8090 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8091 int as type of variable DEPTH.
8092 (glob): Use size_t instead of int as type of variables NEWCOUNT
8095 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8097 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8099 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8100 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8101 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8102 macros for using routine as __sincosf_ia32.
8103 Use macro for function declaration and weak_alias.
8104 * sysdeps/i386/fpu/libm-test-ulps: Update.
8106 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8109 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8111 * math/s_cexpf.c (__cexpf): Likewise.
8112 * math/s_csinf.c (__csinf): Likewise.
8113 * math/s_csinhf.c (__csinhf): Likewise.
8114 * math/s_ctanf.c (__ctanf): Likewise.
8115 * math/s_ctanhf.c (__ctanhf): Likewise.
8116 * math/s_ccosh.c (__ccoshf): Likewise.
8117 * math/s_cexp.c (__cexpl): Likewise.
8118 * math/s_csin.c (__csin): Likewise.
8119 * math/s_csinh.c (__csinh): Likewise.
8120 * math/s_ctan.c (__ctan): Likewise.
8121 * math/s_ctanh.c (ctanh): Likewise.
8122 * math/s_ccoshl.c (__ccoshl): Likewise.
8123 * math/s_cexpl.c (__cexpl): Likewise.
8124 * math/s_csinl.c (__csinl): Likewise.
8125 * math/s_csinhl.c (__csinhl): Likewise.
8126 * math/s_ctanl.c (__ctanl): Likewise.
8127 * math/s_ctanhl.c (__ctanhl): Likewise.
8129 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8131 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8132 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8133 (_IO_off_t): Define to __off_t, not _G_off_t.
8134 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8135 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8136 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8137 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8138 type of __dummy and __dummy2 fields.
8139 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8140 (_G_ssize_t): Likewise.
8141 (_G_off_t): Likewise.
8142 (_G_pid_t): Likewise.
8143 (_G_uid_t): Likewise.
8144 (_G_wchar_t): Likewise.
8145 (_G_wint_t): Likewise.
8146 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8147 (_G_ssize_t): Likewise.
8148 (_G_off_t): Likewise.
8149 (_G_pid_t): Likewise.
8150 (_G_uid_t): Likewise.
8151 (_G_wchar_t): Likewise.
8152 (_G_wint_t): Likewise.
8153 * sysdeps/mach/hurd/_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.
8161 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8163 * malloc/arena.c: Include malloc-sysdep.h.
8164 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8165 is sufficient to shrink the heap or an unmap is needed.
8166 * sysdeps/generic/malloc-sysdep.h: New file. Define
8167 new function check_may_shrink_heap.
8168 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8169 new function check_may_shrink_heap.
8171 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8173 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8176 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8178 * catgets/test-gencat.sh: Add "set -e".
8179 * elf/tst-pathopt.sh: Likewise.
8180 * grp/tst_fgetgrent.sh: Likewise.
8181 * iconvdata/run-iconv-test.sh: Likewise.
8182 * intl/tst-gettext.sh: Likewise.
8183 * intl/tst-gettext2.sh: Likewise.
8184 * intl/tst-gettext4.sh: Likewise.
8185 * intl/tst-gettext6.sh: Likewise.
8186 * intl/tst-translit.sh: Likewise.
8187 * io/ftwtest-sh: Likewise.
8188 * libio/test-freopen.sh: Likewise.
8189 * malloc/tst-mtrace.sh: Likewise.
8190 * posix/globtest.sh: Likewise.
8191 * posix/tst-getconf.sh: Likewise.
8192 * posix/wordexp-tst.sh: Likewise.
8193 * stdio-common/tst-printf.sh: Likewise.
8194 * stdio-common/tst-unbputc.sh: Likewise.
8195 * stdlib/tst-fmtmsg.sh: Likewise.
8196 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8197 * catgets/Makefile: Do not specify -e option when running
8198 testsuite shell scripts.
8199 * elf/Makefile: Likewise.
8200 * grp/Makefile: Likewise.
8201 * iconvdata/Makefile: Likewise.
8202 * intl/Makefile: Likewise.
8203 * io/Makefile: Likewise.
8204 * libio/Makefile: Likewise.
8205 * malloc/Makefile: Likewise.
8206 * posix/Makefile: Likewise.
8207 * stdio-common/Makefile: Likewise.
8208 * stdlib/Makefile: Likewise.
8209 * sysdeps/x86_64/Makefile: Likewise.
8211 * io/ftwtest-sh: Add copyright header.
8212 * posix/globtest.sh: Likewise.
8213 * posix/tst-getconf.sh: Likewise.
8214 * posix/wordexp-tst.sh: Likewise.
8215 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8217 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8220 * Makeconfig (+link): Defined as $(+link-static) if
8221 $(build-shared) isn't yes.
8222 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8224 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8226 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8229 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8230 new chunk size with MALLOC_ALIGN_MASK.
8232 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8235 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8237 (__printf_fphex): Determine rounding using get_rounding_mode and
8239 * stdio-common/tst-printf-round.c (struct hex_test): New
8241 (hex_tests): New variable.
8242 (test_hex_in_one_mode): New function.
8243 (do_test): Also run tests for hex float output.
8245 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8247 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8248 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8249 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8250 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8251 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8252 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8253 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8254 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8256 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8258 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8259 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8260 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8261 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8263 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8266 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8268 * elf/tst-rtld-load-self.sh: New test.
8269 * elf/Makefile: Run it.
8271 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8273 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8274 (tst-writev-ENV): Remove.
8275 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8277 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8279 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8281 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8283 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8285 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8287 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8288 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8289 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8292 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8295 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8296 * config.make.in (have-cpp-asm-debuginfo): Removed.
8297 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8298 * configure: Regenerated.
8300 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8303 * stdio-common/printf_fp.c: Include <stdbool.h> and
8305 (___printf_fp): Determine rounding using get_rounding_mode and
8307 * stdio-common/tst-printf-round.c: New file.
8308 * stdio-common/Makefile (tests): Add tst-printf-round.
8309 (link-libm): New variable.
8310 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8312 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8315 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8316 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8318 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8321 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8323 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8324 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8325 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8326 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8328 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8331 * include/rounding-mode.h: New file.
8332 * sysdeps/generic/get-rounding-mode.h: Likewise.
8333 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8334 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8335 (MAX_VALUE): New macro.
8336 (MIN_VALUE): Likewise.
8337 (overflow_value): New function.
8338 (underflow_value): Likewise.
8339 (round_and_return): Use overflow_value and underflow_value to
8340 determine return values in overflow and underflow cases. Use
8341 round_away to determine rounding depending on rounding mode.
8342 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8343 determine return values in overflow and underflow cases.
8344 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8345 (struct test_results): New structure.
8346 (struct test): Use struct test_results to store expected results
8347 for all rounding modes.
8348 (TEST): Include expected results for all rounding modes.
8349 (test_in_one_mode): New function.
8350 (do_test): Use test_in_one_mode to compute and check results.
8351 Check results for all rounding modes.
8352 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8355 2012-12-09 Allan McRae <allan@archlinux.org>
8357 * sysdeps/i386/fpu/libm-test-ulps: Update
8359 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8361 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8362 (_G_int32_t): Likewise.
8363 (_G_uint16_t): Likewise.
8364 (_G_uint32_t): Likewise.
8365 (_G_HAVE_BOOL): Likewise.
8366 (_G_HAVE_ATEXIT): Likewise.
8367 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8368 (_G_HAVE_IO_FILE_OPEN): Likewise.
8369 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8370 (_G_int32_t): Likewise.
8371 (_G_uint16_t): Likewise.
8372 (_G_uint32_t): Likewise.
8373 (_G_HAVE_BOOL): Likewise.
8374 (_G_HAVE_ATEXIT): Likewise.
8375 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8376 (_G_HAVE_IO_FILE_OPEN): Likewise.
8377 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8378 (_G_int32_t): Likewise.
8379 (_G_uint16_t): Likewise.
8380 (_G_uint32_t): Likewise.
8381 (_G_HAVE_BOOL): Likewise.
8382 (_G_HAVE_ATEXIT): Likewise.
8383 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8384 (_G_HAVE_IO_FILE_OPEN): Likewise.
8386 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8388 * csu/libc-tls.c: Update copyright years.
8390 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8392 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8393 [!_G_USING_THUNKS]: Remove conditional code.
8394 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8395 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8397 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8398 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8399 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8400 (_G_VTABLE_LABEL_PREFIX): Likewise.
8401 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8402 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8403 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8404 (_G_VTABLE_LABEL_PREFIX): Likewise.
8405 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8406 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8407 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8408 (_G_VTABLE_LABEL_PREFIX): Likewise.
8409 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8411 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8413 * libio/Makefile: Include ../Makeconfig before tests.
8414 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8415 only if $(build-shared) is yes.
8417 * iconv/gconv_db.c: Update copyright years.
8419 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8421 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8422 unwind info if defined PIC. Fix special cases description.
8423 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8425 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8427 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8429 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8431 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8433 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8436 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8437 (LDLIBS-tst-chk4): This.
8438 (LDFLAGS-tst-chk5): Renamed to ...
8439 (LDLIBS-tst-chk5): This.
8440 (LDFLAGS-tst-chk6): Renamed to ...
8441 (LDLIBS-tst-chk6): This.
8442 (LDFLAGS-tst-lfschk4): Renamed to ...
8443 (LDLIBS-tst-lfschk4): This.
8444 (LDFLAGS-tst-lfschk5): Renamed to ...
8445 (LDLIBS-tst-lfschk5): This.
8446 (LDFLAGS-tst-lfschk6): Renamed to ...
8447 (LDLIBS-tst-lfschk6): This.
8449 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8450 on $(common-objpfx)soversions.mk.
8452 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8455 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8458 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8460 * malloc/arena.c (arena_get_retry): New function that gets
8461 another arena for the caller to try its request on.
8462 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8463 current arena cannot fulfill the request.
8464 (__libc_memalign): Likewise.
8465 (__libc_memalign): Likewise.
8466 (__libc_pvalloc): Likewise.
8467 (__libc_calloc): Likewise.
8469 2012-09-05 John Tobey <john.tobey@gmail.com>
8472 * manual/arith.texi (Operations on Complex): Fix description
8475 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8478 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8482 * manual/memory.texi (Memory): Make order of menu items match
8485 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8487 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8488 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8489 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8491 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8493 * csu/libc-tls.c (static_dtv): Renamed to ...
8494 (_dl_static_dtv): This. Make it global.
8495 (_dl_initial_dtv): Removed.
8496 (__libc_setup_tls): Updated.
8497 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8498 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8501 2012-09-06 Petr Machata <pmachata@redhat.com>
8503 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8504 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8505 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8506 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8508 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8511 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8512 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8515 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8518 * Makeconfig (link-static-before-libc): Replace $(+prector)
8520 (link-static-after-libc): Replace $(+postctor) with
8522 (link-bounded): Replace $(+prector)/$(+postctor) with
8523 $(+prectorT)/$(+postctorT).
8524 (+prectorT): New macro.
8525 (+postctorT): Likewise.
8527 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8529 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8530 (round_str): Handle values above the maximum for IBM long double
8532 * stdlib/tst-strtod-round.c (tests): Regenerated.
8534 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8536 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8538 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8539 zarch_nohighgprs around the zarch optimized routines.
8540 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8541 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8542 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8545 2012-09-05 David S. Miller <davem@davemloft.net>
8547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8549 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8550 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8551 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8552 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8555 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8557 * malloc/arena.c: Fold copyright years.
8558 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8560 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8562 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8564 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8566 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8568 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8570 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8571 change internal state upon failure.
8573 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8575 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8576 * malloc/memusage.c (mmap): Likewise.
8577 (mmap64, mremap): Likewise. Adjust name in comment.
8579 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8581 * libio/fileops.c: Fix typos in comments.
8582 * libio/oldfileops.c: Likewise.
8583 * libio/wfileops.c: Likewise.
8585 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8588 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8589 (tst-malloc-usable-ENV): Set environment for test case.
8590 * malloc/hooks.c (malloc_check_get_size): New function to get
8592 * malloc/malloc.c (musable): Use malloc_check_get_size.
8593 * malloc/tst-malloc-usable.c: New test case.
8595 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8597 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8599 2012-09-05 Allan McRae <allan@archlinux.org>
8602 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8603 determine header location.
8604 * configure: Regenerated.
8606 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8608 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8610 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8611 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8615 2012-09-04 David S. Miller <davem@davemloft.net>
8617 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8618 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8619 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8621 2012-09-04 Florian Weimer <fweimer@redhat.com>
8623 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8626 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8628 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8631 * libio/iogetdelim.c: Include <limits.h>.
8632 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8633 + len + 1 would overflow.
8635 2012-09-03 Andreas Jaeger <aj@suse.de>
8637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8638 * sysdeps/i386/fpu/libm-test-ulps: Update.
8640 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8642 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8643 Add s_sinf-sse2, s_conf-sse2.
8645 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8646 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8647 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8648 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8650 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8651 for using routine as __sinf_ia32.
8652 Use macro for function declaration and weak_alias.
8653 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8654 for using routine as __cosf_ia32.
8655 Use macro for function declaration and weak_alias.
8657 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8658 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8660 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8661 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8664 * math/libm-test.inc (cos_test): Add more test cases.
8665 (sin_test): Likewise.
8666 (sincos_test): Likewise.
8668 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8671 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8673 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8675 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8678 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8679 first element of the GOT.
8680 (elf_machine_load_address): Return the difference between
8681 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8683 2012-09-01 Allan McRae <allan@archlinux.org>
8686 * configure.in (AWK): Require gawk version 3.0 or later.
8687 * configure: Regenerated.
8689 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8691 * sysdeps/unix/sysv/linux/kernel-features.h
8692 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8694 [__NR_clock_getres]: Make code unconditional.
8695 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8696 (clock_getcpuclockid): Remove code left unreachable by removal of
8698 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8700 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8701 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8702 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8703 Make code unconditional.
8704 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8705 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8706 * sysdeps/unix/sysv/linux/clock_settime.c
8707 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8709 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8710 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8712 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8715 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8716 scripts/test-installation.pl.
8718 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8719 and $ld_so_version if it is set.
8721 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8724 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8725 failure if reading from procfs failed.
8726 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8728 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8730 * sysdeps/unix/sysv/linux/kernel-features.h
8731 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8732 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8733 Remove conditional code.
8734 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8735 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8736 Remove conditional code.
8737 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8738 * sysdeps/unix/sysv/linux/i386/fxstat.c
8739 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8740 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8741 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8742 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8743 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8744 * sysdeps/unix/sysv/linux/i386/lxstat.c
8745 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8747 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8748 Remove conditional code.
8749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8750 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8751 Remove conditional code.
8752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8753 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8754 <kernel-features.h>.
8755 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8757 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8758 Remove conditional code.
8759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8760 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8763 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8766 * NEWS: Add fixed bug number.
8768 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8771 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8772 underflowing exponent in case of negative sign.
8773 * stdlib/tst-strtod-round-data: Add more tests.
8774 * stdlib/tst-strtod-round.c (tests): Regenerated.
8777 * stdlib/strtod_l.c (NDIG): Remove.
8778 (HEXNDIG): Likewise.
8779 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8780 smallest representable value.
8781 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8782 lie within an exact representation of 1/2 ulp of the result.
8783 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8785 (TENS_P9_IDX): Define unconditionally.
8786 (TENS_P9_SIZE): Likewise.
8787 (TENS_P10_IDX): Likewise.
8788 (TENS_P10_SIZE): Likewise.
8789 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8790 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8791 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8792 entries for 10^2^13 and 10^2^14.
8793 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8794 (TENS_P13_IDX): Define.
8795 (TENS_P13_SIZE): Likewise.
8796 (TENS_P14_IDX): Likewise.
8797 (TENS_P14_SIZE): Likewise.
8798 (_fpioconst_pow10): Change array size to
8799 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8801 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8802 1024]: Add entries for 10^2^13 and 10^2^14.
8803 [LAST_POW10 > _LAST_POW10]: Remove #error.
8804 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8805 (_fpioconst_pow10): Change array size to
8806 FPIOCONST_POW10_ARRAY_SIZE.
8807 * stdlib/gen-fpioconst.c: New file.
8808 * stdlib/gen-tst-strtod-round.c: Likewise.
8809 * stdlib/tst-strtod-round-data: Likewise.
8810 * stdlib/tst-strtod-round.c: Likewise.
8811 * stdlib/Makefile (tests): Add tst-strtod-round.
8814 * stdlib/strtod_l.c: Include <stdint.h>.
8815 (NDEBUG): Do not define.
8816 (round_and_return): Change EXPONENT parameter to type intmax_t.
8817 Rearrange calculations to avoid internal overflow possibilities.
8818 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8819 Rearrange calculations to avoid internal overflow possibilities.
8820 Assert that number fits inside MPNSIZE limbs.
8821 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8822 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8823 calculations and add assertions to avoid internal overflow
8824 possibilities. Add casts to avoid signed/unsigned operations.
8825 * stdlib/tst-strtod-overflow.c: New file.
8826 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8828 2012-08-25 Marek Polacek <polacek@redhat.com>
8830 * time/time.h: Fix some typos in comments.
8832 2012-08-23 Roland McGrath <roland@hack.frob.com>
8834 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8835 * posix/tst-rfc3484-2.c: Likewise.
8836 * posix/tst-rfc3484-3.c: Likewise.
8838 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8840 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8841 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8843 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8845 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8846 #include of fxstatat64.c.
8848 2012-08-22 Roland McGrath <roland@hack.frob.com>
8850 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8851 * shadow/getspent_r.c: Likewise.
8852 * shadow/getspnam.c: Likewise.
8853 * shadow/getspnam_r.c: Likewise.
8854 * gshadow/getsgent.c: Likewise.
8855 * gshadow/getsgent_r.c: Likewise.
8856 * gshadow/getsgnam.c: Likewise.
8857 * gshadow/getsgnam_r.c: Likewise.
8858 * inet/getnetbyad.c: Likewise.
8859 * inet/getnetbyad_r.c: Likewise.
8860 * inet/getnetbynm.c: Likewise.
8861 * inet/getnetbynm_r.c: Likewise.
8862 * inet/getnetent.c: Likewise.
8863 * inet/getnetent_r.c: Likewise.
8864 * inet/getproto.c: Likewise.
8865 * inet/getproto_r.c: Likewise.
8866 * inet/getprtent.c: Likewise.
8867 * inet/getprtent_r.c: Likewise.
8868 * inet/getprtname.c: Likewise.
8869 * inet/getprtname_r.c: Likewise.
8870 * inet/getrpcbyname.c: Likewise.
8871 * inet/getrpcbyname_r.c: Likewise.
8872 * inet/getrpcbynumber.c: Likewise.
8873 * inet/getrpcbynumber_r.c: Likewise.
8874 * inet/getrpcent.c: Likewise.
8875 * inet/getrpcent_r.c: Likewise.
8876 * inet/getaliasent.c: Likewise.
8877 * inet/getaliasent_r.c: Likewise.
8878 * inet/getaliasname.c: Likewise.
8879 * inet/getaliasname_r.c: Likewise.
8880 * nscd/getgrgid_r.c: Likewise.
8881 * nscd/getgrnam_r.c: Likewise.
8882 * nscd/gethstbyad_r.c: Likewise.
8883 * nscd/gethstbynm3_r.c: Likewise.
8884 * nscd/getpwnam_r.c: Likewise.
8885 * nscd/getpwuid_r.c: Likewise.
8886 * nscd/getsrvbynm_r.c: Likewise.
8887 * nscd/getsrvbypt_r.c: Likewise.
8888 * nscd/gai.c: Likewise.
8890 * configure.in (build_nscd): New substituted variable, set
8891 by --disable-build-nscd and defaults to $use_nscd.
8892 * configure: Regenerated.
8893 * config.make.in (build-nscd): New substituted variable.
8894 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8895 Change conditional to require [$(build-nscd) = yes] as well.
8896 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8899 * configure.in (use_nscd): New substituted variable, set by
8900 --disable-nscd. If enabled, define USE_NSCD.
8901 * configure: Regenerated.
8902 * config.h.in: Add USE_NSCD.
8903 * config.make.in (use-nscd): New substituted variable.
8904 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8905 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8906 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8907 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8908 (CFLAGS-getgrnam_r.c): Likewise.
8909 (CFLAGS-initgroups.c): Likewise.
8910 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8911 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8913 * inet/getnetgrent_r.c
8914 (nscd_setnetgrent): New function, broken out of ...
8915 (setnetgrent): ... here. Call it.
8916 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8917 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8918 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8919 * nscd/Makefile (routines, aux): Move definitions after include of
8920 Makeconfig. Conditionalize on [$(use-nscd) != no].
8921 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8922 Conditionalize on [USE_NSCD].
8923 (is_nscd, nscd_init_cb): Likewise.
8924 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8925 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8926 * nss/nss_db/db-init.c: Likewise.
8927 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8929 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8930 (make_request): Use it.
8931 (cache_valid_p): New function.
8932 (__check_pf): Use it.
8933 * NEWS: Add item for --disable-nscd.
8935 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8937 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8938 to support sed >= 4.2.1-20-ga9bf076.
8939 * configure: Regenerated.
8941 2012-08-22 Roland McGrath <roland@hack.frob.com>
8943 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8944 Conditionalize whole body on [IREL].
8946 2012-08-22 Jeff Law <law@redhat.com>
8949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8950 if the family is PF_UNSPEC.
8952 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8954 * Makerules (lib-version): Rename from V.
8955 (install-lib-nosubdir): Change V to lib-version.
8957 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8960 * powerpc32/power6/wcschr.c: New file.
8961 * powerpc32/power6/wcscpy.c: New file.
8962 * powerpc32/power6/wcsrchr.c: New file.
8963 * powerpc64/power6/wcschr.c: New file.
8964 * powerpc64/power6/wcscpy.c: New file.
8965 * powerpc64/power6/wcsrchr.c: New file.
8967 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8969 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8970 (two_way_short_needle): Use it.
8971 * string/strstr.c (AVAILABLE1_USES_J): Define.
8972 * string/strcasestr.c: Likewise.
8974 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8976 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8979 * NEWS: Add an entry.
8980 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8981 define their defaults.
8982 (two_way_short_needle): Detect end-of-string on-the-fly.
8983 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8984 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8985 * string/bug-strcasestr1.c: New test.
8986 * string/Makefile: Run it.
8988 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8991 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8992 the first character.
8994 2012-08-21 Roland McGrath <roland@hack.frob.com>
8996 * csu/elf-init.c (__libc_csu_irel): Function removed.
8997 * csu/libc-start.c (apply_irel): New function.
8998 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9000 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9002 * sysdeps/unix/sysv/linux/kernel-features.h
9003 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9004 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9005 <kernel-features.h>.
9006 [__NR_fadvise64_64]: Make code unconditional.
9007 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9008 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9009 !__NR_fadvise64_64)]: Likewise.
9010 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9011 !__NR_fadvise64_64))]: Likewise.
9012 [__NR_fadvise64]: Make code unconditional.
9013 [!__NR_fadvise64]: Remove conditional code.
9014 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9015 <kernel-features.h>.
9016 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9018 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9021 not include <kernel-features.h>.
9022 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9024 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9026 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9027 include <kernel-features.h>.
9028 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9030 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9033 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9035 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9036 slight instruction rearrangements per scrollpipe analysis.
9037 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9039 2012-08-20 Roland McGrath <roland@hack.frob.com>
9041 * manual/syslog.texi (syslog; vsyslog, closelog):
9042 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9043 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9045 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9046 DSOCAPS to match condition on defining it.
9048 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9050 * sysdeps/unix/sysv/linux/kernel-features.h
9051 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9053 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9054 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9056 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9057 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9059 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9060 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9062 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9063 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9065 * sysdeps/unix/sysv/linux/kernel-features.h
9066 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9067 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9069 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9070 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9071 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9072 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9073 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9074 Make code unconditional.
9075 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9076 (__mmap64) [!__NR_mmap2]: Likewise.
9077 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9078 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9079 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9080 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9081 [__NR_mmap2]: Make code unconditional.
9082 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9083 (__mmap64) [!__NR_mmap2]: Likewise.
9085 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9087 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9089 2012-08-18 Andreas Jaeger <aj@suse.de>
9091 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9093 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9095 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9096 * include/unistd.h (__have_sock_cloexec): Likewise.
9097 (__have_pipe2): Likewise.
9098 (__have_dup3): Likewise.
9100 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9103 * include/unistd.h (__have_pipe2): Change define into an extern int.
9104 (__have_dup3): Likewise.
9105 * socket/have_sock_cloexec.c: Include fcntl.h.
9106 (__have_pipe2): New variable.
9107 (__have_dup3): Likewise.
9109 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9111 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9113 2012-08-17 Marek Polacek <polacek@redhat.com>
9115 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9116 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9118 2012-08-17 Roland McGrath <roland@hack.frob.com>
9120 * configure.in: Add AC_SUBST for sysheaders.
9121 * configure: Regenerated.
9122 * config.make.in (sysheaders): New substituted variable.
9124 * sysdeps/unix/mkfifo.c: Moved ...
9125 * sysdeps/posix/mkfifo.c: ... here.
9126 * sysdeps/unix/mkfifoat.c: Moved ...
9127 * sysdeps/posix/mkfifoat.c: ... here.
9129 * sysdeps/unix/utime.c: Moved ...
9130 * sysdeps/posix/utime.c: ... here.
9132 * sysdeps/unix/time.c: Moved ...
9133 * sysdeps/posix/time.c: ... here.
9134 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9135 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9137 * sysdeps/unix/nice.c: Moved ...
9138 * sysdeps/posix/nice.c: ... here.
9140 * sysdeps/unix/alarm.c: Moved ...
9141 * sysdeps/posix/alarm.c: ... here.
9143 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9145 2012-08-17 Jeff Law <law@redhat.com>
9147 * intl/Makefile (codeset_mo): New variable.
9148 ($(codeset_mo)): New target.
9149 (tst-codeset.out): Depend on that. Remove explicit rule.
9150 (tst-gettext3.out, tst-gettext5.out): Likewise.
9151 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9152 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9153 * intl/tst-codeset.sh: Remove.
9154 * intl/tst-gettext3.sh: Likewise.
9155 * intl/tst-gettext5.sh: Likewise.
9157 2012-08-17 Roland McGrath <roland@hack.frob.com>
9159 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9160 * sysdeps/unix/syscalls.list: ... here.
9162 * sysdeps/posix/getaddrinfo.c
9163 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9164 (gaiconf_init, gaiconf_reload): Use them.
9166 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9167 Define using time_t rather than struct timespec.
9169 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9170 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9172 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9174 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9175 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9178 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9179 __libc_cleanup_push argument.
9181 * bits/param.h: New file.
9182 * misc/sys/param.h: New file.
9183 * include/sys/param.h: New file.
9184 * misc/Makefile (headers): Add bits/param.h.
9185 * sysdeps/generic/sys/param.h: File removed.
9186 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9187 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9188 * sysdeps/mach/hurd/bits/param.h: New file.
9189 * sysdeps/mach/hurd/sys/param.h: File removed.
9191 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9194 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9196 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9197 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9200 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9201 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9202 rather than -D_IO_MTSAFE_IO conditionally.
9203 * stdio-common/Makefile (CPPFLAGS): Likewise.
9204 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9205 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9206 Use $(libio-mtsafe).
9207 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9209 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9210 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9211 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9212 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9213 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9214 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9215 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9216 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9217 (CFLAGS-fread_u_chk.c): Likewise.
9218 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9219 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9220 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9221 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9222 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9223 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9224 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9225 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9226 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9228 * libio/Makefile: Test [$(libc-reentrant) = yes]
9229 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9232 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9233 * sysdeps/pthread/configure: File removed.
9234 * sysdeps/pthread/Makeconfig: New file.
9235 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9236 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9238 2012-08-16 Gary Benson <gbenson@redhat.com>
9240 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9241 unmapping the first object in a namespace.
9243 2012-08-16 Roland McGrath <roland@hack.frob.com>
9245 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9246 (__internal_setnetgrent): ... this. Add internal_function to
9247 definition. Add libc_hidden_def.
9248 (setnetgrent): Update caller.
9249 (internal_endnetgrent): Renamed to ...
9250 (__internal_endnetgrent): ... this. Add internal_function to
9251 definition. Add libc_hidden_def.
9252 (endnetgrent): Update caller.
9253 (internal_getnetgrent_r): Renamed to ...
9254 (__internal_getnetgrent_r): ... this. Add internal_function to
9255 definition. Add libc_hidden_def.
9256 (__getnetgrent_r): Update caller.
9257 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9259 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9261 * stdlib/longlong.h: Update from GCC.
9263 2012-08-16 Roland McGrath <roland@hack.frob.com>
9265 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9266 on _QL, which is set by umul_ppmm but never used.
9267 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9268 variables, which are set by GMP macros but never used.
9269 * stdio-common/_itowa.c (_itowa): Likewise.
9270 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9271 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9273 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9275 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9276 struct La_sh_regs is not constant.
9277 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9278 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9279 and struct La_sparc64_regs are not constant.
9281 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9283 * sysdeps/unix/sysv/linux/kernel-features.h
9284 (__ASSUME_POSIX_TIMERS): Remove.
9285 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9286 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9287 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9288 Make code unconditional.
9289 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9290 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9291 Make code unconditional.
9292 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9293 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9294 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9295 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9296 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9297 Make code unconditional.
9298 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9299 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9300 (__libc_missing_posix_timers): Remove.
9302 2012-08-15 Roland McGrath <roland@hack.frob.com>
9304 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9305 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9307 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9309 * elf/dl-sym.c: Include <stdlib.h>.
9311 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9312 constants, which avoids warnings in 32-bit builds.
9314 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9315 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9317 * misc/lseek.c: File moved to ...
9318 * io/lseek.c: ... here.
9320 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9322 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9323 shifting LEN more than 31 bits at once.
9325 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9328 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9329 segmentation fault for a case of two empty input strings.
9330 * string/test-strncasecmp.c (check1): Renamed to...
9332 (bz14195): Add new testcase for two empty input strings and N > 0.
9333 (test_main): Call new testcase, adapt for renamed function.
9335 2012-08-15 Andreas Jaeger <aj@suse.de>
9338 * crypt/md5test2.c: New test, based on test supplied by Serge
9339 Belyshev <belyshev@depni.sinp.msu.ru>.
9340 * crypt/Makefile (xtests): Add md5test-giant..
9341 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9343 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9346 * crypt/md5.c (md5_process_block): Don't assume the buffer
9347 length is less than 2**32.
9348 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9349 length is less than 2**64.
9351 2012-08-15 Roland McGrath <roland@hack.frob.com>
9353 * string/str-two-way.h: Include <sys/param.h>.
9354 (MAX): Macro removed.
9356 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9357 Move #define and #undef of memmove to just before and after
9358 including <string.h>.
9360 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9361 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9362 and after including <string.h>. Move declarations of
9363 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9364 to before #include "string/memmove.c".
9366 * include/dirent.h: Declare __getdirentries.
9368 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9369 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9371 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9373 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9374 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9375 * sysdeps/i386/configure: Regenerated.
9376 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9377 STABS_CURRENT_FILE, and STABS_FUN.
9378 (END): Remove call to STABS_FUN_END.
9379 (STABS_CURRENT_FILE1): Delete.
9380 (STABS_CURRENT_FILE): Likewise.
9381 (STABS_FUN): Likewise.
9382 (STABS_FUN_END): Likewise.
9383 (STABS_FUN2): Likewise.
9384 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9385 * sysdeps/x86_64/configure: Regenerated.
9387 2012-08-14 Roland McGrath <roland@hack.frob.com>
9389 * elf/dl-open.c: Include <atomic.h>.
9390 * elf/dl-lookup.c: Likewise.
9392 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9394 * sysdeps/unix/sysv/linux/kernel-features.h
9395 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9396 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9398 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9400 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9401 condition on __ASSUME_CLONE_THREAD_FLAGS.
9403 2012-08-14 Andreas Jaeger <aj@suse.de>
9405 * sysdeps/i386/fpu/libm-test-ulps: Update.
9407 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9409 * include/atomic.h (atomic_exchange_and_add): Split into ...
9410 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9413 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9417 2012-08-13 Jeff Law <law@redhat.com>
9419 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9420 null byte in the output string.
9422 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9424 * sysdeps/unix/sysv/linux/kernel-features.h
9425 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9426 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9427 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9428 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9429 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9430 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9431 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9433 2012-08-09 Jeff Law <law@redhat.com>
9436 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9437 When avoid_arena is set, don't retry in the that arena. Pick the
9438 next one, whatever it might be.
9439 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9440 (arena_lock): Pass in new parameter to arena_get2.
9441 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9443 (__libc_malloc): Unify retrying after main arena failure with
9444 __libc_memalign version.
9445 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9447 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9450 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9451 to __redirect_strstr.
9452 (__strstr_sse42): Use typeof __redirect_strstr.
9453 (__strstr_ia32): Likewise.
9454 (__libc_strstr): New prototype.
9455 (strstr): Renamed to ...
9456 (__libc_strstr): This.
9457 (strstr): New strong alias of __libc_strstr.
9458 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9459 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9462 (__libc_time): New prototype.
9463 (time_ifunc): Replace time with __libc_time.
9464 (time): New strong alias and hidden definition of __libc_time.
9465 (__GI_time): Remove strong alias.
9466 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9468 (memmove): Redefined to __redirect_memmove.
9469 (__memmove_sse2): Use typeof __redirect_memmove.
9470 (__memmove_ssse3): Likewise.
9471 (__memmove_ssse3_back): Likewise.
9472 (__libc_memmove): New prototype.
9473 (memmove): Renamed to ...
9474 (__libc_memmove): This.
9475 (memmove): New strong alias of __libc_memmove.
9477 2012-08-08 Mark Salter <msalter@redhat.com>
9480 (R_MN10300_TLS_GD): Define.
9481 (R_MN10300_TLS_LD): Likewise.
9482 (R_MN10300_TLS_LDO): Likewise.
9483 (R_MN10300_TLS_GOTIE): Likewise.
9484 (R_MN10300_TLS_IE): Likewise.
9485 (R_MN10300_TLS_LE): Likewise.
9486 (R_MN10300_TLS_DTPMOD): Likewise.
9487 (R_MN10300_TLS_DTPOFF): Likewise.
9488 (R_MN10300_TLS_TPOFF): Likewise.
9489 (R_MN10300_SYM_DIFF): Likewise.
9490 (R_MN10300_ALIGN): Likewise.
9491 (R_MN10300_NUM): Update.
9493 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9495 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9498 2012-08-08 Roland McGrath <roland@hack.frob.com>
9500 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9502 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9503 sysdeps/unix -> sysdeps/posix move.
9504 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9506 2012-08-07 Allan McRae <allan@archlinux.org>
9509 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9510 (SUNOS_CPP): Likewise.
9511 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9513 (open_input): Call CPP using execvp.
9515 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9517 * sysdeps/unix/sysv/linux/kernel-features.h
9518 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9519 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9520 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9521 (__ASSUME_WAITID_SYSCALL): Likewise.
9522 * sysdeps/unix/sysv/linux/dl-execstack.c
9523 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9525 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9527 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9528 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9529 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9531 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9533 [__ASSUME_WAITID_SYSCALL]: Likewise.
9534 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9536 2012-08-07 Roland McGrath <roland@hack.frob.com>
9538 * sysdeps/unix/closedir.c: Renamed to ...
9539 * sysdeps/posix/closedir.c: ... here.
9540 * sysdeps/unix/dirfd.c: Renamed to ...
9541 * sysdeps/posix/dirfd.c: ... here.
9542 * sysdeps/unix/dirstream.h: Renamed to ...
9543 * sysdeps/posix/dirstream.h: ... here.
9544 * sysdeps/unix/fdopendir.c: Renamed to ...
9545 * sysdeps/posix/fdopendir.c: ... here.
9546 * sysdeps/unix/opendir.c: Renamed to ...
9547 * sysdeps/posix/opendir.c: ... here.
9548 * sysdeps/unix/readdir.c: Renamed to ...
9549 * sysdeps/posix/readdir.c: ... here.
9550 * sysdeps/unix/readdir_r.c: Renamed to ...
9551 * sysdeps/posix/readdir_r.c: ... here.
9552 * sysdeps/unix/rewinddir.c: Renamed to ...
9553 * sysdeps/posix/rewinddir.c: ... here.
9554 * sysdeps/unix/seekdir.c: Renamed to ...
9555 * sysdeps/posix/seekdir.c: ... here.
9556 * sysdeps/unix/telldir.c: Renamed to ...
9557 * sysdeps/posix/telldir.c: ... here.
9558 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9559 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9560 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9561 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9563 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9564 * bits/fcntl.h: ... here.
9566 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9568 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9569 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9570 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9571 (struct flock): Move l_start, l_len to the beginning.
9572 Use __pid_t for l_pid.
9573 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9574 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9575 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9576 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9577 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9578 [__USE_LARGEFILE64] (struct flock64): New type.
9579 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9581 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9582 * bits/dirent.h: ... here.
9584 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9585 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9587 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9589 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9590 Change from 2.6.0 to 2.6.16.
9591 * sysdeps/unix/sysv/linux/configure: Regenerated.
9592 * sysdeps/unix/sysv/linux/kernel-features.h
9593 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9594 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9596 (__ASSUME_UTIMES): Likewise.
9597 (__ASSUME_CLONE_STOPPED): Remove.
9598 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9599 architectures, not kernel version.
9600 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9601 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9602 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9603 (__ASSUME_WAITID_SYSCALL): Likewise.
9604 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9605 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9606 * README: State 2.6.16 as minimum Linux kernel version. Do not
9607 refer to older versions.
9609 2012-08-06 Roland McGrath <roland@hack.frob.com>
9611 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9612 Define alphasort64 as an alias.
9613 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9614 Define versionsort64 as an alias.
9615 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9616 Define scandir64 as an alias.
9617 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9618 Define scandirat64 as an alias.
9619 * dirent/alphasort64.c (alphasort64):
9620 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9621 * dirent/versionsort64.c: Likewise.
9622 * dirent/scandir64.c: Likewise.
9623 * dirent/scandirat64.c: Likewise.
9624 * sysdeps/wordsize-64/alphasort.c: File removed.
9625 * sysdeps/wordsize-64/alphasort64.c: File removed.
9626 * sysdeps/wordsize-64/scandir.c: File removed.
9627 * sysdeps/wordsize-64/scandir64.c: File removed.
9628 * sysdeps/wordsize-64/scandirat.c: File removed.
9629 * sysdeps/wordsize-64/scandirat64.c: File removed.
9630 * sysdeps/wordsize-64/versionsort.c: File removed.
9631 * sysdeps/wordsize-64/versionsort64.c: File removed.
9632 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9633 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9634 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9635 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9636 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9637 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9638 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9641 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9643 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9645 [defined __arch64__ || defined __sparcv9]
9646 (__INO_T_MATCHES_INO64_T): New macro.
9647 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9648 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9649 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9650 * sysdeps/unix/sysv/linux/bits/dirent.h
9651 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9652 (_DIRENT_MATCHES_DIRENT64): New macro.
9654 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9655 Define lockf64 as an alias.
9656 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9657 Define fseeko64 as an alias.
9658 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9659 Define ftello64 as an alias.
9660 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9661 Define _IO_fgetpos64 and fgetpos64 as aliases.
9662 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9663 Define _IO_fsetpos64 and fsetpos64 as aliases.
9664 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9665 Conditionalize body on this.
9666 * libio/fseeko64.c: Likewise.
9667 * libio/ftello64.c: Likewise.
9668 * libio/iofgetpos64.c: Likewise.
9669 * libio/iofsetpos64.c: Likewise.
9670 * sysdeps/wordsize-64/lockf.c: File removed.
9671 * sysdeps/wordsize-64/lockf64.c: File removed.
9672 * sysdeps/wordsize-64/fseeko.c: File removed.
9673 * sysdeps/wordsize-64/fseeko64.c: File removed.
9674 * sysdeps/wordsize-64/ftello.c: File removed.
9675 * sysdeps/wordsize-64/ftello64.c: File removed.
9676 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9677 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9678 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9679 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9680 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9681 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9682 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9684 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9686 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9688 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9689 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9691 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9693 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9695 [defined __arch64__ || defined __sparcv9]
9696 (__OFF_T_MATCHES_OFF64_T): New macro.
9697 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9698 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9700 (__OFF_T_MATCHES_OFF64_T): New macro.
9702 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9704 * stdlib/secure-getenv.c (__secure_getenv): Replace
9705 GLIBC_2_16 with GLIBC_2_17.
9707 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9709 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9710 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9712 2012-08-03 David S. Miller <davem@davemloft.net>
9714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9716 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9718 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9720 (__ASSUME_CORRECT_SI_PID): Likewise.
9721 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9722 (__ASSUME_TMPFS_NAME): Likewise.
9723 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9724 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9725 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9726 (HAVE_AUX_SECURE): Make definition unconditional.
9727 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9728 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9730 2012-08-03 Roland McGrath <roland@hack.frob.com>
9732 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9733 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9734 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9735 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9736 __eloop_threshold instead of SYMLOOP_MAX.
9738 * sysdeps/generic/eloop-threshold.h: New file.
9739 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9741 * elf/chroot_canon.c (chroot_canon): Likewise.
9743 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9746 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9747 Change to 2.6.0 everywhere.
9748 * sysdeps/unix/sysv/linux/configure: Regenerated.
9749 * sysdeps/unix/sysv/linux/kernel-features.h
9750 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9751 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9753 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9754 (__ASSUME_FUTEX_REQUEUE): Remove.
9755 (__ASSUME_STATFS64): Define unconditionally.
9756 (__ASSUME_AT_SECURE): Likewise.
9757 (__ASSUME_CORRECT_SI_PID): Likewise.
9758 (__ASSUME_TGKILL): Define without depending on kernel version for
9760 (__ASSUME_UTIMES): Likewise.
9761 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9763 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9764 (__ASSUME_TMPFS_NAME): Likewise.
9765 * README: Update reference to Linux kernel versions.
9767 2012-08-02 Marek Polacek <polacek@redhat.com>
9770 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9771 libc_cv_asm_type_prefix with %.
9772 * configure: Regenerated.
9773 * include/libc-symbols.h: Remove comment about
9774 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9775 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9776 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9777 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9778 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9779 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9780 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9781 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9782 * elf/tst-unique2mod1.c: Likewise.
9783 * elf/tst-unique1mod2.c: Likewise.
9784 * elf/tst-unique1mod1.c: Likewise.
9785 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9786 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9787 Replace ASM_TYPE_DIRECTIVE with .type.
9788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9789 * sysdeps/i386/sysdep.h: Likewise.
9790 * sysdeps/x86_64/sysdep.h: Likewise.
9791 * sysdeps/sh/sysdep.h: Likewise.
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9793 Do not define ASM_TYPE_DIRECTIVE.
9794 * sysdeps/powerpc/sysdep.h: Likewise.
9795 * sysdeps/powerpc/powerpc32/sysdep.h:
9796 Replace ASM_TYPE_DIRECTIVE with .type.
9797 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9798 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9799 * sysdeps/i386/fpu/e_powf.S: Likewise.
9800 * sysdeps/i386/fpu/e_expl.S: Likewise.
9801 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9802 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9803 * sysdeps/i386/fpu/e_pow.S: Likewise.
9804 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9805 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9806 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9807 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9808 * sysdeps/i386/fpu/e_log2.S: Likewise.
9809 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9810 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9811 * sysdeps/i386/fpu/e_powl.S: Likewise.
9812 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9813 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9814 * sysdeps/i386/fpu/e_logl.S: Likewise.
9815 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9816 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9817 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9818 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9819 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9820 * sysdeps/i386/fpu/e_log.S: Likewise.
9821 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9822 * sysdeps/i386/fpu/e_logf.S: Likewise.
9823 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9824 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9825 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9826 * sysdeps/i386/fpu/e_log10.S: Likewise.
9827 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9828 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9829 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9830 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9831 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9832 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9833 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9834 * sysdeps/i386/i686/strtok.S: Likewise.
9835 * sysdeps/i386/i386-mcount.S: Likewise.
9836 * sysdeps/i386/strtok.S: Likewise.
9837 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9838 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9839 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9840 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9841 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9842 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9843 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9844 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9845 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9846 * sysdeps/x86_64/_mcount.S: Likewise.
9847 * sysdeps/x86_64/strtok.S: Likewise.
9848 * sysdeps/sh/_mcount.S: Likewise.
9850 2012-08-01 Roland McGrath <roland@hack.frob.com>
9852 * libio/iofopen.c: Include <fcntl.h>.
9853 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9854 (_IO_fopen64, fopen64): Define as aliases.
9855 * libio/iofopen64.c: Include <fcntl.h>.
9856 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9857 Conditionalize body on this.
9858 * sysdeps/wordsize-64/iofopen.c: File removed.
9859 * sysdeps/wordsize-64/iofopen64.c: File removed.
9861 2012-08-01 Marek Polacek <polacek@redhat.com>
9863 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9864 Use dlfcn directly instead of a variable.
9865 (binfmt-subdir): Do not define.
9868 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9870 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9871 Remove all definitions.
9872 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9873 <kernel-features.h>.
9874 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9875 (miss_F_GETOWN_EX): Remove all definitions.
9876 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9878 [!__ASSUME_FCNTL64]: Remove conditional code.
9879 [__ASSUME_FCNTL64]: Make code unconditional.
9880 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9881 <kernel-features.h>.
9882 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9883 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9884 (lockf64) [__NR_fcntl64]: Make code unconditional.
9885 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9887 * sysdeps/unix/sysv/linux/kernel-features.h
9888 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9889 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9890 Make code unconditional.
9891 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9892 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9894 [__NR_vfork]: Make code unconditional.
9895 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9896 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9898 [__NR_vfork]: Make code unconditional.
9899 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9900 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9902 2012-08-01 Roland McGrath <roland@hack.frob.com>
9904 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9905 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9907 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9908 Define mkstemp64 as an alias.
9909 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9910 Define mkstemps64 as an alias.
9911 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9912 Define mkostemp64 as an alias.
9913 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9914 Define mkostemps64 as an alias.
9915 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9916 Conditionalize body on this.
9917 * misc/mkostemp64.c: Likewise.
9918 * misc/mkostemps64.c: Likewise.
9919 * misc/mkstemps64.c: Likewise.
9920 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9921 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9922 * sysdeps/wordsize-64/mkostemp.c: File removed.
9923 * sysdeps/wordsize-64/mkstemp.c: File removed.
9924 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9925 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9926 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9927 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9930 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9931 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9932 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9933 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9935 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9936 compat_symbol macros from <shlib-compat.h> rather than the underlying
9937 default_symbol_version and symbol_version macros, so that DEFAULT
9938 lines in shlib-versions are respected.
9939 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9941 2012-08-01 Florian Weimer <fweimer@redhat.com>
9943 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9944 Declare with warn_unused_result.
9945 (setgid, setregid, setegid, setresgid): Likewise.
9946 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9948 * WUR-REPORT: Remove set*id functions.
9950 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9952 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9954 2012-07-31 Roland McGrath <roland@hack.frob.com>
9956 * include/sys/socket.h (__libc_accept, __libc_accept4):
9957 Add attribute_hidden.
9958 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9960 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9962 * inet/getnetgrent_r.c (setup): Likewise.
9964 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9966 2012-07-31 David S. Miller <davem@davemloft.net>
9968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9970 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9973 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9974 value between 1.0 and 2.0 and smaller part has absolute value less
9976 * math/s_clog10.c (__clog10): Likewise.
9977 * math/s_clog10f.c (__clog10f): Likewise.
9978 * math/s_clog10l.c (__clog10l): Likewise.
9979 * math/s_clogf.c (__clogf): Likewise.
9980 * math/s_clogl.c (__clogl): Likewise.
9981 * math/libm-test.inc (clog_test): Add more tests.
9982 (clog10_test): Likewise.
9983 * sysdeps/i386/fpu/libm-test-ulps: Update.
9984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9986 2012-07-31 Florian Weimer <fweimer@redhat.com>
9988 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9989 Exit with zero in case no suitable GID is found, and write a
9990 message to standard error.
9992 2012-07-30 Roland McGrath <roland@hack.frob.com>
9994 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9996 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9997 (MAXPATHLEN): Removed.
9998 (NOGROUP, NODEV): New macros.
9999 (setbit, clrbit, isset, isclr): New macros.
10000 (howmany, roundup, powerof2): New macros.
10001 (DEV_BSIZE): New macro.
10003 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10004 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10006 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10007 definition on [!__NO_LONG_DOUBLE_MATH].
10009 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10010 PTR_MANGLE and PTR_DEMANGLE.
10012 * socket/accept4.c (accept4): Rename to __libc_accept4.
10013 Define accept4 as a weak alias.
10015 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10016 on [_DIRENT_HAVE_D_TYPE].
10017 * io/ftw.c (ftw_dir): Likewise.
10019 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10021 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10023 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10024 Use the BSD numbers rather than the arbitrary ones we had.
10025 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10026 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10027 (SIGXCPU, SIGXFSZ): New macros.
10030 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10031 initializer on [_LIBC_REENTRANT].
10033 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10034 definitions inside [_POSIX_MAPPED_FILES].
10036 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10038 * dirent/opendir.c: Include <fcntl.h>.
10040 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10041 (__libc_getspecific): Likewise.
10042 (__libc_key_create): Likewise.
10044 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10045 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10046 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10047 (tmpfile64): Define as alias.
10048 * sysdeps/wordsize-64/tmpfile.c: File removed.
10049 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10050 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10051 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10053 * stdio-common/vfscanf.c: Include <stdbool.h>.
10054 * nss/makedb.c: Likewise.
10055 * stdio-common/_i18n_number.h: Likewise.
10056 * argp/argp-help.c: Likewise.
10057 * posix/wordexp.c: Likewise.
10058 * sysdeps/posix/spawni.c: Likewise.
10059 * nss/nss_files/files-initgroups.c: Likewise.
10060 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10061 * nss/nss_files/files-initgroups.c: Likewise.
10062 * nss/nss_db/db-netgrp.c: Likewise.
10063 * nss/nss_db/db-initgroups.c: Likewise.
10064 * io/fchmodat.c: Include <sys/stat.h>.
10066 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10067 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10069 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10072 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10073 Add multiple inclusion protection.
10075 2012-07-27 David S. Miller <davem@davemloft.net>
10077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10079 2012-07-27 Gary Benson <gbenson@redhat.com>
10082 * elf/rtld.c: Include <stap-probe.h>.
10083 (dl_main): Added static probes "init_start" and "init_complete".
10084 * elf/dl-load.c: Include <stap-probe.h>.
10085 (lose): Take new parameter "nsid".
10086 Added static probe "map_failed".
10087 (_dl_map_object_from_fd): Pass namespace id to lose.
10088 Added static probe "map_start".
10089 (open_verify): Pass namespace id to lose.
10090 * elf/dl-open.c: Include <stap-probe.h>.
10091 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10092 and "reloc_complete".
10093 * elf/dl-close.c: Include <stap-probe.h>.
10094 (_dl_close_worker): Added static probes "unmap_start" and
10096 * elf/rtld-debugger-interface.txt: New file documenting the above.
10098 2012-07-26 Roland McGrath <roland@hack.frob.com>
10100 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10101 rather than a string variable.
10102 * sunrpc/rpc_main.c (h_output): Likewise.
10103 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10105 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10107 * inet/check_native.c: New file.
10109 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10112 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10113 if larger part has absolute value 1.0.
10114 * math/s_clog10.c (__clog10): Likewise.
10115 * math/s_clog10f.c (__clog10f): Likewise.
10116 * math/s_clog10l.c (__clog10l): Likewise.
10117 * math/s_clogf.c (__clogf): Likewise.
10118 * math/s_clogl.c (__clogl): Likewise.
10119 * math/libm-test.inc (clog_test): Add more tests.
10120 (clog10_test): Likewise.
10121 * sysdeps/i386/fpu/libm-test-ulps: Update.
10122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10124 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10125 (pltexit): Likewise.
10126 (La_regs): Likewise.
10127 (La_retval): Likewise.
10128 (int_retval): Likewise.
10129 Update #error for removed macros to refer only to definitions in
10131 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10133 (pltexit): Likewise.
10134 (La_regs): Likewise.
10135 (La_retval): Likewise.
10136 (int_retval): Likewise.
10137 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10139 (pltexit): Likewise.
10140 (La_regs): Likewise.
10141 (La_retval): Likewise.
10142 (int_retval): Likewise.
10143 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10145 (pltexit): Likewise.
10146 (La_regs): Likewise.
10147 (La_retval): Likewise.
10148 (int_retval): Likewise.
10149 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10151 (pltexit): Likewise.
10152 (La_regs): Likewise.
10153 (La_retval): Likewise.
10154 (int_retval): Likewise.
10155 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10157 (pltexit): Likewise.
10158 (La_regs): Likewise.
10159 (La_retval): Likewise.
10160 (int_retval): Likewise.
10161 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10163 (pltexit): Likewise.
10164 (La_regs): Likewise.
10165 (La_retval): Likewise.
10166 (int_retval): Likewise.
10167 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10168 macro definitions in tst-audit.h.
10169 * sysdeps/i386/tst-audit.h: New file.
10170 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10171 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10172 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10173 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10174 * sysdeps/sh/tst-audit.h: Likewise.
10175 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10176 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10177 * sysdeps/x86_64/tst-audit.h: Likewise.
10179 2012-07-26 Andreas Jaeger <aj@suse.de>
10181 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10184 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10185 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10186 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10188 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10189 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10190 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10192 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10195 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10197 (si_call_addr, si_syscall, si_arch): Define new macro.
10198 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10200 (si_call_addr, si_syscall, si_arch): Define new marcro.
10201 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10203 (si_call_addr, si_syscall, si_arch): Define new macro.
10204 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10206 (si_call_addr, si_syscall, si_arch): Define new macro.
10208 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10211 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10212 Change to 2.4.21 where previously 2.4.1.
10213 * sysdeps/unix/sysv/linux/configure: Regenerated.
10214 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10215 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10216 Linux kernel version.
10217 (__ASSUME_STD_AUXV): Remove.
10218 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10220 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10221 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10222 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10223 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10224 (__ASSUME_NETLINK_SUPPORT): Likewise.
10225 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10226 (__no_netlink_support): Remove conditional definition.
10227 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10229 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10230 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10231 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10232 (if_nameindex_ioctl): Remove.
10233 (if_nameindex_netlink): Do not handle __no_netlink_support.
10234 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10236 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10237 Remove conditional code.
10238 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10240 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10242 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10243 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10244 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10246 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10247 [!__ASSUME_STD_AUXV]: Remove conditional code.
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10249 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10250 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10252 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10253 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10255 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10257 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10258 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10260 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10262 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10265 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10268 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10269 code unconditional.
10270 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10272 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10274 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10277 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10279 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10282 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10283 code unconditional.
10284 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10286 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10288 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10291 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10292 code unconditional.
10293 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10295 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10297 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10300 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10302 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10303 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10304 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10305 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10306 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10307 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10308 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10309 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10310 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10311 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10312 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10313 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10314 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10315 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10316 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10317 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10318 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10319 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10320 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10322 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10323 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10324 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10326 2012-07-25 Florian Weimer <fweimer@redhat.com>
10328 * Versions.def: Add GLIBC_2.17.
10329 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10330 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10331 Introduce __libc_secure_getenv.
10332 * stdlib/Versions (2.17): Add secure_getenv
10333 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10334 * stdlib/secure-getenv.c: Rename __secure_getenv to
10335 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10336 symbol __secure_getenv for GLIBC_2.0.
10337 * stdlib/tst-secure-getenv.c: New.
10338 * stdlib/Makefile (tests): Add testcase.
10339 * manual/startup.texi (Environment Access): Document
10341 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10342 __libc_secure_getenv.
10343 * inet/ruserpass.c (ruserpass): Likewise.
10344 * malloc/mtrace.c (mtrace): Likewise.
10345 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10346 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10347 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10348 * sysdeps/posix/tempname.c: Likewise. Evaluate
10349 HAVE_SECURE_GETENV.
10350 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10351 __secure_getenv to __libc_secure_getenv.
10352 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10359 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10365 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10367 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10368 (struct La_i86_retval): Likewise.
10369 (struct La_x86_64_regs): Likewise.
10370 (struct La_x86_64_retval): Likewise.
10371 (struct La_x32_regs): Likewise.
10372 (struct La_x32_retval): Likewise.
10373 (struct La_ppc32_regs): Likewise.
10374 (struct La_ppc32_retval): Likewise.
10375 (struct La_ppc64_regs): Likewise.
10376 (struct La_ppc64_retval): Likewise.
10377 (struct La_sh_regs): Likewise.
10378 (struct La_sh_retval): Likewise.
10379 (struct La_s390_32_regs): Likewise.
10380 (struct La_s390_32_retval): Likewise.
10381 (struct La_s390_64_regs): Likewise.
10382 (struct La_s390_64_retval): Likewise.
10383 (struct La_sparc32_regs): Likewise.
10384 (struct La_sparc32_retval): Likewise.
10385 (struct La_sparc64_regs): Likewise.
10386 (struct La_sparc64_retval): Likewise.
10387 (struct audit_ifaces): Remove architecture-specific pltenter and
10389 * sysdeps/i386/ldsodefs.h: New file.
10390 * sysdeps/powerpc/ldsodefs.h: Likewise.
10391 * sysdeps/s390/ldsodefs.h: Likewise.
10392 * sysdeps/sh/ldsodefs.h: Likewise.
10393 * sysdeps/sparc/ldsodefs.h: Likewise.
10394 * sysdeps/x86_64/ldsodefs.h: Likewise.
10396 2012-07-25 Marek Polacek <polacek@redhat.com>
10399 * math/libm-test.inc (yn_test): Add another test.
10400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10401 to ERANGE when the result is +-Inf.
10402 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10403 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10404 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10405 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10407 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10409 * conform/data/time.h-data (NULL): Use macro-constant. Require
10411 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10413 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10415 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10417 * configure.in <sysdeps resolving>: Correct printing
10419 * configure: Regenerate.
10421 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10423 * math/w_ilogb.c: Include <limits.h>.
10424 * math/w_ilogbl.c: Likewise.
10426 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10428 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10429 va_copy. Document allowing for unavailable va_copy only as
10430 pre-C99 compatibility.
10431 * manual/string.texi (Copying and Concatenation): Use va_copy
10432 instead of __va_copy in concat example.
10434 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10436 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10437 (__sendto): Use create_address_port. Initialize APORT and deallocate
10440 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10441 with O_NOLINK passed to __file_name_lookup.
10443 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10444 with O_NOLINK passed to __file_name_lookup.
10446 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10447 negative N or less than NGIDS.
10449 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10450 type to string_t. Set ERANGE as errno and return it if NAME is not big
10451 enough. Use memcpy instead of strncpy.
10453 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10455 * elf/Makefile (check-data): Remove.
10456 (localplt.data): New vpath directive.
10457 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10458 instead of $(check-data).
10459 * scripts/data/localplt-generic.data: Move to ...
10460 * sysdeps/generic/localplt.data: ... here.
10461 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10462 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10463 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10466 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10469 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10472 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10475 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10478 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10482 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10484 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10485 PPC32 and PPC64 files.
10486 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10487 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10489 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10491 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10492 __makecontext_ret to ...
10493 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10494 ... here and call exit if uc_link is NULL. New file.
10495 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10496 __makecontext_ret.S.
10497 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10498 __makecontext_ret to ...
10499 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10500 ... here and call exit if uc_link is NULL. New file.
10501 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10502 __makecontext_ret.S.
10504 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10506 * elf/elf.h (R_390_IRELATIVE): New definition.
10507 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10508 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10509 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10510 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10511 (elf_machine_lazy_rel): Likewise.
10512 * sysdeps/s390/dl-irel.h: New file.
10513 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10514 * sysdeps/s390/s390-64/memset.S: New asm code.
10515 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10516 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10517 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10518 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10519 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10520 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10521 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10522 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10523 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10524 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10525 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10526 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10527 * sysdeps/s390/s390-32/memset.S: New asm code.
10528 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10530 2012-07-17 Marek Polacek <polacek@redhat.com>
10533 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10534 * sysdeps/s390/s390-64/configure.in: Likewise.
10535 * sysdeps/sparc/configure.in: Likewise.
10536 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10537 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10538 * sysdeps/i386/configure.in: Likewise.
10539 * sysdeps/x86_64/configure.in: Likewise.
10540 * sysdeps/sh/configure.in: Likewise.
10541 * sysdeps/s390/s390-32/configure: Regenerated.
10542 * sysdeps/s390/s390-64/configure: Likewise.
10543 * sysdeps/x86_64/configure: Likewise.
10544 * sysdeps/sh/configure: Likewise.
10545 * sysdeps/powerpc/powerpc64/configure: Likewise.
10546 * sysdeps/powerpc/powerpc32/configure: Likewise.
10547 * sysdeps/sparc/configure: Likwise.
10548 * sysdeps/i386/configure: Likewise.
10550 * elf/dl-open.c: Comment fixes.
10552 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10554 * Makefile [CXX] (check-data): Remove.
10555 [CXX] (c++-types.data): New vpath directive.
10556 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10557 vpath. Do not allow for C++ type data being missing.
10558 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10559 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10560 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10561 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10562 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10563 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10564 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10567 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10570 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10573 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10576 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10579 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10582 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10585 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10588 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10589 definitions to architecture-specific files.
10590 (TLS_IE): Likewise.
10591 (TLS_LD): Likewise.
10592 (TLS_GD): Likewise.
10593 * sysdeps/i386/tls-macros.h: New file.
10594 * sysdeps/powerpc/tls-macros.h: Likewise.
10595 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10596 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10597 * sysdeps/sh/tls-macros.h: Likewise.
10598 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10599 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10600 * sysdeps/x86_64/tls-macros.h: Likewise.
10602 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10604 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10605 zero value for regular exit case.
10607 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10608 (__start_context): Preserve zero value for regular exit case.
10610 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10611 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10613 * manual/setjmp.texi (setcontext): Clarify normal process
10614 termination when uc_link is the null pointer.
10615 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10618 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10620 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10621 preprocessor. Test for each exception mask separately.
10623 2012-07-16 Andreas Jaeger <aj@suse.de>
10625 * po/ru.po: Update from translation team.
10627 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10629 * conform/data/string.h-data (NULL): Use macro-constant. Require
10631 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10632 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10633 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10634 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10635 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10637 2012-07-13 Andreas Jaeger <aj@suse.de>
10639 * po/fr.po: Update from translation team.
10641 2012-07-12 Marek Polacek <polacek@redhat.com>
10644 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10645 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10648 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10652 Change to 2.4.1 where previously 2.4.0.
10653 * sysdeps/unix/sysv/linux/configure: Regenerated.
10654 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10655 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10657 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10658 (__ASSUME_AT_CLKTCK): Remove.
10659 (__ASSUME_AT_PAGESIZE): Likewise.
10660 (__ASSUME_AT_XID): Likewise.
10661 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10662 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10663 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10665 (HAVE_AUX_PAGESIZE): Likewise.
10666 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10667 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10668 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10670 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10674 the temporary buffer used to invoke __gethostbyname2_r,
10675 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10676 host_data / struct gaih_addrtuple.
10677 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10678 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10679 header file nss/nsswitch.h.
10680 * nss/nsswitch.h (global scope): Add definition of implementation
10681 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10682 resolv/nss_dns/dns-host.c).
10684 2012-07-11 Andreas Jaeger <aj@suse.de>
10686 * po/fr.po: Update from translation team.
10688 * po/sv.po: Update from translation team
10689 * po/fr.po: Another update from translation team.
10691 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10693 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10694 for subnormals or multiply small sinh result by itself.
10695 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10698 2012-07-11 David S. Miller <davem@davemloft.net>
10700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10702 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10705 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10706 (INTERNAL_MARK): Shift it here.
10708 2012-07-10 Marek Polacek <polacek@redhat.com>
10711 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10712 libc_cv_asm_global_directive with .globl.
10713 * configure: Regenerated.
10714 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10716 * sysdeps/i386/configure: Regenerated.
10717 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10719 * sysdeps/x86_64/configure: Regenerated.
10720 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10721 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10722 * elf/tst-unique2mod2.c: Likewise.
10723 * elf/tst-unique2mod1.c: Likewise.
10724 * elf/tst-unique1mod2.c: Likewise.
10725 * elf/tst-unique1mod1.c: Likewise.
10726 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10727 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10728 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10729 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10730 * sysdeps/mach/sysdep.h: Likewise.
10731 * sysdeps/i386/sysdep.h: Likewise.
10732 * sysdeps/i386/i386-mcount.S: Likewise.
10733 * sysdeps/x86_64/_mcount.S: Likewise.
10734 * sysdeps/x86_64/sysdep.h: Likewise.
10735 * sysdeps/sh/_mcount.S: Likewise.
10736 * sysdeps/sh/sysdep.h: Likewise.
10737 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10738 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10739 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10740 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10741 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10742 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10743 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10744 * locale/localeinfo.h: Likewise.
10745 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10746 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10748 2012-07-09 Roland McGrath <roland@hack.frob.com>
10751 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10753 * manual/message.texi (The Uniforum approach): Likewise.
10754 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10755 (glibc iconv Implementation): Likewise.
10757 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10760 * math/s_clog.c (__clog): Avoid scaling a value down where that
10761 could result in underflow.
10762 * math/s_clog10.c (__clog10): Likewise.
10763 * math/s_clog10f.c (__clog10f): Likewise.
10764 * math/s_clog10l.c (__clog10l): Likewise.
10765 * math/s_clogf.c (__clogf): Likewise.
10766 * math/s_clogl.c (__clogl): Likewise.
10767 * math/libm-test.inc (clog_test): Add more tests.
10768 (clog10_test): Likewise.
10769 * sysdeps/i386/fpu/libm-test-ulps: Update.
10770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10772 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10775 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10776 by 7 not 8 to examine high bit of fractional part.
10779 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10780 for call to __mcount_internal.
10781 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10782 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10783 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10785 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10788 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10789 approximation for values within 0x1p-13f of an odd multiple of
10791 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10792 exception. Add more tests.
10793 * sysdeps/i386/fpu/libm-test-ulps: Update.
10796 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10797 inputs and return -1 for them. Do not check for +Inf in case not
10798 reachable for +Inf.
10799 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10800 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10801 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10802 and return -1 for them. Do not check for +Inf in case not
10803 reachable for +Inf.
10804 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10806 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10807 and return -1 for them. Do not check for +Inf in case not
10808 reachable for +Inf.
10809 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10810 spurious underflow.
10811 * sysdeps/i386/fpu/libm-test-ulps: Update.
10812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10814 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10816 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10818 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10822 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10823 could result in spurious underflow. Scale down values above
10824 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10825 * math/s_csqrtf.c (__csqrtf): Likewise.
10826 * math/s_csqrtl.c (__csqrtl): Likewise.
10827 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10828 spurious underflow.
10829 * sysdeps/i386/fpu/libm-test-ulps: Update.
10830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10832 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10834 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10836 * catgets/xopen-msg.awk: New file.
10837 * catgets/xopen-msg.sed: Removed.
10839 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10841 * intl/po2test.awk: New file.
10842 * intl/po2test.sed: Removed.
10844 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10847 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10848 or multiply small sinh result by itself.
10849 * math/s_ctanf.c (__ctanf): Likewise.
10850 * math/s_ctanh.c (__ctanh): Likewise.
10851 * math/s_ctanhf.c (__ctanhf): Likewise.
10852 * math/s_ctanhl.c (__ctanhl): Likewise.
10853 * math/s_ctanl.c (__ctanl): Likewise.
10854 * math/libm-test.inc (ctan_test_tonearest): New function.
10855 (ctan_test_towardzero): Likewise.
10856 (ctan_test_downward): Likewise.
10857 (ctan_test_upward): Likewise.
10858 (ctanh_test_tonearest): Likewise.
10859 (ctanh_test_towardzero): Likewise.
10860 (ctanh_test_downward): Likewise.
10861 (ctanh_test_upward): Likewise.
10862 (main): Call these new functions.
10863 * sysdeps/i386/fpu/libm-test-ulps: Update.
10864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10866 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10868 * .gitignore: Delete /ports entry.
10870 2012-07-03 Andreas Jaeger <aj@suse.de>
10872 * po/bg.po: Update from translation team.
10873 * po/cs.po: Likewise.
10874 * po/de.po: Likewise.
10875 * po/hr.po: Likewise.
10876 * po/nl.pl: Likewise.
10877 * po/pl.po: Likewise.
10878 * po/vi.po: Likewise.
10880 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10882 * Makeconfig [!+link] (+link-before-libc): New variable.
10883 [!+link] (+link-after-libc): Likewise.
10884 [!+link] (+link-tests): Likewise.
10885 [!+link] (+link): Define in terms of $(+link-before-libc) and
10886 $(+link-after-libc).
10887 [!+link-static] (+link-static-before-libc): New variable.
10888 [!+link-static] (+link-static-after-libc): Likewise.
10889 [!+link-static] (+link-static-tests): Likewise.
10890 [!+link-static] (+link-static): Define in terms of
10891 $(+link-static-before-libc) and $(+link-static-after-libc).
10892 [build-shared] (link-libc-before-gnulib): New variable.
10893 [build-shared] (link-libc-tests): Likewise.
10894 [build-shared] (link-libc): Define in terms of
10895 $(link-libc-before-gnulib).
10896 [!build-shared] (link-libc-tests): New variable.
10897 (link-libc-static-tests): New variable.
10898 [!gnulib] (gnulib-arch): New variable.
10899 [!gnulib] (gnulib-tests): Likewise.
10900 [!gnulib] (static-gnulib-arch): Likewise.
10901 [!gnulib] (static-gnulib-tests): Likewise.
10902 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10903 Define with "=" instead of ":=".
10904 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10905 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10906 * Rules (binaries-all-notests): New variable.
10907 (binaries-all-tests): Likewise.
10908 (binaries-static-notests): Likewise.
10909 (binaries-static-tests): Likewise.
10910 (binaries-all): Define using $(binaries-all-notests) and
10911 $(binaries-all-tests).
10912 (binaries-static): Define using $(binaries-static-notests) and
10913 $(binaries-static-tests).
10914 (binaries-shared-tests): New variable.
10915 (binaries-shared-notests): Likewise.
10916 (binaries-shared): Remove variable.
10917 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10918 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10919 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10920 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10921 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10922 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10923 * elf/Makefile (sln-modules): New variable.
10924 (extra-objs): Add $(sln-modules:=.o).
10925 (ldconfig-modules): Add static-stubs.
10926 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10927 * elf/static-stubs.c: New file.
10930 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10931 by 7 not 8 to examine high bit of fractional part. Use volatile
10932 variables when splitting into final array of floats if
10933 __FLT_EVAL_METHOD__ != 0.
10934 * math/libm-test.inc (cos_test): Add another test.
10935 (sin_test): Likewise.
10936 * sysdeps/i386/fpu/libm-test-ulps: Update.
10939 * math/libm-test.inc (cosh_test): Add more tests.
10941 * version.h (RELEASE): Set to "development".
10942 (VERSION): Set to "2.16.90".
10944 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10946 * NEWS: Update copyright. Remove last-updated date.
10947 Mention math library bug fixes and timezone data changes.
10948 * README: Mention GNU/Hurd, x32, and HPPA support status.
10950 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10952 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10954 2012-06-27 Andreas Jaeger <aj@suse.de>
10956 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10958 2012-06-25 Andreas Jaeger <aj@suse.de>
10960 * sysdeps/s390/fpu/libm-test-ulps: Update.
10962 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10963 Thomas Schwinge <thomas@codesourcery.com>
10965 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10966 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10970 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10972 * sysdeps/mach/start.c: Remove file.
10973 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10974 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10975 * sysdeps/sh/init-first.c: Likewise.
10977 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10978 registers for frame unwinding purposes, add CFI directives.
10979 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10980 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10981 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10984 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10985 __fortify_fail returning.
10986 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10988 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10989 sysdeps/sh/____longjmp_chk.S.
10990 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10991 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10992 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10993 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10995 * sysdeps/sh/abort-instr.h: New file.
10996 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10997 process in case exit returns.
10999 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11000 initialize the GOT register before use.
11002 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11003 calculation of ARGC > 4.
11005 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11006 meaningful names to some local labels.
11008 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11009 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11011 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11012 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11013 (__arch_compare_and_exchange_val_16_acq): Likewise.
11014 (__arch_compare_and_exchange_val_32_acq): Likewise.
11015 (atomic_exchange_and_add): Fix gUSA sequence.
11016 (atomic_add): Likewise.
11017 (atomic_add_negative): Likewise.
11018 (atomic_add_zero): Likewise.
11019 (atomic_bit_test_set): Likewise.
11021 2012-06-22 Andreas Schwab <schwab@redhat.com>
11024 * include/link.h (struct link_map): Add l_free_initfini.
11025 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11027 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11028 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11029 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11032 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11034 * configure.in: Use AC_LANG_SOURCE.
11035 * configure: Regenerate.
11037 2012-06-22 Roland McGrath <roland@hack.frob.com>
11039 * configure.in (libc_cv_localstatedir): New substituted variable.
11040 * configure: Regenerated.
11041 * config.make.in (localstatedir): New variable, substituted from
11042 libc_cv_localstatedir.
11043 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11044 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11045 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11046 * sysdeps/gnu/configure: Regenerated.
11048 2012-06-21 Jeff Law <law@redhat.com>
11051 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11052 free. Simplify list management for _LIBC case.
11054 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11057 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11058 Clear sign bit of 64-bit integer value before comparing against
11061 * sysdeps/mach/configure: Regenerated.
11063 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11066 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11068 2012-06-21 Jeff Law <law@redhat.com>
11071 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11072 uint16_t for elements in the "seen" array to avoid char overflows.
11073 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11074 * elf/dl-open.c (dl_open_worker): Likewise.
11076 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11078 * scripts/list-sources.sh: Scan PORTS for translations.
11079 * po/libc.pot: Regenerated.
11081 2012-06-21 Andreas Jaeger <aj@suse.de>
11084 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11086 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11087 * bits/byteswap-16.h (__bswap_16): Likewise.
11088 * bits/byteswap.h (__bswap_constant_16): Likewise.
11090 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11093 * sysdeps/i386/fpu_control.h: Removed.
11094 * sysdeps/x86_64/fpu_control.h: Moved to ...
11095 * sysdeps/x86/fpu_control.h: Here.
11097 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11098 (_FPU_SETCW): Likewise.
11100 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11103 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11104 * sysdeps/x86/fpu/bits/mathinline.h: This.
11105 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11109 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11110 functions if __x86_64__ is defined.
11112 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11114 * string/endian.h: Add !__ASSEMBLER__ condition for including
11115 conversion interfaces.
11117 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11120 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11121 of ABS(x) in calculating zero to negative powers other than odd
11123 * math/libm-test.inc (pow_test): Add more tests.
11125 2012-06-15 Andreas Jaeger <aj@suse.de>
11127 * manual/contrib.texi (Contributors): Update entry of Liubov
11128 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11131 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11133 * string/string.h: Add __wur to GNU version of strerror_r.
11135 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11138 * string/Makefile (tests): Add tst-strtok_r.
11139 * string/tst-strtok_r.c: New file.
11140 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11141 RAX_LP/RDX_LP on SAVE_PTR.
11143 2012-06-14 Roland McGrath <roland@hack.frob.com>
11145 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11147 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11149 * libm_test.inc (csqrt_test): Allow more spurious underflow
11151 (j0_test): Likewise.
11152 (j1_test): Likewise.
11153 (y0_test): Likewise.
11154 (y1_test): Likewise.
11156 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11158 * po/Makefile (libc.pot): Use UTF-8 charset.
11160 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11163 Suppress sign-conversion warning from FD_SET.
11164 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11165 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11166 not unsigned long int.
11167 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11169 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11173 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11174 __extern_always_inline instead of __extern_inline.
11175 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11176 (__signbit): Likewise.
11177 (__signbitl): Support C++ namespace.
11178 (lrintf): New inline function.
11180 (llrintf): Likewise.
11181 (llrint): Likewise.
11191 (floorf): Likewise.
11192 (nearbyint): Likewise.
11193 (nearbyintf): Likewise.
11195 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11197 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11198 non-default versions.
11200 2012-06-11 Roland McGrath <roland@hack.frob.com>
11203 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11205 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11207 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11208 (FE_UPWARD, FE_DOWNWARD): Don't define.
11209 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11210 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11212 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11214 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11215 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11217 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11219 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11220 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11221 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11222 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11224 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11227 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11228 * sysdeps/i386/fpu/Implies: New file.
11229 * sysdeps/x86_64/fpu/Implies: Likewise.
11230 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11231 * sysdeps/x86/fpu/bits/fenv.h: This.
11233 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11236 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11239 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11240 character 0xffff that matches the last element of the
11243 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11245 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11248 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11250 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11251 values higher than 25.6283.
11253 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11255 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11256 subnormal exponent extraction and add some __builtin_expect.
11257 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11258 Fix for subnormal mantissa calculation.
11260 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11262 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11263 cpu2 is -1 and errno is not ENOSYS.
11265 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11268 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11269 * sysdeps/x86/bits/string.h: This.
11270 * sysdeps/x86_64/bits/string.h: Removed.
11272 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11273 if not compiling for x86-64, but compiling for >= i486.
11275 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11276 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11278 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11279 New macro from Linux kernel 3.4.0.
11280 (FP_XSTATE_MAGIC2): Likewise.
11281 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11282 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11283 (struct _fpx_sw_bytes): New struct.
11284 (struct _xsave_hdr): Likewise.
11285 (struct _ymmh_state): Likewise.
11286 (struct _xstate): Likewise.
11288 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11289 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11290 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11291 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11292 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11293 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11295 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11296 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11297 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11298 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11299 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11300 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11302 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11305 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11306 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11307 (sysdep_headers): Include sys/platform/ppc.h.
11308 * sysdeps/powerpc/test-gettimebase.c: Test for
11309 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11310 * manual/Makefile (appendices): Include platform.texi.
11311 * manual/contrib.texi (Contributors): Update @node pointers.
11312 * manual/maint.texi (Maintenance): Likewise.
11313 (Platform): New node.
11314 * manual/platform.texi: New file. Document the new features.
11316 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11317 Jakub Jelinek <jakub@redhat.com>
11320 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11321 where __builtin_expect is unavailable.
11323 2012-06-03 David S. Miller <davem@davemloft.net>
11325 * stdlib/longlong.h: Updated from GCC.
11327 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11330 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11331 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11334 (GLIBC_2.16): Likewise.
11336 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11338 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11340 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11343 (default-abi): New variable.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11345 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11347 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11349 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11351 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11354 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11355 definition. Document in comment.
11357 2012-06-01 David S. Miller <davem@davemloft.net>
11359 * stdlib/longlong.h: Updated from GCC.
11361 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11364 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11365 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11366 sys/debugreg.h sys/io.h here.
11367 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11368 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11370 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11371 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11372 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11373 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11374 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11375 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11377 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11378 Define only if __x86_64__ is defined.
11380 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11383 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11384 Use int64_t for variable i.
11385 * math/libm-test.inc (fmod_test): Add more tests.
11387 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11388 z computation is not scheduled after fetestexcept.
11389 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11390 Use math_force_eval instead of asm to ensure calculation scheduled
11391 before exception test.
11392 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11393 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11395 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11398 computation is not scheduled after fetestexcept.
11400 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11403 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11404 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11406 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11408 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11409 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11411 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11414 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11416 (__WCHAR_MIN): Support __WORDSIZE == 64.
11417 (__WCHAR_MAX): Likewise.
11419 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11420 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11423 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11424 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11427 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11428 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11430 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11431 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11433 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11434 Defined to 1 if __x86_64__ isn't defined.
11435 (_STAT_VER_LINUX_OLD): New.
11436 (st_atime): Remove duplicate.
11437 (st_mtime): Likewise.
11438 (st_ctime): Likewise.
11440 2012-05-31 David S. Miller <davem@davemloft.net>
11442 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11445 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11447 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11451 * elf/dl-reloc.c: Include <_itoa.h>.
11452 (_dl_reloc_bad_type): Remove use of INTUSE.
11453 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11454 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11455 * stdio-common/psiginfo.c (psiginfo): Likewise.
11456 * stdio-common/psignal.c (psignal): Likewise.
11457 * string/strsignal.c (strsignal): Likewise.
11458 * include/signal.h (_sys_siglist): Declare hidden proto.
11459 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11460 INTVARDEF with libc_hidden_data_def.
11461 * stdio-common/itoa-udigits.c: Likewise.
11462 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11463 (_itoa_lower_digits_internal): Remove declaration.
11464 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11465 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11466 (_sys_sigabbrev_internal): Remove aliases.
11467 (_sys_siglist): Define hidden alias.
11469 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11474 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11477 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11478 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11480 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11481 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11482 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11483 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11484 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11485 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11487 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11488 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11489 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11491 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11499 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11500 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11501 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11503 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11504 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11505 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11506 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11507 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11508 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11510 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11511 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11513 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11514 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11516 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11517 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11518 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11520 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11521 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11523 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11525 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11526 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11527 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11529 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11531 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11533 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11535 * math/math.h (M_El): Use two more decimal places.
11536 (M_LOG2El): Likewise.
11537 (M_LOG10El): Likewise.
11538 (M_LN2l): Likewise.
11539 (M_LN10l): Likewise.
11541 (M_PI_2l): Likewise.
11542 (M_PI_4l): Likewise.
11543 (M_1_PIl): Likewise.
11544 (M_2_PIl): Likewise.
11545 (M_2_SQRTPIl): Likewise.
11546 (M_SQRT2l): Likewise.
11547 (M_SQRT1_2l): Likewise.
11549 2012-05-31 David S. Miller <davem@davemloft.net>
11551 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11552 values between float registers.
11553 * sysdeps/sparc/sparc64/memset.S: Likewise.
11554 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11556 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11558 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11559 -D_FORTIFY_SOURCE=1.
11560 (CPPFLAGS-tst-longjmp_chk.c): Define.
11561 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11562 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11563 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11564 CFLAGS-tst-wchar-h.c.
11566 2012-05-31 Marek Polacek <polacek@redhat.com>
11569 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11570 __endmntent_internal): Remove declaration.
11571 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11572 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11573 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11575 2012-05-30 David S. Miller <davem@davemloft.net>
11577 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11578 (___Q_simulate_exceptions): Use real FP ops rather than writing
11580 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11583 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11586 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11587 * sysdeps/x86/bits/xtitypes.h: This.
11589 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11590 * sysdeps/x86/bits/wordsize.h: This.
11592 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11593 * sysdeps/x86/bits/huge_vall.h: This.
11595 * sysdeps/i386/bits/select.h: Removed.
11596 * sysdeps/x86_64/bits/select.h: Renamed to ...
11597 * sysdeps/x86/bits/select.h: This.
11599 * sysdeps/i386/bits/setjmp.h: Removed.
11600 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11601 * sysdeps/x86/bits/setjmp.h: This.
11603 * sysdeps/i386/bits/mathdef.h: Removed.
11604 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11605 * sysdeps/x86/bits/mathdef.h: This.
11607 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11610 * include/sys/socket.h (__connect_internal)
11611 (__libc_sa_len_internal): Remove declaration.
11612 (__connect, __libc_sa_len): Declare hidden_proto.
11613 (SA_LEN): Remove use of INTUSE.
11614 * socket/connect.c: Add libc_hidden_def.
11615 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11616 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11617 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11619 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11620 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11621 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11622 of adding _internal alias.
11624 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11627 * sysdeps/i386/bits/link.h: Removed.
11628 * sysdeps/i386/bits/linkmap.h: Likewise.
11629 * sysdeps/x86_64/bits/link.h: Renamed to ...
11630 * sysdeps/x86/bits/link.h: This.
11631 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11632 * sysdeps/x86/bits/linkmap.h: This.
11634 * sysdeps/i386/bits/endian.h: Removed.
11635 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11636 * sysdeps/x86/bits/endian.h: This.
11638 * sysdeps/i386/bits/byteswap.h: Removed.
11639 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11640 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11641 * sysdeps/x86/bits/byteswap.h: This.
11642 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11643 * sysdeps/x86/bits/byteswap-16.h: This.
11644 * sysdeps/i386/Implies: Add x86.
11645 * sysdeps/x86_64/Implies: Likewise.
11647 2012-05-30 David S. Miller <davem@davemloft.net>
11649 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11650 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11651 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11652 (FP_TRAPPING_EXCEPTIONS): Define.
11653 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11654 (FP_TRAPPING_EXCEPTIONS): Define.
11655 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11656 subnormals only when inexact has been signalled or underflow
11657 exceptions are enabled.
11658 (_FP_PACK_CANONICAL): Likewise.
11660 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11663 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11664 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11666 2012-05-30 Richard Henderson <rth@twiddle.net>
11668 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11669 with #ifndef NOT_IN_libc.
11671 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11672 marked to avoid plt entry.
11674 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11677 * Makeconfig (default-abi): New macro.
11678 (abi-includes): Likewise.
11679 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11680 $(abi-$(default-abi)-lib-soname) for soname if defined.
11681 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11683 * Makefile (installed-stubs): Likewise.
11684 * include/stubs-biarch.h: Removed.
11685 * scripts/lib-names.awk: Only handle one library at a time.
11686 * scripts/soversions.awk: Remove WORDSIZE support.
11687 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11689 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11691 (syscall-list-default-condition): Likewise.
11692 (syscall-list-default-condition): Likewise.
11693 (syscall-list-includes): Likewise.
11694 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11695 syscall-list-* with abi-*. Handle undefined abi-variants.
11696 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11697 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11698 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11699 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11700 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11701 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11703 (syscall-list-32-options): Likewise.
11704 (syscall-list-32-condition): Likewise.
11705 (syscall-list-64-options): Likewise.
11706 (syscall-list-64-condition): Likewise.
11707 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11709 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11712 (abi-64-ld-soname): New macro.
11713 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11714 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11717 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11718 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11720 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11722 * sysdeps/unix/sysv/linux/kernel-features.h
11723 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11724 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11725 include <kernel-features.h>.
11726 [!__NR_ftruncate64]: Remove conditional code.
11727 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11728 [__NR_ftruncate64]: Make code unconditional.
11729 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11730 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11731 include <kernel-features.h>.
11732 [!__NR_ftruncate64]: Remove conditional code.
11733 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11734 [__NR_ftruncate64]: Make code unconditional.
11735 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11737 include <kernel-features.h>.
11738 [!__NR_ftruncate64]: Remove conditional code.
11739 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11740 [__NR_ftruncate64]: Make code unconditional.
11741 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11743 include <kernel-features.h>.
11744 [!__NR_ftruncate64]: Remove conditional code.
11745 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11746 [__NR_ftruncate64]: Make code unconditional.
11747 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11749 * configure.in (libc_cv_fpie): Weaken to a compile test using
11750 LIBC_TRY_CC_OPTION.
11751 * configure: Regenerated.
11753 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11768 2012-05-27 David S. Miller <davem@davemloft.net>
11770 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11772 (__Q_simulate_exceptions): Return void. Change to simulate
11773 exceptions by writing into the %fsr.
11774 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11775 (__Qp_handle_exceptions): Likewise.
11777 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11778 __Qp_handle_exceptions.
11779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11780 __Qp_handle_exceptions.
11781 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11782 as unused and give dummy FP_RND_NEAREST initializer.
11783 (FP_INHIBIT_RESULTS): Define.
11784 (___Q_simulate_exceptions): Update declaration.
11785 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11787 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11788 as unused and give dummy FP_RND_NEAREST initializer.
11789 (__Qp_handle_exceptions): Update declaration.
11790 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11793 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11795 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11796 the temporary FPU control word.
11797 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11798 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11799 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11800 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11801 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11802 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11803 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11804 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11805 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11806 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11807 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11809 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11811 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11814 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11816 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11817 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11818 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11819 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11821 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11822 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11825 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11827 * po/h.po: Update from translation team.
11829 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11831 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11833 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11834 handling of denormals.
11835 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11836 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11837 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11838 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11844 2012-05-26 Marek Polacek <polacek@redhat.com>
11847 * math/libm-test.inc (fma_test): Don't always expect underflow
11850 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11853 * elf/tst-execstack.c: Include stackinfo.h.
11854 (do_test): Adjust test case to ensure that pthread_getattr_np
11855 behaviour remains the same after marking stack executable.
11857 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11859 * sysdeps/unix/sysv/linux/kernel-features.h
11860 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11861 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11863 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11864 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11865 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11867 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11868 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11870 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11872 * configure.in: Define the default includes to being none.
11873 * configure: Regenerated.
11875 2012-05-25 Roland McGrath <roland@hack.frob.com>
11877 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11878 * sysdeps/x86_64/setjmp.S: Likewise.
11879 * sysdeps/i386/bsd-setjmp.S: Likewise.
11880 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11881 * sysdeps/i386/setjmp.S: Likewise.
11882 * sysdeps/i386/__longjmp.S: Likewise.
11883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11884 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11886 * include/stap-probe.h: New file.
11887 * configure.in: Handle --enable-systemtap.
11888 * configure: Regenerated.
11889 * config.h.in (USE_STAP_PROBE): New #undef.
11890 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11891 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11892 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11894 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11897 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11898 to 2.4.0 where earlier.
11899 * sysdeps/unix/sysv/linux/configure: Regenerated.
11900 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11901 <kernel-features.h>.
11902 [__ASSUME_32BITUIDS]: Make code unconditional.
11903 [!__ASSUME_32BITUIDS]: Remove conditional code.
11904 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11905 <kernel-features.h>.
11906 [__ASSUME_32BITUIDS]: Make code unconditional.
11907 [!__ASSUME_32BITUIDS]: Remove conditional code.
11908 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11909 [__ASSUME_32BITUIDS]: Make code unconditional.
11910 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11911 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11912 <kernel-features.h>.
11913 [__ASSUME_32BITUIDS]: Make code unconditional.
11914 [!__ASSUME_32BITUIDS]: Remove conditional code.
11915 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11916 <kernel-features.h>.
11917 [__ASSUME_32BITUIDS]: Make code unconditional.
11918 [!__ASSUME_32BITUIDS]: Remove conditional code.
11919 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11920 <kernel-features.h>.
11921 [__ASSUME_32BITUIDS]: Make code unconditional.
11922 [!__ASSUME_32BITUIDS]: Remove conditional code.
11923 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11924 <kernel-features.h>.
11925 [__ASSUME_32BITUIDS]: Make code unconditional.
11926 [!__ASSUME_32BITUIDS]: Remove conditional code.
11927 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11928 <kernel-features.h>.
11929 [__ASSUME_32BITUIDS]: Make code unconditional.
11930 [!__ASSUME_32BITUIDS]: Remove conditional code.
11931 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11932 <kernel-features.h>.
11933 [__ASSUME_32BITUIDS]: Make code unconditional.
11934 [!__ASSUME_32BITUIDS]: Remove conditional code.
11935 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11936 <kernel-features.h>.
11937 [__ASSUME_32BITUIDS]: Make code unconditional.
11938 [!__ASSUME_32BITUIDS]: Remove conditional code.
11939 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11940 <kernel-features.h>.
11941 [__ASSUME_32BITUIDS]: Make code unconditional.
11942 [!__ASSUME_32BITUIDS]: Remove conditional code.
11943 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11944 <kernel-features.h>.
11945 [__ASSUME_32BITUIDS]: Make code unconditional.
11946 [!__ASSUME_32BITUIDS]: Remove conditional code.
11947 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11948 <kernel-features.h>.
11949 [__ASSUME_32BITUIDS]: Make code unconditional.
11950 [!__ASSUME_32BITUIDS]: Remove conditional code.
11951 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11952 <kernel-features.h>.
11953 [__NR_setresgid] (__setresgid): Do not declare.
11954 [__ASSUME_32BITUIDS]: Make code unconditional.
11955 [!__ASSUME_32BITUIDS]: Remove conditional code.
11956 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11957 <kernel-features.h>.
11958 [__NR_setresuid] (__setresuid): Do not declare.
11959 [__ASSUME_32BITUIDS]: Make code unconditional.
11960 [!__ASSUME_32BITUIDS]: Remove conditional code.
11961 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
11966 <kernel-features.h>.
11967 [__ASSUME_32BITUIDS]: Make code unconditional.
11968 [!__ASSUME_32BITUIDS]: Remove conditional code.
11969 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11970 <kernel-features.h>.
11971 [__ASSUME_32BITUIDS]: Make code unconditional.
11972 [!__ASSUME_32BITUIDS]: Remove conditional code.
11973 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11974 <kernel-features.h>.
11975 [__ASSUME_32BITUIDS]: Make code unconditional.
11976 [!__ASSUME_32BITUIDS]: Remove conditional code.
11977 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11978 <kernel-features.h>.
11979 [__ASSUME_32BITUIDS]: Make code unconditional.
11980 [!__ASSUME_32BITUIDS]: Remove conditional code.
11981 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11982 <kernel-features.h>.
11983 [__ASSUME_32BITUIDS]: Make code unconditional.
11984 [!__ASSUME_32BITUIDS]: Remove conditional code.
11985 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11986 <kernel-features.h>.
11987 [__ASSUME_32BITUIDS]: Make code unconditional.
11988 [!__ASSUME_32BITUIDS]: Remove conditional code.
11989 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11990 <kernel-features.h>.
11991 [__ASSUME_32BITUIDS]: Make code unconditional.
11992 [!__ASSUME_32BITUIDS]: Remove conditional code.
11993 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11994 <kernel-features.h>.
11995 [__ASSUME_32BITUIDS]: Make code unconditional.
11996 [!__ASSUME_32BITUIDS]: Remove conditional code.
11997 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11998 <kernel-features.h>.
11999 [__ASSUME_32BITUIDS]: Make code unconditional.
12000 [!__ASSUME_32BITUIDS]: Remove conditional code.
12001 * sysdeps/unix/sysv/linux/kernel-features.h
12002 (__ASSUME_SETRESUID_SYSCALL): Remove.
12003 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12004 (__ASSUME_32BITUIDS): Likewise.
12005 (__ASSUME_LDT_WORKS): Likewise.
12006 (__ASSUME_O_DIRECTORY): Likewise.
12007 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12008 architecture but not kernel version.
12009 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12010 (__ASSUME_MMAP2_SYSCALL): Likewise.
12011 (__ASSUME_STAT64_SYSCALL): Likewise.
12012 (__ASSUME_IPC64): Likewise.
12013 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12014 <kernel-features.h>.
12015 [__ASSUME_32BITUIDS]: Make code unconditional.
12016 [!__ASSUME_32BITUIDS]: Remove conditional code.
12017 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12018 <kernel-features.h>.
12019 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12020 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12021 132096]: Remove conditional code.
12022 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12023 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12024 <kernel-features.h>.
12025 [__ASSUME_32BITUIDS]: Make code unconditional.
12026 [!__ASSUME_32BITUIDS]: Remove conditional code.
12027 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12028 <kernel-features.h>.
12029 [__ASSUME_32BITUIDS]: Make code unconditional.
12030 [!__ASSUME_32BITUIDS]: Remove conditional code.
12031 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12032 <kernel-features.h>.
12033 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12035 (__setresgid): Do not declare.
12036 [__ASSUME_32BITUIDS]: Make code unconditional.
12037 [!__ASSUME_32BITUIDS]: Remove conditional code.
12038 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12039 <kernel-features.h>.
12040 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12042 (__setresuid): Do not declare.
12043 [__ASSUME_32BITUIDS]: Make code unconditional.
12044 [!__ASSUME_32BITUIDS]: Remove conditional code.
12045 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12046 <kernel-features.h>.
12047 [__ASSUME_32BITUIDS]: Make code unconditional.
12048 [!__ASSUME_32BITUIDS]: Remove conditional code.
12049 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12050 <kernel-features.h>.
12051 [__ASSUME_32BITUIDS]: Make code unconditional.
12052 [!__ASSUME_32BITUIDS]: Remove conditional code.
12054 2012-05-25 Richard Henderson <rth@twiddle.net>
12056 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12057 dl_hwcap to ifunc resolver.
12058 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12060 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12061 dl_hwcap to ifunc resolver.
12062 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12064 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12067 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12068 for |x| <= 2**-26, not 2**-57.
12069 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12072 2012-05-24 Jeff Law <law@redhat.com>
12074 * stdio-common/Makefile (tests): Add bug25.
12075 * stdio-common/bug25.c: New test.
12077 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12080 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12081 multiple of MALLOC_ALIGNMENT in size.
12082 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12084 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12086 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12088 (FILENAME_MAX): Use macro-int-constant.
12089 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12090 (_IOFBF): Use macro-int-constant.
12091 (_IOLBF): Likewise.
12092 (_IONBF): Likewise.
12093 (SEEK_CUR): Likewise.
12094 (SEEK_END): Likewise.
12095 (SEEK_SET): Likewise.
12096 (TMP_MAX): Likewise.
12097 (EOF): Use macro-int-constant. Require < 0.
12098 (NULL): Use macro-constant. Require == 0.
12099 (stdin): Require type to be FILE *.
12100 (stdout): Likewise.
12101 (stderr): Likewise.
12102 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12103 macro-int-constant.
12104 (EXIT_SUCCESS): Likewise.
12105 (NULL): Use macro-constant. Require == 0.
12106 (RAND_MAX): Use macro-int-constant.
12107 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12108 [C99-based standards] (strtof): Require function.
12109 [C99-based standards] (strtold): Likewise.
12110 [C99-based standards] (strtoll): Likewise.
12111 [C99-based standards] (strtoull): Likewise.
12112 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12113 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12114 [ISO || ISO99 || ISO11] (math.h): Likewise.
12115 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12116 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12119 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12122 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12123 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12124 * intl/dgettext.c (DCGETTEXT): Likewise.
12125 * intl/gettext.c (DCGETTEXT): Likewise.
12126 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12127 * posix/regex_internal.h (gettext): Likewise.
12128 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12129 Remove declaration.
12130 * include/argz.h (__argz_count_internal)
12131 (__argz_stringify_internal): Remove declaration.
12132 (__argz_count, __argz_stringify): Declare hidden proto.
12133 * intl/dcgettext.c: Remove use of INTDEF.
12134 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12135 * string/argz-stringify.c: Likewise.
12136 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12137 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12138 Declare hidden proto.
12139 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12140 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12141 Declare hidden proto.
12142 * include/stdio.h (__asprintf_internal): Don't declare.
12143 (__asprintf): Don't define as macro. Declare hidden proto.
12144 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12145 (__fsetlocking): Declare hidden proto.
12146 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12147 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12149 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12150 (_IO_setlinebuf): Remove use of INTUSE.
12151 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12152 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12153 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12154 Remove declaration.
12155 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12156 (_IO_do_flush): Remove use of INTUSE.
12157 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12158 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12159 (_IO_adjust_column, _IO_least_wmarker)
12160 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12161 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12162 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12163 (_IO_default_doallocate, _IO_wdefault_doallocate)
12164 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12165 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12166 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12167 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12168 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12169 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12170 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12171 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12172 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12173 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12174 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12175 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12176 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12178 (_IO_flush_all_internal, _IO_adjust_column_internal)
12179 (_IO_default_uflow_internal, _IO_default_finish_internal)
12180 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12181 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12182 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12183 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12184 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12185 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12186 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12187 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12188 (_IO_file_close_internal, _IO_file_close_it_internal)
12189 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12190 (_IO_file_init_internal, _IO_file_attach_internal)
12191 (_IO_file_fopen_internal, _IO_file_read_internal)
12192 (_IO_file_sync_internal, _IO_file_seek_internal)
12193 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12194 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12195 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12196 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12197 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12198 (_IO_list_all_internal, _IO_link_in_internal)
12199 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12200 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12201 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12202 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12203 (_IO_do_write_internal, _IO_padn_internal)
12204 (_IO_getline_info_internal, _IO_getline_internal)
12205 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12206 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12207 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12208 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12209 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12210 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12211 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12212 with libc_hidden_ver, remove use of INTUSE.
12213 * libio/genops.c: Likewise.
12214 * libio/freopen.c: Likewise.
12215 * libio/freopen64.c: Likewise.
12216 * libio/iofclose.c: Likewise.
12217 * libio/iofdopen.c: Likewise.
12218 * libio/iofflush.c: Likewise.
12219 * libio/iofflush_u.c: Likewise.
12220 * libio/iofgets.c: Likewise.
12221 * libio/iofgets_u.c: Likewise.
12222 * libio/iofopen.c: Likewise.
12223 * libio/iofopncook.c: Likewise.
12224 * libio/iofread.c: Likewise.
12225 * libio/iofread_u.c: Likewise.
12226 * libio/ioftell.c: Likewise.
12227 * libio/iofwrite.c: Likewise.
12228 * libio/iogetline.c: Likewise.
12229 * libio/iogets.c: Likewise.
12230 * libio/iogetwline.c: Likewise.
12231 * libio/iopadn.c: Likewise.
12232 * libio/iopopen.c: Likewise.
12233 * libio/ioseekoff.c: Likewise.
12234 * libio/ioseekpos.c: Likewise.
12235 * libio/iosetbuffer.c: Likewise.
12236 * libio/iosetvbuf.c: Likewise.
12237 * libio/ioungetc.c: Likewise.
12238 * libio/ioungetwc.c: Likewise.
12239 * libio/iovdprintf.c: Likewise.
12240 * libio/iovsprintf.c: Likewise.
12241 * libio/iovsscanf.c: Likewise.
12242 * libio/memstream.c: Likewise.
12243 * libio/obprintf.c: Likewise.
12244 * libio/oldfileops.c: Likewise.
12245 * libio/oldiofclose.c: Likewise.
12246 * libio/oldiofdopen.c: Likewise.
12247 * libio/oldiofopen.c: Likewise.
12248 * libio/oldiopopen.c: Likewise.
12249 * libio/oldstdfiles.c: Likewise.
12250 * libio/putc.c: Likewise.
12251 * libio/setbuf.c: Likewise.
12252 * libio/setlinebuf.c: Likewise.
12253 * libio/stdfiles.c: Likewise.
12254 * libio/strops.c: Likewise.
12255 * libio/vasprintf.c: Likewise.
12256 * libio/vscanf.c: Likewise.
12257 * libio/vsnprintf.c: Likewise.
12258 * libio/vswprintf.c: Likewise.
12259 * libio/wfiledoalloc.c: Likewise.
12260 * libio/wfileops.c: Likewise.
12261 * libio/wgenops.c: Likewise.
12262 * libio/wmemstream.c: Likewise.
12263 * libio/wstrops.c: Likewise.
12264 * libio/__fpurge.c: Likewise.
12265 * libio/__fsetlocking.c: Likewise.
12266 * assert/assert.c: Likewise.
12267 * debug/fgets_chk.c: Likewise.
12268 * debug/fgets_u_chk.c: Likewise.
12269 * debug/fread_chk.c: Likewise.
12270 * debug/fread_u_chk.c: Likewise.
12271 * debug/gets_chk.c: Likewise.
12272 * debug/obprintf_chk.c: Likewise.
12273 * debug/vasprintf_chk.c: Likewise.
12274 * debug/vdprintf_chk.c: Likewise.
12275 * debug/vsnprintf_chk.c: Likewise.
12276 * debug/vsprintf_chk.c: Likewise.
12277 * malloc/mtrace.c: Likewise.
12278 * misc/error.c: Likewise.
12279 * misc/syslog.c: Likewise.
12280 * stdio-common/asprintf.c: Likewise.
12281 * stdio-common/fxprintf.c: Likewise.
12282 * stdio-common/getw.c: Likewise.
12283 * stdio-common/isoc99_fscanf.c: Likewise.
12284 * stdio-common/isoc99_scanf.c: Likewise.
12285 * stdio-common/isoc99_vfscanf.c: Likewise.
12286 * stdio-common/isoc99_vscanf.c: Likewise.
12287 * stdio-common/isoc99_vsscanf.c: Likewise.
12288 * stdio-common/printf-prs.c: Likewise.
12289 * stdio-common/printf_fp.c: Likewise.
12290 * stdio-common/printf_fphex.c: Likewise.
12291 * stdio-common/printf_size.c: Likewise.
12292 * stdio-common/putw.c: Likewise.
12293 * stdio-common/scanf.c: Likewise.
12294 * stdio-common/sprintf.c: Likewise.
12295 * stdio-common/tmpfile.c: Likewise.
12296 * stdio-common/vfprintf.c: Likewise.
12297 * stdio-common/vfscanf.c: Likewise.
12298 * stdlib/strfmon_l.c: Likewise.
12299 * sunrpc/openchild.c: Likewise.
12300 * sunrpc/xdr_stdio.c: Likewise.
12301 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12302 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12304 2012-05-24 Roland McGrath <roland@hack.frob.com>
12306 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12308 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12309 in the third column, to generate for the shared library an IFUNC
12310 that uses _dl_vdso_vsym.
12311 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12312 * Makeconfig (object-suffixes-noshared): New variable.
12314 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12315 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12316 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12317 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12320 * include/sys/time.h (__gettimeofday): Remove macro.
12321 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12322 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12324 (__gettimeofday): Add libc_hidden_def.
12325 (gettimeofday): Add libc_hidden_weak.
12326 * sysdeps/mach/gettimeofday.c: Likewise.
12327 * sysdeps/posix/gettimeofday.c: Likewise.
12328 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12329 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12330 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12331 (__gettimeofday_internal): Remove strong_alias.
12332 (__gettimeofday): Add libc_hidden_def.
12333 (gettimeofday): Add libc_hidden_weak.
12334 * sysdeps/unix/syscalls.list (gettimeofday):
12335 Remove __gettimeofday_internal alias.
12337 2012-05-24 Daniel Jacobowitz <drow@false.org>
12338 H.J. Lu <hongjiu.lu@intel.com>
12341 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12342 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12343 (largebin_index_32_big): New.
12344 (largebin_index): Use it for 16-byte alignment.
12345 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12346 correction with front_misalign.
12348 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12376 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12377 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12379 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12383 * math/libm-test.inc (exp_test): Add test from bug 14036.
12384 (pow_test): Add test from bug 10846.
12386 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12388 (special_function): Do not include flags in test name.
12389 (parse_args): Likewise.
12390 * sysdeps/i386/fpu/libm-test-ulps: Update.
12391 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12392 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12393 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12396 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12398 * math/libm-test.inc ("Philosophy"): Update comment about
12400 (UNDERFLOW_EXCEPTION): New macro.
12401 (UNDERFLOW_EXCEPTION_OK): Likewise.
12402 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12403 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12404 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12405 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12406 (INVALID_EXCEPTION_OK): Update value.
12407 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12408 (OVERFLOW_EXCEPTION_OK): Likewise.
12409 (IGNORE_ZERO_INF_SIGN): Likewise.
12410 (test_exceptions): Handle underflow exceptions.
12411 (acos_test): Update for underflow exception expectations.
12412 (cexp_test): Likewise.
12413 (clog_test): Likewise.
12414 (clog10_test): Likewise.
12415 (csqrt_test): Likewise.
12416 (ctan_test): Likewise.
12417 (ctanh_test): Likewise.
12418 (exp_test): Likewise.
12419 (exp10_test): Likewise.
12420 (exp2_test): Likewise.
12421 (expm1_test): Likewise.
12422 (fma_test): Likewise.
12423 (j0_test): Likewise.
12424 (jn_test): Likewise.
12425 (nexttoward_test): Likewise.
12426 (pow_test): Likewise.
12427 (scalbn_test): Likewise.
12428 (scalbln_test): Likewise.
12429 (tan_test): Likewise.
12430 (y1_test): Likewise.
12431 * sysdeps/i386/fpu/libm-test-ulps: Update.
12432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12434 2012-05-23 David S. Miller <davem@davemloft.net>
12436 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12437 (__libc_sigaction): Remove unused local variables.
12439 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12441 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12443 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12445 mktime: avoid signed integer overflow
12446 * time/mktime.c (__mktime_internal): Do not mishandle the case
12447 where diff == INT_MIN.
12449 mktime: simplify computation of average
12450 * time/mktime.c (ranged_convert): Use new time_t_avg function
12451 instead of rolling our own (probably-slower) code.
12453 mktime: do not assume signed right shift propagates sign bit
12454 * time/mktime.c (isdst_differ): New static function.
12455 (__mktime_internal): No need to normalize tm_isdst now.
12456 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12459 mktime: merge another wrapv change from gnulib
12460 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12461 from some compilers.
12463 mktime: remove incorrect attempt at unusual arithmetics
12464 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12465 The code didn't really work on such machines anyway.
12466 (TYPE_MINIMUM): Assume two's complement.
12467 (twos_complement_arithmetic): Verify that long_int and time_t
12468 are two's complement (or unsigned, in the latter case).
12470 mktime: check signed shifts on long_int and time_t, too
12471 * time/mktime.c (SHR): Check that shifts work as desired
12472 on the types long_int and time_t too, as SHR is used on
12475 mktime: do not assume 'long' is wide enough
12476 * time/mktime.c (verify): Move decl up.
12477 (long_int): New type.
12478 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12479 to remove assumption in the code that 'long' is wide enough to
12480 store year values. This assumption is not true on x32 and on
12481 some non-glibc platforms.
12483 mktime: merge wrapv change from gnulib
12484 * time/mktime.c (WRAPV): New macro.
12485 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12486 (guess_time_tm, __mktime_internal): Do not assume that signed
12487 integer overflow wraps around; modern compilers generate code
12488 where this assumption is no longer valid.
12490 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12492 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12493 Replace "jmp L(pseudo_end)" with "ret".
12494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12497 2012-05-23 Andreas Jaeger <aj@suse.de>
12499 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12500 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12502 2012-05-23 Andreas Jaeger <aj@suse.de>
12503 Maximilian Attems <max@stro.at>
12505 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12508 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12510 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12511 code so that pseudo_end is just ret and the stack pointer is
12512 correct also for static library in error case.
12514 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12516 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12517 move to syscalls.list.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12523 * manual/install.texi (Running make install): Do not mention Linux
12524 kernel version for which pt_chown is not needed.
12525 (Linux): Do not mention problems with nscd with 2.0 kernels.
12526 * INSTALL: Regenerated.
12528 2012-05-23 Andreas Jaeger <aj@suse.de>
12530 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12531 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12533 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12534 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12535 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12536 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12537 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12538 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12539 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12540 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12541 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12542 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12543 * sysdeps/unix/sysv/linux/bits/in.h
12544 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12546 2012-05-22 Roland McGrath <roland@hack.frob.com>
12548 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12549 (PREPARE_VERSION): Just use assert instead, it will be elided
12550 under [NDEBUG] anyway.
12552 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12554 * sysdeps/unix/sysv/linux/Makefile: Include
12555 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12556 (sysdep_routines): Remove sysctl.
12557 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12558 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12559 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12560 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12561 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12563 2012-05-22 Andreas Jaeger <aj@suse.de>
12565 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12566 that pseudo_end is just ret and the stack pointer is correct also
12567 for static library in error case.
12569 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12572 * nss/nsswitch.c (defconfig_entries): New variable.
12573 (__nss_database_lookup): Don't leak defconfig entries.
12574 (nss_parse_service_list): Don't leak on error paths.
12575 (free_database_entries): New function.
12576 (free_defconfig): New function.
12577 (free_mem): Move common code to free_database_entries.
12579 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12581 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12583 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12585 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12586 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12589 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12590 (INTERNAL_SYSCALL_TYPES): Likewise.
12591 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12592 (LOAD_REGS_TYPES_[1-6]): Likewise.
12593 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12594 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12596 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12598 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12599 copysignl for GLIBC_2_0.
12600 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12601 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12603 logbl for GLIBC_2_0.
12604 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12605 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12607 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12609 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12610 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12612 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12615 * time/mktime.c: Update copyright years.
12617 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12619 mktime: merge comment-quoting-style change from gnulib
12620 * time/mktime.c: Quote 'like this' in comments.
12621 The GNU coding standards suggest that we no longer quote `like this',
12622 as "`" and "'" are typically rendered asymmetrically nowadays.
12623 The typical gnulib style is to quote 'like this' when quoting
12624 code, and "like this" when quoting English.
12626 * time/mktime.c (compile-command): Add "-I.".
12628 mktime: merge mktime-internal.h change from gnulib
12629 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12631 mktime: merge time_r change from gnulib
12632 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12634 mktime: merge DEBUG change from gnulib
12635 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12636 case system <time.h> has a #define.
12638 mktime: merge <sys/types.h> change from gnulib
12639 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12640 since <time.t> is now guaranteed to define time_t.
12642 mktime: merge HAVE_CONFIG_H change from gnulib
12643 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12645 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12650 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12652 (struct rusage): Use anonymous union to pad each field to
12655 2012-05-21 David S. Miller <davem@davemloft.net>
12657 * Makefules (o-iterator): Remove .s cases.
12658 (compile-command.s): Delete.
12659 (COMPILE.s): Delete.
12660 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12662 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12664 * configure.in (libc_cv_predef_stack_protector): Only consider
12665 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12666 * configure: Regenerated.
12668 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12671 New macro. Use R*LP on int and pointer.
12672 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12673 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12674 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12675 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12677 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12678 [__WORDSIZE_TIME64_COMPAT32] instead of
12679 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12680 (struct utmp): Likewise.
12681 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12682 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12684 (__WORDSIZE_TIME64_COMPAT32): This.
12685 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12686 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12687 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12688 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12689 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12690 (__WORDSIZE_TIME64_COMPAT32): New macro.
12692 2012-05-21 Andreas Jaeger <aj@suse.de>
12694 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12695 only if [SHARED]. Add prototype for __wcschr_ia32.
12697 2012-05-21 Roland McGrath <roland@hack.frob.com>
12699 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12700 of %rbp unmolested in the jmp_buf while mangling the low bits.
12701 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12702 unmolested high bits of %rbp while demangling the low bits.
12703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12705 2012-05-21 Andreas Jaeger <aj@suse.de>
12707 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12708 * sunrpc/svc_simple.c: Use it for registerrpc.
12709 * sunrpc/xcrypt.c: Use it for passwd2des.
12711 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12713 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12715 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12716 Don't define if [__SYSCALL_WORDSIZE != 32].
12717 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12720 2012-05-21 Bruno Haible <bruno@clisp.org>
12721 Andreas Jaeger <aj@suse.de>
12723 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12724 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12725 inptr and inend for must_buffer_ch.
12726 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12727 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12728 * stdio-common/Makefile (tests): Remove bug15.
12729 (bug15-ENV): Remove macro.
12730 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12733 2012-05-19 Andreas Jaeger <aj@suse.de>
12734 Roland McGrath <roland@hack.frob.com>
12736 * manual/contrib.texi: Completely rewritten. It contains now an
12737 alphabetical list of contributors and their contributions.
12739 2012-05-21 Richard Henderson <rth@twiddle.net>
12741 * misc/getauxval.c (__getauxval): Use unsigned long int.
12742 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12743 (getauxval): Use unsigned long int.
12745 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12747 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12749 2012-05-21 Roland McGrath <roland@hack.frob.com>
12751 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12752 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12753 __alignof__ (long double).
12755 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12759 2012-05-20 Richard Henderson <rth@twiddle.net>
12761 * misc/getauxval.c: New file.
12762 * misc/sys/auxv.h: New file.
12763 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12764 (routines): Add getauxval.
12765 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12766 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12767 * elf/dl-sysdep.c (_dl_auxv): Remove.
12768 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12769 * elf/dl-support.c (_dl_auxv): New variable.
12770 (_dl_aux_init): Initialize it.
12771 * manual/startup.texi (Auxiliary Vector): New node.
12772 * sysdeps/generic/bits/hwcap.h: New file.
12773 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12774 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12775 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12776 * sysdeps/sparc/sysdep.h: ... here. Include it.
12777 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12778 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12784 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12790 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12794 2012-05-19 David S. Miller <davem@davemloft.net>
12796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12798 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12801 * math/s_ccosh.c: Include <float.h>
12802 (__ccosh): Avoid internal overflow calculating sinh and cosh
12803 values before multiplying by sin and cos values.
12804 * math/s_ccoshf.c: Likewise.
12805 * math/s_ccoshl.c: Likewise.
12806 * math/s_csin.c: Likewise.
12807 * math/s_csinf.c: Likewise.
12808 * math/s_csinl.c: Likewise.
12809 * math/s_csinh.c: Likewise.
12810 * math/s_csinhf.c: Likewise.
12811 * math/s_csinhl.c: Likewise.
12812 * math/libm-test.inc (ccos_test): Add more tests.
12813 (ccosh_test): Likewise.
12814 (csin_test): Likewise.
12815 (csinh_test): Likewise.
12816 * sysdeps/i386/fpu/libm-test-ulps: Update.
12817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12819 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12821 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12822 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12824 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12826 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12828 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12829 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12830 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12831 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12832 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12833 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12834 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12835 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12836 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12837 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12838 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12839 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12840 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12841 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12842 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12843 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12844 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12845 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12846 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12847 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12848 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12849 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12850 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12851 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12852 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12853 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12854 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12855 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12856 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12857 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12858 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12860 2012-05-18 Andreas Jaeger <aj@suse.de>
12862 * csu/.gitignore: Delete.
12864 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12866 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12867 (timex): Use __syscall_slong_t.
12869 2012-05-18 Andreas Jaeger <aj@suse.de>
12870 Carlos O'Donell <carlos_odonell@mentor.com>
12872 * manual/install.texi (Configuring and compiling): Update
12873 description about files modified in the source directory.
12874 * INSTALL: Regenerated.
12876 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12878 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12879 value. Use "or" to set return value to -1.
12880 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12881 negate return value.
12883 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12885 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12886 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12887 failure if the compiler has Graphite support disabled.
12888 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12890 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12891 CFLAGS-memmove.c): Likewise.
12892 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12895 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12897 * sysdeps/x86_64/x32/_itoa.h: New file.
12899 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12900 getdents system call only if kernel and user dirents have the
12901 same d_ino and d_off.
12903 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12904 LLONG_MAX != LONG_MAX.
12905 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12906 (_fitoa_word): Likewise.
12908 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12910 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12911 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12912 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12914 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12915 include <bits/wordsize.h>. Check __x86_64__ instead of
12917 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12918 if __x86_64__ is defined. Use anonymous union on fpstate.
12920 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12923 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12925 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12926 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12927 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12928 Refer to _rtld_local_ro instead of _rtld_global_ro.
12929 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12931 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12933 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12935 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12936 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12937 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12939 * sysdeps/powerpc/powerpc32/dl-machine.c
12940 (__elf_machine_runtime_setup) [PROF]: Don't reference
12943 2012-05-18 Andreas Jaeger <aj@suse.de>
12945 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12946 function only available for GCCs before 3.4 since GCC 3.4
12947 introduced a builtin.
12949 (llrintf): Likewise.
12950 (llrint): Likewise.
12957 (nearbyint): Likewise.
12958 (nearbyintf): Likewise.
12962 (floorf): Likewise.
12964 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12966 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12967 on both fields and cast pointer to __syscall_ulong_t.
12969 * bits/types.h (__fsword_t): New type.
12970 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12971 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12972 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12973 (__FSWORD_T_TYPE): Likewise.
12974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12975 (__FSWORD_T_TYPE): Likewise.
12976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12977 (__FSWORD_T_TYPE): Likewise.
12978 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12979 (__FSWORD_T_TYPE): Likewise.
12980 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12981 __SWORD_TYPE with __fsword_t.
12982 (statfs64): Likewise.
12984 2012-05-17 David S. Miller <davem@davemloft.net>
12986 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12988 2012-05-17 Andreas Jaeger <aj@suse.de>
12990 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12993 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12995 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12997 2012-05-17 Andreas Jaeger <aj@suse.de>
12999 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13002 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13004 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13006 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13008 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13009 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13011 2012-05-17 Andreas Jaeger <aj@suse.de>
13012 Carlos O'Donell <carlos_odonell@mentor.com>
13015 * sysdeps/x86_64/multiarch/init-arch.h
13016 (bit_YMM_Usable): Rename to...
13017 (bit_AVX_Usable): ... this.
13018 (bit_FMA4_Usable): New macro.
13019 (bit_XMM_state): New macro.
13020 (bit_YMM_state): New macro.
13021 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13022 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13023 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13024 (CPUID_OSXSAVE): New macro.
13025 (CPUID_AVX): New macro.
13026 (CPUID_FMA4): New macro.
13027 (index_YMM_Usable): Rename to...
13028 (index_AVX_Usable): ... this.
13029 (HAS_AVX): Use HAS_ARCH_FEATURE.
13030 (HAS_FMA4): Likewise.
13031 (HAS_YMM_USABLE): Remove.
13032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13033 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13035 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13036 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13037 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13038 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13039 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13041 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13043 * math/libm-test.c: Support platforms without multiple rounding modes.
13044 * math/bug-nextafter.c: Support platforms without FP exceptions.
13045 * math/bug-nexttoward.c: Likewise.
13046 * math/test-fenv.c: Likewise.
13047 * math/test-misc.c: Likewise.
13048 * stdlib/bug-getcontext.c: Likewise.
13050 2012-05-17 Andreas Jaeger <aj@suse.de>
13052 * manual/examples/search.c (critter_cmp): Change signature to
13054 * manual/string.texi (Collation Functions): Likewise.
13056 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13058 * bits/types.h: Fold copyright years.
13059 * bits/typesizes.h: Likewise.
13060 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13062 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13064 * time/time.h: Likewise.
13066 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13069 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13070 in instead of returning them. Return void.
13071 (__libc_mallinfo): Accumulate over all arenas.
13072 (__malloc_stats): Adjust for change in int_mallinfo interface.
13074 2012-05-16 Roland McGrath <roland@hack.frob.com>
13077 * configure.in (NM): Add AC_CHECK_TOOL for it.
13078 (libc_extra_cflags): New substituted variable.
13079 Check for -fstack-protector being used implicitly.
13080 * configure: Regenerated.
13081 * config.make.in (config-extra-cflags): New variable,
13082 gets @libc_extra_cflags@.
13083 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13086 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13087 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13088 * configure: Regenerated.
13089 * config.make.in (CPPUNDEFS): New substituted variable.
13090 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13091 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13092 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13094 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13096 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13097 (mq_attr): Use __syscall_slong_t.
13099 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13101 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13102 Check __x86_64__ instead of __WORDSIZE.
13103 (_STAT_VER_LINUX): Likewise.
13104 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13105 __syscall_ulong_t and __syscall_slong_t.
13106 (stat64): Likewise.
13108 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13110 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13112 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13114 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13116 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13118 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13121 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13122 include <bits/wordsize.h>. Check __x86_64__ instead of
13124 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13126 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13129 include <bits/wordsize.h>. Check __x86_64__ instead of
13131 (user_regs_struct): Use "__extension__ unsigned long long"
13132 instead of "unsigned long" if __x86_64__ is defined.
13133 (user): Likewise. Pad after pointer field if __ILP32__ is
13136 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13138 * configure.in (makeinfo): Require version 4.5 or later. Allow
13140 * configure: Regenerated.
13141 * manual/install.texi (texinfo): Increase version requirement to
13143 * INSTALL: Regenerated.
13145 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13147 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13149 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13151 * sysdeps/x86_64/x32/ffs.c: New file.
13153 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13155 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13156 defined. Use __syscall_ulong_t.
13157 (shminfo): Use __syscall_ulong_t.
13158 (shm_info): Likewise.
13160 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13163 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13165 (msgqnum_t): Use __syscall_ulong_t.
13166 (msglen_t): Likewise.
13167 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13170 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13171 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13173 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13175 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13176 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13178 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13181 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13182 include <bits/wordsize.h>. Check __x86_64__ instead of
13185 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13186 "unsigned long long int" if __x86_64__ is defined.
13187 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13189 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13190 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13191 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13193 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13195 (GET_PC): Cast to uintptr_t first.
13196 (GET_FRAME): Likewise.
13197 (GET_STACK): Likewise.
13199 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13201 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13202 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13203 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13205 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13206 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13207 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13208 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13209 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13210 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13211 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13212 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13213 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13214 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13215 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13216 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13217 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13218 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13219 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13220 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13221 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13222 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13223 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13224 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13225 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13226 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13229 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13231 * Makerules (+depfiles): Also collect depfiles from .oS in
13233 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13234 .oS, $(libnldbl-routines)).
13236 * Makerules (native-compile-mkdep-flags): Define.
13237 * sunrpc/Makefile (extra-objs): Add $(addprefix
13238 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13239 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13240 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13241 calling $(make-target-directory).
13243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13245 * bits/types.h (__snseconds_t): Removed.
13246 * time/time.h (struct timespec): Replace __snseconds_t with
13248 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13249 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13251 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13252 (__SNSECONDS_T_TYPE): Likewise.
13253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13254 (__SNSECONDS_T_TYPE): Likewise.
13255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13256 (__SNSECONDS_T_TYPE): Likewise.
13258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13260 * sysdeps/mach/hurd/bits/typesizes.h
13261 (__SYSCALL_SLONG_TYPE): New macro.
13262 (__SYSCALL_ULONG_TYPE): Likewise.
13264 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13266 * bits/types.h (__syscall_slong_t): New type.
13267 (__syscall_ulong_t): Likewise.
13269 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13270 (__SYSCALL_ULONG_TYPE): Likewise.
13271 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13272 (__SYSCALL_SLONG_TYPE): Likewise.
13273 (__SYSCALL_ULONG_TYPE): Likewise.
13274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13275 (__SYSCALL_SLONG_TYPE): Likewise.
13276 (__SYSCALL_ULONG_TYPE): Likewise.
13277 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13278 (__SYSCALL_SLONG_TYPE): Likewise.
13279 (__SYSCALL_ULONG_TYPE): Likewise.
13281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13283 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13284 Add sigaltstack-offsets.sym.
13285 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13286 <sigaltstack-offsets.h>.
13287 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13288 longjmp_msg pointer.
13289 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13290 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13292 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13294 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13296 * elf/stackguard-macros.h: Remove file.
13297 * sysdeps/generic/stackguard-macros.h: New file.
13298 * sysdeps/i386/stackguard-macros.h: Likewise.
13299 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13300 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13301 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13302 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13303 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13304 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13305 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13306 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13307 <elf/stackguard-macros.h>.
13310 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13311 __aligned__ in attribute.
13312 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13313 (gregset_t): Likewise.
13315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13317 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13318 * sysdeps/x86_64/64/Implies-after: Here. New file.
13319 * sysdeps/x86_64/x32/Implies-after: New file.
13321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13323 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13324 and access return value for _dl_profile_fixup. Use R10_LP to
13327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13329 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13333 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13334 * sysdeps/x86_64/x32/sysdep.h: New file.
13336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13338 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13339 * sysdeps/x86_64/setjmp.S: Likewise.
13341 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13343 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13344 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13345 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13346 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13347 remove unused global constant.
13349 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13351 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13352 include of <not-cancel.h>.
13354 2012-05-15 Roland McGrath <roland@hack.frob.com>
13356 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13358 2012-05-15 Jeff Law <law@redhat.com>
13359 Andreas Jaeger <aj@suse.de>
13362 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13364 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13365 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13366 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13367 code changing __hst_map_handle.map.
13369 2012-05-15 Roland McGrath <roland@hack.frob.com>
13371 * configure.in (sysnames): Look for Implies-before and Implies-after
13373 * configure: Regenerated.
13375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13377 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13378 8-byte data alignment with LP_SIZE alignment.
13380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13382 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13387 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13391 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13392 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13393 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13395 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13399 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13400 (stackinfo_sub_sp): Likewise.
13402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13404 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13409 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13414 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13417 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13419 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13423 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13424 into R11_LP and load __x86_64_shared_cache_size_half into
13427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13429 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13432 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13440 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13441 powerpc32/power7/fpu/s_logb.c via #include.
13442 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13443 powerpc32/power7/fpu/s_logbf.c via #include.
13444 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13445 powerpc32/power7/fpu/s_logbl.c via #include.
13447 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13449 * README.libm: Remove file.
13451 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13453 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13454 count for x32. Use R*_LP and omit operand-size suffix.
13456 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13458 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13459 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13460 * sysdeps/x86_64/x32/shlib-versions: New file.
13462 2012-05-14 Roland McGrath <roland@hack.frob.com>
13464 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13465 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13466 Use _dl_fatal_printf instead.
13468 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13470 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13471 set if not set by the user. Do not allow for being unset.
13472 * sysdeps/unix/sysv/linux/configure: Regenerated.
13474 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13476 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13477 the `q' suffix from lea and replace .quad with ASM_ADDR.
13479 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13482 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13484 (PTR_DEMANGLE): Likewise.
13486 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13488 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13490 (ASM_ADDR): Likewise.
13491 (RAX_LP): Likewise.
13492 (RBP_LP): Likewise.
13493 (RBX_LP): Likewise.
13494 (RCX_LP): Likewise.
13495 (RDI_LP): Likewise.
13496 (RSI_LP): Likewise.
13497 (RSP_LP): Likewise.
13500 (R10_LP): Likewise.
13501 (R10_LP): Likewise.
13502 (R11_LP): Likewise.
13503 (R12_LP): Likewise.
13504 (R13_LP): Likewise.
13505 (R14_LP): Likewise.
13506 (R15_LP): Likewise.
13508 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13510 * sysdeps/x86_64/x32/dl-machine.h: New file.
13512 2012-05-14 Andreas Jaeger <aj@suse.de>
13514 * manual/Makefile (subdir): Remove export of subdir.
13515 (all): Remove target.
13516 (.PHONY): Remove all from list.
13517 (mkinstalldirs): Remove.
13518 (.PHONY): Remove installdirs from list.
13519 ($(inst_infodir)/libc.info): Use make-target-directory.
13520 (installdirs): Remove.
13521 (subdir_%): Remove.
13522 (glibc-targets): Remove.
13525 ($(objpfx)stubs ../po/manual.pot): Remove.
13526 ($(objpfx)stamp%): Remove.
13527 (make-target-directory): Remove.
13528 (subdir_install): Remove.
13529 (routines): Remove.
13536 * manual/.gitignore: Remove, it's not needed anymore.
13537 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13539 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13541 (texis): Renamed to $(objpfx)texis.
13542 (texis-path): New, contains path to generated files.
13543 (chapters.%): Use texis-path for complete path, add extra argument
13545 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13546 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13547 (summary,texi, stamp-summary): Use complete path of
13548 files. Generate files in build dir.
13549 (dir-add.texi): Build in build dir.
13550 (libm-err.texi,stamp-libm-err): Likewise.
13551 (version.texi, stamp-version): Likewise.
13552 (.%c.texi): Likewise.
13553 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13554 (mostlyclean): Remove target.
13555 (realclean): Remove target.
13556 (generated): Add new variable with contents from mostlyclean and
13557 realclean, remove entries duplicated in common-mostlyclean, add
13558 stamp-libm-err and stamp-version.
13559 (generated-dirs): Add libc directory.
13560 ($(inst_infodir)/libc.info): Install files from build dir.
13562 * manual/install.texi (Configuring and compiling): Adjust since
13563 the info files are not part of the tar ball anymore.
13565 2012-05-14 Andreas Jaeger <aj@suse.de>
13567 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13570 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13573 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13574 to 2.2.0 where earlier.
13575 * sysdeps/unix/sysv/linux/configure: Regenerated.
13576 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13577 Remove conditional code.
13578 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13579 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13580 Remove conditional code.
13581 [!__NR_lchown]: Likewise.
13582 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13583 [__NR_lchown]: Likewise.
13584 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13585 comment referencing __ASSUME_LCHOWN_SYSCALL.
13586 * sysdeps/unix/sysv/linux/i386/sigaction.c
13587 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13588 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13589 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13590 Remove conditional code.
13591 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13592 (__protocol_available): Remove #if 0 code.
13593 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13595 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13596 * sysdeps/unix/sysv/linux/kernel-features.h
13597 (__ASSUME_GETCWD_SYSCALL): Don't define.
13598 (__ASSUME_REALTIME_SIGNALS): Likewise.
13599 (__ASSUME_PREAD_SYSCALL): Likewise.
13600 (__ASSUME_PWRITE_SYSCALL): Likewise.
13601 (__ASSUME_POLL_SYSCALL): Likewise.
13602 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13603 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13605 (__ASSUME_SIOCGIFNAME): Don't define.
13606 (__ASSUME_MSG_NOSIGNAL): Likewise.
13607 (__ASSUME_SENDFILE): Define unconditionally.
13608 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13609 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13611 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13612 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13613 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13614 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13615 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13616 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13617 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13619 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13620 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13622 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13623 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13625 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13626 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13628 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13629 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13631 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13634 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13635 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13637 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13640 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13642 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13643 Remove conditional code.
13644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13645 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13646 Remove conditional code.
13647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13648 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13649 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13650 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13651 Remove conditional code.
13652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13653 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13654 Remove conditional code.
13655 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13656 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13657 Remove conditional code.
13658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13659 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13660 Remove conditional code.
13661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13662 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13663 Remove conditional code.
13664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13665 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13666 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13667 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13668 * sysdeps/unix/sysv/linux/sigaction.c
13669 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13670 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13671 * sysdeps/unix/sysv/linux/sigpending.c
13672 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13673 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13674 * sysdeps/unix/sysv/linux/sigprocmask.c
13675 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13676 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13677 * sysdeps/unix/sysv/linux/sigsuspend.c
13678 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13679 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13680 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13681 (__libc_missing_rt_sigs): Remove.
13682 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13683 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13684 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13685 Remove conditional code.
13686 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13687 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13689 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13690 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13691 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13692 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13694 2012-05-14 Andreas Jaeger <aj@suse.de>
13696 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13697 it's not used in glibc.
13698 (__coshm1): Likewise.
13699 (__acosh1p): Likewise.
13702 * manual/string.texi (Copying and Concatenation): Add missing
13703 variable in concat example.
13704 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13706 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13709 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13710 __builtin_clzl with __builtin_clzll.
13712 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13715 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13718 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13720 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13721 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13722 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13723 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13725 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13727 * NEWS: Update ia64 info.
13729 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13731 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13734 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13736 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13737 * sysdeps/unix/syscalls.list (dup3): Likewise.
13738 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13739 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13741 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13743 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13744 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13746 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13748 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13750 (TLS_IE): Use mov/add instead of movq/addq to load thread
13752 (TLS_GD_PREFIX): New.
13755 2012-05-11 David S. Miller <davem@davemloft.net>
13757 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13758 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13759 (_FPU_SETCW): Likewise.
13761 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13763 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13764 is 32-byte aligned.
13766 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13769 * iconvdata/gb18030.c: Update tables.
13770 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13771 characters specially.
13772 (BODY for TO_LOOP): Add encoding of missing ranges.
13774 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13777 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13778 * sysdeps/mach/hurd/dup3.c: Likewise.
13779 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13780 * sysdeps/powerpc/memmove.c:: Likewise.
13782 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13784 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13785 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13787 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13789 * elf/elf.h (R_X86_64_RELATIVE64): New.
13790 (R_X86_64_NUM): Updated.
13791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13792 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13793 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13794 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13795 tst-quad1pie tst-quad2pie
13796 (modules-names): Add tst-quadmod1 tst-quadmod2.
13797 ($(objpfx)tst-quad1): New dependency.
13798 ($(objpfx)tst-quad2): Likewise.
13799 ($(objpfx)tst-quad1pie): Likewise.
13800 ($(objpfx)tst-quad2pie): Likewise.
13801 * sysdeps/x86_64/tst-quad1.c: New file.
13802 * sysdeps/x86_64/tst-quad1pie.c: New file.
13803 * sysdeps/x86_64/tst-quad2.c: Likewise.
13804 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13805 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13806 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13807 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13808 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13810 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13812 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13813 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13814 * streams/stropts.h (t_scalar_t): Define type.
13816 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13817 (_PATH_PRESERVE): Set to "/var/lib".
13818 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13820 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13823 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13824 if __dir_mkfile succeeded.
13826 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13827 checking for _hurd_dtablesize. Unlock it right after having
13828 finished _hurd_dtable allocation.
13830 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13832 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13833 * sysdeps/mach/hurd/configure: Regenerated.
13834 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13835 special-casing to...
13836 * sysdeps/gnu/configure.in: ... this new file.
13837 * sysdeps/unix/sysv/linux/configure: Regenerated.
13838 * sysdeps/gnu/configure: New generated file.
13840 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13841 for Linux: use nsec instead of usec, as well as:
13842 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13843 members of type struct timespec.
13844 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13846 (struct stat64): Likewise.
13847 (_STATBUF_ST_NSEC): New macro.
13848 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13850 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13851 __strtoul_internal rather than strtoul.
13853 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13855 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13858 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13860 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13861 which preserves existing values.
13862 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13864 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13866 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13867 TIMEOUT values. Return EINVAL for NFDS values either negative or
13868 greater than FD_SETSIZE.
13870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13872 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13873 allocated, call __vm_protect to finish enabling the existing space, and
13874 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13875 allocate the remainder.
13877 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13879 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13880 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13882 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13884 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13885 sysdeps/mach/hurd/readlink.c.
13887 * posix/tst-sysconf.c (posix_options): Only use
13888 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13889 _POSIX_SYNCHRONIZED_IO when they are defined
13890 * sysdeps/mach/hurd/bits/posix_opt.h:
13891 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13892 (_XOPEN_REALTIME): Undefine macro.
13893 (_XOPEN_REALTIME_THREADS): Undefine macro.
13894 (_XOPEN_SHM): Undefine macro.
13895 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13897 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13899 (_POSIX_ASYNC_IO): Undefine macro.
13900 (_POSIX_PRIORITIZED_IO): Undefine macro.
13901 (_POSIX_SPIN_LOCKS): Define macro to -1.
13903 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13904 SA_NODEFER, SA_RESETHAND.
13905 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13906 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13909 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13911 * elf/Makefile (pldd-modules): Define unconditionally.
13913 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13915 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13917 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13919 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13920 Return ENOENT when name is empty.
13921 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13923 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13925 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13927 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13931 Fix mlock in all cases except non-readable pages.
13932 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13933 instead of VM_PROT_ALL as parameter to __vm_wire function.
13935 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13936 (__mkdir): When path is `/', just fail with EEXIST.
13937 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13939 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13941 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13942 <sys/uio.h> (for writev).
13943 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13944 and <sys/param.h> (for MIN).
13946 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13948 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13949 REQUESTED_TIME. Properly set the remaining time and return EINTR
13952 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13954 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13955 Depend on against $(link-rpcuserlibs).
13957 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13959 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13960 (__libc_stack_end): Do not use attribute_relro.
13961 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13962 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13963 to libthread-provided value.
13964 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13967 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13970 * bits/libc-lock.h (__libc_once_get): New macro.
13971 * sysdeps/mach/bits/libc-lock.h: Likewise.
13972 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13973 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13974 instead of using implementation details.
13976 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13977 * libio/freopen.c: Likewise.
13978 * libio/freopen64.c: Likewise.
13979 * misc/syslog.c: Likewise.
13980 * nscd/connections.c: Likewise.
13981 * nscd/netgroupcache.c: Likewise.
13982 * sysdeps/posix/getcwd.c: Likewise.
13984 2012-05-10 Roland McGrath <roland@hack.frob.com>
13986 * math/w_ilogbf.c: Add #include <limits.h>.
13988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13990 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13991 path instead of returning without unlocking.
13993 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13994 immediate-write ioctls.
13995 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13997 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13999 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14000 __builtin_frame_address instead of making assumptions about the
14001 location of the return address relative to DATA. Force early load of
14002 the return address.
14003 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14004 __builtin_frame_address.
14007 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14008 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14009 implement dup3 and do some further code clean-ups.
14010 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14011 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14013 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14015 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14017 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14018 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14019 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14020 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14021 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14024 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14025 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14026 when handler == SIG_ERR, not when handler != SIG_ERR.
14028 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14030 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14031 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14034 accept4 for GNU Hurd.
14035 * include/sys/socket.h (__libc_accept4): New prototype.
14036 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14037 to implement __libc_accept4.
14038 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14040 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14042 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14043 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14044 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14045 signal-defines.sym.
14047 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14049 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14051 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14053 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14054 assertion on O_CLOEXEC flag.
14055 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14056 * hurd/intern-fd.c: Likewise.
14057 * hurd/port2fd.c: Likewise.
14059 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14062 * bits/in.h (IPV6_PKTINFO): Define new macro.
14063 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14065 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14070 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14071 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14072 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14073 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14074 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14075 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14076 * math/libm-test.inc (logb_test) : Additional logb tests.
14078 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14079 Andreas Jaeger <aj@suse.de>
14081 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14082 * configure: Regenerated.
14083 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14084 * config.make.in (link-obsolete-rpc): New substituted variable.
14085 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14086 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14087 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14088 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14089 so that libc.a contains the symbols.
14090 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14091 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14092 * sunrpc/auth_none.c: Likewise.
14093 * sunrpc/auth_unix.c: Likewise.
14094 * sunrpc/authdes_prot.c: Likewise.
14095 * sunrpc/authuxprot.c: Likewise.
14096 * sunrpc/clnt_gen.c: Likewise.
14097 * sunrpc/clnt_perr.c: Likewise.
14098 * sunrpc/clnt_raw.c: Likewise.
14099 * sunrpc/clnt_simp.c: Likewise.
14100 * sunrpc/clnt_tcp.c: Likewise.
14101 * sunrpc/clnt_udp.c: Likewise.
14102 * sunrpc/clnt_unix.c: Likewise.
14103 * sunrpc/des_crypt.c: Likewise.
14104 * sunrpc/des_soft.c: Likewise.
14105 * sunrpc/get_myaddr.c: Likewise.
14106 * sunrpc/key_call.c: Likewise.
14107 * sunrpc/key_prot.c: Likewise.
14108 * sunrpc/netname.c: Likewise.
14109 * sunrpc/pm_getmaps.c: Likewise.
14110 * sunrpc/pm_getport.c: Likewise.
14111 * sunrpc/pmap_clnt.c: Likewise.
14112 * sunrpc/pmap_prot.c: Likewise.
14113 * sunrpc/pmap_prot2.c: Likewise.
14114 * sunrpc/pmap_rmt.c: Likewise.
14115 * sunrpc/publickey.c: Likewise.
14116 * sunrpc/rpc_cmsg.c: Likewise.
14117 * sunrpc/rpc_common.c: Likewise.
14118 * sunrpc/rpc_dtable.c: Likewise.
14119 * sunrpc/rpc_prot.c: Likewise.
14120 * sunrpc/rpc_thread.c: Likewise.
14121 * sunrpc/rtime.c: Likewise.
14122 * sunrpc/svc.c: Likewise.
14123 * sunrpc/svc_auth.c: Likewise.
14124 * sunrpc/svc_raw.c: Likewise.
14125 * sunrpc/svc_run.c: Likewise.
14126 * sunrpc/svc_tcp.c: Likewise.
14127 * sunrpc/svc_udp.c: Likewise.
14128 * sunrpc/svc_unix.c: Likewise.
14129 * sunrpc/svcauth_des.c: Likewise.
14130 * sunrpc/xcrypt.c: Likewise.
14131 * sunrpc/xdr.c: Likewise.
14132 * sunrpc/xdr_array.c: Likewise.
14133 * sunrpc/xdr_float.c: Likewise.
14134 * sunrpc/xdr_intXX_t.c: Likewise.
14135 * sunrpc/xdr_mem.c: Likewise.
14136 * sunrpc/xdr_rec.c: Likewise.
14137 * sunrpc/xdr_ref.c: Likewise.
14138 * sunrpc/xdr_sizeof.c: Likewise.
14139 * sunrpc/xdr_stdio.c: Likewise.
14141 2012-05-10 Roland McGrath <roland@hack.frob.com>
14143 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14144 change. Update copyright years.
14146 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14148 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14150 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14151 Joseph Myers <joseph@codesourcery.com>
14152 Paul Pluzhnikov <ppluzhnikov@google.com>
14155 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14157 [cross-compiling] (extra-libs): Likewise.
14158 [cross-compiling] (extra-libs-others): Likewise.
14159 [cross-compiling] (librpcsvc-routines): Likewise.
14160 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14161 [cross-compiling] (omit-deps): Likewise.
14162 (sunrpc-CPPFLAGS): New variable.
14163 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14164 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14165 (cross-rpcgen-objs): New variable.
14166 (extra-objs): Append $(cross-rpcgen-objs).
14167 ($(cross-rpcgen-objs)): New rule.
14168 ($(objpfx)cross-rpcgen): Likewise.
14169 (rpcgen-cmd): Define to use $(built-program-file). Expand
14171 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14172 ($(objpfx)x%.stmp): Likewise.
14173 * sunrpc/proto.h [IS_IN_build] (_): Define.
14174 [IS_IN_build] (_libc_intl_domainname): Likewise.
14176 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14178 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14179 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14180 and R_X86_64_TPOFF64.
14182 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14184 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14185 sysdeps/unix/sysv/syscalls.list.
14188 * sysdeps/unix/sysv/syscalls.list: Remove file.
14190 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14193 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14194 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14195 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14196 (__LC_IDENTIFICATION): Make these macros useful in #if
14197 expressions, as required by C99.
14199 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14201 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14202 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14205 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14207 * stdlib/longlong.h: Updated from GCC.
14209 2012-05-09 Andreas Jaeger <aj@suse.de>
14211 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14212 default is first entry.
14213 (run_mode): Set type.
14214 (main): Remove informal message about syslog.
14215 (options): Fix typo.
14218 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14221 (llrintf): Likewise.
14222 (llrint): Likewise.
14225 (nearbyint): Likewise.
14226 (nearbyintf): Likewise.
14228 2012-05-09 Andreas Jaeger <aj@suse.de>
14229 Pedro Alves <palves@redhat.com>
14231 * nscd/nscd.c (run_mode): Use enum.
14232 (main): Cleanup coding style issue.
14234 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14235 Andreas Jaeger <aj@suse.de>
14237 * nscd/nscd.c (go_background): Replaced with...
14238 (run_mode): ... this.
14239 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14240 (options): Add -F --foreground.
14241 (main): Implement it.
14242 (parse_opt): Parse it.
14244 2012-05-09 Andreas Jaeger <aj@suse.de>
14247 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14248 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14249 -Wconversion warning.
14250 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14253 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14255 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14257 (LC_ALL): Use macro-int-constant.
14258 (LC_COLLATE): Likewise.
14259 (LC_CTYPE): Likewise.
14260 (LC_MESSAGES): Likewise.
14261 (LC_MONETARY): Likewise.
14262 (LC_NUMERIC): Likewise.
14263 (LC_TIME): Likewise.
14264 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14265 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14267 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14269 [C99-based standards] (float_t): Expect type.
14270 [C99-based standards] (double_t): Expect type.
14271 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14273 [C99-based standards] (HUGE_VALL): Likewise.
14274 [C99-based standards] (INFINITY): Likewise.
14275 [C99-based standards] (NAN): Likewise.
14276 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14277 [C99-based standards] (FP_NAN): Likewise.
14278 [C99-based standards] (FP_NORMAL): Likewise.
14279 [C99-based standards] (FP_SUBNORMAL): Likewise.
14280 [C99-based standards] (FP_ZERO): Likewise.
14281 [C99-based standards] (FP_FAST_FMA): Use
14282 optional-macro-int-constant. Specify type. Require == 1.
14283 [C99-based standards] (FP_FAST_FMAF): Likewise.
14284 [C99-based standards] (FP_FAST_FMAL): Likewise.
14285 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14286 [C99-based standards] (FP_ILOGBNAN): Likewise.
14287 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14289 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14290 [C99-based standards] (math_errhandling): Specify type.
14291 [ISO99 || ISO11] (signgam): Do not allow.
14292 [non-C99-based standards] (copysignf): Do not allow.
14293 [non-C99-based standards] (exp2f): Likewise.
14294 [non-C99-based standards] (log2f): Likewise.
14295 [non-C99-based standards] (modff): Allow.
14296 [non-C99-based standards] (erff): Do not allow.
14297 [non-C99-based standards] (erfcf): Likewise.
14298 [non-C99-based standards] (gammaf): Likewise.
14299 [non-C99-based standards] (hypotf): Likewise.
14300 [non-C99-based standards] (j0f): Likewise.
14301 [non-C99-based standards] (j1f): Likewise.
14302 [non-C99-based standards] (jnf): Likewise.
14303 [non-C99-based standards] (lgammaf): Likewise.
14304 [non-C99-based standards] (tgammaf): Likewise.
14305 [non-C99-based standards] (y0f): Likewise.
14306 [non-C99-based standards] (y1f): Likewise.
14307 [non-C99-based standards] (ynf): Likewise.
14308 [non-C99-based standards] (isnanf): Likewise.
14309 [non-C99-based standards] (acoshf): Likewise.
14310 [non-C99-based standards] (asinhf): Likewise.
14311 [non-C99-based standards] (atanhf): Likewise.
14312 [non-C99-based standards] (cbrtf): Likewise.
14313 [non-C99-based standards] (expm1f): Likewise.
14314 [non-C99-based standards] (ilogbf): Likewise.
14315 [non-C99-based standards] (log1pf): Likewise.
14316 [non-C99-based standards] (logbf): Likewise.
14317 [non-C99-based standards] (nextafterf): Likewise.
14318 [non-C99-based standards] (remainderf): Likewise.
14319 [non-C99-based standards] (rintf): Likewise.
14320 [non-C99-based standards] (scalbf): Likewise.
14321 [non-C99-based standards] (copysignl): Likewise.
14322 [non-C99-based standards] (exp2l): Likewise.
14323 [non-C99-based standards] (log2l): Likewise.
14324 [non-C99-based standards] (modfl): Allow.
14325 [non-C99-based standards] (erfl): Do not allow.
14326 [non-C99-based standards] (erfcl): Likewise.
14327 [non-C99-based standards] (gammal): Likewise.
14328 [non-C99-based standards] (hypotl): Likewise.
14329 [non-C99-based standards] (j0l): Likewise.
14330 [non-C99-based standards] (j1l): Likewise.
14331 [non-C99-based standards] (jnl): Likewise.
14332 [non-C99-based standards] (lgammal): Likewise.
14333 [non-C99-based standards] (tgammal): Likewise.
14334 [non-C99-based standards] (y0l): Likewise.
14335 [non-C99-based standards] (y1l): Likewise.
14336 [non-C99-based standards] (ynl): Likewise.
14337 [non-C99-based standards] (isnanl): Likewise.
14338 [non-C99-based standards] (acoshl): Likewise.
14339 [non-C99-based standards] (asinhl): Likewise.
14340 [non-C99-based standards] (atanhl): Likewise.
14341 [non-C99-based standards] (cbrtl): Likewise.
14342 [non-C99-based standards] (expm1l): Likewise.
14343 [non-C99-based standards] (ilogbl): Likewise.
14344 [non-C99-based standards] (log1pl): Likewise.
14345 [non-C99-based standards] (logbl): Likewise.
14346 [non-C99-based standards] (nextafterl): Likewise.
14347 [non-C99-based standards] (remainderl): Likewise.
14348 [non-C99-based standards] (rintl): Likewise.
14349 [non-C99-based standards] (scalbl): Likewise.
14350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14351 [non-C99-based standards] (FP_*): Do not allow.
14352 [C99-based standards] (FP_*): Change to
14353 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14354 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14356 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14357 (SIG_ERR): Likewise.
14358 [X/Open-based standards] (SIG_HOLD): Likewise.
14359 (SIG_IGN): Likewise.
14360 (SIGABRT): Use macro-int-constant. Specify type. Require
14362 (SIGFPE): Likewise.
14363 (SIGILL): Likewise.
14364 (SIGINT): Likewise.
14365 (SIGSEGV): Likewise.
14366 (SIGTER): Likewise.
14367 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14368 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14369 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14370 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14371 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14372 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14373 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14374 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14375 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14376 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14377 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14378 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14379 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14380 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14381 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14382 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14383 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14384 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14385 [X/Open-based standards] (SIGTRAP): Likewise.
14386 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14387 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14388 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14389 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14390 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14393 2012-05-08 Ian Wienand <ianw@vmware.com>
14396 * time/tzset.c (__tzset_parse_tz): Update default rules for
14397 daylight time changes in the Energy Policy Act of 2005.
14399 2012-05-09 Andreas Jaeger <aj@suse.de>
14402 * elf/ldconfig.c (parse_conf): Change string to make clear that
14403 ldconfig only issued a warning if ld.so.conf does not exist.
14405 2012-05-08 David S. Miller <davem@davemloft.net>
14407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14408 movxtod instead of popping the value on the stack.
14410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14412 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14414 * config.h.in: Add HAVE_ARM_PCS_VFP.
14416 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14419 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14420 checking but the checks are disabled for any reason.
14422 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14424 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14425 and ELF64_R_TYPE with ELFW(R_TYPE).
14427 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14429 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14430 (ulimit): Likewise.
14432 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14433 (settimeofday): Likewise.
14435 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14437 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14438 a struct th_u2 inside the union, and move tu_block/tu_code into
14439 a new th_u3 union of tu_block/tu_code inside of that. Move
14440 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14441 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14442 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14443 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14444 (th_stuff): Change to th_u1.tu_stuff.
14446 (th_msg): Change to th_u1.th_u2.tu_data.
14448 2012-05-07 David S. Miller <davem@davemloft.net>
14450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14453 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14454 (SETUP_PIC_REG): Use it.
14455 (SETUP_PIC_REG_LEAF): Use it.
14457 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14461 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14463 (EXPL_FINITE): Likewise.
14464 (FLDLOG): Likewise.
14465 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14466 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14468 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14470 (EXPL_FINITE): Likewise.
14471 (FLDLOG): Likewise.
14472 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14473 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14475 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14476 test of -max_value argument for long double.
14477 * sysdeps/i386/fpu/libm-test-ulps: Update.
14478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14480 2012-05-06 David S. Miller <davem@davemloft.net>
14482 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14483 quad soft-float symbols whose references which are compiler
14485 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14487 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14491 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14493 (EXPL_FINITE): Likewise.
14494 (FLDLOG): Likewise.
14497 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14498 Adjust comments for base varying.
14499 (__expl_finite): Change alias to EXPL_FINITE.
14500 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14502 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14503 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14504 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14505 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14506 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14508 (EXPL_FINITE): Likewise.
14509 (FLDLOG): Likewise.
14512 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14513 Adjust comments for base varying.
14514 (__expl_finite): Change alias to EXPL_FINITE.
14515 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14520 * math/libm-test.inc (check_float_internal): Correct ulp
14521 calculation for subnormal expected results.
14523 2012-05-06 Andreas Jaeger <aj@suse.de>
14525 * Makeconfig (+math-flags): New, set to -frounding-math.
14526 (+cflags): Add +math-flags so that all of glibc gets compiled with
14529 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14531 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14533 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14539 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14540 (__ieee754_expl): Allow for and saturate large arguments.
14541 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14542 (u_threshold): Likewise.
14543 (__exp): Call __ieee754_exp before checking for overflow and
14545 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14546 (u_threshold): Likewise.
14547 (__expf): Call __ieee754_expf before checking for overflow and
14549 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14550 (u_threshold): Likewise.
14551 (__expl): Call __ieee754_expl before checking for overflow and
14553 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14554 (__ieee754_expl): Allow for and saturate large arguments.
14555 * math/libm-test.inc (exp_test): Add another test. Do not allow
14556 missing overflow exception on overflow.
14557 (expm1_test): Do not allow missing overflow exception on overflow.
14559 * sysdeps/i386/fpu/e_expl.c: Move to ...
14560 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14561 rather than using inline asm.
14562 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14563 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14564 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14566 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14569 (signal): Likewise.
14573 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14575 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14576 sysdeps/unix/common/syscalls.list.
14577 (fchmod): Likewise.
14578 (fchown): Likewise.
14579 (ftruncate): Likewise.
14580 (getrusage): Likewise.
14581 (gettimeofday): Likewise.
14582 (setpgid): Likewise.
14583 (setregid): Likewise.
14584 (setreuid): Likewise.
14585 (sigaction): Likewise.
14586 (truncate): Likewise.
14587 (vhangup): Likewise.
14588 * sysdeps/unix/common/syscalls.list: Remove file.
14589 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14590 * sysdeps/unix/sysv/linux/Implies: Likewise.
14592 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14594 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14596 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14600 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14603 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14606 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14609 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14612 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14615 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14618 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14622 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14626 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14629 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14633 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14637 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14639 * sysdeps/unix/common/bits/dirent.h: Remove file.
14640 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14642 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14643 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14644 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14645 * sysdeps/unix/bsd/isatty.c: Likewise.
14646 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14647 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14648 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14650 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14654 long double comparison inaccuracies.
14655 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14658 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14660 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14661 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14663 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14666 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14667 nonzero digits before rounding a hex value.
14668 * stdlib/tst-strtod.c (tests): Add another test.
14670 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14672 * sysdeps/s390/fpu/libm-test-ulps: Update.
14674 2012-05-03 Andreas Jaeger <aj@suse.de>
14676 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14677 does not get optimized out.
14678 (malloc_opt_barrier): New.
14680 2012-05-03 Andreas Jaeger <aj@suse.de>
14681 Roland McGrath <roland@hack.frob.com>
14683 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14684 intermediate file deletion.
14685 (generated): Add .symlist files.
14687 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14690 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14691 Redirect under this condition.
14692 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14693 [__USE_GNU] (__dprintf_chk): Not under this condition.
14694 [__USE_GNU] (__vdprintf_chk): Likewise.
14695 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14696 under this condition.
14697 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14698 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14699 [__USE_XOPEN2K8] (vdprintf): Likewise.
14700 [__USE_GNU] (__dprintf_chk): Not under this condition.
14701 [__USE_GNU] (__vdprintf_chk): Likewise.
14702 [__USE_GNU] (dprintf): Likewise.
14703 [__USE_GNU] (vdprintf): Likewise.
14705 2012-05-03 Roland McGrath <roland@hack.frob.com>
14707 * elf/Makefile (common-generated): Set this instead of generated for
14708 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14709 $(all-built-dso)-derived lists.
14711 2012-05-03 Andreas Jaeger <aj@suse.de>
14713 * sysdeps/i386/fpu/libm-test-ulps: Update.
14716 * FAQ.in: Likewise.
14717 * scripts/gen-FAQ.pl: Likewise.
14718 * manual/install.texi (Installation): Point to online location of
14720 * Makefile (files-for-dist): Remove FAQ.
14723 2012-05-02 Allan McRae <allan@archlinux.org>
14725 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14726 (LDFLAGS-reldepmod5.so): Likewise.
14727 (LDFLAGS-reldep6mod1.so): Likewise.
14728 (LDFLAGS-reldep6mod4.so): Likewise.
14729 (LDFLAGS-reldep8mod3.so): Likewise.
14730 (LDFLAGS-unload4mod1.so): Likewise.
14731 (LDFLAGS-unload4mod2.so): Likewise.
14732 (LDFLAGS-tst-initorder): Likewise.
14733 (LDFLAGS-tst-initordera2.so): Likewise.
14734 (LDFLAGS-tst-initordera3.so): Likewise.
14735 (LDFLAGS-tst-initordera4.so): Likewise.
14736 (LDFLAGS-tst-initorderb2.so): Likewise.
14737 (LDFLAGS-noload): Likewise.
14738 (LDFLAGS-next): Likewise.
14739 (LDFLAGS-order2mod1.so): Likewise.
14740 (LDFLAGS-order2mod2.so): Likewise.
14741 (LDFLAGS-tst-initorder2): Likewise.
14742 (LDFLAGS-tst-initorder2a.so): Likewise.
14743 (LDFLAGS-tst-initorder2b.so): Likewise.
14744 (LDFLAGS-tst-initorder2c.so): Likewise.
14745 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14747 2012-05-02 David S. Miller <davem@davemloft.net>
14749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14751 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14754 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14756 2012-05-02 Andreas Jaeger <aj@suse.de>
14758 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14759 since we manipulate rounding mode.
14760 (CPPFLAGS-test-idouble.c): Likewise.
14761 (CPPFLAGS-test-ifloat.c): Likewise.
14762 (CFLAGS-test-ldouble.c): Likewise.
14763 (CFLAGS-test-double.c): Likewise.
14764 (CFLAGS-test-float.c): Likewise.
14765 (CFLAGS-test-misc.c): Likewise.
14766 (CFLAGS-test-test-fenv.c): Likewise.
14768 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14772 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14773 comparisons to determine direction to adjust input.
14775 2012-05-01 Roland McGrath <roland@hack.frob.com>
14777 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14778 output to the target.
14780 * scripts/localplt.awk: New file.
14781 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14782 (check-localplt-CFLAGS): Variable removed.
14783 ($(all-built-dso:=.jmprel)): New static pattern rule.
14784 (generated): Add those targets.
14785 (localplt-built-dso): New variable.
14786 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14788 * elf/check-localplt.c: File removed.
14790 * scripts/check-execstack.awk: New file.
14791 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14792 (check-execstack-CFLAGS): Variable removed.
14793 ($(objpfx)check-execstack.h): Target removed.
14794 ($(objpfx)execstack-default): New target.
14795 (generated): Add that instead of check-execstack.h.
14796 ($(all-built-dso:=.phdr)): New static pattern rule.
14797 (generated): Add those targets.
14798 * elf/check-execstack.c: File removed.
14800 * scripts/check-textrel.awk: New file.
14801 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14802 (check-textrel-CFLAGS): Variable removed.
14803 (all-built-dso): Use := to define.o
14804 ($(all-built-dso:=.dyn)): New static pattern rule.
14805 (generated): Add those targets.
14806 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14807 * config.make.in (READELF): New substituted variable.
14808 * elf/check-textrel.c: File removed.
14810 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14812 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14814 * conform/data/ctype.h-data [C99-based standards] (isblank):
14816 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14817 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14819 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14820 Specify type. Require positive value.
14821 (EILSEQ): Likewise.
14822 (ERANGE): Likewise.
14823 [ISO || POSIX] (EILSEQ): Do not expect.
14824 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14825 Specify type. Require positive value.
14826 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14827 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14828 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14829 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14830 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14831 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14832 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14833 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14834 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14835 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14836 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14837 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14838 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14839 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14840 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14841 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14842 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14843 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14844 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14845 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14846 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14847 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14848 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14849 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14850 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14851 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14852 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14853 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14854 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14855 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14856 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14857 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14858 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14859 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14860 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14861 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14862 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14863 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14864 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14882 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14883 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14887 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14888 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14889 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14890 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14891 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14892 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14893 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14894 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14895 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14897 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14898 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14899 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14900 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14901 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14902 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14904 (FLT_ROUNDS): Expect as macro, not constant.
14905 (FLT_MANT_DIG): Use macro-int-constant.
14906 (DBL_MANT_DIG): Likewise.
14907 (LDBL_MANT_DIG): Likewise.
14908 (FLT_DIG): Likewise.
14909 (DBL_DIG): Likewise.
14910 (LDBL_DIG): Likewise.
14911 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14912 (DBL_MIN_EXP): Likewise.
14913 (LDBL_MIN_EXP): Likewise.
14914 (FLT_MAX_EXP): Use macro-int-constant.
14915 (DBL_MAX_EXP): Likewise.
14916 (LDBL_MAX_EXP): Likewise.
14917 (FLT_MAX_10_EXP): Likewise.
14918 (DBL_MAX_10_EXP): Likewise.
14919 (LDBL_MAX_10_EXP): Likewise.
14920 (FLT_MAX): Use macro-constant.
14921 (DBL_MAX): Likewise.
14922 (LDBL_MAX): Likewise.
14923 (FLT_EPSILON): Use macro-constant. Give upper bound.
14924 (DBL_EPSILON): Likewise.
14925 (LDBL_EPSILON): Likewise.
14926 (FLT_MIN): Likewise.
14927 (DBL_MIN): Likewise.
14928 (LDBL_MIN): Likewise.
14929 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14930 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14931 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14932 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14933 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14934 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14935 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14936 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14937 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14938 [ISO11] (FLT_TRUE_MIN): Likewise.
14939 [ISO11] (LDBL_TRUE_MIN): Likewise.
14940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14941 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14942 (SCHAR_MIN): Use macro-int-constant. Specify type.
14943 (SCHAR_MAX): Likewise.
14944 (UCHAR_MAX): Likewise.
14945 (CHAR_MIN): Likewise.
14946 (CHAR_MAX): Likewise.
14947 (MB_LEN_MAX): Use macro-int-constant.
14948 (SHRT_MIN): Use macro-int-constant. Specify type.
14949 (SHRT_MAX): Likewise.
14950 (USHRT_MAX): Likewise.
14951 (INT_MAX): Likewise.
14952 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14954 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14956 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14958 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14959 bound negative. Suffix upper bound with "L".
14960 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14962 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14964 [C99-based standards] (LLONG_MAX): Likewise.
14965 [C99-based standards] (ULLONG_MAX): Likewise.
14966 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14968 [ISO11] (max_align_t): Require type.
14969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14971 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14972 from $CFLAGS, without defining away __attribute__ calls.
14973 (checknamespace): Use $CFLAGS_namespace.
14975 * conform/conformtest.pl (@keywords): Only include C99 keywords
14976 for standards based on C99 or C11.
14978 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14980 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14983 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14984 usability of symbols in #if.
14986 * conform/conformtest.pl: If macro or constant types start
14987 "promoted:", expect the symbol to be of the following type
14988 promoted by the integer promotions.
14990 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14991 in one place. Also handle "macro-constant".
14993 * conform/conformtest.pl: Only accept expected macro values with
14994 "==". Parse all "macro" lines in one place.
14995 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14997 * conform/conformtest.pl: Handle braced types on "constant" lines
14998 instead of handling "typed-constant".
14999 * conform/data/signal.h-data: Use "constant" instead of
15002 * conform/conformtest.pl: Handle "optional-" at start of lines in
15003 one place rather than duplicating several cases. Handle each
15004 format of "macro" line with initial "optional-".
15006 * conform/conformtest.pl: Only accept expected constant or
15007 optional-constant values with "==". Parse all "constant" lines in
15008 one place. Parse all "optional-constant" lines in one place.
15009 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15010 * conform/data/fmtmsg.h-data: Likewise.
15011 * conform/data/netinet/in.h-data: Likewise.
15012 * conform/data/tar.h-data: Likewise.
15013 * conform/data/limits.h-data: Use "==" form on "constant" and
15014 "optional-constant" lines.
15016 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15017 Use -std=c99 for XOPEN2K.
15018 (@knownproblems): Remove.
15019 (newtoken): Don't check %isknown.
15021 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15022 Do not expect macro.
15023 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15024 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15025 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15026 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15027 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15028 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15029 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15030 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15031 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15032 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15033 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15034 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15035 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15036 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15037 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15038 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15039 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15040 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15041 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15042 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15043 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15044 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15045 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15046 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15047 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15048 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15049 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15050 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15051 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15052 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15053 [XPG3] (acosh): Likewise.
15054 [XPG3] (asinh): Likewise.
15055 [XPG3] (atanh): Likewise.
15056 [XPG3] (cbrt): Likewise.
15057 [XPG3] (expm1): Likewise.
15058 [XPG3] (ilogb): Likewise.
15059 [XPG3] (log1p): Likewise.
15060 [XPG3] (logb): Likewise.
15061 [XPG3] (nextafter): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15064 [XPG3] (remainder): Likewise.
15065 [XPG3] (rint): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15067 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15068 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15073 [UNIX98 || XOPEN2K] (scalb): Expect.
15074 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15075 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15082 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15083 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15085 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15086 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15087 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15088 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15089 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15090 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15091 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15092 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15093 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15095 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15096 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15097 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15098 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15099 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15102 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15103 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15104 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15105 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15212 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15213 _XOPEN_SOURCE_EXTENDED for XPG4.
15215 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15217 * Makeconfig (localtime): Remove variable.
15218 (inst_localtime-file): Likewise.
15220 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15241 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15245 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15246 comparisons to determine direction to adjust input.
15247 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15248 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15249 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15251 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15253 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15255 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15256 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15258 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15260 * math/libm-test.inc (nexttoward_test): Add more tests.
15262 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15265 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15266 in version GLIBC_2.1, not GLIBC_2.0.
15267 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15270 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15273 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15275 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15276 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15277 * math/libm-test.inc (acos_test): Add more tests.
15278 (asin_test): Likewise.
15279 * sysdeps/i386/fpu/libm-test-ulps: Update.
15280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15283 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15285 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15286 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15287 * math/libm-test.inc (acos_test_tonearest): New function.
15288 (acos_test_towardzero): Likewise.
15289 (acos_test_downward): Likewise.
15290 (acos_test_upward): Likewise.
15291 (asin_test_tonearest): Likewise.
15292 (asin_test_towardzero): Likewise.
15293 (asin_test_downward): Likewise.
15294 (asin_test_upward): Likewise.
15295 (main): Call the new functions.
15296 * sysdeps/i386/fpu/libm-test-ulps: Update.
15297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15301 * math/e_exp10.c: Include <float.h>.
15302 (__ieee754_exp10): Handle underflow here rather than multiplying
15303 large negative argument by M_LN10.
15304 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15306 * math/e_exp10l.c: Include <float.h>.
15307 (__ieee754_exp10l): Handle underflow here rather than multiplying
15308 large negative argument by M_LN10l.
15309 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15310 spurious overflow exception on underflow.
15312 2012-04-29 Marek Polacek <polacek@redhat.com>
15314 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15315 (__fortify_function): New macro.
15316 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15317 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15318 __extern_always_inline.
15319 * libio/bits/stdio2.h: Likewise.
15320 * libio/bits/stdio.h: Likewise.
15321 * string/string.h: Likewise.
15322 * string/bits/string3.h: Likewise.
15323 * include/stdio.h: Likewise.
15324 * stdlib/bits/stdlib.h: Likewise.
15325 * stdlib/stdlib.h: Likewise.
15326 * rt/bits/mqueue2.h: Likewise.
15327 * rt/mqueue.h: Likewise.
15328 * posix/bits/unistd.h: Likewise.
15329 * posix/unistd.h: Likewise.
15330 * io/bits/poll2.h: Likewise.
15331 * io/bits/fcntl2.h: Likewise.
15332 * io/fcntl.h: Likewise.
15333 * io/sys/poll.h: Likewise.
15334 * misc/bits/syslog.h: Likewise.
15335 * misc/bits/syslog-ldbl.h: Likewise.
15336 * misc/sys/syslog.h: Likewise.
15337 * socket/bits/socket2.h: Likewise.
15338 * socket/sys/socket.h: Likewise.
15339 * debug/tst-chk1.c: Likewise.
15340 * wcsmbs/bits/wchar2.h: Likewise.
15341 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15342 * wcsmbs/wchar.h: Likewise.
15344 2012-04-29 Andreas Jaeger <aj@suse.de>
15346 * Makerules (tests): Remove enable-check-abi protection.
15347 (check-abi-warn): Remove.
15348 (check-abi-%): Remove check-abi-warn usage.
15350 * configure.in: Remove check-abi configure option.
15351 * configure: Regenerated.
15352 * config.make.in (enable-check-abi): Remove.
15354 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15357 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15358 double functions to double *_finite functions.
15361 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15362 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15364 * stdio-common/Makefile (tests): Add tst-sprintf3.
15365 * stdio-common/tst-sprintf3.c: New file.
15367 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15368 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15370 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15372 * conform/conformtest.pl: Remove duplicate typed-constant
15375 2012-04-28 David S. Miller <davem@davemloft.net>
15377 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15378 (check-abi-%): Remove AWK script prerequisite and explicit
15380 (check-abi): Rewrite to just diff the symlist with the abilist.
15381 (config-tls, config-abi-config): Delete, no longer used.
15382 (update-abi-%): Remove AWK script and explicit abilist directory.
15383 (update-abi): Rewrite to simply compare and conditionally copy the
15384 symlist and the sysdep abilist file. Remove update-abi-config
15386 * abilist/ld.abilist: Remove.
15387 * abilist/libBrokenLocale.abilist: Remove.
15388 * abilist/libanl.abilist: Remove.
15389 * abilist/libcrypt.abilist: Remove.
15390 * abilist/libdl.abilist: Remove.
15391 * abilist/librt.abilist: Remove.
15392 * abilist/libthread_db.abilist: Remove.
15393 * abilist/libutil.abilist: Remove.
15394 * scripts/extract-abilist.awk: Remove.
15395 * scripts/merge-abilist.awk: Remove.
15396 * sysdeps/generic/libcidn.abilist: New file.
15397 * sysdeps/generic/libnss_compat.abilist: New file.
15398 * sysdeps/generic/libnss_db.abilist: New file.
15399 * sysdeps/generic/libnss_dns.abilist: New file.
15400 * sysdeps/generic/libnss_files.abilist: New file.
15401 * sysdeps/generic/libnss_hesiod.abilist: New file.
15402 * sysdeps/generic/libnss_nis.abilist: New file.
15403 * sysdeps/generic/libnss_nisplus.abilist: New file.
15404 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15405 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15406 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15408 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15409 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15410 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15411 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15412 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15413 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15414 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15415 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15416 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15418 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15419 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15420 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15421 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15423 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15424 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15425 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15426 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15427 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15428 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15430 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15431 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15432 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15434 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15537 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15538 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15539 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15542 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15543 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15544 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15545 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15546 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15547 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15548 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15549 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15550 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15602 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15604 * conform/conformtest.pl: Fix typo in handling typed-constant from
15607 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15609 * README: Cut down references to pre-2.6 Linux kernels and
15610 Linuxthreads. Update lists of configurations in libc and ports
15611 and sort alphabetically. Say "or newer" with Linux kernel version
15614 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15616 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15619 * math/libm-test.inc (logb_test_downward): New test to expose
15620 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15623 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15626 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15628 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15629 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15631 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15633 * sysdeps/unix/i386/brk.S: Remove file.
15634 * sysdeps/unix/i386/dl-brk.S: Likewise.
15635 * sysdeps/unix/i386/pipe.S: Likewise.
15636 * sysdeps/unix/i386/sigreturn.S: Likewise.
15637 * sysdeps/unix/i386/syscall.S: Likewise.
15638 * sysdeps/unix/i386/vfork.S: Likewise.
15639 * sysdeps/unix/i386/wait.S: Likewise.
15641 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15642 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15644 * configure.in (arm*-none*): Do not allow without
15645 --enable-hacker-mode.
15646 (netbsd*): Remove case setting base_os.
15647 (386bsd*): Likewise.
15648 (freebsd*): Likewise.
15651 (sunos*): Likewise.
15652 (ultrix*): Likewise.
15653 (newsos*): Likewise.
15654 (dynix*): Likewise.
15660 (minix*): Likewise.
15661 (irix4*): Likewise.
15662 (irix6*): Likewise.
15663 (solaris[2-9]*): Likewise.
15665 * configure: Regenerated.
15667 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15670 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15671 overflow or cancellation in calculating denominator.
15672 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15673 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15674 down expression to avoid unexpected rounding in newer GCCs.
15675 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15677 2012-04-26 David S. Miller <davem@davemloft.net>
15679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15680 long-double compat symbols.
15681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15695 2012-04-25 David S. Miller <davem@davemloft.net>
15697 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15698 HWCAP_* values only after the memory barriers have been defined.
15699 (atomic_full_barrier): Define.
15700 (atomic_read_barrier): Define.
15701 (atomic_write_barrier): Define.
15703 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15705 * shlib-versions: Add libgcc_s version information.
15706 * sysdeps/generic/libgcc_s.h: Remove.
15707 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15709 * sysdeps/gnu/unwind-resume.c: Likewise.
15710 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15712 2012-04-25 David S. Miller <davem@davemloft.net>
15714 * sysdeps/unix/sparc/brk.S: Delete.
15715 * sysdeps/unix/sparc/dl-brk.S: Delete.
15716 * sysdeps/unix/sparc/pipe.S: Delete.
15717 * sysdeps/unix/sparc/sysdep.S: Delete.
15718 * sysdeps/unix/sparc/sysdep.h: Delete.
15719 * sysdeps/unix/sparc/vfork.S: Delete.
15720 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15721 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15722 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15723 ret_ERRVAL, r0, r1, MOVE): Define.
15724 (JUMPTARGET): Remove.
15725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15726 sysdeps/unix/sparc/sysdep.h
15727 (ENTRY, END): Remove.
15728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15730 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15732 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15733 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15736 * timezone/README: Update upstream location and email address for
15738 * timezone/zdump.c: Update from tzcode 2012b.
15739 * timezone/zic.c: Likewise.
15741 * configure.in (libc_cv_as_needed): Remove test.
15742 * configure: Regenerated.
15743 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15744 conditional definition.
15745 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15746 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15747 * config.make.in (have-as-needed): Remove variable.
15749 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15750 Paul Pluzhnikov <ppluzhnikov@google.com>
15752 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15755 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15757 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15758 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15759 * sysdeps/sh/strlen.S: Likewise.
15761 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15763 * sysdeps/unix/fork.S: Remove file.
15764 * sysdeps/unix/i386/fork.S: Likewise.
15765 * sysdeps/unix/sparc/fork.S: Likewise.
15767 * sysdeps/unix/system.c: Remove file.
15768 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15770 * sysdeps/unix/getegid.S: Remove file.
15771 * sysdeps/unix/geteuid.S: Likewise.
15773 2012-04-24 Roland McGrath <roland@hack.frob.com>
15775 * scripts/check-localplt.awk: New file.
15776 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15778 * scripts/data/localplt-generic.data: Add a comment.
15780 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15781 NODE when __dir_mkfile failed.
15782 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15783 Reported by Ludovic Courtès <ludo@gnu.org>.
15785 2012-04-24 Andreas Jaeger <aj@suse.de>
15787 * Makerules (common-clean): Also remove gen-as-const-headers
15790 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15792 * Makerules (native-compile): Do not change working directory for
15793 build. Use $(OUTPUT_OPTION) in command.
15794 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15796 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15799 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15800 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15801 * math/libm-test.inc (floor_test): Add more tests.
15802 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15804 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15806 * sysdeps/unix/getdents.c: Remove file.
15807 * sysdeps/unix/sysv/getdents.c: Likewise.
15808 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15810 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15811 sysdeps/unix/mman/syscalls.list.
15813 (mprotect): Likewise.
15815 (munmap): Likewise.
15816 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15817 * sysdeps/unix/mman/syscalls.list: Remove.
15818 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15820 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15821 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15822 * configure: Regenerated.
15823 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15824 $(libgcc_s_suffix).
15825 * config.make.in (libgcc_s_suffix): Remove variable.
15827 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15829 * sysdeps/unix/sysv/gethostname.c: Move to ...
15830 * sysdeps/posix/gethostname.c: ... here.
15832 * sysdeps/unix/execve.S: Remove file.
15834 * sysdeps/unix/_exit.S: Remove file.
15836 2012-04-23 Andreas Jaeger <aj@suse.de>
15839 * manual/Makefile: Remove make dist support, there's no
15840 need for a stand-alone documentation tar ball.
15841 (TEXI2DVI): Define always, it's not in Makeconfig.
15844 (edition): Removed.
15845 (glibc-doc-$(edition).tar): Removed
15849 (ETAGS): Remove, it's in Makeconfig.
15850 (move-if-change): Remove, it's in Makeconfig.
15852 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15855 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15856 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15857 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15858 (strtod_l, strtof_l, strtold_l): Remove __wur.
15859 It is not necessarily an error to ignore strtol's return value.
15860 One can reliably look at the stored endptr to decide whether
15861 the number had valid syntax.
15863 2012-04-21 Andreas Jaeger <aj@suse.de>
15866 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15868 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15870 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15871 * sysdeps/unix/sysv/Versions: Remove file.
15873 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15878 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15881 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15882 version from __vm86.
15884 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15886 * sysdeps/unix/common/lxstat.c: Remove file.
15887 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15889 * sysdeps/unix/sysv/Makefile: Remove file.
15891 * sysdeps/unix/sysv/direct.h: Remove file.
15893 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15894 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15895 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15896 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15897 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15898 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15899 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15901 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15903 * sysdeps/unix/xmknod.c: Remove file.
15904 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15906 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15908 * sysdeps/unix/sysv/i386/time.S: Remove file.
15910 * sysdeps/unix/fxstat.c: Remove file.
15911 * sysdeps/unix/xstat.c: Likewise.
15912 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15914 * sysdeps/unix/sysv/sigaction.c: Remove file.
15916 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15917 (sysdep_headers): Remove variable.
15918 [termio.h not in sysdep_headers] (generated): Likewise.
15919 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15920 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15921 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15922 * sysdeps/unix/sysv/tcflow.c: Likewise.
15923 * sysdeps/unix/sysv/tcflush.c: Likewise.
15924 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15925 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15926 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15927 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15928 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15930 * sysdeps/unix/siglist.c: Remove file.
15932 * sysdeps/unix/getppid.S: Remove file.
15934 * sysdeps/unix/mkdir.c: Remove file.
15935 * sysdeps/unix/rmdir.c: Likewise.
15937 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15939 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15941 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15942 errlist-compat value.
15944 2012-04-18 David S. Miller <davem@davemloft.net>
15946 * sysdeps/generic/memcopy.h (reg_char): Delete.
15947 * debug/strcat_chk.c: Use char, not reg_char.
15948 * debug/strcpy_chk.c: Likewise.
15949 * debug/strncat_chk.c: Likewise.
15950 * debug/strncpy_chk.c: Likewise.
15951 * string/memchr.c: Likewise.
15952 * string/memrchr.c: Likewise.
15953 * string/rawmemchr.c: Likewise.
15954 * string/strcat.c: Likewise.
15955 * string/strchr.c: Likewise.
15956 * string/strchrnul.c: Likewise.
15957 * string/strcmp.c: Likewise.
15958 * string/strcpy.c: Likewise.
15959 * string/strncat.c: Likewise.
15960 * string/strncmp.c: Likewise.
15961 * string/strncpy.c: Likewise.
15963 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15965 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15966 __builtin_memcopy is called when src and dest ranges are known to not
15969 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15971 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15972 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15973 fwd_align_merge macro call.
15974 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15975 bwd_align_merge macro call.
15976 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15978 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15980 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15981 bwd_align_merge macros.
15982 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15983 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15984 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15986 2012-04-18 David S. Miller <davem@davemloft.net>
15988 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15990 2012-04-18 Andreas Jaeger <aj@suse.de>
15993 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15994 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15995 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15997 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15998 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15999 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16001 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16002 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16003 Adjust for changed ldbl-128 files.
16005 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16006 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16007 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16009 2012-04-17 David S. Miller <davem@davemloft.net>
16011 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16013 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16015 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16016 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16017 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16018 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16019 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16020 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16022 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16025 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16026 * math/libm-test.inc: Add ilogb errno and exception tests.
16027 * math/w_ilogb.c: New file: ilogb wrapper.
16028 * math/w_ilogbf.c: New file: ilogbf wrapper.
16029 * math/w_ilogbl.c: New file: ilogbl wrapper.
16030 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16031 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16032 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16033 exception being thrown with 0.0 as argument.
16034 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16035 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16036 exception being thrown with 0.0 as argument.
16037 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16038 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16039 exception being thrown with 0.0 as argument.
16040 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16041 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16042 exception being thrown with 0.0 as argument.
16043 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16044 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16045 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16046 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16047 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16048 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16049 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16050 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16051 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16053 2012-04-17 Petr Baudis <pasky@ucw.cz>
16055 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16058 2012-04-16 Marek Polacek <polacek@redhat.com>
16060 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16062 2012-04-16 Marek Polacek <polacek@redhat.com>
16064 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16065 operands of fdivp instruction.
16067 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16069 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16070 * elf/tst-auditmod3b.c: Likewise.
16071 * elf/tst-auditmod4b.c: Likewise.
16072 * elf/tst-auditmod5b.c: Likewise.
16073 * elf/tst-auditmod6b.c: Likewise.
16074 * elf/tst-auditmod6c.c: Likewise.
16075 * elf/tst-auditmod7b.c: Likewise.
16076 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16077 * sysdeps/x86_64/preconfigure.in: Likewise.
16078 * sysdeps/x86_64/preconfigure: Regenerated.
16080 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16082 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16085 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16088 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16090 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16093 * locale/iso-639.def: Fix gl language name. Spotted by
16096 2012-04-12 Roland McGrath <roland@hack.frob.com>
16099 * libio/libio.h (__io_write_fn): Update comment.
16101 2012-04-12 Petr Baudis <pasky@ucw.cz>
16104 * stdio.texi (Hook Functions): The user provided writer function
16105 is not allowed to return -1.
16107 2012-04-11 David S. Miller <davem@davemloft.net>
16109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16111 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16113 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16114 Add a leading slash to rtkaio.
16116 2012-04-11 Jim Meyering <meyering@redhat.com>
16119 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16120 It is not necessarily an error to ignore fwrite's return
16121 value. One can reliably use ferror to test for errors after
16124 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16126 * bits/types.h (__snseconds_t): New type.
16127 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16129 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16131 (__SNSECONDS_T_TYPE): Likewise.
16132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16133 (__SNSECONDS_T_TYPE): Likewise.
16134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16135 (__SNSECONDS_T_TYPE): Likewise.
16137 2012-04-10 Andreas Jaeger <aj@suse.de>
16140 * manual/time.texi (Processor Time): Return type of times is
16141 elapsed real time since an arbitrary point in the past.
16142 (CPU Time): Move CLK_TCK from here...
16143 (Processor Time): ...to here. Correct description.
16144 * manual/conf.texi (Constants for Sysconf): Correct description of
16147 2012-04-10 David S. Miller <davem@davemloft.net>
16150 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16151 where the is a gap between DT_REL(A) and DT_JMPREL.
16153 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16155 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16156 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16157 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16159 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16161 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16162 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16163 (dl_main): Handle --inhibit-cache.
16164 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16166 * elf/dl-load.c (_dl_map_object): Use it.
16167 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16169 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16172 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16173 (__ieee754_powl): Saturate large exponents rather than testing for
16174 overflow of y*log2(x).
16175 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16176 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16180 * math/s_ctan.c: Include <float.h>.
16181 (__ctan): Avoid internal overflow or cancellation in calculating
16183 * math/s_ctanf.c: Likewise.
16184 * math/s_ctanl.c: Likewise.
16185 * math/s_ctanh.c: Likewise.
16186 * math/s_ctanhf.c: Likewise.
16187 * math/s_ctanhl.c: Likewise.
16188 * math/libm-test.inc (ctan_test): Add more tests.
16189 (ctanh_test): Likewise.
16190 * sysdeps/i386/fpu/libm-test-ulps: Update.
16191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16193 2012-04-09 Andreas Jaeger <aj@suse.de>
16196 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16197 is an optional BSD extension.
16200 * manual/stdio.texi (Opening Streams): Document additional fopen
16203 2012-04-09 Roland McGrath <roland@hack.frob.com>
16205 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16206 %eax without telling the compiler.
16208 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16211 * manual/install.texi: Use sourceware.org.
16213 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16216 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16217 (__ieee754_pow): Generate overflow and underflow using huge*huge
16218 and tiny*tiny rather than just returning constant infinity or zero
16219 for large exponents.
16220 * math/libm-test.inc (pow_test): Require overflow exceptions for
16221 applicable cases of large exponents.
16224 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16225 (__ieee754_pow): Use iterative multiplication algorithm only for
16226 integer exponents with absolute value below 1024. Check for odd
16227 integer exponents when using algorithm for real exponents.
16228 * math/libm-test.inc (pow_test): Add more tests.
16229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16231 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16234 * math/libm-test.inc (exp_test): Do not allow overflow exception
16237 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16240 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16241 instead of __kernel_standard_f.
16243 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16245 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16246 * sysdeps/x86_64/memset_chk.S: Likewise.
16248 2012-04-08 Andreas Jaeger <aj@suse.de>
16251 * manual/startup.texi (Environment Access): Describe return value
16252 for putenv and setenv.
16255 * manual/filesys.texi (Directory Entries): Add description for
16259 * manual/filesys.texi (Directory Entries): Clarify that it's file
16260 system not operating system in the description of DT_UNKNOWN.
16263 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16265 2012-04-08 Stephen Compall <s11@member.fsf.org>
16268 * manual/llio.texi (Opening and Closing Files): Add cross
16269 reference to explain mode argument.
16271 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16273 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16274 * sysdeps/x86_64/memset_chk.S: Likewise.
16276 2012-04-07 David S. Miller <davem@davemloft.net>
16278 * elf/elf.h (R_SPARC_WDISP10): Define.
16279 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16281 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16282 R_SPARC_SIZE64 and R_SPARC_H34.
16284 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16286 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16287 conditions and remove no longer applicable assertion.
16289 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16291 * bits/byteswap.h: Include <features.h>.
16292 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16293 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16295 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16297 * bits/byteswap.h (__bswap_16): Removed.
16298 Include <bits/byteswap-16.h> to get __bswap_16.
16299 * sysdeps/i386/bits/byteswap.h: Likewise.
16300 * sysdeps/s390/bits/byteswap.h: Likewise.
16301 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16302 * bits/byteswap-16.h: New file.
16303 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16304 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16305 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16306 * string/Makefile (headers): Add bits/byteswap-16.h.
16308 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16311 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16313 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16314 * nss/tst-nss-static.c: New.
16316 2012-04-06 Robert Millan <rmh@gnu.org>
16319 * manual/llio.texi (File Position Primitive): lseek
16320 refers to WHENCE when it really means OFFSET.
16322 2012-04-06 Andreas Jaeger <aj@suse.de>
16324 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16325 strncmp declarations.
16327 * abilist/libc.abilist: Add __poll and __ppoll.
16329 2012-04-05 David S. Miller <davem@davemloft.net>
16331 * scripts/check-local-headers.sh: Accept a host triplet in the
16332 path matched by the exclude regexp.
16334 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16336 * sysdeps/powerpc/powerpc32/dl-machine.h
16337 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16338 * sysdeps/s390/s390-32/dl-machine.h
16339 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16340 * sysdeps/sparc/sparc32/dl-machine.h
16341 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16342 * sysdeps/sparc/sparc64/dl-machine.h
16343 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16345 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16347 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16348 undefined symbol errors.
16350 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16353 2012-04-05 Michael Matz <matz@suse.de>
16356 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16358 2012-04-05 Andreas Jaeger <aj@suse.de>
16361 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16364 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16366 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16367 which ROUND is no valid rounding mode.
16369 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16371 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16373 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16375 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16377 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16378 an exception using FPU order intentionally.
16380 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16382 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16383 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16384 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16385 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16387 2012-04-05 Simon Josefsson <simon@josefsson.org>
16390 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16391 EINVAL when BUFLEN is too smal.
16393 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16396 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16397 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16399 2012-04-03 Andreas Jaeger <aj@suse.de>
16402 * manual/setjmp.texi (System V contexts): Fix sentence.
16405 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16406 New macro for this case.
16407 [!__GNUC__] (__bswap_64): New inline function for this case.
16408 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16409 * bits/byteswap.h: Likewise.
16410 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16411 ull, guard with __GLIBC_HAVE_LONG_LONG.
16413 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16414 __GLIBC_HAVE_LONG_LONG.
16416 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16417 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16419 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16422 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16423 inptr and inend, rather than using last_ch.
16425 2012-04-02 David S. Miller <davem@davemloft.net>
16427 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16428 * stdio-common/printf-parse.h (read_int): Change return type to
16429 'int', return -1 on INT_MAX overflow.
16430 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16431 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16432 overflows INT_MAX. Check for overflow of in-format-string precision
16433 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16434 SIZE_MAX not INT_MAX for integer overflow test.
16435 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16436 skip the construct in the format string but do not record anything.
16437 * stdio-common/bug22.c: Adjust to test both width/prevision
16438 INT_MAX overflow as well as total length INT_MAX overflow. Check
16439 explicitly for proper errno values.
16441 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16443 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16445 * string/test-strcmp.c [! WIDE]: Likewise.
16446 * time/tst-mktime2.c: Likewise for INT_MAX.
16447 * string/test-string.h: #include <sys/param.h> for MIN.
16449 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16450 * sysdeps/i386/init-first.c (init): Likewise.
16451 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16452 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16453 * sysdeps/sh/init-first.c (init): Likewise.
16455 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16457 * po/ru.po: Update from translation team.
16458 * po/vi.po: Likewise.
16460 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16462 * resolv/nss_dns/dns-host.c: Merge copyright years.
16464 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16466 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16467 Optimize memcpy with prefetch if
16468 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16469 src, dst pointers have unequal 16 byte alignments.
16471 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16474 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16475 from a CNAME entry and return the minimum ttl for the query.
16476 (gaih_getanswer_slice): Likewise.
16478 2012-03-30 Jeff Law <law@redhat.com>
16480 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16482 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16483 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16485 * resolv/nss_dns/dns-host.c: Update copyright year.
16487 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16489 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16490 requests to save a system call. Fix check that all bytes are sent.
16492 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16493 comments for sendmmsg.
16495 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16498 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16499 with only 1 character between 0x0041 and 0x01b0.
16500 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16501 * wcsmbs/tst-mbsnrtowcs.c: New file.
16503 2012-03-29 David S. Miller <davem@davemloft.net>
16505 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16506 small copies by hand.
16508 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16511 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16512 _nss_compat_initgroups_dyn): Fall back to malloc/free
16513 for large group memberships.
16515 2012-03-28 David S. Miller <davem@davemloft.net>
16517 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16518 that branches into memcpy.
16519 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16520 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16522 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16525 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16526 implementation too.
16527 * sysdeps/sparc/mempcpy.S: New file.
16529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16530 the IFUNC routine in the libc case.
16531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16533 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16534 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16535 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16536 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16537 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16538 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16539 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16540 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16542 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16543 loop to 256 bytes instead of 64 bytes and fix test signedness.
16545 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16546 * sysdeps/sparc/sparc32/Makefile: rather than here...
16547 * sysdeps/sparc/sparc64/Makefile: and here.
16549 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16551 * malloc/mallocbug.c: Avoid warnings about unused variables.
16553 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16556 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16557 in the right place. Discard and retry query if response is
16558 larger than input buffer size.
16560 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16565 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16566 x for large integer exponent.
16567 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16568 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16569 sign of result as needed afterwards.
16570 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16571 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16572 result for underflowing pow the same as for overflow.
16573 (__kernel_standard_l): Handle powl overflow and underflow here
16574 rather than calling __kernel_standard.
16575 * math/libm-test.inc (pow_test): Add more tests.
16590 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16591 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16592 (__kernel_standard_l): New function.
16593 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16595 * math/w_acosl.c (__acosl): Likewise.
16596 * math/w_asinl.c (__asinl): Likewise.
16597 * math/w_atan2l.c (__atan2l): Likewise.
16598 * math/w_atanhl.c (__atanhl): Likewise.
16599 * math/w_coshl.c (__coshl): Likewise.
16600 * math/w_exp10l.c (__exp10l): Likewise.
16601 * math/w_exp2l.c (__exp2l): Likewise.
16602 * math/w_fmodl.c (__fmodl): Likewise.
16603 * math/w_hypotl.c (__hypotl): Likewise.
16604 * math/w_j0l.c (__j0l, __y0l): Likewise.
16605 * math/w_j1l.c (__j1l, __y1l): Likewise.
16606 * math/w_jnl.c (__jnl, __ynl): Likewise.
16607 * math/w_lgammal.c (__lgammal): Likewise.
16608 * math/w_log10l.c (__log10l): Likewise.
16609 * math/w_log2l.c (__log2l): Likewise.
16610 * math/w_logl.c (__logl): Likewise.
16611 * math/w_powl.c (__powl): Likewise.
16612 * math/w_remainderl.c (__remainderl): Likewise.
16613 * math/w_scalbl.c (sysv_scalbl): Likewise.
16614 * math/w_sinhl.c (__sinhl): Likewise.
16615 * math/w_sqrtl.c (__sqrtl): Likewise.
16616 * math/w_tgammal.c (__tgammal): Likewise.
16617 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16618 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16619 * math/libm-test.inc (acos_test): Add more tests.
16620 (acosh_test): Likewise.
16621 (asin_test): Likewise.
16622 (atanh_test): Likewise.
16623 (exp_test): Likewise.
16624 (exp10_test): Likewise.
16625 (exp2_test): Likewise.
16626 (expm1_test): Likewise.
16627 (lgamma_test): Likewise.
16628 (log_test): Likewise.
16629 (log10_test): Likewise.
16630 (log1p_test): Likewise.
16631 (log2_test): Likewise.
16632 (pow_test): Do not allow some spurious overflow exceptions.
16633 (sqrt_test): Add more tests.
16634 (tgamma_test): Likewise.
16635 (y0_test): Likewise.
16636 (y1_test): Likewise.
16637 (yn_test): Likewise.
16639 2012-03-27 Anton Blanchard <anton@samba.org>
16641 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16643 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16644 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16645 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16647 2012-03-27 David S. Miller <davem@davemloft.net>
16649 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16651 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16652 have-as-vis3 check.
16654 2012-03-27 Andreas Jaeger <aj@suse.de>
16656 * sysdeps/x86_64/elf/configure.in: Moved to ...
16657 * sysdeps/x86_64/configure.in: ... here.
16658 * sysdeps/x86_64/elf/start.S: Moved to ...
16659 * sysdeps/x86_64/start.S: ... here.
16660 * sysdeps/x86_64/elf/configure: Delete.
16662 * sysdeps/x86_64/configure.in: Merge contents from
16663 sysdeps/i386/configure.in (without i686 check).
16665 * sysdeps/i386/elf/Versions: Merge into ...
16666 * sysdeps/i386/Versions: ... this.
16667 * sysdeps/i386/elf/Versions: Delete file.
16668 * sysdeps/i386/elf/start.S: Moved to ...
16669 * sysdeps/i386/start.S: ...here.
16670 * sysdeps/i386/elf/configure.in: Merge into...
16671 * sysdeps/i386/configure.in: ...here.
16672 * sysdeps/i386/elf/configure.in: Delete file.
16673 * sysdeps/i386/elf/configure: Delete file.
16675 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16676 * debug/backtracesyms.c: ... here.
16677 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16678 * debug/backtracesymsfd.c: ... here.
16679 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16680 * sysdeps/generic/ifunc-sel.h: ... here.
16682 * sysdeps/unix/i386/start.c: Delete file.
16683 * sysdeps/unix/sparc/start.c: Delete file.
16684 * sysdeps/unix/start.c: Delete file.
16686 * sysdeps/sh/elf/configure.in: Moved to ...
16687 * sysdeps/sh/configure.in: ... here.
16688 * sysdeps/sh/elf/start.S: Moved to ...
16689 * sysdeps/sh/start.S: ... here.
16690 * sysdeps/sh/elf/configure: Delete file.
16692 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16693 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16694 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16695 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16696 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16697 * sysdeps/powerpc/powerpc64/start.S: here.
16698 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16699 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16700 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16701 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16702 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16704 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16705 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16706 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16707 * sysdeps/powerpc/powerpc32/start.S: ... here.
16708 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16709 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16710 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16712 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16713 * sysdeps/powerpc/ifunc-sel.h: ... here.
16714 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16715 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16717 * sysdeps/sparc/elf/configure.in: Moved to ...
16718 * sysdeps/sparc/configure.in: ... here.
16719 * sysdeps/sparc/elf/configure: Delete file.
16720 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16721 * sysdeps/sparc/sparc32/start.S: ... here.
16722 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16723 * sysdeps/sparc/sparc64/start.S: ... here.
16724 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16725 * sysdeps/sparc/sparc32/Makefile: ... this.
16726 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16727 * sysdeps/sparc/sparc64/Makefile: ... this.
16729 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16730 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16731 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16732 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16733 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16734 * sysdeps/s390/s390-32/setjmp.S: ... here.
16735 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16736 * sysdeps/s390/s390-32/configure.in: ... here.
16737 * sysdeps/s390/s390-32/elf/configure: Delete file.
16738 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16739 * sysdeps/s390/s390-32/start.S: ... here.
16741 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16742 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16743 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16744 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16745 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16746 * sysdeps/s390/s390-64/setjmp.S: ... here.
16747 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16748 * sysdeps/s390/s390-64/configure.in: ... here
16749 * sysdeps/s390/s390-64/elf/configure: Delete file.
16750 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16751 * sysdeps/s390/s390-64/start.S: ... here.
16752 * sysdeps/s390/s390-64/elf/configure: Delete.
16754 * configure.in: Remove support for elf directories in sysdeps.
16756 * configure: Regenerated.
16757 * sysdeps/i386/configure: Regenerated.
16758 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16759 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16760 * sysdeps/s390/s390-32/configure: Regenerated.
16761 * sysdeps/s390/s390-64/configure: Regenerated.
16762 * sysdeps/sh/configure: Regenerated.
16763 * sysdeps/sparc/configure: Regenerated.
16764 * sysdeps/x86_64/configure: Regenerated.
16766 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16770 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16771 denormal result into account.
16773 2012-03-25 Roland McGrath <roland@hack.frob.com>
16775 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16776 Reported by Allan McRae <allan@archlinux.org>.
16778 2012-03-23 Jeff Law <law@redhat.com>
16780 * nss/getnssent.c (__nss_getent): Fix typo.
16782 2012-03-23 David S. Miller <davem@davemloft.net>
16784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16786 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16788 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16789 to pad to uint64_t for each field.
16790 (dl_tls_index): Replace unsigned long with uint64_t.
16792 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16793 Paul Pluzhnikov <ppluzhnikov@google.com>
16796 * grp/Makefile (otherlibs): Don't set it.
16797 * inet/Makefile (otherlibs): Likewise.
16798 * login/Makefile (otherlibs): Likewise.
16799 * nscd/Makefile (otherlibs): Likewise.
16800 * posix/Makefile (otherlibs): Likewise.
16801 * pwd/Makefile (otherlibs): Likewise.
16802 * rt/Makefile (otherlibs): Likewise.
16803 * sunrpc/Makefile (otherlibs): Likewise.
16804 * nss/Makefile (otherlibs): Likewise.
16805 Add libnss_files to routines and static-only-routines.
16806 ($(objpfx)getent): Remove rule.
16807 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16808 static-only-routines.
16810 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16813 * math/s_cexp.c: Include <float.h>.
16814 (__cexp): Handle exp result overflowing not necessarily
16815 overflowing both real and imaginary parts of result.
16816 * math/s_cexpf.c: Likewise.
16817 * math/s_cexpl.c: Likewise.
16818 * math/libm-test.inc (cexp_test): Add more tests.
16819 * sysdeps/i386/fpu/libm-test-ulps: Update.
16820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16822 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16824 * include/link.h (ELFW): New macro.
16825 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16826 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16828 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16830 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16833 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16835 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16837 (struct La_x32_retval): Likewise.
16839 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16841 * sysdeps/x86_64/preconfigure.in: New file.
16842 * sysdeps/x86_64/preconfigure: New generated file.
16844 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16847 * math/e_exp2l.c: Include <float.h>.
16848 (__ieee754_exp2l): Handle overflow and underflow cases
16849 separately. Only pass fractional part of argument to
16851 * math/libm-test.inc (exp2_test): Add more tests.
16853 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16854 negating x to take absolute value.
16855 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16857 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16858 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16860 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16861 computing low part if x was negated.
16862 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16864 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16866 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16867 la_x32_gnu_pltexit.
16868 (pltexit): Cast int_retval to ptrdiff_t.
16869 * elf/tst-auditmod3b.c: Likewise.
16870 * elf/tst-auditmod4b.c: Likewise.
16871 * elf/tst-auditmod5b.c: Likewise.
16872 * elf/tst-auditmod6b.c: Likewise.
16873 * elf/tst-auditmod6c.c: Likewise.
16874 * elf/tst-auditmod7b.c: Likewise.
16876 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16877 and x32_gnu_pltexit.
16879 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16880 __ELF_NATIVE_CLASS.
16881 (La_x32_regs): New macro.
16882 (La_x32_retval): Likewise.
16883 (la_x32_gnu_pltenter): New function prototype.
16884 (la_x32_gnu_pltexit): Likewise.
16886 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16888 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16893 * configure.in (libc_cv_cc_nofma): Check for option to disable
16894 generation of FMA instructions.
16895 * configure: Regenerate.
16896 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16897 * sysdeps/ieee754/dbl-64/Makefile: New file.
16898 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16899 Remove brandred-fma4.
16900 (CFLAGS-brandred-fma4.c): Remove.
16901 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16902 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16904 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16907 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16909 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16910 LLONG_MAX != LONG_MAX.
16911 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16912 (_fitoa_word): Likewise.
16913 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16914 LLONG_MAX != LONG_MAX.
16915 * stdio-common/_itowa.h: Include <_itoa.h>.
16916 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16917 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16918 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16919 only if not defined.
16920 (_ITOA_WORD_TYPE): Likewise.
16921 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16922 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16924 2012-03-21 David S. Miller <davem@davemloft.net>
16926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16928 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16930 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16931 of x86_64 when setting libc_cv_slibdir, libdir and
16933 * sysdeps/unix/sysv/linux/configure: Regenerated.
16935 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16937 * manual/lang.texi (Old Varargs): Remove section.
16938 (How Variadic): Update menu.
16939 (va_start): Do not mention varargs.h.
16941 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16942 Joseph Myers <joseph@codesourcery.com>
16944 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16946 * configure: Regenerated.
16948 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16950 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16951 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16954 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16957 * Makefile (files-for-dist): Remove NOTES.
16958 (NOTES): Remove rule.
16959 * README: Don't refer to NOTES.
16960 * manual/creature.texi: Don't include macros.texi.
16961 * manual/intro.texi (creature.texi): Remove comment referring to
16964 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16965 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16966 * configure: Regenerated.
16967 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16968 LIBC_TRY_CC_OPTION.
16969 (libc_cv_as_i686): Likewise.
16970 (libc_cv_cc_avx): Likewise.
16971 (libc_cv_cc_sse2avx): Likewise.
16972 (libc_cv_cc_fma4): Likewise.
16973 (libc_cv_cc_novzeroupper): Likewise.
16974 * sysdeps/i386/configure: Regenerated.
16977 * sysdeps/i386/fpu/s_cexp.S: Remove.
16978 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16979 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16980 * math/libm-test.inc (cexp_test): Add more tests.
16981 * sysdeps/i386/fpu/libm-test-ulps: Update.
16982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16984 2012-03-21 Allan McRae <allan@archlinux.org>
16986 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16988 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16991 * math/w_exp2.c: Do not include <float.h>.
16992 (o_threshold, u_threshold): Remove.
16993 (__exp2): Calculate result before checking finiteness and calling
16995 * math/w_exp2f.c: Likewise.
16996 * math/w_exp2l.c: Likewise.
16997 * math/libm-test.inc (exp2_test): Require overflow exception for
17001 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17002 range of signed 64-bit integers before using fistpll. Remove
17003 checks for whether integers fit in mantissa bits.
17004 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17005 the range of signed 32-bit integers before using fistpl. Remove
17006 checks for whether integers fit in mantissa bits.
17007 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17008 (__ieee754_powl): Test for y outside the range of signed 64-bit
17009 integers before using fistpll. Reduce 64-bit values to 63-bit
17011 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17012 divide-by-zero is raised for zero to large negative powers.
17013 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17014 (__ieee754_powl): Test for y outside the range of signed 64-bit
17015 integers before using fistpll. Reduce 64-bit values to 63-bit
17017 * math/libm-test.inc (pow_test): Add more tests.
17019 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17021 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17022 <stdio-common/_itoa.h>.
17023 * debug/segfault.c: Likewise.
17024 * elf/dl-cache.c: Likewise.
17025 * elf/dl-minimal.c: Likewise.
17026 * elf/dl-misc.c: Likewise.
17027 * elf/dl-sysdep.c: Likewise.
17028 * elf/dl-version.c: Likewise.
17029 * elf/rtld.c: Likewise.
17030 * hurd/hurdsock.c: Likewise.
17031 * hurd/lookup-retry.c: Likewise.
17032 * malloc/malloc.c: Likewise.
17033 * malloc/mtrace.c: Likewise.
17034 * nscd/nscd_getgr_r.c: Likewise.
17035 * nscd/nscd_getpw_r.c: Likewise.
17036 * nscd/nscd_getserv_r.c: Likewise.
17037 * posix/getopt_init.c: Likewise.
17038 * posix/wordexp.c: Likewise.
17039 * stdio-common/_itoa.c: Likewise.
17040 * stdio-common/printf_fphex.c: Likewise.
17041 * stdio-common/vfprintf.c: Likewise.
17042 * string/_strerror.c: Likewise.
17043 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17044 * sysdeps/i386/i686/hp-timing.h: Likewise.
17045 * sysdeps/mach/_strerror.c: Likewise.
17046 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17047 * sysdeps/mach/hurd/sethostid.c: Likewise.
17048 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17049 * sysdeps/mach/xpg-strerror.c: Likewise.
17050 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17051 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17052 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17053 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17054 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17055 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17056 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17057 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17058 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17059 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17060 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17061 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17062 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17063 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17064 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17065 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17066 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17067 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17068 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17069 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17070 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17072 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17074 * stdio-common/_itoa.h: Moved to ...
17075 * sysdeps/generic/_itoa.h: Here.
17077 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17079 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17080 instead of "_itoa.h" and "_itowa.h".
17081 * stdio-common/vfprintf.: Likewise.
17083 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17085 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17087 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17088 (__signbit): Likwise.
17089 (llrintf): Likwise.
17092 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17094 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17097 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17099 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17100 OVERFLOW_EXCEPTION_OK.
17101 * math/libm-test.inc ("Philosophy"): Update comment about
17103 (OVERFLOW_EXCEPTION): Define.
17104 (OVERFLOW_EXCEPTION_OK): Likewise.
17105 (INVALID_EXCEPTION_OK): Renumber.
17106 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17107 (IGNORE_ZERO_INF_SIGN): Likewise.
17108 (test_exceptions): Handle FE_OVERFLOW.
17109 (exp10_test): Expect overflow exceptions.
17110 (exp2_test): Likewise.
17111 (expm1_test): Likewise.
17112 (nextafter_test): Likewise.
17113 (pow_test): Likewise.
17114 (scalbn_test): Likewise.
17115 (scalbln_test): Likewise.
17117 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17119 * sysdeps/x86_64/bits/atomic.h
17120 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17122 (atomic_exchange_acq): Likewise.
17123 (__arch_exchange_and_add_body): Likewise.
17124 (__arch_add_body): Likewise.
17125 (atomic_add_negative): Likewise.
17126 (atomic_add_zero): Likewise.
17128 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17130 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17131 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17133 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17135 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17136 Check __x86_64__ instead of __WORDSIZE.
17138 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17140 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17142 2012-03-19 David S. Miller <davem@davemloft.net>
17144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17146 * sysdeps/sparc/fpu/fenv_private.h: New file.
17147 * sysdeps/sparc/fpu/math_private.h: Use it.
17148 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17150 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17151 (libc_feholdexcept_setroundl): Remove.
17152 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17154 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17155 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17157 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17159 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17160 int64_t instead of long int.
17161 (INSERT_WORDS64): Likwise.
17163 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17165 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17166 _Unwind_GetCFA return to _Unwind_Ptr first.
17168 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17171 * math/s_clog.c: Include <float.h>.
17172 (__clog): Scale large or subnormal inputs.
17173 * math/s_clogf.c: Likewise.
17174 * math/s_clogl.c: Likewise.
17175 * math/s_clog10.c: Include <float.h>.
17176 (M_LOG10_2): Define.
17177 (__clog10): Scale large or subnormal inputs.
17178 * math/s_clog10f.c: Likewise.
17179 * math/s_clog10l.c: Likewise.
17180 * math/libm-test.inc (clog_test): Add more tests.
17181 (clog10_test): Likewise.
17182 * sysdeps/i386/fpu/libm-test-ulps: Update.
17183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17186 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17188 * math/libm-test.inc (atan2_test): Add another test.
17190 * Makerules (common-objdir-compile): Remove.
17191 * sysdeps/unix/Makefile (config-generated): Do not add
17192 $(unix-generated) to variable.
17193 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17194 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17196 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17198 [generic bits/local_lim.h] (before-compile): Do not append to
17200 [generic bits/local_lim.h] (common-generated): Likewise.
17201 [generic sys/param.h] (before-compile): Do not append to variable.
17202 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17203 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17204 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17205 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17207 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17208 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17209 [generic sys/param.h] ($(addprefix
17210 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17211 [generic sys/param.h] (common-generated): Do not append to
17213 [generic sys/param.h] (sysdep_headers): Likewise.
17214 [generic bits/errno.h] (before-compile): Do not append to
17216 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17218 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17219 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17220 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17221 [generic bits/errno.h] (common-generated): Do not append to
17223 [generic bits/ioctls.h] (before-compile): Do not append to
17225 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17227 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17228 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17229 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17231 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17232 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17233 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17234 [generic bits/ioctls.h] (common-generated): Do not append to
17236 [generic sys/syscall.h] (syscall.h): Remove variable.
17237 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17239 [generic sys/syscall.h] (before-compile): Do not append to
17241 [generic sys/syscall.h] (common-generated): Likewise.
17242 * sysdeps/unix/errnos-tmpl.c: Remove file.
17243 * sysdeps/unix/errnos.awk: Likewise.
17244 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17245 * sysdeps/unix/ioctls.awk: Likewise.
17246 * sysdeps/unix/mk-local_lim.c: Likewise.
17247 * sysdeps/unix/snarf-ioctls: Likewise.
17249 2012-03-19 Richard Henderson <rth@twiddle.net>
17251 * sysdeps/i386/fpu/fenv_private.h: New file.
17252 * sysdeps/i386/fpu/math_private.h: Use it.
17253 (math_opt_barrier, math_force_eval): Remove.
17254 (libc_feholdexcept_setround_53bit): Remove.
17255 (libc_feupdateenv_53bit): Remove.
17256 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17257 (math_opt_barrier, math_force_eval): Remove.
17258 (libc_feholdexcept): Remove.
17259 (libc_feholdexcept_setround): Remove.
17260 (libc_fetestexcept, libc_fesetenv): Remove.
17261 (libc_feupdateenv_test): Remove.
17262 (libc_feupdateenv, libc_feholdsetround): Remove.
17263 (libc_feresetround): Remove.
17265 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17266 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17268 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17269 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17270 (libc_feupdateenv_testl): New.
17271 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17272 (libc_feupdateenv_testf): New.
17273 (libc_feupdateenv): Use libc_feupdateenv_test.
17274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17275 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17277 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17278 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17279 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17280 (libc_feresetround_noex): New.
17281 (libc_feresetround_noexf): New.
17282 (libc_feresetround_noexl): New.
17283 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17284 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17285 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17286 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17288 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17289 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17291 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17292 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17293 SET_RESTORE_ROUND_NOEX.
17294 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17295 SET_RESTORE_ROUND_NOEXF.
17296 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17297 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17298 (libc_feholdsetroundf): New.
17299 (libc_feresetround, libc_feresetroundf): New.
17301 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17302 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17303 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17305 * sysdeps/generic/math_private.h: Include <fenv.h>.
17306 (default_libc_feholdexcept): New.
17307 (default_libc_feholdexcept_setround): New.
17308 (default_libc_fesetenv, default_libc_feupdateenv): New.
17309 (libc_feholdexcept): Only define if undefined.
17310 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17311 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17312 (libc_feholdexcept_setroundl): Likewise.
17313 (libc_feholdexcept_setround_53bit): Likewise.
17314 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17315 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17316 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17317 (libc_feupdateenv_53bit): Likewise.
17318 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17319 (libc_feholdexcept): Convert from macro to inline function.
17320 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17321 (libc_fesetenv, libc_feupdateenv): Likewise.
17323 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17324 not previously defined.
17325 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17326 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17327 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17328 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17329 * sysdeps/ieee754/flt-32/math_private.h: New file.
17330 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17331 math_private.h below SET_FLOAT_WORD.
17332 (__isnan, __isinf_ns, __finite): Remove.
17333 (__isnanf, __isinf_nsf, __finitef): Remove.
17335 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17339 2012-03-17 David S. Miller <davem@davemloft.net>
17342 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17345 2012-03-16 David S. Miller <davem@davemloft.net>
17347 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17351 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17353 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17354 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17355 sysdep_routines when subdir is sysvipc.
17356 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17357 __getshmlba helper.
17359 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17361 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17363 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17366 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17368 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17369 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17370 (__lround): Renamed to ...
17371 (__llround): This. Replace long int with long long int.
17372 Define lround functions as aliases of llround functions.
17373 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17375 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17377 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17378 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17379 adresses to uintptr_t. Replace "long int" and "unsigned long
17380 int" with "greg_t" on va_arg.
17382 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17384 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17385 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17387 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17388 Move e_machine check before EI_CLASS check. Handle x32
17389 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17390 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17391 SKIP_EM_IA_64 and include
17392 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17394 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17395 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17396 (add_system_dir): New macro.
17398 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17399 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17401 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17412 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17414 * math/w_j0f.c (j0f): Likewise.
17416 * math/w_j0l.c (__j0l): Likewise.
17418 * math/w_j1.c (j1): Likewise.
17420 * math/w_j1f.c (j1f): Likewise.
17422 * math/w_j1l.c (__j1l): Likewise.
17424 * math/w_jn.c (jn): Likewise.
17426 * math/w_jnf.c (jnf): Likewise.
17428 * math/w_jnl.c (__jnl): Likewise.
17430 * math/libm-test.inc (j0_test): Add more tests.
17431 (j1_test): Likewise.
17432 (jn_test): Likewise. Add trailing semicolon to existing test.
17433 (y0_test): Likewise.
17434 (y1_test): Likewise.
17435 * sysdeps/i386/fpu/libm-test-ulps: Update.
17436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17440 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17441 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17442 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17443 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17444 (__tanl): Set errno for infinite argument.
17445 * sysdeps/i386/fpu/mptan.c: Remove.
17446 * sysdeps/i386/fpu/s_tan.S: Likewise.
17447 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17448 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17449 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17450 * math/libm-test.inc (tan_test): Add more tests and enable more
17451 tests for double and long double.
17452 * sysdeps/i386/fpu/libm-test-ulps: Update.
17453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17455 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17457 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17458 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17460 2012-03-16 Roland McGrath <roland@hack.frob.com>
17462 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17463 * configure.in: Use it for both main tree and add-ons.
17464 * configure: Regenerated.
17466 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17468 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17470 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17472 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17476 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17477 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17480 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17482 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17484 != 0 for prec == 2.
17485 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17486 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17487 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17488 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17489 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17490 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17491 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17492 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17493 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17494 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17495 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17496 * math/libm-test.inc (cos_test): Add more tests and enable more
17497 tests for long double.
17498 (sin_test): Likewise.
17499 (sincos_test): Likewise.
17500 * sysdeps/i386/fpu/libm-test-ulps: Update.
17501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17503 2012-03-16 David S. Miller <davem@davemloft.net>
17505 * sysdeps/sparc/fpu/math_private.h: New file.
17507 2012-03-15 David S. Miller <davem@davemloft.net>
17509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17519 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17523 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17524 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17526 * sysdeps/sparc/sparc-ifunc.h: New file.
17527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17553 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17567 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17572 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17574 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17578 2012-03-15 Andreas Jaeger <aj@suse.de>
17581 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17582 ieee754/flt-32 implementation for sin, cos and sincos.
17583 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17584 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17585 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17586 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17587 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17588 ieee754/flt-32 implementation for tan.
17590 * math/libm-test.inc (cos_test): Enable some large input tests for
17592 (sin_test): Likewise.
17593 (sincos_test): Likewise.
17594 (tan_test): Add tests for large input.
17596 * sysdeps/i386/fpu/libm-test-ulps: Update.
17598 2012-03-15 Andreas Jaeger <aj@suse.de>
17601 * math/libm-test.inc (cos_test): Add more test cases.
17602 (sin_test): Likewise.
17603 (sincos_test): Likewise.
17605 2012-03-15 Andreas Jaeger <aj@suse.de>
17608 * math/libm-test.inc (cos_test): Add a test case for large input
17610 (sin_test): Likewise.
17611 (sincos_test): Likewise.
17613 2012-03-15 Andreas Jaeger <aj@suse.de>,
17614 Joseph Myers <joseph@codesourcery.com>
17617 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17618 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17619 * sysdeps/i386/fpu/branred.c: Likewise.
17620 * sysdeps/i386/fpu/dosincos.c: Likewise.
17621 * sysdeps/i386/fpu/mpa.c: Likewise.
17622 * sysdeps/i386/fpu/s_cos.S: Likewise.
17623 * sysdeps/i386/fpu/s_sin.S: Likewise.
17624 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17625 * sysdeps/i386/fpu/sincos32.c: Likewise.
17627 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17629 (libc_feupdateenv_53bit): Define.
17630 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17632 (libc_feupdateenv_53bit): Define.
17634 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17635 53 bit (without extend i386 double precision).
17637 * math/libm-test.inc (sincos_test): Add tests for large input.
17641 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17643 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17647 2012-03-15 David S. Miller <davem@davemloft.net>
17649 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17650 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17651 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17652 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17676 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17677 fmin/fmax sysdep routines.
17678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17680 2012-03-14 David S. Miller <davem@davemloft.net>
17682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17710 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17754 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17759 * sysdeps/sparc/configure.in: New file.
17760 * sysdeps/sparc/configure: Generate.
17761 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17762 * configure: Regenerate.
17763 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17764 * config.make.in (have-as-vis3): New.
17765 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17766 available use -Av9d instead of -Av9a.
17767 * sysdeps/sparc/sparc64/Makefile: Likewise.
17768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17783 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17784 fzeros/fnegs to load 0x80000000 into a float register instead of
17786 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17788 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17792 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17793 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17794 ($(inst_includedir)/bits/syscall.h): Remove rule.
17795 ($(objpfx)bits/syscall.d): Include instead of
17796 $(objpfx)syscall-list.d.
17797 (generated): Change syscall-list.h and syscall-list.d to
17798 bits/syscall.h and bits/syscall.d.
17800 2012-03-14 Roland McGrath <roland@hack.frob.com>
17803 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17805 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17808 * math/s_csqrt.c: Include <float.h>.
17809 (__csqrt): Scale large or subnormal inputs.
17810 * math/s_csqrtf.c: Likewise.
17811 * math/s_csqrtl.c: Likewise.
17812 * math/libm-test.inc (csqrt_test): Add more tests.
17813 * sysdeps/i386/fpu/libm-test-ulps: Update.
17814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17817 * math/libm-test.inc (hypot_test): Add more tests.
17819 2012-03-13 David S. Miller <davem@davemloft.net>
17822 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17823 double-precision for the calculation instead of scaling.
17825 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17827 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17828 manipulate bits before adding and subtracting TWO52[sx].
17829 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17830 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17832 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17834 2012-03-13 David S. Miller <davem@davemloft.net>
17836 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17837 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17839 rtld-global-offsets.h
17840 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17842 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17845 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17847 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17848 'err' in the ifdef scope in which it is actually used.
17850 * nss/nss_db/db-init.c: Include string.h
17852 2012-03-12 David S. Miller <davem@davemloft.net>
17854 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17855 masking out of the most significant byte of random value used.
17856 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17857 Fix coding style in previous change.
17859 * sysdeps/unix/sysv/linux/kernel-features.h
17860 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17861 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17863 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17866 2012-03-11 David S. Miller <davem@davemloft.net>
17868 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17869 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17870 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17871 for 'resultvar' otherwise things get truncated on 64-bit.
17873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17874 Fix masking out of the most significant byte of random value used.
17876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17878 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17882 2012-03-09 David S. Miller <davem@davemloft.net>
17884 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17885 variables with appropriate CPP guards.
17886 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17887 frame pointer, not the stack pointer. Correct layout comments. Fix test
17888 on resulting framesize and the management of the outregs buffer for pltexit.
17889 Preserve floating point return values across _dl_call_pltexit call.
17890 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17891 framesize and the management of the outregs buffer for pltexit.
17892 Preserve floating point return values across _dl_call_pltexit
17894 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17895 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17896 (print_exit): Fix format string for return register value.
17898 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17900 * sunrpc/Makefile (others): Add rpcgen.
17901 ($(objpfx)rpcgen): Remove special build rule and dependency on
17903 * sunrpc/rpcgen.c: New file.
17905 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17908 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17909 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17910 * sysdeps/i386/crti.S: Likewise.
17911 * sysdeps/i386/crtn.S: Likewise.
17912 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17913 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17914 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17915 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17916 * sysdeps/sh/crti.S: Likewise.
17917 * sysdeps/sh/crtn.S: Likewise.
17918 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17921 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17923 * locale/programs/locfile-kw.gperf: Likewise.
17924 * locale/programs/charmap-kw.h: Regenerated.
17925 * locale/programs/locfile-kw.h: Likewise.
17928 * intl/plural.y: Replace FSF snail mail address with URL.
17929 * intl/plural.c: Regenerated.
17931 2012-03-09 Richard Henderson <rth@twiddle.net>
17933 * include/math_private.h: Remove file.
17934 * math/math_private.h: Move file ...
17935 * sysdeps/generic/math_private.h: ... here.
17937 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17938 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17939 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17941 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17942 and <math_private.h>.
17943 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17944 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17945 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17946 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17947 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17948 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17951 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17952 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17954 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17955 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17956 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18031 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18032 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18033 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18034 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18035 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18036 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18037 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18038 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18039 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18040 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18041 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18042 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18043 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18044 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18045 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18046 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18047 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18048 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18049 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18050 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18051 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18052 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18053 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18054 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18055 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18056 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18057 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18058 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18059 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18060 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18061 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18062 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18063 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18064 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18065 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18066 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18067 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18068 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18069 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18070 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18071 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18072 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18073 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18074 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18075 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18076 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18077 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18078 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18079 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18080 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18081 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18082 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18083 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18084 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18085 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18086 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18087 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18088 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18092 * sysdeps/ieee754/k_standard.c: Likewise.
18093 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18094 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18097 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18098 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18102 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18103 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18208 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18212 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18213 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18215 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18220 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18225 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18241 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18242 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18243 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18253 * sysdeps/ieee754/s_lib_version.c: Likewise.
18254 * sysdeps/ieee754/s_matherr.c: Likewise.
18255 * sysdeps/ieee754/s_signgam.c: Likewise.
18256 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18257 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18258 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18259 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18260 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18261 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18262 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18263 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18264 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18265 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18266 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18267 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18268 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18269 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18270 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18271 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18272 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18273 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18274 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18278 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18280 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18281 * sunrpc/rpc_main.c: Likewise.
18282 * sunrpc/rpc_svcout.c: Likewise.
18284 2012-03-09 David S. Miller <davem@davemloft.net>
18286 * include/math_private.h: New file.
18288 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18290 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18291 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18292 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18293 from <bits/socket_type.h>.
18294 (enum __socket_type): Don't define here.
18295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18297 bits/socket_type.h.
18300 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18301 checking __USE_GNU.
18303 * Makerules ($(inst_includedir)/%.h): New rule.
18304 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18305 (install-others): Remove variable setting.
18306 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18308 2012-03-08 Richard Henderson <rth@twiddle.net>
18310 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18311 from macro to inline function; merge with the
18312 !__LIBC_INTERNAL_MATH_INLINES version.
18313 (__ieee754_sqrtf): Likewise.
18315 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18316 to inline function.
18317 (__rintf, __floor, __floorf): Likewise.
18319 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18320 macro to inline function.
18321 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18323 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18324 not <math/math_private.h>.
18326 2012-03-08 David S. Miller <davem@davemloft.net>
18328 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18330 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18332 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18334 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18336 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18337 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18339 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18341 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18342 be defined individually, they must be defined as a block. Define
18343 S for printing a string instead of hidint the different by using a
18344 macro for adding the 'l'.
18345 * stdio-common/tst-fphex-wide.c: Adjust.
18347 2012-03-07 Marek Polacek <polacek@redhat.com>
18349 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18351 2012-03-08 Marek Polacek <polacek@redhat.com>
18354 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18355 * stdio-common/tst-fphex.c: Define a few macros to make the
18356 test reusable. Use them.
18357 * stdio-common/tst-fphex-wide.c: New file.
18359 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18362 * manual/macros.texi (gnusystems): New macro.
18363 (nongnusystems): Likewise.
18364 (gnulinuxhurdsystems): Likewise.
18365 (gnuhurdsystems): Likewise..
18366 (gnulinuxsystems): Likewise.
18367 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18368 variants of the GNU system, not "GNU system".
18369 * manual/conf.texi: Likewise.
18370 * manual/errno.texi: Likewise. Update example of errno macro
18372 * manual/filesys.texi: Likewise.
18373 (getumask): Document as specific to GNU/Hurd.
18374 * manual/install.texi: Likewise. Reword some references to
18376 * manual/intro.texi: Likewise.
18377 * manual/io.texi: Likewise.
18378 (File Name Portability): Detail which constraints are inapplicable
18379 to all GNU systems and which are only inapplicable to GNU/Hurd.
18380 * manual/job.texi: Likewise.
18381 * manual/llio.texi: Likewise.
18382 (O_NOCTTY): Document as present on GNU/Linux.
18383 * manual/maint.texi: Likewise.
18384 * manual/memory.texi: Likewise.
18385 * manual/pattern.texi: Likewise.
18386 * manual/pipe.texi: Likewise.
18387 * manual/process.texi: Likewise.
18388 * manual/resource.texi: Likewise.
18389 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18391 * manual/setjmp.texi: Likewise.
18392 * manual/signal.texi: Likewise.
18393 * manual/startup.texi: Likewise.
18394 * manual/stdio.texi: Likewise.
18395 * manual/terminal.texi: Likewise.
18396 (ONLCR): Document as POSIX.
18397 (OXTABS): Document availability on GNU/Linux as XTABS.
18398 (ONOEOT): Document availability separately from other bits.
18399 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18400 * manual/time.texi: Likewise.
18401 * manual/users.texi: Likewise.
18402 * INSTALL: Regenerated.
18403 * sysdeps/gnu/errlist.c: Regenerated.
18405 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18406 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18407 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18409 * configure: Regenerated.
18411 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18413 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18414 default includes instead of AC_HEADER_CHECK.
18415 * sysdeps/i386/configure: Regenerated.
18418 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18419 * math/s_cacoshf.c (__cacoshf): Likewise.
18420 * math/s_cacoshl.c (__cacoshl): Likewise.
18421 * math/s_casinh.c (__casinh): Set signs of result from argument.
18422 * math/s_casinhf.c (__casinhf): Likewise.
18423 * math/s_casinhl.c (__casinhl): Likewise.
18424 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18425 (casinh_test): Add more tests.
18426 * sysdeps/i386/fpu/libm-test-ulps: Update.
18427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18429 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18431 * po/zh_TW.po: Update from translation team.
18433 * login/Makefile (distribute): Remove variable.
18434 * catgets/Makefile: Likewise.
18435 * mach/Makefile: Likewise.
18436 * malloc/Makefile: Likewise.
18437 * misc/Makefile: Likewise.
18438 * iconv/Makefile: Likewise.
18439 * nscd/Makefile: Likewise.
18440 * hurd/Makefile: Likewise.
18441 * manual/Makefile: Likewise.
18442 * locale/Makefile: Likewise.
18443 * intl/Makefile: Likewise.
18444 * conform/Makefile: Likewise.
18445 * nss/Makefile: Likewise.
18446 * time/Makefile: Likewise.
18447 * soft-fp/Makefile: Likewise.
18448 * dirent/Makefile: Likewise.
18449 * gmon/Makefile: Likewise.
18450 * po/Makefile: Likewise.
18451 * rt/Makefile: Likewise.
18452 * socket/Makefile: Likewise.
18453 * math/Makefile: Likewise.
18454 * signal/Makefile: Likewise.
18455 * debug/Makefile: Likewise.
18456 * elf/Makefile: Likewise.
18457 * timezone/Makefile: Likewise.
18458 * stdlib/Makefile: Likewise.
18459 * iconvdata/Makefile: Likewise.
18460 * sunrpc/Makefile: Likewise.
18461 * io/Makefile: Likewise.
18462 * argp/Makefile: Likewise.
18463 * inet/Makefile: Likewise.
18464 * hesiod/Makefile: Likewise.
18465 * grp/Makefile: Likewise.
18466 * csu/Makefile: Likewise.
18467 * wctype/Makefile: Likewise.
18468 * crypt/Makefile: Likewise.
18469 * libio/Makefile: Likewise.
18470 * string/Makefile: Likewise.
18471 * nis/Makefile: Likewise.
18472 * resolv/Makefile: Likewise.
18473 * stdio-common/Makefile: Likewise.
18474 * wcsmbs/Makefile: Likewise.
18475 * dlfcn/Makefile: Likewise.
18476 * posix/Makefile: Likewise.
18479 * timezone/Makefile: Don't install timezone files, just the programs
18482 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18484 * nss/databases.def: Add missing gshadow entry.
18486 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18488 2012-03-06 Marek Polacek <polacek@redhat.com>
18491 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18492 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18493 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18494 * stdio-common/tst-long-dbl-fphex.c: New file.
18496 2012-03-06 David S. Miller <davem@davemloft.net>
18498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18499 (set_obp_int): New function.
18500 (get_obp_int): New function.
18501 (__get_clockfreq_via_dev_openprom): Likewise.
18502 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18503 Avoid unused variable warnings on 'val' and use builtin_expect.
18504 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18506 (INLINE_CLONE_SYSCALL): Likewise.
18508 2012-03-05 David S. Miller <davem@davemloft.net>
18510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18512 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18516 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18517 only for |x| >= 40.
18518 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18520 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18522 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18523 Replace gettimeofday with __vdso_gettimeofday.
18525 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18526 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18527 __vdso_clock_gettime and __vdso_getcpu.
18529 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18530 time with __vdso_time.
18532 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18534 * manual/lang.texi (size_t): Note types to which size_t may be
18535 equivalent with the GNU C Library, but do not describe when
18536 differences between them are significant.
18538 2012-03-05 Andreas Jaeger <aj@suse.de>
18540 * sysdeps/i386/fpu/libm-test-ulps: Update.
18542 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18545 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18546 (__ieee754_pow): Save and restore rounding mode and use
18547 round-to-nearest for main computations.
18548 * math/libm-test.inc (pow_test_tonearest): New function.
18549 (pow_test_towardzero): Likewise.
18550 (pow_test_downward): Likewise.
18551 (pow_test_upward): Likewise.
18552 (main): Call the new functions.
18553 * sysdeps/i386/fpu/libm-test-ulps: Update.
18554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18557 * math/libm-test.inc (cosh_test_tonearest): New function.
18558 (cosh_test_towardzero): Likewise.
18559 (cosh_test_downward): Likewise.
18560 (cosh_test_upward): Likewise.
18561 (sinh_test_tonearest): Likewise.
18562 (sinh_test_towardzero): Likewise.
18563 (sinh_test_downward): Likewise.
18564 (sinh_test_upward): Likewise.
18565 (main): Call the new functions.
18566 * sysdeps/i386/fpu/libm-test-ulps: Update.
18567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18569 2012-03-05 Tom de Vries <tom@codesourcery.com>
18571 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18572 default stack guard is set in last bytes.
18573 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18575 2012-03-05 Kees Cook <keescook@chromium.org>
18577 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18580 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18581 possibly allocate from heap instead of stack.
18582 * stdio-common/bug-vfprintf-nargs.c: New file.
18583 * stdio-common/Makefile (tests): Add nargs overflow test.
18585 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18589 2012-03-03 Marek Polacek <polacek@redhat.com>
18591 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18592 * math/math_private.h: Likewise.
18593 * stdlib/tst-strtod.c: Likewise.
18594 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18595 * sysdeps/x86_64/bits/atomic.h: Likewise.
18597 2012-03-02 David S. Miller <davem@davemloft.net>
18599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18603 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18604 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18605 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18606 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18608 2012-03-02 Roland McGrath <roland@hack.frob.com>
18611 * manual/examples/README: New file, says the example source files
18612 can be used under GPL>=2.
18613 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18614 line containing just "*/".
18615 * manual/examples/add.c: Add copyright header (GPL>=2).
18616 * manual/examples/argp-ex1.c: Likewise.
18617 * manual/examples/argp-ex2.c: Likewise.
18618 * manual/examples/argp-ex3.c: Likewise.
18619 * manual/examples/argp-ex4.c: Likewise.
18620 * manual/examples/atexit.c: Likewise.
18621 * manual/examples/db.c: Likewise.
18622 * manual/examples/dir.c: Likewise.
18623 * manual/examples/dir2.c: Likewise.
18624 * manual/examples/execinfo.c: Likewise.
18625 * manual/examples/filecli.c: Likewise.
18626 * manual/examples/filesrv.c: Likewise.
18627 * manual/examples/fmtmsgexpl.c: Likewise.
18628 * manual/examples/genpass.c: Likewise.
18629 * manual/examples/inetcli.c: Likewise.
18630 * manual/examples/inetsrv.c: Likewise.
18631 * manual/examples/isockad.c: Likewise.
18632 * manual/examples/longopt.c: Likewise.
18633 * manual/examples/memopen.c: Likewise.
18634 * manual/examples/memstrm.c: Likewise.
18635 * manual/examples/mkfsock.c: Likewise.
18636 * manual/examples/mkisock.c: Likewise.
18637 * manual/examples/mygetpass.c: Likewise.
18638 * manual/examples/pipe.c: Likewise.
18639 * manual/examples/popen.c: Likewise.
18640 * manual/examples/rprintf.c: Likewise.
18641 * manual/examples/search.c: Likewise.
18642 * manual/examples/select.c: Likewise.
18643 * manual/examples/setjmp.c: Likewise.
18644 * manual/examples/sigh1.c: Likewise.
18645 * manual/examples/sigusr.c: Likewise.
18646 * manual/examples/stpcpy.c: Likewise.
18647 * manual/examples/strdupa.c: Likewise.
18648 * manual/examples/strftim.c: Likewise.
18649 * manual/examples/strncat.c: Likewise.
18650 * manual/examples/subopt.c: Likewise.
18651 * manual/examples/swapcontext.c: Likewise.
18652 * manual/examples/termios.c: Likewise.
18653 * manual/examples/testopt.c: Likewise.
18654 * manual/examples/testpass.c: Likewise.
18655 * manual/examples/timeval_subtract.c: Likewise.
18658 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18660 * manual/timeval_subtract.c.texi: ... here, new file.
18662 2012-03-02 David S. Miller <davem@davemloft.net>
18664 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18666 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18669 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18670 (__sin): Save and restore rounding mode and use round-to-nearest
18671 for all computations.
18672 (__cos): Save and restore rounding mode and use round-to-nearest
18673 for all computations.
18674 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18676 (tan): Save and restore rounding mode and use round-to-nearest for
18678 * math/libm-test.inc (cos_test_tonearest): New function.
18679 (cos_test_towardzero): Likewise.
18680 (cos_test_downward): Likewise.
18681 (cos_test_upward): Likewise.
18682 (sin_test_tonearest): Likewise.
18683 (sin_test_towardzero): Likewise.
18684 (sin_test_downward): Likewise.
18685 (sin_test_upward): Likewise.
18686 (tan_test_tonearest): Likewise.
18687 (tan_test_towardzero): Likewise.
18688 (tan_test_downward): Likewise.
18689 (tan_test_upward): Likewise.
18690 (main): Call the new functions.
18691 * sysdeps/i386/fpu/libm-test-ulps: Update.
18692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18695 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18696 small n, then large n, before computing and testing k+n.
18697 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18698 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18700 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18702 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18703 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18704 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18705 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18706 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18707 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18708 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18709 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18710 * math/libm-test.inc (scalbn_test): Add more tests.
18711 (scalbln_test): Likewise.
18713 * manual/filesys.texi (mode_t): Describe constraints on size and
18714 signedness, not exact equivalence to a particular type.
18716 (ino64_t): Likewise.
18718 (nlink_t): Likewise.
18719 (blkcnt_t): Likewise.
18720 (blkcnt64_t): Likewise.
18721 * manual/llio.texi (off_t): Likewise.
18724 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18725 (__ieee754_exp): Save and restore rounding mode and use
18726 round-to-nearest for all computations.
18727 * math/libm-test.inc (exp_test_tonearest): New function.
18728 (exp_test_towardzero): Likewise.
18729 (exp_test_downward): Likewise.
18730 (exp_test_upward): Likewise.
18731 (main): Call the new functions.
18732 * sysdeps/i386/fpu/libm-test-ulps: Update.
18733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18735 2012-03-01 Chris Demetriou <cgd@google.com>
18737 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18738 have predictable order.
18740 2012-03-01 David S. Miller <davem@davemloft.net>
18742 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18744 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18745 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18746 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18747 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18749 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18750 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18751 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18753 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18754 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18755 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18756 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18757 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18761 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18762 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18763 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18765 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18766 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18767 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18768 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18769 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18770 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18772 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18773 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18774 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18775 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18776 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18777 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18778 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18779 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18780 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18781 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18782 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18783 * sysdeps/sparc/elf/configure: Regenerated.
18785 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18787 * configure.in (AS, LD): Require binutils 2.20 or later.
18788 * configure: Regenerated.
18789 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18790 as required minimum version.
18791 * INSTALL: Regenerated.
18795 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18796 before squaring exponent.
18797 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18798 bottom long double and 27 bits of top long double before squaring
18800 * math/libm-test.inc (erfc_test): Add more tests.
18801 * sysdeps/i386/fpu/libm-test-ulps: Update.
18802 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18805 2012-03-01 Kai Tietz <ktietz@redhat.com>
18807 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18808 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18809 containing bit-fields.
18810 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18811 * soft-fp/single.h (_FP_UNION_S): Likewise.
18812 * soft-fp/double.h (_FP_UNION_D): Likewise.
18814 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18817 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18818 not include ../strcmp.S.
18819 [USE_AS_STRNCASECMP_L]: Likewise.
18820 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18821 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18822 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18823 (__strncasecmp_l_ia32): Define as alias to
18824 __strncasecmp_l_nonascii.
18827 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18828 * sysdeps/i386/fpu/libm-test-ulps: Update.
18829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18831 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18834 2012-02-29 Jeff Law <law@redhat.com>
18836 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18837 out of bounds read.
18839 2012-02-29 Marek Polacek <polacek@redhat.com>
18842 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18843 * elf/Makefile: Add rules to run tst-unused-dep.out.
18845 2012-02-28 David S. Miller <davem@davemloft.net>
18847 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18848 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18849 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18850 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18851 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18852 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18854 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18856 * math/libm-test.inc (llround_test): Move one test from
18857 lround_test. Use TEST_f_L in moved test.
18858 (lround_test): Move misplaced test to llround_test. Add testcase
18861 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18863 * sysdeps/x86_64/fpu/e_expf.S: New file.
18864 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18866 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18869 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18870 of remain_len that may cause incomplete multi-byte character and
18872 * posix/bug-regex33.c: New file.
18873 * posix/Makefile (tests): Add bug-regex33.
18875 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18877 * manual/macros.texi: New file.
18878 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18879 * manual/libc.texinfo: Include macros.texi.
18880 * manual/creatute.texi: Likewise.
18881 * manual/install.texi: Likewise.
18882 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18883 @glibcadj{} in references to the GNU C Library.
18884 * manual/charset.texi: Likewise.
18885 * manual/conf.texi: Likewise.
18886 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18887 when not using those macros.
18888 * manual/creature.texi: Likewise.
18889 * manual/crypt.texi: Likewise.
18890 * manual/errno.texi: Likewise.
18891 * manual/filesys.texi: Likewise.
18892 * manual/header.texi: Likewise.
18893 * manual/install.texi: Likewise.
18894 * manual/intro.texi: Likewise.
18895 * manual/io.texi: Likewise.
18896 * manual/job.texi: Likewise.
18897 * manual/lang.texi: Likewise.
18898 * manual/libc.texiinfo: Likewise.
18899 * manual/llio.texi: Likewise.
18900 * manual/locale.texi: Likewise.
18901 * manual/maint.texi: Likewise.
18902 * manual/math.texi: Likewise.
18903 * manual/memory.texi: Likewise.
18904 * manual/message.texi: Likewise.
18905 * manual/nss.texi: Likewise.
18906 * manual/pattern.texi: Likewise.
18907 * manual/process.texi: Likewise.
18908 * manual/resource.texi: Likewise.
18909 * manual/search.texi: Likewise.
18910 * manual/setjmp.texi: Likewise.
18911 * manual/signal.texi: Likewise.
18912 * manual/socket.texi: Likewise.
18913 * manual/startup.texi: Likewise.
18914 * manual/stdio.texi: Likewise.
18915 * manual/string.texi: Likewise.
18916 * manual/sysinfo.texi: Likewise.
18917 * manual/syslog.texi: Likewise.
18918 * manual/terminal.texi: Likewise.
18919 * manual/time.texi: Likewise.
18920 * manual/users.texi: Likewise.
18921 * INSTALL: Regenerated.
18922 * NOTES: Regenerated.
18923 * sysdeps/gnu/errlist.c: Regenerated.
18925 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18927 * include/dirent.h: Include <dirstream.h> before
18930 2012-02-28 David S. Miller <davem@davemloft.net>
18932 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18933 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18934 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18935 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18937 2012-02-27 David S. Miller <davem@davemloft.net>
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18941 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18942 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18945 frame pointer instead of stack pointer relative arg slot.
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18947 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18948 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18950 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18953 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18955 2012-02-27 David S. Miller <davem@davemloft.net>
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18961 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18962 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18963 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18964 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18966 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18968 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18969 later. Allow versions 5-9.
18970 * configure: Regenerated.
18971 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18972 required minimum version and 4.6 as recommended version. Do not
18973 mention bugs in GCC 2.7 and 2.8.
18974 * INSTALL: Regenerated.
18976 2012-02-27 David S. Miller <davem@davemloft.net>
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18982 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18983 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18984 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18985 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18987 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18988 manipulate bits before adding and subtracting TWO112[sx].
18989 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18991 2012-02-27 Roland McGrath <roland@hack.frob.com>
18994 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18995 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18996 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18997 being in POSIX, because they are in 1003.1-2008.
18999 * rt/tst-aio.c: Include <fcntl.h>.
19000 * rt/tst-aio7.c: Likewise.
19001 * rt/tst-aio64.c: Likewise.
19003 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19005 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19007 * manual/install.texi (--with-headers): Describe headers as
19008 interface headers, not private headers.
19009 (Specific advice for GNU/Linux systems): Describe use of headers
19010 from "make headers_install", not private headers from older
19012 * INSTALL: Regenerated.
19013 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19015 * sysdeps/unix/sysv/linux/configure: Regenerated.
19017 * manual/llio.texi (fclean): Remove documentation.
19019 * manual/Makefile (libc-texi-generated): New variable. Include
19021 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19022 $(libc-texi-generated), not duplicated list of files.
19023 (version.texi, stamp-version): New rules.
19024 (realclean): Remove $(libc-texi-generated), not individual files
19025 from that list. Do not remove dir-add.texinfo.
19026 * manual/libc.texinfo: Comment out uses of edition numbers and
19027 references to printed manual. Remove last-updated dates.
19028 (EDITION): Comment out.
19030 (VERSION, UPDATED): Remove.
19031 (version.texi): Include.
19033 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19035 * sysdeps/posix/spawni.c: Include <signal.h>.
19036 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19037 * sysdeps/pthread/aio_fsync.c: Likewise.
19039 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19041 * conform/Makefile (tests): Run only when not cross-compiling and
19042 when fast-check is not defined.
19044 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19045 * conform/data/limits.h-data: Fixes for POSIX2008.
19046 * conform/run-conformtest.sh: Run all tests.
19047 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19049 * include/bits/dlfcn.h: Likewise.
19050 * include/langinfo.h: Likewise.
19051 * include/monetary.h: Likewise.
19052 * include/sys/poll.h: Likewise.
19054 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19056 * posix/spawn.h: Define __need_sigset_t.
19057 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19058 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19059 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19060 to get sigevent_t only.
19061 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19062 only for __USE_GNU.
19063 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19064 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19065 process_vm_writev only for __USE_GNU.
19066 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19068 * conform/Makefile: For now ignore errors from run-conformtest.
19069 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19070 POSIX to avoid namespace pollution. Don't prepend headers.
19071 * conform/data/aio.h-data: Fixes for POSIX testing.
19072 * conform/data/fcntl.h-data: Likewise.
19073 * conform/data/glob.h-data: Likewise.
19074 * conform/data/grp.h-data: Likewise.
19075 * conform/data/pthread.h-data: Likewise.
19076 * conform/data/pwd.h-data: Likewise.
19077 * conform/data/signal.h-data: Likewise.
19078 * conform/data/spawn.h-data: Likewise.
19079 * conform/data/stdio.h-data: Likewise.
19080 * conform/data/stdlib.h-data: Likewise.
19081 * conform/data/stropts.h-data: Likewise.
19082 * conform/data/sys/mman.h-data: Likewise.
19083 * conform/data/sys/stat.h-data: Likewise.
19084 * conform/data/sys/types.h-data: Likewise.
19085 * conform/data/sys/wait.h-data: Likewise.
19086 * conform/data/time.h-data: Likewise.
19087 * conform/data/unistd.h-data: Likewise.
19088 * conform/data/utime.h-data: Likewise.
19090 * io/sys/stat.h: fchmod was always in POSIX.
19091 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19092 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19093 * rt/aio.h: Define __need_timespec before including <time.h>.
19094 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19095 struct. Add forward declaration of pthread_attr_t and use it in
19097 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19098 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19099 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19100 always remove CLK_TCK definition.
19102 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19104 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19106 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19108 * conform/run-conformtest.sh: New file.
19109 * conform/Makefile: Run run-conformtest for tests.
19110 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19113 * conform/data/uchar.h-data: New file.
19114 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19115 * conform/data/arpa/inet.h-data: Likewise.
19116 * conform/data/assert.h-data: Likewise.
19117 * conform/data/complex.h-data: Likewise.
19118 * conform/data/cpio.h-data: Likewise.
19119 * conform/data/ctype.h-data: Likewise.
19120 * conform/data/dirent.h-data: Likewise.
19121 * conform/data/dlfcn.h-data: Likewise.
19122 * conform/data/errno.h-data: Likewise.
19123 * conform/data/fcntl.h-data: Likewise.
19124 * conform/data/float.h-data: Likewise.
19125 * conform/data/fmtmsg.h-data: Likewise.
19126 * conform/data/fnmatch.h-data: Likewise.
19127 * conform/data/ftw.h-data: Likewise.
19128 * conform/data/glob.h-data: Likewise.
19129 * conform/data/grp.h-data: Likewise.
19130 * conform/data/iconv.h-data: Likewise.
19131 * conform/data/inttypes.h-data: Likewise.
19132 * conform/data/langinfo.h-data: Likewise.
19133 * conform/data/libgen.h-data: Likewise.
19134 * conform/data/limits.h-data: Likewise.
19135 * conform/data/locale.h-data: Likewise.
19136 * conform/data/math.h-data: Likewise.
19137 * conform/data/monetary.h-data: Likewise.
19138 * conform/data/mqueue.h-data: Likewise.
19139 * conform/data/ndbm.h-data: Likewise.
19140 * conform/data/net/if.h-data: Likewise.
19141 * conform/data/netdb.h-data: Likewise.
19142 * conform/data/netinet/in.h-data: Likewise.
19143 * conform/data/nl_types.h-data: Likewise.
19144 * conform/data/poll.h-data: Likewise.
19145 * conform/data/pthread.h-data: Likewise.
19146 * conform/data/pwd.h-data: Likewise.
19147 * conform/data/regex.h-data: Likewise.
19148 * conform/data/sched.h-data: Likewise.
19149 * conform/data/search.h-data: Likewise.
19150 * conform/data/semaphore.h-data: Likewise.
19151 * conform/data/setjmp.h-data: Likewise.
19152 * conform/data/signal.h-data: Likewise.
19153 * conform/data/spawn.h-data: Likewise.
19154 * conform/data/stdarg.h-data: Likewise.
19155 * conform/data/stdio.h-data: Likewise.
19156 * conform/data/stdlib.h-data: Likewise.
19157 * conform/data/string.h-data: Likewise.
19158 * conform/data/strings.h-data: Likewise.
19159 * conform/data/stropts.h-data: Likewise.
19160 * conform/data/sys/ipc.h-data: Likewise.
19161 * conform/data/sys/mman.h-data: Likewise.
19162 * conform/data/sys/msg.h-data: Likewise.
19163 * conform/data/sys/resource.h-data: Likewise.
19164 * conform/data/sys/select.h-data: Likewise.
19165 * conform/data/sys/sem.h-data: Likewise.
19166 * conform/data/sys/shm.h-data: Likewise.
19167 * conform/data/sys/socket.h-data: Likewise.
19168 * conform/data/sys/stat.h-data: Likewise.
19169 * conform/data/sys/statvfs.h-data: Likewise.
19170 * conform/data/sys/time.h-data: Likewise.
19171 * conform/data/sys/timeb.h-data: Likewise.
19172 * conform/data/sys/times.h-data: Likewise.
19173 * conform/data/sys/types.h-data: Likewise.
19174 * conform/data/sys/uio.h-data: Likewise.
19175 * conform/data/sys/un.h-data: Likewise.
19176 * conform/data/sys/utsname.h-data: Likewise.
19177 * conform/data/sys/wait.h-data: Likewise.
19178 * conform/data/syslog.h-data: Likewise.
19179 * conform/data/tar.h-data: Likewise.
19180 * conform/data/termios.h-data: Likewise.
19181 * conform/data/utime.h-data: Likewise.
19182 * conform/data/utmpx.h-data: Likewise.
19183 * conform/data/varargs.h-data: Likewise.
19184 * conform/data/wchar.h-data: Likewise.
19185 * conform/data/wctype.h-data: Likewise.
19186 * conform/data/wordexp.h-data: Likewise.
19188 * include/stropts.h: New file.
19189 * include/uchar.h: New file.
19190 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19191 * include/assert.h: Likewise.
19192 * include/ctype.h: Likewise.
19193 * include/dirent.h: Likewise.
19194 * include/dlfcn.h: Likewise.
19195 * include/fcntl.h: Likewise.
19196 * include/fnmatch.h: Likewise.
19197 * include/glob.h: Likewise.
19198 * include/grp.h: Likewise.
19199 * include/libio.h: Likewise.
19200 * include/locale.h: Likewise.
19201 * include/math.h: Likewise.
19202 * include/net/if.h: Likewise.
19203 * include/netdb.h: Likewise.
19204 * include/netinet/in.h: Likewise.
19205 * include/pthread.h: Likewise.
19206 * include/pwd.h: Likewise.
19207 * include/regex.h: Likewise.
19208 * include/sched.h: Likewise.
19209 * include/search.h: Likewise.
19210 * include/setjmp.h: Likewise.
19211 * include/signal.h: Likewise.
19212 * include/stdio.h: Likewise.
19213 * include/stdlib.h: Likewise.
19214 * include/string.h: Likewise.
19215 * include/sys/cdefs.h: Likewise.
19216 * include/sys/mman.h: Likewise.
19217 * include/sys/msg.h: Likewise.
19218 * include/sys/resource.h: Likewise.
19219 * include/sys/select.h: Likewise.
19220 * include/sys/socket.h: Likewise.
19221 * include/sys/stat.h: Likewise.
19222 * include/sys/statvfs.h: Likewise.
19223 * include/sys/time.h: Likewise.
19224 * include/sys/times.h: Likewise.
19225 * include/sys/uio.h: Likewise.
19226 * include/sys/utsname.h: Likewise.
19227 * include/sys/wait.h: Likewise.
19228 * include/termios.h: Likewise.
19229 * include/time.h: Likewise.
19230 * include/ulimit.h: Likewise.
19231 * include/unistd.h: Likewise.
19232 * include/utime.h: Likewise.
19233 * include/wchar.h: Likewise.
19234 * include/wctype.h: Likewise.
19235 * include/wordexp.h: Likewise.
19237 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19239 * time/time.h: TIME_UTC must be a macro.
19240 Make timespec_get available for ISO C11 only as well.
19242 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19244 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19245 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19247 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19249 * configure.in: Use -o not -a in test for unsupported multi-arch.
19251 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19253 * manual/texinfo.tex: Update to version 2012-01-19.16.
19255 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19257 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19259 2012-02-24 Roland McGrath <roland@hack.frob.com>
19262 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19263 * manual/fdl-1.3.texi: New file.
19264 * manual/fdl-1.1.texi: File removed.
19267 * manual/libc.texinfo (FDL_VERSION): New @set.
19268 Use it for mention of FDL in cover text.
19269 (Documentation License): Use it in @include file name.
19271 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19272 Roland McGrath <roland@hack.frob.com>
19275 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19276 not LONG_LONG_MAX and LONG_LONG_MIN.
19277 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19278 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19280 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19282 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19286 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19287 manipulate bits before adding and subtracting TWO23[sx].
19288 * math/libm-test.inc (nearbyint_test): Add more tests.
19290 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19293 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19294 bits before adding and subtracting TWO23[sx].
19295 * math/libm-test.inc (rint_test): Add more tests.
19296 (rint_test_tonearest): Likewise.
19297 (rint_test_towardzero): Likewise.
19298 (rint_test_downward): Likewise.
19299 (rint_test_upward: Likewise.
19301 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19304 * include/stdc-predef.h: New file. Extracted from features.h.
19305 * include/features.h: Include stdc-predef.h.
19306 * Makefile (headers): Add stdc-predef.h.
19307 * CONFORMANCE (Compiler limitations): Update.
19309 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19311 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19313 2012-02-21 David S. Miller <davem@davemloft.net>
19315 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19316 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19318 2012-02-20 David S. Miller <davem@davemloft.net>
19320 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19321 using a normal save/restore sequence, rather than allocating a
19322 dummy stack frame just to store a frame pointer and restore.
19323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19325 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19327 * manual/install.texi: Fix stray word in line-wrapped comment.
19329 2012-02-20 David S. Miller <davem@davemloft.net>
19331 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19332 both binutils and gcc support GOTDATA.
19334 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19335 "rd %pc" in the PIC register setup sequences.
19337 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19338 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19339 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19340 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19341 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19342 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19343 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19344 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19345 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19346 (SYSCALL_ERROR_HANDLER): Likewise.
19347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19350 (SYSCALL_ERROR_HANDLER): Likewise.
19352 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19353 (HAVE_GCC_GOTDATA): New.
19354 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19355 relocation support in both binutils and gcc.
19356 * sysdeps/sparc/elf/configure: Regenerate.
19358 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19359 * sysdeps/sparc/sparc32/elf/configure: Delete.
19360 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19361 * sysdeps/sparc/sparc64/elf/configure: Delete.
19362 * sysdeps/sparc/elf/configure.in: New file.
19363 * sysdeps/sparc/elf/configure: Generate.
19365 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19366 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19367 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19368 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19369 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19371 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19373 * manual/install.texi: Do not mention specific glibc version
19375 * manual/libc.texinfo (VERSION, UPDATED): Update.
19376 (@copying): Use @copyright{} and range of years.
19378 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19381 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19382 [crti.S not in sysdirs] (generated): Do not append.
19383 [crti.S not in sysdirs] (omit-deps): Likewise.
19384 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19385 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19386 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19387 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19388 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19390 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19391 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19392 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19393 * csu/defs.awk: Remove file.
19394 * sysdeps/generic/initfini.c: Likewise.
19395 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19397 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19400 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19402 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19403 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19404 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19405 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19406 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19407 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19409 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19410 (__EPOLL_PACKED): Define to empty if not defined by
19412 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19416 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19418 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19419 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19420 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19421 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19423 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19427 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19429 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19431 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19432 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19433 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19436 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19438 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19439 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19441 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19443 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19444 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19446 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19448 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19451 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19453 * math/w_acos.c: Use non-signaling floating-point comparisons.
19454 * math/w_acosf.c: Likewise.
19455 * math/w_acosh.c: Likewise.
19456 * math/w_acoshf.c: Likewise.
19457 * math/w_acoshl.c: Likewise.
19458 * math/w_acosl.c: Likewise.
19459 * math/w_asin.c: Likewise.
19460 * math/w_asinf.c: Likewise.
19461 * math/w_asinl.c: Likewise.
19462 * math/w_atanh.c: Likewise.
19463 * math/w_atanhf.c: Likewise.
19464 * math/w_atanhl.c: Likewise.
19465 * math/w_exp2.c: Likewise.
19466 * math/w_exp2f.c: Likewise.
19467 * math/w_exp2l.c: Likewise.
19468 * math/w_j0.c: Likewise.
19469 * math/w_j0f.c: Likewise.
19470 * math/w_j0l.c: Likewise.
19471 * math/w_j1.c: Likewise.
19472 * math/w_j1f.c: Likewise.
19473 * math/w_j1l.c: Likewise.
19474 * math/w_jn.c: Likewise.
19475 * math/w_jnf.c: Likewise.
19476 * math/w_log.c: Likewise.
19477 * math/w_log10.c: Likewise.
19478 * math/w_log10f.c: Likewise.
19479 * math/w_log10l.c: Likewise.
19480 * math/w_log2.c: Likewise.
19481 * math/w_log2f.c: Likewise.
19482 * math/w_log2l.c: Likewise.
19483 * math/w_logf.c: Likewise.
19484 * math/w_logl.c: Likewise.
19485 * math/w_sqrt.c: Likewise.
19486 * math/w_sqrtf.c: Likewise.
19487 * math/w_sqrtl.c: Likewise.
19488 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19489 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19490 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19491 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19492 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19494 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19497 * manual/string.texi (strnlen): Use correct parameter name in
19498 equivalent expression.
19500 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19503 * manual/users.texi (seteuid): Consistently use neweuid for
19506 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19509 * manual/nss.texi (Services in the NSS configuration): Correct
19510 list of services in example configuration file.
19512 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19515 * manual/arith.texi: Remove statements about negative zero
19516 behaving identically to zero.
19518 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19521 * manual/install.texi: Do not document upgrading from libc5.
19523 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19526 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19528 2012-02-18 David S. Miller <davem@davemloft.net>
19530 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19531 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19532 %o7 across the call.
19533 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19535 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19536 SETUP_PIC_REG_LEAF.
19537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19538 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19539 * sysdeps/sparc/crtn.S: Likewise.
19541 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19543 * aout/Makefile: Remove.
19545 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19548 * manual/examples/argp-ex1.c (main): Format definition in GNU
19550 * manual/examples/argp-ex2.c (main): Likewise.
19551 * manual/examples/argp-ex3.c (main): Likewise.
19552 * manual/examples/argp-ex4.c (main): Likewise.
19553 * manual/examples/longopt.c (main): Use new-style prototype
19555 * manual/examples/strncat.c (main): Specify return type and use
19556 (void) for arguments.
19557 * manual/examples/subopt.c (main): Use char **argv argument.
19559 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19562 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19565 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19568 * manual/string.texi (strchr): Change when strchrnul is
19571 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19574 * manual/locale.texi (setlocale): Document LOCPATH.
19576 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19579 * manual/process.texi (execle): Move @dots{} before last argument.
19581 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19584 * manual/charset.texi (Generic Charset Conversion): Fix typo
19585 (LC_TYPE -> LC_CTYPE).
19587 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19590 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19591 (scalbnf): Likewise.
19592 (scalbnl): Likewise.
19593 (scalbln): Likewise.
19594 (scalblnf): Likewise.
19595 (scalblnl): Likewise.
19596 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19597 (vwarnx): Likewise.
19600 * manual/filesys.texi (telldir): Use braces around return type.
19601 * manual/llio.texi (mmap): Add space after comma.
19602 (mmap64): Likewise.
19603 * manual/math.texi (jn): Use @var{} on parameter names.
19609 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19611 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19613 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19614 (sched_get_priority_max): Likewise.
19615 * manual/signal.texi (sigvec): Add space after comma.
19616 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19618 (if_indextoname): Likewise.
19619 (if_freenameindex): Likewise.
19620 (sendto): Use ',' instead of '.' in prototype.
19621 * manual/startup.texi (syscall): Use @dots{} instead of literal
19623 * manual/stdio.texi (__fpending): Separate initial words of
19624 paragraph from @deftypefun line.
19625 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19627 (vsyslog): Use @var{} on parameter names.
19628 * manual/terminal.texi (stty): Use @var{} on parameter names.
19629 * manual/users.texi (getutmp): Use @var{} on parameter names.
19630 (getutmpx): Likewise.
19632 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19635 * manual/stdio.texi (fopen): Fix typos in description of
19638 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19641 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19642 get clock_id definition.
19644 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19647 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19648 (madvise): Cast every argument to void on its own.
19650 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19653 * manual/startup.texi (Exit Status): Fix typo.
19655 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19658 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19659 * manual/examples/argp-ex2.c: Likewise.
19660 * manual/examples/argp-ex3.c: Likewise.
19662 2012-02-16 Richard Henderson <rth@redhat.com>
19664 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19665 * sysdeps/s390/s390-32/initfini.c: Remove.
19666 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19667 * sysdeps/s390/s390-64/initfini.c: Remove.
19669 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19671 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19672 compiler output for sysdeps/generic/initfini.c.
19673 * sysdeps/sh/elf/initfini.c: Remove file.
19675 2012-02-16 David S. Miller <davem@davemloft.net>
19678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19680 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19681 * sysdeps/sparc/crti.S: New file.
19682 * sysdeps/sparc/crtn.S: New file.
19683 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19684 * sysdeps/sparc/sparc64/Makefile: Likewise.
19686 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19689 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19691 2012-02-15 Roland McGrath <roland@hack.frob.com>
19694 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19696 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19697 (write, read, close): Likewise.
19698 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19700 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19702 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19703 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19704 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19705 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19707 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19711 2012-02-14 Marek Polacek <polacek@redhat.com>
19713 * sysdeps/x86_64/crti.S: New file.
19714 * sysdeps/x86_64/crtn.S: New file.
19715 * sysdeps/x86_64/elf/initfini.c: Remove file.
19717 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19719 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19720 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19721 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19722 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19724 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19728 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19730 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19731 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19732 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19733 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19735 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19739 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19741 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19742 __feraiseexcept instead of feraiseexcept.
19744 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19745 nanosleep invocations.
19746 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19747 strings, and add error checking for a nanosleep invocations.
19749 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19751 Replace FSF snail mail address with URLs, as per GNU coding standards.
19752 Most of the snail mail addresses were wrong anyway, and omitting
19753 them makes the source code easier to maintain. Almost all of the
19754 changes are to license notices and to locale LC_IDENTIFICATION
19755 addresses, except for this one:
19756 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19757 not its snail mail address.
19759 2012-02-09 Richard Henderson <rth@twiddle.net>
19761 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19762 of kernel-features.h.
19764 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19766 2012-02-08 Marek Polacek <polacek@redhat.com>
19768 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19769 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19770 * sysdeps/gnu/_G_config.h: Likewise.
19771 * sysdeps/generic/_G_config.h: Likewise.
19773 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19775 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19779 * sysdeps/powerpc/powerpc32/crti.S: New file.
19780 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19781 * sysdeps/powerpc/powerpc64/crti.S: New file.
19782 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19784 * Makeconfig (have-initfini): Don't set.
19785 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19786 * configure.in (nopic_initfini): Don't substitute.
19787 * config.h.in (HAVE_INITFINI): Don't #undef.
19788 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19789 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19791 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19793 Support crti.S and crtn.S provided directly by architectures.
19794 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19795 [crti.S in sysdirs] (omit-deps): Likewise.
19796 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19797 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19798 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19799 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19800 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19801 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19802 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19803 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19804 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19805 compiler output for sysdeps/generic/initfini.c.
19806 * sysdeps/i386/elf/Makefile: Remove file.
19807 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19809 2012-02-07 Marek Polacek <polacek@redhat.com>
19811 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19812 * sysdeps/gnu/_G_config.h: Likewise.
19813 * sysdeps/mach/hurd/_G_config.h: Likewise.
19815 2012-02-07 Marek Polacek <polacek@redhat.com>
19817 * math/Makefile (tests): Add tst-CMPLX2.
19818 * math/tst-CMPLX2.c: New file.
19820 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19822 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19824 * math/libm-test.inc (jn_test): Add missing L suffix.
19826 2012-02-06 Marek Polacek <polacek@redhat.com>
19828 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19829 * sysdeps/i386/fpu/e_powf.S: Likewise.
19830 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19831 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19832 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19833 * sysdeps/i386/fpu/e_pow.S: Likewise.
19834 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19835 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19836 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19837 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19838 * sysdeps/i386/fpu/e_log2.S: Likewise.
19839 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19840 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19841 * sysdeps/i386/fpu/e_powl.S: Likewise.
19842 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19843 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19844 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19845 * sysdeps/i386/fpu/e_logl.S: Likewise.
19846 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19847 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19848 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19849 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19850 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19851 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19852 * sysdeps/i386/fpu/e_log.S: Likewise.
19853 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19854 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19855 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19856 * sysdeps/i386/fpu/e_logf.S: Likewise.
19857 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19858 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19859 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19860 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19861 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19862 * sysdeps/i386/fpu/e_log10.S: Likewise.
19863 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19864 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19865 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19866 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19867 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19868 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19869 * sysdeps/i386/asm-syntax.h: Likewise.
19870 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19871 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19872 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19873 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19874 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19875 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19876 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19877 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19878 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19879 * sysdeps/powerpc/sysdep.h: Likewise.
19880 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19881 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19883 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19886 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19888 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19890 * sysdeps/i386/sysdep.h: Include <features.h>.
19891 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19894 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19896 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19898 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19901 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19903 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19904 (SETUP_PIC_REG): Use GET_PC_THUNK.
19905 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19908 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19910 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19911 for non-PIC compilation.
19912 (SETUP_PIC_REG): Add .p2align directive.
19913 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19914 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19915 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19916 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19917 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19918 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19919 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19920 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19921 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19922 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19923 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19924 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19925 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19926 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19927 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19928 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19929 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19930 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19931 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19932 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19933 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19934 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19935 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19936 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19937 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19939 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19940 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19941 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19942 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19943 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19944 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19945 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19946 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19947 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19948 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19949 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19950 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19951 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19952 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19953 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19955 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19957 * math/tst-CMPLX.c: Include <stdio.h>.
19959 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19961 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19963 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19964 * sysdeps/sparc/bits/mathdef.h: Likewise.
19966 2012-01-31 Marek Polacek <polacek@redhat.com>
19968 * libio/libio.h: Don't define _PARAMS.
19969 * locale/programs/config.h: Don't define PARAMS.
19970 * stdlib/strtol_l.c: Likewise.
19971 (__strtol_l): Remove PARAMS from the prototype.
19973 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19975 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19976 names. Just use the correct names. Remove unnecessary wrapper
19978 * malloc/arena.c: Likewise.
19979 * malloc/hooks.c: Likewise.
19981 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19982 ARENA_TEST says not to. Simplify test for creation of a new arena.
19983 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19985 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19987 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19989 (update_get_addr): New function.
19990 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19991 GET_ADDR_MODULE parameter.
19993 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19995 * crypt/cert.c: Remove __STDC__ conditionals.
19996 * crypt/crypt-entry.c: Likewise.
19997 * crypt/crypt_util.c: Likewise.
19998 * libio/filedoalloc.c: Likewise.
19999 * libio/fileops.c: Likewise.
20000 * libio/genops.c: Likewise.
20001 * libio/iofclose.c: Likewise.
20002 * libio/iofdopen.c: Likewise.
20003 * libio/iofopen.c: Likewise.
20004 * libio/iofopen64.c: Likewise.
20005 * libio/iogetdelim.c: Likewise.
20006 * libio/iopopen.c: Likewise.
20007 * libio/obprintf.c: Likewise.
20008 * libio/oldfileops.c: Likewise.
20009 * libio/oldiofclose.c: Likewise.
20010 * libio/oldiofdopen.c: Likewise.
20011 * libio/oldiofopen.c: Likewise.
20012 * libio/oldiopopen.c: Likewise.
20013 * libio/wfiledoalloc.c: Likewise.
20014 * libio/wgenops.c: Likewise.
20015 * locale/programs/xmalloc.c: Likewise.
20016 * misc/syslog.c: Likewise.
20017 * stdio-common/xbug.c: Likewise.
20018 * string/memchr.c: Likewise.
20019 * string/memcmp.c: Likewise.
20020 * string/memrchr.c: Likewise.
20021 * string/rawmemchr.c: Likewise.
20022 * sysdeps/posix/getcwd.c: Likewise.
20023 * time/strftime_l.c: Likewise.
20025 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20027 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20028 * config.make.in (config-cflags-sse2avx): Define.
20029 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20032 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20034 * scripts/config.guess: Update from upstream config git repository.
20035 * scripts/config.sub: Likewise.
20037 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20039 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20041 (R_TILEPRO_*, R_TILEGX_*): New macros.
20043 * scripts/firstversions.awk: Fix bug in version range handling.
20045 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20047 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20049 * include/sys/epoll.h: New file.
20050 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20053 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20055 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20056 Avoid unnecessary __WORDSIZE == 64 test.
20057 (fmaxf): Use VEX format if possible.
20062 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20063 * math/math_private.h: Remove libc_fegetround* and
20065 * sysdeps/i386/configure.in: Check for -msse2avx.
20066 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20067 also if SSE2AVX is defined.
20068 Remove libc_fegetround* and libc_fesetround*.
20069 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20070 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20071 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20073 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20074 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20075 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20076 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20077 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20079 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20081 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20083 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20085 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20087 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20090 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20092 * Makeconfig (libm): Define.
20093 * elf/Makefile: Add rules to build and run tst-relsort1.
20094 * elf/tst-relsort1.c: New file.
20095 * elf/tst-relsort1mod1.c: New file.
20096 * elf/tst-relsort1mod2.c: New file.
20098 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20100 * math/s_ldexp.c: Remove __STDC__ conditionals.
20101 * math/s_ldexpf.c: Likewise.
20102 * math/s_ldexpl.c: Likewise.
20103 * math/s_nextafter.c: Likewise.
20104 * math/s_nexttowardf.c: Likewise.
20105 * math/s_significand.c: Likewise.
20106 * math/s_significandf.c: Likewise.
20107 * math/s_significandl.c: Likewise.
20108 * math/w_jnl.c: Likewise.
20109 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20110 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20111 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20112 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20113 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20114 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20115 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20116 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20117 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20118 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20119 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20120 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20121 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20122 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20123 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20124 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20125 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20126 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20128 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20129 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20130 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20131 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20132 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20133 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20134 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20135 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20136 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20137 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20138 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20139 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20140 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20141 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20142 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20143 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20144 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20145 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20146 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20147 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20148 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20149 * sysdeps/ieee754/k_standard.c: Likewise.
20150 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20151 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20152 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20153 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20154 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20155 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20156 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20157 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20158 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20159 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20160 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20161 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20162 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20163 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20164 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20165 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20166 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20167 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20168 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20169 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20170 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20171 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20172 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20173 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20174 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20177 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20202 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20211 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20212 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20214 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20216 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20217 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20219 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20220 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20221 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20224 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20225 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20229 * sysdeps/ieee754/s_matherr.c: Likewise.
20230 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20231 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20232 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20235 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20237 * crypt/md5.h: Remove __STDC__ conditionals.
20238 * libio/libioP.h: Likewise.
20239 * locale/programs/config.h: Likewise.
20240 * sysdeps/generic/sysdep.h: Likewise.
20241 * sysdeps/i386/asm-syntax.h: Likewise.
20242 * sysdeps/s390/asm-syntax.h: Likewise.
20243 * sysdeps/unix/sysdep.h: Likewise.
20244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20247 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20249 * libio/libio.h: Remove __STDC__ conditionals.
20250 * malloc/obstack.h: Likewise.
20251 * math/complex.h: Likewise.
20252 * math/math.h: Likewise.
20253 * sysdeps/generic/_G_config.h: Likewise.
20254 * sysdeps/gnu/_G_config.h: Likewise.
20255 * sysdeps/mach/hurd/_G_config.h: Likewise.
20256 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20257 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20258 * sysdeps/sparc/bits/mathdef.h: Likewise.
20260 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20263 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20264 Clean up HAS_* macros.
20265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20266 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20268 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20276 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20278 * elf/tst-unique3.cc (gets): Remove declaration.
20279 * elf/tst-unique3lib.cc (gets): Likewise.
20280 * elf/tst-unique3lib2.cc (gets): Likewise.
20281 * elf/tst-unique4.cc (gets): Likewise.
20283 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20285 * include/stdio.h: Add C++ protection. Add gets declarations and
20287 * debug/tst-chk1.c: Don't declare gets here.
20288 * stdio-common/tst-gets.c: Likewise.
20290 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20292 * posix/glob: Remove directory.
20294 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20296 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20298 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20300 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20301 of the non-standard EPFNOSUPPORT.
20303 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20305 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20306 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20307 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20309 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20311 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20313 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20315 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20317 * nscd/grpcache.c (cache_addgr): Likewise.
20318 * nscd/hstcache.c (cache_addhst): Likewise.
20319 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20320 * nscd/pwdcache.c (cache_addpw): Likewise.
20321 * nscd/servicescache.c (cache_addserv): Likewise.
20323 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20325 * malloc/malloc.c: Various cleanups.
20326 * malloc/hooks.c: Likewise.
20328 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20329 * stdlib/bug-fmtmsg1.c: New file.
20331 * stdlib/fmtmsg.c (init): Add missing unlock.
20332 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20334 2012-01-12 Marek Polacek <polacek@redhat.com>
20336 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20339 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20341 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20342 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20343 macro to ensure uniqueness of label name.
20344 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20345 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20347 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20349 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20351 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20352 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20353 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20354 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20356 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20358 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20360 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20361 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20362 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20364 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20366 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20367 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20368 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20369 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20371 * math/bits/math-finite.h: Add ldexp support.
20373 2012-01-10 Marek Polacek <polacek@redhat.com>
20375 * locale/programs/localedef.h (show_archive_content): Add noreturn
20378 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20380 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20382 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20384 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20386 * io/Makefile (headers): Add bits/poll2.h.
20388 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20391 typo #include statement.
20393 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20395 * include/sys/cdefs.h: Define __attribute_alloc_size.
20396 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20397 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20398 * elf/pldd.c: Likewise.
20399 * iconv/iconv_charmap.c: Likewise.
20400 * iconv/iconvconfig.c: Likewise.
20401 * iconv/strtab.c: Likewise.
20402 * locale/programs/locale.c: Likewise.
20403 * locale/programs/localedef.h: Likewise.
20404 * locale/programs/simple-hash.c: Likewise.
20405 * nscd/nscd.h: Likewise.
20406 * nss/makedb.c: Likewise.
20407 * sysdeps/generic/ldconfig.h: Likewise.
20408 * locale/programs/localedef.c: Remove xmalloc prototype.
20409 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20411 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20413 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20416 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20418 * math/Makefile (tests): Add tst-CMPLX.
20419 * math/tst-CMPLX.c: New file.
20421 * math/complex.h (CMPLXL): Fix typo.
20423 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20424 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20426 * debug/tst-chk1.c: Add poll and ppoll tests.
20427 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20428 * include/sys/poll.h: Add hidden proto for ppoll.
20429 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20430 * sysdeps/mach/hurd/ppoll.c: Likewise.
20431 * io/ppoll.c: Likewise.
20432 * debug/poll_chk.c: New file.
20433 * debug/ppoll_chk.c: New file.
20434 * include/bits/poll2.h: New file.
20435 * io/bits/poll2.h: New file.
20438 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20440 * configure.in: static is always set to yes. Remove.
20441 * config.make.in: Don't set build-static.
20442 * Makeconfig: Remove use of build-static.
20443 * dlfcn/Makefile: Likewise.
20444 * elf/Makefile: Likewise.
20445 * math/Makefile: Likewise.
20446 * misc/Makefile: Likewise.
20447 * nptl/Makefile: Likewise.
20448 * sysdeps/mach/hurd/Makefile: Likewise.
20450 * configure.in: PWD_P is not used anymore.
20451 * config.make.in: Remove PWD_P entry.
20453 * configure.in: Remove last remnants of RANLIB.
20454 No need to check for signed size_t anymore.
20455 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20457 Remove __builtin_expect test because we require at least gcc 3.4.
20458 * aclocal.m4: Likewise.
20460 * wcsmbs/mbrtoc16.c: Implement using towc function.
20461 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20462 * wcsmbs/wcsmbsload.c: Likewise.
20463 * iconv/gconv_simple.c: Likewise.
20464 * iconv/gconv_int.h: Likewise.
20465 * iconv/gconv_builtin.h: Likewise.
20466 * iconv/iconv_prog.c: Remove CHAR16 handling.
20468 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20470 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20472 * configure.in: Remove --with-elf and --enable-bounded options.
20473 Dont set base_machine for ia64. More non-ELF conditions removed.
20474 Remove testing and setting of leading underscore information.
20475 * config.make.in (build-bounded): Set to no.
20476 * config.h.in: Remove NO_UNDERSCORES entry.
20477 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20479 * csu/start.c: Remove !NO_UNDERSCORE code.
20480 * locale/localeinfo.h: Likewise.
20481 * sysdeps/generic/machine-gmon.h: Likewise.
20482 * sysdeps/generic/sysdep.h: Likewise.
20483 * sysdeps/i386/sysdep.h: Likewise.
20484 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20485 * sysdeps/mach/sysdep.h: Likewise.
20486 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20487 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20488 * sysdeps/sh/sysdep.h: Likewise.
20489 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20490 * sysdeps/unix/i386/sysdep.S: Likewise.
20491 * sysdeps/unix/sparc/start.c: Likewise.
20492 * sysdeps/unix/sparc/sysdep.S: Likewise.
20493 * sysdeps/unix/sparc/sysdep.h: Likewise.
20494 * sysdeps/unix/start.c: Likewise.
20495 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20496 * sysdeps/x86_64/sysdep.h: Likewise.
20498 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20501 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20503 * argp/argp-fmtstream.h: Use const instead __const.
20504 * argp/argp.h: Likewise.
20505 * assert/assert.h: Likewise.
20506 * bits/fenv.h: Likewise.
20507 * bits/sched.h: Likewise.
20508 * bits/sigset.h: Likewise.
20509 * bits/sigthread.h: Likewise.
20510 * catgets/nl_types.h: Likewise.
20511 * conform/data/pthread.h-data: Likewise.
20512 * crypt/crypt-private.h: Likewise.
20513 * crypt/crypt.h: Likewise.
20514 * crypt/crypt_util.c: Likewise.
20515 * ctype/ctype.h: Likewise.
20516 * debug/execinfo.h: Likewise.
20517 * debug/mbsnrtowcs_chk.c: Likewise.
20518 * debug/mbsrtowcs_chk.c: Likewise.
20519 * debug/wcsnrtombs_chk.c: Likewise.
20520 * debug/wcsrtombs_chk.c: Likewise.
20521 * debug/wcstombs_chk.c: Likewise.
20522 * dirent/dirent.h: Likewise.
20523 * dlfcn/dlfcn.h: Likewise.
20524 * elf/neededtest4.c: Likewise.
20525 * grp/grp.h: Likewise.
20526 * gshadow/gshadow.h: Likewise.
20527 * iconv/gconv.h: Likewise.
20528 * iconv/gconv_int.h: Likewise.
20529 * iconv/gconv_simple.c: Likewise.
20530 * iconv/iconv.h: Likewise.
20531 * iconv/loop.c: Likewise.
20532 * iconv/skeleton.c: Likewise.
20533 * include/aio.h: Likewise.
20534 * include/aliases.h: Likewise.
20535 * include/argz.h: Likewise.
20536 * include/arpa/inet.h: Likewise.
20537 * include/assert.h: Likewise.
20538 * include/dirent.h: Likewise.
20539 * include/dlfcn.h: Likewise.
20540 * include/execinfo.h: Likewise.
20541 * include/fcntl.h: Likewise.
20542 * include/fenv.h: Likewise.
20543 * include/glob.h: Likewise.
20544 * include/grp.h: Likewise.
20545 * include/libintl.h: Likewise.
20546 * include/mntent.h: Likewise.
20547 * include/netdb.h: Likewise.
20548 * include/pwd.h: Likewise.
20549 * include/rpc/netdb.h: Likewise.
20550 * include/sched.h: Likewise.
20551 * include/search.h: Likewise.
20552 * include/shadow.h: Likewise.
20553 * include/signal.h: Likewise.
20554 * include/stdio.h: Likewise.
20555 * include/stdlib.h: Likewise.
20556 * include/string.h: Likewise.
20557 * include/sys/socket.h: Likewise.
20558 * include/sys/stat.h: Likewise.
20559 * include/sys/statfs.h: Likewise.
20560 * include/sys/statvfs.h: Likewise.
20561 * include/sys/syslog.h: Likewise.
20562 * include/sys/time.h: Likewise.
20563 * include/sys/uio.h: Likewise.
20564 * include/time.h: Likewise.
20565 * include/unistd.h: Likewise.
20566 * include/utmp.h: Likewise.
20567 * include/wchar.h: Likewise.
20568 * include/wctype.h: Likewise.
20569 * inet/aliases.h: Likewise.
20570 * inet/arpa/inet.h: Likewise.
20571 * inet/netinet/ether.h: Likewise.
20572 * inet/netinet/in.h: Likewise.
20573 * intl/libintl.h: Likewise.
20574 * io/bits/fcntl2.h: Likewise.
20575 * io/fcntl.h: Likewise.
20576 * io/ftw.h: Likewise.
20577 * io/sys/poll.h: Likewise.
20578 * io/sys/stat.h: Likewise.
20579 * io/sys/statfs.h: Likewise.
20580 * io/sys/statvfs.h: Likewise.
20581 * io/utime.h: Likewise.
20582 * libio/bits/stdio.h: Likewise.
20583 * libio/bits/stdio2.h: Likewise.
20584 * libio/libio.h: Likewise.
20585 * libio/libioP.h: Likewise.
20586 * libio/stdio.h: Likewise.
20587 * locale/lc-ctype.c: Likewise.
20588 * locale/locale.h: Likewise.
20589 * login/utmp.h: Likewise.
20590 * malloc/arena.c: Likewise.
20591 * malloc/malloc.c: Likewise.
20592 * malloc/malloc.h: Likewise.
20593 * malloc/mcheck.c: Likewise.
20594 * malloc/mtrace.c: Likewise.
20595 * math/bits/mathcalls.h: Likewise.
20596 * math/fenv.h: Likewise.
20597 * math/math_private.h: Likewise.
20598 * misc/bits/error.h: Likewise.
20599 * misc/bits/syslog.h: Likewise.
20600 * misc/err.h: Likewise.
20601 * misc/error.h: Likewise.
20602 * misc/fstab.h: Likewise.
20603 * misc/mntent.h: Likewise.
20604 * misc/regexp.h: Likewise.
20605 * misc/search.h: Likewise.
20606 * misc/sgtty.h: Likewise.
20607 * misc/sys/mman.h: Likewise.
20608 * misc/sys/syslog.h: Likewise.
20609 * misc/sys/uio.h: Likewise.
20610 * misc/sys/xattr.h: Likewise.
20611 * misc/ttyent.h: Likewise.
20612 * nis/rpcsvc/ypclnt.h: Likewise.
20613 * nss/nss.h: Likewise.
20614 * posix/bits/unistd.h: Likewise.
20615 * posix/fnmatch.h: Likewise.
20616 * posix/glob.h: Likewise.
20617 * posix/sched.h: Likewise.
20618 * posix/spawn.h: Likewise.
20619 * posix/sys/wait.h: Likewise.
20620 * posix/unistd.h: Likewise.
20621 * posix/wordexp.h: Likewise.
20622 * pwd/pwd.h: Likewise.
20623 * resolv/netdb.h: Likewise.
20624 * resource/sys/resource.h: Likewise.
20625 * rt/aio.h: Likewise.
20626 * rt/bits/mqueue2.h: Likewise.
20627 * rt/mqueue.h: Likewise.
20628 * shadow/shadow.h: Likewise.
20629 * signal/signal.h: Likewise.
20630 * socket/send.c: Likewise.
20631 * socket/sendto.c: Likewise.
20632 * socket/sys/socket.h: Likewise.
20633 * stdio-common/printf.h: Likewise.
20634 * stdlib/bits/stdlib.h: Likewise.
20635 * stdlib/fmtmsg.h: Likewise.
20636 * stdlib/monetary.h: Likewise.
20637 * stdlib/stdlib.h: Likewise.
20638 * stdlib/ucontext.h: Likewise.
20639 * streams/stropts.h: Likewise.
20640 * string/argz.h: Likewise.
20641 * string/bits/string2.h: Likewise.
20642 * string/string.h: Likewise.
20643 * string/strings.h: Likewise.
20644 * sunrpc/rpc/auth.h: Likewise.
20645 * sunrpc/rpc/auth_des.h: Likewise.
20646 * sunrpc/rpc/clnt.h: Likewise.
20647 * sunrpc/rpc/netdb.h: Likewise.
20648 * sunrpc/rpc/pmap_clnt.h: Likewise.
20649 * sunrpc/rpc/xdr.h: Likewise.
20650 * sysdeps/generic/inttypes.h: Likewise.
20651 * sysdeps/generic/net/if.h: Likewise.
20652 * sysdeps/generic/sys/swap.h: Likewise.
20653 * sysdeps/gnu/net/if.h: Likewise.
20654 * sysdeps/gnu/utmpx.h: Likewise.
20655 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20656 * sysdeps/i386/i486/bits/string.h: Likewise.
20657 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20658 * sysdeps/s390/bits/string.h: Likewise.
20659 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20660 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20661 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20662 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20663 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20664 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20665 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20666 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20667 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20668 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20669 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20670 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20671 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20672 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20673 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20674 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20675 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20677 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20678 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20679 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20680 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20681 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20682 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20683 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20684 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20685 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20686 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20687 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20688 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20689 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20690 * sysvipc/sys/ipc.h: Likewise.
20691 * sysvipc/sys/msg.h: Likewise.
20692 * sysvipc/sys/sem.h: Likewise.
20693 * sysvipc/sys/shm.h: Likewise.
20694 * termios/termios.h: Likewise.
20695 * time/sys/time.h: Likewise.
20696 * time/time.h: Likewise.
20697 * wcsmbs/bits/wchar2.h: Likewise.
20698 * wcsmbs/uchar.h: Likewise.
20699 * wcsmbs/wchar.h: Likewise.
20700 * wctype/wctype.h: Likewise.
20703 * Makeconfig: Remove all but ELF support including AIX support.
20704 * Makerules: Likewise.
20705 * config.h.in: Likewise.
20706 * config.make.in: Likewise.
20707 * configure: Likewise.
20708 * configure.in: Likewise.
20709 * csu/Makefile: Likewise.
20710 * csu/version.c: Likewise.
20711 * debug/Makefile: Likewise.
20712 * dlfcn/Makefile: Likewise.
20713 * elf/Makefile: Likewise.
20714 * extra-lib.mk: Likewise.
20715 * iconv/Makefile: Likewise.
20716 * include/libc-symbols.h: Likewise.
20717 * include/shlib-compat.h: Likewise.
20718 * resolv/Makefile: Likewise.
20719 * resolv/res_libc.c: Likewise.
20720 * rt/Makefile: Likewise.
20721 * sysdeps/i386/asm-syntax.h: Likewise.
20722 * sysdeps/i386/sysdep.h: Likewise.
20723 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20724 * sysdeps/mach/sysdep.h: Likewise.
20725 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20726 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20727 * sysdeps/s390/asm-syntax.h: Likewise.
20728 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20729 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20730 * sysdeps/sh/sysdep.h: Likewise.
20731 * sysdeps/unix/sparc/sysdep.h: Likewise.
20732 * sysdeps/wordsize-32/divdi3.c: Likewise.
20733 * sysdeps/x86_64/sysdep.h: Likewise.
20735 * argp/Versions: Remove _argp_unlock_xxx.
20738 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20739 * abilist/libBrokenLocale.abilist: Likewise.
20740 * abilist/libanl.abilist: Likewise.
20741 * abilist/libc.abilist: Likewise.
20742 * abilist/libcrypt.abilist: Likewise.
20743 * abilist/libdl.abilist: Likewise.
20744 * abilist/libm.abilist: Likewise.
20745 * abilist/libnsl.abilist: Likewise.
20746 * abilist/libpthread.abilist: Likewise.
20747 * abilist/libresolv.abilist: Likewise.
20748 * abilist/librt.abilist: Likewise.
20749 * abilist/libthread_db.abilist: Likewise.
20750 * abilist/libutil.abilist: Likewise.
20751 * abilist/libnss_db.abilist: New file.
20753 * scripts/abilist.awk: Add support for indirect functions.
20755 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20757 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20759 * shlib-versions: Remove entries for ports architectures.
20761 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20763 * elf/stackguard-macros.h: Remove support for IA-64.
20764 * elf/tst-auditmod1.c: Likewise.
20765 * sysdeps/generic/ldsodefs.h: Likewise.
20767 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20768 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20772 * configure.in: Remove --enable-omitfp support.
20774 * config.make.in: Likewise.
20775 * Makeconfig: Likewise.
20776 * manual/install.texi: Likewise.
20778 In case anyone cares, the IA-64 architecture could move to ports.
20779 * sysdeps/ia64/*: Removed.
20780 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20781 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20784 * configure.in: Remove entries for unsupported architectures.
20787 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20788 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20790 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20791 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20792 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20793 fall back to using wcrtomb.
20794 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20795 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20797 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20798 * wcsmbs/tst-c16c32-1.c: New file.
20800 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20803 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20805 * elf/tst-unique3.cc: Add explicit declaration of gets.
20806 * elf/tst-unique3lib.cc: Likewise.
20807 * elf/tst-unique3lib2.cc: Likewise.
20808 * elf/tst-unique4.cc: Likewise.
20810 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20812 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20815 * assert/assert.h (static_assert): Don't define for C++.
20816 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20817 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20819 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20821 * iconv/loop.c (single loop): Fix assertion in storing of
20824 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20826 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20828 * posix/getconf.c: Update copyright year.
20829 * nss/getent.c: Likewise.
20830 * nss/makedb.c: Likewise.
20831 * iconv/iconvconfig.c: Likewise.
20832 * iconv/iconv_prog.c: Likewise.
20833 * elf/ldconfig.c: Likewise.
20834 * elf/pldd.c: Likewise.
20835 * elf/sotruss.ksh: Likewise.
20836 * catgets/gencat.c: Likewise.
20837 * csu/version.c: Likewise.
20838 * elf/ldd.bash.in: Likewise.
20839 * elf/sprof.c (print_version): Likewise.
20840 * locale/programs/locale.c: Likewise.
20841 * locale/programs/localedef.c: Likewise.
20842 * login/programs/pt_chown.c: Likewise.
20843 * nscd/nscd.c (print_version): Likewise.
20844 * debug/xtrace.sh: Likewise.
20845 * malloc/memusage.sh: Likewise.
20846 * malloc/mtrace.pl: Likewise.
20847 * debug/catchsegv.sh: Likewise.
20849 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20851 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20854 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20857 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20858 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20860 * iconv/gconv_int.h: Likewise.
20861 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20862 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20863 from libc for GLIBC_2.16.
20864 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20865 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20866 * wcsmbs/uchar.h: Really define mbstate_t.
20867 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20868 * wcsmbs/c16rtomb.c: New file.
20869 * wcsmbs/mbrtoc16.c: New file.
20870 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20871 for C/POSIX locale.
20872 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20873 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20875 * wcsmbs/wchar.h: Add missing __restrict.
20877 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20880 * time/Makefile (routines): Add timespec_get.
20881 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20882 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20883 timespec for ISO C11.
20884 * time/timespec_get.c: New file.
20885 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20886 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20889 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20890 * stdlib/stdlib.h: Declare aligned_alloc.
20891 * Versions.def: Add GLIBC_2.16 for libc.
20892 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20895 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20898 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20902 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20905 * assert/assert.h (static_assert): Define.
20907 * version.h: Update for 2.16 development version.
20910 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20913 * version.h (RELEASE): Bump for 2.15 release.
20914 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20916 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20917 Patch by Marek Polacek <mpolacek@redhat.com>.
20919 * bits/byteswap.h: Protect long long constants with __extension__.
20920 * sysdeps/i386/bits/byteswap.h: Likewise.
20921 * sysdeps/ia64/bits/byteswap.h: Likewise.
20922 * sysdeps/s390/bits/byteswap.h: Likewise.
20923 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20925 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20928 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20929 destination buffer.
20930 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20932 2011-12-23 Marek Polacek <polacek@redhat.com>
20934 * elf/dl-addr.c (determine_info): Add inline keyword.
20935 * elf/tst-auditmod4b.c (check_avx): Likewise.
20936 * elf/tst-auditmod6b.c (check_avx): Likewise.
20937 * elf/tst-auditmod6c.c (check_avx): Likewise.
20938 * elf/tst-auditmod7b.c (check_avx): Likewise.
20940 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20942 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20945 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20948 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20949 processing for last bytes.
20951 2011-08-06 Bruno Haible <bruno@clisp.org>
20954 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20955 U+0385, not to U+1FEE.
20958 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20959 entry for U+00A5 U+0301.
20961 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20964 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20965 buffer for the output is too small.
20967 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20971 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20972 SSE flags if possible.
20974 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20977 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20978 processing for last bytes.
20980 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20982 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20983 (syscall-list-default-options, syscall-list-default-condition)
20984 (syscall-list-includes): Define.
20985 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20986 list of ABIs and options and #if conditions for each ABI. Do not
20987 handle common syscalls between ABIs specially.
20988 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20990 (syscall-list-variants, syscall-list-32bit-options)
20991 (syscall-list-32bit-condition, syscall-list-64bit-options)
20992 (syscall-list-64bit-condition): Define.
20993 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20994 (syscall-list-variants, syscall-list-32bit-options)
20995 (syscall-list-32bit-condition, syscall-list-64bit-options)
20996 (syscall-list-64bit-condition): Define.
20997 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20999 (syscall-list-variants, syscall-list-32bit-options)
21000 (syscall-list-32bit-condition, syscall-list-64bit-options)
21001 (syscall-list-64bit-condition): Define.
21002 * sysdeps/unix/sysv/linux/x86_64/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.
21008 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21010 * locale/iso-639.def: Add brx entry.
21013 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21014 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21016 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21017 __feraiseexcept_renamed.
21019 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21022 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21023 EPOLLET with unsigned values.
21024 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21025 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21027 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21028 to large cancellation.
21029 * math/s_cacoshf.c: Likewise.
21030 * math/s_cacoshl.c: Likewise.
21032 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21036 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21037 * math/s_cacoshf.c: Likewise.
21038 * math/s_cacoshl.c: Likewise.
21040 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21043 * iconv/gconv.h: Define __GCONV_SWAP.
21044 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21045 * iconvdata/utf-16.c: Likewise.
21046 * iconvdata/utf-32.c: Likewise.
21048 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21051 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21052 numerator after shifting it by one limb.
21054 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21056 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21057 under [__USE_EXTERN_INLINES].
21059 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21062 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21064 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21066 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21067 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21069 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21070 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21071 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21072 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21073 for strncasecmp/strncasecmp_l compilation.
21074 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21075 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21077 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21080 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21083 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21086 * time/tzfile.c (__tzfile_read): Check values from file header.
21088 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21090 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21091 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21092 * powerpc/powerpc32/dl-start.S: Likewise.
21093 * powerpc/powerpc32/elf/start.S: Likewise.
21094 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21095 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21096 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21097 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21098 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21099 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21100 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21101 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21102 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21103 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21104 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21105 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21106 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21107 * powerpc/powerpc32/memset.S: Likewise.
21108 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21109 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21110 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21111 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21112 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21113 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21114 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21115 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21116 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21117 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21118 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21119 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21120 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21122 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21124 * math/libm-test.inc: Added more nearbyint tests.
21125 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21127 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21130 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21132 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21135 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21137 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21138 Add wcscpy-ssse3 wcscpy-c.
21139 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21140 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21141 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21142 * sysdeps/x86_64/wcschr.S: New file.
21143 * sysdeps/x86_64/wcsrchr.S: New file.
21144 * string/test-strcmp.c: Remove checking of wcscmp function for
21146 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21147 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21148 wcsrchr-sse2 wcsrchr-c.
21149 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21150 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21151 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21152 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21153 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21154 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21155 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21156 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21157 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21158 * wcsmbc/wcschr.c (WCSCHR): New macro.
21160 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21162 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21163 * wcsmbs/test-wcsrchr.c: New file.
21164 * string/test-strrchr.c: Add wcsrchr support.
21166 * wcsmbs/test-wcscpy.c: New file.
21167 * string/test-strcpy.c: Add wcscpy support.
21170 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21172 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21175 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21178 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21180 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21182 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21183 Minor optimizations.
21185 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21186 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21187 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21189 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21191 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21192 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21193 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21194 for gcc to avoid warnings.
21195 * inet/Makefile (tests): Add tst-checks.
21196 * inet/tst-checks.c: New file.
21198 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21201 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21204 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21205 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21207 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21209 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21211 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21214 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21216 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21218 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21219 conditional on GCC version.
21220 (__arch_compare_and_exchange_val_8_acq)
21221 (__arch_compare_and_exchange_val_16_acq)
21222 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21223 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21224 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21226 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21228 * sysdeps/sh/backtrace.c: New file.
21230 2011-12-02 Andreas Schwab <schwab@redhat.com>
21232 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21235 2011-12-01 Andreas Schwab <schwab@redhat.com>
21237 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21238 falling back to utime.
21240 2011-11-30 Andreas Schwab <schwab@redhat.com>
21242 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21243 expectations for float.
21245 2011-11-29 Andreas Schwab <schwab@redhat.com>
21247 * locale/weight.h (findidx): Add parameter len.
21248 * locale/weightwc.h (findidx): Likewise.
21249 * posix/fnmatch_loop.c (FCT): Adjust caller.
21250 * posix/regcomp.c (build_equiv_class): Likewise.
21251 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21252 * posix/regexec.c (check_node_accept_bytes): Likewise.
21253 * string/strcoll_l.c (STRCOLL): Likewise.
21254 * string/strxfrm_l.c (STRXFRM): Likewise.
21256 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21258 * Makefile.in: Remove CVSOPT handling.
21259 * configure.in: Remove use of AC_REVISION.
21260 * iconvdata/Makefile (distribute): No need to filter out CVS.
21261 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21264 2011-11-16 Andreas Schwab <schwab@redhat.com>
21266 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21267 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21268 [USE_AS_STRNCASECMP_L]: Likewise.
21269 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21270 NO_TLS_DIRECT_SEG_REFS.
21271 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21272 Fix argument offsets for non-PIC.
21273 [USE_AS_STRNCASECMP_L]: Likewise.
21274 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21275 NO_TLS_DIRECT_SEG_REFS.
21277 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21279 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21281 * locale/loadlocale.c (_nl_load_locale): Likewise.
21283 2011-11-15 Andreas Schwab <schwab@redhat.com>
21285 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21286 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21287 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21288 (SYSCALL_GETTIME): Set errno on error.
21290 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21291 count references to noai6ai_cached.
21293 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21295 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21297 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21298 FD_CLOEXEC for /proc/self/maps.
21300 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21301 FD_CLOEXEC for /proc/meminfo.
21303 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21306 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21307 FD_CLOEXEC for given file.
21309 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21311 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21312 FD_CLOEXEC for /etc/hosts.
21313 (_gethtent): Likewise.
21315 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21317 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21318 cancellation and set FD_CLOEXEC for /etc/netgroup.
21320 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21321 reading /etc/publickey.
21323 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21324 allow cancellation when reading /etc/group.
21326 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21328 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21330 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21331 when using data file.
21333 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21335 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21336 (write_nis_obj): Use "c" and "e" in fopen.
21338 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21340 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21342 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21344 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21346 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21349 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21351 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21353 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21355 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21356 file parsing and set FD_CLOEXEC.
21358 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21360 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21362 2011-11-14 Andreas Schwab <schwab@redhat.com>
21364 * malloc/arena.c (arena_get2): Don't call reused_arena when
21365 _int_new_arena failed.
21367 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21369 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21370 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21371 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21372 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21373 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21374 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21375 to compile strcasecmp and strncasecmp.
21376 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21377 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21379 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21381 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21383 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21384 locale-defines.sym to gen-as-const-headers.
21385 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21386 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21387 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21388 to compile strcasecmp and strncasecmp.
21389 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21390 strcasecmp_l and strncasecmp_l.
21391 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21392 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21393 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21394 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21395 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21396 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21397 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21398 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21399 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21400 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21401 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21403 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21405 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21406 result of SYSDEP_GETTIME_CPU to retval.
21407 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21408 parameter list to macro. Remove trailing semicolon. Adjust users.
21410 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21413 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21415 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21417 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21418 from unused variable.
21420 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21422 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21425 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21428 * sunrpc/rpc_prot.c (rejected): Fix case value.
21430 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21431 unsigned long long int to avoid warnings in shift.
21433 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21435 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21438 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21439 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21440 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21442 * nis/nis_table.c (nis_list): Use variable of correct type for
21443 result of __follow_path call.
21445 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21447 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21448 of math functions ceil, trunc, floor, round, and sqrt, when
21449 avaliable on the platform.
21450 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21452 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21453 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21454 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21456 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21458 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21459 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21461 2011-11-11 Roland McGrath <roland@hack.frob.com>
21463 * include/unistd.h: Fix __readlink return type.
21464 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21466 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21468 * stdlib/ucontext.h: Undo last change for makecontext.
21470 2011-11-11 Andreas Schwab <schwab@redhat.com>
21472 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21474 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21475 * setjmp/setjmp.h: Mark functions as non-leaf.
21476 * setjmp/bits/setjmp2.h: Likewise.
21477 * stdlib/ucontext.h: Likewise.
21479 2011-11-10 Andreas Schwab <schwab@redhat.com>
21481 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21482 (reused_arena): Don't check arena limit.
21483 (arena_get2): Atomically check arena limit.
21485 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21487 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21488 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21493 2011-11-07 Andreas Schwab <schwab@redhat.com>
21495 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21496 handler when locking.
21498 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21499 Fix size of allocated buffer.
21501 2011-11-04 Andreas Schwab <schwab@redhat.com>
21504 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21505 declarations for long double functions.
21506 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21508 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21510 2011-11-03 Andreas Schwab <schwab@redhat.com>
21512 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21515 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21518 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21520 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21522 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21524 * include/alloca.h (stackinfo_alloca_round): Define.
21525 (extend_alloca): Use it.
21526 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21527 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21530 * scripts/check-local-headers.sh: Ignore libaudit.h.
21532 * nscd/Makefile (extra-objs): Make recursively expanded.
21534 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21536 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21537 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21539 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21540 * posix/tst-rfc3484-2.c: Likewise.
21541 * posix/tst-rfc3484-3.c: Likewise.
21543 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21545 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21547 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21548 process_vm_writev from libc using GLIBC_2.15 version.
21550 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21552 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21554 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21557 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21560 * nss/getent.c (initgroups_keys): Show error message in case no group
21563 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21564 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21565 __bump_nl_timestamp.
21566 * nscd/connections (nscd_init): When host database is served open
21567 netlink socket and request notification about configuration changes.
21568 (main_loop_poll): Track netlink file descriptor and bump timestamp
21569 in case data becomes available.
21570 (main_loop_epoll): Likewise.
21571 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21572 (database_pers_head): Add extra_data fileds.
21573 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21574 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21575 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21577 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21578 in6ai data, call __free_in6ai.
21579 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21580 Add -DHAVE_NETLINK.
21581 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21582 interface information. Reuse previous data if netlink timestamp
21584 (__bump_nl_timestamp): New function.
21585 (__free_in6ai): New function.
21587 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21589 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21590 close_not_cancel_no_status here.
21591 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21593 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21596 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21599 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21600 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21601 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21603 2011-07-03 Andreas Jaeger <aj@suse.de>
21606 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21607 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21608 * math/libm-test.inc (sin_test): Add test case.
21610 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21613 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21614 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21616 * elf/chroot_canon.c (chroot_canon): Cleanups.
21618 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21621 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21622 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21624 * string/test-strchr.c: Make usable for strchrnul testing.
21625 * string/test-strchrnul.c: New file.
21626 * string/Makefile (strop-tests): Add strchrnul.
21628 * po/it.po: Update from translation team.
21629 * po/es.po: Likewise.
21631 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21633 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21634 the three constants needed as parameters. Drop the others.
21635 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21636 __m128i_strloadu_tolower.
21637 Create and initialize variable zero and use it in all the places
21638 where _mm_setzero_si128 was used.
21640 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21641 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21642 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21643 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21645 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21646 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21647 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21648 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21649 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21650 __mpranred, __mptan.
21651 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21652 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21653 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21654 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21655 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21656 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21657 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21658 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21659 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21661 2011-10-28 Andreas Schwab <schwab@redhat.com>
21663 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21664 redefine if SHARED.
21665 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21668 wide char related routines to wcsmbs subdir.
21670 2011-10-27 Andreas Schwab <schwab@redhat.com>
21673 * misc/sys/cdefs.h (__THROWNL): Define.
21674 * posix/unistd.h: Use __THREADNL instead of __THREAD
21675 for memory synchronization functions.
21677 2011-10-26 Roland McGrath <roland@hack.frob.com>
21680 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21682 * manual/stdio.texi (Obstack Streams): Node removed.
21684 2011-10-26 Andreas Schwab <schwab@redhat.com>
21686 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21687 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21688 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21690 * math/math_private.h (math_force_eval): Allow non-addressable
21692 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21694 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21696 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21697 file is not needed.
21699 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21700 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21701 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21702 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21703 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21704 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21705 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21706 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21708 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21709 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21710 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21711 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21712 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21713 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21714 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21715 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21716 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21717 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21718 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21719 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21720 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21721 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21722 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21723 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21724 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21725 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21726 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21728 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21729 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21731 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21732 place. Use VEX encoding when compiling for AVX.
21734 2011-10-25 Andreas Schwab <schwab@redhat.com>
21736 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21737 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21739 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21741 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21743 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21744 useless if() expression.
21745 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21746 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21747 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21748 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21749 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21750 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21751 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21752 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21753 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21754 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21755 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21756 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21757 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21758 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21759 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21760 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21761 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21763 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21765 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21767 2011-10-25 Andreas Schwab <schwab@redhat.com>
21769 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21771 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21773 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21775 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21776 .text section. Avoid duplicate constants.
21777 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21781 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21785 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21786 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21787 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21789 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21792 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21794 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21800 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21801 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21802 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21803 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21804 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21805 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21806 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21807 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21808 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21809 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21810 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21811 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21812 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21813 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21814 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21815 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21816 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21817 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21818 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21819 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21820 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21821 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21823 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21825 * sysdeps/x86_64/dla.h: Move to ...
21826 * sysdeps/x86_64/fpu/dla.h: ...here.
21827 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21828 situations. Use __builtin_fma only for gcc 4.6 and up.
21830 * config.make.in: Add have-mfma4 entry.
21831 * configure.in: Substitute libc_cv_cc_fma4.
21832 * math/Makefile (dbl-only-routines): Add sincostab.
21833 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21834 Use __sincostab not sincos.
21835 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21838 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21842 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21843 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21844 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21845 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21847 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21848 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21850 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21851 define aliases when function name is a macro.
21852 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21853 sysdeps/ieee754/dbl-64/sincos.tbl.
21854 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21855 fma4-enabled routines.
21856 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21857 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21858 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21859 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21860 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21861 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21863 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21865 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21866 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21867 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21868 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21869 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21870 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21871 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21872 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21873 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21874 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21875 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21876 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21877 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21878 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21879 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21880 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21881 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21882 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21883 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21884 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21885 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21887 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21898 2011-10-24 Andreas Schwab <schwab@redhat.com>
21900 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21902 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21904 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21906 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21908 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21910 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21911 Remove unused variable magic_bits.
21912 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21914 * string/strnlen.c: Define and use STRNLEN macro.
21915 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21916 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21917 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21918 * wcsmbs/wcslen.c: Define and use WCSLEN.
21919 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21920 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21921 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21922 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21923 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21924 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21925 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21927 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21930 strnlen-sse2-no-bsf.
21931 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21932 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21933 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21934 Add strnlen support.
21935 (USE_AS_STRNLEN): New macro.
21936 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21937 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21938 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21939 * sysdeps/x86_64/wcslen.S: New file.
21941 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21943 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21944 XMM-moves are used for copying on small sizes.
21946 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21948 * wcsmbs/Makefile (strop-tests): Add wcschr.
21949 * wcsmbs/test-wcschr.c: New file.
21950 * string/test-strchr.c: Update.
21951 Add wcschr support.
21954 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21956 * wcsmbs/Makefile (strop-tests): Add wcslen.
21957 * wcsmbs/test-wcslen.c: New file.
21958 * string/test-strlen.c: Update.
21959 Add wcslen support.
21962 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21964 * po/it.po: Update from translation team.
21966 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21968 * sysdeps/x86_64/wcscmp.S: Update.
21969 Fix wrong comparison semantics.
21970 wcscmp shall use signed comparison not unsigned.
21971 Don't use substraction to avoid overflow bug.
21972 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21973 * wcsmbc/wcscmp.c: Likewise.
21974 * string/test-strcmp.c: Likewise.
21975 Add new tests to check cases with negative values.
21977 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21979 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21980 * sysdeps/x86_64/dla.h: ...here. New file.
21981 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21983 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21984 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21986 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21987 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21989 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21991 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21994 __ynl_finite aliases.
21996 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22000 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22002 [DLA_FMA] (EMULV): Use DLA_FMA.
22003 [DLA_FMA] (MUL12): Use EMULV.
22004 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22005 that are not needed.
22006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22014 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22016 * math/s_nan.c: Undef __nan.
22017 * math/s_nanf.c: Undef __nanf.
22018 * math/s_nanl.c: Undef __nanl.
22019 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22022 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22024 * math/s_catan.c: Add branch predictions.
22025 * math/s_catanf.c: Likewise.
22026 * math/s_catanh.c: Likewise.
22027 * math/s_catanhf.c: Likewise.
22028 * math/s_catanhl.c: Likewise.
22029 * math/s_catanl.c: Likewise.
22030 * math/s_cexp.c: Likewise.
22031 * math/s_cexpf.c: Likewise.
22032 * math/s_cexpl.c: Likewise.
22033 * math/s_clog.c: Likewise.
22034 * math/s_clog10.c: Likewise.
22035 * math/s_clog10f.c: Likewise.
22036 * math/s_clog10l.c: Likewise.
22037 * math/s_clogf.c: Likewise.
22038 * math/s_clogl.c: Likewise.
22039 * math/s_csqrt.c: Likewise.
22040 * math/s_csqrtf.c: Likewise.
22041 * math/s_csqrtl.c: Likewise.
22042 * math/s_ctanf.c: Likewise.
22043 * math/s_ctanh.c: Likewise.
22044 * math/s_ctanhf.c: Likewise.
22045 * math/s_ctanhl.c: Likewise.
22046 * math/s_ctanl.c: Likewise.
22048 * math/math_private.h: Define __nan, __nanf, __nanl.
22049 * math/s_cacosh.c: Include <math_private.h>.
22050 * math/s_cacoshl.c: Likewise.
22051 * math/s_casinh.c: Likewise.
22052 * math/s_casinhf.c: Likewise.
22053 * math/s_casinhl.c: Likewise.
22054 * math/s_ccos.c: Rely entire on ccosh.
22055 * math/s_ccosf.c: Rely entire on ccoshf.
22056 * math/s_ccosl.c: Rely entirely on ccoshl.
22057 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22058 Remove tests for FE_INVALID.
22059 * math/s_ccoshf.c: Likewise.
22060 * math/s_ccoshl.c: Likewise.
22061 * math/s_csin.c: Likewise.
22062 * math/s_csinf.c: Likewise.
22063 * math/s_csinh.c Likewise.
22064 * math/s_csinhf.c: Likewise.
22065 * math/s_csinhl.c: Likewise.
22066 * math/s_csinl.c: Likewise.
22067 * math/s_ctan.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22069 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22070 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22072 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22075 compilation problems.
22077 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22080 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22082 * sysdeps/i386/configure.in: Test for -mfma4 option.
22083 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22084 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22085 COMMON_CPUID_INDEX_80000001.
22086 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22087 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22088 use it if FMA3 is not supported.
22089 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22091 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22092 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22094 2011-10-20 Andreas Schwab <schwab@redhat.com>
22097 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22098 it would create a cycle with a link time dependency.
22100 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22102 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22104 * string/Makefile (strop-tests): Add rawmemchr.
22105 * string/test-rawmemchr.c: New file.
22107 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22108 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22109 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22110 when compiling str{,n}casecmp and when AVX is available. Hook up
22111 new optimized code in initializers.
22113 2011-10-19 Andreas Schwab <schwab@redhat.com>
22115 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22116 __feraiseexcept instead of feraiseexcept.
22118 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22120 * math/math_private.h: Define defaults for libc_fetestexcept and
22122 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22123 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22124 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22125 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22126 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22127 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22128 libc_fetestexcept and libc_feupdateenv.
22130 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22131 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22132 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22133 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22134 libc_feholdexcept_setround.
22136 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22137 Add s_nearbyint-c and s_nearbyintf-c.
22138 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22139 nearbyintf inlines.
22140 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22141 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22142 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22143 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22145 * math/math_private.h: Define defaults for libc_fegetround,
22146 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22147 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22148 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22149 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22150 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22151 standard functions.
22152 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22153 Remove comments and hacks for old compiler versions.
22154 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22155 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22156 libc_feholdexceptl.
22158 2011-10-18 Andreas Schwab <schwab@redhat.com>
22160 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22161 (__feraiseexcept_renamed): Add __NTH.
22162 (feraiseexcept): Add __NTH. Rename local variables to fix
22163 namespace violations.
22165 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22167 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22169 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22171 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22172 recently added interfaces.
22173 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22175 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22176 about macro parameter expansion.
22178 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22179 __NO_MATH_INLINES is defined. Cleanups.
22181 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22182 and __floorf is target has SSE4.1.
22183 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22184 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22185 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22186 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22188 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22190 (floorf): Likewise.
22192 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22194 2011-10-17 Andreas Schwab <schwab@redhat.com>
22196 * misc/sys/cdefs.h: Fix last change.
22198 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22201 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22203 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22205 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22206 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22208 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22209 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22210 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22211 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22212 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22213 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22214 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22215 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22216 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22217 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22218 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22219 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22220 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22221 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22222 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22223 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22224 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22225 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22226 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22228 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22229 ceil, ceilf, floor, floorf.
22231 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22232 Perform IRELATIVE relocations last.
22234 * elf/do-rel.h: Add another parameter nrelative, replacing the
22235 local variable with the same name. Change name of the function
22236 to end in Rel or Rela (uppercase).
22237 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22238 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22239 elf_dynamic_do_##reloc function.
22241 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22243 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22244 is sufficient, at least on modern CPUs.
22246 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22248 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22249 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22251 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22253 * math/bits/math-finite.h: Add entries for exp.
22254 * math/e_expl.c: Add __*_finite alias.
22255 * sysdeps/i386/fpu/e_exp.S: Likewise.
22256 * sysdeps/i386/fpu/e_expf.S: Likewise.
22257 * sysdeps/i386/fpu/e_expl.c: Likewise.
22258 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22259 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22260 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22262 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22263 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22264 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22266 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22267 is sufficient, at least on modern CPUs.
22269 * ctype/ctype-info.c (__ctype_init): Define.
22270 * include/ctype.h (__ctype_init): Declare.
22271 (__ctype_b_loc): The variable is always initialized.
22272 (__ctype_toupper_loc): Likewise.
22273 (__ctype_tolower_loc): Likewise.
22274 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22275 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22277 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22279 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22281 * configure.in: Also look in $cxxmachine/include for C++ system
22284 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22286 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22287 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22288 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22289 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22290 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22291 (USE_AS_WMEMCMP): New macro.
22293 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22294 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22295 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22296 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22298 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22299 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22300 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22301 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22302 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22303 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22304 (USE_AS_WMEMCMP): New macro.
22305 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22306 * sysdeps/string/test-memcmp.c: Update.
22307 Fix simple_wmemcmp.
22309 * wcsmbs/wmemcmp.c: Update.
22310 (WMEMCMP): New macro.
22313 2011-10-12 Andreas Jaeger <aj@suse.de>
22316 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22318 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22320 * libio/iofwide.c (do_length): Avoid warning.
22322 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22324 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22326 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22328 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22329 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22330 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22331 * sysdeps/i386/i686/fpu/e_log.S: New file.
22332 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22333 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22335 * ctype/ctype.h: Add support for inlined isXXX functions when
22336 compiling C++ code.
22338 2011-10-14 Andreas Schwab <schwab@redhat.com>
22340 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22342 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22344 2011-10-13 Roland McGrath <roland@hack.frob.com>
22347 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22349 2011-10-13 Andreas Schwab <schwab@redhat.com>
22351 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22352 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22355 * sysdeps/x86_64/memrchr.S: Check for zero size.
22357 * string/stratcliff.c: Add memrchr tests.
22359 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22362 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22363 rawmemchr-sse2 rawmemchr-sse2-bsf.
22364 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22365 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22366 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22367 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22368 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22369 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22370 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22371 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22372 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22373 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22374 * string/memrchr.c (MEMRCHR): New macro.
22376 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22378 Add integration with gcc's -ffinite-math-only and optimize wrapper
22380 * Versions.def: Define GLIBC_2.15 version for libm.
22381 * math/Makefile (headers): Add bits/math-finite.h.
22382 * math/bits/math-finite.h: New file.
22383 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22384 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22385 * math/e_acoshl.c: Add __*_finite alias.
22386 * math/e_acosl.c: Likewise.
22387 * math/e_asinl.c: Likewise.
22388 * math/e_atan2l.c: Likewise.
22389 * math/e_atanhl.c: Likewise.
22390 * math/e_coshl.c: Likewise.
22391 * math/e_exp10.c: Likewise.
22392 * math/e_exp10f.c: Likewise.
22393 * math/e_exp10l.c: Likewise.
22394 * math/e_exp2l.c: Likewise.
22395 * math/e_fmodl.c: Likewise.
22396 * math/e_gammal_r.c: Likewise.
22397 * math/e_hypotl.c: Likewise.
22398 * math/e_j0l.c: Likewise.
22399 * math/e_j1l.c: Likewise.
22400 * math/e_jnl.c: Likewise.
22401 * math/e_lgammal_r.c: Likewise.
22402 * math/e_log10l.c: Likewise.
22403 * math/e_log2l.c: Likewise.
22404 * math/e_logl.c: Likewise.
22405 * math/e_powl.c: Likewise.
22406 * math/e_sinhl.c: Likewise.
22407 * math/e_sqrtl.c: Likewise.
22408 * math/e_scalb.c: Completely rewritten and optimized.
22409 * math/e_scalbf.c: Likewise.
22410 * math/e_scalbl.c: Likewise.
22411 * math/w_acos.c: Likewise.
22412 * math/w_acosf.c: Likewise.
22413 * math/w_acosl.c: Likewise.
22414 * math/w_acosh.c: Likewise.
22415 * math/w_acoshf.c: Likewise.
22416 * math/w_acoshl.c: Likewise.
22417 * math/w_asin.c: Likewise.
22418 * math/w_asinf.c: Likewise.
22419 * math/w_asinl.c: Likewise.
22420 * math/w_atan2.c: Likewise.
22421 * math/w_atan2f.c: Likewise.
22422 * math/w_atan2l.c: Likewise.
22423 * math/w_atanh.c: Likewise.
22424 * math/w_atanhf.c: Likewise.
22425 * math/w_atanhl.c: Likewise.
22426 * math/w_exp10.c: Likewise.
22427 * math/w_exp10f.c: Likewise.
22428 * math/w_exp10l.c: Likewise.
22429 * math/w_fmod.c: Likewise.
22430 * math/w_fmodf.c: Likewise.
22431 * math/w_fmodl.c: Likewise.
22432 * math/w_j0.c: Likewise.
22433 * math/w_j0f.c: Likewise.
22434 * math/w_j0l.c: Likewise.
22435 * math/w_j1.c: Likewise.
22436 * math/w_j1f.c: Likewise.
22437 * math/w_j1l.c: Likewise.
22438 * math/w_jn.c: Likewise.
22439 * math/w_jnf.c: Likewise.
22440 * math/w_log.c: Likewise.
22441 * math/w_logf.c: Likewise.
22442 * math/w_logl.c: Likewise.
22443 * math/w_log10.c: Likewise.
22444 * math/w_log10f.c: Likewise.
22445 * math/w_log10l.c: Likewise.
22446 * math/w_log2.c: Likewise.
22447 * math/w_log2f.c: Likewise.
22448 * math/w_log2l.c: Likewise.
22449 * math/w_pow.c: Likewise.
22450 * math/w_powf.c: Likewise.
22451 * math/w_powl.c: Likewise.
22452 * math/w_remainder.c: Likewise.
22453 * math/w_remainderf.c: Likewise.
22454 * math/w_remainderl.c: Likewise.
22455 * math/w_scalb.c: Likewise.
22456 * math/w_scalbf.c: Likewise.
22457 * math/w_scalbl.c: Likewise.
22458 * math/w_sqrt.c: Likewise.
22459 * math/w_sqrtf.c: Likewise.
22460 * math/w_sqrtl.c: Likewise.
22461 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22462 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22464 * math/math_private.h: Declare __kernel_standard_f.
22465 * math/w_cosh.c: Remove cruft and optimize a bit.
22466 * math/w_coshf.c: Likewise.
22467 * math/w_coshl.c: Likewise.
22468 * math/w_exp2.c: Likewise.
22469 * math/w_exp2f.c: Likewise.
22470 * math/w_exp2l.c: Likewise.
22471 * math/w_hypot.c: Likewise.
22472 * math/w_hypotf.c: Likewise.
22473 * math/w_hypotl.c: Likewise.
22474 * math/w_lgamma.c: Likewise.
22475 * math/w_lgamma_r.c: Likewise.
22476 * math/w_lgammaf.c: Likewise.
22477 * math/w_lgammaf_r.c: Likewise.
22478 * math/w_lgammal.c: Likewise.
22479 * math/w_lgammal_r.c: Likewise.
22480 * math/w_sinh.c: Likewise.
22481 * math/w_sinhf.c: Likewise.
22482 * math/w_sinhl.c: Likewise.
22483 * math/w_tgamma.c: Likewise.
22484 * math/w_tgammaf.c: Likewise.
22485 * math/w_tgammal.c: Likewise.
22486 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22487 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22488 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22489 Minor optimizations. Pretty printing. Remove cruft.
22490 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22491 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22492 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22493 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22494 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22495 * sysdeps/i386/fpu/e_asin.S: Likewise.
22496 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22497 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22498 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22499 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22500 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22501 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22502 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22503 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22504 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22505 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22506 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22507 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22508 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22509 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22510 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22511 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22512 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22513 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22514 * sysdeps/i386/fpu/e_log.S: Likewise.
22515 * sysdeps/i386/fpu/e_log10.S: Likewise.
22516 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22517 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22518 * sysdeps/i386/fpu/e_log2.S: Likewise.
22519 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22520 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22521 * sysdeps/i386/fpu/e_logf.S: Likewise.
22522 * sysdeps/i386/fpu/e_logl.S: Likewise.
22523 * sysdeps/i386/fpu/e_pow.S: Likewise.
22524 * sysdeps/i386/fpu/e_powf.S: Likewise.
22525 * sysdeps/i386/fpu/e_powl.S: Likewise.
22526 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22527 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22528 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22529 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22530 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22531 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22532 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22533 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22534 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22535 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22536 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22538 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22539 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22540 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22541 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22542 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22543 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22544 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22545 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22546 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22548 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22549 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22550 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22551 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22552 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22556 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22557 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22558 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22559 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22560 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22561 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22562 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22563 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22564 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22565 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22566 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22567 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22568 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22569 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22570 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22571 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22572 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22573 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22574 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22575 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22576 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22615 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22618 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22620 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22621 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22623 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22626 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22627 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22628 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22629 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22630 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22631 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22632 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22633 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22634 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22635 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22636 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22637 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22638 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22639 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22640 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22641 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22642 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22643 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22644 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22645 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22646 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22647 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22648 (__isnanf): Likewise.
22649 (__isinf_ns): Likewise.
22650 (__isinf_nsf): Likewise.
22651 (__finite): Likewise.
22652 (__finitef): Likewise.
22653 (__ieee754_sqrt): Define as macro.
22654 (__ieee754_sqrtf): Define as macro.
22655 (__ieee754_sqrtl): Define as macro.
22656 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22658 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22659 __FINITE_MATH_ONLY__ consistent.
22660 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22662 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22664 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22667 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22669 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22671 * po/ja.po: Update from translation team.
22673 2011-10-08 Roland McGrath <roland@hack.frob.com>
22675 * locale/programs/locarchive.c (prepare_address_space): New function.
22676 (create_archive, enlarge_archive, open_archive): Use it.
22678 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22679 inside [SHARED], where it is used.
22681 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22683 * nss/getent.c (netgroup_keys): Remove unused variable.
22684 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22686 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22688 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22689 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22690 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22691 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22692 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22693 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22694 * math/Makefile (libm-calls): Add s_isinf_ns.
22695 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22696 * math/multc3.c: Likewise.
22697 * math/s_casin.c: Likewise.
22698 * math/s_casinf.c: Likewise.
22699 * math/s_casinl.c: Likewise.
22700 * math/s_ccos.c: Likewise.
22701 * math/s_ccosf.c: Likewise.
22702 * math/s_ccosl.c: Likewise.
22703 * math/s_ctan.c: Likewise.
22704 * math/s_ctanf.c: Likewise.
22705 * math/s_ctanh.c: Likewise.
22706 * math/s_ctanhf.c: Likewise.
22707 * math/s_ctanhl.c: Likewise.
22708 * math/s_ctanl.c: Likewise.
22709 * math/w_fmod.c: Likewise.
22710 * math/w_fmodf.c: Likewise.
22711 * math/w_fmodl.c: Likewise.
22712 * math/w_remainder.c: Likewise.
22713 * math/w_remainderf.c: Likewise.
22714 * math/w_remainderl.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22716 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22717 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22718 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22719 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22720 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22721 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22722 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22724 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22726 * stdio-common/printf_fphex.c: Likewise.
22727 * stdio-common/printf_size.c: Likewise.
22729 * math/e_exp10.c: Include math_private.h using <...> not "...".
22730 * math/e_exp10f.c: Likewise.
22731 * math/e_exp10l.c: Likewise.
22732 * math/e_exp2l.c: Likewise.
22733 * math/e_j0l.c: Likewise.
22734 * math/e_j1l.c: Likewise.
22735 * math/e_jnl.c: Likewise.
22736 * math/e_lgammal_r.c: Likewise.
22737 * math/e_rem_pio2l.c: Likewise.
22738 * math/e_scalb.c: Likewise.
22739 * math/e_scalbf.c: Likewise.
22740 * math/e_scalbl.c: Likewise.
22741 * math/k_cosl.c: Likewise.
22742 * math/k_sinl.c: Likewise.
22743 * math/k_tanl.c: Likewise.
22744 * math/s_cacoshf.c: Likewise.
22745 * math/s_catan.c: Likewise.
22746 * math/s_catanf.c: Likewise.
22747 * math/s_catanh.c: Likewise.
22748 * math/s_catanhf.c: Likewise.
22749 * math/s_catanhl.c: Likewise.
22750 * math/s_catanl.c: Likewise.
22751 * math/s_ccosh.c: Likewise.
22752 * math/s_ccoshf.c: Likewise.
22753 * math/s_ccoshl.c: Likewise.
22754 * math/s_cexp.c: Likewise.
22755 * math/s_cexpf.c: Likewise.
22756 * math/s_cexpl.c: Likewise.
22757 * math/s_clog.c: Likewise.
22758 * math/s_clog10.c: Likewise.
22759 * math/s_clog10f.c: Likewise.
22760 * math/s_clog10l.c: Likewise.
22761 * math/s_clogf.c: Likewise.
22762 * math/s_clogl.c: Likewise.
22763 * math/s_csin.c: Likewise.
22764 * math/s_csinf.c: Likewise.
22765 * math/s_csinh.c: Likewise.
22766 * math/s_csinhf.c: Likewise.
22767 * math/s_csinhl.c: Likewise.
22768 * math/s_csinl.c: Likewise.
22769 * math/s_csqrt.c: Likewise.
22770 * math/s_csqrtf.c: Likewise.
22771 * math/s_csqrtl.c: Likewise.
22772 * math/s_ctan.c: Likewise.
22773 * math/s_ctanf.c: Likewise.
22774 * math/s_ctanh.c: Likewise.
22775 * math/s_ctanhf.c: Likewise.
22776 * math/s_ctanhl.c: Likewise.
22777 * math/s_ctanl.c: Likewise.
22778 * math/s_ldexp.c: Likewise.
22779 * math/s_ldexpf.c: Likewise.
22780 * math/s_ldexpl.c: Likewise.
22781 * math/s_significand.c: Likewise.
22782 * math/s_significandf.c: Likewise.
22783 * math/s_significandl.c: Likewise.
22784 * math/w_acos.c: Likewise.
22785 * math/w_acosf.c: Likewise.
22786 * math/w_acosh.c: Likewise.
22787 * math/w_acoshf.c: Likewise.
22788 * math/w_acoshl.c: Likewise.
22789 * math/w_acosl.c: Likewise.
22790 * math/w_asin.c: Likewise.
22791 * math/w_asinf.c: Likewise.
22792 * math/w_asinl.c: Likewise.
22793 * math/w_atan2.c: Likewise.
22794 * math/w_atan2f.c: Likewise.
22795 * math/w_atan2l.c: Likewise.
22796 * math/w_atanh.c: Likewise.
22797 * math/w_atanhf.c: Likewise.
22798 * math/w_atanhl.c: Likewise.
22799 * math/w_cosh.c: Likewise.
22800 * math/w_coshf.c: Likewise.
22801 * math/w_coshl.c: Likewise.
22802 * math/w_dremf.c: Likewise.
22803 * math/w_exp10.c: Likewise.
22804 * math/w_exp10f.c: Likewise.
22805 * math/w_exp10l.c: Likewise.
22806 * math/w_exp2.c: Likewise.
22807 * math/w_exp2f.c: Likewise.
22808 * math/w_fmod.c: Likewise.
22809 * math/w_fmodf.c: Likewise.
22810 * math/w_fmodl.c: Likewise.
22811 * math/w_hypot.c: Likewise.
22812 * math/w_hypotf.c: Likewise.
22813 * math/w_hypotl.c: Likewise.
22814 * math/w_j0.c: Likewise.
22815 * math/w_j0f.c: Likewise.
22816 * math/w_j0l.c: Likewise.
22817 * math/w_j1.c: Likewise.
22818 * math/w_j1f.c: Likewise.
22819 * math/w_j1l.c: Likewise.
22820 * math/w_jn.c: Likewise.
22821 * math/w_jnf.c: Likewise.
22822 * math/w_jnl.c: Likewise.
22823 * math/w_lgamma.c: Likewise.
22824 * math/w_lgamma_r.c: Likewise.
22825 * math/w_lgammaf.c: Likewise.
22826 * math/w_lgammaf_r.c: Likewise.
22827 * math/w_lgammal.c: Likewise.
22828 * math/w_lgammal_r.c: Likewise.
22829 * math/w_log.c: Likewise.
22830 * math/w_log10.c: Likewise.
22831 * math/w_log10f.c: Likewise.
22832 * math/w_log10l.c: Likewise.
22833 * math/w_log2.c: Likewise.
22834 * math/w_log2f.c: Likewise.
22835 * math/w_log2l.c: Likewise.
22836 * math/w_logf.c: Likewise.
22837 * math/w_logl.c: Likewise.
22838 * math/w_pow.c: Likewise.
22839 * math/w_powf.c: Likewise.
22840 * math/w_powl.c: Likewise.
22841 * math/w_remainder.c: Likewise.
22842 * math/w_remainderf.c: Likewise.
22843 * math/w_remainderl.c: Likewise.
22844 * math/w_scalb.c: Likewise.
22845 * math/w_scalbf.c: Likewise.
22846 * math/w_scalbl.c: Likewise.
22847 * math/w_sinh.c: Likewise.
22848 * math/w_sinhf.c: Likewise.
22849 * math/w_sinhl.c: Likewise.
22850 * math/w_sqrt.c: Likewise.
22851 * math/w_sqrtf.c: Likewise.
22852 * math/w_sqrtl.c: Likewise.
22853 * math/w_tgamma.c: Likewise.
22854 * math/w_tgammaf.c: Likewise.
22855 * math/w_tgammal.c: Likewise.
22857 * po/ja.po: Update from translation team.
22859 2011-09-29 Andreas Jaeger <aj@suse.de>
22862 * sunrpc/netname.c (netname2host): Fix logic.
22866 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22868 * math/w_remainder.c (__remainder): Likewise.
22869 * math/w_remainderf.c (__remainderf): Likewise.
22870 * math/libm-test.inc (remainder_test): Add test cases.
22872 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22874 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22877 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22879 * string/test-memcmp.c: Avoid unncessary #defines.
22880 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22882 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22884 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22885 Use new sse2 version for core i3 - i7 as it's faster
22886 than sse42 version.
22887 (bit_Prefer_PMINUB_for_stringop): New.
22888 * sysdeps/x86_64/rawmemchr.S: Update.
22889 Replace with faster SSE2 version.
22890 * sysdeps/x86_64/memrchr.S: New file.
22891 * sysdeps/x86_64/memchr.S: Update.
22892 Replace with faster SSE2 version.
22894 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22896 * elf/dl-load.c (lose): Add cast to avoid warning.
22898 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22900 * po/ca.po: Update from translation team.
22902 * inet/getnetgrent_r.c: Hook up nscd.
22903 * nscd/Makefile (routines): Add nscd_netgroup.
22904 (nscd-modules): Add netgroupcache.
22905 (CFLAGS-netgroupcache.c): Define.
22906 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22907 (cache_search): Add const to second parameter.
22908 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22910 (dbs): Add netgrdb entry.
22911 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22912 (verify_persistent_db): Handle netgrdb.
22913 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22914 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22916 (netgroup_response_header): Define.
22917 (innetgroup_response_header): Define.
22918 (datahead): Add netgroup_response_header and innetgroup_response_header
22920 * nscd/nscd.conf: Add entries for netgroup cache.
22921 * nscd/nscd.h (dbtype): Add netgrdb.
22922 (_PATH_NSCD_NETGROUP_DB): Define.
22923 (netgroup_iov_disabled): Declare.
22924 (xmalloc, xcalloc, xrealloc): Move declarations here.
22925 (cache_search): Adjust prototype.
22926 Add netgroup-related prototypes.
22927 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22928 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22929 (__nscd_innetgr): Declare.
22930 * nscd/selinux.c (perms): Use access_vector_t as element type and
22931 add netgroup-related initializers.
22932 * nscd/netgroupcache.c: New file.
22933 * nscd/nscd_netgroup.c: New file.
22934 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22935 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22936 For four parameters use innetgr.
22937 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22938 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22939 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22940 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22942 * nscd/connections.c (register_traced_file): Don't register file
22943 for disabled databases.
22945 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22947 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22949 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22950 from tree and freeing node.
22952 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22954 * nss/nsswitch.c (__nss_database_lookup): Handle
22955 nss_parse_service_list out of memory case.
22957 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22959 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22960 out of memory case.
22962 2011-10-04 Andreas Schwab <schwab@redhat.com>
22964 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22965 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22967 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22968 elf_machine_rela, elf_machine_lazy_rel.
22969 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22970 (ELF_DYNAMIC_DO_REL): Likewise.
22971 (ELF_DYNAMIC_DO_RELA): Likewise.
22972 (ELF_DYNAMIC_RELOCATE): Likewise.
22973 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22974 to ELF_DYNAMIC_DO_REL.
22975 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22976 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22977 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22979 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22980 skip_ifunc, don't call ifunc function if non-zero.
22981 (elf_machine_rela): Likewise.
22982 (elf_machine_lazy_rel): Likewise.
22983 (elf_machine_lazy_rela): Likewise.
22984 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22985 (elf_machine_lazy_rel): Likewise.
22986 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22988 (elf_machine_lazy_rel): Likewise.
22989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22991 (elf_machine_lazy_rel): Likewise.
22992 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22993 (elf_machine_lazy_rel): Likewise.
22994 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22995 (elf_machine_lazy_rel): Likewise.
22996 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22997 (elf_machine_lazy_rel): Likewise.
22998 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22999 (elf_machine_lazy_rel): Likewise.
23000 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23001 (elf_machine_lazy_rel): Likewise.
23002 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23003 (elf_machine_lazy_rel): Likewise.
23005 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23007 * nss/nss_files/files-init.c (_nss_files_init): Use static
23008 initialization for all the *_traced_file variables.
23010 2011-09-28 Andreas Schwab <schwab@redhat.com>
23012 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23014 2011-09-27 Roland McGrath <roland@hack.frob.com>
23017 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23019 2011-09-27 Andreas Schwab <schwab@redhat.com>
23021 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23022 Reread the line before reparsing it.
23024 2011-09-26 Andreas Schwab <schwab@redhat.com>
23026 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23028 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23029 Maxim Kuvyrkov <maxim@codesourcery.com>
23030 Joseph Myers <joseph@codesourcery.com>
23032 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23033 if needed for __stack_chk_guard.
23035 2011-09-19 Roland McGrath <roland@hack.frob.com>
23037 * sysdeps/posix/spawni.c (script_execute): Always define it.
23038 It will be optimized away if unused.
23039 (maybe_script_execute): New function.
23040 (__spawni): Call it.
23042 * Makerules: Don't include tls.make.
23043 (config-tls): Always set to thread.
23044 * tls.make.c: File removed.
23046 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23048 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23049 * config.make.in (CPPFLAGS-config): New substituted variable.
23051 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23053 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23056 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23057 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23059 2011-09-15 Roland McGrath <roland@hack.frob.com>
23061 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23062 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23063 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23064 (CALL_FAIL): Likewise.
23065 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23066 (CALL_FAIL): Macro removed.
23067 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23069 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23071 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23072 for __FINITE_MATH_ONLY__ == 1.
23074 2011-09-15 Andreas Schwab <schwab@redhat.com>
23076 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23077 __ieee754_sqrt instead of sqrt.
23078 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23079 __ieee754_sqrtf instead of sqrtf.
23080 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23081 __floorf instead of floorf.
23082 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23083 __floorf, __truncf instead of floorf, truncf.
23085 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23087 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23089 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23090 __extern_always_inline.
23091 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23094 2011-09-14 Andreas Schwab <schwab@redhat.com>
23096 * elf/rtld.c (dl_main): Also relocate in dependency order when
23097 doing symbol dependency testing.
23099 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23101 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23102 Always define `refsym'.
23104 2011-09-13 Andreas Schwab <schwab@redhat.com>
23106 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23107 (__FD_ELT): Renamed from __FDELT.
23108 * misc/bits/select2.h (__FD_ELT): Likewise.
23109 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23110 __FD_MASK instead of __FDELT, __FDMASK.
23111 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23113 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23116 * elf/Makefile (gen-ldd): Fix pattern.
23118 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23119 (init_tls): Likewise.
23121 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23123 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23125 2011-09-12 Andreas Schwab <schwab@redhat.com>
23127 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23128 `struct cmsghdr *' instead of `void *'.
23129 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23132 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23134 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23136 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23137 ldd_rewrite_script.
23139 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23141 * configure.in: Remove --with-tls option.
23142 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23143 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23144 out in case it is missing.
23145 * sysdeps/ia64/elf/configure.in: Likewise.
23146 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23147 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23148 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23149 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23150 * sysdeps/sh/elf/configure.in: Likewise.
23151 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23152 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23153 * sysdeps/x86_64/elf/configure.in: Likewise.
23154 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23155 * sysdeps/mach/hurd/tls.h: Likewise.
23158 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23161 * configure.in: Fix use of AC_INIT.
23163 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23165 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23167 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23169 * malloc/hooks.c: Likewise.
23172 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23173 variables statically.
23174 (narenas): Initialize.
23175 (list_lock): Initialize.
23176 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23177 initializtion of main_arena and list_lock. Small cleanups.
23178 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23179 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23180 Add initializers to main_arena and mp_.
23181 (malloc_state): Remove pagesize member. Change all users to use
23184 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23185 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23186 is always initialized.
23188 * malloc/malloc.c: Removed unused configurations and dead code.
23189 * malloc/arena.c: Likewise.
23190 * malloc/hooks.c: Likewise.
23191 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23193 * include/tls.h: Removed. USE___THREAD must always be defined.
23194 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23195 * elf/dl-libc.c: Likewise.
23196 * elf/dl-tsd.c: Likewise.
23197 * include/errno.h: Likewise.
23198 * include/netdb.h: Likewise.
23199 * include/resolv.h: Likewise.
23200 * inet/herrno-loc.c: Likewise.
23201 * inet/herrno.c: Likewise.
23202 * malloc/arena.c: Likewise.
23203 * malloc/hooks.c: Likewise.
23204 * malloc/malloc.c: Likewise.
23205 * resolv/res-state.c: Likewise.
23206 * resolv/res_libc.c: Likewise.
23207 * sysdeps/i386/dl-machine.h: Likewise.
23208 * sysdeps/ia64/dl-machine.h: Likewise.
23209 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23210 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23211 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23212 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23213 * sysdeps/sh/dl-machine.h: Likewise.
23214 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23215 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23216 * sysdeps/unix/i386/sysdep.S: Likewise.
23217 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23218 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23219 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23220 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23223 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23225 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23227 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23228 * sysdeps/x86_64/dl-machine.h: Likewise.
23229 * tls.make.c: Likewise.
23231 * configure.in: Remove --with-__thread option. Make tests for
23232 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23233 tls_model attribute fail if no support is available. Remove
23235 * Makeconfig: Adjust for dropped configure option. All features are
23237 * Makerules: Likewise.
23238 * Versions.def: Likewise.
23239 * argp/argp-fmtstream.c: Likewise.
23240 * argp/argp-fmtstream.h: Likewise.
23241 * argp/argp-help.c: Likewise.
23242 * assert/assert.c: Likewise.
23243 * config.h.in: Likewise.
23244 * config.make.in: Likewise.
23245 * configure: Likewise.
23246 * configure.in: Likewise.
23247 * csu/Versions: Likewise.
23248 * csu/init.c: Likewise.
23249 * elf/tst-audit2.c: Likewise.
23250 * elf/tst-tls10.c: Likewise.
23251 * elf/tst-tls10.h: Likewise.
23252 * elf/tst-tls11.c: Likewise.
23253 * elf/tst-tls12.c: Likewise.
23254 * elf/tst-tls14.c: Likewise.
23255 * elf/tst-tlsmod11.c: Likewise.
23256 * elf/tst-tlsmod12.c: Likewise.
23257 * elf/tst-tlsmod13.c: Likewise.
23258 * elf/tst-tlsmod13a.c: Likewise.
23259 * elf/tst-tlsmod14a.c: Likewise.
23260 * elf/tst-tlsmod15b.c: Likewise.
23261 * elf/tst-tlsmod16a.c: Likewise.
23262 * elf/tst-tlsmod16b.c: Likewise.
23263 * elf/tst-tlsmod7.c: Likewise.
23264 * elf/tst-tlsmod8.c: Likewise.
23265 * elf/tst-tlsmod9.c: Likewise.
23266 * gmon/gmon.c: Likewise.
23267 * grp/fgetgrent_r.c: Likewise.
23268 * grp/putgrent.c: Likewise.
23269 * hurd/fopenport.c: Likewise.
23270 * include/libc-symbols.h: Likewise.
23271 * include/tls.h: Likewise.
23272 * intl/gettextP.h: Likewise.
23273 * intl/loadinfo.h: Likewise.
23274 * locale/global-locale.c: Likewise.
23275 * locale/localeinfo.h: Likewise.
23276 * mach/devstream.c: Likewise.
23277 * malloc/arena.c: Likewise.
23278 * malloc/set-freeres.c: Likewise.
23279 * misc/err.c: Likewise.
23280 * misc/getttyent.c: Likewise.
23281 * misc/mntent_r.c: Likewise.
23282 * posix/getopt.c: Likewise.
23283 * posix/wordexp.c: Likewise.
23284 * pwd/fgetpwent_r.c: Likewise.
23285 * resolv/Versions: Likewise.
23286 * resolv/res_hconf.c: Likewise.
23287 * shadow/fgetspent_r.c: Likewise.
23288 * shadow/putspent.c: Likewise.
23289 * stdio-common/printf_fphex.c: Likewise.
23290 * stdio-common/tmpfile.c: Likewise.
23291 * stdlib/abort.c: Likewise.
23292 * stdlib/fmtmsg.c: Likewise.
23293 * sunrpc/auth_unix.c: Likewise.
23294 * sunrpc/clnt_perr.c: Likewise.
23295 * sunrpc/clnt_tcp.c: Likewise.
23296 * sunrpc/clnt_udp.c: Likewise.
23297 * sunrpc/clnt_unix.c: Likewise.
23298 * sunrpc/openchild.c: Likewise.
23299 * sunrpc/svc_simple.c: Likewise.
23300 * sunrpc/svc_tcp.c: Likewise.
23301 * sunrpc/svc_udp.c: Likewise.
23302 * sunrpc/svc_unix.c: Likewise.
23303 * sunrpc/xdr.c: Likewise.
23304 * sunrpc/xdr_array.c: Likewise.
23305 * sunrpc/xdr_rec.c: Likewise.
23306 * sunrpc/xdr_ref.c: Likewise.
23307 * sunrpc/xdr_stdio.c: Likewise.
23309 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23311 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23313 2011-07-03 Andreas Jaeger <aj@suse.de>
23315 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23316 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23317 regenerate with gen-libm-tests.pl.
23319 2010-05-12 Petr Baudis <pasky@suse.cz>
23322 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23323 around j0() zero points by switching to j1().
23324 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23327 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23329 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23331 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23333 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23336 Patch in part by Pavel Roskin <proski@gnu.org>.
23339 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23341 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23342 Free memory block if necessary.
23345 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23346 be NULL. Don't lock in this case.
23348 2011-09-09 Roland McGrath <roland@hack.frob.com>
23350 * elf/elf.h (ELFOSABI_GNU): New macro.
23351 (ELFOSABI_LINUX): Define to that.
23353 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23355 * string/strncat.c (strncat): Undef the symbol in case it has been
23356 defined in bits/string.h.
23358 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23360 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23362 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23365 2011-08-17 Andreas Jaeger <aj@suse.de>
23367 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23369 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23370 Ian Lance Taylor <iant@google.com>
23372 * math/libm-test.inc (lround_test): New testcase.
23373 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23375 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23377 * Makefile: Remove support for automatic cvs check-ins.
23378 * Makerules: Likewise.
23379 * config.make.in: Likewise.
23380 * configure.in: Likewise.
23381 * intl/Makefile: Likewise.
23382 * locale/Makefile: Likewise.
23383 * po/Makefile: Likewise.
23384 * posix/Makefile: Likewise.
23385 * sysdeps/gnu/Makefile: Likewise.
23386 * sysdeps/mach/hurd/Makefile: Likewise.
23387 * sysdeps/sparc/sparc32/Makefile: Likewise.
23390 * posix/Makefile (bug-regex32-ENV): Define.
23391 Patch by John Stanley <jpsinthemix@verizon.net>.
23393 * misc/Makefile (headers): Add bits/select2.h.
23394 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23395 * misc/bits/select2.h: New file.
23396 * include/bits/select2.h: New file.
23397 * debug/Makefile (routines): Add fdelt_chk.
23398 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23399 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23401 * debug/fdelt_chk.c: New file.
23403 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23404 * wcsmbs/test-wmemcmp.c: Likewise.
23405 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23406 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23408 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23410 * string/Makefile (strop-tests): Add memcmp.
23411 * string/test-wmemcmp.c: New file.
23412 * string/test-memcmp.c: Add wmemcmp support.
23414 2011-09-08 Roland McGrath <roland@hack.frob.com>
23417 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23420 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23421 garbage value in a __mach_port_mod_refs call in the cases of the
23422 task-self and thread-self ports.
23424 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23426 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23428 2011-09-08 Andreas Schwab <schwab@redhat.com>
23430 * elf/dl-load.c (lose): Check for non-null L.
23432 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23434 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23436 * elf/dl-libc.c (dlerror_run): Pass back error code from
23440 * elf/dl-load.c (lose): Free l_origin if it is valid.
23442 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23444 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23445 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23446 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23447 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23448 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23449 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23451 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23453 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23454 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23455 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23456 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23457 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23458 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23459 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23460 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23461 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23462 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23464 2011-08-15 Alan Modra <amodra@gmail.com>
23467 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23468 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23469 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23470 ppc_mcount to static-only-routines.
23471 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23473 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23474 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23476 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23478 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23479 for finite and infinity parameters.
23481 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23484 and add nop instructions for throughput optimization.
23485 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23487 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23489 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23490 aligned copy for power7 with vector-scalar instructions.
23491 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23493 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23498 2011-09-07 Andreas Schwab <schwab@redhat.com>
23501 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23504 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23506 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23507 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23508 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23509 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23512 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23514 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23515 Forgot to demangle the pointer.
23517 * sysdeps/i386/sysdep.h: Define atom_text_section.
23518 * sysdeps/x86_64/sysdep.h: Likewise.
23519 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23520 section with atom_text_section.
23521 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23522 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23523 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23525 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23527 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23528 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23529 already be defined. Change to take two parameters and don't assign
23530 result to variable. Adjust all users.
23531 Define INTERNAL_GETTIME if not already defined.
23532 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23535 HAVE_CLOCK_GETTIME_VSYSCALL.
23536 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23539 gettimeofday vsyscall, just use time.
23541 2011-09-06 Andreas Schwab <schwab@redhat.com>
23543 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23546 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23548 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23550 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23552 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23553 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23554 syscall if possible.
23556 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23558 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23559 e_ident. Don't pass to find_mapsXX.
23560 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23562 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23565 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23566 * sysdeps/x86_64/multiarch/strchr.S: Update.
23567 Check bit_slow_BSF bit.
23568 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23569 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23570 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23572 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23575 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23577 (tryshell): Define.
23578 (__spawni): Change last parameter to be flag. Test
23579 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23580 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23581 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23582 * posix/spawni.c: Likewise.
23583 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23584 * posix/spawnp.c: Likewise. Change normal version to use
23585 SPAWN_XFLAGS_USE_PATH.
23586 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23587 SPAWN_XFLAGS_TRY_SHELL.
23590 * posix/glob.h: Remove gcc 1.x support.
23593 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23595 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23598 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23600 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23601 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23602 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23603 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23604 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23605 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23607 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23609 * sysdeps/x86_64/wcscmp.S: New file.
23611 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23612 wcscmp-c wcscmp-sse2
23613 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23614 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23615 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23616 * wcsmbs/wcscmp.c: Allow renaming.
23618 2011-09-05 David S. Miller <davem@davemloft.net>
23620 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23621 stack slot, rather than the struct return pointer slot.
23622 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23623 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23625 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23627 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23629 * po/ja.po: Update from translation team.
23632 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23633 kernel in 64-bit binaries.
23635 2011-09-01 David S. Miller <davem@davemloft.net>
23637 * elf/elf.h (HWCAP_SPARC_*): Move to..
23638 * sysdeps/sparc/sysdep.h: this new file and add new values.
23639 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23640 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23641 _DL_HWCAP_COUNT to 24.
23642 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23644 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23645 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23646 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23648 instead of magic constants.
23649 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23651 2011-08-31 David S. Miller <davem@davemloft.net>
23653 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23655 Reimplement to do errno handling inline.
23656 (SYSCALL_ERROR_HANDLER): New macro.
23657 (__SYSCALL_STRING): Do not do errno handling in asm.
23658 (__CLONE_SYSCALL_STRING): Delete.
23659 (__INTERNAL_SYSCALL_STRING): Delete.
23660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23661 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23662 (PSEUDO): Reimplement to do errno handling inline.
23663 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23664 (SYSCALL_ERROR_HANDLER): New macro.
23665 (__SYSCALL_STRING): Do not do errno handling in asm.
23666 (__CLONE_SYSCALL_STRING): Delete.
23667 (__INTERNAL_SYSCALL_STRING): Delete.
23668 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23669 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23671 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23672 (inline_syscall*): Add 'err' argument.
23673 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23674 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23675 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23676 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23678 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23679 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23681 2011-08-30 Andreas Schwab <schwab@redhat.com>
23683 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23685 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23687 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23690 2011-08-24 David S. Miller <davem@davemloft.net>
23692 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23694 2011-08-24 Andreas Schwab <schwab@redhat.com>
23696 * elf/Makefile: Add rules to build and run unload8 test.
23697 * elf/unload8.c: New file.
23698 * elf/unload8mod1.c: New file.
23699 * elf/unload8mod1x.c: New file.
23700 * elf/unload8mod2.c: New file.
23701 * elf/unload8mod3.c: New file.
23703 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23706 2011-08-23 David S. Miller <davem@davemloft.net>
23708 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23709 subtract stack bias.
23710 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23711 %sp not %fp in calculations.
23712 (_JMPBUF_UNWINDS_ADJ): Likewise.
23714 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23715 (aio_suspend): Call it to force an exception region around the
23716 AIO_MISC_WAIT() invocation.
23718 2011-08-23 Andreas Schwab <schwab@redhat.com>
23720 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23723 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23725 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23727 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23728 and <dl-machine.h>.
23729 (Elf64_FuncDesc): Remove.
23731 2011-08-22 David S. Miller <davem@davemloft.net>
23733 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23734 sigaltstack check, add missing cfi directives.
23735 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23736 missing cfi directives, and sigaltstack handling.
23738 2011-08-16 Andreas Schwab <schwab@redhat.com>
23741 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23742 object is seen twice.
23743 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23745 * elf/Makefile (distribute): Add tst-initorder2.c.
23746 (tests): Add tst-initorder2.
23747 (modules-names): Add tst-initorder2a tst-initorder2b
23748 tst-initorder2c tst-initorder2d. Add rules to build them.
23749 ($(objpfx)tst-initorder2.out): New rule.
23750 * elf/tst-initorder2.c: New file.
23751 * elf/tst-initorder2.exp: New file.
23753 2011-08-22 Andreas Schwab <schwab@redhat.com>
23755 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23757 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23758 dependencies back to end of function.
23760 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23761 $(elfobjdir)/ld.so.
23763 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23765 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23766 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23767 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23768 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23769 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23770 of __vdso_gettimeofday.
23771 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23772 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23774 (_libc_vdso_platform_setup): Remove initialization of
23775 __vdso_gettimeofday and __vdso_time.
23777 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23779 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23780 and fgetc_unlocked.
23781 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23784 * elf/dl-open.c (add_to_global): Report additions to the global scope
23785 for LD_DEBUG=scopes.
23786 (dl_open_worker): Also print scope of newly loaded dependencies.
23787 (_dl_show_scope): Indicate if there is no scope.
23790 * stdio-common/Makefile (tests): Add bug24.
23791 * stdio-common/bug24.c: New file.
23793 2011-08-19 Andreas Jaeger <aj@suse.de>
23796 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23797 non-existant file when using close-on-exec mode.
23799 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23802 the very first instruction.
23804 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23805 the CFI state in the end.
23806 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23807 inclusion of dl-trampoline.h.
23808 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23810 2011-08-19 Andreas Schwab <schwab@redhat.com>
23812 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23813 expectations for long double.
23815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23816 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23818 2011-08-14 David S. Miller <davem@davemloft.net>
23820 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23821 artificual limit depends upon the system page size.
23823 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23825 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23826 * resolv/Makefile: Define CFLAGS-libresolv.
23828 2011-08-17 Andreas Schwab <schwab@redhat.com>
23830 * nss/makedb.c (compute_tables): Make variables used in nested
23833 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23835 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23836 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23837 if buffer was too small.
23839 * elf/pldd.c (main): Attach to all threads in the process.
23840 Rewrite /proc handling to use *at functions.
23842 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23844 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23845 specifies first scope to show.
23846 (dl_open_worker): Update callers. Move printing scope of new
23847 object to before the relocation.
23848 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23849 * sysdeps/generic/ldsodefs.h: Update declaration.
23851 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23852 string for the scope number.
23854 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23856 * nscd/servicescache.c (cache_addserv): Make sure written is always
23859 2011-08-14 Roland McGrath <roland@hack.frob.com>
23861 * sysdeps/i386/i486/bits/atomic.h
23862 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23863 statement expression, so as to suppress "set but not used" warning.
23864 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23866 * string/strncat.c (STRNCAT): Use prototype definition.
23868 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23869 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23871 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23872 (localedef-modules): Add localedef.
23873 (locale-modules): Add locale.
23875 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23876 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23877 to avoid a warning.
23879 2011-08-14 David S. Miller <davem@davemloft.net>
23881 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23882 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23884 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23886 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23887 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23888 * elf/rtld.c (dl_main): Set l_name of vDSO.
23889 Call _dl_show_scope when DL_DEBUG_SCOPES.
23890 (process_dl_debug): Recognize scopes flag and also set it for all.
23891 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23892 Declare _dl_show_scope.
23894 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23895 (do_dlopen): Pass caller_dlopen to dl_open.
23896 (__libc_dlopen_mode): Initialize caller_dlopen.
23898 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23899 of libc. Make tolower call locale-independent. Optimize a bit by
23900 using isdigit instead of isalnum.
23901 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23903 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23905 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23906 was a dependency or dynamically loaded.
23908 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23910 * intl/l10nflist.c: Allow architecture-specific pop function.
23911 * sysdeps/x86_64/l10nflist.c: New file.
23913 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23916 2011-08-10 Andreas Schwab <schwab@redhat.com>
23918 * include/dirent.h: Add libc_hidden_proto for scandirat and
23919 scandirat64. Don't declare __scandirat64.
23920 * dirent/scandirat.c: Add libc_hidden_def.
23921 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23922 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23924 2011-08-10 David S. Miller <davem@davemloft.net>
23926 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23928 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23930 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23932 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23934 * Versions.def [libc]: Add GLIBC_2.15.
23935 * dirent/Makefile (routines): Add scandirat and scandirat64.
23936 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23938 * dirent/dirent.h: Declare scandirat and scandirat64.
23939 * dirent/scandirat.c: New file.
23940 * dirent/scandirat64.c: New file.
23941 * sysdeps/wordsize-64/scandirat.c: New file.
23942 * sysdeps/wordsize-64/scandirat64.c: New file.
23943 * dirent/opendir.c: Define opendirat.
23944 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23946 * dirent/scandir64.c: Adjust for scandir.c change.
23947 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23948 __scandirat64, and __scandir_cancel_handler.
23949 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23950 additional parameter and use openat instead of open (outside of ld.so).
23951 Add new __opendir as wrapper around __opendirat.
23952 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23953 here without requiring old scandirat implementation.
23955 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23957 * dirent/scandir.c (cancel_handler): Renamed to
23958 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23959 defined. Adjust users.
23960 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23961 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23963 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23965 * string/test-string.h (IMPL): Use __STRING to expand name and then
23968 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23971 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23973 * string/Makefile: Update.
23974 (strop-tests): Append strncat.
23975 * string/test-wcscmp.c: New file.
23976 New comprehensive test for wcscmp.
23977 * string/test-strcmp.c: Update.
23978 (WIDE): New define.
23980 2011-07-22 Andreas Schwab <schwab@redhat.com>
23982 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23985 2011-07-26 Andreas Schwab <schwab@redhat.com>
23987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23988 encoding to ACE if AI_IDN.
23990 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23992 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23993 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23995 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23997 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23998 Fix overflow bug in strncat.
23999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24001 * string/test-strncat.c: Update.
24002 Add new tests for checking overflow bugs.
24004 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24007 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24008 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24009 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24010 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24011 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24012 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24013 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24014 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24017 (USE_AS_STRCAT): Define.
24018 Add strcat and strncat support.
24019 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24021 2011-07-25 Andreas Schwab <schwab@redhat.com>
24023 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24024 __n bigger than INT_MAX+1.
24025 (__strncmp_g): Likewise.
24027 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24029 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24030 * libio/stido.h: Likewise.
24032 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24037 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24038 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24039 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24040 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24041 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24044 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24047 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24049 (_dl_x86_64_save_sse): Likewise.
24051 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24055 (_dl_x86_64_save_sse): Likewise.
24057 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24059 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24061 2011-07-21 Andreas Schwab <schwab@redhat.com>
24063 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24065 (_dl_x86_64_save_sse): Use correct AVX check.
24067 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24069 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24070 bug in strncpy/strncat.
24071 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24073 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24075 * string/tester.c (test_strcat): Add tests for different alignments
24076 of source and destination.
24077 (test_strncat): Likewise.
24079 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24082 * posix/glob.c (glob): Check passed in values before using them in
24083 expressions to avoid some overflows.
24084 (glob_in_dir): Likewise.
24087 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24088 check for AVX enablement so that we don't crash with old kernels and
24090 * elf/tst-audit4.c: Add same checks here.
24091 * elf/tst-audit6.c: Likewise.
24093 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24095 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24097 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24099 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24101 * po/cs.po: Update from translation team.
24102 * po/bg.po: Likewise.
24104 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24106 * misc/sys/cdefs.h: Add support for const attribute.
24107 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24108 to gnu_dev_{major,minor,makedev} functions.
24110 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24112 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24114 2011-07-20 Andreas Schwab <schwab@redhat.com>
24116 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24119 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24121 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24122 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24123 register in order to avoid conflicts with the soft frame pointer
24124 being held in r11 when necessary.
24125 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24126 (INTERNAL_VSYSCALL_NCS): Likewise.
24128 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24130 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24131 * elf/dl-fini.c (_dl_fini): Adjust caller.
24132 * elf/dl-close.c (_dl_close_worker): Likewise.
24133 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24135 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24137 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24138 "aux_cache->nlibs < 0".
24140 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24141 in the reload-count case.
24143 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24146 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24147 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24148 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24149 * sysdeps/x86_64/multiarch/strcat.S: New file.
24150 * sysdeps/x86_64/multiarch/strncat.S: New file.
24151 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24152 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24153 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24154 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24155 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24156 (USE_AS_STRCAT): Define.
24157 Add strcat and strncat support.
24158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24159 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24160 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24161 * string/strncat.c: Update.
24162 (USE_AS_STRNCAT): Define.
24163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24164 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24166 * sysdeps/x86_64/multiarch/init-arch.h
24167 (bit_Prefer_PMINUB_for_stringop): New.
24168 (index_Prefer_PMINUB_for_stringop): Likewise.
24169 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24170 bit_Prefer_PMINUB_for_stringop.
24172 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24174 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24176 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24177 of casting of buffer.
24178 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24179 buffer32 and buffer64.
24180 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24181 writes instead of casting of buffer.
24182 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24184 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24187 2011-07-19 Andreas Schwab <schwab@redhat.com>
24189 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24191 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24193 * nscd/nscd.c (termination_handler): Don't do anything for a database
24194 if it has not yet been initialized.
24196 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24198 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24200 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24202 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24204 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24206 * po/nl.po: Update from translation team.
24207 * po/sv.po: Likewise.
24209 2011-07-16 Roland McGrath <roland@hack.frob.com>
24211 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24212 now disallowed by GCC.
24214 * configure.in (use-default-link): Default to yes if a test -shared
24215 link meets our qualifications.
24216 * configure: Regenerated.
24218 * config.make.in (output-format): New variable.
24219 * configure.in: Check for ld --print-output-format support.
24220 * configure: Regenerated.
24221 * Makerules ($(common-objpfx)format.lds)
24222 [$(output-format) != unknown]: Just use $(output-format),
24223 instead of the linker-script munging.
24225 2011-07-14 Roland McGrath <roland@hack.frob.com>
24227 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24228 of $(common-objpfx)shlib.lds.
24229 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24231 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24232 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24234 * configure.in (-z relro check): Adjust test code to add a large
24235 writable data section after it.
24236 * configure: Regenerated.
24238 2011-07-11 Roland McGrath <roland@hack.frob.com>
24240 * configure.in (-z relro check): Fix test code to make the variable
24242 * configure: Regenerated.
24244 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24246 * nscd/nscd.h (struct traced_file): Define.
24247 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24248 elements. Add traced_files.
24249 (inotify_fd): Declare.
24250 (register_traced_file): Declare.
24251 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24252 (inotify_fd): Export.
24253 (resolv_conf_descr): Remove.
24254 (nscd_init): Move inotify descriptor creation to main.
24255 Don't register files for notification here.
24256 (register_traced_file): New function.
24257 (invalidate_cache): Don't use reset_res to determine whether to call
24258 res_init, go through the list of registered files.
24259 (main_loop_poll): The inotify descriptors are now stored in the
24260 structures for the traced files.
24261 (main_loop_epoll): Likewise
24262 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24263 to __nss_disable_nscd.
24264 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24265 for a database anymore. Check the records for all the registered
24267 * nss/Makefile (libnss_files-routines): Add files-init.
24268 (libnss_db-routines): Add db-init.
24269 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24270 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24271 * nss/nss_db/db-init.c: New file.
24272 * nss/nss_files/files-init.c: New file.
24273 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24274 __nss_lookup_function.
24275 (__nss_lookup_function): Call nss_load_library.
24276 (nss_load_all_libraries): New function.
24277 (__nss_disable_nscd): Take parameter with callback function for files
24278 to register. Set is_nscd. Load all the DSOs for the NSS modules
24279 used for the cached services.
24280 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24281 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24282 options for features to all the files in nscd.
24284 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24286 2011-07-10 Roland McGrath <roland@hack.frob.com>
24288 * csu/elf-init.c (__libc_csu_init): Comment typo.
24290 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24292 * po/pl.po: Update from translation team.
24293 * po/ja.po: Likewise.
24294 * po/ru.po: Likewise.
24295 * po/ko.po: Likewise.
24296 * po/fr.po: Likewise.
24298 2011-07-09 Roland McGrath <roland@hack.frob.com>
24300 * configure.in (.ctors/.dtors header and trailer check):
24301 Use an empirical test on a built program.
24302 * configure: Regenerated.
24304 * configure.in (-z relro check): Use an empirical test on a built DSO.
24305 Detect, but do not require, on ia64.
24306 * configure: Regenerated.
24308 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24309 Update tests that use readelf to use $READELF instead.
24310 * configure: Regenerated.
24312 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24314 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24315 if the result is not used.
24317 2011-07-05 Andreas Jaeger <aj@suse.de>
24320 * stdlib/tst-strtod.c: Add testcase.
24322 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24324 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24325 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24326 The latter has a higher limit. Take additional parameter to pass to
24328 (__pathconf): Pass file to __statfs_link_max.
24329 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24331 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24335 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24336 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24338 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24339 (__statfs_filesize_max): Likewise.
24340 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24342 2011-07-05 Andreas Jaeger <aj@suse.de>
24344 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24346 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24348 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24350 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24353 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24355 * Makefile (strop-tests): Add strncat.
24356 * string/test-strncat.c: New file.
24358 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24360 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24362 2011-06-21 Andreas Jaeger <aj@suse.de>
24364 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24365 Copy rule from iconvdata/Makefile.
24367 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24370 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24371 but no long options are defined, just return 'W'.
24373 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24376 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24378 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24380 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24382 (innetgr): Likewise.
24384 2011-07-05 Roland McGrath <roland@hack.frob.com>
24386 * config.make.in (install_root): Default to $(DESTDIR).
24388 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24390 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24392 2011-07-02 Roland McGrath <roland@hack.frob.com>
24394 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24396 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24397 containing directory rather than embedding absolute directory names.
24399 * scripts/check-local-headers.sh: Rewritten using awk.
24400 Match by word, not by line. Print error messages for matches.
24401 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24403 * Makerules [shlib-lds-flags empty]:
24404 ($(common-objpfx)libc_pic.opts): New target.
24405 ($(common-objpfx)libc_pic.os.clean): New target.
24406 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24408 * config.make.in (OBJCOPY): New variable.
24409 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24410 * configure: Regenerated.
24412 * config.make.in (use-default-link): New variable.
24413 * configure.in (use_default_link): Grok --with-default-link to set it.
24414 * configure: Regenerated.
24415 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24416 (shlib-lds, shlib-lds-flags): Define to empty.
24418 * Makerules (shlib-lds): New variable.
24419 (shlib-lds-flags): New variable.
24420 (build-shlib, build-moduile, build-module-asneeded): Use it.
24421 ($(common-objpfx)libc.so): Use $(shlib-lds).
24422 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24423 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24425 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24426 DT_FLAGS/DT_FLAGS_1 with zero flags.
24428 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24429 linker script munging.
24431 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24433 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24435 * crypt/sha512.c (sha512_process_block): Perform total addition using
24436 128-bit if possible.
24437 (__sha512_finish_ctx): Likewise.
24438 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24440 * crypt/sha256.c (SWAP64): Define.
24441 (sha256_process_block): Perform total addition using 64-bit if
24443 (__sha256_finish_ctx): Likewise.
24445 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24447 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24449 * nscd/hstcache.c (cache_addhst): Likewise.
24450 * nscd/grpcache.c (cache_addgr): Likewise.
24451 * nscd/aicache.c (addhstaiX): Likewise
24452 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24454 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24456 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24458 * nscd/hstcache.c (cache_addhst): Likewise.
24459 * nscd/grpcache.c (cache_addgr): Likewise.
24460 * nscd/aicache.c (addhstaiX): Likewise
24462 2011-07-01 Andreas Schwab <schwab@redhat.com>
24464 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24465 domain only when needed.
24467 2011-06-30 Andreas Schwab <schwab@redhat.com>
24469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24470 is always restored.
24472 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24474 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24475 are re-adding the entry.
24476 * nscd/servicescache.c (cache_addserv): Likewise.
24478 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24480 * sysdeps/generic/dl-irel.h: fix protection against multiple
24482 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24484 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24487 * malloc/memusage.sh: Fix quoting in message.
24488 * debug/xtrace.sh: Likewise.
24490 * configure.in: Remove support for --experimental-malloc option, make
24492 * config.make.in: Likewise.
24493 * malloc/Makefile: Likewise.
24495 2011-06-27 Andreas Schwab <schwab@redhat.com>
24497 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24498 two-byte characters.
24500 2011-06-27 Roland McGrath <roland@hack.frob.com>
24502 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24503 AC_CACHE_CHECK invocation.
24504 * configure: Regenerated.
24506 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24508 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24511 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24512 bit from old_res_options.
24514 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24516 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24517 value type for setfct.
24519 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24522 __gettimeofday instead of gettimeofday.
24524 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24526 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24528 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24530 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24532 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24535 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24538 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24539 strcpy-sse2-unaligned strncpy-sse2-unaligned
24540 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24541 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24542 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24543 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24544 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24545 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24546 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24547 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24548 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24549 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24550 (STRCPY): Support SSE2 and SSSE3 versions.
24552 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24555 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24556 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24557 kernels which artificially limit size of requests.
24559 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24562 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24563 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24564 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24565 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24566 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24567 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24568 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24569 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24571 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24572 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24573 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24574 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24575 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24577 Enable unaligned load optimization for Intel Core i3, i5 and i7
24579 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24581 (index_Fast_Unaligned_Load): Define.
24582 (HAS_FAST_UNALIGNED_LOAD): Define.
24584 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24586 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24588 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24591 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24592 until it is clear that the information is realy needed.
24593 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24595 2011-06-22 Andreas Schwab <schwab@redhat.com>
24597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24599 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24602 /sys/devices/system/cpu/online if it is usable.
24604 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24605 reading the information from the /proc filesystem to once a second.
24607 2011-06-21 Andreas Jaeger <aj@suse.de>
24609 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24610 NULL after inclusion of kernel headers.
24612 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24614 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24615 calls to internal_setent.
24618 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24619 addresses using gethostbyname4_r ignore IPv4 addresses.
24621 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24622 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24624 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24626 2011-06-20 David S. Miller <davem@davemloft.net>
24628 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24630 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24632 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24633 (elf_irel): Use it.
24634 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24635 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24636 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24637 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24638 * sysdeps/x86_64/dl-irel.h: Likewise.
24640 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24641 * elf/dl-sym.c: Likewise.
24643 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24645 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24646 need to dereference resplen2.
24648 2011-06-14 Andreas Schwab <schwab@redhat.com>
24650 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24652 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24654 * Makeconfig: Define vardbdir and inst_vardbdir.
24655 * nss/Makefile: Add rules to install db-Makefile.
24657 * nss/nss_db/db-XXX.c: Cleanup.
24659 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24660 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24662 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24663 * nss/makedb.c: Implement -g option to specify that value strings
24664 are generated and should not be added to table iterated over for
24666 * nss/nss_db/db-initgroups.c: New file.
24668 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24671 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24672 (internal_getgrouplist): Adjust to name change.
24673 Update use_initgroups_entry if this is not the first call.
24674 * nss/databases.def: Add initgroups entry.
24676 * nss/makedb.c (compute_tables): Check result of multiple hash table
24677 sizes to minimize maximum chain length.
24679 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24681 * Versions.def: Add entry for libnss_db.
24682 * shlib-versions: Likewise.
24683 * nss/Makefile: Add rules to build libnss_db.
24684 * nss/Versions: Add libnss_db information. Organize libnss_files
24686 * nss/db-Makefile: Add gshadow support. Change rules for the new
24687 makedb progra. Some minor improvements to generate smaller files.
24688 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24690 * nss/makedb.c: ...here.
24691 Improve database format to be smaller and require less memory at
24693 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24695 * nss/nss_db/db-netgrp.c: Likewise.
24696 * nss/nss_db/db-open.c: Likewise.
24697 * nss/nss_files/flies-XXX.x: Adjust comments.
24698 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24699 * nss/nss_files/files-grp.c: Likewise.
24700 * nss/nss_files/files-hosts.c: Likewise.
24701 * nss/nss_files/files-network.c: Likewise.
24702 * nss/nss_files/files-proto.c: Likewise.
24703 * nss/nss_files/files-pwd.c: Likewise.
24704 * nss/nss_files/files-rpc.c: Likewise.
24705 * nss/nss_files/files-service.c: Likewise.
24706 * nss/nss_files/files-sgrp.c: Likewise.
24707 * nss/nss_files/files-spwd.c: Likewise.
24708 * nss/nss_db/db-alias.c: Removed.
24709 * nss/nss_db/dummy-db.h: Removed.
24711 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24713 * nss/makedb.c: Rewritten to not use database library.
24714 * nss/Makefile: Update to build new makedb program.
24716 2011-06-14 Andreas Jaeger <aj@suse.de>
24718 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24719 memset declaration.
24721 2011-06-10 Andreas Schwab <schwab@redhat.com>
24723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24726 2011-06-10 Roland McGrath <roland@hack.frob.com>
24728 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24729 * elf/Makefile ($(objpfx)ld.so): Likewise.
24731 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24732 Don't list ld.so twice in dependencies.
24734 * posix/bug-regex31.c: Include <stdlib.h>.
24736 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24738 * nis/nss_compat/compat-spwd.c
24739 (getspent_next_nss_netgr): Remove unused variable.
24740 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24742 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24743 nonmembers" output to use the right array.
24745 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24747 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24749 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24750 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24751 * catgets/gencat.c (read_input_file): Likewise.
24752 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24754 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24755 variable definition inside #if's controlling its use.
24757 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24759 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24761 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24763 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24766 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24768 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24769 * configure: Regenerated.
24771 * Makerules: Revert last change.
24772 * elf/Makefile: Likewise.
24774 2011-06-09 Roland McGrath <roland@hack.frob.com>
24776 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24777 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24778 (reloc-link): Likewise.
24780 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24782 * elf/Makefile: Add rules to build pldd.
24783 * elf/pldd.c: New file.
24784 * elf/pldd-xx.c: New file.
24786 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24788 * version.h: Update for 2.15 development version.
24790 2011-06-07 David S. Miller <davem@davemloft.net>
24792 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24794 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24795 elf_machine_lazy_rel): Likewise.
24796 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24797 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24798 elf_machine_lazy_rel): Likewise.
24799 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24800 dl_hwcap via passed in argument.
24801 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24804 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24806 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24808 2011-06-06 Roland McGrath <roland@hack.frob.com>
24811 * manual/fdl-1.1.texi: New file, verbatim from:
24812 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24813 * manual/lgpl-2.1.texi: New file, verbatim from:
24814 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24815 * manual/Makefile (licenses): New variable, list those new file names.
24817 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24819 * manual/fdl.texi: File removed.
24820 * manual/lesser.texi: File removed.
24821 * manual/libc.texinfo (Copying, Documentation License):
24822 Use new @include file names, put @appendix directive before @include.
24824 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24827 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24828 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24829 (mq_open): Add __NTH.
24831 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24834 Assume Intel Core i3/i5/i7 processor if AVX is available.
24836 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24841 2011-05-31 Andreas Schwab <schwab@redhat.com>
24843 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24844 memory. Use alloca_account. Fix memory leak when retrying.
24846 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24848 * version.h (RELEASE): Bump for 2.14 release.
24849 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24851 * config.make.in (RANLIB): Remove entry.
24853 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24855 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24856 (libc.pot): Work around missing support for .ksh extension in xgettext.
24859 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24860 if both request failed.
24861 (send_dg): In case of server errors clear resplen or *resplen2.
24864 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24865 when there are multiple maps.
24866 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24867 (_dl_fini): Remove test here.
24869 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24871 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24874 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24875 bit from old_res_options.
24876 (gaih_inet): Likewise.
24879 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24882 * resolv/res_init.c (res_setoptions): Make the code more compact.
24885 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24889 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24891 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24894 * malloc/malloc.h: Declare malloc hook variables as volatile.
24896 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24900 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24901 raise in the comment.
24902 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24903 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24904 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24906 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24909 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24910 grow the buffers more if it already has to be sufficient.
24911 (build_wcs_upper_buffer): Likewise.
24912 * posix/regexec.c (check_matching): Likewise.
24913 (clean_state_log_if_needed): Likewise.
24914 (extend_buffers): Don't enlarge buffers beyond size of the input
24916 Patches mostly by Emil Wojak <emil@wojak.eu>.
24917 * posix/bug-regex32.c: New file.
24918 * posix/Makefile (tests): Add bug-regex32.
24920 * locale/findlocale.c (_nl_find_locale): Return right away if
24921 _nl_explode_name failed.
24922 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24924 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24926 * debug/xtrace.sh: Unify messages.
24927 * malloc/memusage.sh: Likewise.
24930 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24931 time symbol from vDSO. Substitute with vsyscall if not available.
24932 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24935 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24936 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24937 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24938 Add sendmmsg and internal_sendmmsg.
24939 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24940 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24941 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24943 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24944 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24945 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24947 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24950 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24951 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24953 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24957 * iconvdata/Makefile (tests): Add bug-iconv9.
24958 * iconvdata/bug-iconv9.c: New file.
24960 2011-05-27 Andreas Schwab <schwab@redhat.com>
24963 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24965 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24967 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24968 (struct user_regs_struct): Change intcs field back to cs.
24970 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24972 * po/ja.po: Update from translation team.
24974 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24977 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24978 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24980 2011-05-20 Andreas Schwab <schwab@redhat.com>
24982 * stdlib/longlong.h: Update from GCC.
24984 2011-05-23 Andreas Schwab <schwab@redhat.com>
24986 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24988 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24989 Add parameter name.
24990 (__sysconf): Pass it down.
24992 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24995 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24997 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24998 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24999 add in in __libc_use_alloca calls. Adjust callers.
25000 (glob): Use malloc in some situations.
25002 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25003 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25006 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25008 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25009 and CLOCK_BOOTTIME_ALARM.
25012 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25015 * string/_strerror.c (__strerror_r): Print negative errors as signed
25019 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25020 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25021 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25023 * configure.in: Fix typo in redirection and correct removal of test
25024 files in two cases.
25027 * locale/setlocale.c (new_composite_name): Fix test to check for
25028 identical name of all categories.
25031 * libio/filedoalloc.c (local_isatty): New function.
25032 (_IO_file_doallocate): Use local_isatty.
25033 * stdio-common/perror.c (perror): In case a new stream is used
25034 forward the stream error.
25035 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25038 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25043 * include/alloca.h (extend_alloca_account): Define.
25046 * posix/regex.h: Fix comments with documentation of user-accessible
25047 fields after compilation and describe correct free'ing of pattern
25048 after re_compile_pattern.
25049 Patch by Reuben Thomas <rrt@sc3d.org>.
25051 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25053 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25054 and -mno-altivec to prevent the compiler from using Altivec and/or
25055 VSX instructions when the corresponding registers are not available.
25057 2011-05-19 Andreas Schwab <schwab@redhat.com>
25059 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25061 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25063 * libio/freopen.c (freopen): Use __dup2, not dup2.
25064 * libio/freopen64.c (freopen64): Likewise.
25066 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25069 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25070 * math/Makefile (tests): Add test-powl.
25071 (CFLAGS-test-powl.c): Define.
25072 * math/test-powl.c: New file.
25074 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25076 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25078 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25081 * iconvdata/gb18030.c: Update to GB18020-2005.
25083 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25085 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25086 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25087 Patch by Aharon Robbins <arnold@skeeve.com>.
25090 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25094 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25095 through underflows.
25098 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25099 point to strings before performing equality test for error_one_per_line
25103 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25107 (struct user_fpregs_struct): Avoid __uint*_t types.
25110 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25111 symbol info. Use it instead of calling _dl_addr locally.
25112 (lock_and_info): New function.
25113 (tr_freehook): Call lock_and_info and pass symbol info as additional
25114 parameter to tr_where.
25115 (tr_mallochook): Likewise.
25116 (tr_reallochook): Likewise.
25117 (tr_memalignhook): Likewise.
25119 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25120 used and couldn't be at all thread-safe.
25122 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25124 * libio/freopen.c (freopen): Don't close old file descriptor
25125 before the new one is opened. Instead dup the new file descriptor
25126 to the old one after the new stream is created.
25127 * libio/freopen64.c (freopen64): Likewise.
25128 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25129 * libio/fileops.c (_IO_new_file_close_it): Handle new
25130 _IO_FLAGS2_NOCLOSE flag.
25131 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25132 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25133 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25134 _IO_FLAGS2_NOCLOSE flag.
25135 * include/unistd.h: Add hidden_proto for dup3.
25136 Define __have_dup3.
25137 * io/dup3.c: Define hidden symbol.
25138 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25141 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25142 when an incomplete long option is used.
25143 * posix/tst-getopt_long1.c: New file.
25144 * posix/Makefile (tests): Add tst-getopt_long1.
25147 * scripts/config.guess: Update from autoconf-2.68.
25148 * scripts/config.sub: Likewise.
25151 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25153 (has_cpuclock): ...this. New function.
25154 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25155 macro here based on has_cpuclock code.
25158 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25159 First byte (not low byte) is now always NUL.
25160 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25163 Use non-cancelable interfaces.
25166 * locale/iso-639.def: Add entry for Sorani.
25169 * include/stdlib.h: Move include protection to the right place.
25170 Define abort_msg_s. Declare __abort_msg with it.
25171 * stdlib/abort.c (__abort_msg): Adjust type.
25172 * assert/assert.c (__assert_fail_base): New function. Majority
25173 of code from __assert_fail. Allocate memory for __abort_msg with
25175 (__assert_fail): Now call __assert_fail_base.
25176 * assert/assert-perr.c: Remove bulk of implementation. Use
25177 __assert_fail_base.
25178 * include/assert.hL Declare __assert_fail_base.
25179 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25181 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25183 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25187 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25188 until all modules are registered in the DTV.
25189 * elf/Makefile: Add rules to build and run tst-tls19.
25190 * elf/tst-tls19.c: New file.
25191 * elf/tst-tls19mod1.c: New file.
25192 * elf/tst-tls19mod2.c: New file.
25193 * elf/tst-tls19mod3.c: New file.
25194 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25197 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25201 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25202 two-byte sequence errors.
25203 * iconvdata/Makefile (tests): Add bug-iconv8.
25204 * iconvdata/bug-iconv8.c: New file.
25207 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25210 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25213 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25214 (dummy_getcfa): New function.
25215 (init): Get _Unwind_GetCFA address, use dummy if not found.
25216 (backtrace_helper): In recursion check, also check whether CFA changes.
25217 (__backtrace): Completely initialize arg.
25219 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25220 storing incomplete byte sequence in state object. Avoid testing for
25221 guaranteed too small input if we know there is enough data available.
25223 2011-05-11 Andreas Schwab <schwab@redhat.com>
25225 * Makeconfig (+link-pie): Indent.
25226 * Rules (binaries-pie): Define if $(have-fpie) and
25228 (binaries-shared): Also filter out $(binaries-pie).
25229 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25230 * nscd/Makefile (others-pie): Add nscd.
25231 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25232 ($(objpfx)nscd): Remove command override.
25233 * login/Makefile (others-pie): Add pt_chown.
25234 ($(objpfx)pt_chown): Remove command override.
25235 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25236 remove command overrides.
25238 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25240 * libio/tst_putwc.c: Fix error messages.
25243 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25244 currently writing and seek to current position when not.
25245 * libio/Makefile (tests): Add bug-fclose1.
25246 * libio/bug-fclose1.c: New file.
25248 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25251 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25252 don't set DF_1_NODELETE here.
25253 (do_lookup_x): When entering new entry test for copy relocation
25254 and if necessary set DF_1_NODELETE flag.
25255 * elf/tst-unique4.cc: New file.
25256 * elf/tst-unique4.h: New file.
25257 * elf/tst-unique4lib.cc: New file.
25258 * elf/Makefile: Add rules to build and run tst-unique4.
25259 Patch by Piotr Bury <pbury@goahead.com>.
25261 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25264 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25267 * misc/mntent_r.c (addmntent): Flush the stream after the output
25270 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25271 (is_trusted_path_normalize): Skip initial colon. Append slash
25272 to empty buffer. Duplicate is_trusted_path code but allow
25273 constructed patch to be prefix.
25274 (is_dst): Allow $ORIGIN followed by /.
25275 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25276 Correct testing of result of is_trusted_path_normalize
25277 (decompose_rpath): Fix warning.
25279 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25282 * grp/initgroups.c (internal_getgrouplist): When we found the service
25283 list through the initgroups entry in nsswitch.conf do not always
25284 continue on a successful lookup. Don't always use the
25285 __nss_group_database value if it is set.
25286 * nss/nsswitch.conf (initgroups): Change action for successful db
25287 lookup to continue for compatibility.
25289 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25292 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25294 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25296 * iconvdata/tst-tables.sh: Likewise.
25297 * iconvdata/cp770.c: New file.
25298 * iconvdata/cp771.c: New file.
25299 * iconvdata/cp772.c: New file.
25300 * iconvdata/cp773.c: New file.
25301 * iconvdata/cp774.c: New file.
25302 * iconvdata/testdata/CP770: New file.
25303 * iconvdata/testdata/CP770..UTF8: New file.
25304 * iconvdata/testdata/CP771: New file.
25305 * iconvdata/testdata/CP771..UTF8: New file.
25306 * iconvdata/testdata/CP772: New file.
25307 * iconvdata/testdata/CP772..UTF8: New file.
25308 * iconvdata/testdata/CP773: New file.
25309 * iconvdata/testdata/CP773..UTF8: New file.
25310 * iconvdata/testdata/CP774: New file.
25311 * iconvdata/testdata/CP774..UTF8: New file.
25313 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25315 * iconvdata/gen-8bit-gap.sh: Likewise.
25316 * iconvdata/gen-8bit.sh: Likewise.
25318 * locale/iso-639.def: Add ary entry.
25321 * locale/C-translit.h.in: Add U20A1 transliteration.
25324 * locale/iso-639.def: Add wae entry.
25325 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25328 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25332 * locale/C-translit.h.in: Add entry for U20B9.
25333 Patch by pravin.d.s@gmail.com.
25335 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25338 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25339 ENAMETOOLONG use generic getcwd.
25340 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25341 in rtld. Use *stat64.
25342 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25343 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25344 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25345 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25346 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25347 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25348 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25349 __fstatat64 macros.
25350 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25351 * dirent/rewinddir.c: Add libc_hidden_def.
25352 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25353 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25355 * include/dirent.h (__alloc_dir): Add flags parameter.
25356 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25357 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25359 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25360 from fdopendir if O_CLOEXEC is already set.
25362 2011-03-15 Alan Modra <amodra@gmail.com>
25364 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25365 l_tls_firstbyte_offset non-zero. Save padding offset in
25366 l_tls_firstbyte_offset for later use.
25367 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25368 freeing static tls block.
25370 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25372 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25373 where #ifdef was intended. The intent is to prevent ARG_MAX from
25374 being defined by the kernel headers.
25376 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25379 * resolv/resolv.h: Define RES_NOTLDQUERY.
25380 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25381 no-tld-query and set RES_NOTLDQUERY.
25382 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25383 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25384 modern BIND to search name as TLD unless forbidden.
25386 2011-05-07 Petr Baudis <pasky@suse.cz>
25387 Ulrich Drepper <drepper@gmail.com>
25390 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25391 (is_trusted_path): ...to here.
25392 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25393 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25394 using is_trusted_path_normalize() in setuid scripts.
25396 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25398 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25399 __BEGIN/__END_DECLS.
25401 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25403 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25404 NSS_STATUS_NOTFOUND if no record was found.
25406 2011-05-05 Andreas Schwab <schwab@redhat.com>
25408 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25409 (headers-not-in-tirpc): Remove rpc/netdb.h
25410 * resolv/netdb.h: Revert last change.
25412 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25414 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25415 circular dependency between libgcc.a and libc.a.
25417 2011-05-05 Andreas Schwab <schwab@redhat.com>
25419 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25420 * nis/Makefile: Don't install rpcsvc/*.
25421 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25422 instead of <rpc/types.h>.
25423 (MAXHOSTNAMELEN): Define.
25425 2011-05-03 Andreas Schwab <schwab@redhat.com>
25427 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25429 2011-04-28 Maciej Babinski <mbabinski@google.com>
25432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25433 gethostbyname4_r when IPv6 results are possible.
25435 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25438 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25439 _PC_PIPE_BUF handling.
25441 2011-04-30 Bruno Haible <bruno@clisp.org>
25444 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25445 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25447 * inet/getnameinfo.c (getnameinfo): Likewise.
25449 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25451 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25452 to groups setting in database lookup.
25453 * nss/nsswitch.conf: Add initgroups entry.
25455 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25458 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25460 Patch by Eric Blake <eblake@redhat.com>.
25462 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25464 * sunrpc/Makefile (need-export-routines): Add svc_run.
25465 (routines): Remove svc_run.
25466 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25467 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25468 * sunrpc/svc_run.c (svc_run): Likewise.
25469 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25471 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25473 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25474 problem in reallocation in last patch.
25476 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25478 * sunrpc/Makefile: Move inclusion of Rules.
25480 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25482 * nss/nss_files/files-initgroups.c: New file.
25483 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25484 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25485 _nss_files_initgroups_dyn.
25487 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25489 * elf/elf.h (R_ARM_IRELATIVE): Define.
25491 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25493 * po/ru.po: Update from translation team.
25495 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25497 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25500 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25503 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25504 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25505 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25506 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25507 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25509 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25511 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25513 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25514 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25515 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25517 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25520 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25522 * stdlib/bug-getcontext.c: New file.
25523 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25525 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25527 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25528 instructions into .machine "z9-109".
25529 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25530 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25532 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25534 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25535 between environment variables and auxiliary vector.
25537 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25539 * Makefile: Add rules to build linkobj/libc.so.
25540 * include/libc-symbols.h: Define libc_hidden_nolink.
25541 * include/rpc/auth.h: Mark functions which are to be hidden.
25542 * include/rpc/auth_des.h: Likewise.
25543 * include/rpc/auth_unix.h: Likewise.
25544 * include/rpc/clnt.h: Likewise.
25545 * include/rpc/des_crypt.h: Likewise.
25546 * include/rpc/key_prot.h: Likewise.
25547 * include/rpc/pmap_clnt.h: Likewise.
25548 * include/rpc/pmap_prot.h: Likewise.
25549 * include/rpc/pmap_rmt.h: Likewise.
25550 * include/rpc/rpc_msg.h: Likewise.
25551 * include/rpc/svc.h: Likewise.
25552 * include/rpc/svc_auth.h: Likewise.
25553 * include/rpc/xdr.h: Likewise.
25554 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25555 * nss/Makefile: Likewise.
25556 * sunrpc/Makefile: Don't install headers. Build library with normal
25557 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25558 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25559 for the compat linking library. Remove use of INTDEF/INTUSE.
25560 * sunrpc/auth_none.c: Likewise.
25561 * sunrpc/auth_unix.c: Likewise.
25562 * sunrpc/authdes_prot.c: Likewise.
25563 * sunrpc/authuxprot.c: Likewise.
25564 * sunrpc/clnt_gen.c: Likewise.
25565 * sunrpc/clnt_perr.c: Likewise.
25566 * sunrpc/clnt_raw.c: Likewise.
25567 * sunrpc/clnt_simp.c: Likewise.
25568 * sunrpc/clnt_tcp.c: Likewise.
25569 * sunrpc/clnt_udp.c: Likewise.
25570 * sunrpc/clnt_unix.c: Likewise.
25571 * sunrpc/des_crypt.c: Likewise.
25572 * sunrpc/des_soft.c: Likewise.
25573 * sunrpc/get_myaddr.c: Likewise.
25574 * sunrpc/key_call.c: Likewise.
25575 * sunrpc/key_prot.c: Likewise.
25576 * sunrpc/netname.c: Likewise.
25577 * sunrpc/pm_getmaps.c: Likewise.
25578 * sunrpc/pm_getport.c: Likewise.
25579 * sunrpc/pmap_clnt.c: Likewise.
25580 * sunrpc/pmap_prot.c: Likewise.
25581 * sunrpc/pmap_prot2.c: Likewise.
25582 * sunrpc/pmap_rmt.c: Likewise.
25583 * sunrpc/publickey.c: Likewise.
25584 * sunrpc/rpc_cmsg.c: Likewise.
25585 * sunrpc/rpc_common.c: Likewise.
25586 * sunrpc/rpc_dtable.c: Likewise.
25587 * sunrpc/rpc_prot.c: Likewise.
25588 * sunrpc/rpc_thread.c: Likewise.
25589 * sunrpc/rtime.c: Likewise.
25590 * sunrpc/svc.c: Likewise.
25591 * sunrpc/svc_auth.c: Likewise.
25592 * sunrpc/svc_authux.c: Likewise.
25593 * sunrpc/svc_raw.c: Likewise.
25594 * sunrpc/svc_run.c: Likewise.
25595 * sunrpc/svc_simple.c: Likewise.
25596 * sunrpc/svc_tcp.c: Likewise.
25597 * sunrpc/svc_udp.c: Likewise.
25598 * sunrpc/svc_unix.c: Likewise.
25599 * sunrpc/svcauth_des.c: Likewise.
25600 * sunrpc/xcrypt.c: Likewise.
25601 * sunrpc/xdr.c: Likewise.
25602 * sunrpc/xdr_array.c: Likewise.
25603 * sunrpc/xdr_float.c: Likewise.
25604 * sunrpc/xdr_intXX_t.c: Likewise.
25605 * sunrpc/xdr_mem.c: Likewise.
25606 * sunrpc/xdr_rec.c: Likewise.
25607 * sunrpc/xdr_ref.c: Likewise.
25608 * sunrpc/xdr_sizeof.c: Likewise.
25609 * sunrpc/xdr_stdio.c: Likewise.
25611 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25614 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25615 * sysdeps/ia64/dl-tls.h: Likewise.
25616 * sysdeps/powerpc/dl-tls.h: Likewise.
25617 * sysdeps/s390/dl-tls.h: Likewise.
25618 * sysdeps/sh/dl-tls.h: Likewise.
25619 * sysdeps/sparc/dl-tls.h: Likewise.
25620 * sysdeps/x86_64/dl-tls.h: Likewise.
25621 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25623 2011-03-14 Andreas Schwab <schwab@redhat.com>
25625 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25626 rpath element also skip the following colon.
25627 (expand_dynamic_string_token): Add is_path parameter and pass
25628 down to DL_DST_REQUIRED and _dl_dst_substitute.
25629 (decompose_rpath): Call expand_dynamic_string_token with
25630 non-zero is_path. Ignore empty rpaths.
25631 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25634 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25639 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25642 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25643 Patch by Filipe David Manana <fdmanana@apache.org>.
25645 2011-04-07 Andreas Schwab <schwab@redhat.com>
25647 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25648 Maintain aligned stack.
25649 (CHECK_RSP): Remove unused macro.
25651 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25653 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25654 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25656 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25658 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25660 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25662 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25665 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25666 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25667 * sysdeps/x86_64/memmove.c: New file.
25668 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25669 (memcpy): Renamed to ...
25670 (__new_memcpy): This.
25671 (memcpy): Provide GLIBC_2_14 memcpy.
25672 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25673 (memcpy): Provide GLIBC_2_2_5 memcpy.
25675 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25678 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25680 2011-03-30 Andreas Schwab <schwab@redhat.com>
25682 * misc/syncfs.c: New file.
25683 * misc/Makefile (routines): Add syncfs.
25684 * posix/unistd.h: Declare syncfs.
25685 * sysdeps/unix/syscalls.list: Add syncfs.
25687 2011-04-01 Andreas Schwab <schwab@redhat.com>
25689 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25691 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25692 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25694 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25696 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25697 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25699 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25701 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25702 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25703 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25705 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25707 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25709 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25710 sync_file_range.c with -fexceptions.
25711 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25712 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25713 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25714 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25715 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25716 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25717 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25718 sync_file_range as cancellation point
25719 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25720 now a wrapper around __call_sync_file_range with cancellation handling.
25721 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25722 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25723 function name to __call_sync_file_range.
25724 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25725 Add call_sync_file_range.
25727 2011-04-01 Andreas Schwab <schwab@redhat.com>
25729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25732 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25734 * iconv/iconv.h: Fix typo in comment.
25735 * io/fcntl.h: Likewise.
25736 * libio/stdio.h: Likewise.
25737 * posix/spawn.h: Likewise.
25738 * posix/unistd.h: Likewise.
25739 * stdlib/stdlib.h: Likewise.
25740 * time/time.h: Likewise.
25741 * wcsmbs/wchar.h: Likewise.
25743 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25744 open_by_handle): Add.
25745 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25746 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25747 Augment a few comments.
25748 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25750 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25752 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25753 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25756 * io/fcntl.h (AT_EMPTY_PATH): Define.
25758 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25760 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25761 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25762 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25764 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25765 * Versions.def: Add GLIBC_2.14.
25766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25769 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25771 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25773 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25775 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25778 * string/test-strncmp.c (do_page_test): New function.
25779 (check2): Likewise.
25780 (test_main): Call check2.
25781 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25783 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25786 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25787 Handle cache information in CPU leaf 4.
25788 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25790 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25793 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25794 character representation.
25795 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25797 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25799 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25800 END(__isnan) to END(__isnanf) to match function entry point/label
25801 EALIGN(__isnanf,...).
25803 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25805 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25807 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25810 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25811 copy from the symbol referenced in the relocation to initialize the
25813 Patch by Piotr Bury <pbury@goahead.com>.
25814 * elf/Makefile: Add rules to build and tst-unique3.
25815 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25816 * elf/tst-unique3.cc: New file.
25817 * elf/tst-unique3.h: New file.
25818 * elf/tst-unique3lib.cc: New file.
25819 * elf/tst-unique3lib2.cc: New file.
25821 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25823 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25825 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25826 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25829 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25831 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25832 to-be-loaded object along a path to loader is ld.so.
25834 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25835 Ulrich Drepper <drepper@gmail.com>
25837 * sysdeps/x86_64/memset.S: After aligning destination, code
25838 branches to different locations depending on the value of
25839 misalignment, when multiarch is enabled. Fix this.
25841 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25843 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25844 Set _x86_64_preferred_memory_instruction for AMD processsors.
25845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25846 Set bit_Prefer_SSE_for_memop for AMD processors.
25848 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25850 * libio/fmemopen.c (fmemopen): Optimize a bit.
25852 2011-03-03 Andreas Schwab <schwab@redhat.com>
25854 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25856 2011-03-03 Roland McGrath <roland@redhat.com>
25858 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25860 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25862 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25863 __bzero_ultra1 instead of __memset_ultra1.
25865 2011-02-23 Andreas Schwab <schwab@redhat.com>
25866 Ulrich Drepper <drepper@gmail.com>
25869 * include/link.h (struct link_map): Add l_orig_initfini.
25870 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25871 returning unsuccessfully.
25872 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25873 close of a file loaded at startup, restore the original l_initfini
25875 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25876 list, store the pointer.
25877 * elf/Makefile ($(objpfx)noload-mem): New rule.
25878 (noload-ENV): Define.
25879 (tests): Add $(objpfx)noload-mem.
25880 * elf/noload.c: Include <memcheck.h>.
25881 (main): Call mtrace. Close all opened handles.
25883 2011-02-17 Andreas Schwab <schwab@redhat.com>
25886 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25887 dependencies are missing.
25889 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25891 Fix __if_freereq crash: Unlike the generic version which uses free,
25893 * sysdeps/mach/hurd/ifreq.h: New file.
25895 2011-01-27 Petr Baudis <pasky@suse.cz>
25896 Ulrich Drepper <drepper@gmail.com>
25899 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25900 to extend_alloca().
25901 * stdio-common/bug23.c: New file.
25902 * stdio-common/Makefile (tests): Add bug23.
25904 2010-09-28 Andreas Schwab <schwab@redhat.com>
25905 Ulrich Drepper <drepper@gmail.com>
25908 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25909 before performing relro protection. At old place add assertion
25910 to make sure nothing changed.
25912 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25913 Glauber de Oliveira Costa <glommer@gmail.com>
25915 * elf/elf.h: Add new ARM TLS relocs.
25917 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25920 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25922 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25924 * sysdeps/wordsize-64/tst-writev.c: New file.
25926 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25928 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25929 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25930 insns in _dl_start to prevent a TOC reference before relocs are
25933 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25936 * Makeconfig: Remove RANLIB definition.
25937 * Makerules: Don't use RANLIB.
25938 * aclocal.m4: Remove ranlib test.
25939 * configure.in: No need to check for ranlib.
25940 * elf/rtld-Rules: Don't use RANLIB.
25942 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25944 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25946 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25947 inclusion protection macro.
25949 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25950 SIGRTMIN and SIGRTMAX and print information in that case only when
25951 SIGRTMIN is defined.
25953 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25955 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25956 arginfo fn returning -1.
25958 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25959 and thousands string is zero terminated.
25961 2011-02-03 Andreas Schwab <schwab@redhat.com>
25963 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25964 sysdeps/unix/sysv/linux/bits/socket.h.
25966 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25968 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25969 (__CPU_COUNT): Remove old macros.
25970 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25971 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25972 (__CPU_ALLOC, __CPU_FREE): Add macros.
25973 (__sched_cpualloc, __sched_cpufree): Add declarations.
25975 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25977 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25978 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25979 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25980 (readdhstai): Return value of addhstaiX call.
25981 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25982 (addgrbyX): Return value returned by cache_addgr.
25983 (readdgrbyname): Return value returned by addgrbyX.
25984 (readdgrbygid): Likewise.
25985 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25986 (addpwbyX): Return value returned by cache_addpw.
25987 (readdpwbyname): Return value returned by addhstbyX.
25988 (readdpwbyuid): Likewise.
25989 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25990 (addservbyX): Return value returned by cache_addserv.
25991 (readdservbyname): Return value returned by addservbyX:
25992 (readdservbyport): Likewise.
25993 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25994 (addhstbyX): Return value returned by cache_addhst.
25995 (readdhstbyname): Return value returned by addhstbyX.
25996 (readdhstbyaddr): Likewise.
25997 (readdhstbynamev6): Likewise.
25998 (readdhstbyaddrv6): Likewise.
25999 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26000 (readdinitgroups): Return value returned by addinitgroupsX.
26001 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26002 (prune_cache): Keep track of timeout value of re-added entries.
26003 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26004 * nscd/nscd.h: Adjust prototypes of readd* functions.
26006 2011-02-04 Roland McGrath <roland@redhat.com>
26008 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26009 (nis_stats): Likewise.
26010 * nis/nis_modify.c (nis_modify): Likewise.
26011 * nis/nis_remove.c (nis_remove): Likewise.
26012 * nis/nis_add.c (nis_add): Likewise.
26014 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26016 * posix/fnmatch_loop.c: Add some consts.
26018 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26020 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26023 * config.make.in (config-cflags-novzeroupper): Define.
26024 * configure.in: Substitute libc_cv_cc_novzeroupper.
26025 * elf/Makefile (AVX-CFLAGS): Define.
26026 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26027 (CFLAGS-tst-auditmod4a.c): Likewise.
26028 (CFLAGS-tst-auditmod4b.c): Likewise.
26029 (CFLAGS-tst-auditmod6b.c): Likewise.
26030 (CFLAGS-tst-auditmod6c.c): Likewise.
26031 (CFLAGS-tst-auditmod7b.c): Likewise.
26032 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26034 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26036 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26037 function to the callback.
26038 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26040 2011-02-02 Andreas Schwab <schwab@redhat.com>
26042 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26045 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26048 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26050 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26052 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26055 * elf/Makefile: Add rules to build and run new test.
26056 * elf/tst-initorder.c: New file.
26057 * elf/tst-initorder.exp: New file.
26058 * elf/tst-initordera1.c: New file.
26059 * elf/tst-initordera2.c: New file.
26060 * elf/tst-initordera3.c: New file.
26061 * elf/tst-initordera4.c: New file.
26062 * elf/tst-initorderb1.c: New file.
26063 * elf/tst-initorderb2.c: New file.
26064 * elf/tst-order-a1.c: New file.
26065 * elf/tst-order-a2.c: New file.
26066 * elf/tst-order-a3.c: New file.
26067 * elf/tst-order-a4.c: New file.
26068 * elf/tst-order-b1.c: New file.
26069 * elf/tst-order-b2.c: New file.
26070 * elf/tst-order-main.c: New file.
26071 New test case by George Gensure <werkt0@gmail.com>.
26073 2010-10-01 Andreas Schwab <schwab@redhat.com>
26075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26076 decoding ACE if AI_CANONIDN.
26078 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26080 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26082 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26084 * version.h (RELEASE): Bump for 2.13 release.
26085 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26087 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26089 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26091 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26092 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26093 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26094 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26095 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26096 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26098 * posix/getconf.c: Update copyright year.
26099 * catgets/gencat.c: Likewise.
26100 * csu/version.c: Likewise.
26101 * debug/catchsegv.sh: Likewise.
26102 * debug/xtrace.sh: Likewise.
26103 * elf/ldconfig.c: Likewise.
26104 * elf/ldd.bash.in: Likewise.
26105 * elf/sprof.c (print_version): Likewise.
26106 * iconv/iconv_prog.c: Likewise.
26107 * iconv/iconvconfig.c: Likewise.
26108 * locale/programs/locale.c: Likewise.
26109 * locale/programs/localedef.c: Likewise.
26110 * malloc/memusage.sh: Likewise.
26111 * malloc/mtrace.pl: Likewise.
26112 * nscd/nscd.c (print_version): Likewise.
26113 * nss/getent.c: Likewise.
26115 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26116 PF_CAIF, and PF_ALG.
26117 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26119 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26121 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26122 (modules-names): Use them.
26123 (ifunc-test-modules, ifunc-pie-tests): Define.
26124 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26125 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26126 (test-extras): Likewise.
26127 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26128 $(compile-command.c).
26129 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26130 (all-built-dso): Define.
26131 (check-textrel.out, check-execstack.out): Depend on it.
26133 * configure.in: Don't override --enable-multi-arch.
26135 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26138 * nscd/hstcache.c (tryagain): Define.
26139 (cache_addhst): Return tryagain not notfound for temporary errors.
26140 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26143 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26146 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26147 to make the syscall.
26148 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26151 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26152 and fall back to matching as normal character if the string ends before
26153 the matching ']' is found. This is what POSIX requires.
26154 * posix/testfnm.c: Adjust test result.
26155 * posix/globtest.sh: Adjust test result. Add new test.
26156 * posix/tst-fnmatch.input: Likewise.
26157 * posix/tst-fnmatch2.c: Add new test.
26159 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26161 * elf/Makefile (check-execstack): Revert last change. Depend on
26163 (check-execstack.h): New target.
26164 (generated): Add check-execstack.h.
26165 * elf/check-execstack.c: Include "check-execstack.h".
26166 (main): Revert last change.
26167 (handle_file): Return zero if GNU_STACK is absent and
26168 DEFAULT_STACK_PERMS doesn't include PF_X.
26170 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26172 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26173 in child fails because the descriptor is already closed.
26174 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26175 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26176 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26179 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26183 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26184 temporary buffer used to handle multi lookups locally.
26185 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26187 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26189 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26192 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26194 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26195 alignment for SSE2.
26197 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26200 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26201 characters. When rounding increased number of integer digits recompute
26203 * stdio-common/tst-grouping.c: New file.
26204 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26206 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26208 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26209 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26211 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26213 * bits/select.h: Likewise.
26215 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26217 * po/ja.po: Update from translation team.
26219 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26222 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26223 implementation just like for lxstat, fxstatat, et al.
26225 2010-12-27 Jim Meyering <meyering@redhat.com>
26228 * posix/regexec.c (build_trtable): Return failure indication upon
26229 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26231 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26234 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26235 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26236 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26237 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26240 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26243 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26244 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26246 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26248 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26249 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26250 script has SORT_BY_INIT_PRIORITY.
26251 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26252 NO_CTORS_DTORS_SECTIONS is defined.
26253 * elf/soinit.c: Likewise.
26254 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26255 NO_CTORS_DTORS_SECTIONS is defined.
26256 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26257 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26258 * sysdeps/sh/init-first.c: Likewise.
26259 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26261 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26263 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26264 always use the slow path.
26266 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26268 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26269 similar rule which adds the sysdep directories to the header search in
26270 order to pick up the correct platform stackinfo.h.
26271 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26272 perform test if it is, otherwise return successfully without testing.
26273 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26274 DEFAULT_STACK_PERMS define in stackinfo.h.
26275 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26276 defined in stackinfo.h.
26277 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26278 DEFAULT_STACK_PERMS defined in stackinfo.h.
26279 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26280 * sysdeps/ia64/stackinfo.h: Likewise.
26281 * sysdeps/s390/stackinfo.h: Likewise.
26282 * sysdeps/sh/stackinfo.h: Likewise.
26283 * sysdeps/sparc/stackinfo.h: Likewise.
26284 * sysdeps/x86_64/stackinfo.h: Likewise.
26285 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26286 PF_X for powerpc64. Retain PF_X for powerpc32.
26288 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26290 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26292 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26293 GETDENTS_64BIT_ALIGNED.
26295 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26297 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26299 2010-12-10 Andreas Schwab <schwab@redhat.com>
26301 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26304 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26305 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26307 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26308 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26310 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26313 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26316 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26318 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26320 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26322 * po/it.po: Update from translation team.
26324 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26329 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26331 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26333 2010-11-24 Andreas Schwab <schwab@redhat.com>
26335 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26337 (gaih_getanswer_slice): Likewise.
26339 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26341 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26343 2010-05-31 Petr Baudis <pasky@suse.cz>
26346 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26347 silently even in the chroot mode.
26349 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26351 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26352 last patch a bit. Pretty printing
26354 2010-05-31 Petr Baudis <pasky@suse.cz>
26357 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26358 initialization of skip_initgroups_dyn.
26360 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26362 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26363 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26365 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26367 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26369 2010-11-11 Andreas Schwab <schwab@redhat.com>
26371 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26372 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26373 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26374 ($(objpfx)tst-fnmatch-mem): New rule.
26375 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26376 * posix/tst-fnmatch.c (main): Call mtrace.
26378 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26381 Support Intel processor model 6 and model 0x2c.
26383 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26385 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26388 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26391 * string/test-strncasecmp.c (check_result): New function.
26392 (do_one_test): Use it.
26393 (check1): New function.
26394 (test_main): Use it.
26395 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26396 Support strcasecmp and strncasecmp.
26398 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26401 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26402 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26404 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26406 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26410 * sysdeps/x86_64/multiarch/bzero.S: New file.
26411 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26412 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26413 * sysdeps/x86_64/multiarch/memset.S: New file.
26414 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26416 Set bit_Prefer_SSE_for_memop for Intel processors.
26417 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26419 (index_Prefer_SSE_for_memop): Define.
26420 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26422 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26424 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26425 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26427 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26430 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26431 (__x86_64_raw_data_cache_size_half): Likewise.
26432 (__x86_64_raw_shared_cache_size): Likewise.
26433 (__x86_64_raw_shared_cache_size_half): Likewise.
26435 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26436 (__x86_64_raw_data_cache_size_half): Likewise.
26437 (__x86_64_raw_shared_cache_size): Likewise.
26438 (__x86_64_raw_shared_cache_size_half): Likewise.
26439 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26440 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26441 and __x86_64_raw_shared_cache_size_half. Round
26442 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26443 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26444 to multiple of 256 bytes.
26446 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26449 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26450 of inacessible symlinks. Verify result of symlink before returning it.
26451 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26452 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26454 2010-10-28 Erich Ritz <erichritz@gmail.com>
26456 * math/math.h (isinf): Fix typo in comment.
26458 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26460 * po/da.po: Update from translation team.
26462 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26464 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26465 is added to the list.
26467 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26468 Ulrich Drepper <drepper@gmail.com>
26470 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26471 the global list here. Move code to...
26472 (_dl_add_to_namespace_list): ...here. New function.
26473 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26474 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26475 * elf/dl-load.c (lose): Don't remove the element from the list.
26476 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26477 (_dl_map_object): Likewise.
26479 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26482 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26483 into all bytes of SSE register.
26484 Patch by Richard Li <richardpku@gmail.com>.
26486 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26489 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26492 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26494 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26495 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26496 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26497 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26502 2010-10-22 Andreas Schwab <schwab@redhat.com>
26504 * include/dlfcn.h (__RTLD_SECURE): Define.
26505 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26506 mode & __RTLD_SECURE instead.
26507 (open_path): Rename preloaded parameter to secure.
26508 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26509 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26510 * elf/dl-deps.c (openaux): Likewise.
26511 * elf/rtld.c (struct map_args): Remove is_preloaded.
26512 (map_doit): Don't use it.
26513 (dl_main): Likewise.
26514 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26515 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26517 2010-09-09 Andreas Schwab <schwab@redhat.com>
26519 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26520 (sysd-rules-targets): Remove duplicates.
26521 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26522 rtld-%.$o dependency.
26524 2010-10-18 Andreas Schwab <schwab@redhat.com>
26526 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26527 _dl_map_object do it.
26529 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26531 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26532 fast fma builtins, define the macros in the C99 standard.
26533 (FP_FAST_FMAF): Likewise.
26534 (FP_FAST_FMAL): Likewise.
26535 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26537 * bits/mathdef.h: Update copyright year.
26538 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26540 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26542 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26543 builtins, define the macros in the C99 standard.
26544 (FP_FAST_FMAF): Likewise.
26545 (FP_FAST_FMAL): Likewise.
26546 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26548 (FP_FAST_FMAF): Likewise.
26550 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26553 * math/libm-test.inc (fma_test): Some new testcases.
26554 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26555 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26556 y and infinite z. Do multiplication by C already in long double.
26557 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26559 y and infinite z. Do bitwise or of inexact bit into u.d.
26560 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26561 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26562 * sysdeps/i386/fpu/s_fma.S: Removed.
26563 * sysdeps/i386/fpu/s_fmal.S: Removed.
26565 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26568 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26569 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26570 computation is not scheduled after fetestexcept. Fix value
26571 of minimum denormal long double.
26573 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26576 * math/libm-test.inc (fma_test): Add some more tests.
26577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26580 2010-10-15 Andreas Schwab <schwab@redhat.com>
26582 * scripts/data/localplt-s390-linux-gnu.data: New file.
26583 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26585 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26588 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26589 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26591 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26593 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26595 if one of x and y is very large and the other is subnormal.
26596 * sysdeps/s390/fpu/s_fmaf.c: New file.
26597 * sysdeps/s390/fpu/s_fma.c: New file.
26598 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26599 * sysdeps/powerpc/fpu/s_fma.S: New file.
26600 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26601 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26602 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26604 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26607 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26609 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26610 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26611 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26612 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26613 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26614 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26617 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26620 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26621 * posix/bug-regex31.input: Add test case.
26623 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26625 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26626 * posix/bug-regex31.input: New file.
26629 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26630 (parse_sub_exp): Fix last change, use postorder.
26632 * posix/bug-regex31.c: New file.
26633 * posix/Makefile: Add rules to build and run bug-regex31.
26635 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26638 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26641 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26642 to have entries in sys_siglist.
26645 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26648 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26651 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26652 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26653 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26654 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26655 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26656 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26657 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26658 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26659 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26660 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26661 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26662 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26663 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26664 * math/ftestexcept.c (fetestexcept): Likewise.
26665 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26666 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26667 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26668 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26669 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26670 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26671 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26673 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26676 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26679 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26681 * string/bug-strstr1.c: New file.
26682 * string/Makefile: Add rules to build and run bug-strstr1.
26684 2010-10-05 Eric Blake <eblake@redhat.com>
26687 * string/str-two-way.h (two_way_long_needle): Always clear memory
26688 when skipping input due to the shift table.
26690 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26693 * malloc/mcheck.c: Handle large requests.
26696 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26697 for strncmp and strncasecmp.
26698 * string/stratcliff.c: Add tests for strcmp and strncmp.
26699 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26701 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26703 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26706 2010-09-30 Andreas Jaeger <aj@suse.de>
26708 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26709 (CGROUP_SUPER_MAGIC): Define.
26710 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26711 Handle btrfs and cgroup file systems.
26712 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26715 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26717 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26718 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26720 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26723 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26724 trying to locate the ELF header.
26726 2010-09-27 Andreas Schwab <schwab@redhat.com>
26729 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26730 Mask out sign-bit copies when constructing f_fsid.
26732 2010-09-24 Petr Baudis <pasky@suse.cz>
26734 * debug/stack_chk_fail_local.c: Add missing licence exception.
26735 * debug/warning-nop.c: Likewise.
26737 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26739 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26740 implementing getdents64 using getdents syscall, set d_type if
26741 __ASSUME_GETDENTS32_D_TYPE.
26743 2010-09-16 Andreas Schwab <schwab@redhat.com>
26745 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26746 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26748 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26751 * posix/unistd.h: Undo change of feature selection for ftruncate from
26754 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26756 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26759 2010-09-20 Andreas Schwab <schwab@redhat.com>
26761 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26763 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26765 2010-09-14 Andreas Schwab <schwab@redhat.com>
26767 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26768 variables after CHECK_SP call.
26769 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26771 2010-09-13 Andreas Schwab <schwab@redhat.com>
26772 Ulrich Drepper <drepper@redhat.com>
26774 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26775 re-relocationg ld.so.
26776 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26777 _dl_init_paths call.
26778 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26781 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26783 * resolv/res_init.c (__res_vinit): Count the default server we added.
26785 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26786 Ulrich Drepper <drepper@redhat.com>
26789 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26790 (____longjmp_chk): Use %ebx for saving value across system call.
26793 2010-09-06 Andreas Schwab <schwab@redhat.com>
26795 * manual/Makefile: Don't mix pattern rules with normal rules.
26797 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26799 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26801 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26802 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26803 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26804 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26805 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26808 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26811 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26812 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26814 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26816 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26817 * sysdeps/x86_64/addmul_1.S: Likewise.
26818 * sysdeps/x86_64/lshift.S: Likewise.
26819 * sysdeps/x86_64/mul_1.S: Likewise.
26820 * sysdeps/x86_64/rshift.S: Likewise.
26821 * sysdeps/x86_64/sub_n.S: Likewise.
26822 * sysdeps/x86_64/submul_1.S: Likewise.
26824 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26826 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26827 Define __sched_param instead of SCHED_* and sched_param when
26828 <bits/sched.h> is included with __need_schedparam defined.
26829 * bits/sched.h [__need_schedparam]
26830 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26831 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26832 (__defined_schedparam): Define to 1.
26833 (__sched_param): New structure, identical to sched_param.
26834 (__need_schedparam): Undefine.
26836 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26838 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26839 (epoll_create1): Declare.
26841 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26843 2010-08-31 Andreas Schwab <schwab@redhat.com>
26846 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26847 shifting retval into place.
26849 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26851 * nis/rpcsvc/nis.h: Update copyright notice.
26852 * nis/rpcsvc/nis.x: Likewise.
26853 * nis/rpcsvc/nis_callback.h: Likewise.
26854 * nis/rpcsvc/nis_callback.x: Likewise.
26855 * nis/rpcsvc/nis_object.x: Likewise.
26856 * nis/rpcsvc/nis_tags.h: Likewise.
26857 * nis/rpcsvc/yp.h: Likewise.
26858 * nis/rpcsvc/yp.x: Likewise.
26859 * nis/rpcsvc/ypupd.h: Likewise.
26860 * nis/yp_xdr.c: Likewise.
26861 * nis/ypupdate_xdr.c: Likewise.
26863 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26864 mainly the body of pmap_getport. Add parameters to specify timeouts.
26865 (pmap_getport): Use __libc_rpc_getport.
26866 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26867 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26868 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26870 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26875 2010-08-27 Roland McGrath <roland@redhat.com>
26877 * sysdeps/i386/i686/multiarch/Makefile
26878 (CFLAGS-varshift.c): New variable.
26880 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26882 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26883 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26885 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26887 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26889 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26891 * sysdeps/x86_64/strlen.S: Unroll the loop.
26892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26893 strlen-sse2 strlen-sse2-bsf.
26894 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26895 __strlen_no_bsf if bit_Slow_BSF is set.
26896 (__strlen_sse42): Removed.
26897 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26898 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26900 2010-08-25 Roland McGrath <roland@redhat.com>
26902 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26903 * sysdeps/x86_64/multiarch/varshift.c: New file.
26904 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26905 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26906 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26907 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26909 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26912 strlen-sse2 strlen-sse2-bsf.
26913 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26914 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26915 (__strlen_sse2): Removed.
26916 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26917 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26919 bit_Slow_BSF for Atom.
26920 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26921 (index_Slow_BSF): Define.
26922 (HAS_SLOW_BSF): Define.
26924 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26927 * resolv/res_init.c (__res_vinit): When no server address at all
26928 is given default to loopback.
26930 2010-08-24 Roland McGrath <roland@redhat.com>
26932 * configure.in: Remove config-name.h generation.
26933 * configure: Regenerated.
26934 * config-name.in: File removed.
26935 * scripts/config-uname.sh: New file.
26936 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26937 ($(objdir)config-name.h): New target.
26939 * sunrpc/rpc_parse.h: Avoid nested comment.
26941 2010-08-24 Richard Henderson <rth@redhat.com>
26942 Ulrich Drepper <drepper@redhat.com>
26943 H.J. Lu <hongjiu.lu@intel.com>
26945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26947 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26948 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26949 _mm_alignr_epi8 with _mm_loadu_si128.
26950 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26951 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26952 (__m128i_shift_right): Removed.
26953 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26954 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26955 * sysdeps/x86_64/multiarch/varshift.h: New file.
26956 * sysdeps/x86_64/multiarch/varshift.S: New file.
26958 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26960 * configure.in: Move assembler checks to before sysdep dir checking.
26962 2010-08-20 Petr Baudis <pasky@suse.cz>
26964 * LICENSES: Sync the sunrpc license.
26966 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26968 * sunrpc/auth_des.c: Update copyright notice once again.
26969 * sunrpc/auth_none.c: Likewise.
26970 * sunrpc/auth_unix.c: Likewise.
26971 * sunrpc/authdes_prot.c: Likewise.
26972 * sunrpc/authuxprot.c: Likewise.
26973 * sunrpc/bindrsvprt.c: Likewise.
26974 * sunrpc/clnt_gen.c: Likewise.
26975 * sunrpc/clnt_perr.c: Likewise.
26976 * sunrpc/clnt_raw.c: Likewise.
26977 * sunrpc/clnt_simp.c: Likewise.
26978 * sunrpc/clnt_tcp.c: Likewise.
26979 * sunrpc/clnt_udp.c: Likewise.
26980 * sunrpc/clnt_unix.c: Likewise.
26981 * sunrpc/des_crypt.c: Likewise.
26982 * sunrpc/des_soft.c: Likewise.
26983 * sunrpc/get_myaddr.c: Likewise.
26984 * sunrpc/getrpcport.c: Likewise.
26985 * sunrpc/key_call.c: Likewise.
26986 * sunrpc/key_prot.c: Likewise.
26987 * sunrpc/openchild.c: Likewise.
26988 * sunrpc/pm_getmaps.c: Likewise.
26989 * sunrpc/pm_getport.c: Likewise.
26990 * sunrpc/pmap_clnt.c: Likewise.
26991 * sunrpc/pmap_prot.c: Likewise.
26992 * sunrpc/pmap_prot2.c: Likewise.
26993 * sunrpc/pmap_rmt.c: Likewise.
26994 * sunrpc/rpc/auth.h: Likewise.
26995 * sunrpc/rpc/auth_unix.h: Likewise.
26996 * sunrpc/rpc/clnt.h: Likewise.
26997 * sunrpc/rpc/des_crypt.h: Likewise.
26998 * sunrpc/rpc/key_prot.h: Likewise.
26999 * sunrpc/rpc/netdb.h: Likewise.
27000 * sunrpc/rpc/pmap_clnt.h: Likewise.
27001 * sunrpc/rpc/pmap_prot.h: Likewise.
27002 * sunrpc/rpc/pmap_rmt.h: Likewise.
27003 * sunrpc/rpc/rpc.h: Likewise.
27004 * sunrpc/rpc/rpc_des.h: Likewise.
27005 * sunrpc/rpc/rpc_msg.h: Likewise.
27006 * sunrpc/rpc/svc.h: Likewise.
27007 * sunrpc/rpc/svc_auth.h: Likewise.
27008 * sunrpc/rpc/types.h: Likewise.
27009 * sunrpc/rpc/xdr.h: Likewise.
27010 * sunrpc/rpc_clntout.c: Likewise.
27011 * sunrpc/rpc_cmsg.c: Likewise.
27012 * sunrpc/rpc_common.c: Likewise.
27013 * sunrpc/rpc_cout.c: Likewise.
27014 * sunrpc/rpc_dtable.c: Likewise.
27015 * sunrpc/rpc_hout.c: Likewise.
27016 * sunrpc/rpc_main.c: Likewise.
27017 * sunrpc/rpc_parse.c: Likewise.
27018 * sunrpc/rpc_parse.h: Likewise.
27019 * sunrpc/rpc_prot.c: Likewise.
27020 * sunrpc/rpc_sample.c: Likewise.
27021 * sunrpc/rpc_scan.c: Likewise.
27022 * sunrpc/rpc_scan.h: Likewise.
27023 * sunrpc/rpc_svcout.c: Likewise.
27024 * sunrpc/rpc_tblout.c: Likewise.
27025 * sunrpc/rpc_util.c: Likewise.
27026 * sunrpc/rpc_util.h: Likewise.
27027 * sunrpc/rpcinfo.c: Likewise.
27028 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27029 * sunrpc/rpcsvc/key_prot.x: Likewise.
27030 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27031 * sunrpc/rpcsvc/mount.x: Likewise.
27032 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27033 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27034 * sunrpc/rpcsvc/rex.x: Likewise.
27035 * sunrpc/rpcsvc/rstat.x: Likewise.
27036 * sunrpc/rpcsvc/rusers.x: Likewise.
27037 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27038 * sunrpc/rpcsvc/spray.x: Likewise.
27039 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27040 * sunrpc/rtime.c: Likewise.
27041 * sunrpc/svc.c: Likewise.
27042 * sunrpc/svc_auth.c: Likewise.
27043 * sunrpc/svc_authux.c: Likewise.
27044 * sunrpc/svc_raw.c: Likewise.
27045 * sunrpc/svc_run.c: Likewise.
27046 * sunrpc/svc_simple.c: Likewise.
27047 * sunrpc/svc_tcp.c: Likewise.
27048 * sunrpc/svc_udp.c: Likewise.
27049 * sunrpc/svc_unix.c: Likewise.
27050 * sunrpc/svcauth_des.c: Likewise.
27051 * sunrpc/xcrypt.c: Likewise.
27052 * sunrpc/xdr.c: Likewise.
27053 * sunrpc/xdr_array.c: Likewise.
27054 * sunrpc/xdr_float.c: Likewise.
27055 * sunrpc/xdr_mem.c: Likewise.
27056 * sunrpc/xdr_rec.c: Likewise.
27057 * sunrpc/xdr_ref.c: Likewise.
27058 * sunrpc/xdr_sizeof.c: Likewise.
27059 * sunrpc/xdr_stdio.c: Likewise.
27061 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27064 2010-08-19 Andreas Schwab <schwab@redhat.com>
27066 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27068 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27070 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27071 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27072 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27073 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27074 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27075 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27076 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27077 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27078 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27079 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27080 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27081 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27082 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27083 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27085 2010-07-26 Anton Blanchard <anton@samba.org>
27087 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27088 * malloc/arena.c (heap_trim): Likewise.
27090 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27092 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27094 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27095 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27097 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27099 * sysdeps/i386/elf/Makefile: New file.
27101 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27103 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27104 from fanotify_init.
27105 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27106 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27108 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27110 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27112 * sysdeps/multiarch/strcmp.S: Likewise.
27114 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27116 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27117 strncase_l-nonascii.
27118 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27119 Add strncase_l-ssse3.
27120 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27121 * sysdeps/x86_64/strcmp.S: Likewise.
27122 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27123 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27124 * sysdeps/x86_64/strncase.S: New file.
27125 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27126 * sysdeps/x86_64/strncase_l.S: New file.
27127 * string/Makefile (strop-tests): Add strncasecmp.
27128 * string/test-strncasecmp.c: New file.
27130 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27133 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27134 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27136 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27138 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27140 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27142 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27143 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27144 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27146 2010-05-01 Alan Modra <amodra@gmail.com>
27148 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27149 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27150 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27151 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27152 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27153 tidying. Don't tail-call __sigjmp_save for static lib.
27154 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27156 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27157 (CALL_MCOUNT): Add eh info, and nop after bl.
27158 (TAIL_CALL_SYSCALL_ERROR): New macro.
27159 (PSEUDO_RET): Use it.
27160 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27161 Correct save location of integer regs and cr.
27162 (_dl_profile_resolve): Correct cr save location. Delete nops
27163 after bl when SHARED. Reduce cfi size a little by better
27164 placement of cfi directives.
27165 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27166 make a stack frame. Instead use parm save area as a temp.
27167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27168 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27170 Don't make a stack frame for parent, use parm save area.
27171 Increase child stack frame to 112 bytes. Don't save unused reg,
27172 and adjust reg usage. Set up cfi on error recovery and
27173 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27175 (__makecontext): Add dummy nop after jump to exit.
27176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27177 Use correct parm save area and cr save, reduce stack frame.
27178 Correct cfi for possible PSEUDO_RET frame setup.
27179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27180 Branch to local label emitted by PSEUDO_RET rather than
27183 2010-08-12 Andreas Schwab <schwab@redhat.com>
27186 * locale/programs/locale.c (print_assignment): New function.
27187 (show_locale_vars): Use it.
27189 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27191 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27193 (struct statfs64): Likewise.
27194 (_STATFS_F_FLAGS): Define.
27195 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27196 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27197 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27198 (ST_VALID): Define locally.
27199 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27200 __statvfs_getflags, use the provided value.
27201 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27202 __ASSUME_STATFS_F_FLAGS.
27204 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27206 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27207 Add sys/fanotify.h.
27208 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27209 fanotify_mask for GLIBC_2.13.
27210 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27211 fanotify_init and fanotify_mark.
27212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27213 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27215 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27217 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27218 prlimit64 for GLIBC_2.13.
27219 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27221 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27224 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27225 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27226 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27229 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27232 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27233 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27235 * nss/Makefile: Add rules to build and run tst-nss-test1.
27236 * shlib-versions: Add entry for libnss_test1.
27237 * nss/nss_test1.c: New file.
27238 * nss/tst-nss-test1.c: New file.
27240 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27241 (__nss_configure_lookup): Set appropriate entry in
27242 __nss_configure_lookup to true.
27243 * nss/nsswitch.h: Define enum with indeces of databases in
27244 databases and __nss_database_custom arrays. Declare
27245 __nss_database_custom.
27246 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27247 to avoid using nscd when custom rules are installed.
27248 * nss/getXXbyYY_r.c: Likewise.
27249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27251 * nss/nss_files/files-parse.c: Whitespace fixes.
27253 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27256 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27257 * posix/fnmatch_loop.c: Likewise.
27259 2010-07-17 Andi Kleen <ak@linux.intel.com>
27261 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27262 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27263 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27264 * Versions.def [GLIBC_2.13]: Add.
27266 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27268 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27269 Also fail if tpwd after pwuid call is NULL.
27271 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27273 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27274 when converting to ms.
27276 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27278 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27279 EOPNOTSUPP errors with ENOTTY.
27280 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27281 EOPNOTSUPP errors with ENOTTY.
27283 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27285 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27286 Add strcasecmp_l-ssse3.
27287 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27289 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27290 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27291 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27293 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27295 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27297 * string/Makefile (strop-tests): Add strcasecmp.
27298 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27299 strcasecmp_l-nonascii.
27300 (gen-as-const-headers): Add locale-defines.sym.
27301 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27302 * sysdeps/x86_64/strcasecmp.S: New file.
27303 * sysdeps/x86_64/strcasecmp_l.S: New file.
27304 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27305 * sysdeps/x86_64/locale-defines.sym: New file.
27306 * string/test-strcasecmp.c: New file.
27308 * string/test-strcasestr.c: Test both ends of the range of characters.
27309 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27311 2010-07-29 Roland McGrath <roland@redhat.com>
27314 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27316 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27318 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27321 2010-07-27 Andreas Schwab <schwab@redhat.com>
27323 * manual/memory.texi (Malloc Tunable Parameters): Document
27326 2010-07-26 Roland McGrath <roland@redhat.com>
27329 * configure.in (-fgnu89-inline check): Set and substitute
27330 gnu89_inline, not libc_cv_gnu89_inline.
27331 * configure: Regenerated.
27332 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27334 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27336 * string/test-strnlen.c: New file.
27337 * string/Makefile (strop-tests): Add strnlen.
27338 * string/tester.c (test_strnlen): Add a few more test cases.
27339 * string/tst-strlen.c: Better error reporting.
27341 * sysdeps/x86_64/strnlen.S: New file.
27343 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27345 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27346 lower-latency instructions.
27348 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27350 * string/test-strcasestr.c: New file.
27351 * string/test-strstr.c: New file.
27352 * string/Makefile (strop-tests): Add strstr and strcasestr.
27353 * string/str-two-way.h: Don't undefine MAX.
27354 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27356 2010-07-21 Andreas Schwab <schwab@redhat.com>
27358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27359 strcasestr-nonascii.
27360 (CFLAGS-strcasestr-nonascii.c): Define.
27361 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27362 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27363 Remove unused attribute.
27365 2010-07-20 Roland McGrath <roland@redhat.com>
27367 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27368 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27369 ld.so.cache was broken. With it, there is no way to disable dsocaps
27370 like LD_HWCAP_MASK can disable hwcaps.
27372 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27374 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27376 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27378 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27379 call in strcasestr.
27380 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27381 __strcasestr_sse42_nonascii.
27382 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27383 strcasestr-nonascii.c.
27384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27386 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27388 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27389 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27390 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27391 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27393 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27395 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27398 2010-07-06 Andreas Schwab <schwab@redhat.com>
27401 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27404 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27406 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27407 _PC_PIPE_BUF using F_GETPIPE_SZ.
27409 2010-07-05 Roland McGrath <roland@redhat.com>
27411 * manual/arith.texi (Rounding Functions): Fix rint description
27412 implicit in round description.
27414 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27416 * elf/Makefile: Fix linking for a few tests to make recent linker
27419 2010-06-30 Andreas Schwab <schwab@redhat.com>
27421 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27422 $(common-objpfx)libc_nonshared.a.
27424 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27426 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27427 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27428 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27429 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27430 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27431 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27432 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27433 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27448 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27449 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27450 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27451 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27452 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27453 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27454 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27455 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27456 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27457 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27458 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27459 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27475 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27477 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27478 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27479 * string/memmove.c (memmove): Renamed to ...
27480 (MEMMOVE): ...this. Default to memmove.
27481 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27482 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27485 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27486 mempcpy-ssse3-back memmove-ssse3-back.
27487 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27488 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27489 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27490 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27491 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27492 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27493 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27494 * sysdeps/x86_64/multiarch/memmove.c: New file.
27495 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27496 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27497 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27498 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27499 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27500 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27502 (index_Fast_Copy_Backward): Define.
27503 (HAS_ARCH_FEATURE): Define.
27504 (HAS_FAST_REP_STRING): Define.
27505 (HAS_FAST_COPY_BACKWARD): Define.
27507 2010-06-21 Andreas Schwab <schwab@redhat.com>
27509 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27510 Restore proper fallback handling.
27512 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27515 * posix/group_member.c (__group_member): Correct checking loop.
27517 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27518 OOM in getpwuid_r correctly. Return error number when the caller
27519 should return, otherwise -1.
27520 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27521 call returning > 0 value.
27522 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27524 2010-06-07 Andreas Schwab <schwab@redhat.com>
27526 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27527 libc_nonshared.a from targets in modules-names.
27529 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27531 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27534 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27536 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27537 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27538 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27539 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27541 2010-06-02 Andreas Schwab <schwab@redhat.com>
27543 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27545 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27547 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27549 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27550 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27552 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27553 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27554 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27556 2010-06-14 Roland McGrath <roland@redhat.com>
27558 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27560 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27562 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27563 __REDIRECT followed by __THROW.
27564 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27565 * posix/getopt.h (getopt): Likewise.
27567 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27569 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27570 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27571 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27573 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27574 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27576 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27578 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27580 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27584 Properly check family and model.
27586 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27588 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27590 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27592 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27594 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27596 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27599 2010-05-19 Andreas Schwab <schwab@redhat.com>
27601 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27604 2010-05-21 Andreas Schwab <schwab@redhat.com>
27606 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27607 and internal_recvmmsg.
27608 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27609 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27610 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27611 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27613 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27614 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27615 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27617 2010-05-20 Andreas Schwab <schwab@redhat.com>
27619 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27621 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27623 POWER7 optimizations.
27624 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27625 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27627 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27629 * version.h: Update for 2.13 development version.
27631 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27633 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27634 exceptions. Return 0.
27636 2010-05-07 Roland McGrath <roland@redhat.com>
27638 * elf/ldconfig.c (main): Add a const.
27640 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27642 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27643 (args_options): Add no-idn option.
27644 (ahosts_keys_int): Add idn_flags to ai_flags.
27645 (parse_option): Handle 'i' option to clear idn_flags.
27647 * malloc/malloc.c (_int_free): Possible race in the most recently
27648 added check. Only act on the data if no current modification
27651 See ChangeLog.17 for earlier changes.