1 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8 * sysdeps/unix/sysv/linux/kernel-features.h
9 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10 __ASSUME_XFS_RESTRICTED_CHOWN.
11 * sysdeps/unix/sysv/linux/pathconf.c
12 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13 Save and restore errno.
15 2013-04-02 Joseph Myers <joseph@codesourcery.com>
18 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19 arguments using __kernel_casinh.
20 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21 arguments using __kernel_casinhf.
22 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23 arguments using __kernel_casinhl.
24 * math/libm-test.inc (cacosh_test): Add more tests.
25 * sysdeps/i386/fpu/libm-test-ulps: Update.
26 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33 * bench/Makefile (bench): Add sin and slowsin.
34 * benchtests/sin-inputs: New file.
35 * benchtests/slowsin-inputs: New file.
36 * benchtests/slowsin.c: New file.
38 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
39 (bench): Add slowexp and slowpow.
40 (exp-ITER): Increase iterations.
42 * benchtests/exp-inputs: Change input.
43 * benchtests/pow-inputs: Likewise.
44 * benchtests/slowexp-inputs: New file.
45 * benchtests/slowexp.c: New file.
46 * benchtests/slowpow-inputs: New file.
47 * benchtests/slowpow.c: New file.
49 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56 * benchtests/Makefile: Add rint benchtest.
57 * benchtests/rint-inputs: Input for rint benchtest.
59 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
61 * Versions.def (libm): Add GLIBC_2.18.
62 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
63 hidden libm prototypes.
64 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65 * math/Makefile (libm-calls): Add s_issignaling.
66 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
67 __issignalingf, __issignalingl. Adjust all libm.abilist files.
68 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
70 * math/math.h [__USE_GNU] (issignaling): New macro.
71 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
72 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
73 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
74 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
75 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
76 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
77 * manual/arith.texi (issignaling): New section.
78 * manual/libm-err-tab.pl (@all_functions): Update comment.
79 * math/gen-libm-test.pl (parse_args): Apply special handling for
81 * math/libm-test.inc (print_float, issignaling_test): New
83 (check_float_internal): Add issignaling checks.
84 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
86 * sysdeps/powerpc/math-tests.h: New file.
87 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
89 * math/test-snan.c (TEST_FUNC): Likewise.
91 2013-03-30 David S. Miller <davem@davemloft.net>
93 * po/de.po: Update from translation team.
95 2013-03-30 Joseph Myers <joseph@codesourcery.com>
98 * math/k_casinh.c (__kernel_casinh): Handle arguments with
99 imaginary part less than 1.0 and real part less than 0.5
101 * math/k_casinhf.c (__kernel_casinhf): Likewise.
102 * math/k_casinhl.c (__kernel_casinhl): Likewise.
103 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
104 (cacos_test): Add more tests.
105 (casin_test): Likewise.
106 (casinh_test): Likewise.
107 * sysdeps/i386/fpu/libm-test-ulps: Update.
108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
110 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
112 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
115 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
116 (__pow_mp): Replace ONE and MONE with their values.
117 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
118 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
119 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
120 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
121 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
122 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
124 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
126 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
127 (__pow_mp): Replace ZERO and MZERO with their values.
128 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
129 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
130 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
131 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
132 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
133 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
136 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
138 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
140 2013-03-28 Roland McGrath <roland@hack.frob.com>
142 * include/stdlib.h [!SHARED] (__call_tls_dtors):
143 Declare with __attribute__ ((weak)).
144 * stdlib/exit.c (__libc_atexit) [!SHARED]:
145 Call __call_tls_dtors only if it's not NULL.
147 2013-03-28 Roland McGrath <roland@hack.frob.com>
149 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
150 didn't do it already, then set _dl_phdr and _dl_phnum based on the
151 magic __ehdr_start linker symbol if it's defined.
152 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
153 them up here if it was already done.
155 * elf/dl-support.c (_dl_phdr): Make pointer to const.
156 (_dl_aux_init): Use const in cast when setting it.
157 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
158 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
159 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
161 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
163 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
164 * csu/libc-tls.c: Nor here.
165 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
167 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
168 (__libc_message): Never call vsyslog.
170 2013-03-28 Alan Modra <amodra@gmail.com>
172 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
174 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
177 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
184 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
187 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
188 Don't add gid passed as argument.
190 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
192 2013-03-27 Joseph Myers <joseph@codesourcery.com>
195 * math/k_casinh.c (__kernel_casinh): Handle arguments with
196 imaginary part between 1.0 and 1.5 and real part less than 0.5
198 * math/k_casinhf.c (__kernel_casinhf): Likewise.
199 * math/k_casinhl.c (__kernel_casinhl): Likewise.
200 * math/libm-test.inc (cacos_test): Add more tests.
201 (casin_test): Likewise.
202 (casinh_test): Likewise.
203 * sysdeps/i386/fpu/libm-test-ulps: Update.
204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
206 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
208 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
212 (__dbl_mp): Likewise.
213 (add_magnitudes): Likewise.
214 (sub_magnitudes): Likewise.
222 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
224 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
225 (__dubcos): Likewise.
226 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
227 (__ieee754_acos): Likewise.
228 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
229 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
231 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
232 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
235 (checkint): Likewise.
236 * sysdeps/ieee754/dbl-64/e_remainder.c
237 (__ieee754_remainder): Likewise.
238 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
239 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
241 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
243 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
244 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
245 MANTISSA_STORE_T to store computations on mantissa. Use
246 macros for rounding and division.
248 (__dbl_mp): Likewise.
249 (add_magnitudes): Likewise.
250 (sub_magnitudes): Likewise.
253 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
254 powers of two in terms of TWOPOW macro.
255 (mp_no): Make type of mantissa as MANTISSA_T.
256 [!RADIXI]: Define RADIXI.
257 [!TWO52]: Define TWO52.
258 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
260 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
262 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
263 llroundl symbol when building for PPC32.
265 2013-03-24 Mark H Weaver <mhw@netris.org>
267 * manual/arith.texi (Normalization Functions): Fix prototypes for
268 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
270 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
273 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
274 high value to check if expl overflow.
275 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
276 to check for underflow and overflow.
277 * math/libm-test.inc: Add exp test.
279 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
282 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
285 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
287 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
290 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
292 * math/gen-libm-test.pl (parse_args, special_functions): Properly
293 wrap blocks consisting of several statements.
295 * sysdeps/generic/math-tests.h: New file.
296 * sysdeps/i386/fpu/math-tests.h: Likewise.
297 * math/test-snan.c: Include it.
298 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
300 2013-03-21 Joseph Myers <joseph@codesourcery.com>
303 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
304 (__ieee754_j0l): Do not improve calculations using cos of twice
305 input for inputs above LDBL_MAX / 2.0L.
306 (__ieee754_y0l): Likewise.
307 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
308 (__ieee754_j1l): Do not improve calculations using cos of twice
309 input for inputs above LDBL_MAX / 2.0L.
310 (__ieee754_y1l): Likewise.
311 * math/libm-test.inc (j0_test): Add another test.
315 * sysdeps/i386/fpu/libm-test-ulps: Update.
317 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
319 * Rules ($(objpfx)bench-%.c): Include code from a C source
322 2013-03-21 Joseph Myers <joseph@codesourcery.com>
325 * math/k_casinh.c (__kernel_casinh): Handle arguments with
326 imaginary part 1.0 and real part less than 0.5 specially.
327 * math/k_casinhf.c (__kernel_casinhf): Likewise.
328 * math/k_casinhl.c (__kernel_casinhl): Likewise.
329 * math/libm-test.inc (cacos_test): Add more tests.
330 (casin_test): Likewise.
331 (casinh_test): Likewise.
332 * sysdeps/i386/fpu/libm-test-ulps: Update.
333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
335 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
337 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
338 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
340 2013-03-20 Joseph Myers <joseph@codesourcery.com>
342 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
343 * config.make.in (config-cflags-sse4): Remove variable.
344 (config-cflags-avx): Likewise.
345 (config-cflags-sse2avx): Likewise.
346 (config-cflags-novzeroupper): Likewise.
347 (config-asflags-i686): Likewise.
348 (have-mfma4): Likewise.
349 (have-as-vis3): Likewise.
351 * configure.in (MIG): Do not AC_SUBST.
352 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
353 (libc_cv_cc_sse4): Do not AC_SUBST.
354 (libc_cv_cc_avx): Likewise.
355 (libc_cv_cc_sse2avx): Likewise.
356 (libc_cv_cc_novzeroupper): Likewise.
357 (libc_cv_cc_fma4): Likewise.
358 (libc_cv_as_i686): Likewise.
359 (libc_cv_sparc_as_vis3): Likewise.
360 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
362 (config-asflags-i686): Likewise.
363 (config-cflags-avx): Likewise.
364 (config-cflags-sse2avx): Likewise.
365 (have-mfma4): Likewise.
366 (config-cflags-novzeroupper): Likewise.
367 * sysdeps/mach/configure.in (MIG): Likewise.
368 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
369 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
371 (config-cflags-avx): Likewise.
372 (config-cflags-sse2avx): Likewise.
373 (have-mfma4): Likewise.
374 (config-cflags-novzeroupper): Likewise.
375 * configure: Regenerated.
376 * sysdeps/i386/configure: Likewise.
377 * sysdeps/mach/configure: Likewise.
378 * sysdeps/sparc/configure: Likewise.
379 * sysdeps/x86_64/configure: Likewise.
381 2013-03-20 Roland McGrath <roland@hack.frob.com>
384 * locale/programs/localedef.c (options): Put N_ translation marker
385 on argument names, not just descriptions.
387 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
389 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
391 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
394 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
396 2013-03-19 Roland McGrath <roland@hack.frob.com>
398 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
399 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
400 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
401 [!BEFORE_ABORT] (before_abort): New function.
402 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
403 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
404 (writev_for_fatal): New function.
405 (WRITEV_FOR_FATAL): New macro; call that.
406 (backtrace_and_maps): New function.
407 (BEFORE_ABORT): New macro; call that.
408 (struct str_list): Type removed.
409 (__libc_message, __libc_fatal): Functions removed.
410 Include <sysdeps/posix/libc_fatal.c> instead.
412 2013-03-19 Joseph Myers <joseph@codesourcery.com>
414 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
416 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
419 2013-03-19 Andreas Schwab <schwab@suse.de>
421 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
422 * sysdeps/gnu/configure: Regenerate.
424 * configure.in: Substitute libc_cv_rtlddir.
425 * configure: Regenerate.
426 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
427 * Makeconfig (rtlddir, inst_rtlddir): New variables.
428 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
429 * elf/Makefile (install-others, CFLAGS-interp.c)
430 (ldso_install, common-ldd-rewrite): Likewise.
431 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
432 $(inst_slibdir)/$(rtld-installed-name).
433 * scripts/rellns-sh: Add -p option.
434 * Makerules (make-shlib-link): Use rellns-sh to get relative name
437 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
439 * manual/nptl.texi: Renamed to ...
440 * manual/threads.texi: ... this.
441 * manual/Makefile (chapters): Update.
443 2013-03-18 Roland McGrath <roland@hack.frob.com>
446 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
447 on argument names, not just descriptions.
448 * malloc/memusagestat.c (options): Likewise.
449 * nss/getent.c (options): Likewise.
451 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
454 * iconv/iconv_prog.c (options): Put N_ translation marker
455 on argument names, not just descriptions.
456 * iconv/iconvconfig.c (options): Likewise.
458 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
460 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
461 implementation which is faster on all x86_64 architectures.
462 Tested on AMD, Intel Nehalem, SNB, IVB.
463 * sysdeps/x86_64/strnlen.S: Likewise.
465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
466 Remove all multiarch strlen and strnlen versions.
467 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
468 Remove strlen and strnlen related parts.
470 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
472 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
474 * sysdeps/x86_64/multiarch/strlen.S: Remove.
475 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
476 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
477 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
478 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
479 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
481 2013-03-17 Carlos O'Donell <carlos@redhat.com>
483 * manual/memory.texi (Malloc Tunable Parameters):
484 Sort parameters alphabetically. Add comments for missing entries.
486 2013-03-17 David S. Miller <davem@davemloft.net>
488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
490 2013-03-16 Joseph Myers <joseph@codesourcery.com>
493 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
494 for arguments at most half maximum finite value.
495 * math/libm-test.inc (j0_test): Add more tests.
499 * sysdeps/i386/fpu/libm-test-ulps: Update.
500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
503 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
504 1 / x and functions P and Q for arguments above 0x1p256L.
505 (__ieee754_y0l): Likewise.
506 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
507 (__ieee754_y1l): Likewise.
508 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
513 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
515 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
518 2013-03-15 Roland McGrath <roland@hack.frob.com>
520 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
521 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
522 zero since it's initialized to EXEC_PAGESIZE.
524 * sysdeps/unix/sysv/linux/ldsodefs.h
525 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
526 * sysdeps/generic/ldsodefs.h: ... here.
528 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
530 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
532 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
534 * math/test-snan.c: Renamed from
535 sysdeps/powerpc/fpu/test-powerpc-snan.c.
536 * math/Makefile (tests): Add test-snan.
537 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
540 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
541 SUFFIX. Initialize qNaN_var with __builtin_nan family of
543 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
544 __builtin_nan family of functions.
545 * math/libm-test.inc (initialize): Initialize qnan_value with
546 __builtin_nan family of functions.
547 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
549 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
551 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
552 storage class. Initialize qNaN_var and sNaN_var with
553 __builtin_nan and __builtin_nans families of functions,
556 * math/libm-test.inc (acosh_test): Also test with qNaN input.
557 (sqrt_test): Remove duplicate test with qNaN input.
558 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
559 (round_test, signbit_test, significand_test): Note missing +/-Inf
560 as well as qNaN tests.
562 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
563 qNaN_var. Fix a few strings, too.
564 * math/libm-test.inc (nan_value): Rename to qnan_value.
565 * math/gen-libm-test.pl (%beautify): Adjust to that.
566 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
567 * math/test-misc.c (main): Likewise.
568 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
569 to __qnan_bytes, and __qnan_union, respectively.
570 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
572 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
573 and lqnanval, respectively.
574 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
575 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
576 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
577 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
579 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
580 * math/test-misc.c (main) [__x86_64__]: Enable test for long
583 * math/test-misc.c (main): Fix copy'n'pastos.
584 * misc/tst-efgcvt.c (special): Likewise.
586 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
589 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
591 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
592 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
593 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
594 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
596 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
598 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
599 macro to return vdso values correctly in IFUNC implementations.
600 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
601 Optimization by using IFUNC.
603 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
604 Richard Henderson <rth@redhat.com>
605 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
607 * Makefile.in (bench): New target.
608 * NEWS: Mention the benchmark framework.
609 * Rules (bench): Likewise.
610 (binaries-bench): Generate binaries for functions to
612 * benchtests/Makefile: New makefile for benchmark tests.
613 * benchtests/bench-skeleton.c: New skeleton file for benchmark
615 * benchtests/exp-inputs: New input file for EXP function.
616 * benchtests/pow-inputs: New input file for POW function.
617 * scripts/bench.pl: New script to generate source files for
620 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
622 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
623 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
624 computations on mantissa. Use macros for rounding and
627 (__dbl_mp): Likewise.
628 (add_magnitudes): Likewise.
629 (sub_magnitudes): Likewise.
632 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
633 powers of two in terms of TWOPOW macro.
634 (mp_no): Make type of mantissa as MANTISSA_T.
635 [!RADIXI]: Define RADIXI.
636 [!TWO52]: Define TWO52.
637 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
639 * manual/nptl.texi (cindex): Modify threads to pthreads.
641 2013-03-15 Joseph Myers <joseph@codesourcery.com>
643 * sysdeps/x86_64/preconfigure: Regenerated.
645 2013-03-14 Joseph Myers <joseph@codesourcery.com>
648 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
650 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
651 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
653 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
654 * math/libm-test.inc (j0_test): Do not allow one spurious
658 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
660 * manual/Makefile (chapters): Add nptl.
661 * manual/debug.texi (Debugging Support): Add link to Threads
663 * manual/nptl.texi: New file.
665 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
667 2013-03-14 Petr Baudis <pasky@ucw.cz>
669 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
670 for non-NULL pointer before the memory validity test. Pointed
671 out by Holger Brunck <holger.brunck@keymile.com>.
673 2013-03-13 Andreas Schwab <schwab@suse.de>
675 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
678 2013-03-13 Joseph Myers <joseph@codesourcery.com>
680 * timezone/zic.c: Update from tzcode 2013b.
682 2013-03-12 Carlos O'Donell <carlos@redhat.com>
684 * manual/install.texi (Configuring and compiling):
685 Mention i686 and i586.
686 * INSTALL: Regenerate.
688 2013-03-12 Roland McGrath <roland@hack.frob.com>
690 * sysdeps/init_array/elf-init.c: New file.
692 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
693 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
695 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
696 __gmon_start__ as global, but as static with a .preinit_array pointer.
697 * sysdeps/init_array/gmon-start.c: New file. Use that.
698 * sysdeps/init_array/crti.S: New file, empty except for comments.
699 * sysdeps/init_array/crtn.S: Likewise.
701 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
703 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
706 Remove Prefer_SSE_for_memop.
707 * sysdeps/x86_64/multiarch/init-arch.h: Remove
708 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
709 HAS_PREFER_SSE_FOR_MEMOP.
710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
713 Remove bzero, memset ifunc support.
714 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
715 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
716 * sysdeps/x86_64/multiarch/memset.S: Likewise.
717 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
719 2013-03-11 Andreas Schwab <schwab@suse.de>
722 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
725 (GLIBC_2.16): Remove pthread_atfork.
727 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
729 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
730 (ptestcases.h): Likewise.
732 2013-03-08 Roland McGrath <roland@hack.frob.com>
734 * Makeconfig ($(common-objpfx)config.status): Depend on
735 sysdeps/*/preconfigure{,.in} too.
737 2013-03-08 Joseph Myers <joseph@codesourcery.com>
739 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
740 (__free_hook): Use void * instead of __malloc_ptr_t.
741 (__malloc_hook): Likewise.
742 (__realloc_hook): Likewise.
743 (__memalign_hook): Likewise.
744 (__after_morecore_hook): Likewise.
745 * malloc/arena.c (save_malloc_hook): Likewise.
746 (save_free_hook): Likewise.
747 * malloc/hooks.c (malloc_hook_ini): Likewise.
748 (realloc_hook_ini): Likewise.
749 (memalign_hook_ini): Likewise.
750 * malloc/malloc.c (malloc_hook_ini): Likewise.
751 (realloc_hook_ini): Likewise.
752 (memalign_hook_ini): Likewise.
753 (__free_hook): Likewise.
754 (__malloc_hook): Likewise.
755 (__realloc_hook): Likewise.
756 (__memalign_hook): Likewise.
757 (__libc_malloc): Likewise.
758 (__libc_free): Likewise.
759 (__libc_realloc): Likewise.
760 (__libc_memalign): Likewise.
761 (__libc_valloc): Likewise.
762 (__libc_pvalloc): Likewise.
763 (__libc_calloc): Likewise.
764 (__posix_memalign): Likewise.
765 * malloc/morecore.c (__sbrk): Likewise.
766 (__default_morecore): Likewise.
768 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
770 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
771 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
774 * malloc/malloc.h (__malloc_size_t): Remove macro.
775 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
777 (old_memalign_hook): Likewise.
778 (old_realloc_hook): Likewise.
779 (struct hdr): Likewise.
781 (mallochook): Likewise.
782 (memalignhook): Likewise.
783 (reallochook): Likewise.
784 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
785 (tr_old_realloc_hook): Likewise.
786 (tr_old_memalign_hook): Likewise.
787 (tr_mallochook): Likewise.
788 (tr_reallochook): Likewise.
789 (tr_memalignhook): Likewise.
791 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
793 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
794 default_ldbl_pack and using as default implementation.
795 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
797 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
798 redundant definition.
799 (ldbl_insert_mantissa): Likewise.
800 (ldbl_canonicalize): Likewise.
801 (ldbl_nearbyint): Likewise.
802 (ldbl_pack): Rename to ldbl_pack_ppc.
803 (ldbl_unpack): Rename to ldbl_unpack_ppc.
804 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
805 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
807 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
810 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
811 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
812 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
814 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
815 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
816 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
818 2013-03-07 Andreas Jaeger <aj@suse.de>
820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
823 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
825 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
826 Include mpa.h and declare __MPEXP.
827 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
828 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
829 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
830 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
831 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
832 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
833 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
835 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
836 (__slowpow): Use long double EXPL and LOGL functions to
838 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
839 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
840 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
841 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
842 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
846 intermediate variable to calculate exponent.
848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
852 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
853 [!NO__SQR]: Define __sqr.
854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
855 and NO__SQR. Remove all code except __mul and __sqr. Include
856 sysdeps/ieee754/dbl-64/mpa.c.
857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
860 * posix/Makefile (tests): Add tst-pathconf.
861 * posix/tst-pathconf.c: New test case.
862 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
864 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
866 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
868 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
870 2013-03-06 Andreas Jaeger <aj@suse.de>
872 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
873 definition via __MAP_ANONYMOUS.
875 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
876 it's not part of Linux headers.
878 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
879 (MAP_HUGE_MASK): Define.
881 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
883 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
884 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
886 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
887 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
889 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
890 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
892 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
894 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
895 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
896 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
897 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
898 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
899 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
901 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
904 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
905 Handle f2fs and efivarfs.
907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
910 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
911 (EFIVARFS_MAGIC): Add.
912 (F2FS_LINK_MAX): Add.
914 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
916 * stdio-common/vfprintf.c: Replace __builtin_expect with
919 2013-03-06 Joseph Myers <joseph@codesourcery.com>
922 * sysdeps/generic/bp-sym.h: Remove file.
923 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
924 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
925 <bp-sym.h> and <bp-asm.h>.
926 (__longjmp): Don't use BP_SYM.
927 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
929 (memcpy): Don't use BP_SYM.
930 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
931 <bp-sym.h> and <bp-asm.h>.
932 (memcpy): Don't use BP_SYM.
933 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
935 (memcpy): Don't use BP_SYM.
936 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
938 (memset): Don't use BP_SYM.
939 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
940 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
941 (__bzero): Don't use BP_SYM.
942 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
943 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
944 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
945 <bp-sym.h> and <bp-asm.h>.
946 (memcmp): Don't use BP_SYM. Remove comment about bounded
948 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
949 <bp-sym.h> and <bp-asm.h>.
950 (memcpy): Don't use BP_SYM.
951 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
952 <bp-sym.h> and <bp-asm.h>.
953 (memset): Don't use BP_SYM.
954 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
955 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
956 (__bzero): Don't use BP_SYM.
957 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
958 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
959 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
960 <bp-sym.h> and <bp-asm.h>.
961 (strncmp): Don't use BP_SYM. Remove comment about bounded
963 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
964 <bp-sym.h> and <bp-asm.h>.
965 (memcpy): Don't use BP_SYM.
966 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
967 <bp-sym.h> and <bp-asm.h>.
968 (memset): Don't use BP_SYM.
969 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
970 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
971 (__bzero): Don't use BP_SYM.
972 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
973 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
974 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
975 <bp-sym.h> and <bp-asm.h>.
976 (__memchr): Don't use BP_SYM.
977 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
978 <bp-sym.h> and <bp-asm.h>.
979 (memcmp): Don't use BP_SYM. Remove comment about bounded
981 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
982 <bp-sym.h> and <bp-asm.h>.
983 (memcpy): Don't use BP_SYM.
984 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
985 <bp-sym.h> and <bp-asm.h>.
986 (__mempcpy): Don't use BP_SYM.
987 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
988 <bp-sym.h> and <bp-asm.h>.
989 (__memrchr): Don't use BP_SYM.
990 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
991 <bp-sym.h> and <bp-asm.h>.
992 (memset): Don't use BP_SYM.
994 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
995 <bp-sym.h> and <bp-asm.h>.
996 (__rawmemchr): Don't use BP_SYM.
997 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
998 <bp-sym.h> and <bp-asm.h>.
999 (__STRCMP): Don't use BP_SYM.
1000 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1001 <bp-sym.h> and <bp-asm.h>.
1002 (strchr): Don't use BP_SYM.
1003 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1004 <bp-sym.h> and <bp-asm.h>.
1005 (__strchrnul): Don't use BP_SYM.
1006 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1007 <bp-sym.h> and <bp-asm.h>.
1008 (strlen): Don't use BP_SYM.
1009 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1010 <bp-sym.h> and <bp-asm.h>.
1011 (strncmp): Don't use BP_SYM. Remove comment about bounded
1013 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1014 <bp-sym.h> and <bp-asm.h>.
1015 (__strnlen): Don't use BP_SYM.
1016 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1017 <bp-sym.h> and <bp-asm.h>.
1018 (__GI__setjmp): Don't use BP_SYM.
1019 (_setjmp): Likewise.
1020 (__sigsetjmp): Likewise.
1021 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1022 (L(start_addresses)): Don't use BP_SYM.
1024 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1026 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1027 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1028 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1029 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1030 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1032 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1033 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1034 about bounded pointers.
1035 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1036 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1037 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1039 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1040 about bounded pointers. Remove GKM FIXME comments.
1041 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1042 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1044 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1045 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1046 Remove GKM FIXME comments.
1047 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1048 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1049 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1051 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1052 about bounded pointers. Remove GKM FIXME comment.
1053 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1055 (strncmp): Don't use BP_SYM. Remove comment about bounded
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1058 <bp-sym.h> and <bp-asm.h>.
1059 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1061 <bp-sym.h> and <bp-asm.h>.
1062 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1065 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1067 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1070 2013-03-05 David S. Miller <davem@davemloft.net>
1072 * po/es.po: Update from translation team.
1074 2013-03-05 Andreas Jaeger <aj@suse.de>
1076 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1077 <bits/mman-linux.h>.
1078 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1080 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1081 <bits/mman-linux.h> to end of file.
1082 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1084 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1085 <bits/mman-linux.h> to end of file.
1086 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1088 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1089 <bits/mman-linux.h> to end of file.
1091 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1092 (MCL_CURRENT, MCL_FUTURE): Define here.
1094 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1097 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1099 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1101 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1103 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1104 fourth parameter needed for rt_sigprocmask syscall.
1105 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1106 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1107 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1108 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1109 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1110 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1112 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1115 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1116 comment about bounded pointers.
1117 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1118 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1120 2013-03-04 Andreas Jaeger <aj@suse.de>
1122 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1126 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1127 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1129 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1130 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1132 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1136 __ieee754_sqrl instead of __sqrl.
1138 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1140 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1141 * sysdeps/powerpc/fpu_control.h: ... here.
1142 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1143 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1144 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1145 * sysdeps/powerpc/bits/mathinline.h: ... here.
1147 2013-03-01 Roland McGrath <roland@hack.frob.com>
1149 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1150 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1151 to just [NEED_DL_SYSINFO_DSO].
1152 * elf/dl-support.c: Likewise.
1153 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1154 * elf/rtld.c (dl_main): Likewise.
1155 * elf/setup-vdso.h (setup_vdso): Likewise.
1156 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1157 * sysdeps/unix/sysv/linux/dl-sysdep.c
1158 (_dl_discover_osversion): Likewise.
1160 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1162 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1163 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1165 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1167 * NEWS: Mention libm performance improvements and non-x86 PI
1170 * csu/libc-start.c (__pthread_initialize_minimal): Change
1172 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1174 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1177 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1178 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1179 <bp-sym.h> and <bp-asm.h>.
1180 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1181 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1183 (memcpy): Don't use BP_SYM.
1184 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1186 (__mpn_add_n): Don't use BP_SYM.
1187 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1188 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1190 (__mpn_addmul_1): Don't use BP_SYM.
1191 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1192 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1194 (_setjmp): Don't use BP_SYM.
1195 (__novmx_setjmp): Likewise.
1196 (__GI__setjmp): Likewise.
1197 (__vmx_setjmp): Likewise.
1198 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1200 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1201 (__bzero): Don't use BP_SYM.
1202 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1203 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1204 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1205 <bp-sym.h> and <bp-asm.h>.
1206 (memcpy): Don't use BP_SYM.
1207 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1208 <bp-sym.h> and <bp-asm.h>.
1209 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1210 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1211 <bp-sym.h> and <bp-asm.h>.
1212 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1213 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1215 (__mpn_lshift): Don't use BP_SYM.
1216 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1217 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1219 (memset): Don't use BP_SYM.
1220 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1221 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1222 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1224 (__mpn_mul_1): Don't use BP_SYM.
1225 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1226 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1227 <bp-sym.h> and <bp-asm.h>.
1228 (memcmp): Don't use BP_SYM.
1229 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1230 <bp-sym.h> and <bp-asm.h>.
1231 (memcpy): Don't use BP_SYM.
1232 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1233 <bp-sym.h> and <bp-asm.h>.
1234 (memset): Don't use BP_SYM.
1235 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1236 <bp-sym.h> and <bp-asm.h>.
1237 (strncmp): Don't use BP_SYM.
1238 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1239 <bp-sym.h> and <bp-asm.h>.
1240 (memcpy): Don't use BP_SYM.
1241 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1242 <bp-sym.h> and <bp-asm.h>.
1243 (memset): Don't use BP_SYM.
1244 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1245 <bp-sym.h> and <bp-asm.h>.
1246 (__memchr): Don't use BP_SYM.
1247 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1248 <bp-sym.h> and <bp-asm.h>.
1249 (memcmp): Don't use BP_SYM.
1250 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1251 <bp-sym.h> and <bp-asm.h>.
1252 (memcpy): Don't use BP_SYM.
1253 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1254 <bp-sym.h> and <bp-asm.h>.
1255 (__mempcpy): Don't use BP_SYM.
1256 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1257 <bp-sym.h> and <bp-asm.h>.
1258 (__memrchr): Don't use BP_SYM.
1259 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1260 <bp-sym.h> and <bp-asm.h>.
1261 (memset): Don't use BP_SYM.
1262 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1263 <bp-sym.h> and <bp-asm.h>.
1264 (__rawmemchr): Don't use BP_SYM.
1265 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1266 <bp-sym.h> and <bp-asm.h>.
1267 (__STRCMP): Don't use BP_SYM.
1268 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1269 <bp-sym.h> and <bp-asm.h>.
1270 (strchr): Don't use BP_SYM.
1271 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1272 <bp-sym.h> and <bp-asm.h>.
1273 (__strchrnul): Don't use BP_SYM.
1274 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1275 <bp-sym.h> and <bp-asm.h>.
1276 (strlen): Don't use BP_SYM.
1277 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1278 <bp-sym.h> and <bp-asm.h>.
1279 (strncmp): Don't use BP_SYM.
1280 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1281 <bp-sym.h> and <bp-asm.h>.
1282 (__strnlen): Don't use BP_SYM.
1283 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1285 (__mpn_rshift): Don't use BP_SYM.
1286 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1287 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1288 <bp-sym.h> and <bp-asm.h>.
1289 (__sigsetjmp): Don't use BP_SYM.
1290 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1291 (L(start_addresses)): Don't use BP_SYM.
1293 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1295 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1296 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1297 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1298 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1300 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1301 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1302 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1303 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1305 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1307 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1308 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1310 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1312 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1313 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1314 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1316 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1318 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1320 (strncmp): Don't use BP_SYM,
1321 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1323 (__mpn_sub_n): Don't use BP_SYM.
1324 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1325 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1327 (__mpn_submul_1): Don't use BP_SYM.
1328 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1330 <bp-sym.h> and <bp-asm.h>.
1331 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1333 <bp-sym.h> and <bp-asm.h>.
1334 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1337 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1340 Use ZK to minimize writes to Z.
1341 (sub_magnitudes): Simplify code a bit.
1342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1343 Use ZK to minimize writes to Z.
1344 (sub_magnitudes): Simplify code a bit.
1346 2013-02-27 Roland McGrath <roland@hack.frob.com>
1348 * csu/gmon-start.c: Add special exception to license text.
1350 2013-02-27 Richard Henderson <rth@redhat.com>
1352 * scripts/config.guess: Update from config.git.
1353 * scripts/config.sub: Likewise.
1355 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1357 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1359 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1361 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1363 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1365 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1367 2013-02-26 Roland McGrath <roland@hack.frob.com>
1369 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1370 [$(build-shared = yes].
1372 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1374 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1375 (__mul): Reduce iterations for calculating mantissa.
1377 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1379 (__mpranred): Likewise.
1382 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1383 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1385 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1387 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1388 Define __attribute__.
1390 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1392 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1394 * posix/regex_internal.h (__attribute): Remove.
1395 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1396 (re_string_context_at): Likewise.
1397 (bitset_not): Use __attribute__ and mark function as possibly
1399 (bitset_merge): Likewise.
1400 (bitset_mask): Likewise.
1401 (re_string_char_size_at): Likewise.
1402 (re_string_wchar_at): Likewise.
1403 (re_string_elem_size_at): Likewise.
1405 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1407 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1411 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1416 (__dbl_mp): Likewise.
1417 (add_magnitudes): Likewise.
1418 (sub_magnitudes): Likewise.
1422 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1425 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1428 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1432 up changes with default code.
1433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1436 2013-02-24 Allan McRae <allan@archlinux.org>
1438 * manual/socket.texi (The Internet Namespace): Order menu items
1439 to match that in the file.
1441 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1442 node listing of the info page menu.
1444 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1447 * sysdeps/i386/bp-asm.h: Remove file.
1448 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1449 (PARMS): Do not use macros from bp-asm.h.
1453 (__mpn_add_n): Do not use BP_SYM
1454 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1456 (PARMS): Do not use macros from bp-asm.h.
1459 (__mpn_addmul_1): Do not use BP_SYM
1460 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1462 (PARMS): Do not use macros from bp-asm.h.
1464 (_setjmp): Likewise. Do not use BP_SYM.
1465 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1467 (PARMS): Do not use macros from bp-asm.h.
1469 (setjmp): Likewise. Do not use BP_SYM.
1470 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1472 (PARMS): Do not use macros from bp-asm.h.
1473 (__frexp): Do not use BP_SYM.
1475 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1477 (PARMS): Do not use macros from bp-asm.h.
1478 (__frexpf): Do not use BP_SYM.
1480 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1482 (PARMS): Do not use macros from bp-asm.h.
1483 (__frexpl): Do not use BP_SYM.
1485 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1487 (PARMS): Do not use macros from bp-asm.h.
1488 (__remquo): Do not use BP_SYM.
1490 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1492 (PARMS): Do not use macros from bp-asm.h.
1493 (__remquof): Do not use BP_SYM.
1494 (remquof): Likewise.
1495 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1497 (PARMS): Do not use macros from bp-asm.h.
1498 (__remquol): Do not use BP_SYM.
1499 (remquol): Likewise.
1500 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1502 (PARMS): Do not use macros from bp-asm.h.
1505 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1506 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1508 (PARMS): Do not use macros from bp-asm.h.
1509 (strlen): Do not use BP_SYM.
1510 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1512 (PARMS): Do not use macros from bp-asm.h.
1516 (__mpn_add_n): Do not use BP_SYM.
1517 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1519 (PARMS): Do not use macros from bp-asm.h.
1522 (__mpn_addmul_1): Do not use BP_SYM.
1523 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1526 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1528 (PARMS): Do not use macros from bp-asm.h.
1531 (__mpn_lshift): Do not use BP_SYM.
1532 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1534 (PARMS): Do not use macros from bp-asm.h.
1538 (memcpy): Likewise. Do not use BP_SYM.
1539 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1540 libc_hidden_def and weak_alias.
1541 (mempcpy): Do not use BP_SYM in weak_alias.
1542 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1544 (PARMS): Do not use macros from bp-asm.h.
1547 [!BZERO_P] (CHR): Likewise.
1548 (memset): Likewise. Do not use BP_SYM.
1549 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1551 (PARMS): Do not use macros from bp-asm.h.
1554 (__mpn_mul_1): Do not use BP_SYM.
1555 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1557 (PARMS): Do not use macros from bp-asm.h.
1560 (__mpn_rshift): Do not use BP_SYM.
1561 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1563 (PARMS): Do not use macros from bp-asm.h.
1566 (strchr): Likewise. Do not use BP_SYM.
1567 (index): Do not use BP_SYM in weak_alias.
1568 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1570 (PARMS): Do not use macros from bp-asm.h.
1573 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1574 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1576 (PARMS): Do not use macros from bp-asm.h.
1577 (strlen): Do not use BP_SYM.
1578 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1580 (PARMS): Do not use macros from bp-asm.h.
1584 (__mpn_sub_n): Do not use BP_SYM.
1585 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1587 (PARMS): Do not use macros from bp-asm.h.
1590 (__mpn_submul_1): Do not use BP_SYM.
1591 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1593 (PARMS): Do not use macros from bp-asm.h.
1597 (__mpn_add_n): Do not use BP_SYM.
1598 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1601 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1603 (PARMS): Do not use macros from bp-asm.h.
1606 (memcmp): Do not use BP_SYM.
1607 (bcmp): Do not use BP_SYM in weak_alias.
1608 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1610 (PARMS): Do not use macros from bp-asm.h.
1614 (memcpy): Likewise. Do not use BP_SYM.
1615 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1617 (PARMS): Do not use macros from bp-asm.h.
1621 (memmove): Likewise. Do not use BP_SYM.
1622 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1624 (PARMS): Do not use macros from bp-asm.h.
1628 (__mempcpy): Likewise. Do not use BP_SYM.
1629 (mempcpy): Do not use BP_SYM in weak_alias.
1630 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1632 (PARMS): Do not use macros from bp-asm.h.
1635 [!BZERO_P] (CHR): Likewise.
1636 (memset): Likewise. Do not use BP_SYM.
1637 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1639 (PARMS): Do not use macros from bp-asm.h.
1641 (strcmp): Do not use BP_SYM.
1642 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1644 (PARMS): Do not use macros from bp-asm.h.
1647 [USE_AS_STRTOK_R] (SAVE): Likewise.
1648 (FUNCTION): Likewise. Do not use BP_SYM.
1649 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1651 (strtok_r): Likewise.
1652 (__GI___strtok_r): Likewise.
1653 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1654 (PARMS): Do not use macros from bp-asm.h.
1657 (__mpn_lshift): Do not use BP_SYM.
1658 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1659 (PARMS): Do not use macros from bp-asm.h.
1662 (__memchr): Do not use BP_SYM.
1663 (memchr): Do not use BP_SYM in weak_alias.
1664 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1665 (PARMS): Do not use macros from bp-asm.h.
1668 (memcmp): Do not use BP_SYM.
1669 (bcmp): Do not use BP_SYM in weak_alias.
1670 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1671 (PARMS): Do not use macros from bp-asm.h.
1674 (__mpn_mul_1): Do not use BP_SYM.
1675 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1677 (PARMS): Do not use macros from bp-asm.h.
1680 (__rawmemchr): Do not use BP_SYM.
1681 (rawmemchr): Do not use BP_SYM in weak_alias.
1682 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1683 (PARMS): Do not use macros from bp-asm.h.
1686 (__mpn_rshift): Do not use BP_SYM.
1687 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1688 (PARMS): Do not use macros from bp-asm.h.
1690 (__sigsetjmp): Likewise. Do not use BP_SYM.
1691 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1692 (_start): Do not use BP_SYM.
1693 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1694 (PARMS): Do not use macros from bp-asm.h.
1697 (__stpcpy): Likewise. Do not use BP_SYM.
1698 (stpcpy): Do not use BP_SYM in weak_alias.
1699 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1701 (PARMS): Do not use macros from bp-asm.h.
1705 (__stpncpy): Likewise. Do not use BP_SYM.
1706 (stpncpy): Do not use BP_SYM in weak_alias.
1707 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1708 (PARMS): Do not use macros from bp-asm.h.
1711 (strchr): Likewise. Do not use BP_SYM.
1712 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1714 (PARMS): Do not use macros from bp-asm.h.
1717 (__strchrnul): Likewise. Do not use BP_SYM.
1718 (strchrnul): Do not use BP_SYM in weak_alias.
1719 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1721 (PARMS): Do not use macros from bp-asm.h.
1723 (strcspn): Do not use BP_SYM.
1724 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1726 (PARMS): Do not use macros from bp-asm.h.
1729 (strpbrk): Likewise. Do not use BP_SYM.
1730 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1732 (PARMS): Do not use macros from bp-asm.h.
1735 (strrchr): Likewise. Do not use BP_SYM.
1736 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1737 (PARMS): Do not use macros from bp-asm.h.
1739 (strspn): Do not use BP_SYM.
1740 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1741 (PARMS): Do not use macros from bp-asm.h.
1745 (FUNCTION): Likewise. Do not use BP_SYM.
1746 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1748 (strtok_r): Likewise.
1749 (__GI___strtok_r): Likewise.
1750 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1751 (PARMS): Do not use macros from bp-asm.h.
1755 (__mpn_sub_n): Do not use BP_SYM.
1756 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1758 (PARMS): Do not use macros from bp-asm.h.
1761 (__mpn_submul_1): Do not use BP_SYM.
1762 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1764 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1766 (PARMS): Do not use macros from bp-asm.h.
1771 (__clone): Do not use BP_SYM.
1772 (clone): Do not use BP_SYM in weak_alias.
1773 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1775 (PARMS): Do not use macros from bp-asm.h.
1777 (__mmap64): Do not use BP_SYM.
1778 (mmap64): Do not use BP_SYM in weak_alias.
1779 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1780 <bp-sym.h> and <bp-asm.h>.
1781 (PARMS): Do not use macros from bp-asm.h.
1782 (__posix_fadvise64_l64): Do not use BP_SYM.
1783 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1784 (PARMS): Do not use macros from bp-asm.h.
1786 (semtimedop): Do not use BP_SYM.
1787 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1790 2013-02-21 Allan McRae <allan@archlinux.org>
1792 * manual/message.texi (Charset conversion in gettext):
1793 Move @end statement to beginning of line.
1795 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1802 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1807 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1809 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1810 tail-call to the resolved function if pltexit isn't needed.
1812 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1815 or Y being zero as being unlikely.
1816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1819 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1821 * manual/nss.texi (System Databases and Name Service Switch):
1822 Remove frobnicate @pxref.
1824 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1826 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1827 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1829 2013-02-20 Petr Machata <pmachata@redhat.com>
1831 * elf/elf.h (R_ARM_TARGET1): New macro.
1832 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1833 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1834 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1835 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1836 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1837 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1838 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1839 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1840 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1841 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1842 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1843 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1844 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1845 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1846 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1847 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1848 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1849 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1850 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1851 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1852 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1853 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1854 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1855 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1856 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1857 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1858 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1859 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1860 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1861 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1862 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1863 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1864 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1865 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1866 (R_ARM_THM_GOT_BREL12): Likewise.
1867 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1868 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1869 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1870 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1871 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1872 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1873 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1874 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1875 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1877 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1879 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1880 __attribute_used__ to __attribute__ ((unused)).
1882 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1884 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1890 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1893 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1895 (ENTER): Remove both macro definitions.
1897 (CHECK_BOUNDS_LOW): Likewise.
1898 (CHECK_BOUNDS_HIGH): Likewise.
1899 (CHECK_BOUNDS_BOTH): Likewise.
1900 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1901 (RETURN_BOUNDED_POINTER): Likewise.
1902 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1903 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1904 (POP_ERRNO_LOCATION_RETURN): Likewise.
1905 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1906 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1907 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1909 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1910 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1911 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1912 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1913 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1914 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1915 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1916 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1917 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1918 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1919 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1920 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1921 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1922 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1924 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1925 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1927 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1928 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1929 * sysdeps/i386/i586/memset.S (memset): Likewise.
1930 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1931 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1932 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1934 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1935 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1936 Change uses of L(2) to L(out).
1937 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1938 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1939 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1940 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1941 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1943 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1944 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1946 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1947 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1948 (RETURN): Do not use macro LEAVE.
1949 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1950 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1951 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1952 * sysdeps/i386/i686/memset.S (memset): Likewise.
1953 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1954 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1955 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1956 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1958 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1959 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1960 L(1_2) and L(1_3) into L(1).
1961 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1962 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1963 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1964 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1965 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1966 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1967 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1968 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1969 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1971 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1972 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1973 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1974 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1975 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1976 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1977 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1978 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1979 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1980 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1981 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1982 * sysdeps/i386/strspn.S (strspn): Likewise.
1983 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1985 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1986 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1987 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1988 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1990 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1991 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1992 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1994 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1996 2013-02-19 Jakub Jelinek <jakub@redhat.com>
1998 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2001 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2003 * math/atest-exp.c (exp_mpn): Remove ROUND.
2004 * math/atest-exp2.c (exp_mpn): Likewise.
2005 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2007 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2008 * stdlib/tst-tls-atexit-lib.c: Likewise.
2009 * stdlib/tst-tls-atexit.c: Likewise.
2011 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2013 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2014 and __attribute_alloc_size__.
2016 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2018 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2019 __attribute_alloc_size__.
2020 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2021 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2023 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2025 * include/programs/xmalloc.h: New file.
2026 * catgets/gencat.c: Include it.
2027 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2028 * elf/pldd.c: Likewise.
2029 * iconv/iconv_charmap.c: Likewise.
2030 * iconv/iconvconfig.c: Likewise.
2031 * iconv/strtab.c: Likewise.
2032 * locale/programs/locale.c: Likewise.
2033 * locale/programs/localedef.h: Likewise.
2034 * locale/programs/simple-hash.c: Likewise.
2035 * nscd/nscd.h: Likewise.
2036 * nss/makedb.c: Likewise.
2037 * sysdeps/generic/ldconfig.h: Likewise.
2039 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2041 * Versions.def: Add GLIBC_2.18.
2042 * include/link.h (struct link_map): New member l_tls_dtor_count.
2043 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2044 (__call_tls_dtors): Likewise.
2045 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2046 __cxa_thread_atexit_impl.
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2063 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2064 (tests): Add test case tst-tls-atexit.
2065 (modules-names): Add shared library for tst-tls-atexit.
2066 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2067 (GLIBC_PRIVATE): Add __call_tls_dtors.
2068 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2070 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2071 * stdlib/tst-tls-atexit.c: New test case.
2072 * stdlib/tst-tls-atexit-lib.c: New test case.
2074 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2076 * elf/Versions (ld): Add _dl_find_dso_for_object.
2077 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2078 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2079 (dl_open_worker): Use _dl_find_dso_for_object.
2080 * elf/dl-sym.c (do_sym): Likewise.
2081 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2083 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2085 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2086 Syntactic changes only.
2087 (_dl_runtime_profile): Do a tail-call to the resolved function.
2089 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2092 * sysdeps/x86_64/bp-asm.h: Remove file.
2093 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2094 <bp-sym.h> and <bp-asm.h>.
2095 (__clone): Do not use BP_SYM.
2096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2097 <bp-sym.h> and <bp-asm.h>.
2098 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2099 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2101 (_setjmp): Do not use BP_SYM.
2102 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2104 (setjmp): Do not use BP_SYM.
2105 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2107 (mempcpy): Do not use BP_SYM in weak_alias.
2108 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2110 (strchr): Do not use BP_SYM.
2111 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2113 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2114 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2115 (_start): Do not use BP_SYM.
2116 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2118 (strcat): Do not use BP_SYM.
2119 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2121 (STRCMP): Do not use BP_SYM.
2122 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2124 (STRCPY): Do not use BP_SYM.
2125 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2127 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2129 (FUNCTION): Do not use BP_SYM.
2130 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2132 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2134 2013-02-17 Andreas Jaeger <aj@suse.de>
2136 * time/Versions: Sort entries.
2137 * string/Versions: Likewise.
2138 * resolv/Versions: Likewise.
2139 * posix/Versions: Likewise.
2140 * iconv/Versions: Likewise.
2141 * elf/Versions: Likewise.
2142 * wcsmbs/Versions: Likewise.
2144 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2146 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2147 loop termination condition.
2149 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2150 variable to calculate EZ.
2153 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2154 the lower precision input.
2156 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2159 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2160 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2161 (run-via-rtld-prefix): Do not handle %-bp tests.
2162 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2163 (all-object-suffixes): Remove .ob.
2164 (bppfx): Remove variable.
2165 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2166 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2167 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2168 [$(build-bounded) = yes] (libtype.ob): Likewise.
2169 * Makerules (elide-routines.ob): Remove variable.
2170 (do-tests-clean): Do not handle *-bp.out.
2171 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2172 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2173 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2174 (tests): Do not include $(tests-bp.out).
2175 (xtests): Do not include $(xtests-bp.out).
2176 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2177 [$(build-bounded) = yes] ($(addprefix
2178 $(objpfx),$(binaries-bounded))): Remove rule.
2179 ($(objpfx)%-bp.out): Remove rule.
2180 * config.make.in (build-bounded): Remove variable.
2181 * crypt/Makefile [$(build-bounded) = yes]
2182 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2183 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2185 [$(build-bounded) = yes] (install-lib): Likewise.
2186 [$(build-bounded) = yes] (generated): Likewise.
2187 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2189 * intl/Makefile [$(build-bounded) = yes]
2190 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2191 * math/Makefile [$(build-bounded) = yes]
2192 ($(tests:%=$(objpfx)%-bp): Likewise.
2193 * misc/Makefile [$(build-bounded) = yes]
2194 ($(objpfx)tst-tsearch-bp): Likewise.
2195 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2196 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2198 * string/Makefile (o-objects.ob): Remove variable.
2199 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2200 (CFLAGS-.ob): Remove variable.
2201 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2202 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2203 both definitions of variable.
2204 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2205 (ASFLAGS-.ob): Remove variable.
2207 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2210 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2211 Remove __BOUNDED_POINTERS__ from condition.
2212 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2213 * string/bits/string2.h [!__NO_STRING_INLINES &&
2214 !__BOUNDED_POINTERS__]: Likewise.
2215 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2217 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2218 Remove conditional code.
2219 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2220 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2221 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2225 * csu/libc-start.c: Do not include <bp-sym.h>.
2226 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2227 * elf/dl-open.c: Do not include <bp-sym.h>.
2228 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2229 * math/fegetenv.c: Do not include <bp-sym.h>.
2230 (fegetenv): Do not use BP_SYM in versioned symbols.
2231 * nptl/sysdeps/pthread/bits/libc-lockP.h
2232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2235 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2237 (__pthread_mutex_destroy): Likewise.
2238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2239 (__pthread_mutex_lock): Likewise.
2240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2241 (__pthread_mutex_trylock): Likewise.
2242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2243 (__pthread_mutex_unlock): Likewise.
2244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2245 (__pthread_mutexattr_init): Likewise.
2246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2247 (__pthread_mutexattr_destroy): Likewise.
2248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2249 (__pthread_mutexattr_settype): Likewise.
2250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2251 (__pthread_rwlock_init): Likewise.
2252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2253 (__pthread_rwlock_destroy): Likewise.
2254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2255 (__pthread_rwlock_rdlock): Likewise.
2256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2257 (__pthread_rwlock_tryrdlock): Likewise.
2258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2259 (__pthread_rwlock_wrlock): Likewise.
2260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2261 (__pthread_rwlock_trywrlock): Likewise.
2262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2263 (__pthread_rwlock_unlock): Likewise.
2264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2265 (__pthread_key_create): Likewise.
2266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2267 (__pthread_setspecific): Likewise.
2268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2269 (__pthread_getspecific): Likewise.
2270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2273 (_pthread_cleanup_push_defer): Likewise.
2274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2275 (_pthread_cleanup_pop_restore): Likewise.
2276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2277 (pthread_setcancelstate): Likewise.
2278 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2280 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2281 (memchr): Do not use BP_SYM in weak_alias.
2282 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2283 (fegetenv): Do not use BP_SYM in versioned symbols.
2284 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2285 (fesetenv): Do not use BP_SYM in versioned symbols.
2286 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2287 (feupdateenv): Do not use BP_SYM in versioned symbols.
2288 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2289 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2290 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2291 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2292 (open64): Do not use BP_SYM in weak_alias.
2293 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2294 (fegetenv): Do not use BP_SYM in versioned symbols.
2295 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2296 (fesetenv): Do not use BP_SYM in versioned symbols.
2297 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2298 (feupdateenv): Do not use BP_SYM in versioned symbols.
2299 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2300 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2301 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2302 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2303 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2304 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2305 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2307 (__libc_start_main): Do not use BP_SYM.
2309 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2312 redundant return line.
2316 (sub_magnitudes): Likewise.
2322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2326 (sub_magnitudes): Likewise.
2333 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2336 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2339 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2340 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2342 of __mul for squares.
2343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2347 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2348 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2350 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2353 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2355 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2356 prototype or function definition. Rename ubp_* variables and
2357 parameters. Remove argv definitions conditional on
2358 [__BOUNDED_POINTERS__].
2359 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2360 * elf/dl-runtime.c (_dl_fixup): Likewise.
2361 * include/set-hooks.h (RUN_HOOK): Likewise.
2362 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2364 * string/strcpy.c (strcpy): Do not use __unbounded.
2365 * sysdeps/generic/frame.h (struct layout): Likewise.
2366 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2367 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2368 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2369 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2370 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2371 (__backtrace): Likewise.
2372 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2374 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2375 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2376 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2378 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2379 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2380 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2381 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2382 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2383 Do not use __unbounded.
2384 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2385 Rename __unboundedrlimits parameter to rlimits in prototype.
2386 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2387 Do not use __unbounded.
2388 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2390 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2391 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2392 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2393 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2394 __ptrvalue or __unbounded.
2395 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2396 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2398 (__new_msgctl): Do not use __ptrvalue.
2399 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2401 (__libc_msgrcv): Do not use __ptrvalue.
2402 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2403 startup_info): Do not use __unbounded.
2404 (__libc_start_main): Likewise. Rename ubp_* variables and
2405 parameters. Remove argv definitions conditional on
2406 [__BOUNDED_POINTERS__].
2407 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2409 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2411 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2413 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2415 (__new_shmctl): Do not use __ptrvalue.
2416 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2417 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2419 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2421 (__libc_sigaction): Likewise.
2422 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2423 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2425 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2427 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2429 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2431 * string/mempcpy.c: Implement by calling memcpy.
2433 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2437 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2440 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2441 values in the mantissa.
2443 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2444 minimize writes to Z.
2445 (sub_magnitudes): Simplify code a bit.
2447 2013-02-12 Roland McGrath <roland@hack.frob.com>
2449 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2450 from the message. The linker prefixes all warnings with that already.
2452 2013-02-12 Andreas Schwab <schwab@suse.de>
2455 * posix/regexec.c (extend_buffers): Add parameter min_len.
2456 (check_matching): Pass minimum needed length.
2457 (clean_state_log_if_needed): Likewise.
2458 (get_subexp): Likewise.
2459 * posix/Makefile (tests): Add bug-regex34.
2460 (bug-regex34-ENV): Define.
2461 * posix/bug-regex34.c: New file.
2464 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2465 elements compare against the byte sequence of it, not its name.
2466 * posix/Makefile (tests): Add bug-regex35.
2467 (bug-regex35-ENV): Define.
2468 * posix/bug-regex35.c: New file.
2470 2013-02-11 Tom de Vries <tom@codesourcery.com>
2472 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2474 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2475 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2476 (CHECK_EOL): Add undef.
2478 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2480 * bits/stdlib-bsearch.h: New file.
2481 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2482 * stdlib/stdlib.h: Likewise.
2484 2013-02-11 Roland McGrath <roland@hack.frob.com>
2486 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2487 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2489 * manual/search.texi (Array Search Function): Add missing const in
2491 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2492 declaration to use rlim_t.
2493 (Basic Scheduling Functions): Remove erroneous const from
2494 sched_getparam prototype. Remove erroneous * from
2495 sched_get_priority_max and sched_get_priority_min prototypes.
2496 (Resource Usage): Fix summary @comment on vtimes to refer to
2497 sys/vtimes.h rather than vtimes.h.
2498 Add missing *s in vtimes prototype.
2499 (Limits on Resources): Fix ulimit prototype to return long int.
2500 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2501 prototypes to use long int rather than double.
2502 (BSD Random): Fix initstate and setstate to use char *, not void *.
2503 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2504 prototype to make second argument 'struct aiocb64 *const[]'.
2505 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2506 (Status of AIO Operations): Remove erroneous const in aio_return and
2507 aio_return64 prototypes.
2508 (Synchronizing I/O): Fix sync prototype to return void.
2509 * manual/startup.texi (Suboptions): Remove an erroneous const in
2510 getsubopt prototype.
2511 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2512 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2513 use size_t rather than int.
2514 (Scanning All Users): Likewise for getpwent_r.
2515 (Setting Groups): Add missing const to setgroups prototype.
2516 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2517 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2518 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2519 'const void *' rather than 'const char *'.
2520 (Host Address Functions): Likewise for inet_ntop.
2521 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2522 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2523 ssize_t for return value.
2524 (Sending Data): Likewise for send, sendto, sendmsg.
2525 (Socket Option Functions): Add a missing const in setsockopt prototype.
2526 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2527 use wchar_t for the argument.
2528 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2529 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2531 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2532 double/float/long double for second argument.
2533 Fix return types of significand, significandf, significandl.
2534 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2535 argument in fchmod prototype.
2536 (File Owner): Use uid_t and gid_t in fchown prototype.
2537 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2538 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2539 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2540 use 'const struct dirent **' as argument types to CMP function pointer
2542 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2543 (File Times): Fix summary magic @comment for struct utimbuf and utime
2544 to refer to utime.h, not time.h.
2545 * manual/string.texi (Argz Functions): Add missing const in
2546 argz_extract and argz_next prototypes.
2547 (Finding Tokens in a String): Likewise for basename.
2548 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2549 (Copying and Concatenation): Fix typo in wmemmove prototype.
2550 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2551 (Signal Stack): Remove erroneous const in sigstack prototype.
2552 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2554 (Simple Calendar Time): Likewise for stime.
2555 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2557 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2558 say sys/sysctl.h instead.
2559 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2560 and vsyslog prototypes.
2562 2013-02-11 Tom de Vries <tom@codesourcery.com>
2564 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2567 2013-02-11 Roland McGrath <roland@hack.frob.com>
2569 * misc/sys/mman.h: Fix typo in mremap comment.
2571 2013-02-08 Roland McGrath <roland@hack.frob.com>
2573 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2574 the '\0' terminator.
2576 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2579 * debug/segfault.c: Don't include <bp-checks.h>.
2580 * sysdeps/generic/bp-checks.h: Remove file.
2581 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2582 (__GETDENTS): Don't use CHECK_N.
2583 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2584 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2585 (__getgroups): Don't use CHECK_N.
2586 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2587 (setgroups): Don't use CHECK_N.
2588 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2589 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2590 (__libc_msgrcv): Don't use CHECK_N.
2591 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2592 (__libc_msgsnd): Don't use CHECK_N.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2595 (__libc_pread): Don't use CHECK_N.
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2597 include <bp-checks.h>.
2598 (__libc_pread64): Don't use CHECK_N.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2600 include <bp-checks.h>.
2601 (__libc_pwrite): Don't use CHECK_N.
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2603 include <bp-checks.h>.
2604 (__libc_pwrite64): Don't use CHECK_N.
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2607 (__libc_pread): Don't use CHECK_N.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2609 include <bp-checks.h>.
2610 (__libc_pread64): Don't use CHECK_N.
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2612 include <bp-checks.h>.
2613 (__libc_pwrite): Don't use CHECK_N.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2615 include <bp-checks.h>.
2616 (__libc_pwrite64): Don't use CHECK_N.
2617 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2618 (do_pread): Don't use CHECK_N.
2619 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2620 (do_pread64): Don't use CHECK_N.
2621 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2622 (do_pwrite): Don't use CHECK_N.
2623 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2624 (do_pwrite64): Don't use CHECK_N.
2625 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2626 (__libc_readv): Don't use CHECK_N.
2627 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2628 (semop): Don't use CHECK_N.
2629 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2631 (semtimedop): Don't use CHECK_N.
2632 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2633 (__libc_pread): Don't use CHECK_N.
2634 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2636 (__libc_pread64): Don't use CHECK_N.
2637 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2639 (__libc_pwrite): Don't use CHECK_N.
2640 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2642 (__libc_pwrite64): Don't use CHECK_N.
2643 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2645 (__libc_msgrcv): Don't use CHECK_N.
2646 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2647 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2648 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2649 (__libc_writev): Don't use CHECK_N.
2651 2013-02-08 Roland McGrath <roland@hack.frob.com>
2653 * string/strcpy.c: Removed unused variable.
2655 * Makeconfig (+sysdep-includes): Define with := rather than =.
2656 Use an existing include/ subdir of each sysdeps dir before it.
2658 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2660 * nscd/connection.c (register_traced_file): Comment function.
2661 [HAVE_INOTIFY] (union __inev): Define.
2662 [HAVE_INOTIFY] (inotify_check_files): New function.
2663 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2664 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2666 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2668 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2670 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2671 loaded if not already and that a failure is permanent.
2673 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2676 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2677 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2679 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2682 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2683 (CHECK_1_NULL_OK): Likewise.
2684 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2685 (__fxstat): Do not use CHECK_1.
2686 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2688 (___fxstat64): Do not use CHECK_1.
2689 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2691 (__fxstatat): Do not use CHECK_1.
2692 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2694 (__fxstatat64): Do not use CHECK_1.
2695 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2697 (__fxstat): Do not use CHECK_1.
2698 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2700 (__fxstatat): Do not use CHECK_1.
2701 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2703 (__getresgid): Do not use CHECK_1.
2704 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2706 (__getresuid): Do not use CHECK_1.
2707 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2709 (__lxstat): Do not use CHECK_1.
2710 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2712 (__old_msgctl): Do not use CHECK_1.
2713 (__new_msgctl): Likewise.
2714 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2716 (__new_setrlimit): Do not use CHECK_1.
2717 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2719 (__old_shmctl): Do not use CHECK_1.
2720 (__new_shmctl): Likewise.
2721 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2723 (__xstat): Do not use CHECK_1.
2724 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2725 (__lxstat): Do not use CHECK_1.
2726 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2728 (___lxstat64): Do not use CHECK_1.
2729 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2730 (__old_msgctl): Do not use CHECK_1.
2731 (__new_msgctl): Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2734 (__gettimeofday): Do not use CHECK_1.
2735 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2736 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2737 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2739 (__gettimeofday): Do not use CHECK_1.
2740 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2741 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2742 (__new_shmctl): Do not use CHECK_1.
2743 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2745 (do_sigtimedwait): Do not use CHECK_1.
2746 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2748 (do_sigwaitinfo): Do not use CHECK_1.
2749 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2751 (msgctl): Do not use CHECK_1.
2752 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2754 (shmctl): Do not use CHECK_1.
2755 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2756 (ustat): Do not use CHECK_1.
2757 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2759 (__fxstat): Do not use CHECK_1.
2760 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2762 (__fxstatat): Do not use CHECK_1.
2763 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2765 (__lxstat): Do not use CHECK_1.
2766 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2768 (__xstat): Do not use CHECK_1.
2769 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2770 (__xstat): Do not use CHECK_1.
2771 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2772 (___xstat64): Do not use CHECK_1.
2775 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2777 (CHECK_BOUNDS_HIGH): Likewise.
2778 * string/strcpy.c: Do not include <bp-checks.h>.
2779 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2781 2013-02-07 Roland McGrath <roland@hack.frob.com>
2783 * nscd/nscd-client.h (__nscd_drop_map_ref):
2784 Add __attribute__ ((unused)).
2785 * nis/nss-nisplus.h (niserr2nss): Likewise.
2787 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2788 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2790 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2791 Remove inline keyword.
2792 * include/rounding-mode.h (round_away): Likewise.
2793 * libio/wfileops.c (adjust_wide_data): Likewise.
2794 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2795 (__m128i_strloadu_tolower): Likewise.
2796 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2797 (__m128i_strloadu_tolower): Likewise.
2798 * time/mktime.c (ydhms_diff): Likewise.
2799 * locale/elem-hash.h (elem_hash): Likewise.
2800 * locale/setlocale.c (setdata): Likewise.
2801 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2802 (re_string_wchar_at): Likewise.
2803 (bitset_not, bitset_merge, bitset_mask): Likewise.
2804 [!(__GNUC__ > 3)] (inline): Remove macro.
2805 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2806 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2807 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2808 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2809 * string/memcmp.c (memcmp_bytes): Likewise.
2810 * locale/programs/locarchive.c (compute_hashval): Likewise.
2811 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2812 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2813 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2814 * nss/getent.c (print_rpc, print_protocols): Likewise.
2815 (print_passwd, print_group, print_aliases): Likewise.
2816 * nis/nss-nisplus.h (niserr2nss): Likewise.
2817 * nscd/connections.c (restart_p): Likewise.
2818 Change return type to bool.
2820 2013-02-05 Roland McGrath <roland@hack.frob.com>
2822 * Makeconfig (all-Depend-files): Add existing
2823 $(sorted-subdirs:=/Depend) files.
2824 (all-subdirs): Remove nss.
2825 * sysdeps/unix/inet/Subdirs: Add it here instead.
2826 * hesiod/Depend: New file.
2828 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2829 instead of calling alloca.
2831 * io/lseek.c (__lseek): Rename to __libc_lseek.
2832 Define __lseek as an alias.
2834 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2836 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2838 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2839 else clause and remove check for non-standard endianness.
2841 2013-02-04 David S. Miller <davem@davemloft.net>
2843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2845 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2848 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2849 (__ubp_memchr): Remove prototype.
2850 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2851 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2852 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2853 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2854 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2856 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2857 (__ubp_memchr): Likewise.
2858 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2859 (__ubp_memchr): Likewise.
2860 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2861 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2862 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2863 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2865 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2866 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2867 (__getcwd): Do not use CHECK_STRING.
2868 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2870 (__real_chown): Do not use CHECK_STRING.
2871 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2873 (fchownat): Do not use CHECK_STRING.
2874 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2876 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2878 (__lchown): Do not use CHECK_STRING.
2879 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2880 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2881 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2882 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2884 include <bp-checks.h>.
2885 (truncate64): Do not use CHECK_STRING.
2886 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2888 (__real_chown): Do not use CHECK_STRING.
2889 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2891 (__lchown): Do not use CHECK_STRING.
2892 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2894 (__chown): Do not use CHECK_STRING.
2895 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2897 (truncate64): Do not use CHECK_STRING.
2898 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2900 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2901 (__xmknod): Do not use CHECK_STRING.
2902 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2904 (__xmknodat): Do not use CHECK_STRING.
2905 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2906 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2908 2013-02-04 Andreas Schwab <schwab@suse.de>
2911 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2912 * include/netdb.h: Likewise for h_errno.
2913 * elf/tst-stackguard1.c: Include <tls.h>.
2915 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2917 * elf/link.h (struct link_map): Extend the l_addr comment.
2918 * include/link.h (struct link_map): Likewise.
2920 2013-02-01 Joseph Myers <joseph@codesourcery.com>
2923 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2924 (BOUNDED_1): Remove macro.
2925 * debug/backtrace.c: Don't include <bp-checks.h>.
2926 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2927 (__backtrace): Likewise.
2928 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2930 (__backtrace): Don't use BOUNDED_1.
2931 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2933 (__backtrace): Don't use BOUNDED_1.
2934 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2935 (__backtrace): Don't use BOUNDED_1.
2936 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2937 (shmat): Don't use BOUNDED_N.
2939 2013-01-31 Joseph Myers <joseph@codesourcery.com>
2942 * sysdeps/generic/bp-start.h: Remove file.
2943 * csu/libc-start.c: Don't include <bp-start.h>.
2944 (LIBC_START_MAIN): Set up __environ directly instead of using
2945 INIT_ARGV_and_ENVIRON.
2946 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2950 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2952 (CHECK_FCNTL): Likewise.
2953 (CHECK_N_PAGES): Likewise.
2956 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2958 (CHECK_SIGSET_NULL_OK): Likewise.
2959 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2961 (sigpending): Don't use CHECK_SIGSET.
2962 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2964 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2965 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2967 (do_sigsuspend): Don't use CHECK_SIGSET.
2968 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2970 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2971 (do_sigwait): Don't use CHECK_SIGSET.
2972 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2975 include <bp-checks.h>.
2976 (sigpending): Don't use CHECK_SIGSET.
2977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2978 include <bp-checks.h>.
2979 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2980 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2982 (sigpending): Don't use CHECK_SIGSET.
2983 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2985 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2988 * sysdeps/generic/bp-semctl.h: Remove file.
2989 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2990 <bp-checks.h> and <bp-semctl.h>.
2991 (__old_semctl): Don't use CHECK_SEMCTL.
2992 (__new_semctl): Likewise.
2993 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2995 (__old_semctl): Don't use CHECK_SEMCTL.
2996 (__new_semctl): Likewise.
2997 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2998 <bp-checks.h> and <bp-semctl.h>.
2999 (__old_semctl): Don't use CHECK_SEMCTL.
3000 (__new_semctl): Likewise.
3001 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3002 <bp-checks.h> and <bp-semctl.h>.
3003 (semctl): Don't use CHECK_SEMCTL.
3006 * Makerules (elide-bp-thunks): Remove variable.
3007 (elide-routines.oS): Don't use $(elide-bp-thunks).
3008 (elide-routines.os): Likewise.
3009 (elide-routines.o): Likewise.
3010 (elide-routines.op): Likewise.
3011 (elide-routines.og): Likewise.
3012 (objects): Don't use $(bp-thunks).
3013 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3015 (common-generated): Do not add s-proto-bp.d.
3016 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3019 Do not generate makefile rules for bounded-pointer thunks.
3020 * sysdeps/generic/bp-thunks.h: Remove file.
3021 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3022 * sysdeps/unix/s-proto-bp.S: Likewise.
3025 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3026 parts of result separately when argument is not close to line from
3027 -i to i and one part of argument is small.
3028 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3029 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3030 * math/libm-test.inc (cacos_test): Add more tests.
3031 (casin_test): Likewise.
3032 (casinh_test): Likewise.
3033 * sysdeps/i386/fpu/libm-test-ulps: Update.
3034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3036 2013-01-31 David S. Miller <davem@davemloft.net>
3038 * po/de.po: Update from translation team.
3040 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3042 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3044 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3046 * configure.in (_AC_PROG_CC_C89): New definition.
3047 * configure: Regenerate.
3049 * configure.in (AC_PROG_CPP): New definition.
3050 * configure: Regenerate.
3052 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3054 * debug/tst-backtrace.h: New file.
3055 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3056 (ret): Remove variable.
3058 (FAIL): Remove macro.
3059 (NO_INLINE): Likewise.
3060 (fn1): Use match function instead of strstr.
3061 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3062 (ret): Remove variable.
3064 (FAIL): Remove macro.
3065 (NO_INLINE): Likewise.
3066 (fn): Use match function instead of strstr.
3067 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3068 (ret): Remove variable.
3070 (FAIL): Remove macro.
3071 (NO_INLINE): Likewise.
3072 (handle_signal): Use match function instead of strstr.
3073 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3074 (ret): Remove variable.
3076 (FAIL): Remove macro.
3077 (NO_INLINE): Likewise.
3078 (handle_signal): Use match function instead of strstr.
3080 2013-01-23 Roland McGrath <roland@hack.frob.com>
3082 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3084 2013-01-23 David S. Miller <davem@davemloft.net>
3086 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3087 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3088 argument of CAS if possible.
3089 * sysdeps/sparc/sparc64/bits/atomic.h
3090 (__arch_compare_and_exchange_val_32_acq): Likewise.
3091 (__arch_compare_and_exchange_val_64_acq): Likewise.
3093 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3095 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3096 * sysdeps/posix/ulimit.c: ... this.
3098 * sysdeps/unix/bsd/ulimit.c: Remove file.
3100 2013-01-23 Adam Conrad <adconrad@0c3.net>
3102 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3103 (LDFLAGS-tst-array5): Likewise.
3105 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3108 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3109 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3110 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3111 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3113 2013-01-21 David S. Miller <davem@davemloft.net>
3115 * sysdeps/sparc/backtrace.c: New file.
3116 * sysdeps/sparc/sparc32/backtrace.h: New file.
3117 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3118 * sysdeps/sparc/sparc64/backtrace.h: New file.
3119 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3120 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3123 2013-01-21 Andreas Schwab <schwab@suse.de>
3126 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3129 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3135 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3136 Mark Mitchell <mark@codesourcery.com>
3137 Tom de Vries <tom@codesourcery.com>
3138 Paul Pluzhnikov <ppluzhnikov@google.com>
3140 * debug/tst-backtrace2.c: New file.
3141 * debug/tst-backtrace3.c: Likewise.
3142 * debug/tst-backtrace4.c: Likewise.
3143 * debug/tst-backtrace5.c: Likewise.
3144 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3145 (CFLAGS-tst-backtrace3.c): Likewise.
3146 (CFLAGS-tst-backtrace4.c): Likewise.
3147 (CFLAGS-tst-backtrace5.c): Likewise.
3148 (LDFLAGS-tst-backtrace2): Likewise.
3149 (LDFLAGS-tst-backtrace3): Likewise.
3150 (LDFLAGS-tst-backtrace4): Likewise.
3151 (LDFLAGS-tst-backtrace5): Likewise.
3152 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3153 tst-backtrace4 and tst-backtrace5.
3155 2013-01-18 Anton Blanchard <anton@samba.org>
3156 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3158 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3159 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3160 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3161 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3163 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3164 "+r" and remove output regs list as redundant. Add explicit inline
3165 asm to specify register of return val to work around compiler codegen
3166 bug. Remove (int) cast on return value. Add return type parameter to
3167 use in macro so that this macro does not truncate return value for
3169 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3170 pass to INTERNAL_VSYSCALL_NCS.
3171 (INLINE_VSYSCALL): Add 'long int' as return type to
3172 INTERNAL_VSYSCALL_NCS macro invocation.
3173 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3174 INTERNAL_VSYSCALL_NCS macro invocation.
3175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3177 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3180 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3181 Fix application of SIMD FP exception mask.
3183 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3184 mp_no from a power of two.
3185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3186 __mpexp_twomm1. Use __pow_mp.
3188 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3191 2013-01-17 David S. Miller <davem@davemloft.net>
3193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3195 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3198 * include/complex.h: Condition contents on [!_COMPLEX_H].
3199 (__kernel_casinhf): New prototype.
3200 (__kernel_casinh): Likewise.
3201 (__kernel_casinhl): Likewise.
3202 * math/Makefile (libm_calls): Add k_casinh.
3203 * math/k_casinh.c: New file.
3204 * math/k_casinhf.c: Likewise.
3205 * math/k_casinhl.c: Likewise.
3206 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3207 finite nonzero arguments.
3208 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3209 finite nonzero arguments.
3210 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3211 finite nonzero arguments.
3212 * math/s_casinh.c: Do not include <float.h>.
3213 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3214 * math/s_casinhf.c: Do not include <float.h>.
3215 (__casinhf): Move code for finite nonzero arguments to
3217 * math/s_casinhl.c: Do not include <float.h>.
3218 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3220 (__casinhl): Move code for finite nonzero arguments to
3222 * math/libm-test.inc (cacos_test): Add more tests.
3223 * sysdeps/i386/fpu/libm-test-ulps: Update.
3224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3226 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3228 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3229 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3230 [!HAVE_MREMAP]: Remove [defined linux] case.
3231 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3233 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3235 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3237 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3239 * elf/elf.h (R_386_SIZE32): New relocation.
3240 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3242 (elf_machine_rela): Likewise.
3243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3244 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3246 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3248 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3249 (FP_FAST_FMA): Do not define.
3250 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3251 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3252 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3253 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3254 !_SOFT_FLOAT]: Likewise.
3255 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3256 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3259 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3260 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3261 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3262 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3263 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3266 2013-01-16 Andreas Schwab <schwab@suse.de>
3269 * include/stdlib.h (__mktemp): Add declaration.
3270 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3271 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3273 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3275 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3277 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3278 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3279 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3281 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3282 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3284 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3286 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3287 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3288 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3290 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3291 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3293 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3295 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3297 2013-01-15 David S. Miller <davem@davemloft.net>
3299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3300 trunc{,f} to libm-sysdep_routes.
3301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3311 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3312 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3313 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3314 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3315 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3316 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3319 nearbyint{,f} to libm-sysdep_routes.
3320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3331 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3333 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3334 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3336 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3337 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3338 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3340 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3341 libc_feholdexcept and libc_fesetenv.
3343 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3345 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3347 2013-01-14 David S. Miller <davem@davemloft.net>
3349 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3350 (SPARC_ASM_VIS2_IFUNC): Likewise.
3351 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3353 use of 'siam' instruction.
3354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3387 routines to libm-sysdep_routines.
3388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3391 fdim/fdimf to libm-sysdep_routines.
3392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3400 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3401 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3402 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3403 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3405 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3407 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3410 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3415 local variable MPTWO.
3416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3419 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3421 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3424 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3426 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3428 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3430 * manual/pattern.texi (glob_t): Document gl_flags.
3431 (glob64_t): Likewise.
3433 2013-01-11 David S. Miller <davem@davemloft.net>
3435 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3436 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3437 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3438 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3439 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3440 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3441 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3442 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3443 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3444 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3445 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3446 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3447 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3449 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3450 sparc V9 rather than using V8 code.
3451 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3452 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3454 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3456 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3459 2013-01-11 Roland McGrath <roland@hack.frob.com>
3461 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3462 not in the main loop.
3463 * configure: Regenerated.
3465 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3467 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3468 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3470 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3471 [!__GLIBC_HAVE_LONG_LONG] case.
3472 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3473 condition to just #else.
3474 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3475 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3476 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3477 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3479 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3480 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3481 #elif condition to just #else.
3482 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3483 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3484 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3485 #elif condition to just #else.
3487 2013-01-11 Steve Ellcey <sellcey@mips.com>
3489 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3490 (EF_MIPS_ARCH_64): Fix value.
3491 (EF_MIPS_ARCH_32R2): New.
3492 (EF_MIPS_ARCH_64R2): New.
3494 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3496 * Makeconfig (+link-pie-before-libc): New.
3497 (+link-pie-after-libc): Likewise.
3498 (+link-pie-tests): Likewise.
3499 (+link-pie): Rewritten.
3500 (link-before-libc): Remove $(config-LDFLAGS).
3501 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3502 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3503 (config-LDFLAGS): Renamed to ...
3504 (rtld-LDFLAGS): This.
3505 (rtld-tests-LDFLAGS): New macro.
3506 (link-libc-rpath-link): Likewise.
3507 (link-libc-tests-rpath-link): Likewise.
3508 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3509 (link-libc): Prepand $(link-libc-rpath-link).
3510 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3511 (test-program-prefix): New macro.
3512 (test-via-rtld-prefix): Likewise.
3513 (test-program-cmd): Likewise.
3514 (host-test-program-cmd): Likewise.
3515 * Makefile ($(common-objpfx)testrun.sh): Replace
3516 $(run-program-prefix) with $(test-program-prefix).
3517 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3519 ($(common-objpfx)shlib.lds): Likewise.
3520 (build-module-helper): Likewise.
3521 ($(common-objpfx)format.lds): Likewise.
3522 * Rules (binaries-pie-tests): New.
3523 (binaries-pie-notests): Likewise.
3524 (binaries-pie): Rewritten.
3525 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3526 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3527 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3528 (make-test-out): Replace $(host-built-program-cmd) with
3529 $(host-test-program-cmd).
3530 * config.make.in (build-hardcoded-path-in-tests): New variable.
3531 * configure.in (--enable-hardcoded-path-in-tests): New configure
3533 (hardcoded_path_in_tests): New AC_SUBST.
3534 * configure: Regenerated.
3535 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3536 $(built-program-cmd) with $(test-program-cmd).
3537 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3538 (test_program_cmd): This.
3539 * elf/Makefile ($(objpfx)order.out): Run test with
3540 $(test-program-prefix).
3541 ($(objpfx)order2.out): Likewise.
3542 ($(objpfx)tst-initorder.out): Likewise.
3543 ($(objpfx)tst-initorder2.out): Likewise.
3544 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3545 $(test-program-cmd).
3546 ($(objpfx)tst-array1-static.out): Likewise.
3547 ($(objpfx)tst-array2.out): Likewise.
3548 ($(objpfx)tst-array3.out): Likewise.
3549 ($(objpfx)tst-array4.out): Likewise.
3550 ($(objpfx)tst-array5.out): Likewise.
3551 ($(objpfx)tst-array5-static.out): Likewise.
3552 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3553 $(test-program-cmd).
3554 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3555 $(run-program-prefix) with $(test-program-prefix).
3556 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3557 (test_program_prefix): This.
3558 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3559 $(run-program-prefix) with $(test-program-prefix).
3560 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3561 (test_program_prefix): This.
3562 * iconvdata/tst-tables.sh: Likewise.
3563 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3564 $(run-program-prefix) with $(test-program-prefix).
3565 ($(objpfx)tst-translit.out): Likewise.
3566 ($(objpfx)tst-gettext2.out): Likewise.
3567 ($(objpfx)tst-gettext4.out): Likewise.
3568 ($(objpfx)tst-gettext6.out): Likewise.
3569 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3570 (test_program_prefix): This.
3571 * intl/tst-gettext2.sh: Likewise.
3572 * intl/tst-gettext4.sh Likewise.
3573 * intl/tst-gettext6.sh: Likewise.
3574 * intl/tst-translit.sh: Likewise.
3575 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3576 with $(test-program-cmd).
3577 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3578 $(run-program-prefix) with $(test-program-prefix).
3579 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3580 (test_program_prefix): This.
3581 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3582 $(run-program-prefix) with $(test-program-prefix).
3583 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3584 (test_program_prefix): This.
3585 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3586 * posix/Makefile ($(objpfx)globtest.out): Replace
3587 $(run-via-rtld-prefix) and $(test-wrapper) with
3588 $(test-program-prefix) and $(test-via-rtld-prefix).
3589 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3590 $(test-program-prefix).
3591 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3592 $(host-test-program-cmd).
3593 (tst-spawn-ARGS): Likewise.
3594 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3595 $(test-program-prefix).
3596 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3597 (test_via_rtld_prefix): This.
3598 (test_wrapper): Renamed to ...
3599 (test_program_prefix): This.
3600 (run_program_prefix): Replaced by test_program_prefix.
3601 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3602 (test_program_prefix): This.
3603 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3604 with $(host-test-program-cmd).
3605 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3606 $(run-program-prefix) with $(test-program-prefix).
3607 ($(objpfx)tst-printf.out): Likewise.
3608 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3609 $(test-program-cmd).
3610 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3611 (test_program_prefix): This.
3612 * stdio-common/tst-unbputc.sh: Likewise.
3613 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3614 $(run-program-prefix) with $(test-program-prefix).
3615 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3616 (test_program_prefix): This.
3617 * string/Makefile ($(objpfx)tst-svc.out): Replace
3618 $(built-program-cmd) with $(test-program-cmd).
3620 2013-01-11 Andreas Jaeger <aj@suse.de>
3623 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3624 value. Sync with Linux 3.7.
3626 2013-01-10 David S. Miller <davem@davemloft.net>
3628 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3629 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3630 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3632 2013-01-10 Roland McGrath <roland@hack.frob.com>
3634 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3636 * configure: Regenerated.
3638 2013-01-10 David S. Miller <davem@davemloft.net>
3640 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3641 sparc V9 rather than using V8 code.
3642 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3643 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3645 2013-01-10 Roland McGrath <roland@hack.frob.com>
3647 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3648 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3649 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3650 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3651 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3652 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3653 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3654 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3655 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3656 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3657 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3658 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3659 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3660 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3661 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3662 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3663 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3664 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3665 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3666 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3667 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3668 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3669 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3670 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3671 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3672 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3673 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3675 2013-01-10 David S. Miller <davem@davemloft.net>
3677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3679 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3681 * posix/Makefile (tests-static): New variable.
3682 (tests): Add $(tests-static).
3683 (tst-exec-static-ARGS): New variable.
3684 (tst-spawn-static-ARGS): Likewise.
3685 * posix/tst-exec-static.c: New file.
3686 * posix/tst-spawn-static.c: Likewise.
3687 * posix/tst-exec.c: Support run directly.
3688 * posix/tst-spawn.c: Likewise.
3690 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3692 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3694 * math/bits/mathcalls.h (llrint): Likewise.
3695 (llround): Likewise.
3696 * stdlib/stdlib.h (struct drand48_data): Likewise.
3697 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3698 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3699 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3701 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3703 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3704 (elf_greg_t): Likewise.
3705 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3706 (__jmp_buf): Likewise.
3707 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3709 (llrint): Likewise, for all definitions.
3710 (llrintl): Likewise.
3712 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3713 Remove [__GNUC__] condition.
3714 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3715 condition to just [__USE_ISOC99].
3716 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3718 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3721 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3722 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3724 (_POSIX_V6_ILP32_OFF32): Likewise.
3725 (_XBS5_ILP32_OFF32): Likewise.
3726 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3727 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3729 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3731 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3734 doubles __mpexp_twomm1. Adjust usage.
3735 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3738 2013-01-10 Andreas Schwab <schwab@suse.de>
3741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3742 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3744 2013-01-09 David S. Miller <davem@davemloft.net>
3747 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3748 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3749 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3750 TCP_FASTOPEN): Define.
3751 (tcp_repair_opt): New structure.
3752 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3754 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3755 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3756 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3757 (tcp_cookie_transactions): New structure.
3759 2013-01-09 Anton Blanchard <anton@samba.org>
3761 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3762 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3764 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3766 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3768 * include/features.h (__USE_ANSI): Remove.
3770 2013-01-09 Roland McGrath <roland@hack.frob.com>
3772 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3774 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3776 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3778 * sysdeps/s390/fpu/libm-test-ulps: Update.
3780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3782 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3787 (__mp_dbl): Likewise.
3788 (__dbl_mp): Likewise.
3789 (add_magnitudes): Likewise.
3790 (sub_magnitudes): Likewise.
3796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3801 (__mp_dbl): Likewise.
3802 (__dbl_mp): Likewise.
3803 (add_magnitudes): Likewise.
3804 (sub_magnitudes): Likewise.
3810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3815 (__mp_dbl): Likewise.
3816 (__dbl_mp): Likewise.
3817 (add_magnitudes): Likewise.
3818 (sub_magnitudes): Likewise.
3825 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3827 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3828 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3829 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3830 2 && __USE_EXTERN_INLINES]: Likewise.
3832 2013-01-08 Andreas Jaeger <aj@suse.de>
3835 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3837 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3838 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3840 2013-01-07 Anton Blanchard <anton@samba.org>
3842 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3843 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3844 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3845 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3846 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3847 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3848 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3849 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3851 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3852 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3854 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3855 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3856 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3857 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3858 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3859 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3860 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3861 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3862 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3863 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3864 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3865 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3866 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3867 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3868 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3869 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3870 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3871 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3872 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3874 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3875 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3876 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3877 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3878 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3879 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3881 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3882 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3883 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3884 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3886 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3888 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3889 (__MALLOC_PMT): Likewise.
3890 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3891 [__GNUC__], only on [_LIBC].
3892 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3893 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3894 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3895 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3896 forward declaration.
3897 (realloc_hook_ini): Likewise.
3898 (memalign_hook_ini): Likewise.
3899 (__libc_memalign): Do not use __MALLOC_PMT in variable
3901 (__libc_valloc): Likewise.
3902 (__libc_pvalloc): Likewise.
3903 (__libc_calloc): Likewise.
3904 (__posix_memalign): Likewise.
3907 * math/s_casinh.c: Include <float.h>.
3908 (__casinh): Do not do computation with squaring and square root
3909 for large arguments.
3910 * math/s_casinhf.c: Include <float.h>.
3911 (__casinhf): Do not do computation with squaring and square root
3912 for large arguments.
3913 * math/s_casinhl.c: Include <float.h>.
3914 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3915 (__casinhl): Do not do computation with squaring and square root
3916 for large arguments.
3917 * math/libm-test.inc (casin_test): Add more tests.
3918 (casinh_test): Likewise.
3919 * sysdeps/i386/fpu/libm-test-ulps: Update.
3920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3922 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3924 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3925 (__x86_64_raw_data_cache_size): Likewise.
3926 (__x86_64_data_cache_size_half): Likewise.
3927 (__x86_64_raw_data_cache_size_half): Likewise.
3928 (__x86_64_shared_cache_size): Likewise.
3929 (__x86_64_raw_shared_cache_size): Likewise.
3930 (__x86_64_shared_cache_size_half): Likewise.
3931 (__x86_64_raw_shared_cache_size_half): Likewise.
3932 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3934 (__x86_data_cache_size): This.
3935 (__x86_64_raw_data_cache_size): Renamed to ...
3936 (__x86_raw_data_cache_size): This.
3937 (__x86_64_data_cache_size_half): Renamed to ...
3938 (__x86_data_cache_size_half): This.
3939 (__x86_64_raw_data_cache_size_half): Renamed to ...
3940 (__x86_raw_data_cache_size_half): This.
3941 (__x86_64_shared_cache_size): Renamed to ...
3942 (__x86_shared_cache_size): This.
3943 (__x86_64_raw_shared_cache_size): Renamed to ...
3944 (__x86_raw_shared_cache_size): This.
3945 (__x86_64_shared_cache_size_half): Renamed to ...
3946 (__x86_shared_cache_size_half): This.
3947 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3948 (__x86_raw_shared_cache_size_half): This.
3949 * sysdeps/x86_64/memcpy.S: Updated.
3950 * sysdeps/x86_64/memset.S: Likewise.
3951 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3952 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3953 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3955 2013-01-04 David S. Miller <davem@davemloft.net>
3957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3959 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3961 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3962 1 to avoid redefinition warning.
3963 (__USE_GNU): Don't define.
3964 (init_signaling_nan): Protoize.
3966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3968 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3970 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3972 (__cpymn): Likewise.
3973 (norm): Remove commented code.
3975 (__mp_dbl): Likewise.
3977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3978 (__cpymn): Likewise.
3979 (norm): Remove commented code.
3981 (__mp_dbl): Likewise.
3984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3985 mp_no value for 1.0 and 2.0.
3986 (norm): Use RADIXI instead of radixi.d.
3988 (__mul): Use 0.0 instead of zero.d.
3989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3990 mp_no value for 1.0 and 2.0.
3991 (norm): Use RADIXI instead of radixi.d.
3993 (__mul): Use 0.0 instead of zero.d.
3995 2013-01-04 Joseph Myers <joseph@codesourcery.com>
3998 * math/s_casinh.c (__casinh): Reduce finite argument to first
3999 quadrant then set signs of results at the end.
4000 * math/s_casinhf.c (__casinhf): Likewise.
4001 * math/s_casinhl.c (__casinhl): Likewise.
4002 * math/libm-test.inc (casin_test): Add more tests.
4003 (casinh_test): Likewise.
4004 * sysdeps/i386/fpu/libm-test-ulps: Update.
4005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4007 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4009 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4011 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4013 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4016 (__mp_dbl): Likewise.
4019 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4020 and adjust the header comment.
4022 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4023 variable name from declaration.
4025 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4028 Initialize COMMON_CPUID_INDEX_7 element.
4029 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4030 (CPUID_RTM): Likewise.
4031 (HAS_RTM): Likewise.
4032 (COMMON_CPUID_INDEX_7): New enum.
4034 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4037 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4038 size is zero, record memory as freed.
4040 2013-01-03 Andreas Jaeger <aj@suse.de>
4042 * po/ia.po: Add new Interlingua translation.
4044 2012-01-03 Allan McRae <allan@archlinux.org>
4046 * locale/programs/localedef.c: Fix description of '--posix' flag.
4048 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4050 * NEWS: Update dates in second copyright notice.
4051 * README: Update copyright dates in example.
4052 * manual/libc.texinfo: Update copyright dates.
4053 * scripts/test-installation.pl: Update copyright date in --version
4056 * hurd/ctty-input.c: Fix copyright notice formatting.
4057 * hurd/ctty-output.c: Likewise.
4058 * hurd/dtable.c: Likewise.
4059 * hurd/hurd-raise.c: Likewise.
4060 * hurd/hurdprio.c: Likewise.
4061 * hurd/msgportdemux.c: Likewise.
4062 * misc/sys/file.h: Likewise.
4063 * misc/sys/ioctl.h: Likewise.
4064 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4065 * sysdeps/mach/hurd/chdir.c: Likewise.
4066 * sysdeps/mach/hurd/fchdir.c: Likewise.
4067 * sysdeps/mach/hurd/rename.c: Likewise.
4068 * sysdeps/mach/hurd/rmdir.c: Likewise.
4069 * sysdeps/mach/hurd/seekdir.c: Likewise.
4070 * sysdeps/mach/hurd/setsid.c: Likewise.
4071 * sysdeps/posix/wait3.c: Likewise.
4073 * All files with FSF copyright notices: Update copyright dates
4074 using scripts/update-copyrights.
4075 * intl/plural.c: Regenerated.
4076 * locale/programs/charmap-kw.h: Likewise.
4077 * locale/programs/locfile-kw.h: Likewise.
4079 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4081 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4084 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4085 calculation loop and add branch prediction.
4087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4088 check access beyond bounds of m1np.
4090 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4092 (__inv): Remove local variable MPTWO to use the global
4094 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4097 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4098 MP3HALFS static const.
4100 2013-01-01 David S. Miller <davem@davemloft.net>
4102 * po/ca.po: Update from translation team.
4104 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4106 * scripts/update-copyrights: New file.
4107 * Makeconfig: Reformat copyright notice.
4108 * ctype/ctype.h: Likewise.
4109 * debug/swprintf_chk.c: Likewise.
4110 * elf/dl-cache.c: Likewise.
4111 * elf/dl-debug.c: Likewise.
4112 * elf/dl-object.c: Likewise.
4113 * grp/initgroups.c: Likewise.
4114 * hurd/Makefile: Likewise.
4115 * hurd/hurd/signal.h: Likewise.
4116 * hurd/hurdfault.c: Likewise.
4117 * hurd/hurdioctl.c: Likewise.
4118 * hurd/hurdlookup.c: Likewise.
4119 * hurd/intr-msg.c: Likewise.
4120 * iconv/gconv_open.c: Likewise.
4121 * libio/swprintf.c: Likewise.
4122 * locale/lc-ctype.c: Likewise.
4123 * locale/nl_langinfo.c: Likewise.
4124 * mach/Machrules: Likewise.
4125 * mach/Makefile: Likewise.
4126 * malloc/obstack.h: Likewise.
4127 * manual/Makefile: Likewise.
4128 * manual/tsort.awk: Likewise.
4129 * misc/bits/stab.def: Likewise.
4130 * nis/nis_print_group_entry.c: Likewise.
4131 * nis/nis_table.c: Likewise.
4132 * nis/nss_compat/compat-pwd.c: Likewise.
4133 * nis/nss_compat/compat-spwd.c: Likewise.
4134 * po/Makefile: Likewise.
4135 * posix/fnmatch.c: Likewise.
4136 * posix/regex.h: Likewise.
4137 * resolv/Makefile: Likewise.
4138 * resolv/nss_dns/dns-network.c: Likewise.
4139 * resolv/res_hconf.c: Likewise.
4140 * scripts/gen-sorted.awk: Likewise.
4141 * soft-fp/soft-fp.h: Likewise.
4142 * stdio-common/printf.h: Likewise.
4143 * stdlib/monetary.h: Likewise.
4144 * stdlib/random.c: Likewise.
4145 * stdlib/random_r.c: Likewise.
4146 * sysdeps/generic/Makefile: Likewise.
4147 * sysdeps/gnu/Makefile: Likewise.
4148 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4150 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4152 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4155 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4156 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4158 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4159 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4161 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4176 * sysdeps/mach/hurd/errnos.awk: Likewise.
4177 * sysdeps/mach/hurd/fork.c: Likewise.
4178 * sysdeps/mach/hurd/getcwd.c: Likewise.
4179 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4180 * sysdeps/mach/hurd/mmap.c: Likewise.
4181 * sysdeps/mach/hurd/utimes.c: Likewise.
4182 * sysdeps/mach/hurd/xmknod.c: Likewise.
4183 * sysdeps/posix/profil.c: Likewise.
4184 * sysdeps/posix/readdir_r.c: Likewise.
4185 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4186 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4187 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4188 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4190 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4191 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4192 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4194 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4195 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4196 * sysdeps/pthread/lio_listio.c: Likewise.
4197 * sysdeps/sparc/dl-procinfo.h: Likewise.
4198 * sysdeps/unix/i386/sysdep.S: Likewise.
4199 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4200 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4201 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4202 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4204 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4205 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4206 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4207 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4208 * sysdeps/wordsize-32/divdi3.c: Likewise.
4209 * time/sys/time.h: Likewise.
4210 * wcsmbs/Makefile: Likewise.
4212 2013-01-01 David S. Miller <davem@davemloft.net>
4214 * po/fr.po: Update from translation team.
4216 * catgets/gencat.c: Update copyright year.
4217 * csu/version.c: Likewise.
4218 * debug/catchsegv.sh: Likewise.
4219 * debug/pcprofiledump.c: Likewise.
4220 * debug/xtrace.sh: Likewise.
4221 * elf/ldconfig.c: Likewise.
4222 * elf/ldd.bash.in: Likewise.
4223 * elf/pldd.c: Likewise.
4224 * elf/sotruss.ksh: Likewise.
4225 * elf/sprof.c: Likewise.
4226 * iconv/iconv_prog.c: Likewise.
4227 * iconv/iconvconfig.c: Likewise.
4228 * locale/programs/locale.c: Likewise.
4229 * locale/programs/localedef.c: Likewise.
4230 * login/programs/pt_chown.c: Likewise.
4231 * malloc/memusage.sh: Likewise.
4232 * malloc/memusagestat.c: Likewise.
4233 * malloc/mtrace.pl: Likewise.
4234 * nscd/nscd.c: Likewise.
4235 * nss/getent.c: Likewise.
4236 * nss/makedb.c: Likewise.
4237 * posix/getconf.c: Likewise.
4239 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4241 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4244 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4246 * math/bits/mathcalls.h (modf): Use __nonnull.
4248 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4250 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4251 (split): Use macro CN instead of the bare value.
4252 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4255 instead of the bare value.
4258 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4262 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4264 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4266 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4267 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4268 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4269 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4271 2012-12-28 Andreas Jaeger <aj@suse.de>
4273 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4274 values are from Linux 3.7.
4276 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4277 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4279 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4281 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4284 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4286 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4287 variables with preprocessor constants.
4288 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4289 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4290 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4292 2012-12-27 Bruno Haible <bruno@clisp.org>
4295 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4298 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4301 and use variable directly.
4302 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4304 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4306 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4307 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4309 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4311 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4312 include directive. Remove local variable MPONE.
4313 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4314 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4315 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4317 2012-12-25 David S. Miller <davem@davemloft.net>
4319 * version.h (RELEASE): Set to "development".
4320 (VERSION): Set to "2.17.90".
4321 * NEWS: Add 2.18 section.
4323 2012-12-21 David S. Miller <davem@davemloft.net>
4325 * po/hr.po: Update from translation team.
4327 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4329 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4331 2012-12-19 Steve Ellcey <sellcey@mips.com>
4333 * NEWS: Mention new memcpy for MIPS.
4335 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4337 * manual/contrib.texi (Contributors): Spelling correction.
4339 2012-12-15 David S. Miller <davem@davemloft.net>
4341 * po/ru.po: Update from translation team.
4343 2012-12-13 David S. Miller <davem@davemloft.net>
4345 * NEWS: Mention IFUNC testsuite enhancements.
4347 * po/pl.po: Update from translation team.
4348 * po/bg.po: Likewise.
4350 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4351 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4353 2012-12-11 David S. Miller <davem@davemloft.net>
4355 * po/sv.po: Update from translation team.
4357 * po/vi.po: Update from translation team.
4359 * po/cs.po: Update from translation team.
4361 * po/de.po: Update from translation team.
4362 * po/eo.po: Likewise.
4363 * po/nl.po: Likewise.
4365 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4368 * manual/argp.texi (Argp Helper Functions): Move node to follow
4372 * manual/conf.texi (Limits on File System Capacity): Mention if
4373 terminating null is included in the max size.
4375 2012-12-10 Andreas Jaeger <aj@suse.de>
4377 * po/cs.po: Update from translation team.
4379 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4381 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4382 void pointer and cast to uintptr_t.
4383 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4385 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4386 * sysdeps/s390/s390-64/memset.S: Likewise.
4388 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4391 * menual/message.texi (Message Translation): Fix typos.
4392 (Helper programs for gettext): Likewise.
4394 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4397 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4400 2012-12-07 David S. Miller <davem@davemloft.net>
4402 * po/libc.pot: Update.
4404 2012-12-07 Richard Henderson <rth@redhat.com>
4407 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4408 normal/normal case to before the switch.
4409 (_FP_DIV): Likewise.
4411 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4412 Mike Frysinger <vapier@gentoo.org>
4414 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4415 check for __NR_fadvise64_64.
4417 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4419 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4420 0, not just to plain "0" as a statement.
4421 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4424 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4426 * NEWS: Use sourceware.org in Bugzilla URL.
4428 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4431 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4433 * stdio-common/tst-put-error.c (do_test): Add newline to the
4434 padded test to ensure flush.
4436 2012-12-05 Jeff Law <law@redhat.com>
4438 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4440 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4442 * README: Don't refer to ports add-on as distributed separately.
4443 Mention AArch64 in list of systems supported in the ports add-on.
4445 * LICENSES: Add more non-FSF copyright and license notices.
4447 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4450 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4452 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4453 10000 as width of padded output.
4455 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4457 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4459 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4460 variable LX with __attribute__ ((unused)).
4461 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4463 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4465 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4466 with __attribute__ ((unused)).
4468 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4470 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4472 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4474 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4475 (CFLAGS-nldbl-acos.c): New variable.
4476 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4477 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4478 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4479 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4480 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4481 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4482 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4483 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4484 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4485 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4486 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4487 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4488 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4489 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4490 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4491 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4492 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4493 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4494 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4495 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4496 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4497 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4498 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4499 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4500 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4501 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4502 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4503 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4504 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4505 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4506 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4507 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4508 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4509 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4510 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4511 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4512 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4513 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4514 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4515 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4516 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4517 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4518 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4519 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4520 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4521 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4522 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4523 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4524 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4525 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4526 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4527 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4528 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4529 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4530 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4531 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4532 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4533 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4534 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4535 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4536 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4537 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4538 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4539 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4540 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4541 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4575 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4578 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4579 whole low double instead of just low 47 bits when splitting values
4582 2012-12-03 Allan McRae <allan@archlinux.org>
4584 * manual/stdio.texi (Predefined Printf Handlers): Remove
4585 @hsep and @vsep usage.
4587 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4589 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4590 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4592 2012-12-03 Jeff Law <law@redhat.com>
4594 * time/sys/time.h (settimeofday): Do not mark TV argument
4597 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4599 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4600 when currently writing and seek to current position when not.
4601 * libio/Makefile (tests): Remove bug-fclose1.
4602 * libio/bug-fclose1.c: Delete.
4604 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4606 * manual/arith.texi (feenableexcept): Fix typo.
4607 (fedisableexcept): Likewise.
4609 2012-11-30 Roland McGrath <roland@hack.frob.com>
4611 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4612 second, differently-typed declaration, rather than a cast.
4614 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4616 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4617 * include/rpc/svc.h: ... here.
4619 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4622 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4623 depending n and resplen2 to catch cases where answer
4626 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4628 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4629 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4631 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4633 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4635 2012-11-29 Roland McGrath <roland@hack.frob.com>
4637 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4639 2012-11-28 Jeff Law <law@redhat.com>
4642 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4643 dataset_temporary. Track alloca usage into alloca_used.
4644 If dataset is large allocate and release it via malloc/free.
4646 2012-06-04 Florian Weimer <fweimer@redhat.com>
4649 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4651 2012-11-28 David S. Miller <davem@davemloft.net>
4653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4655 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4658 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4659 of pi/2 rounded to nearest to 64 bits.
4660 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4662 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4665 2012-11-28 Jeff Law <law@redhat.com>
4666 Martin Osvald <mosvald@redhat.com>
4669 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4670 * sunrpc/svc.c: Include time.h.
4671 (__svc_accept_failed): New function.
4672 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4673 any reason other than EINTR, call __svc_accept_failed.
4674 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4675 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4677 2012-11-28 Andreas Schwab <schwab@suse.de>
4679 * scripts/abilist.awk: Also handle indirect functions in .opd
4682 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4685 * sysdeps/x86/fpu/powl_helper.c: New file.
4686 * sysdeps/x86/fpu/Makefile: Likewise.
4687 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4689 (__ieee754_powl): Use __powl_helper for finite arguments except
4690 integer exponents below 8.
4691 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4693 (__ieee754_powl): Use __powl_helper for finite arguments except
4694 integer exponents below 8.
4695 * math/libm-test.inc (pow_test): Add more tests and enable some
4696 previously disabled tests.
4697 * sysdeps/i386/fpu/libm-test-ulps: Update.
4698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4700 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4701 Carlos O'Donell <carlos_odonell@mentor.com>
4703 * nss/makedb.c (is_prime): Assert that input is odd and greater
4704 than 4. Note that fact in a comment too.
4705 (next_prime): Add 4 to input.
4707 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4710 * libio/Makefile (tests): Add test case tst-fwrite-error.
4711 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4712 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4713 * libio/tst-fwrite-error.c: New test case.
4715 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4717 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4718 before casting to void *.
4719 * include/libc-internal.h (__pointer_type): New macro.
4720 (__integer_if_pointer_type_sub): Likewise.
4721 (__integer_if_pointer_type): Likewise.
4722 (cast_to_integer): Likewise.
4723 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4724 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4725 before casting to atomic64_t.
4726 (atomic_exchange_acq): Likewise.
4727 (__arch_exchange_and_add_body): Likewise.
4728 (__arch_add_body): Likewise.
4729 (atomic_add_negative): Likewise.
4730 (atomic_add_zero): Likewise.
4732 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4734 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4735 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4736 (add_fdes): Likewise.
4737 (linear_search_fdes): Likewise.
4738 (binary_search_unencoded_fdes): Likewise.
4740 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4742 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4744 2012-11-24 Adam Conrad <adconrad@0c3.net>
4746 * configure.in: Autodetect C++ header directories.
4747 * configure: Regenerated.
4749 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4751 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4753 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4757 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4759 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4760 LDBL_MANT_DIG == 106]: Disable some tests.
4761 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4763 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4767 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4768 input for small inputs. Return +/- pi/2 for large inputs.
4769 * math/libm-test.inc (atan_test): Add more tests.
4771 * sysdeps/generic/unwind-dw2-fde-glibc.c
4772 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4773 __attribute__ ((unused)).
4776 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4777 x * y if x and y are nonzero and z is zero.
4780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4781 nonzero exponents with absolute value below 0x1p-117 to +/-
4785 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4786 up arguments below 2**-450, not just those below 2**-500.
4787 * math/libm-test.inc (hypot_test): Add another test.
4790 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4791 Return a+b for ratio over 2**120, not 2**60.
4792 * math/libm-test.inc (hypot_test): Add another test.
4794 * math/libm-test.inc (clog_test): Use
4795 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4796 (clog10_test): Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4801 2012-11-22 Andreas Schwab <schwab@suse.de>
4803 * sysdeps/i386/fpu/libm-test-ulps: Update.
4805 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4807 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4808 printf output with newline.
4810 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4813 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4814 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4815 -z nodlopen, -z initfirst and -z execstack support.
4816 * configure: Regenerated.
4818 * elf/elf.h (DF_1_NODIRECT): New macro.
4819 (DF_1_IGNMULDEF): Likewise.
4820 (DF_1_NOKSYMS): Likewise.
4821 (DF_1_NOHDR): Likewise.
4822 (DF_1_EDITED): Likewise.
4823 (DF_1_NORELOC): Likewise.
4824 (DF_1_SYMINTPOSE): Likewise.
4825 (DF_1_GLOBAUDIT): Likewise.
4826 (DF_1_SINGLETON): Likewise.
4827 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4828 DT_1_SUPPORTED_MASK bits.
4829 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4831 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4833 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4835 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4837 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4840 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4841 (sendmmsg): Move declarations...
4842 * socket/sys/socket.h: ... here.
4843 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4844 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4846 * socket/recvmmsg.c: ... this new file.
4847 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4848 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4849 definition of __sendmmsg hidden.
4850 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4851 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4852 Move ENOSYS stub into and include it from...
4853 * socket/sendmmsg.c: ... this new file.
4854 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4855 (sysdep_routines): Move recvmmsg and sendmmsg...
4856 * socket/Makefile (routines): ... here.
4857 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4858 (GLIBC_PRIVATE): Add __sendmmsg.
4859 * include/sys/socket.h (__sendmmsg): Add declarations.
4860 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4863 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4865 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4866 variable I1 with __attribute__ ((unused)).
4867 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4869 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4871 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4872 DUMMY variables with __attribute__ ((unused)).
4874 * bits/byteswap.h: Include <bits/types.h>.
4875 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4877 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4879 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4880 string_t. Do not manually set errno.
4881 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4882 length with __strnlen. Make sure to both set errno and return it on
4885 2012-11-19 David S. Miller <davem@davemloft.net>
4887 With help from Joseph Myers.
4888 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4889 very large arguments properly.
4890 * math/libm-test.inc (atan_test): New tests.
4891 (atan2_test): New tests.
4892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4895 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4898 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4901 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4902 [POSIX] (EADDRNOTAVAIL): Likewise.
4903 [POSIX] (EAFNOSUPPORT): Likewise.
4904 [POSIX] (EALREADY): Likewise.
4905 [POSIX] (ECONNABORTED): Likewise.
4906 [POSIX] (ECONNREFUSED): Likewise.
4907 [POSIX] (ECONNRESET): Likewise.
4908 [POSIX] (EDESTADDRREQ): Likewise.
4909 [POSIX] (EDQUOT): Likewise.
4910 [POSIX] (EHOSTUNREACH): Likewise.
4911 [POSIX] (EIDRM): Likewise.
4912 [POSIX] (EISCONN): Likewise.
4913 [POSIX] (ELOOP): Likewise.
4914 [POSIX] (EMULTIHOP): Likewise.
4915 [POSIX] (ENETDOWN): Likewise.
4916 [POSIX] (ENETUNREACH): Likewise.
4917 [POSIX] (ENOBUFS): Likewise.
4918 [POSIX] (ENODATA): Likewise.
4919 [POSIX] (ENOLINK): Likewise.
4920 [POSIX] (ENOMSG): Likewise.
4921 [POSIX] (ENOPROTOOPT): Likewise.
4922 [POSIX] (ENOSR): Likewise.
4923 [POSIX] (ENOSTR): Likewise.
4924 [POSIX] (ENOTCONN): Likewise.
4925 [POSIX] (ENOTSOCK): Likewise.
4926 [POSIX] (EOPNOTSUPP): Likewise.
4927 [POSIX] (EOVERFLOW): Likewise.
4928 [POSIX] (EPROTO): Likewise.
4929 [POSIX] (EPROTONOSUPPORT): Likewise.
4930 [POSIX] (EPROTOTYPE): Likewise.
4931 [POSIX] (ESTALE): Likewise.
4932 [POSIX] (ETIME): Likewise.
4933 [POSIX] (ETXTBSY): Likewise.
4934 [POSIX] (EWOULDBLOCK): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4936 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4937 [POSIX] (SEEK_CUR): Likewise.
4938 [POSIX] (SEEK_END): Likewise.
4939 [POSIX || UNIX98] (mode_t): Do not require.
4940 [POSIX] (off_t): Likewise.
4941 [POSIX] (pid_t): Likewise.
4942 [POSIX] (sys/stat.h): Do not allow header.
4943 [POSIX] (unistd.h): Likewise.
4944 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4945 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4946 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4947 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4949 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4950 sigevent): Specify elements.
4951 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4953 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4954 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4956 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4957 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4958 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4959 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4960 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4961 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4962 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4963 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4964 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4965 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4966 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4967 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4968 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4969 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4973 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4975 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4977 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4978 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4979 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4980 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4981 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4982 Specify lower bound on value.
4983 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4984 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4985 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4986 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4987 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4988 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4989 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4990 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4992 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4994 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4995 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4996 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4997 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4998 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4999 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5000 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5001 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5002 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5003 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5004 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5005 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5006 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5007 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5008 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5009 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5011 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5013 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5014 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5015 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5016 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5020 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5021 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5022 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5023 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5025 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5026 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5028 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5029 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5030 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5032 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5033 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5034 specify as optional.
5035 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5036 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5037 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5038 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5039 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5040 [XPG3] (NL_LANGMAX): Likewise.
5041 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5042 [POSIX || XPG3] (NL_NMAX): Likewise.
5043 [POSIX || XPG3] (NL_SETMAX): Likewise.
5044 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5045 [XPG3] (NZERO): Likewise.
5046 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5047 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5048 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5049 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5050 (REG_ERANGE): Expect.
5051 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5053 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5054 Use (void) in prototype.
5055 [POSIX] (*_t): Allow.
5056 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5057 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5058 (WRDE_BADVAL): Expect.
5060 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5062 [XPG3 || XPG4] (O_RSYNC): Likewise.
5063 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5065 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5066 [XPG3 || XPG4] (sigqueue): Likewise.
5067 [XPG3 || XPG4] (sigtimedwait): Likewise.
5068 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5069 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5070 [XPG3 || XPG4] (vsnprintf): Likewise.
5071 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5073 [XPG3 || XPG4] (blksize_t): Likewise.
5074 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5076 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5077 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5078 [XPG3 || XPG4] (struct itimerspec): Likewise.
5079 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5080 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5081 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5082 [XPG3 || XPG4] (clockid_t): Likewise.
5083 [XPG3 || XPG4] (timer_t): Likewise.
5084 [XPG3 || XPG4] (clock_getres): Likewise.
5085 [XPG3 || XPG4] (clock_gettime): Likewise.
5086 [XPG3 || XPG4] (clock_settime): Likewise.
5087 [XPG3 || XPG4] (nanosleep): Likewise.
5088 [XPG3 || XPG4] (timer_create): Likewise.
5089 [XPG3 || XPG4] (timer_delete): Likewise.
5090 [XPG3 || XPG4] (timer_gettime): Likewise.
5091 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5092 [XPG3 || XPG4] (timer_settime): Likewise.
5093 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5094 [XPG3 || XPG4] (getlogin_r): Likewise.
5095 [XPG3 || XPG4] (pread): Likewise.
5096 [XPG3 || XPG4] (pthread_atfork): Likewise.
5097 [XPG3 || XPG4] (pwrite): Likewise.
5100 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5103 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5105 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5106 finalizing MALLSTREAM.
5108 * sysdeps/mach/hurd/syncfs.c: New file.
5110 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5113 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5114 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5115 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5116 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5117 (_nss_dns_gethostbyname4_r): Likewise.
5118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5119 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5121 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5124 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5126 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5128 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5129 * elf/cache.c (print_entry): Print ",AArch64" for
5132 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5133 * elf/cache.c (print_entry): Print ",hard-float" for
5136 2012-11-18 David S. Miller <davem@davemloft.net>
5138 With help from Joseph Myers.
5139 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5141 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5143 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5144 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5146 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5147 * math/libm-test.inc (y0_test): New tests.
5148 (y1_test): New tests.
5149 * sysdeps/i386/fpu/libm-test-ulps: Update.
5150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5153 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5155 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5157 * configure: Regenerated.
5159 2012-11-17 David S. Miller <davem@davemloft.net>
5162 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5163 nonzero exponents with absolute value below 0x1p-128 to +/-
5166 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5168 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5170 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5172 * posix/getconf-speclist.c: New file.
5173 * posix/posix-envs.def: Likewise.
5174 * posix/confstr.c (START_ENV_GROUP): New macro.
5175 (END_ENV_GROUP): Likewise.
5176 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5177 (KNOWN_PRESENT_ENV_STRING): Likewise.
5178 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5179 (UNKNOWN_ENVIRONMENT): Likewise.
5180 (confstr): Include posix-envs.def instead of handling
5181 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5182 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5183 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5184 (END_ENV_GROUP): Likewise.
5185 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5186 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5187 (UNKNOWN_ENVIRONMENT): Likewise.
5188 (__sysconf): Include posix-envs.def instead of handling associated
5189 cases directly here.
5190 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5191 preprocessing getconf-speclist.c rather than running getconf or
5192 generating empty file.
5194 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5196 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5198 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5201 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5203 2012-11-16 David S. Miller <davem@davemloft.net>
5205 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5206 smaller than LDBL_EPSILON/2.0L, just return xm1.
5208 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5210 * elf/tst-array1.c (init): Set constructor priority to 1000.
5211 (fini): Set destructor priority to 1000.
5212 * elf/tst-array2dep.c: Likewise.
5214 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5217 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5218 (_IO_new_file_xsputn): Also return EOF if none of the input
5219 data was written when overflow failed.
5220 * libio/iopadn.c (_IO_padn): Likewise.
5221 * libio/iowpadn.c (_IO_wpadn): Likewise.
5222 * stdio-common/tst-put-error.c: Add copyright notice.
5223 (do_test): Add case for printing padded string.
5224 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5225 _IO_padn returned error.
5226 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5227 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5230 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5232 * libio/libioP.h: Add comment note that the references to C++
5233 bits are now obsolete.
5235 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5237 * math/libm-test.inc (check_complex): Use asprintf.
5239 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5241 * debug/pcprofiledump.c (print_version): Update copyright year.
5242 * malloc/memusagestat.c (print_version): Likewise.
5244 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5247 * elf/Makefile (tests): Add tst-audit8.
5248 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5249 ($(objpfx)tst-audit8.out): New target.
5250 (tst-audit8-ENV): New variable.
5251 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5252 audit if l_reloc_result is NULL.
5253 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5254 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5255 * elf/tst-audit8.c: New file.
5257 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5259 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5260 * misc/Makefile (CFLAGS-select.c): Define.
5261 * posix/Makefile (CFLAGS-pause.c): Define.
5263 2012-11-13 David S. Miller <davem@davemloft.net>
5265 * crypt/Makefile: Move test targets after toplevel Rules
5266 inclusion. Grab any necessary sysdep routines when linking.
5267 * crypt/md5.c (md5_process_block): Remove define, we will always
5268 name it __md5_process_block.
5269 (md5_finish_ctx): Update md5_process_block call.
5270 (md5_stream): Likewise.
5271 (md5_process_bytes): Likewise.
5272 (md5_process_block): Rename to __md5_process_block and move to ...
5273 * crypt/md5-block.c: ... here.
5274 * crypt/sha256.c (sha256_process_block): Move to ...
5275 * crypt/sha256-block.c: ... here.
5276 * crypt/sha512.c (sha512_process_block): Move to ...
5277 * crypt/sha512-block.c: ... here.
5278 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5280 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5281 * sysdeps/sparc/sparc64/multiarch/Makefile
5282 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5284 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5285 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5287 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5288 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5289 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5290 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5291 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5292 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5293 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5294 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5295 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5297 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5298 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5300 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5302 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5304 * timezone/tzselect.ksh: Update from tzcode git revision
5305 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5306 * timezone/zdump.c: Likewise.
5307 * timezone/zic.c: Likewise.
5308 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5309 in TZVERSION setting, not $(PKGVERSION).
5310 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5311 REPORT_BUGS_TO settings.
5314 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5317 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5319 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5320 detection to immediately after _FP_ROUND().
5321 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5324 2012-11-11 David S. Miller <davem@davemloft.net>
5326 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5328 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5329 __close rather than their public counterparts.
5331 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5333 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5335 [UNIX98] (sem_timedwait): Do not expect.
5336 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5337 [XPG4 || UNIX98] (sockatmark): Do not expect.
5338 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5339 (clock_getcpuclockid): Do not expect.
5340 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5341 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5343 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5344 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5345 [UNIX98] (vwscanf): Likewise.
5346 [UNIX98] (vswscanf): Likewise.
5348 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5350 * timezone/version.h: Remove file.
5351 * timezone/README: Do not refer to version.h.
5352 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5354 ($(objpfx)zdump.o): Likewise.
5355 ($(objpfx)version.h): New target.
5357 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5359 * timezone/README: Don't mention modification to tzselect.ksh.
5360 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5361 work on unmodified tzselect.ksh. Substitute version numbers in
5364 * Makefile (format-me): Remove.
5365 (INSTALL): Adjust indentation. Use commands directly instead of
5368 * aclocal.m4 (ACX_PKGVERSION): New macro.
5369 (ACX_BUGURL): Likewise.
5370 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5371 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5372 (REPORT_BUGS_TO): Likewise.
5373 * configure: Regenerated.
5374 * config.h.in (PKGVERSION): New macro.
5375 (REPORT_BUGS_TO): Likewise.
5376 * config.make.in (PKGVERSION): New variable.
5377 (PKGVERSION_TEXI): Likewise.
5378 (REPORT_BUGS_TO): Likewise.
5379 (REPORT_BUGS_TEXI): Likewise.
5380 * Makefile (format-me): Use -I$(common-objpfx)manual.
5381 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5382 ($(common-objpfx)manual/%): New target.
5383 (manual/%): Remove target.
5384 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5385 (print_version): Use PKGVERSION.
5386 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5387 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5389 ($(objpfx)xtrace): Likewise.
5390 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5391 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5392 (print_version): Use PKGVERSION.
5393 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5394 (do_version): Use PKGVERSION.
5395 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5397 (common-ldd-rewrite): Likewise.
5398 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5399 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5400 (print_version): Use PKGVERSION.
5401 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5402 * elf/pldd.c (argp_program_bug_address): Remove variable.
5403 (more_help): New function.
5404 (argp): Use more_help.
5405 (print_version): Use PKGVERSION.
5406 * elf/sln.c (main): Use PKGVERSION.
5407 (usage): Use REPORT_BUGS_TO.
5408 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5409 (top level): Use PKGVERSION.
5410 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5411 (print_version): Use PKGVERSION.
5412 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5413 (print_version): Use PKGVERSION.
5414 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5415 (print_version): Use PKGVERSION.
5416 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5417 (print_version): Use PKGVERSION.
5418 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5419 (print_version): Use PKGVERSION.
5420 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5421 (print_version): Use PKGVERSION.
5422 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5424 ($(objpfx)memusage): Likewise.
5425 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5426 (do_version): Use PKGVERSION.
5427 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5428 (print_version): Use PKGVERSION.
5429 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5430 ($PKGVERSION): New variable.
5431 ($REPORT_BUGS_TO): Likewise.
5432 (usage): Use $REPORT_BUGS_TO.
5433 (top level): Use $PKGVERSION.
5434 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5435 ($(objpfx)pkgvers.texi): New rule.
5436 ($(objpfx)stamp-pkgvers): Likewise.
5437 * manual/install.texi: Include pkgvers.texi.
5438 (--with-pkgversion): Document new configure option.
5439 (--with-bugurl): Likewise.
5440 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5441 than necessarily for this particular distribution. Use
5442 REPORT_BUGS_TO for where to report bugs.
5443 * INSTALL: Regenerated.
5444 * manual/libc.texinfo: Include pkgvers.texi.
5445 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5446 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5447 (print_version): Use PKGVERSION.
5448 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5449 (print_version): Use PKGVERSION.
5450 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5451 (print_version): Use PKGVERSION.
5452 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5453 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5455 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5456 (print_version): Use PKGVERSION.
5457 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5458 (print_version): Use PKGVERSION.
5459 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5462 * timezone/checktab.awk: Update from tzcode 2012i.
5463 * timezone/ialloc.c: Likewise.
5464 * timezone/private.h: Likewise.
5465 * timezone/scheck.c: Likewise.
5466 * timezone/tzfile.h: Likewise.
5467 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5468 (TZVERSION): Hardcode tzcode version number.
5469 * timezone/zdump.c: Update from tzcode 2012i.
5470 * timezone/zic.c: Likewise.
5471 * timezone/version.h: New file.
5472 * timezone/README: Describe version.h. Update upstream location.
5475 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5476 (mktemp): Enable declaration.
5477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5494 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5495 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5496 for copies of such integer values.
5497 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5498 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5500 2012-11-09 Andreas Jaeger <aj@suse.de>
5502 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5503 definitions and declarations that are provided by
5504 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5506 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5508 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5509 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5510 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5513 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5515 * elf/elf.h: Update comment before AArch64 relocations.
5517 2012-11-07 David S. Miller <davem@davemloft.net>
5519 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5520 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5521 (__start_context): Declare.
5522 (__makecontext_ret): Delete.
5523 (__makecontext): Hook up __start_context instead of
5525 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5526 (sysdep_routines): Add __start_context when in stdlib.
5528 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5530 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5531 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5532 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5534 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5535 (READELF): New variable. Use it instead of hardcoded "readelf".
5537 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5539 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5540 * sysdeps/x86/Makefile: Here.
5541 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5542 * sysdeps/x86/tst-xmmymm.sh: This.
5544 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5546 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5548 [UNIX98] (pthread_barrier_t): Do not expect.
5549 [UNIX98] (pthread_barrierattr_t): Likewise.
5550 [UNIX98] (pthread_spinlock_t): Likewise.
5551 [UNIX98] (pthread_barrier_destroy): Likewise.
5552 [UNIX98] (pthread_barrier_init): Likewise.
5553 [UNIX98] (pthread_barrier_wait): Likewise.
5554 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5555 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5556 [UNIX98] (pthread_barrierattr_init): Likewise.
5557 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5558 [UNIX98] (pthread_getcpuclockid): Likewise.
5559 [UNIX98] (pthread_mutex_timedlock): Likewise.
5560 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5561 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5562 [UNIX98] (pthread_sigmask): Likewise.
5563 [UNIX98] (pthread_spin_destroy): Likewise.
5564 [UNIX98] (pthread_spin_init): Likewise.
5565 [UNIX98] (pthread_spin_lock): Likewise.
5566 [UNIX98] (pthread_spin_trylock): Likewise.
5567 [UNIX98] (pthread_spin_unlock): Likewise.
5568 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5570 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5571 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5572 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5573 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5574 [XPG3 || XPG4] (pthread_key_t): Likewise.
5575 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5576 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5577 [XPG3 || XPG4] (pthread_once_t): Likewise.
5578 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5579 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5580 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5581 [XPG3 || XPG4] (pthread_t): Likewise.
5583 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5585 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5587 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5588 Change function return type to int.
5590 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5591 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5592 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5593 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5594 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5595 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5596 [!POSIX] (posix_madvise): Likewise.
5597 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5599 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5600 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5602 (posix_mem_offset): Likewise.
5603 (posix_typed_mem_get_info): Likewise.
5604 (posix_typed_mem_open): Likewise.
5606 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5607 Change condition to [XOPEN2K8].
5609 * conform/conformtest.pl: Preprocess allow-header data with -x c
5610 instead of from stdin.
5611 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5612 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5613 [C99-based standards] (cerfc): Likewise.
5614 [C99-based standards] (cexp2): Likewise.
5615 [C99-based standards] (cexpm1): Likewise.
5616 [C99-based standards] (clog10): Likewise.
5617 [C99-based standards] (clog1p): Likewise.
5618 [C99-based standards] (clog2): Likewise.
5619 [C99-based standards] (clgamma): Likewise.
5620 [C99-based standards] (ctgamma): Likewise.
5621 [C99-based standards] (cerff): Likewise.
5622 [C99-based standards] (cerfcf): Likewise.
5623 [C99-based standards] (cexp2f): Likewise.
5624 [C99-based standards] (cexpm1f): Likewise.
5625 [C99-based standards] (clog10f): Likewise.
5626 [C99-based standards] (clog1pf): Likewise.
5627 [C99-based standards] (clog2f): Likewise.
5628 [C99-based standards] (clgammaf): Likewise.
5629 [C99-based standards] (ctgammaf): Likewise.
5630 [C99-based standards] (cerfl): Likewise.
5631 [C99-based standards] (cerfcl): Likewise.
5632 [C99-based standards] (cexp2l): Likewise.
5633 [C99-based standards] (cexpm1l): Likewise.
5634 [C99-based standards] (clog10l): Likewise.
5635 [C99-based standards] (clog1pl): Likewise.
5636 [C99-based standards] (clog2l): Likewise.
5637 [C99-based standards] (clgammal): Likewise.
5638 [C99-based standards] (ctgammal): Likewise.
5639 * conform/data/inttypes.h-data [C99-based standards]: Include
5640 stdint.h-data. Remove all expectations for stdint.h contents.
5641 [C99-based standards] (PRI*): Do not allow.
5642 [C99-based standards] (SCN*): Likewise.
5643 [C99-based standards] (*_t): Likewise.
5644 [C99-based-standards] (PRId8): Expect macro.
5645 [C99-based-standards] (PRIi8): Likewise.
5646 [C99-based-standards] (PRIo8): Likewise.
5647 [C99-based-standards] (PRIu8): Likewise.
5648 [C99-based-standards] (PRIx8): Likewise.
5649 [C99-based-standards] (PRIX8): Likewise.
5650 [C99-based-standards] (SCNd8): Likewise.
5651 [C99-based-standards] (SCNi8): Likewise.
5652 [C99-based-standards] (SCNo8): Likewise.
5653 [C99-based-standards] (SCNu8): Likewise.
5654 [C99-based-standards] (SCNx8): Likewise.
5655 [C99-based-standards] (PRIdLEAST8): Likewise.
5656 [C99-based-standards] (PRIiLEAST8): Likewise.
5657 [C99-based-standards] (PRIoLEAST8): Likewise.
5658 [C99-based-standards] (PRIuLEAST8): Likewise.
5659 [C99-based-standards] (PRIxLEAST8): Likewise.
5660 [C99-based-standards] (PRIXLEAST8): Likewise.
5661 [C99-based-standards] (SCNdLEAST8): Likewise.
5662 [C99-based-standards] (SCNiLEAST8): Likewise.
5663 [C99-based-standards] (SCNoLEAST8): Likewise.
5664 [C99-based-standards] (SCNuLEAST8): Likewise.
5665 [C99-based-standards] (SCNxLEAST8): Likewise.
5666 [C99-based-standards] (PRIdFAST8): Likewise.
5667 [C99-based-standards] (PRIiFAST8): Likewise.
5668 [C99-based-standards] (PRIoFAST8): Likewise.
5669 [C99-based-standards] (PRIuFAST8): Likewise.
5670 [C99-based-standards] (PRIxFAST8): Likewise.
5671 [C99-based-standards] (PRIXFAST8): Likewise.
5672 [C99-based-standards] (SCNdFAST8): Likewise.
5673 [C99-based-standards] (SCNiFAST8): Likewise.
5674 [C99-based-standards] (SCNoFAST8): Likewise.
5675 [C99-based-standards] (SCNuFAST8): Likewise.
5676 [C99-based-standards] (SCNxFAST8): Likewise.
5677 [C99-based-standards] (PRId16): Likewise.
5678 [C99-based-standards] (PRIi16): Likewise.
5679 [C99-based-standards] (PRIo16): Likewise.
5680 [C99-based-standards] (PRIu16): Likewise.
5681 [C99-based-standards] (PRIx16): Likewise.
5682 [C99-based-standards] (PRIX16): Likewise.
5683 [C99-based-standards] (SCNd16): Likewise.
5684 [C99-based-standards] (SCNi16): Likewise.
5685 [C99-based-standards] (SCNo16): Likewise.
5686 [C99-based-standards] (SCNu16): Likewise.
5687 [C99-based-standards] (SCNx16): Likewise.
5688 [C99-based-standards] (PRIdLEAST16): Likewise.
5689 [C99-based-standards] (PRIiLEAST16): Likewise.
5690 [C99-based-standards] (PRIoLEAST16): Likewise.
5691 [C99-based-standards] (PRIuLEAST16): Likewise.
5692 [C99-based-standards] (PRIxLEAST16): Likewise.
5693 [C99-based-standards] (PRIXLEAST16): Likewise.
5694 [C99-based-standards] (SCNdLEAST16): Likewise.
5695 [C99-based-standards] (SCNiLEAST16): Likewise.
5696 [C99-based-standards] (SCNoLEAST16): Likewise.
5697 [C99-based-standards] (SCNuLEAST16): Likewise.
5698 [C99-based-standards] (SCNxLEAST16): Likewise.
5699 [C99-based-standards] (PRIdFAST16): Likewise.
5700 [C99-based-standards] (PRIiFAST16): Likewise.
5701 [C99-based-standards] (PRIoFAST16): Likewise.
5702 [C99-based-standards] (PRIuFAST16): Likewise.
5703 [C99-based-standards] (PRIxFAST16): Likewise.
5704 [C99-based-standards] (PRIXFAST16): Likewise.
5705 [C99-based-standards] (SCNdFAST16): Likewise.
5706 [C99-based-standards] (SCNiFAST16): Likewise.
5707 [C99-based-standards] (SCNoFAST16): Likewise.
5708 [C99-based-standards] (SCNuFAST16): Likewise.
5709 [C99-based-standards] (SCNxFAST16): Likewise.
5710 [C99-based-standards] (PRId32): Likewise.
5711 [C99-based-standards] (PRIi32): Likewise.
5712 [C99-based-standards] (PRIo32): Likewise.
5713 [C99-based-standards] (PRIu32): Likewise.
5714 [C99-based-standards] (PRIx32): Likewise.
5715 [C99-based-standards] (PRIX32): Likewise.
5716 [C99-based-standards] (SCNd32): Likewise.
5717 [C99-based-standards] (SCNi32): Likewise.
5718 [C99-based-standards] (SCNo32): Likewise.
5719 [C99-based-standards] (SCNu32): Likewise.
5720 [C99-based-standards] (SCNx32): Likewise.
5721 [C99-based-standards] (PRIdLEAST32): Likewise.
5722 [C99-based-standards] (PRIiLEAST32): Likewise.
5723 [C99-based-standards] (PRIoLEAST32): Likewise.
5724 [C99-based-standards] (PRIuLEAST32): Likewise.
5725 [C99-based-standards] (PRIxLEAST32): Likewise.
5726 [C99-based-standards] (PRIXLEAST32): Likewise.
5727 [C99-based-standards] (SCNdLEAST32): Likewise.
5728 [C99-based-standards] (SCNiLEAST32): Likewise.
5729 [C99-based-standards] (SCNoLEAST32): Likewise.
5730 [C99-based-standards] (SCNuLEAST32): Likewise.
5731 [C99-based-standards] (SCNxLEAST32): Likewise.
5732 [C99-based-standards] (PRIdFAST32): Likewise.
5733 [C99-based-standards] (PRIiFAST32): Likewise.
5734 [C99-based-standards] (PRIoFAST32): Likewise.
5735 [C99-based-standards] (PRIuFAST32): Likewise.
5736 [C99-based-standards] (PRIxFAST32): Likewise.
5737 [C99-based-standards] (PRIXFAST32): Likewise.
5738 [C99-based-standards] (SCNdFAST32): Likewise.
5739 [C99-based-standards] (SCNiFAST32): Likewise.
5740 [C99-based-standards] (SCNoFAST32): Likewise.
5741 [C99-based-standards] (SCNuFAST32): Likewise.
5742 [C99-based-standards] (SCNxFAST32): Likewise.
5743 [C99-based-standards] (PRId64): Likewise.
5744 [C99-based-standards] (PRIi64): Likewise.
5745 [C99-based-standards] (PRIo64): Likewise.
5746 [C99-based-standards] (PRIu64): Likewise.
5747 [C99-based-standards] (PRIx64): Likewise.
5748 [C99-based-standards] (PRIX64): Likewise.
5749 [C99-based-standards] (SCNd64): Likewise.
5750 [C99-based-standards] (SCNi64): Likewise.
5751 [C99-based-standards] (SCNo64): Likewise.
5752 [C99-based-standards] (SCNu64): Likewise.
5753 [C99-based-standards] (SCNx64): Likewise.
5754 [C99-based-standards] (PRIdLEAST64): Likewise.
5755 [C99-based-standards] (PRIiLEAST64): Likewise.
5756 [C99-based-standards] (PRIoLEAST64): Likewise.
5757 [C99-based-standards] (PRIuLEAST64): Likewise.
5758 [C99-based-standards] (PRIxLEAST64): Likewise.
5759 [C99-based-standards] (PRIXLEAST64): Likewise.
5760 [C99-based-standards] (SCNdLEAST64): Likewise.
5761 [C99-based-standards] (SCNiLEAST64): Likewise.
5762 [C99-based-standards] (SCNoLEAST64): Likewise.
5763 [C99-based-standards] (SCNuLEAST64): Likewise.
5764 [C99-based-standards] (SCNxLEAST64): Likewise.
5765 [C99-based-standards] (PRIdFAST64): Likewise.
5766 [C99-based-standards] (PRIiFAST64): Likewise.
5767 [C99-based-standards] (PRIoFAST64): Likewise.
5768 [C99-based-standards] (PRIuFAST64): Likewise.
5769 [C99-based-standards] (PRIxFAST64): Likewise.
5770 [C99-based-standards] (PRIXFAST64): Likewise.
5771 [C99-based-standards] (SCNdFAST64): Likewise.
5772 [C99-based-standards] (SCNiFAST64): Likewise.
5773 [C99-based-standards] (SCNoFAST64): Likewise.
5774 [C99-based-standards] (SCNuFAST64): Likewise.
5775 [C99-based-standards] (SCNxFAST64): Likewise.
5776 [C99-based-standards] (PRIdMAX): Likewise.
5777 [C99-based-standards] (PRIiMAX): Likewise.
5778 [C99-based-standards] (PRIoMAX): Likewise.
5779 [C99-based-standards] (PRIuMAX): Likewise.
5780 [C99-based-standards] (PRIxMAX): Likewise.
5781 [C99-based-standards] (PRIXMAX): Likewise.
5782 [C99-based-standards] (SCNdMAX): Likewise.
5783 [C99-based-standards] (SCNiMAX): Likewise.
5784 [C99-based-standards] (SCNoMAX): Likewise.
5785 [C99-based-standards] (SCNuMAX): Likewise.
5786 [C99-based-standards] (SCNxMAX): Likewise.
5787 [C99-based-standards] (PRIdPTR): Likewise.
5788 [C99-based-standards] (PRIiPTR): Likewise.
5789 [C99-based-standards] (PRIoPTR): Likewise.
5790 [C99-based-standards] (PRIuPTR): Likewise.
5791 [C99-based-standards] (PRIxPTR): Likewise.
5792 [C99-based-standards] (PRIXPTR): Likewise.
5793 [C99-based-standards] (SCNdPTR): Likewise.
5794 [C99-based-standards] (SCNiPTR): Likewise.
5795 [C99-based-standards] (SCNoPTR): Likewise.
5796 [C99-based-standards] (SCNuPTR): Likewise.
5797 [C99-based-standards] (SCNxPTR): Likewise.
5798 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5800 * conform/data/stdint.h-data: Update comments to clarify
5802 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5804 [C99-based standards] (INT8_MAX): Likewise.
5805 [C99-based standards] (INT16_MIN): Likewise.
5806 [C99-based standards] (INT16_MAX): Likewise.
5807 [C99-based standards] (INT32_MIN): Likewise.
5808 [C99-based standards] (INT32_MAX): Likewise.
5809 [C99-based standards] (INT64_MIN): Likewise.
5810 [C99-based standards] (INT64_MAX): Likewise.
5811 [C99-based standards] (UINT8_MAX): Likewise.
5812 [C99-based standards] (UINT16_MAX): Likewise.
5813 [C99-based standards] (UINT32_MAX): Likewise.
5814 [C99-based standards] (UINT64_MAX): Likewise.
5815 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5816 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5817 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5818 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5819 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5820 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5821 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5822 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5823 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5824 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5825 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5826 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5827 [C99-based standards] (INT_FAST8_MIN): Likewise.
5828 [C99-based standards] (INT_FAST8_MAX): Likewise.
5829 [C99-based standards] (INT_FAST16_MIN): Likewise.
5830 [C99-based standards] (INT_FAST16_MAX): Likewise.
5831 [C99-based standards] (INT_FAST32_MIN): Likewise.
5832 [C99-based standards] (INT_FAST32_MAX): Likewise.
5833 [C99-based standards] (INT_FAST64_MIN): Likewise.
5834 [C99-based standards] (INT_FAST64_MAX): Likewise.
5835 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5836 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5837 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5838 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5839 [C99-based standards] (INTPTR_MIN): Likewise.
5840 [C99-based standards] (INTPTR_MAX): Likewise.
5841 [C99-based standards] (UINTPTR_MAX): Likewise.
5842 [C99-based standards] (INTMAX_MIN): Likewise.
5843 [C99-based standards] (INTMAX_MAX): Likewise.
5844 [C99-based standards] (UINTMAX_MAX): Likewise.
5845 [C99-based standards] (PTRDIFF_MIN): Likewise.
5846 [C99-based standards] (PTRDIFF_MAX): Likewise.
5847 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5848 [C99-based standards] (SIZE_MAX): Likewise.
5849 [C99-based standards] (WCHAR_MAX): Likewise.
5850 [C99-based standards] (WINT_MAX): Likewise.
5851 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5852 constraint on value.
5853 [C99-based standards] (WCHAR_MIN): Likewise.
5854 [C99-based standards] (WINT_MIN): Likewise.
5855 [C99-based standards] (*_t): Allow.
5856 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5857 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5858 Include math.h-data and complex.h-data. Remove all expectations
5859 of math.h and complex.h contents.
5860 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5862 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5863 (struct tm): Expect tag.
5864 [C99-based-standards] (wcstof): Expect function.
5865 [C99-based-standards] (wcstold): Likewise.
5866 [C99-based-standards] (wcstoll): Likewise.
5867 [C99-based-standards] (wcstoull): Likewise.
5868 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5869 macro-int-constant. Specify type.
5870 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5871 constraint on value.
5872 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5874 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5876 [ISO C standards]: Do not allow headers.
5877 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5878 wcs[abcdefghijklmnopqrstuvwxyz]*.
5879 [ISO C standards] (*_t): Do not allow.
5880 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5882 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5883 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5885 [ISO C standards]: Do not allow headers.
5886 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5887 is[abcdefghijklmnopqrstuvwxyz]*.
5888 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5889 to[abcdefghijklmnopqrstuvwxyz]*.
5890 [ISO C standards] (*_t): Do not allow.
5891 * conform/data/stdalign.h-data: New file.
5892 * conform/data/stdbool.h-data: Likewise.
5893 * conform/data/stdnoreturn.h-data: Likewise.
5895 2012-11-07 Roland McGrath <roland@hack.frob.com>
5898 * manual/filesys.texi (Directory Entries): Typo fix.
5899 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5901 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5903 * elf/elf.h (EM_AARCH64): New macro.
5904 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5905 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5906 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5907 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5908 (R_AARCH64_TLSDESC): Likewise.
5909 (NT_ARM_TLS): Likewise.
5910 (NT_ARM_HW_BREAK): Likewise.
5911 (NT_ARM_HW_WATCH): Likewise.
5913 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5916 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5917 (__ieee754_powl): Saturate nonzero exponents with absolute value
5918 below 0x1p-79 to +/- 0x1p-79.
5919 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5920 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5921 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5922 nonzero exponents with absolute value below 0x1p-32 to +/-
5924 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5925 (__ieee754_powl): Saturate nonzero exponents with absolute value
5926 below 0x1p-79 to +/- 0x1p-79.
5927 * math/libm-test.inc (pow_test): Add more tests.
5929 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5931 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5932 _dl_s390_cap_flags with kernel. Increase string length.
5933 (_dl_s390_platforms): Add z196 and zEC12.
5935 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5937 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5938 Change XOPEN21K to XOPEN2K.
5940 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5942 * string/memmove.c: Use memcpy when possible.
5944 2012-11-06 Andreas Jaeger <aj@suse.de>
5946 * po/eo.po: Update from translation team.
5948 2012-11-06 Joseph Myers <joseph@codesourcery.com>
5951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5952 exponent and small x and y exponents, scale x or y up. Increase
5953 by 2 the exponent used in scaling up.
5954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5956 * math/libm-test.inc (fma_test): Add more tests.
5957 (fma_test_towardzero): Likewise.
5958 (fma_test_downward): Likewise.
5959 (fma_test_upward): Likewise.
5961 2012-11-05 Joseph Myers <joseph@codesourcery.com>
5964 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5968 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5969 namespace for names of struct fields.
5970 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5972 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5973 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5975 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5978 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5980 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5982 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5986 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5989 2012-11-04 Joseph Myers <joseph@codesourcery.com>
5992 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5993 definitely overflow as x * y not x * y + z.
5994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5996 * math/libm-test.inc (fma_test): Add more tests.
5997 (fma_test_towardzero): Likewise.
5998 (fma_test_downward): Likewise.
5999 (fma_test_upward): Likewise.
6001 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6005 * include/stub-tag.h: Remove file.
6006 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6008 * manual/maint.texi (Porting): Don't reference it.
6009 * Makerules ($(objpfx)stubs): Likewise.
6010 * dirent/closedir.c: Don't include <stub-tag.h>.
6011 * dirent/dirfd.c: Likewise.
6012 * dirent/fdopendir.c: Likewise.
6013 * dirent/getdents.c: Likewise.
6014 * dirent/getdents64.c: Likewise.
6015 * dirent/opendir.c: Likewise.
6016 * dirent/readdir.c: Likewise.
6017 * dirent/readdir64.c: Likewise.
6018 * dirent/readdir64_r.c: Likewise.
6019 * dirent/readdir_r.c: Likewise.
6020 * dirent/rewinddir.c: Likewise.
6021 * dirent/seekdir.c: Likewise.
6022 * dirent/telldir.c: Likewise.
6023 * gmon/profil.c: Likewise.
6024 * grp/setgroups.c: Likewise.
6025 * inet/if_index.c: Likewise.
6026 * io/access.c: Likewise.
6027 * io/chdir.c: Likewise.
6028 * io/chmod.c: Likewise.
6029 * io/chown.c: Likewise.
6030 * io/close.c: Likewise.
6031 * io/dup.c: Likewise.
6032 * io/dup2.c: Likewise.
6033 * io/dup3.c: Likewise.
6034 * io/euidaccess.c: Likewise.
6035 * io/faccessat.c: Likewise.
6036 * io/fchdir.c: Likewise.
6037 * io/fchmod.c: Likewise.
6038 * io/fchmodat.c: Likewise.
6039 * io/fchown.c: Likewise.
6040 * io/fchownat.c: Likewise.
6041 * io/fcntl.c: Likewise.
6042 * io/flock.c: Likewise.
6043 * io/fstatfs.c: Likewise.
6044 * io/fstatfs64.c: Likewise.
6045 * io/fstatvfs.c: Likewise.
6046 * io/fstatvfs64.c: Likewise.
6047 * io/futimens.c: Likewise.
6048 * io/fxstat.c: Likewise.
6049 * io/fxstat64.c: Likewise.
6050 * io/fxstatat.c: Likewise.
6051 * io/fxstatat64.c: Likewise.
6052 * io/getcwd.c: Likewise.
6053 * io/isatty.c: Likewise.
6054 * io/lchmod.c: Likewise.
6055 * io/lchown.c: Likewise.
6056 * io/link.c: Likewise.
6057 * io/linkat.c: Likewise.
6058 * io/lseek.c: Likewise.
6059 * io/lseek64.c: Likewise.
6060 * io/lxstat64.c: Likewise.
6061 * io/mkdir.c: Likewise.
6062 * io/mkdirat.c: Likewise.
6063 * io/mkfifo.c: Likewise.
6064 * io/mkfifoat.c: Likewise.
6065 * io/open.c: Likewise.
6066 * io/open64.c: Likewise.
6067 * io/openat.c: Likewise.
6068 * io/openat64.c: Likewise.
6069 * io/pipe.c: Likewise.
6070 * io/pipe2.c: Likewise.
6071 * io/poll.c: Likewise.
6072 * io/posix_fadvise.c: Likewise.
6073 * io/posix_fadvise64.c: Likewise.
6074 * io/posix_fallocate.c: Likewise.
6075 * io/posix_fallocate64.c: Likewise.
6076 * io/read.c: Likewise.
6077 * io/readlink.c: Likewise.
6078 * io/readlinkat.c: Likewise.
6079 * io/rmdir.c: Likewise.
6080 * io/sendfile.c: Likewise.
6081 * io/sendfile64.c: Likewise.
6082 * io/statfs.c: Likewise.
6083 * io/statfs64.c: Likewise.
6084 * io/statvfs.c: Likewise.
6085 * io/statvfs64.c: Likewise.
6086 * io/symlink.c: Likewise.
6087 * io/symlinkat.c: Likewise.
6088 * io/ttyname.c: Likewise.
6089 * io/ttyname_r.c: Likewise.
6090 * io/umask.c: Likewise.
6091 * io/unlink.c: Likewise.
6092 * io/unlinkat.c: Likewise.
6093 * io/utime.c: Likewise.
6094 * io/utimensat.c: Likewise.
6095 * io/write.c: Likewise.
6096 * io/xmknod.c: Likewise.
6097 * io/xmknodat.c: Likewise.
6098 * io/xstat.c: Likewise.
6099 * io/xstat64.c: Likewise.
6100 * login/getpt.c: Likewise.
6101 * login/grantpt.c: Likewise.
6102 * login/unlockpt.c: Likewise.
6103 * math/e_acoshl.c: Likewise.
6104 * math/e_acosl.c: Likewise.
6105 * math/e_asinl.c: Likewise.
6106 * math/e_atan2l.c: Likewise.
6107 * math/e_atanhl.c: Likewise.
6108 * math/e_coshl.c: Likewise.
6109 * math/e_expl.c: Likewise.
6110 * math/e_fmodl.c: Likewise.
6111 * math/e_gammal_r.c: Likewise.
6112 * math/e_hypotl.c: Likewise.
6113 * math/e_j0l.c: Likewise.
6114 * math/e_j1l.c: Likewise.
6115 * math/e_jnl.c: Likewise.
6116 * math/e_lgammal_r.c: Likewise.
6117 * math/e_log10l.c: Likewise.
6118 * math/e_log2l.c: Likewise.
6119 * math/e_logl.c: Likewise.
6120 * math/e_powl.c: Likewise.
6121 * math/e_rem_pio2l.c: Likewise.
6122 * math/e_sinhl.c: Likewise.
6123 * math/e_sqrtl.c: Likewise.
6124 * math/fclrexcpt.c: Likewise.
6125 * math/fedisblxcpt.c: Likewise.
6126 * math/feenablxcpt.c: Likewise.
6127 * math/fegetenv.c: Likewise.
6128 * math/fegetexcept.c: Likewise.
6129 * math/fegetround.c: Likewise.
6130 * math/feholdexcpt.c: Likewise.
6131 * math/fesetenv.c: Likewise.
6132 * math/fesetround.c: Likewise.
6133 * math/feupdateenv.c: Likewise.
6134 * math/fgetexcptflg.c: Likewise.
6135 * math/fraiseexcpt.c: Likewise.
6136 * math/fsetexcptflg.c: Likewise.
6137 * math/ftestexcept.c: Likewise.
6138 * math/k_cosl.c: Likewise.
6139 * math/k_rem_pio2l.c: Likewise.
6140 * math/k_sinl.c: Likewise.
6141 * math/k_tanl.c: Likewise.
6142 * math/s_asinhl.c: Likewise.
6143 * math/s_atanl.c: Likewise.
6144 * math/s_cbrtl.c: Likewise.
6145 * math/s_erfl.c: Likewise.
6146 * math/s_expm1l.c: Likewise.
6147 * math/s_log1pl.c: Likewise.
6148 * math/s_tanhl.c: Likewise.
6149 * misc/acct.c: Likewise.
6150 * misc/brk.c: Likewise.
6151 * misc/chflags.c: Likewise.
6152 * misc/chroot.c: Likewise.
6153 * misc/fchflags.c: Likewise.
6154 * misc/fgetxattr.c: Likewise.
6155 * misc/flistxattr.c: Likewise.
6156 * misc/fremovexattr.c: Likewise.
6157 * misc/fsetxattr.c: Likewise.
6158 * misc/fsync.c: Likewise.
6159 * misc/ftruncate.c: Likewise.
6160 * misc/futimes.c: Likewise.
6161 * misc/futimesat.c: Likewise.
6162 * misc/getdomain.c: Likewise.
6163 * misc/getdtsz.c: Likewise.
6164 * misc/gethostid.c: Likewise.
6165 * misc/gethostname.c: Likewise.
6166 * misc/getloadavg.c: Likewise.
6167 * misc/getpagesize.c: Likewise.
6168 * misc/getsysstats.c: Likewise.
6169 * misc/getxattr.c: Likewise.
6170 * misc/gtty.c: Likewise.
6171 * misc/ioctl.c: Likewise.
6172 * misc/lgetxattr.c: Likewise.
6173 * misc/listxattr.c: Likewise.
6174 * misc/llistxattr.c: Likewise.
6175 * misc/lremovexattr.c: Likewise.
6176 * misc/lsetxattr.c: Likewise.
6177 * misc/lutimes.c: Likewise.
6178 * misc/madvise.c: Likewise.
6179 * misc/mincore.c: Likewise.
6180 * misc/mlock.c: Likewise.
6181 * misc/mlockall.c: Likewise.
6182 * misc/mmap.c: Likewise.
6183 * misc/mprotect.c: Likewise.
6184 * misc/msync.c: Likewise.
6185 * misc/munlock.c: Likewise.
6186 * misc/munlockall.c: Likewise.
6187 * misc/munmap.c: Likewise.
6188 * misc/preadv.c: Likewise.
6189 * misc/preadv64.c: Likewise.
6190 * misc/ptrace.c: Likewise.
6191 * misc/pwritev.c: Likewise.
6192 * misc/pwritev64.c: Likewise.
6193 * misc/readv.c: Likewise.
6194 * misc/reboot.c: Likewise.
6195 * misc/remap_file_pages.c: Likewise.
6196 * misc/removexattr.c: Likewise.
6197 * misc/revoke.c: Likewise.
6198 * misc/select.c: Likewise.
6199 * misc/setdomain.c: Likewise.
6200 * misc/setegid.c: Likewise.
6201 * misc/seteuid.c: Likewise.
6202 * misc/sethostid.c: Likewise.
6203 * misc/sethostname.c: Likewise.
6204 * misc/setregid.c: Likewise.
6205 * misc/setreuid.c: Likewise.
6206 * misc/setxattr.c: Likewise.
6207 * misc/sstk.c: Likewise.
6208 * misc/stty.c: Likewise.
6209 * misc/swapoff.c: Likewise.
6210 * misc/swapon.c: Likewise.
6211 * misc/sync.c: Likewise.
6212 * misc/syncfs.c: Likewise.
6213 * misc/syscall.c: Likewise.
6214 * misc/truncate.c: Likewise.
6215 * misc/ualarm.c: Likewise.
6216 * misc/usleep.c: Likewise.
6217 * misc/ustat.c: Likewise.
6218 * misc/utimes.c: Likewise.
6219 * misc/vhangup.c: Likewise.
6220 * misc/writev.c: Likewise.
6221 * posix/_exit.c: Likewise.
6222 * posix/alarm.c: Likewise.
6223 * posix/execve.c: Likewise.
6224 * posix/fexecve.c: Likewise.
6225 * posix/fork.c: Likewise.
6226 * posix/fpathconf.c: Likewise.
6227 * posix/getaddrinfo.c: Likewise.
6228 * posix/getegid.c: Likewise.
6229 * posix/geteuid.c: Likewise.
6230 * posix/getgid.c: Likewise.
6231 * posix/getgroups.c: Likewise.
6232 * posix/getlogin.c: Likewise.
6233 * posix/getlogin_r.c: Likewise.
6234 * posix/getpgid.c: Likewise.
6235 * posix/getpid.c: Likewise.
6236 * posix/getppid.c: Likewise.
6237 * posix/getresgid.c: Likewise.
6238 * posix/getresuid.c: Likewise.
6239 * posix/getsid.c: Likewise.
6240 * posix/getuid.c: Likewise.
6241 * posix/glob64.c: Likewise.
6242 * posix/nanosleep.c: Likewise.
6243 * posix/pathconf.c: Likewise.
6244 * posix/pause.c: Likewise.
6245 * posix/posix_madvise.c: Likewise.
6246 * posix/pread.c: Likewise.
6247 * posix/pread64.c: Likewise.
6248 * posix/pwrite.c: Likewise.
6249 * posix/pwrite64.c: Likewise.
6250 * posix/sched_getaffinity.c: Likewise.
6251 * posix/sched_getp.c: Likewise.
6252 * posix/sched_gets.c: Likewise.
6253 * posix/sched_primax.c: Likewise.
6254 * posix/sched_primin.c: Likewise.
6255 * posix/sched_rr_gi.c: Likewise.
6256 * posix/sched_setaffinity.c: Likewise.
6257 * posix/sched_setp.c: Likewise.
6258 * posix/sched_sets.c: Likewise.
6259 * posix/sched_yield.c: Likewise.
6260 * posix/setgid.c: Likewise.
6261 * posix/setlogin.c: Likewise.
6262 * posix/setpgid.c: Likewise.
6263 * posix/setresgid.c: Likewise.
6264 * posix/setresuid.c: Likewise.
6265 * posix/setsid.c: Likewise.
6266 * posix/setuid.c: Likewise.
6267 * posix/sleep.c: Likewise.
6268 * posix/spawni.c: Likewise.
6269 * posix/sysconf.c: Likewise.
6270 * posix/times.c: Likewise.
6271 * posix/wait.c: Likewise.
6272 * posix/wait3.c: Likewise.
6273 * posix/wait4.c: Likewise.
6274 * posix/waitpid.c: Likewise.
6275 * resolv/gai_sigqueue.c: Likewise.
6276 * resource/getpriority.c: Likewise.
6277 * resource/getrlimit.c: Likewise.
6278 * resource/getrusage.c: Likewise.
6279 * resource/nice.c: Likewise.
6280 * resource/setpriority.c: Likewise.
6281 * resource/setrlimit.c: Likewise.
6282 * resource/ulimit.c: Likewise.
6283 * rt/aio_cancel.c: Likewise.
6284 * rt/aio_fsync.c: Likewise.
6285 * rt/aio_read.c: Likewise.
6286 * rt/aio_sigqueue.c: Likewise.
6287 * rt/aio_suspend.c: Likewise.
6288 * rt/aio_write.c: Likewise.
6289 * rt/clock_getres.c: Likewise.
6290 * rt/clock_gettime.c: Likewise.
6291 * rt/clock_nanosleep.c: Likewise.
6292 * rt/clock_settime.c: Likewise.
6293 * rt/lio_listio.c: Likewise.
6294 * rt/mq_close.c: Likewise.
6295 * rt/mq_getattr.c: Likewise.
6296 * rt/mq_notify.c: Likewise.
6297 * rt/mq_open.c: Likewise.
6298 * rt/mq_receive.c: Likewise.
6299 * rt/mq_send.c: Likewise.
6300 * rt/mq_setattr.c: Likewise.
6301 * rt/mq_timedreceive.c: Likewise.
6302 * rt/mq_timedsend.c: Likewise.
6303 * rt/mq_unlink.c: Likewise.
6304 * rt/shm_open.c: Likewise.
6305 * rt/shm_unlink.c: Likewise.
6306 * rt/timer_create.c: Likewise.
6307 * rt/timer_delete.c: Likewise.
6308 * rt/timer_getoverr.c: Likewise.
6309 * rt/timer_gettime.c: Likewise.
6310 * rt/timer_settime.c: Likewise.
6311 * setjmp/__longjmp.c: Likewise.
6312 * setjmp/setjmp.c: Likewise.
6313 * signal/kill.c: Likewise.
6314 * signal/killpg.c: Likewise.
6315 * signal/raise.c: Likewise.
6316 * signal/sigaction.c: Likewise.
6317 * signal/sigaltstack.c: Likewise.
6318 * signal/sigblock.c: Likewise.
6319 * signal/sigignore.c: Likewise.
6320 * signal/sigintr.c: Likewise.
6321 * signal/signal.c: Likewise.
6322 * signal/sigpause.c: Likewise.
6323 * signal/sigpending.c: Likewise.
6324 * signal/sigqueue.c: Likewise.
6325 * signal/sigreturn.c: Likewise.
6326 * signal/sigset.c: Likewise.
6327 * signal/sigsetmask.c: Likewise.
6328 * signal/sigstack.c: Likewise.
6329 * signal/sigsuspend.c: Likewise.
6330 * signal/sigtimedwait.c: Likewise.
6331 * signal/sigvec.c: Likewise.
6332 * signal/sigwait.c: Likewise.
6333 * signal/sigwaitinfo.c: Likewise.
6334 * signal/sysv_signal.c: Likewise.
6335 * socket/accept.c: Likewise.
6336 * socket/accept4.c: Likewise.
6337 * socket/bind.c: Likewise.
6338 * socket/connect.c: Likewise.
6339 * socket/getpeername.c: Likewise.
6340 * socket/getsockname.c: Likewise.
6341 * socket/getsockopt.c: Likewise.
6342 * socket/isfdtype.c: Likewise.
6343 * socket/listen.c: Likewise.
6344 * socket/recv.c: Likewise.
6345 * socket/recvfrom.c: Likewise.
6346 * socket/recvmsg.c: Likewise.
6347 * socket/send.c: Likewise.
6348 * socket/sendmsg.c: Likewise.
6349 * socket/sendto.c: Likewise.
6350 * socket/setsockopt.c: Likewise.
6351 * socket/shutdown.c: Likewise.
6352 * socket/sockatmark.c: Likewise.
6353 * socket/socket.c: Likewise.
6354 * socket/socketpair.c: Likewise.
6355 * stdio-common/ctermid.c: Likewise.
6356 * stdio-common/cuserid.c: Likewise.
6357 * stdio-common/remove.c: Likewise.
6358 * stdio-common/rename.c: Likewise.
6359 * stdio-common/renameat.c: Likewise.
6360 * stdio-common/tempname.c: Likewise.
6361 * stdlib/getcontext.c: Likewise.
6362 * stdlib/makecontext.c: Likewise.
6363 * stdlib/setcontext.c: Likewise.
6364 * stdlib/swapcontext.c: Likewise.
6365 * stdlib/system.c: Likewise.
6366 * streams/fattach.c: Likewise.
6367 * streams/fdetach.c: Likewise.
6368 * streams/getmsg.c: Likewise.
6369 * streams/getpmsg.c: Likewise.
6370 * streams/putmsg.c: Likewise.
6371 * streams/putpmsg.c: Likewise.
6372 * sysdeps/unix/bsd/getpt.c: Likewise.
6373 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6374 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6375 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6378 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6379 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6380 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6381 * sysvipc/msgctl.c: Likewise.
6382 * sysvipc/msgget.c: Likewise.
6383 * sysvipc/msgrcv.c: Likewise.
6384 * sysvipc/msgsnd.c: Likewise.
6385 * sysvipc/semctl.c: Likewise.
6386 * sysvipc/semget.c: Likewise.
6387 * sysvipc/semop.c: Likewise.
6388 * sysvipc/semtimedop.c: Likewise.
6389 * sysvipc/shmat.c: Likewise.
6390 * sysvipc/shmctl.c: Likewise.
6391 * sysvipc/shmdt.c: Likewise.
6392 * sysvipc/shmget.c: Likewise.
6393 * termios/tcdrain.c: Likewise.
6394 * termios/tcflow.c: Likewise.
6395 * termios/tcflush.c: Likewise.
6396 * termios/tcgetattr.c: Likewise.
6397 * termios/tcgetpgrp.c: Likewise.
6398 * termios/tcsendbrk.c: Likewise.
6399 * termios/tcsetattr.c: Likewise.
6400 * termios/tcsetpgrp.c: Likewise.
6401 * time/adjtime.c: Likewise.
6402 * time/clock.c: Likewise.
6403 * time/getitimer.c: Likewise.
6404 * time/gettimeofday.c: Likewise.
6405 * time/setitimer.c: Likewise.
6406 * time/settimeofday.c: Likewise.
6407 * time/stime.c: Likewise.
6408 * time/time.c: Likewise.
6410 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6412 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6415 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6417 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6419 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6423 FE_TONEAREST before applying Dekker multiplication and Knuth
6424 addition. Clear inexact exceptions and check for exact zero
6426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6427 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6429 * math/libm-test.inc (fma_test): Add more tests.
6430 (fma_test_towardzero): Likewise.
6431 (fma_test_downward): Likewise.
6432 (fma_test_upward): Likewise.
6433 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6435 (libc_fesetround): New macro.
6436 (libc_fesetroundf): Likewise.
6437 (libc_fesetroundl): Likewise.
6438 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6440 (libc_fesetround_387): Likewise.
6441 (libc_fesetroundf): New macro.
6442 (libc_fesetround): Likewise.
6443 (libc_fesetroundl): Likewise.
6444 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6446 (libc_fesetroundf): New macro.
6447 (libc_fesetround): Likewise.
6448 (libc_fesetroundl): Likewise.
6449 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6450 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6451 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6453 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6454 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6456 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6457 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6459 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6463 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6464 integer constant usable in #if and use that to give value to enum
6466 (FE_DIVBYZERO): Likewise.
6467 (FE_UNDERFLOW): Likewise.
6468 (FE_OVERFLOW): Likewise.
6469 (FE_INVALID): Likewise.
6470 (FE_INVALID_SNAN): Likewise.
6471 (FE_INVALID_ISI): Likewise.
6472 (FE_INVALID_IDI): Likewise.
6473 (FE_INVALID_ZDZ): Likewise.
6474 (FE_INVALID_IMZ): Likewise.
6475 (FE_INVALID_COMPARE): Likewise.
6476 (FE_INVALID_SOFTWARE): Likewise.
6477 (FE_INVALID_SQRT): Likewise.
6478 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6479 (FE_TONEAREST): Likewise.
6480 (FE_TOWARDZERO): Likewise.
6481 (FE_UPWARD): Likewise.
6482 (FE_DOWNWARD): Likewise.
6483 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6484 (FE_DIVBYZERO): Likewise.
6485 (FE_OVERFLOW): Likewise.
6486 (FE_UNDERFLOW): Likewise.
6487 (FE_INEXACT): Likewise.
6488 (FE_TONEAREST): Likewise.
6489 (FE_DOWNWARD): Likewise.
6490 (FE_UPWARD): Likewise.
6491 (FE_TOWARDZERO): Likewise.
6492 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6493 (FE_UNDERFLOW): Likewise.
6494 (FE_OVERFLOW): Likewise.
6495 (FE_DIVBYZERO): Likewise.
6496 (FE_INVALID): Likewise.
6497 (FE_TONEAREST): Likewise.
6498 (FE_TOWARDZERO): Likewise.
6499 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6500 (FE_OVERFLOW): Likewise.
6501 (FE_UNDERFLOW): Likewise.
6502 (FE_DIVBYZERO): Likewise.
6503 (FE_INEXACT): Likewise.
6504 (FE_TONEAREST): Likewise.
6505 (FE_TOWARDZERO): Likewise.
6506 (FE_UPWARD): Likewise.
6507 (FE_DOWNWARD): Likewise.
6508 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6509 (FE_DIVBYZERO): Likewise.
6510 (FE_OVERFLOW): Likewise.
6511 (FE_UNDERFLOW): Likewise.
6512 (FE_INEXACT): Likewise.
6513 (FE_TONEAREST): Likewise.
6514 (FE_DOWNWARD): Likewise.
6515 (FE_UPWARD): Likewise.
6516 (FE_TOWARDZERO): Likewise.
6518 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6520 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6522 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6524 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6525 commands. Quote $PWD.
6526 (blacklist_exports): Don't use remove_newlines. Replace "declare
6528 (remove_newlines): Remove.
6530 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6532 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6533 * stdlib/stdlib.h (atof): Moved to ...
6534 * include/bits/stdlib-float.h: Here. New file.
6535 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6536 * stdlib/bits/stdlib-float.h: New file.
6537 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6539 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6542 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6544 * conform/conformtest.pl (@headers): Add fenv.h.
6545 * conform/data/fenv.h-data: New file.
6546 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6547 include of <math/fenv.h>.
6549 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6550 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6551 && !UNIX98]. Enables tests for XOPEN2K8.
6552 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6553 POSIX2008]: Likewise.
6555 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6556 (struct rusage): Do not expect type or its members.
6559 * math/math.h (FP_NAN): Define macro to integer constant usable in
6560 #if and use that to give value to enum constant.
6561 (FP_INFINITE): Likewise.
6562 (FP_ZERO): Likewise.
6563 (FP_SUBNORMAL): Likewise.
6564 (FP_NORMAL): Likewise.
6566 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6568 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6569 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6572 2012-11-02 Roland McGrath <roland@hack.frob.com>
6574 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6575 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6576 autoconf-time if not.
6577 * configure.in: Remove AC_PREREQ.
6579 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6581 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6582 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6583 of the internal implementation.
6585 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6587 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6588 except include of <misc/sys/syslog.h>.
6590 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6593 function returns with a NULL context exit with zero.
6595 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6597 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6599 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6601 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6602 (run_program_cmd): This.
6603 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6604 (tst_langinfo): New variable. Use it.
6606 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6608 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6609 floating point opcodes.
6611 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6613 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6616 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6618 * sysdeps/mach/hurd/powerpc: Remove directory.
6619 * sysdeps/mach/powerpc: Likewise.
6621 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6623 * scripts/check-local-headers.sh: Ignore c++ headers.
6625 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6627 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6628 __libc_cleanup_region_start argument.
6630 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6635 x * y using scaling, not as x * y + z.
6636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6637 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6638 * math/libm-test.inc (fma_test): Add more tests.
6639 (fma_test_towardzero): Likewise.
6640 (fma_test_downward): Likewise.
6641 (fma_test_upward): Likewise.
6643 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6645 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6647 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6649 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6652 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6654 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6656 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6663 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6666 Fix the order of the list for glibc 2.17.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6670 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6674 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6677 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6678 for low part of x being zero before using __atanl (y).
6679 * math/libm-test.inc (atan2_test): Add another test.
6681 * manual/install.texi (Configuring and compiling): Document
6682 general use of test-wrapper and test-wrapper-env.
6683 * INSTALL: Regenerated.
6685 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6686 (__fma): Do not extract and scale down low bits on after-rounding
6687 systems when result rounded to normal precision would have normal
6689 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6690 (__fmal): Do not extract and scale down low bits on after-rounding
6691 systems when result rounded to normal precision would have normal
6693 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6694 (__fmal): Do not extract and scale down low bits on after-rounding
6695 systems when result rounded to normal precision would have normal
6697 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6699 (fma_test): Add more tests.
6700 (fma_test_towardzero): Likewise.
6701 (fma_test_downward): Likewise.
6702 (fma_test_upward): Likewise.
6704 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6706 * sysdeps/i386/tininess.h: Renamed to ...
6707 * sysdeps/x86/tininess.h: This.
6708 * sysdeps/x86_64/tininess.h: Removed.
6710 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6712 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6713 input. Use $(build-program-cmd).
6714 ($(objpfx)tst-array1-static.out): Likewise.
6715 ($(objpfx)tst-array2.out): Likewise.
6716 ($(objpfx)tst-array3.out): Likewise.
6717 ($(objpfx)tst-array4.out): Likewise.
6718 ($(objpfx)tst-array5.out): Likewise.
6719 ($(objpfx)tst-array5-static.out): Likewise.
6721 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6723 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6726 * nss/nsswitch.h (nss_interface_function): Provide new
6727 macro for use with NSS functions.
6728 * grp/initgroups.c: Use new macro.
6729 * nss/getXXbyYY.c: Likewise.
6730 * nss/getXXbyYY_r.c: Likewise.
6731 * nss/getXXent.c: Likewise.
6732 * nss/getXXent_r.c: Likewise.
6733 * sysdeps/posix/getaddrinfo.c: Likewise.
6735 2012-10-30 Andreas Jaeger <aj@suse.de>
6737 * po/ru.po: Update Russion translation from translation project.
6739 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6744 result and shift together with sticky bit instead of replicating
6745 round-to-nearest rounding.
6746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6747 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6748 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6749 missing underflow exceptions.
6750 (fma_test_towardzero): Add more tests.
6751 (fma_test_downward): Likewise.
6752 (fma_test_upward): Likewise.
6755 * sysdeps/generic/tininess.h: New file.
6756 * sysdeps/i386/tininess.h: Likewise.
6757 * sysdeps/sh/tininess.h: Likewise.
6758 * sysdeps/x86_64/tininess.h: Likewise.
6759 * stdlib/tst-strtod-underflow.c: Likewise.
6760 * stdlib/tst-tininess.c: Likewise.
6761 * stdlib/strtod_l.c: Include <tininess.h>.
6762 (round_and_return): Do not set errno for exact underflow cases.
6763 Force an underflow exception when setting errno for underflow.
6764 Determine underflow based on rounding to normal precision if
6765 TININESS_AFTER_ROUNDING.
6766 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6767 ERANGE for exact underflow cases.
6768 * stdlib/Makefile (tests): Add tst-tininess and
6769 tst-strtod-underflow.
6770 ($(objpfx)tst-tininess): Use $(link-libm).
6771 ($(objpfx)tst-strtod-underflow): Likewise.
6773 2012-10-30 Andreas Jaeger <aj@suse.de>
6776 * elf/Makefile (tests): Remove conditional for have-initfini-array
6777 since this is now always required and the variable does not exist
6779 (tests-static): Likewise.
6780 (modules-names): Likewise.
6782 * po/eo.po: Add Esperanto translation from translation project.
6784 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6785 merged with constructor/destructor.
6786 (init_array): Likewise.
6787 * elf/tst-array2dep.c (fini_array): Likewise.
6788 (init_array): Likewise.
6790 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6792 * manual/message.texi: Delete @cartouche tags.
6794 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6796 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6798 * sysdeps/mach/hurd/fsync.c: Likewise.
6800 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6801 [_POSIX_REALTIME_SIGNALS]: Change condition to
6802 [_POSIX_REALTIME_SIGNALS > 0].
6804 2012-10-27 Andreas Jaeger <aj@suse.de>
6806 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6807 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6809 [__WORDSIZE != 64]: Likewise.
6811 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6813 * iconvdata/tst-table.sh: Remove ${SHELL}.
6814 * iconvdata/tst-tables.sh: Likewise.
6816 2012-10-25 David S. Miller <davem@davemloft.net>
6818 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6819 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6822 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6824 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6825 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6826 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6829 2012-10-25 Roland McGrath <roland@hack.frob.com>
6831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6832 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6835 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6836 Jim Blandy <jimb@codesourcery.com>
6838 * scripts/cross-test-ssh.sh: New file.
6839 * manual/install.texi (Configuring and compiling): Document use of
6841 * INSTALL: Regenerated.
6843 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6845 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6848 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6850 * Makeconfig (run-program-prefix): Fix comment.
6852 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6853 Jim Blandy <jimb@codesourcery.com>
6855 * Makeconfig (test-wrapper): New variable,
6856 (test-wrapper-env): Likewise.
6857 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6858 (run-built-tests): Define to yes.
6859 (run-program-prefix): Use $(test-wrapper).
6860 (built-program-cmd): Likewise.
6861 * Rules (make-test-out): Use $(test-wrapper-env) and
6862 $(host-built-program-cmd).
6863 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6864 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6866 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6867 $(test-wrapper-env) to tst-rtld-load-self.sh.
6868 ($(objpfx)order2.out): Use $(test-wrapper).
6869 ($(objpfx)tst-initorder.out): Likewise.
6870 ($(objpfx)tst-initorder2.out): Likewise.
6871 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6872 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6873 (test_wrapper_env): New variable. Use it to run ld.so.
6874 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6875 Use it to run ld.so.
6876 (test_wrapper_env): Likewise.
6877 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6878 $(test-wrapper) to run-iconv-test.sh.
6879 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6880 (ICONV): Use $test_wrapper.
6881 * posix/Makefile ($(objpfx)globtest.out): Pass
6882 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6883 globtest.sh, not $(run-program-prefix).
6884 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6885 (test_wrapper): Likewise.
6886 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6887 set together with run_via_rtld_prefix.
6888 (run_program_prefix): Define in terms of test_wrapper and
6889 run_via_rtld_prefix.
6891 2012-10-24 Roland McGrath <roland@hack.frob.com>
6893 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6894 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6898 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6899 Declare __clock_getres, __clock_gettime, __clock_settime,
6900 __clock_nanosleep, and __clock_getcpuclockid.
6901 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6902 Remove librt_hidden_def (clock_gettime).
6903 * sysdeps/unix/clock_gettime.c: Likewise.
6904 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6906 * rt/clock_getres.c: Define __clock_getres as an alias.
6907 * sysdeps/posix/clock_getres.c: Likewise.
6908 * rt/clock_settime.c: Define __clock_settime as an alias.
6909 * sysdeps/unix/clock_settime.c: Likewise.
6910 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6911 * sysdeps/unix/clock_nanosleep.c: Likewise.
6912 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6913 * rt/clock-compat.c: New file.
6914 * rt/Makefile (librt-routines): Add clock-compat and move
6915 $(clock-routines) to ...
6916 (routines): ... here, new variable.
6917 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6918 Don't add get_clockfreq here.
6919 * rt/Versions (libc: GLIBC_2.17): New version set.
6920 Add clock_* symbols here.
6921 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6923 (GLIBC_2.17): Add clock_* symbols.
6924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6935 * NEWS: Mention the move.
6937 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6938 Use __open, __read, __close rather than their public counterparts.
6939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6940 (__get_clockfreq_via_cpuinfo): Likewise.
6941 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6942 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6944 * config.h.in (HAVE_IFUNC): New #undef.
6945 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6947 * configure: Regenerated.
6949 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6951 * configure.in: Move READELF check to start of file.
6952 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6953 libc_cv_asm_gnu_indirect_function in the process.
6954 * configure: Regenerated.
6956 2012-10-24 Mike Frysinger <vapier@gentoo.org>
6958 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6959 send the output to /dev/null.
6960 (libc_cv_cc_with_libunwind): Likewise.
6961 (libc_cv_as_noexecstack): Likewise.
6962 * configure: Regenerate.
6964 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6966 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6968 * posix/globtest.sh (TMPDIR): Do not set.
6969 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6970 (testout): Likewise.
6972 2012-10-24 Andreas Jaeger <aj@suse.de>
6974 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6975 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6976 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6977 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6978 posix_fadvise64, posix_fallocate64.
6980 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6981 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6982 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6984 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6986 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6989 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6990 <bits/fcntl-linux.h>.
6991 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6994 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6995 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6996 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6997 [__WORDSIZE != 64]: Likewise.
6999 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7001 * Makeconfig (run-built-tests): New variable.
7002 * Rules [$(cross-compiling) = yes]: Change condition to
7003 [$(run-built-tests) = no].
7004 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7005 to [$(run-built-tests) = yes].
7006 * elf/Makefile [$(cross-compiling) = no]: Likewise
7007 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7008 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7009 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7010 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7011 * io/Makefile [$(cross-compiling) = no]: Likewise.
7012 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7013 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7014 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7015 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7016 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7017 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7018 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7019 * string/Makefile [$(cross-compiling) = no]: Likewise.
7021 * posix/Makefile ($(objpfx)globtest.out): Pass
7022 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7023 $(rtld-installed-name).
7024 * posix/globtest.sh (elf_objpfx): Remove variable.
7025 (rtld_installed_name): Likewise.
7026 (library_path): Likewise.
7027 (run_program_prefix): New variable. Use for running globtest
7030 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7031 Joseph Myers <joseph@codesourcery.com>
7033 * Makeconfig (host-built-program-cmd): New variable.
7034 * elf/Makefile (tst-stackguard1-ARGS): Use
7035 $(host-built-program-cmd).
7036 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7037 (tst-spawn-ARGS): Likewise.
7038 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7040 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7041 Jim Blandy <jimb@codesourcery.com>
7043 * Makeconfig (run-via-rtld-prefix): New variable.
7044 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7045 (built-program-cmd): Likewise.
7047 2012-10-22 Andreas Jaeger <aj@suse.de>
7049 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7050 __O_RSYNC if it exists, otherwise to O_SYNC.
7052 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7053 Joseph Myers <joseph@codesourcery.com>
7055 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7057 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7059 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7062 2012-10-22 Andreas Jaeger <aj@suse.de>
7064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7072 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7079 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7080 Joseph Myers <joseph@codesourcery.com>
7082 * config.make.in (NM): New variable.
7084 2012-10-21 Andreas Jaeger <aj@suse.de>
7086 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7087 definitions and declarations that are provided by
7088 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7090 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7093 * elf/Makefile (tests-static): Add tst-leaks1-static.
7094 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7095 ($(objpfx)tst-leaks1-static): New rule.
7096 ($(objpfx)tst-leaks1-static-mem): Likewise.
7097 (tst-leaks1-static-ENV): New macro.
7098 * elf/dl-open.c (dl_open_worker): Check the main application
7099 only if SHARED is defined.
7100 * elf/tst-leaks1-static.c: New file.
7102 2012-10-20 Andreas Jaeger <aj@suse.de>
7104 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7105 generic values for Linux.
7106 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7107 and declarations that are provided by <bits/fcntl-linux.h> and
7108 include <bits/fcntl-linux.h>.
7109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7112 2012-10-20 Roland McGrath <roland@hack.frob.com>
7114 * io/fcntl.h: Move include of <bits/types.h> to the top and
7115 include it unconditionally.
7117 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7119 * wcsmbs/Makefile (tests-ifunc): New variable.
7120 (tests): Add $(tests-ifunc).
7121 * wcsmbs/test-wcschr-ifunc.c: New file.
7122 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7123 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7124 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7125 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7126 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7128 * string/Makefile (tests-ifunc): New variable.
7129 (tests): Add $(tests-ifunc).
7130 * string/test-memccpy.c (TEST_NAME): New macro.
7131 * string/test-memchr.c (TEST_NAME): Likewise.
7132 * string/test-memcmp.c (TEST_NAME): Likewise.
7133 * string/test-memcpy.c (TEST_NAME): Likewise.
7134 * string/test-memmem.c (TEST_NAME): Likewise.
7135 * string/test-memmove.c (TEST_NAME): Likewise.
7136 * string/test-memset.c (TEST_NAME): Likewise.
7137 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7138 * string/test-stpcpy.c (TEST_NAME): Likewise.
7139 * string/test-stpncpy.c (TEST_NAME): Likewise.
7140 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7141 * string/test-strcasestr.c (TEST_NAME): Likewise.
7142 * string/test-strcat.c (TEST_NAME): Likewise.
7143 * string/test-strchr.c (TEST_NAME): Likewise.
7144 * string/test-strcmp.c(TEST_NAME): Likewise.
7145 * string/test-strcpy.c (TEST_NAME): Likewise.
7146 * string/test-strcspn.c (TEST_NAME): Likewise.
7147 * string/test-strlen.c (TEST_NAME): Likewise.
7148 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7149 * string/test-strncmp.c (TEST_NAME): Likewise.
7150 * string/test-strncpy.c (TEST_NAME): Likewise.
7151 * string/test-strnlen.c (TEST_NAME): Likewise.
7152 * string/test-strpbrk.c (TEST_NAME): Likewise.
7153 * string/test-strrchr.c (TEST_NAME): Likewise.
7154 * string/test-strspn.c (TEST_NAME): Likewise.
7155 * string/test-strstr.c (TEST_NAME): Likewise.
7156 * string/test-bcopy-ifunc.c: New file.
7157 * string/test-bzero-ifunc.c: Likewise.
7158 * string/test-memccpy-ifunc.c: Likewise.
7159 * string/test-memchr-ifunc.c: Likewise.
7160 * string/test-memcmp-ifunc.c: Likewise.
7161 * string/test-memcpy-ifunc.c: Likewise.
7162 * string/test-memmem-ifunc.c: Likewise.
7163 * string/test-memmove-ifunc.c: Likewise.
7164 * string/test-mempcpy-ifunc.c: Likewise.
7165 * string/test-memset-ifunc.c: Likewise.
7166 * string/test-rawmemchr-ifunc.c: Likewise.
7167 * string/test-stpcpy-ifunc.c: Likewise.
7168 * string/test-stpncpy-ifunc.c: Likewise.
7169 * string/test-strcasecmp-ifunc.c: Likewise.
7170 * string/test-strcasestr-ifunc.c: Likewise.
7171 * string/test-strcat-ifunc.c: Likewise.
7172 * string/test-strchr-ifunc.c: Likewise.
7173 * string/test-strchrnul-ifunc.c: Likewise.
7174 * string/test-strcmp-ifunc.c: Likewise.
7175 * string/test-strcpy-ifunc.c: Likewise.
7176 * string/test-strcspn-ifunc.c: Likewise.
7177 * string/test-strlen-ifunc.c: Likewise.
7178 * string/test-strncasecmp-ifunc.c: Likewise.
7179 * string/test-strncat-ifunc.c: Likewise.
7180 * string/test-strncmp-ifunc.c: Likewise.
7181 * string/test-strncpy-ifunc.c: Likewise.
7182 * string/test-strnlen-ifunc.c: Likewise.
7183 * string/test-strpbrk-ifunc.c: Likewise.
7184 * string/test-strrchr-ifunc.c: Likewise.
7185 * string/test-strspn-ifunc.c: Likewise.
7186 * string/test-strstr-ifunc.c: Likewise.
7188 * debug/Makefile (tests-ifunc): New variable.
7189 (tests): Add $(tests-ifunc).
7190 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7191 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7192 * debug/test-stpcpy_chk-ifunc.c: New file.
7193 * debug/test-strcpy_chk-ifunc.c: Likewise.
7195 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7198 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7199 header is not read in.
7201 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7203 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7204 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7205 directly. Pass built executable to script as
7206 $(built-program-cmd).
7207 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7208 $testprogram without using LD_LIBRARY_PATH and $ldso.
7210 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7211 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7212 $(rtld-installed-name).
7213 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7214 (rtld_installed_name): Likewise.
7215 (library_path): Likewise.
7216 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7217 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7218 $(run-program-prefix) to tst-tables.sh.
7219 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7220 it to run tst-table-from and tst-table-to.
7221 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7222 Pass it to tst-table.sh.
7223 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7224 $(run-program-prefix) to tst-gettext.sh.
7225 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7227 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7229 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7231 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7232 to run tst-gettext2.
7233 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7234 to run tst-translit.
7235 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7236 $(run-program-prefix) to tst-mtrace.sh.
7237 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7239 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7240 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7241 $(rtld-installed-name).
7242 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7243 (rtld_installed_name): Likewise.
7244 (run_program_prefix): New variable. Use it to run wordexp-test.
7246 * Makeconfig (ARCH): Remove all definitions.
7247 (machine): Likewise.
7248 [ARCH]: Remove conditional code.
7249 [!objdir]: Give error.
7250 [!objdir] (objpfx): Remove.
7251 [!objdir] (common-objpfx): Likewise.
7252 [!objdir] (common-objdir): Likewise.
7253 * configure.in (config_makefile): Remove. Hardcode Makefile in
7254 AC_CONFIG_FILES call.
7255 * configure: Regenerated.
7258 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7260 (testout): Likewise.
7262 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7263 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7264 $(rtld-installed-name).
7265 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7266 (rtld_installed_name): Likwise.
7267 (runit): Remove function.
7268 (run_getconf): New variable, Use it for running getconf binary.
7270 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7273 * string/test-memmem.c (check_result): New function.
7274 (do_one_test): Use it.
7275 (check1): New function.
7276 (test_main): Use it.
7278 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7280 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7282 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7284 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7285 (_G_LSEEK64): Likewise.
7286 (_G_MMAP64): Likewise.
7287 (_G_FSTAT64): Likewise.
7288 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7289 (_G_LSEEK64): Likewise.
7290 (_G_MMAP64): Likewise.
7291 (_G_FSTAT64): Likewise.
7292 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7293 unconditional. Call __mmap64 directly.
7294 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7295 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7297 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7298 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7300 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7301 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7303 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7304 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7306 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7307 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7309 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7310 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7311 __fxstat64 directly.
7312 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7313 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7315 (freopen64) [!_G_OPEN64]: Remove conditional code.
7316 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7318 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7319 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7321 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7322 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7324 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7325 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7327 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7328 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7330 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7331 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7333 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7334 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7336 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7338 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7341 * manual/memory.texi (Malloc Tunable Parameters): Add note
7342 about free list pointers overwriting some perturb bytes.
7343 Wording suggested by Roland McGrath.
7345 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7347 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7348 (lgamma_test): Likewise.
7349 (tgamma_test): Likewise.
7351 2012-10-16 Florian Weimer <fweimer@redhat.com>
7354 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7355 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7357 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7359 * NEWS: Mention BZ #14716.
7360 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7361 when removing AVAILABLE1_USES_J macro.
7363 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7365 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7366 (__bswap_64): __uint64_t for unsigned 64-bit int.
7368 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7370 * include/string.h (memmem): Declare libc hidden alias.
7371 * string/memmem.c (memmem): Define libc hidden alias.
7372 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7373 __read, __close instead of open, read, close.
7375 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7378 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7380 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7381 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7382 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7384 (__rawmemchr_sse2): Likewise.
7385 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7386 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7387 (__strchr_sse2): Likewise.
7388 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7389 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7390 (__strcasecmp_sse2): Likewise.
7391 (__strncasecmp_sse2): Likewise.
7392 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7393 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7394 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7395 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7396 (__strrchr_sse2): Likewise.
7397 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7399 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7400 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7401 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7402 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7403 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7404 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7405 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7406 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7407 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7408 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7409 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7410 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7411 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7412 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7413 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7414 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7415 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7416 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7417 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7418 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7419 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7420 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7421 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7422 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7423 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7424 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7425 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7426 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7427 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7428 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7430 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7432 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7433 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7434 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7435 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7437 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7439 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7440 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7441 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7442 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7444 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7445 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7446 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7447 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7448 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7449 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7450 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7451 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7452 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7453 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7454 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7455 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7456 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7457 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7458 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7460 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7461 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7462 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7463 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7464 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7465 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7466 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7467 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7468 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7469 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7470 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7471 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7472 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7473 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7474 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7475 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7476 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7477 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7478 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7479 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7480 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7481 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7482 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7483 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7484 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7486 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7487 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7488 * include/ifunc-impl-list.h: New file.
7489 * misc/ifunc-impl-list.c: Likewise.
7490 * misc/Makefile (routines): Add ifunc-impl-list.
7491 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7492 * string/test-string.h: Include <ifunc-impl-list.h>.
7493 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7494 impl_array): New variables.
7495 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7497 (test_init): Call __libc_ifunc_impl_list to initialize
7498 func_list if TEST_IFUNC and TEST_NAME are defined.
7500 * string/Makefile (strop-tests): Add bcopy and bzero.
7501 * string/test-bcopy.c: New file.
7502 * string/test-bzero.c: Likewise.
7503 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7505 * string/test-memset.c: Support bzero test if TEST_BZERO is
7507 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7509 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7511 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7514 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7516 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7517 * configure: Regenerated.
7519 * Makeconfig (+link-static-before-libc): Don't include
7520 $(link-static-libc).
7522 * libio/libio.h (_IO_pos_t): Remove.
7524 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7526 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7529 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7531 * crypt/crypt-entry.c: Include fips-private.h.
7532 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7533 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7534 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7535 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7537 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7539 * crypt/crypt-private.h: Include stdbool.h.
7540 (_ufc_setup_salt_r): Return bool.
7541 * crypt/crypt-entry.c: Include errno.h.
7542 (__crypt_r): Return NULL with EINVAL for bad salt.
7543 * crypt/crypt_util.c (bad_for_salt): New.
7544 (_ufc_setup_salt_r): Check that salt is long enough and within
7545 the specified alphabet.
7546 * crypt/badsalttest.c: New file.
7547 * crypt/Makefile (tests): Add it.
7548 ($(objpfx)badsalttest): New.
7550 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7552 * NEWS: Add entry for BZ #14602.
7554 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7556 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7558 * math/libm-test.inc: Update comment listing what functions and
7560 (isgreater_test): New function.
7561 (isgreaterequal_test): Likewise.
7562 (isless_test): Likewise.
7563 (islessequal_test): Likewise.
7564 (islessgreater_test): Likewise.
7565 (isunordered_test): Likewise.
7566 (main): Call the new functions.
7568 2012-10-09 Roland McGrath <roland@hack.frob.com>
7570 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7571 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7572 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7573 * sysdeps/i386/configure: Regenerated.
7574 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7575 * sysdeps/mach/configure: Regenerated.
7576 * sysdeps/mach/hurd/configure: Regenerated.
7577 * sysdeps/powerpc/configure: Regenerated.
7578 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7579 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7580 * sysdeps/s390/s390-32/configure: Regenerated.
7581 * sysdeps/s390/s390-64/configure: Regenerated.
7582 * sysdeps/sh/configure: Regenerated.
7583 * sysdeps/sparc/configure: Regenerated.
7584 * sysdeps/unix/sysv/linux/configure: Regenerated.
7585 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7586 * sysdeps/x86_64/configure: Regenerated.
7588 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7589 defined. Don't check if MAP is NULL.
7591 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7593 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7594 (_G_stat64): Likewise.
7595 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7596 (_G_stat64): Likewise.
7597 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7598 instead of struct _G_stat64.
7599 * libio/fileops.c (mmap_remap_check): Likewise.
7600 (decide_maybe_mmap): Likewise.
7601 (_IO_new_file_seekoff): Likewise.
7602 (_IO_file_stat): Likewise.
7603 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7605 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7606 instead of struct _G_stat64.
7607 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7609 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7612 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7614 (CHECK_EOL): New macro.
7615 (two_way_short_needle): Check beginning of haystack for EOL. Use
7617 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7618 Replace with CHECK_EOL.
7619 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7620 Replace with CHECK_EOL.
7622 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7624 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7626 * math/libm-test.inc: Update comment listing what functions and
7628 (finite_test): New function.
7629 (isinf_test): Likewise.
7630 (isnan_test): Likewise.
7631 (fpclassify_test): Test subnormal input.
7632 (isfinite_test): Likewise.
7633 (isnormal_test): Likewise.
7634 (main): Call the new functions.
7636 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7639 * Makerules (%.dynsym): Force C locale when running
7640 $(OBJDUMP) --dynamic-syms.
7642 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7644 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7647 2012-10-06 David S. Miller <davem@davemloft.net>
7649 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7650 upper 32-bits of the length value in %o2 since we use branch-on-register
7651 tests which consider the entire 64-bit register.
7653 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7655 * string/test-strstr.c (check2): Add a test for page boundary.
7657 2012-10-05 David S. Miller <davem@davemloft.net>
7659 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7660 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7662 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7664 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7665 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7666 and bzero when HWCAP_SPARC_CRYPTO is present.
7668 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7671 * string/test-strstr.c (check2): New function.
7672 (test_main): Call check2.
7674 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7676 * string/bug-strcasestr1.c (do_test): Moved to ...
7677 * string/test-strcasestr.c (check1): Here. New function.
7678 (do_one_test): Break out result checking code into ...
7679 (check_result): This. New function.
7680 (do_one_test): Call check_result.
7681 (test_main): Call check1.
7682 * string/bug-strchr1.c (do_test): Moved to ...
7683 * string/test-strchr.c (check1): Here. New function.
7684 (do_one_test): Break out result checking code into ...
7685 (check_result): This. New function.
7686 (do_one_test): Call check_result.
7687 (test_main): Call check1.
7688 * string/bug-strstr1.c (main): Moved to ...
7689 * string/test-strstr.c (check1): Here. New function.
7690 (do_one_test): Break out result checking code into ...
7691 (check_result): This. New function.
7692 (do_one_test): Call check_result.
7693 (test_main): Call check1.
7694 * string/bug-strcasestr1.c: Removed.
7695 * string/bug-strchr1.c: Likewise.
7696 * string/bug-strstr1.c: Likewise.
7698 * elf/Makefile (dl-routines): Add hwcaps.
7699 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7700 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7701 (_dl_important_hwcaps): Moved to ...
7702 * elf/dl-hwcaps.c: Here. New file.
7703 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7706 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7707 if IS_IN_rtld isn't defined.
7709 * elf/dl-support.c (_dl_sysinfo_map): New.
7710 Include "get-dynamic-info.h" and "setup-vdso.h".
7711 (_dl_non_dynamic_init): Call setup_vdso.
7712 * elf/dynamic-link.h: Don't include <assert.h>.
7713 (elf_get_dynamic_info): Moved to ...
7714 * elf/get-dynamic-info.h: Here. New file.
7715 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7716 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7717 * elf/setup-vdso.h: Here. New file.
7718 * elf/rtld.c: Include "setup-vdso.h".
7719 (dl_main): Call setup_vdso.
7721 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7723 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7724 creal in comment listing functions tested. List finite, isinf,
7725 isnan, isless, islessequal, isgreater, isgreaterequal,
7726 islessgreater, isunordered, lgamma_r and pow10 as functions and
7727 macros not tested. Mention which functions not tested are aliases
7728 for other functions. Fix typo. Note that signs of NaNs are not
7731 * scripts/config.guess: Update from config.git.
7732 * scripts/config.sub: Likewise.
7734 2012-10-04 Roland McGrath <roland@hack.frob.com>
7736 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7737 * misc/madvise.c (madvise): Renamed to __madvise.
7738 Make madvise a weak alias.
7739 * include/sys/mman.h: Declare __madvise.
7740 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7741 * sysdeps/unix/syscalls.list
7742 (madvise): Make __madvise the strong name, and madvise a weak alias.
7743 * sysdeps/unix/sysv/linux/syscalls.list
7744 (madvise, mmap): Remove redundant entries.
7745 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7746 * malloc/malloc.c (mtrim): Likewise.
7747 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7749 2012-10-03 Roland McGrath <roland@hack.frob.com>
7751 * sysdeps/mach/hurd/dl-cache.c: File removed.
7752 * config.h.in (USE_LDCONFIG): New #undef.
7753 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7754 * configure: Regenerated.
7755 * elf/Makefile (dl-routines): Add dl-cache only under
7756 [$(use-ldconfig) = yes].
7757 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7758 cache on [USE_LDCONFIG].
7759 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7761 * elf/rtld.c (dl_main): Likewise.
7763 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7765 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7766 _SC_LEVEL4_CACHE_LINESIZE.
7768 2012-10-03 Roland McGrath <roland@hack.frob.com>
7770 * sysdeps/unix/bsd/confstr.h: File removed.
7772 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7774 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7777 2012-10-02 Roland McGrath <roland@hack.frob.com>
7779 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7780 Make 'mapoff' field ElfW(Off) rather than off_t.
7782 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7784 * nscd/Makefile: Remove nscd-cflags and all its users.
7785 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7786 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7789 * malloc.c (malloc_printerr): Clarify error message.
7791 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7795 Set bit_FMA_Usable if FMA is supported.
7796 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7798 (bit_FMA4_Usable): Updated.
7799 (index_FMA_Usable): New macro.
7800 (CPUID_FMA): Likewise
7801 (HAS_FMA): Defined with bit_FMA_Usable.
7803 2012-10-01 Roland McGrath <roland@hack.frob.com>
7805 * bits/types.h (__swblk_t): Type removed.
7806 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7807 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7809 (__SWBLK_T_TYPE): Likewise.
7810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7811 (__SWBLK_T_TYPE): Likewise.
7812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7813 (__SWBLK_T_TYPE): Likewise.
7814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7815 (__SWBLK_T_TYPE): Likewise.
7817 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7818 Honza Horak <hhorak@redhat.com>
7820 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7821 (xdr_mapname): Use YPMAXMAP as maxsize.
7822 (xdr_peername): Use YPMAXPEER as maxsize.
7823 (xdr_keydat): Use YPAXRECORD as maxsize.
7824 (xdr_valdat): Use YPMAXRECORD as maxsize.
7826 2012-10-01 Roland McGrath <roland@hack.frob.com>
7828 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7830 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7831 * csu/init-first.c: ... here.
7832 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7833 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7834 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7835 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7836 * sysdeps/i386/init-first.c: File removed.
7837 * sysdeps/sh/init-first.c: File removed.
7839 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7843 if x * y might underflow to zero and z is zero.
7844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7845 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7846 * math/libm-test.inc (min_subnorm_value): New variable.
7847 (fma_test): Add more tests.
7848 (fma_test_towardzero): Likewise.
7849 (fma_test_downward): Likewise
7850 (fma_test_upward): Likewise.
7851 (initialize): Set min_subnorm_value.
7853 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7858 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7859 mode for addition resulting in exact zero.
7860 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7863 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7864 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7865 * math/libm-test.inc (fma_test): Add more tests.
7866 (fma_test_towardzero): New function.
7867 (fma_test_downward): Likewise.
7868 (fma_test_upward): Likewise.
7869 (main): Call the new functions.
7871 2012-09-28 David S. Miller <davem@davemloft.net>
7873 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7875 2012-09-28 Roland McGrath <roland@hack.frob.com>
7877 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7880 * sysdeps/gnu/_G_config.h: Moved to ...
7881 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7882 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7883 * sysdeps/generic/_G_config.h: ... here.
7885 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7887 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7889 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7890 Conditionalize target on [libnss_test1.so-version].
7892 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7894 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7895 (elfobjdir): Move out of conditionals.
7897 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7898 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7899 (__nss_lookup_function): Conditionalize label remove_from_tree on
7900 [!DO_STATIC_NSS || SHARED], matching its only use.
7902 2012-09-28 David S. Miller <davem@davemloft.net>
7904 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7905 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7907 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7909 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7911 when HWCAP_SPARC_CRYPTO is present.
7913 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7915 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7917 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7920 * stdio-common/vfprintf.c (process_string_arg): Revert
7923 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7925 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7927 * stdio-common/tst-sprintf.c: Include <locale.h>
7928 (main): Test sprintf's handling of incomplete multibyte
7931 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7933 * elf/dl-runtime.c (VERSYMIDX): Removed.
7934 * elf/dl-version.c (VERSYMIDX): Likewise.
7935 * elf/do-rel.h (VERSYMIDX): Likewise.
7937 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7938 * elf/rtld.c (VALIDX): Likewise.
7939 (ADDRIDX): Likewise.
7940 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7941 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7942 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7943 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7945 (ADDRIDX): Likewise.
7947 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7949 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7951 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7954 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7956 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7957 addresses are in the same scope as 192.0.2/24.
7958 * posix/gai.conf: Document new scope table defaults.
7960 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7963 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7964 for ftell. Compute offsets from write pointers instead.
7965 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7967 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7970 * libio/Makefile (tests): New test case tst-fseek.
7971 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7972 combination works in wide mode.
7973 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7974 state when the external buffer state changes.
7976 2012-09-27 David S. Miller <davem@davemloft.net>
7979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7980 pass reloc->r_addend in as the 'high' argument to
7981 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7985 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7987 * rt/tst-aio2.c: Include <pthread.h>.
7988 * rt/tst-aio3.c: Likewise.
7990 2012-09-27 Steve Ellcey <sellcey@mips.com>
7992 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7994 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7996 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7997 contents on [SHARED].
7999 2012-09-26 Marek Polacek <polacek@redhat.com>
8003 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8004 for C++ and GCC <4.3 as well as for non GCC compilers.
8006 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8010 2012-09-25 Roland McGrath <roland@hack.frob.com>
8012 * Makefile.in (all, install): Declare with .PHONY.
8013 Reported by Michael Hope <michael.hope@linaro.org>.
8015 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8017 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8018 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8020 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8022 (sydep_routines): Add the new and the internal functions.
8023 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8024 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8026 (GLIBC_2.17): Add the new function.
8027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8028 (GLIBC_2.17): Likewise.
8029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8030 (GLIBC_2.17): Likewise.
8031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8032 (GLIBC_2.17): Likewise.
8033 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8035 2012-09-25 Alan Modra <amodra@gmail.com>
8037 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8038 Add release barrier before setting once_control to say
8039 initialisation is done. Add hints on lwarx. Use macro in
8041 (clear_once_control): Add release barrier.
8043 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8046 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8048 * math/s_clog10.c (__clog10): Likewise.
8049 * math/s_clog10f.c (__clog10f): Likewise.
8050 * math/s_clog10l.c (__clog10l): Likewise.
8051 * math/s_clogf.c (__clogf): Likewise.
8052 * math/s_clogl.c (__clogl): Likewise.
8053 * math/Makefile (libm-calls): Add x2y2m1.
8054 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8055 (__x2y2m1): Likewise.
8056 (__x2y2m1l): Likewise.
8057 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8058 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8059 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8060 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8061 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8062 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8063 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8064 * sysdeps/i386/fpu/libm-test-ulps: Update.
8065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8068 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8069 int as type of variable DEPTH.
8070 (glob): Use size_t instead of int as type of variables NEWCOUNT
8073 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8075 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8077 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8078 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8079 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8080 macros for using routine as __sincosf_ia32.
8081 Use macro for function declaration and weak_alias.
8082 * sysdeps/i386/fpu/libm-test-ulps: Update.
8084 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8087 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8089 * math/s_cexpf.c (__cexpf): Likewise.
8090 * math/s_csinf.c (__csinf): Likewise.
8091 * math/s_csinhf.c (__csinhf): Likewise.
8092 * math/s_ctanf.c (__ctanf): Likewise.
8093 * math/s_ctanhf.c (__ctanhf): Likewise.
8094 * math/s_ccosh.c (__ccoshf): Likewise.
8095 * math/s_cexp.c (__cexpl): Likewise.
8096 * math/s_csin.c (__csin): Likewise.
8097 * math/s_csinh.c (__csinh): Likewise.
8098 * math/s_ctan.c (__ctan): Likewise.
8099 * math/s_ctanh.c (ctanh): Likewise.
8100 * math/s_ccoshl.c (__ccoshl): Likewise.
8101 * math/s_cexpl.c (__cexpl): Likewise.
8102 * math/s_csinl.c (__csinl): Likewise.
8103 * math/s_csinhl.c (__csinhl): Likewise.
8104 * math/s_ctanl.c (__ctanl): Likewise.
8105 * math/s_ctanhl.c (__ctanhl): Likewise.
8107 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8109 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8110 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8111 (_IO_off_t): Define to __off_t, not _G_off_t.
8112 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8113 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8114 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8115 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8116 type of __dummy and __dummy2 fields.
8117 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8118 (_G_ssize_t): Likewise.
8119 (_G_off_t): Likewise.
8120 (_G_pid_t): Likewise.
8121 (_G_uid_t): Likewise.
8122 (_G_wchar_t): Likewise.
8123 (_G_wint_t): Likewise.
8124 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8125 (_G_ssize_t): Likewise.
8126 (_G_off_t): Likewise.
8127 (_G_pid_t): Likewise.
8128 (_G_uid_t): Likewise.
8129 (_G_wchar_t): Likewise.
8130 (_G_wint_t): Likewise.
8131 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8132 (_G_ssize_t): Likewise.
8133 (_G_off_t): Likewise.
8134 (_G_pid_t): Likewise.
8135 (_G_uid_t): Likewise.
8136 (_G_wchar_t): Likewise.
8137 (_G_wint_t): Likewise.
8139 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8141 * malloc/arena.c: Include malloc-sysdep.h.
8142 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8143 is sufficient to shrink the heap or an unmap is needed.
8144 * sysdeps/generic/malloc-sysdep.h: New file. Define
8145 new function check_may_shrink_heap.
8146 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8147 new function check_may_shrink_heap.
8149 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8151 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8154 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8156 * catgets/test-gencat.sh: Add "set -e".
8157 * elf/tst-pathopt.sh: Likewise.
8158 * grp/tst_fgetgrent.sh: Likewise.
8159 * iconvdata/run-iconv-test.sh: Likewise.
8160 * intl/tst-gettext.sh: Likewise.
8161 * intl/tst-gettext2.sh: Likewise.
8162 * intl/tst-gettext4.sh: Likewise.
8163 * intl/tst-gettext6.sh: Likewise.
8164 * intl/tst-translit.sh: Likewise.
8165 * io/ftwtest-sh: Likewise.
8166 * libio/test-freopen.sh: Likewise.
8167 * malloc/tst-mtrace.sh: Likewise.
8168 * posix/globtest.sh: Likewise.
8169 * posix/tst-getconf.sh: Likewise.
8170 * posix/wordexp-tst.sh: Likewise.
8171 * stdio-common/tst-printf.sh: Likewise.
8172 * stdio-common/tst-unbputc.sh: Likewise.
8173 * stdlib/tst-fmtmsg.sh: Likewise.
8174 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8175 * catgets/Makefile: Do not specify -e option when running
8176 testsuite shell scripts.
8177 * elf/Makefile: Likewise.
8178 * grp/Makefile: Likewise.
8179 * iconvdata/Makefile: Likewise.
8180 * intl/Makefile: Likewise.
8181 * io/Makefile: Likewise.
8182 * libio/Makefile: Likewise.
8183 * malloc/Makefile: Likewise.
8184 * posix/Makefile: Likewise.
8185 * stdio-common/Makefile: Likewise.
8186 * stdlib/Makefile: Likewise.
8187 * sysdeps/x86_64/Makefile: Likewise.
8189 * io/ftwtest-sh: Add copyright header.
8190 * posix/globtest.sh: Likewise.
8191 * posix/tst-getconf.sh: Likewise.
8192 * posix/wordexp-tst.sh: Likewise.
8193 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8195 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8198 * Makeconfig (+link): Defined as $(+link-static) if
8199 $(build-shared) isn't yes.
8200 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8202 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8204 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8207 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8208 new chunk size with MALLOC_ALIGN_MASK.
8210 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8213 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8215 (__printf_fphex): Determine rounding using get_rounding_mode and
8217 * stdio-common/tst-printf-round.c (struct hex_test): New
8219 (hex_tests): New variable.
8220 (test_hex_in_one_mode): New function.
8221 (do_test): Also run tests for hex float output.
8223 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8225 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8226 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8227 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8228 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8229 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8230 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8231 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8232 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8234 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8236 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8237 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8238 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8239 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8241 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8244 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8246 * elf/tst-rtld-load-self.sh: New test.
8247 * elf/Makefile: Run it.
8249 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8251 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8252 (tst-writev-ENV): Remove.
8253 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8255 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8257 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8259 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8261 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8263 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8265 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8266 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8267 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8270 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8273 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8274 * config.make.in (have-cpp-asm-debuginfo): Removed.
8275 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8276 * configure: Regenerated.
8278 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8281 * stdio-common/printf_fp.c: Include <stdbool.h> and
8283 (___printf_fp): Determine rounding using get_rounding_mode and
8285 * stdio-common/tst-printf-round.c: New file.
8286 * stdio-common/Makefile (tests): Add tst-printf-round.
8287 (link-libm): New variable.
8288 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8290 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8293 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8294 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8296 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8299 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8301 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8302 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8303 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8304 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8306 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8309 * include/rounding-mode.h: New file.
8310 * sysdeps/generic/get-rounding-mode.h: Likewise.
8311 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8312 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8313 (MAX_VALUE): New macro.
8314 (MIN_VALUE): Likewise.
8315 (overflow_value): New function.
8316 (underflow_value): Likewise.
8317 (round_and_return): Use overflow_value and underflow_value to
8318 determine return values in overflow and underflow cases. Use
8319 round_away to determine rounding depending on rounding mode.
8320 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8321 determine return values in overflow and underflow cases.
8322 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8323 (struct test_results): New structure.
8324 (struct test): Use struct test_results to store expected results
8325 for all rounding modes.
8326 (TEST): Include expected results for all rounding modes.
8327 (test_in_one_mode): New function.
8328 (do_test): Use test_in_one_mode to compute and check results.
8329 Check results for all rounding modes.
8330 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8333 2012-12-09 Allan McRae <allan@archlinux.org>
8335 * sysdeps/i386/fpu/libm-test-ulps: Update
8337 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8339 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8340 (_G_int32_t): Likewise.
8341 (_G_uint16_t): Likewise.
8342 (_G_uint32_t): Likewise.
8343 (_G_HAVE_BOOL): Likewise.
8344 (_G_HAVE_ATEXIT): Likewise.
8345 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8346 (_G_HAVE_IO_FILE_OPEN): Likewise.
8347 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8348 (_G_int32_t): Likewise.
8349 (_G_uint16_t): Likewise.
8350 (_G_uint32_t): Likewise.
8351 (_G_HAVE_BOOL): Likewise.
8352 (_G_HAVE_ATEXIT): Likewise.
8353 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8354 (_G_HAVE_IO_FILE_OPEN): Likewise.
8355 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8356 (_G_int32_t): Likewise.
8357 (_G_uint16_t): Likewise.
8358 (_G_uint32_t): Likewise.
8359 (_G_HAVE_BOOL): Likewise.
8360 (_G_HAVE_ATEXIT): Likewise.
8361 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8362 (_G_HAVE_IO_FILE_OPEN): Likewise.
8364 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8366 * csu/libc-tls.c: Update copyright years.
8368 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8370 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8371 [!_G_USING_THUNKS]: Remove conditional code.
8372 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8373 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8375 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8376 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8377 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8378 (_G_VTABLE_LABEL_PREFIX): Likewise.
8379 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8380 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8381 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8382 (_G_VTABLE_LABEL_PREFIX): Likewise.
8383 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8384 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8385 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8386 (_G_VTABLE_LABEL_PREFIX): Likewise.
8387 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8389 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8391 * libio/Makefile: Include ../Makeconfig before tests.
8392 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8393 only if $(build-shared) is yes.
8395 * iconv/gconv_db.c: Update copyright years.
8397 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8399 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8400 unwind info if defined PIC. Fix special cases description.
8401 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8403 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8405 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8407 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8409 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8411 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8414 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8415 (LDLIBS-tst-chk4): This.
8416 (LDFLAGS-tst-chk5): Renamed to ...
8417 (LDLIBS-tst-chk5): This.
8418 (LDFLAGS-tst-chk6): Renamed to ...
8419 (LDLIBS-tst-chk6): This.
8420 (LDFLAGS-tst-lfschk4): Renamed to ...
8421 (LDLIBS-tst-lfschk4): This.
8422 (LDFLAGS-tst-lfschk5): Renamed to ...
8423 (LDLIBS-tst-lfschk5): This.
8424 (LDFLAGS-tst-lfschk6): Renamed to ...
8425 (LDLIBS-tst-lfschk6): This.
8427 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8428 on $(common-objpfx)soversions.mk.
8430 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8433 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8436 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8438 * malloc/arena.c (arena_get_retry): New function that gets
8439 another arena for the caller to try its request on.
8440 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8441 current arena cannot fulfill the request.
8442 (__libc_memalign): Likewise.
8443 (__libc_memalign): Likewise.
8444 (__libc_pvalloc): Likewise.
8445 (__libc_calloc): Likewise.
8447 2012-09-05 John Tobey <john.tobey@gmail.com>
8450 * manual/arith.texi (Operations on Complex): Fix description
8453 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8456 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8460 * manual/memory.texi (Memory): Make order of menu items match
8463 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8465 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8466 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8467 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8469 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8471 * csu/libc-tls.c (static_dtv): Renamed to ...
8472 (_dl_static_dtv): This. Make it global.
8473 (_dl_initial_dtv): Removed.
8474 (__libc_setup_tls): Updated.
8475 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8476 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8479 2012-09-06 Petr Machata <pmachata@redhat.com>
8481 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8482 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8483 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8484 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8486 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8489 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8490 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8493 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8496 * Makeconfig (link-static-before-libc): Replace $(+prector)
8498 (link-static-after-libc): Replace $(+postctor) with
8500 (link-bounded): Replace $(+prector)/$(+postctor) with
8501 $(+prectorT)/$(+postctorT).
8502 (+prectorT): New macro.
8503 (+postctorT): Likewise.
8505 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8507 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8508 (round_str): Handle values above the maximum for IBM long double
8510 * stdlib/tst-strtod-round.c (tests): Regenerated.
8512 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8514 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8516 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8517 zarch_nohighgprs around the zarch optimized routines.
8518 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8519 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8520 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8523 2012-09-05 David S. Miller <davem@davemloft.net>
8525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8527 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8528 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8529 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8530 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8533 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8535 * malloc/arena.c: Fold copyright years.
8536 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8538 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8540 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8542 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8544 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8546 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8548 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8549 change internal state upon failure.
8551 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8553 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8554 * malloc/memusage.c (mmap): Likewise.
8555 (mmap64, mremap): Likewise. Adjust name in comment.
8557 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8559 * libio/fileops.c: Fix typos in comments.
8560 * libio/oldfileops.c: Likewise.
8561 * libio/wfileops.c: Likewise.
8563 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8566 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8567 (tst-malloc-usable-ENV): Set environment for test case.
8568 * malloc/hooks.c (malloc_check_get_size): New function to get
8570 * malloc/malloc.c (musable): Use malloc_check_get_size.
8571 * malloc/tst-malloc-usable.c: New test case.
8573 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8575 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8577 2012-09-05 Allan McRae <allan@archlinux.org>
8580 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8581 determine header location.
8582 * configure: Regenerated.
8584 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8586 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8588 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8589 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8593 2012-09-04 David S. Miller <davem@davemloft.net>
8595 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8596 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8597 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8599 2012-09-04 Florian Weimer <fweimer@redhat.com>
8601 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8604 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8606 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8609 * libio/iogetdelim.c: Include <limits.h>.
8610 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8611 + len + 1 would overflow.
8613 2012-09-03 Andreas Jaeger <aj@suse.de>
8615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8616 * sysdeps/i386/fpu/libm-test-ulps: Update.
8618 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8620 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8621 Add s_sinf-sse2, s_conf-sse2.
8623 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8624 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8625 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8626 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8628 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8629 for using routine as __sinf_ia32.
8630 Use macro for function declaration and weak_alias.
8631 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8632 for using routine as __cosf_ia32.
8633 Use macro for function declaration and weak_alias.
8635 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8636 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8638 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8639 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8642 * math/libm-test.inc (cos_test): Add more test cases.
8643 (sin_test): Likewise.
8644 (sincos_test): Likewise.
8646 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8648 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8649 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8651 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8653 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8656 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8657 first element of the GOT.
8658 (elf_machine_load_address): Return the difference between
8659 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8661 2012-09-01 Allan McRae <allan@archlinux.org>
8664 * configure.in (AWK): Require gawk version 3.0 or later.
8665 * configure: Regenerated.
8667 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8669 * sysdeps/unix/sysv/linux/kernel-features.h
8670 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8671 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8672 [__NR_clock_getres]: Make code unconditional.
8673 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8674 (clock_getcpuclockid): Remove code left unreachable by removal of
8676 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8678 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8679 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8680 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8681 Make code unconditional.
8682 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8683 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8684 * sysdeps/unix/sysv/linux/clock_settime.c
8685 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8687 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8688 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8690 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8693 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8694 scripts/test-installation.pl.
8696 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8697 and $ld_so_version if it is set.
8699 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8702 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8703 failure if reading from procfs failed.
8704 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8706 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8708 * sysdeps/unix/sysv/linux/kernel-features.h
8709 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8710 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8711 Remove conditional code.
8712 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8713 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8714 Remove conditional code.
8715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8716 * sysdeps/unix/sysv/linux/i386/fxstat.c
8717 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8719 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8720 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8722 * sysdeps/unix/sysv/linux/i386/lxstat.c
8723 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8725 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8726 Remove conditional code.
8727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8728 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8729 Remove conditional code.
8730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8731 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8732 <kernel-features.h>.
8733 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8735 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8736 Remove conditional code.
8737 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8738 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8741 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8744 * NEWS: Add fixed bug number.
8746 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8749 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8750 underflowing exponent in case of negative sign.
8751 * stdlib/tst-strtod-round-data: Add more tests.
8752 * stdlib/tst-strtod-round.c (tests): Regenerated.
8755 * stdlib/strtod_l.c (NDIG): Remove.
8756 (HEXNDIG): Likewise.
8757 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8758 smallest representable value.
8759 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8760 lie within an exact representation of 1/2 ulp of the result.
8761 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8763 (TENS_P9_IDX): Define unconditionally.
8764 (TENS_P9_SIZE): Likewise.
8765 (TENS_P10_IDX): Likewise.
8766 (TENS_P10_SIZE): Likewise.
8767 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8768 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8769 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8770 entries for 10^2^13 and 10^2^14.
8771 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8772 (TENS_P13_IDX): Define.
8773 (TENS_P13_SIZE): Likewise.
8774 (TENS_P14_IDX): Likewise.
8775 (TENS_P14_SIZE): Likewise.
8776 (_fpioconst_pow10): Change array size to
8777 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8779 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8780 1024]: Add entries for 10^2^13 and 10^2^14.
8781 [LAST_POW10 > _LAST_POW10]: Remove #error.
8782 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8783 (_fpioconst_pow10): Change array size to
8784 FPIOCONST_POW10_ARRAY_SIZE.
8785 * stdlib/gen-fpioconst.c: New file.
8786 * stdlib/gen-tst-strtod-round.c: Likewise.
8787 * stdlib/tst-strtod-round-data: Likewise.
8788 * stdlib/tst-strtod-round.c: Likewise.
8789 * stdlib/Makefile (tests): Add tst-strtod-round.
8792 * stdlib/strtod_l.c: Include <stdint.h>.
8793 (NDEBUG): Do not define.
8794 (round_and_return): Change EXPONENT parameter to type intmax_t.
8795 Rearrange calculations to avoid internal overflow possibilities.
8796 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8797 Rearrange calculations to avoid internal overflow possibilities.
8798 Assert that number fits inside MPNSIZE limbs.
8799 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8800 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8801 calculations and add assertions to avoid internal overflow
8802 possibilities. Add casts to avoid signed/unsigned operations.
8803 * stdlib/tst-strtod-overflow.c: New file.
8804 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8806 2012-08-25 Marek Polacek <polacek@redhat.com>
8808 * time/time.h: Fix some typos in comments.
8810 2012-08-23 Roland McGrath <roland@hack.frob.com>
8812 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8813 * posix/tst-rfc3484-2.c: Likewise.
8814 * posix/tst-rfc3484-3.c: Likewise.
8816 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8818 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8819 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8821 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8823 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8824 #include of fxstatat64.c.
8826 2012-08-22 Roland McGrath <roland@hack.frob.com>
8828 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8829 * shadow/getspent_r.c: Likewise.
8830 * shadow/getspnam.c: Likewise.
8831 * shadow/getspnam_r.c: Likewise.
8832 * gshadow/getsgent.c: Likewise.
8833 * gshadow/getsgent_r.c: Likewise.
8834 * gshadow/getsgnam.c: Likewise.
8835 * gshadow/getsgnam_r.c: Likewise.
8836 * inet/getnetbyad.c: Likewise.
8837 * inet/getnetbyad_r.c: Likewise.
8838 * inet/getnetbynm.c: Likewise.
8839 * inet/getnetbynm_r.c: Likewise.
8840 * inet/getnetent.c: Likewise.
8841 * inet/getnetent_r.c: Likewise.
8842 * inet/getproto.c: Likewise.
8843 * inet/getproto_r.c: Likewise.
8844 * inet/getprtent.c: Likewise.
8845 * inet/getprtent_r.c: Likewise.
8846 * inet/getprtname.c: Likewise.
8847 * inet/getprtname_r.c: Likewise.
8848 * inet/getrpcbyname.c: Likewise.
8849 * inet/getrpcbyname_r.c: Likewise.
8850 * inet/getrpcbynumber.c: Likewise.
8851 * inet/getrpcbynumber_r.c: Likewise.
8852 * inet/getrpcent.c: Likewise.
8853 * inet/getrpcent_r.c: Likewise.
8854 * inet/getaliasent.c: Likewise.
8855 * inet/getaliasent_r.c: Likewise.
8856 * inet/getaliasname.c: Likewise.
8857 * inet/getaliasname_r.c: Likewise.
8858 * nscd/getgrgid_r.c: Likewise.
8859 * nscd/getgrnam_r.c: Likewise.
8860 * nscd/gethstbyad_r.c: Likewise.
8861 * nscd/gethstbynm3_r.c: Likewise.
8862 * nscd/getpwnam_r.c: Likewise.
8863 * nscd/getpwuid_r.c: Likewise.
8864 * nscd/getsrvbynm_r.c: Likewise.
8865 * nscd/getsrvbypt_r.c: Likewise.
8866 * nscd/gai.c: Likewise.
8868 * configure.in (build_nscd): New substituted variable, set
8869 by --disable-build-nscd and defaults to $use_nscd.
8870 * configure: Regenerated.
8871 * config.make.in (build-nscd): New substituted variable.
8872 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8873 Change conditional to require [$(build-nscd) = yes] as well.
8874 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8877 * configure.in (use_nscd): New substituted variable, set by
8878 --disable-nscd. If enabled, define USE_NSCD.
8879 * configure: Regenerated.
8880 * config.h.in: Add USE_NSCD.
8881 * config.make.in (use-nscd): New substituted variable.
8882 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8883 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8884 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8885 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8886 (CFLAGS-getgrnam_r.c): Likewise.
8887 (CFLAGS-initgroups.c): Likewise.
8888 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8889 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8891 * inet/getnetgrent_r.c
8892 (nscd_setnetgrent): New function, broken out of ...
8893 (setnetgrent): ... here. Call it.
8894 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8895 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8896 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8897 * nscd/Makefile (routines, aux): Move definitions after include of
8898 Makeconfig. Conditionalize on [$(use-nscd) != no].
8899 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8900 Conditionalize on [USE_NSCD].
8901 (is_nscd, nscd_init_cb): Likewise.
8902 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8903 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8904 * nss/nss_db/db-init.c: Likewise.
8905 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8907 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8908 (make_request): Use it.
8909 (cache_valid_p): New function.
8910 (__check_pf): Use it.
8911 * NEWS: Add item for --disable-nscd.
8913 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8915 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8916 to support sed >= 4.2.1-20-ga9bf076.
8917 * configure: Regenerated.
8919 2012-08-22 Roland McGrath <roland@hack.frob.com>
8921 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8922 Conditionalize whole body on [IREL].
8924 2012-08-22 Jeff Law <law@redhat.com>
8927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8928 if the family is PF_UNSPEC.
8930 2012-08-22 Mike Frysinger <vapier@gentoo.org>
8932 * Makerules (lib-version): Rename from V.
8933 (install-lib-nosubdir): Change V to lib-version.
8935 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8938 * powerpc32/power6/wcschr.c: New file.
8939 * powerpc32/power6/wcscpy.c: New file.
8940 * powerpc32/power6/wcsrchr.c: New file.
8941 * powerpc64/power6/wcschr.c: New file.
8942 * powerpc64/power6/wcscpy.c: New file.
8943 * powerpc64/power6/wcsrchr.c: New file.
8945 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8947 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8948 (two_way_short_needle): Use it.
8949 * string/strstr.c (AVAILABLE1_USES_J): Define.
8950 * string/strcasestr.c: Likewise.
8952 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8954 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8957 * NEWS: Add an entry.
8958 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8959 define their defaults.
8960 (two_way_short_needle): Detect end-of-string on-the-fly.
8961 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8962 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8963 * string/bug-strcasestr1.c: New test.
8964 * string/Makefile: Run it.
8966 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8969 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8970 the first character.
8972 2012-08-21 Roland McGrath <roland@hack.frob.com>
8974 * csu/elf-init.c (__libc_csu_irel): Function removed.
8975 * csu/libc-start.c (apply_irel): New function.
8976 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8978 2012-08-21 Joseph Myers <joseph@codesourcery.com>
8980 * sysdeps/unix/sysv/linux/kernel-features.h
8981 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8982 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8983 <kernel-features.h>.
8984 [__NR_fadvise64_64]: Make code unconditional.
8985 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8986 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8987 !__NR_fadvise64_64)]: Likewise.
8988 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8989 !__NR_fadvise64_64))]: Likewise.
8990 [__NR_fadvise64]: Make code unconditional.
8991 [!__NR_fadvise64]: Remove conditional code.
8992 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8993 <kernel-features.h>.
8994 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8996 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8999 not include <kernel-features.h>.
9000 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9002 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9004 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9005 include <kernel-features.h>.
9006 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9008 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9011 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9013 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9014 slight instruction rearrangements per scrollpipe analysis.
9015 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9017 2012-08-20 Roland McGrath <roland@hack.frob.com>
9019 * manual/syslog.texi (syslog; vsyslog, closelog):
9020 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9021 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9023 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9024 DSOCAPS to match condition on defining it.
9026 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9028 * sysdeps/unix/sysv/linux/kernel-features.h
9029 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9031 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9032 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9034 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9035 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9037 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9038 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9040 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9041 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9043 * sysdeps/unix/sysv/linux/kernel-features.h
9044 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9045 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9047 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9048 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9049 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9050 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9051 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9052 Make code unconditional.
9053 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9054 (__mmap64) [!__NR_mmap2]: Likewise.
9055 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9056 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9057 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9058 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9059 [__NR_mmap2]: Make code unconditional.
9060 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9061 (__mmap64) [!__NR_mmap2]: Likewise.
9063 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9065 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9067 2012-08-18 Andreas Jaeger <aj@suse.de>
9069 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9071 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9073 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9074 * include/unistd.h (__have_sock_cloexec): Likewise.
9075 (__have_pipe2): Likewise.
9076 (__have_dup3): Likewise.
9078 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9081 * include/unistd.h (__have_pipe2): Change define into an extern int.
9082 (__have_dup3): Likewise.
9083 * socket/have_sock_cloexec.c: Include fcntl.h.
9084 (__have_pipe2): New variable.
9085 (__have_dup3): Likewise.
9087 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9089 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9091 2012-08-17 Marek Polacek <polacek@redhat.com>
9093 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9094 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9096 2012-08-17 Roland McGrath <roland@hack.frob.com>
9098 * configure.in: Add AC_SUBST for sysheaders.
9099 * configure: Regenerated.
9100 * config.make.in (sysheaders): New substituted variable.
9102 * sysdeps/unix/mkfifo.c: Moved ...
9103 * sysdeps/posix/mkfifo.c: ... here.
9104 * sysdeps/unix/mkfifoat.c: Moved ...
9105 * sysdeps/posix/mkfifoat.c: ... here.
9107 * sysdeps/unix/utime.c: Moved ...
9108 * sysdeps/posix/utime.c: ... here.
9110 * sysdeps/unix/time.c: Moved ...
9111 * sysdeps/posix/time.c: ... here.
9112 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9113 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9115 * sysdeps/unix/nice.c: Moved ...
9116 * sysdeps/posix/nice.c: ... here.
9118 * sysdeps/unix/alarm.c: Moved ...
9119 * sysdeps/posix/alarm.c: ... here.
9121 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9123 2012-08-17 Jeff Law <law@redhat.com>
9125 * intl/Makefile (codeset_mo): New variable.
9126 ($(codeset_mo)): New target.
9127 (tst-codeset.out): Depend on that. Remove explicit rule.
9128 (tst-gettext3.out, tst-gettext5.out): Likewise.
9129 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9130 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9131 * intl/tst-codeset.sh: Remove.
9132 * intl/tst-gettext3.sh: Likewise.
9133 * intl/tst-gettext5.sh: Likewise.
9135 2012-08-17 Roland McGrath <roland@hack.frob.com>
9137 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9138 * sysdeps/unix/syscalls.list: ... here.
9140 * sysdeps/posix/getaddrinfo.c
9141 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9142 (gaiconf_init, gaiconf_reload): Use them.
9144 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9145 Define using time_t rather than struct timespec.
9147 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9148 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9150 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9152 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9153 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9156 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9157 __libc_cleanup_push argument.
9159 * bits/param.h: New file.
9160 * misc/sys/param.h: New file.
9161 * include/sys/param.h: New file.
9162 * misc/Makefile (headers): Add bits/param.h.
9163 * sysdeps/generic/sys/param.h: File removed.
9164 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9165 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9166 * sysdeps/mach/hurd/bits/param.h: New file.
9167 * sysdeps/mach/hurd/sys/param.h: File removed.
9169 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9172 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9174 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9175 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9178 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9179 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9180 rather than -D_IO_MTSAFE_IO conditionally.
9181 * stdio-common/Makefile (CPPFLAGS): Likewise.
9182 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9183 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9184 Use $(libio-mtsafe).
9185 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9187 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9188 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9189 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9190 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9191 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9192 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9193 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9194 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9195 (CFLAGS-fread_u_chk.c): Likewise.
9196 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9197 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9198 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9199 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9200 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9201 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9202 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9203 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9204 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9206 * libio/Makefile: Test [$(libc-reentrant) = yes]
9207 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9210 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9211 * sysdeps/pthread/configure: File removed.
9212 * sysdeps/pthread/Makeconfig: New file.
9213 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9214 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9216 2012-08-16 Gary Benson <gbenson@redhat.com>
9218 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9219 unmapping the first object in a namespace.
9221 2012-08-16 Roland McGrath <roland@hack.frob.com>
9223 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9224 (__internal_setnetgrent): ... this. Add internal_function to
9225 definition. Add libc_hidden_def.
9226 (setnetgrent): Update caller.
9227 (internal_endnetgrent): Renamed to ...
9228 (__internal_endnetgrent): ... this. Add internal_function to
9229 definition. Add libc_hidden_def.
9230 (endnetgrent): Update caller.
9231 (internal_getnetgrent_r): Renamed to ...
9232 (__internal_getnetgrent_r): ... this. Add internal_function to
9233 definition. Add libc_hidden_def.
9234 (__getnetgrent_r): Update caller.
9235 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9237 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9239 * stdlib/longlong.h: Update from GCC.
9241 2012-08-16 Roland McGrath <roland@hack.frob.com>
9243 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9244 on _QL, which is set by umul_ppmm but never used.
9245 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9246 variables, which are set by GMP macros but never used.
9247 * stdio-common/_itowa.c (_itowa): Likewise.
9248 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9249 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9251 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9253 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9254 struct La_sh_regs is not constant.
9255 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9256 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9257 and struct La_sparc64_regs are not constant.
9259 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9261 * sysdeps/unix/sysv/linux/kernel-features.h
9262 (__ASSUME_POSIX_TIMERS): Remove.
9263 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9264 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9265 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9266 Make code unconditional.
9267 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9268 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9269 Make code unconditional.
9270 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9271 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9272 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9273 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9274 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9275 Make code unconditional.
9276 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9277 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9278 (__libc_missing_posix_timers): Remove.
9280 2012-08-15 Roland McGrath <roland@hack.frob.com>
9282 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9283 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9285 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9287 * elf/dl-sym.c: Include <stdlib.h>.
9289 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9290 constants, which avoids warnings in 32-bit builds.
9292 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9293 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9295 * misc/lseek.c: File moved to ...
9296 * io/lseek.c: ... here.
9298 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9300 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9301 shifting LEN more than 31 bits at once.
9303 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9306 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9307 segmentation fault for a case of two empty input strings.
9308 * string/test-strncasecmp.c (check1): Renamed to...
9310 (bz14195): Add new testcase for two empty input strings and N > 0.
9311 (test_main): Call new testcase, adapt for renamed function.
9313 2012-08-15 Andreas Jaeger <aj@suse.de>
9316 * crypt/md5test2.c: New test, based on test supplied by Serge
9317 Belyshev <belyshev@depni.sinp.msu.ru>.
9318 * crypt/Makefile (xtests): Add md5test-giant..
9319 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9321 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9324 * crypt/md5.c (md5_process_block): Don't assume the buffer
9325 length is less than 2**32.
9326 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9327 length is less than 2**64.
9329 2012-08-15 Roland McGrath <roland@hack.frob.com>
9331 * string/str-two-way.h: Include <sys/param.h>.
9332 (MAX): Macro removed.
9334 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9335 Move #define and #undef of memmove to just before and after
9336 including <string.h>.
9338 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9339 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9340 and after including <string.h>. Move declarations of
9341 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9342 to before #include "string/memmove.c".
9344 * include/dirent.h: Declare __getdirentries.
9346 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9347 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9349 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9351 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9352 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9353 * sysdeps/i386/configure: Regenerated.
9354 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9355 STABS_CURRENT_FILE, and STABS_FUN.
9356 (END): Remove call to STABS_FUN_END.
9357 (STABS_CURRENT_FILE1): Delete.
9358 (STABS_CURRENT_FILE): Likewise.
9359 (STABS_FUN): Likewise.
9360 (STABS_FUN_END): Likewise.
9361 (STABS_FUN2): Likewise.
9362 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9363 * sysdeps/x86_64/configure: Regenerated.
9365 2012-08-14 Roland McGrath <roland@hack.frob.com>
9367 * elf/dl-open.c: Include <atomic.h>.
9368 * elf/dl-lookup.c: Likewise.
9370 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9372 * sysdeps/unix/sysv/linux/kernel-features.h
9373 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9374 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9376 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9378 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9379 condition on __ASSUME_CLONE_THREAD_FLAGS.
9381 2012-08-14 Andreas Jaeger <aj@suse.de>
9383 * sysdeps/i386/fpu/libm-test-ulps: Update.
9385 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9387 * include/atomic.h (atomic_exchange_and_add): Split into ...
9388 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9391 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9395 2012-08-13 Jeff Law <law@redhat.com>
9397 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9398 null byte in the output string.
9400 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9402 * sysdeps/unix/sysv/linux/kernel-features.h
9403 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9404 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9405 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9406 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9407 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9408 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9409 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9411 2012-08-09 Jeff Law <law@redhat.com>
9414 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9415 When avoid_arena is set, don't retry in the that arena. Pick the
9416 next one, whatever it might be.
9417 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9418 (arena_lock): Pass in new parameter to arena_get2.
9419 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9421 (__libc_malloc): Unify retrying after main arena failure with
9422 __libc_memalign version.
9423 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9425 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9428 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9429 to __redirect_strstr.
9430 (__strstr_sse42): Use typeof __redirect_strstr.
9431 (__strstr_ia32): Likewise.
9432 (__libc_strstr): New prototype.
9433 (strstr): Renamed to ...
9434 (__libc_strstr): This.
9435 (strstr): New strong alias of __libc_strstr.
9436 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9437 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9440 (__libc_time): New prototype.
9441 (time_ifunc): Replace time with __libc_time.
9442 (time): New strong alias and hidden definition of __libc_time.
9443 (__GI_time): Remove strong alias.
9444 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9446 (memmove): Redefined to __redirect_memmove.
9447 (__memmove_sse2): Use typeof __redirect_memmove.
9448 (__memmove_ssse3): Likewise.
9449 (__memmove_ssse3_back): Likewise.
9450 (__libc_memmove): New prototype.
9451 (memmove): Renamed to ...
9452 (__libc_memmove): This.
9453 (memmove): New strong alias of __libc_memmove.
9455 2012-08-08 Mark Salter <msalter@redhat.com>
9458 (R_MN10300_TLS_GD): Define.
9459 (R_MN10300_TLS_LD): Likewise.
9460 (R_MN10300_TLS_LDO): Likewise.
9461 (R_MN10300_TLS_GOTIE): Likewise.
9462 (R_MN10300_TLS_IE): Likewise.
9463 (R_MN10300_TLS_LE): Likewise.
9464 (R_MN10300_TLS_DTPMOD): Likewise.
9465 (R_MN10300_TLS_DTPOFF): Likewise.
9466 (R_MN10300_TLS_TPOFF): Likewise.
9467 (R_MN10300_SYM_DIFF): Likewise.
9468 (R_MN10300_ALIGN): Likewise.
9469 (R_MN10300_NUM): Update.
9471 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9473 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9476 2012-08-08 Roland McGrath <roland@hack.frob.com>
9478 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9480 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9481 sysdeps/unix -> sysdeps/posix move.
9482 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9484 2012-08-07 Allan McRae <allan@archlinux.org>
9487 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9488 (SUNOS_CPP): Likewise.
9489 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9491 (open_input): Call CPP using execvp.
9493 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9495 * sysdeps/unix/sysv/linux/kernel-features.h
9496 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9497 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9498 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9499 (__ASSUME_WAITID_SYSCALL): Likewise.
9500 * sysdeps/unix/sysv/linux/dl-execstack.c
9501 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9503 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9505 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9506 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9507 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9509 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9511 [__ASSUME_WAITID_SYSCALL]: Likewise.
9512 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9514 2012-08-07 Roland McGrath <roland@hack.frob.com>
9516 * sysdeps/unix/closedir.c: Renamed to ...
9517 * sysdeps/posix/closedir.c: ... here.
9518 * sysdeps/unix/dirfd.c: Renamed to ...
9519 * sysdeps/posix/dirfd.c: ... here.
9520 * sysdeps/unix/dirstream.h: Renamed to ...
9521 * sysdeps/posix/dirstream.h: ... here.
9522 * sysdeps/unix/fdopendir.c: Renamed to ...
9523 * sysdeps/posix/fdopendir.c: ... here.
9524 * sysdeps/unix/opendir.c: Renamed to ...
9525 * sysdeps/posix/opendir.c: ... here.
9526 * sysdeps/unix/readdir.c: Renamed to ...
9527 * sysdeps/posix/readdir.c: ... here.
9528 * sysdeps/unix/readdir_r.c: Renamed to ...
9529 * sysdeps/posix/readdir_r.c: ... here.
9530 * sysdeps/unix/rewinddir.c: Renamed to ...
9531 * sysdeps/posix/rewinddir.c: ... here.
9532 * sysdeps/unix/seekdir.c: Renamed to ...
9533 * sysdeps/posix/seekdir.c: ... here.
9534 * sysdeps/unix/telldir.c: Renamed to ...
9535 * sysdeps/posix/telldir.c: ... here.
9536 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9537 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9538 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9539 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9541 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9542 * bits/fcntl.h: ... here.
9544 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9546 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9547 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9548 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9549 (struct flock): Move l_start, l_len to the beginning.
9550 Use __pid_t for l_pid.
9551 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9552 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9553 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9554 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9555 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9556 [__USE_LARGEFILE64] (struct flock64): New type.
9557 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9559 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9560 * bits/dirent.h: ... here.
9562 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9563 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9565 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9567 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9568 Change from 2.6.0 to 2.6.16.
9569 * sysdeps/unix/sysv/linux/configure: Regenerated.
9570 * sysdeps/unix/sysv/linux/kernel-features.h
9571 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9572 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9574 (__ASSUME_UTIMES): Likewise.
9575 (__ASSUME_CLONE_STOPPED): Remove.
9576 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9577 architectures, not kernel version.
9578 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9579 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9580 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9581 (__ASSUME_WAITID_SYSCALL): Likewise.
9582 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9583 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9584 * README: State 2.6.16 as minimum Linux kernel version. Do not
9585 refer to older versions.
9587 2012-08-06 Roland McGrath <roland@hack.frob.com>
9589 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9590 Define alphasort64 as an alias.
9591 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9592 Define versionsort64 as an alias.
9593 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9594 Define scandir64 as an alias.
9595 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9596 Define scandirat64 as an alias.
9597 * dirent/alphasort64.c (alphasort64):
9598 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9599 * dirent/versionsort64.c: Likewise.
9600 * dirent/scandir64.c: Likewise.
9601 * dirent/scandirat64.c: Likewise.
9602 * sysdeps/wordsize-64/alphasort.c: File removed.
9603 * sysdeps/wordsize-64/alphasort64.c: File removed.
9604 * sysdeps/wordsize-64/scandir.c: File removed.
9605 * sysdeps/wordsize-64/scandir64.c: File removed.
9606 * sysdeps/wordsize-64/scandirat.c: File removed.
9607 * sysdeps/wordsize-64/scandirat64.c: File removed.
9608 * sysdeps/wordsize-64/versionsort.c: File removed.
9609 * sysdeps/wordsize-64/versionsort64.c: File removed.
9610 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9611 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9612 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9613 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9614 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9615 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9616 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9617 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9619 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9621 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9623 [defined __arch64__ || defined __sparcv9]
9624 (__INO_T_MATCHES_INO64_T): New macro.
9625 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9626 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9627 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9628 * sysdeps/unix/sysv/linux/bits/dirent.h
9629 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9630 (_DIRENT_MATCHES_DIRENT64): New macro.
9632 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9633 Define lockf64 as an alias.
9634 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9635 Define fseeko64 as an alias.
9636 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9637 Define ftello64 as an alias.
9638 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9639 Define _IO_fgetpos64 and fgetpos64 as aliases.
9640 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9641 Define _IO_fsetpos64 and fsetpos64 as aliases.
9642 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9643 Conditionalize body on this.
9644 * libio/fseeko64.c: Likewise.
9645 * libio/ftello64.c: Likewise.
9646 * libio/iofgetpos64.c: Likewise.
9647 * libio/iofsetpos64.c: Likewise.
9648 * sysdeps/wordsize-64/lockf.c: File removed.
9649 * sysdeps/wordsize-64/lockf64.c: File removed.
9650 * sysdeps/wordsize-64/fseeko.c: File removed.
9651 * sysdeps/wordsize-64/fseeko64.c: File removed.
9652 * sysdeps/wordsize-64/ftello.c: File removed.
9653 * sysdeps/wordsize-64/ftello64.c: File removed.
9654 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9655 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9656 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9657 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9658 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9659 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9660 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9661 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9662 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9663 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9664 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9665 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9666 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9667 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9669 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9670 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9671 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9673 [defined __arch64__ || defined __sparcv9]
9674 (__OFF_T_MATCHES_OFF64_T): New macro.
9675 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9676 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9678 (__OFF_T_MATCHES_OFF64_T): New macro.
9680 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9682 * stdlib/secure-getenv.c (__secure_getenv): Replace
9683 GLIBC_2_16 with GLIBC_2_17.
9685 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9687 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9688 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9690 2012-08-03 David S. Miller <davem@davemloft.net>
9692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9694 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9696 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9698 (__ASSUME_CORRECT_SI_PID): Likewise.
9699 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9700 (__ASSUME_TMPFS_NAME): Likewise.
9701 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9702 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9703 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9704 (HAVE_AUX_SECURE): Make definition unconditional.
9705 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9706 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9708 2012-08-03 Roland McGrath <roland@hack.frob.com>
9710 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9711 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9712 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9713 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9714 __eloop_threshold instead of SYMLOOP_MAX.
9716 * sysdeps/generic/eloop-threshold.h: New file.
9717 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9719 * elf/chroot_canon.c (chroot_canon): Likewise.
9721 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9725 Change to 2.6.0 everywhere.
9726 * sysdeps/unix/sysv/linux/configure: Regenerated.
9727 * sysdeps/unix/sysv/linux/kernel-features.h
9728 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9729 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9731 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9732 (__ASSUME_FUTEX_REQUEUE): Remove.
9733 (__ASSUME_STATFS64): Define unconditionally.
9734 (__ASSUME_AT_SECURE): Likewise.
9735 (__ASSUME_CORRECT_SI_PID): Likewise.
9736 (__ASSUME_TGKILL): Define without depending on kernel version for
9738 (__ASSUME_UTIMES): Likewise.
9739 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9741 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9742 (__ASSUME_TMPFS_NAME): Likewise.
9743 * README: Update reference to Linux kernel versions.
9745 2012-08-02 Marek Polacek <polacek@redhat.com>
9748 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9749 libc_cv_asm_type_prefix with %.
9750 * configure: Regenerated.
9751 * include/libc-symbols.h: Remove comment about
9752 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9753 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9754 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9755 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9756 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9757 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9758 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9759 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9760 * elf/tst-unique2mod1.c: Likewise.
9761 * elf/tst-unique1mod2.c: Likewise.
9762 * elf/tst-unique1mod1.c: Likewise.
9763 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9764 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9765 Replace ASM_TYPE_DIRECTIVE with .type.
9766 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9767 * sysdeps/i386/sysdep.h: Likewise.
9768 * sysdeps/x86_64/sysdep.h: Likewise.
9769 * sysdeps/sh/sysdep.h: Likewise.
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9771 Do not define ASM_TYPE_DIRECTIVE.
9772 * sysdeps/powerpc/sysdep.h: Likewise.
9773 * sysdeps/powerpc/powerpc32/sysdep.h:
9774 Replace ASM_TYPE_DIRECTIVE with .type.
9775 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9776 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9777 * sysdeps/i386/fpu/e_powf.S: Likewise.
9778 * sysdeps/i386/fpu/e_expl.S: Likewise.
9779 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9780 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9781 * sysdeps/i386/fpu/e_pow.S: Likewise.
9782 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9783 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9784 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9785 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9786 * sysdeps/i386/fpu/e_log2.S: Likewise.
9787 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9788 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9789 * sysdeps/i386/fpu/e_powl.S: Likewise.
9790 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9791 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9792 * sysdeps/i386/fpu/e_logl.S: Likewise.
9793 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9794 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9795 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9796 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9797 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9798 * sysdeps/i386/fpu/e_log.S: Likewise.
9799 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9800 * sysdeps/i386/fpu/e_logf.S: Likewise.
9801 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9802 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9803 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9804 * sysdeps/i386/fpu/e_log10.S: Likewise.
9805 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9806 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9807 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9808 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9809 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9810 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9811 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9812 * sysdeps/i386/i686/strtok.S: Likewise.
9813 * sysdeps/i386/i386-mcount.S: Likewise.
9814 * sysdeps/i386/strtok.S: Likewise.
9815 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9816 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9817 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9818 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9819 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9820 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9821 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9822 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9823 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9824 * sysdeps/x86_64/_mcount.S: Likewise.
9825 * sysdeps/x86_64/strtok.S: Likewise.
9826 * sysdeps/sh/_mcount.S: Likewise.
9828 2012-08-01 Roland McGrath <roland@hack.frob.com>
9830 * libio/iofopen.c: Include <fcntl.h>.
9831 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9832 (_IO_fopen64, fopen64): Define as aliases.
9833 * libio/iofopen64.c: Include <fcntl.h>.
9834 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9835 Conditionalize body on this.
9836 * sysdeps/wordsize-64/iofopen.c: File removed.
9837 * sysdeps/wordsize-64/iofopen64.c: File removed.
9839 2012-08-01 Marek Polacek <polacek@redhat.com>
9841 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9842 Use dlfcn directly instead of a variable.
9843 (binfmt-subdir): Do not define.
9846 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9848 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9849 Remove all definitions.
9850 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9851 <kernel-features.h>.
9852 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9853 (miss_F_GETOWN_EX): Remove all definitions.
9854 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9856 [!__ASSUME_FCNTL64]: Remove conditional code.
9857 [__ASSUME_FCNTL64]: Make code unconditional.
9858 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9859 <kernel-features.h>.
9860 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9861 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9862 (lockf64) [__NR_fcntl64]: Make code unconditional.
9863 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9865 * sysdeps/unix/sysv/linux/kernel-features.h
9866 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9867 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9868 Make code unconditional.
9869 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9870 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9872 [__NR_vfork]: Make code unconditional.
9873 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9874 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9876 [__NR_vfork]: Make code unconditional.
9877 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9878 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9880 2012-08-01 Roland McGrath <roland@hack.frob.com>
9882 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9883 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9885 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9886 Define mkstemp64 as an alias.
9887 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9888 Define mkstemps64 as an alias.
9889 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9890 Define mkostemp64 as an alias.
9891 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9892 Define mkostemps64 as an alias.
9893 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9894 Conditionalize body on this.
9895 * misc/mkostemp64.c: Likewise.
9896 * misc/mkostemps64.c: Likewise.
9897 * misc/mkstemps64.c: Likewise.
9898 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9899 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9900 * sysdeps/wordsize-64/mkostemp.c: File removed.
9901 * sysdeps/wordsize-64/mkstemp.c: File removed.
9902 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9903 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9904 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9905 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9908 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9909 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9910 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9911 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9913 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9914 compat_symbol macros from <shlib-compat.h> rather than the underlying
9915 default_symbol_version and symbol_version macros, so that DEFAULT
9916 lines in shlib-versions are respected.
9917 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9919 2012-08-01 Florian Weimer <fweimer@redhat.com>
9921 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9922 Declare with warn_unused_result.
9923 (setgid, setregid, setegid, setresgid): Likewise.
9924 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9926 * WUR-REPORT: Remove set*id functions.
9928 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9930 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9932 2012-07-31 Roland McGrath <roland@hack.frob.com>
9934 * include/sys/socket.h (__libc_accept, __libc_accept4):
9935 Add attribute_hidden.
9936 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9938 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9940 * inet/getnetgrent_r.c (setup): Likewise.
9942 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9944 2012-07-31 David S. Miller <davem@davemloft.net>
9946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9948 2012-07-31 Joseph Myers <joseph@codesourcery.com>
9951 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9952 value between 1.0 and 2.0 and smaller part has absolute value less
9954 * math/s_clog10.c (__clog10): Likewise.
9955 * math/s_clog10f.c (__clog10f): Likewise.
9956 * math/s_clog10l.c (__clog10l): Likewise.
9957 * math/s_clogf.c (__clogf): Likewise.
9958 * math/s_clogl.c (__clogl): Likewise.
9959 * math/libm-test.inc (clog_test): Add more tests.
9960 (clog10_test): Likewise.
9961 * sysdeps/i386/fpu/libm-test-ulps: Update.
9962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9964 2012-07-31 Florian Weimer <fweimer@redhat.com>
9966 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9967 Exit with zero in case no suitable GID is found, and write a
9968 message to standard error.
9970 2012-07-30 Roland McGrath <roland@hack.frob.com>
9972 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9974 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9975 (MAXPATHLEN): Removed.
9976 (NOGROUP, NODEV): New macros.
9977 (setbit, clrbit, isset, isclr): New macros.
9978 (howmany, roundup, powerof2): New macros.
9979 (DEV_BSIZE): New macro.
9981 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9982 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9984 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9985 definition on [!__NO_LONG_DOUBLE_MATH].
9987 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9988 PTR_MANGLE and PTR_DEMANGLE.
9990 * socket/accept4.c (accept4): Rename to __libc_accept4.
9991 Define accept4 as a weak alias.
9993 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9994 on [_DIRENT_HAVE_D_TYPE].
9995 * io/ftw.c (ftw_dir): Likewise.
9997 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9999 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10001 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10002 Use the BSD numbers rather than the arbitrary ones we had.
10003 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10004 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10005 (SIGXCPU, SIGXFSZ): New macros.
10008 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10009 initializer on [_LIBC_REENTRANT].
10011 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10012 definitions inside [_POSIX_MAPPED_FILES].
10014 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10016 * dirent/opendir.c: Include <fcntl.h>.
10018 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10019 (__libc_getspecific): Likewise.
10020 (__libc_key_create): Likewise.
10022 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10023 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10024 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10025 (tmpfile64): Define as alias.
10026 * sysdeps/wordsize-64/tmpfile.c: File removed.
10027 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10028 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10029 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10031 * stdio-common/vfscanf.c: Include <stdbool.h>.
10032 * nss/makedb.c: Likewise.
10033 * stdio-common/_i18n_number.h: Likewise.
10034 * argp/argp-help.c: Likewise.
10035 * posix/wordexp.c: Likewise.
10036 * sysdeps/posix/spawni.c: Likewise.
10037 * nss/nss_files/files-initgroups.c: Likewise.
10038 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10039 * nss/nss_files/files-initgroups.c: Likewise.
10040 * nss/nss_db/db-netgrp.c: Likewise.
10041 * nss/nss_db/db-initgroups.c: Likewise.
10042 * io/fchmodat.c: Include <sys/stat.h>.
10044 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10045 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10047 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10050 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10051 Add multiple inclusion protection.
10053 2012-07-27 David S. Miller <davem@davemloft.net>
10055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10057 2012-07-27 Gary Benson <gbenson@redhat.com>
10060 * elf/rtld.c: Include <stap-probe.h>.
10061 (dl_main): Added static probes "init_start" and "init_complete".
10062 * elf/dl-load.c: Include <stap-probe.h>.
10063 (lose): Take new parameter "nsid".
10064 Added static probe "map_failed".
10065 (_dl_map_object_from_fd): Pass namespace id to lose.
10066 Added static probe "map_start".
10067 (open_verify): Pass namespace id to lose.
10068 * elf/dl-open.c: Include <stap-probe.h>.
10069 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10070 and "reloc_complete".
10071 * elf/dl-close.c: Include <stap-probe.h>.
10072 (_dl_close_worker): Added static probes "unmap_start" and
10074 * elf/rtld-debugger-interface.txt: New file documenting the above.
10076 2012-07-26 Roland McGrath <roland@hack.frob.com>
10078 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10079 rather than a string variable.
10080 * sunrpc/rpc_main.c (h_output): Likewise.
10081 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10083 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10085 * inet/check_native.c: New file.
10087 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10090 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10091 if larger part has absolute value 1.0.
10092 * math/s_clog10.c (__clog10): Likewise.
10093 * math/s_clog10f.c (__clog10f): Likewise.
10094 * math/s_clog10l.c (__clog10l): Likewise.
10095 * math/s_clogf.c (__clogf): Likewise.
10096 * math/s_clogl.c (__clogl): Likewise.
10097 * math/libm-test.inc (clog_test): Add more tests.
10098 (clog10_test): Likewise.
10099 * sysdeps/i386/fpu/libm-test-ulps: Update.
10100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10102 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10103 (pltexit): Likewise.
10104 (La_regs): Likewise.
10105 (La_retval): Likewise.
10106 (int_retval): Likewise.
10107 Update #error for removed macros to refer only to definitions in
10109 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10111 (pltexit): Likewise.
10112 (La_regs): Likewise.
10113 (La_retval): Likewise.
10114 (int_retval): Likewise.
10115 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10117 (pltexit): Likewise.
10118 (La_regs): Likewise.
10119 (La_retval): Likewise.
10120 (int_retval): Likewise.
10121 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10123 (pltexit): Likewise.
10124 (La_regs): Likewise.
10125 (La_retval): Likewise.
10126 (int_retval): Likewise.
10127 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10129 (pltexit): Likewise.
10130 (La_regs): Likewise.
10131 (La_retval): Likewise.
10132 (int_retval): Likewise.
10133 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10135 (pltexit): Likewise.
10136 (La_regs): Likewise.
10137 (La_retval): Likewise.
10138 (int_retval): Likewise.
10139 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10141 (pltexit): Likewise.
10142 (La_regs): Likewise.
10143 (La_retval): Likewise.
10144 (int_retval): Likewise.
10145 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10146 macro definitions in tst-audit.h.
10147 * sysdeps/i386/tst-audit.h: New file.
10148 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10149 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10150 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10151 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10152 * sysdeps/sh/tst-audit.h: Likewise.
10153 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10154 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10155 * sysdeps/x86_64/tst-audit.h: Likewise.
10157 2012-07-26 Andreas Jaeger <aj@suse.de>
10159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10162 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10163 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10164 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10166 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10167 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10168 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10170 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10173 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10175 (si_call_addr, si_syscall, si_arch): Define new macro.
10176 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10178 (si_call_addr, si_syscall, si_arch): Define new marcro.
10179 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10181 (si_call_addr, si_syscall, si_arch): Define new macro.
10182 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10184 (si_call_addr, si_syscall, si_arch): Define new macro.
10186 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10190 Change to 2.4.21 where previously 2.4.1.
10191 * sysdeps/unix/sysv/linux/configure: Regenerated.
10192 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10193 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10194 Linux kernel version.
10195 (__ASSUME_STD_AUXV): Remove.
10196 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10198 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10199 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10200 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10201 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10202 (__ASSUME_NETLINK_SUPPORT): Likewise.
10203 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10204 (__no_netlink_support): Remove conditional definition.
10205 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10207 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10208 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10209 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10210 (if_nameindex_ioctl): Remove.
10211 (if_nameindex_netlink): Do not handle __no_netlink_support.
10212 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10214 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10215 Remove conditional code.
10216 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10218 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10220 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10221 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10222 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10224 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10225 [!__ASSUME_STD_AUXV]: Remove conditional code.
10226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10227 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10228 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10230 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10231 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10233 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10235 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10236 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10238 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10240 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10243 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10246 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10247 code unconditional.
10248 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10250 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10252 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10255 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10257 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10260 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10261 code unconditional.
10262 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10264 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10266 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10269 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10270 code unconditional.
10271 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10273 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10275 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10278 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10280 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10281 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10282 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10283 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10284 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10285 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10286 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10287 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10288 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10289 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10290 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10291 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10292 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10293 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10294 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10295 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10296 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10297 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10298 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10300 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10301 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10302 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10304 2012-07-25 Florian Weimer <fweimer@redhat.com>
10306 * Versions.def: Add GLIBC_2.17.
10307 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10308 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10309 Introduce __libc_secure_getenv.
10310 * stdlib/Versions (2.17): Add secure_getenv
10311 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10312 * stdlib/secure-getenv.c: Rename __secure_getenv to
10313 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10314 symbol __secure_getenv for GLIBC_2.0.
10315 * stdlib/tst-secure-getenv.c: New.
10316 * stdlib/Makefile (tests): Add testcase.
10317 * manual/startup.texi (Environment Access): Document
10319 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10320 __libc_secure_getenv.
10321 * inet/ruserpass.c (ruserpass): Likewise.
10322 * malloc/mtrace.c (mtrace): Likewise.
10323 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10324 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10325 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10326 * sysdeps/posix/tempname.c: Likewise. Evaluate
10327 HAVE_SECURE_GETENV.
10328 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10329 __secure_getenv to __libc_secure_getenv.
10330 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10343 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10345 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10346 (struct La_i86_retval): Likewise.
10347 (struct La_x86_64_regs): Likewise.
10348 (struct La_x86_64_retval): Likewise.
10349 (struct La_x32_regs): Likewise.
10350 (struct La_x32_retval): Likewise.
10351 (struct La_ppc32_regs): Likewise.
10352 (struct La_ppc32_retval): Likewise.
10353 (struct La_ppc64_regs): Likewise.
10354 (struct La_ppc64_retval): Likewise.
10355 (struct La_sh_regs): Likewise.
10356 (struct La_sh_retval): Likewise.
10357 (struct La_s390_32_regs): Likewise.
10358 (struct La_s390_32_retval): Likewise.
10359 (struct La_s390_64_regs): Likewise.
10360 (struct La_s390_64_retval): Likewise.
10361 (struct La_sparc32_regs): Likewise.
10362 (struct La_sparc32_retval): Likewise.
10363 (struct La_sparc64_regs): Likewise.
10364 (struct La_sparc64_retval): Likewise.
10365 (struct audit_ifaces): Remove architecture-specific pltenter and
10367 * sysdeps/i386/ldsodefs.h: New file.
10368 * sysdeps/powerpc/ldsodefs.h: Likewise.
10369 * sysdeps/s390/ldsodefs.h: Likewise.
10370 * sysdeps/sh/ldsodefs.h: Likewise.
10371 * sysdeps/sparc/ldsodefs.h: Likewise.
10372 * sysdeps/x86_64/ldsodefs.h: Likewise.
10374 2012-07-25 Marek Polacek <polacek@redhat.com>
10377 * math/libm-test.inc (yn_test): Add another test.
10378 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10379 to ERANGE when the result is +-Inf.
10380 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10381 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10382 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10383 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10385 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10387 * conform/data/time.h-data (NULL): Use macro-constant. Require
10389 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10391 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10393 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10395 * configure.in <sysdeps resolving>: Correct printing
10397 * configure: Regenerate.
10399 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10401 * math/w_ilogb.c: Include <limits.h>.
10402 * math/w_ilogbl.c: Likewise.
10404 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10406 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10407 va_copy. Document allowing for unavailable va_copy only as
10408 pre-C99 compatibility.
10409 * manual/string.texi (Copying and Concatenation): Use va_copy
10410 instead of __va_copy in concat example.
10412 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10414 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10415 (__sendto): Use create_address_port. Initialize APORT and deallocate
10418 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10419 with O_NOLINK passed to __file_name_lookup.
10421 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10422 with O_NOLINK passed to __file_name_lookup.
10424 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10425 negative N or less than NGIDS.
10427 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10428 type to string_t. Set ERANGE as errno and return it if NAME is not big
10429 enough. Use memcpy instead of strncpy.
10431 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10433 * elf/Makefile (check-data): Remove.
10434 (localplt.data): New vpath directive.
10435 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10436 instead of $(check-data).
10437 * scripts/data/localplt-generic.data: Move to ...
10438 * sysdeps/generic/localplt.data: ... here.
10439 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10440 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10441 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10444 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10447 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10450 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10453 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10456 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10460 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10462 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10463 PPC32 and PPC64 files.
10464 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10465 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10467 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10469 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10470 __makecontext_ret to ...
10471 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10472 ... here and call exit if uc_link is NULL. New file.
10473 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10474 __makecontext_ret.S.
10475 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10476 __makecontext_ret to ...
10477 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10478 ... here and call exit if uc_link is NULL. New file.
10479 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10480 __makecontext_ret.S.
10482 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10484 * elf/elf.h (R_390_IRELATIVE): New definition.
10485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10486 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10487 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10488 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10489 (elf_machine_lazy_rel): Likewise.
10490 * sysdeps/s390/dl-irel.h: New file.
10491 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10492 * sysdeps/s390/s390-64/memset.S: New asm code.
10493 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10494 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10495 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10496 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10497 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10498 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10499 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10500 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10501 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10502 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10503 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10504 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10505 * sysdeps/s390/s390-32/memset.S: New asm code.
10506 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10508 2012-07-17 Marek Polacek <polacek@redhat.com>
10511 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10512 * sysdeps/s390/s390-64/configure.in: Likewise.
10513 * sysdeps/sparc/configure.in: Likewise.
10514 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10515 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10516 * sysdeps/i386/configure.in: Likewise.
10517 * sysdeps/x86_64/configure.in: Likewise.
10518 * sysdeps/sh/configure.in: Likewise.
10519 * sysdeps/s390/s390-32/configure: Regenerated.
10520 * sysdeps/s390/s390-64/configure: Likewise.
10521 * sysdeps/x86_64/configure: Likewise.
10522 * sysdeps/sh/configure: Likewise.
10523 * sysdeps/powerpc/powerpc64/configure: Likewise.
10524 * sysdeps/powerpc/powerpc32/configure: Likewise.
10525 * sysdeps/sparc/configure: Likwise.
10526 * sysdeps/i386/configure: Likewise.
10528 * elf/dl-open.c: Comment fixes.
10530 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10532 * Makefile [CXX] (check-data): Remove.
10533 [CXX] (c++-types.data): New vpath directive.
10534 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10535 vpath. Do not allow for C++ type data being missing.
10536 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10537 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10538 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10539 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10540 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10541 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10542 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10545 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10548 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10551 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10554 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10557 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10560 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10563 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10566 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10567 definitions to architecture-specific files.
10568 (TLS_IE): Likewise.
10569 (TLS_LD): Likewise.
10570 (TLS_GD): Likewise.
10571 * sysdeps/i386/tls-macros.h: New file.
10572 * sysdeps/powerpc/tls-macros.h: Likewise.
10573 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10574 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10575 * sysdeps/sh/tls-macros.h: Likewise.
10576 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10577 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10578 * sysdeps/x86_64/tls-macros.h: Likewise.
10580 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10582 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10583 zero value for regular exit case.
10585 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10586 (__start_context): Preserve zero value for regular exit case.
10588 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10589 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10591 * manual/setjmp.texi (setcontext): Clarify normal process
10592 termination when uc_link is the null pointer.
10593 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10596 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10598 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10599 preprocessor. Test for each exception mask separately.
10601 2012-07-16 Andreas Jaeger <aj@suse.de>
10603 * po/ru.po: Update from translation team.
10605 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10607 * conform/data/string.h-data (NULL): Use macro-constant. Require
10609 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10610 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10611 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10612 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10613 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10615 2012-07-13 Andreas Jaeger <aj@suse.de>
10617 * po/fr.po: Update from translation team.
10619 2012-07-12 Marek Polacek <polacek@redhat.com>
10622 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10623 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10626 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10629 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10630 Change to 2.4.1 where previously 2.4.0.
10631 * sysdeps/unix/sysv/linux/configure: Regenerated.
10632 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10633 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10635 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10636 (__ASSUME_AT_CLKTCK): Remove.
10637 (__ASSUME_AT_PAGESIZE): Likewise.
10638 (__ASSUME_AT_XID): Likewise.
10639 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10640 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10641 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10643 (HAVE_AUX_PAGESIZE): Likewise.
10644 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10645 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10646 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10648 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10652 the temporary buffer used to invoke __gethostbyname2_r,
10653 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10654 host_data / struct gaih_addrtuple.
10655 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10656 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10657 header file nss/nsswitch.h.
10658 * nss/nsswitch.h (global scope): Add definition of implementation
10659 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10660 resolv/nss_dns/dns-host.c).
10662 2012-07-11 Andreas Jaeger <aj@suse.de>
10664 * po/fr.po: Update from translation team.
10666 * po/sv.po: Update from translation team
10667 * po/fr.po: Another update from translation team.
10669 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10672 for subnormals or multiply small sinh result by itself.
10673 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10676 2012-07-11 David S. Miller <davem@davemloft.net>
10678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10680 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10683 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10684 (INTERNAL_MARK): Shift it here.
10686 2012-07-10 Marek Polacek <polacek@redhat.com>
10689 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10690 libc_cv_asm_global_directive with .globl.
10691 * configure: Regenerated.
10692 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10694 * sysdeps/i386/configure: Regenerated.
10695 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10697 * sysdeps/x86_64/configure: Regenerated.
10698 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10699 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10700 * elf/tst-unique2mod2.c: Likewise.
10701 * elf/tst-unique2mod1.c: Likewise.
10702 * elf/tst-unique1mod2.c: Likewise.
10703 * elf/tst-unique1mod1.c: Likewise.
10704 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10705 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10706 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10707 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10708 * sysdeps/mach/sysdep.h: Likewise.
10709 * sysdeps/i386/sysdep.h: Likewise.
10710 * sysdeps/i386/i386-mcount.S: Likewise.
10711 * sysdeps/x86_64/_mcount.S: Likewise.
10712 * sysdeps/x86_64/sysdep.h: Likewise.
10713 * sysdeps/sh/_mcount.S: Likewise.
10714 * sysdeps/sh/sysdep.h: Likewise.
10715 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10716 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10717 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10718 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10719 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10720 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10721 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10722 * locale/localeinfo.h: Likewise.
10723 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10724 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10726 2012-07-09 Roland McGrath <roland@hack.frob.com>
10729 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10731 * manual/message.texi (The Uniforum approach): Likewise.
10732 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10733 (glibc iconv Implementation): Likewise.
10735 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10738 * math/s_clog.c (__clog): Avoid scaling a value down where that
10739 could result in underflow.
10740 * math/s_clog10.c (__clog10): Likewise.
10741 * math/s_clog10f.c (__clog10f): Likewise.
10742 * math/s_clog10l.c (__clog10l): Likewise.
10743 * math/s_clogf.c (__clogf): Likewise.
10744 * math/s_clogl.c (__clogl): Likewise.
10745 * math/libm-test.inc (clog_test): Add more tests.
10746 (clog10_test): Likewise.
10747 * sysdeps/i386/fpu/libm-test-ulps: Update.
10748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10750 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10753 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10754 by 7 not 8 to examine high bit of fractional part.
10757 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10758 for call to __mcount_internal.
10759 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10760 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10761 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10763 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10766 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10767 approximation for values within 0x1p-13f of an odd multiple of
10769 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10770 exception. Add more tests.
10771 * sysdeps/i386/fpu/libm-test-ulps: Update.
10774 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10775 inputs and return -1 for them. Do not check for +Inf in case not
10776 reachable for +Inf.
10777 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10778 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10779 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10780 and return -1 for them. Do not check for +Inf in case not
10781 reachable for +Inf.
10782 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10784 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10785 and return -1 for them. Do not check for +Inf in case not
10786 reachable for +Inf.
10787 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10788 spurious underflow.
10789 * sysdeps/i386/fpu/libm-test-ulps: Update.
10790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10792 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10794 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10796 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10800 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10801 could result in spurious underflow. Scale down values above
10802 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10803 * math/s_csqrtf.c (__csqrtf): Likewise.
10804 * math/s_csqrtl.c (__csqrtl): Likewise.
10805 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10806 spurious underflow.
10807 * sysdeps/i386/fpu/libm-test-ulps: Update.
10808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10810 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10812 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10814 * catgets/xopen-msg.awk: New file.
10815 * catgets/xopen-msg.sed: Removed.
10817 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10819 * intl/po2test.awk: New file.
10820 * intl/po2test.sed: Removed.
10822 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10825 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10826 or multiply small sinh result by itself.
10827 * math/s_ctanf.c (__ctanf): Likewise.
10828 * math/s_ctanh.c (__ctanh): Likewise.
10829 * math/s_ctanhf.c (__ctanhf): Likewise.
10830 * math/s_ctanhl.c (__ctanhl): Likewise.
10831 * math/s_ctanl.c (__ctanl): Likewise.
10832 * math/libm-test.inc (ctan_test_tonearest): New function.
10833 (ctan_test_towardzero): Likewise.
10834 (ctan_test_downward): Likewise.
10835 (ctan_test_upward): Likewise.
10836 (ctanh_test_tonearest): Likewise.
10837 (ctanh_test_towardzero): Likewise.
10838 (ctanh_test_downward): Likewise.
10839 (ctanh_test_upward): Likewise.
10840 (main): Call these new functions.
10841 * sysdeps/i386/fpu/libm-test-ulps: Update.
10842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10844 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10846 * .gitignore: Delete /ports entry.
10848 2012-07-03 Andreas Jaeger <aj@suse.de>
10850 * po/bg.po: Update from translation team.
10851 * po/cs.po: Likewise.
10852 * po/de.po: Likewise.
10853 * po/hr.po: Likewise.
10854 * po/nl.pl: Likewise.
10855 * po/pl.po: Likewise.
10856 * po/vi.po: Likewise.
10858 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10860 * Makeconfig [!+link] (+link-before-libc): New variable.
10861 [!+link] (+link-after-libc): Likewise.
10862 [!+link] (+link-tests): Likewise.
10863 [!+link] (+link): Define in terms of $(+link-before-libc) and
10864 $(+link-after-libc).
10865 [!+link-static] (+link-static-before-libc): New variable.
10866 [!+link-static] (+link-static-after-libc): Likewise.
10867 [!+link-static] (+link-static-tests): Likewise.
10868 [!+link-static] (+link-static): Define in terms of
10869 $(+link-static-before-libc) and $(+link-static-after-libc).
10870 [build-shared] (link-libc-before-gnulib): New variable.
10871 [build-shared] (link-libc-tests): Likewise.
10872 [build-shared] (link-libc): Define in terms of
10873 $(link-libc-before-gnulib).
10874 [!build-shared] (link-libc-tests): New variable.
10875 (link-libc-static-tests): New variable.
10876 [!gnulib] (gnulib-arch): New variable.
10877 [!gnulib] (gnulib-tests): Likewise.
10878 [!gnulib] (static-gnulib-arch): Likewise.
10879 [!gnulib] (static-gnulib-tests): Likewise.
10880 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10881 Define with "=" instead of ":=".
10882 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10883 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10884 * Rules (binaries-all-notests): New variable.
10885 (binaries-all-tests): Likewise.
10886 (binaries-static-notests): Likewise.
10887 (binaries-static-tests): Likewise.
10888 (binaries-all): Define using $(binaries-all-notests) and
10889 $(binaries-all-tests).
10890 (binaries-static): Define using $(binaries-static-notests) and
10891 $(binaries-static-tests).
10892 (binaries-shared-tests): New variable.
10893 (binaries-shared-notests): Likewise.
10894 (binaries-shared): Remove variable.
10895 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10896 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10897 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10898 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10899 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10900 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10901 * elf/Makefile (sln-modules): New variable.
10902 (extra-objs): Add $(sln-modules:=.o).
10903 (ldconfig-modules): Add static-stubs.
10904 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10905 * elf/static-stubs.c: New file.
10908 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10909 by 7 not 8 to examine high bit of fractional part. Use volatile
10910 variables when splitting into final array of floats if
10911 __FLT_EVAL_METHOD__ != 0.
10912 * math/libm-test.inc (cos_test): Add another test.
10913 (sin_test): Likewise.
10914 * sysdeps/i386/fpu/libm-test-ulps: Update.
10917 * math/libm-test.inc (cosh_test): Add more tests.
10919 * version.h (RELEASE): Set to "development".
10920 (VERSION): Set to "2.16.90".
10922 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10924 * NEWS: Update copyright. Remove last-updated date.
10925 Mention math library bug fixes and timezone data changes.
10926 * README: Mention GNU/Hurd, x32, and HPPA support status.
10928 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10930 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10932 2012-06-27 Andreas Jaeger <aj@suse.de>
10934 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10936 2012-06-25 Andreas Jaeger <aj@suse.de>
10938 * sysdeps/s390/fpu/libm-test-ulps: Update.
10940 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10941 Thomas Schwinge <thomas@codesourcery.com>
10943 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10944 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10945 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10948 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10950 * sysdeps/mach/start.c: Remove file.
10951 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10952 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10953 * sysdeps/sh/init-first.c: Likewise.
10955 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10956 registers for frame unwinding purposes, add CFI directives.
10957 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10958 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10959 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10962 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10963 __fortify_fail returning.
10964 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10966 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10967 sysdeps/sh/____longjmp_chk.S.
10968 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10969 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10970 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10971 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10973 * sysdeps/sh/abort-instr.h: New file.
10974 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10975 process in case exit returns.
10977 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10978 initialize the GOT register before use.
10980 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10981 calculation of ARGC > 4.
10983 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10984 meaningful names to some local labels.
10986 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10987 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10989 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10990 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10991 (__arch_compare_and_exchange_val_16_acq): Likewise.
10992 (__arch_compare_and_exchange_val_32_acq): Likewise.
10993 (atomic_exchange_and_add): Fix gUSA sequence.
10994 (atomic_add): Likewise.
10995 (atomic_add_negative): Likewise.
10996 (atomic_add_zero): Likewise.
10997 (atomic_bit_test_set): Likewise.
10999 2012-06-22 Andreas Schwab <schwab@redhat.com>
11002 * include/link.h (struct link_map): Add l_free_initfini.
11003 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11005 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11006 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11007 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11010 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11012 * configure.in: Use AC_LANG_SOURCE.
11013 * configure: Regenerate.
11015 2012-06-22 Roland McGrath <roland@hack.frob.com>
11017 * configure.in (libc_cv_localstatedir): New substituted variable.
11018 * configure: Regenerated.
11019 * config.make.in (localstatedir): New variable, substituted from
11020 libc_cv_localstatedir.
11021 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11022 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11023 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11024 * sysdeps/gnu/configure: Regenerated.
11026 2012-06-21 Jeff Law <law@redhat.com>
11029 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11030 free. Simplify list management for _LIBC case.
11032 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11036 Clear sign bit of 64-bit integer value before comparing against
11039 * sysdeps/mach/configure: Regenerated.
11041 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11044 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11046 2012-06-21 Jeff Law <law@redhat.com>
11049 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11050 uint16_t for elements in the "seen" array to avoid char overflows.
11051 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11052 * elf/dl-open.c (dl_open_worker): Likewise.
11054 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11056 * scripts/list-sources.sh: Scan PORTS for translations.
11057 * po/libc.pot: Regenerated.
11059 2012-06-21 Andreas Jaeger <aj@suse.de>
11062 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11064 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11065 * bits/byteswap-16.h (__bswap_16): Likewise.
11066 * bits/byteswap.h (__bswap_constant_16): Likewise.
11068 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11071 * sysdeps/i386/fpu_control.h: Removed.
11072 * sysdeps/x86_64/fpu_control.h: Moved to ...
11073 * sysdeps/x86/fpu_control.h: Here.
11075 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11076 (_FPU_SETCW): Likewise.
11078 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11081 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11082 * sysdeps/x86/fpu/bits/mathinline.h: This.
11083 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11087 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11088 functions if __x86_64__ is defined.
11090 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11092 * string/endian.h: Add !__ASSEMBLER__ condition for including
11093 conversion interfaces.
11095 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11099 of ABS(x) in calculating zero to negative powers other than odd
11101 * math/libm-test.inc (pow_test): Add more tests.
11103 2012-06-15 Andreas Jaeger <aj@suse.de>
11105 * manual/contrib.texi (Contributors): Update entry of Liubov
11106 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11109 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11111 * string/string.h: Add __wur to GNU version of strerror_r.
11113 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11116 * string/Makefile (tests): Add tst-strtok_r.
11117 * string/tst-strtok_r.c: New file.
11118 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11119 RAX_LP/RDX_LP on SAVE_PTR.
11121 2012-06-14 Roland McGrath <roland@hack.frob.com>
11123 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11125 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11127 * libm_test.inc (csqrt_test): Allow more spurious underflow
11129 (j0_test): Likewise.
11130 (j1_test): Likewise.
11131 (y0_test): Likewise.
11132 (y1_test): Likewise.
11134 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11136 * po/Makefile (libc.pot): Use UTF-8 charset.
11138 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11141 Suppress sign-conversion warning from FD_SET.
11142 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11143 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11144 not unsigned long int.
11145 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11147 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11151 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11152 __extern_always_inline instead of __extern_inline.
11153 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11154 (__signbit): Likewise.
11155 (__signbitl): Support C++ namespace.
11156 (lrintf): New inline function.
11158 (llrintf): Likewise.
11159 (llrint): Likewise.
11169 (floorf): Likewise.
11170 (nearbyint): Likewise.
11171 (nearbyintf): Likewise.
11173 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11175 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11176 non-default versions.
11178 2012-06-11 Roland McGrath <roland@hack.frob.com>
11181 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11183 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11185 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11186 (FE_UPWARD, FE_DOWNWARD): Don't define.
11187 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11188 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11190 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11192 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11193 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11195 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11197 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11198 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11199 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11200 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11202 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11205 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11206 * sysdeps/i386/fpu/Implies: New file.
11207 * sysdeps/x86_64/fpu/Implies: Likewise.
11208 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11209 * sysdeps/x86/fpu/bits/fenv.h: This.
11211 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11214 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11217 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11218 character 0xffff that matches the last element of the
11221 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11226 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11228 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11229 values higher than 25.6283.
11231 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11233 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11234 subnormal exponent extraction and add some __builtin_expect.
11235 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11236 Fix for subnormal mantissa calculation.
11238 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11240 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11241 cpu2 is -1 and errno is not ENOSYS.
11243 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11246 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11247 * sysdeps/x86/bits/string.h: This.
11248 * sysdeps/x86_64/bits/string.h: Removed.
11250 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11251 if not compiling for x86-64, but compiling for >= i486.
11253 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11254 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11256 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11257 New macro from Linux kernel 3.4.0.
11258 (FP_XSTATE_MAGIC2): Likewise.
11259 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11260 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11261 (struct _fpx_sw_bytes): New struct.
11262 (struct _xsave_hdr): Likewise.
11263 (struct _ymmh_state): Likewise.
11264 (struct _xstate): Likewise.
11266 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11267 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11268 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11269 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11270 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11271 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11273 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11274 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11275 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11276 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11277 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11278 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11280 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11283 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11284 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11285 (sysdep_headers): Include sys/platform/ppc.h.
11286 * sysdeps/powerpc/test-gettimebase.c: Test for
11287 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11288 * manual/Makefile (appendices): Include platform.texi.
11289 * manual/contrib.texi (Contributors): Update @node pointers.
11290 * manual/maint.texi (Maintenance): Likewise.
11291 (Platform): New node.
11292 * manual/platform.texi: New file. Document the new features.
11294 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11295 Jakub Jelinek <jakub@redhat.com>
11298 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11299 where __builtin_expect is unavailable.
11301 2012-06-03 David S. Miller <davem@davemloft.net>
11303 * stdlib/longlong.h: Updated from GCC.
11305 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11308 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11309 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11312 (GLIBC_2.16): Likewise.
11314 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11316 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11318 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11321 (default-abi): New variable.
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11323 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11325 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11327 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11332 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11333 definition. Document in comment.
11335 2012-06-01 David S. Miller <davem@davemloft.net>
11337 * stdlib/longlong.h: Updated from GCC.
11339 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11342 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11343 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11344 sys/debugreg.h sys/io.h here.
11345 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11346 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11348 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11349 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11350 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11351 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11352 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11353 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11355 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11356 Define only if __x86_64__ is defined.
11358 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11361 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11362 Use int64_t for variable i.
11363 * math/libm-test.inc (fmod_test): Add more tests.
11365 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11366 z computation is not scheduled after fetestexcept.
11367 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11368 Use math_force_eval instead of asm to ensure calculation scheduled
11369 before exception test.
11370 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11371 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11373 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11376 computation is not scheduled after fetestexcept.
11378 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11381 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11382 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11384 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11386 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11387 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11389 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11392 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11394 (__WCHAR_MIN): Support __WORDSIZE == 64.
11395 (__WCHAR_MAX): Likewise.
11397 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11398 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11401 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11402 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11405 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11406 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11408 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11409 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11411 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11412 Defined to 1 if __x86_64__ isn't defined.
11413 (_STAT_VER_LINUX_OLD): New.
11414 (st_atime): Remove duplicate.
11415 (st_mtime): Likewise.
11416 (st_ctime): Likewise.
11418 2012-05-31 David S. Miller <davem@davemloft.net>
11420 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11423 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11425 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11429 * elf/dl-reloc.c: Include <_itoa.h>.
11430 (_dl_reloc_bad_type): Remove use of INTUSE.
11431 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11432 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11433 * stdio-common/psiginfo.c (psiginfo): Likewise.
11434 * stdio-common/psignal.c (psignal): Likewise.
11435 * string/strsignal.c (strsignal): Likewise.
11436 * include/signal.h (_sys_siglist): Declare hidden proto.
11437 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11438 INTVARDEF with libc_hidden_data_def.
11439 * stdio-common/itoa-udigits.c: Likewise.
11440 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11441 (_itoa_lower_digits_internal): Remove declaration.
11442 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11443 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11444 (_sys_sigabbrev_internal): Remove aliases.
11445 (_sys_siglist): Define hidden alias.
11447 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11452 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11455 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11456 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11458 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11459 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11460 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11461 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11462 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11463 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11465 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11466 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11467 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11469 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11477 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11478 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11479 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11481 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11482 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11483 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11484 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11485 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11486 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11488 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11489 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11491 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11492 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11494 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11495 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11496 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11498 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11499 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11501 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11503 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11504 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11505 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11507 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11509 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11511 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11513 * math/math.h (M_El): Use two more decimal places.
11514 (M_LOG2El): Likewise.
11515 (M_LOG10El): Likewise.
11516 (M_LN2l): Likewise.
11517 (M_LN10l): Likewise.
11519 (M_PI_2l): Likewise.
11520 (M_PI_4l): Likewise.
11521 (M_1_PIl): Likewise.
11522 (M_2_PIl): Likewise.
11523 (M_2_SQRTPIl): Likewise.
11524 (M_SQRT2l): Likewise.
11525 (M_SQRT1_2l): Likewise.
11527 2012-05-31 David S. Miller <davem@davemloft.net>
11529 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11530 values between float registers.
11531 * sysdeps/sparc/sparc64/memset.S: Likewise.
11532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11534 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11536 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11537 -D_FORTIFY_SOURCE=1.
11538 (CPPFLAGS-tst-longjmp_chk.c): Define.
11539 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11540 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11541 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11542 CFLAGS-tst-wchar-h.c.
11544 2012-05-31 Marek Polacek <polacek@redhat.com>
11547 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11548 __endmntent_internal): Remove declaration.
11549 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11550 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11551 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11553 2012-05-30 David S. Miller <davem@davemloft.net>
11555 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11556 (___Q_simulate_exceptions): Use real FP ops rather than writing
11558 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11561 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11564 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11565 * sysdeps/x86/bits/xtitypes.h: This.
11567 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11568 * sysdeps/x86/bits/wordsize.h: This.
11570 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11571 * sysdeps/x86/bits/huge_vall.h: This.
11573 * sysdeps/i386/bits/select.h: Removed.
11574 * sysdeps/x86_64/bits/select.h: Renamed to ...
11575 * sysdeps/x86/bits/select.h: This.
11577 * sysdeps/i386/bits/setjmp.h: Removed.
11578 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11579 * sysdeps/x86/bits/setjmp.h: This.
11581 * sysdeps/i386/bits/mathdef.h: Removed.
11582 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11583 * sysdeps/x86/bits/mathdef.h: This.
11585 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11588 * include/sys/socket.h (__connect_internal)
11589 (__libc_sa_len_internal): Remove declaration.
11590 (__connect, __libc_sa_len): Declare hidden_proto.
11591 (SA_LEN): Remove use of INTUSE.
11592 * socket/connect.c: Add libc_hidden_def.
11593 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11594 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11595 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11597 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11598 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11599 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11600 of adding _internal alias.
11602 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11605 * sysdeps/i386/bits/link.h: Removed.
11606 * sysdeps/i386/bits/linkmap.h: Likewise.
11607 * sysdeps/x86_64/bits/link.h: Renamed to ...
11608 * sysdeps/x86/bits/link.h: This.
11609 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11610 * sysdeps/x86/bits/linkmap.h: This.
11612 * sysdeps/i386/bits/endian.h: Removed.
11613 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11614 * sysdeps/x86/bits/endian.h: This.
11616 * sysdeps/i386/bits/byteswap.h: Removed.
11617 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11618 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11619 * sysdeps/x86/bits/byteswap.h: This.
11620 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11621 * sysdeps/x86/bits/byteswap-16.h: This.
11622 * sysdeps/i386/Implies: Add x86.
11623 * sysdeps/x86_64/Implies: Likewise.
11625 2012-05-30 David S. Miller <davem@davemloft.net>
11627 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11628 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11629 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11630 (FP_TRAPPING_EXCEPTIONS): Define.
11631 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11632 (FP_TRAPPING_EXCEPTIONS): Define.
11633 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11634 subnormals only when inexact has been signalled or underflow
11635 exceptions are enabled.
11636 (_FP_PACK_CANONICAL): Likewise.
11638 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11641 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11642 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11644 2012-05-30 Richard Henderson <rth@twiddle.net>
11646 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11647 with #ifndef NOT_IN_libc.
11649 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11650 marked to avoid plt entry.
11652 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11655 * Makeconfig (default-abi): New macro.
11656 (abi-includes): Likewise.
11657 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11658 $(abi-$(default-abi)-lib-soname) for soname if defined.
11659 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11661 * Makefile (installed-stubs): Likewise.
11662 * include/stubs-biarch.h: Removed.
11663 * scripts/lib-names.awk: Only handle one library at a time.
11664 * scripts/soversions.awk: Remove WORDSIZE support.
11665 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11667 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11669 (syscall-list-default-condition): Likewise.
11670 (syscall-list-default-condition): Likewise.
11671 (syscall-list-includes): Likewise.
11672 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11673 syscall-list-* with abi-*. Handle undefined abi-variants.
11674 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11675 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11676 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11677 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11678 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11679 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11681 (syscall-list-32-options): Likewise.
11682 (syscall-list-32-condition): Likewise.
11683 (syscall-list-64-options): Likewise.
11684 (syscall-list-64-condition): Likewise.
11685 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11687 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11690 (abi-64-ld-soname): New macro.
11691 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11692 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11695 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11696 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11698 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11700 * sysdeps/unix/sysv/linux/kernel-features.h
11701 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11702 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11703 include <kernel-features.h>.
11704 [!__NR_ftruncate64]: Remove conditional code.
11705 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11706 [__NR_ftruncate64]: Make code unconditional.
11707 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11708 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11709 include <kernel-features.h>.
11710 [!__NR_ftruncate64]: Remove conditional code.
11711 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11712 [__NR_ftruncate64]: Make code unconditional.
11713 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11715 include <kernel-features.h>.
11716 [!__NR_ftruncate64]: Remove conditional code.
11717 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11718 [__NR_ftruncate64]: Make code unconditional.
11719 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11721 include <kernel-features.h>.
11722 [!__NR_ftruncate64]: Remove conditional code.
11723 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11724 [__NR_ftruncate64]: Make code unconditional.
11725 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11727 * configure.in (libc_cv_fpie): Weaken to a compile test using
11728 LIBC_TRY_CC_OPTION.
11729 * configure: Regenerated.
11731 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11746 2012-05-27 David S. Miller <davem@davemloft.net>
11748 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11750 (__Q_simulate_exceptions): Return void. Change to simulate
11751 exceptions by writing into the %fsr.
11752 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11753 (__Qp_handle_exceptions): Likewise.
11755 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11756 __Qp_handle_exceptions.
11757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11758 __Qp_handle_exceptions.
11759 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11760 as unused and give dummy FP_RND_NEAREST initializer.
11761 (FP_INHIBIT_RESULTS): Define.
11762 (___Q_simulate_exceptions): Update declaration.
11763 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11765 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11766 as unused and give dummy FP_RND_NEAREST initializer.
11767 (__Qp_handle_exceptions): Update declaration.
11768 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11771 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11773 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11774 the temporary FPU control word.
11775 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11776 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11777 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11778 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11779 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11780 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11781 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11782 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11783 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11784 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11785 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11787 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11789 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11792 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11794 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11795 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11796 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11797 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11799 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11800 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11803 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11805 * po/h.po: Update from translation team.
11807 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11809 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11811 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11812 handling of denormals.
11813 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11814 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11815 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11816 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11819 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11822 2012-05-26 Marek Polacek <polacek@redhat.com>
11825 * math/libm-test.inc (fma_test): Don't always expect underflow
11828 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11831 * elf/tst-execstack.c: Include stackinfo.h.
11832 (do_test): Adjust test case to ensure that pthread_getattr_np
11833 behaviour remains the same after marking stack executable.
11835 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11837 * sysdeps/unix/sysv/linux/kernel-features.h
11838 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11839 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11841 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11842 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11843 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11845 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11846 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11848 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11850 * configure.in: Define the default includes to being none.
11851 * configure: Regenerated.
11853 2012-05-25 Roland McGrath <roland@hack.frob.com>
11855 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11856 * sysdeps/x86_64/setjmp.S: Likewise.
11857 * sysdeps/i386/bsd-setjmp.S: Likewise.
11858 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11859 * sysdeps/i386/setjmp.S: Likewise.
11860 * sysdeps/i386/__longjmp.S: Likewise.
11861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11862 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11864 * include/stap-probe.h: New file.
11865 * configure.in: Handle --enable-systemtap.
11866 * configure: Regenerated.
11867 * config.h.in (USE_STAP_PROBE): New #undef.
11868 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11869 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11870 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11872 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11875 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11876 to 2.4.0 where earlier.
11877 * sysdeps/unix/sysv/linux/configure: Regenerated.
11878 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11879 <kernel-features.h>.
11880 [__ASSUME_32BITUIDS]: Make code unconditional.
11881 [!__ASSUME_32BITUIDS]: Remove conditional code.
11882 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11883 <kernel-features.h>.
11884 [__ASSUME_32BITUIDS]: Make code unconditional.
11885 [!__ASSUME_32BITUIDS]: Remove conditional code.
11886 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11887 [__ASSUME_32BITUIDS]: Make code unconditional.
11888 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11889 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11890 <kernel-features.h>.
11891 [__ASSUME_32BITUIDS]: Make code unconditional.
11892 [!__ASSUME_32BITUIDS]: Remove conditional code.
11893 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11894 <kernel-features.h>.
11895 [__ASSUME_32BITUIDS]: Make code unconditional.
11896 [!__ASSUME_32BITUIDS]: Remove conditional code.
11897 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11898 <kernel-features.h>.
11899 [__ASSUME_32BITUIDS]: Make code unconditional.
11900 [!__ASSUME_32BITUIDS]: Remove conditional code.
11901 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11902 <kernel-features.h>.
11903 [__ASSUME_32BITUIDS]: Make code unconditional.
11904 [!__ASSUME_32BITUIDS]: Remove conditional code.
11905 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11906 <kernel-features.h>.
11907 [__ASSUME_32BITUIDS]: Make code unconditional.
11908 [!__ASSUME_32BITUIDS]: Remove conditional code.
11909 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11910 <kernel-features.h>.
11911 [__ASSUME_32BITUIDS]: Make code unconditional.
11912 [!__ASSUME_32BITUIDS]: Remove conditional code.
11913 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11914 <kernel-features.h>.
11915 [__ASSUME_32BITUIDS]: Make code unconditional.
11916 [!__ASSUME_32BITUIDS]: Remove conditional code.
11917 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11918 <kernel-features.h>.
11919 [__ASSUME_32BITUIDS]: Make code unconditional.
11920 [!__ASSUME_32BITUIDS]: Remove conditional code.
11921 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11922 <kernel-features.h>.
11923 [__ASSUME_32BITUIDS]: Make code unconditional.
11924 [!__ASSUME_32BITUIDS]: Remove conditional code.
11925 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11926 <kernel-features.h>.
11927 [__ASSUME_32BITUIDS]: Make code unconditional.
11928 [!__ASSUME_32BITUIDS]: Remove conditional code.
11929 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11930 <kernel-features.h>.
11931 [__NR_setresgid] (__setresgid): Do not declare.
11932 [__ASSUME_32BITUIDS]: Make code unconditional.
11933 [!__ASSUME_32BITUIDS]: Remove conditional code.
11934 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11935 <kernel-features.h>.
11936 [__NR_setresuid] (__setresuid): Do not declare.
11937 [__ASSUME_32BITUIDS]: Make code unconditional.
11938 [!__ASSUME_32BITUIDS]: Remove conditional code.
11939 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
11952 <kernel-features.h>.
11953 [__ASSUME_32BITUIDS]: Make code unconditional.
11954 [!__ASSUME_32BITUIDS]: Remove conditional code.
11955 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11956 <kernel-features.h>.
11957 [__ASSUME_32BITUIDS]: Make code unconditional.
11958 [!__ASSUME_32BITUIDS]: Remove conditional code.
11959 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11960 <kernel-features.h>.
11961 [__ASSUME_32BITUIDS]: Make code unconditional.
11962 [!__ASSUME_32BITUIDS]: Remove conditional code.
11963 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11964 <kernel-features.h>.
11965 [__ASSUME_32BITUIDS]: Make code unconditional.
11966 [!__ASSUME_32BITUIDS]: Remove conditional code.
11967 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11968 <kernel-features.h>.
11969 [__ASSUME_32BITUIDS]: Make code unconditional.
11970 [!__ASSUME_32BITUIDS]: Remove conditional code.
11971 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11972 <kernel-features.h>.
11973 [__ASSUME_32BITUIDS]: Make code unconditional.
11974 [!__ASSUME_32BITUIDS]: Remove conditional code.
11975 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11976 <kernel-features.h>.
11977 [__ASSUME_32BITUIDS]: Make code unconditional.
11978 [!__ASSUME_32BITUIDS]: Remove conditional code.
11979 * sysdeps/unix/sysv/linux/kernel-features.h
11980 (__ASSUME_SETRESUID_SYSCALL): Remove.
11981 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11982 (__ASSUME_32BITUIDS): Likewise.
11983 (__ASSUME_LDT_WORKS): Likewise.
11984 (__ASSUME_O_DIRECTORY): Likewise.
11985 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11986 architecture but not kernel version.
11987 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11988 (__ASSUME_MMAP2_SYSCALL): Likewise.
11989 (__ASSUME_STAT64_SYSCALL): Likewise.
11990 (__ASSUME_IPC64): Likewise.
11991 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11992 <kernel-features.h>.
11993 [__ASSUME_32BITUIDS]: Make code unconditional.
11994 [!__ASSUME_32BITUIDS]: Remove conditional code.
11995 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11996 <kernel-features.h>.
11997 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11998 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11999 132096]: Remove conditional code.
12000 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12001 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12002 <kernel-features.h>.
12003 [__ASSUME_32BITUIDS]: Make code unconditional.
12004 [!__ASSUME_32BITUIDS]: Remove conditional code.
12005 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12006 <kernel-features.h>.
12007 [__ASSUME_32BITUIDS]: Make code unconditional.
12008 [!__ASSUME_32BITUIDS]: Remove conditional code.
12009 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12010 <kernel-features.h>.
12011 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12013 (__setresgid): Do not declare.
12014 [__ASSUME_32BITUIDS]: Make code unconditional.
12015 [!__ASSUME_32BITUIDS]: Remove conditional code.
12016 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12017 <kernel-features.h>.
12018 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12020 (__setresuid): Do not declare.
12021 [__ASSUME_32BITUIDS]: Make code unconditional.
12022 [!__ASSUME_32BITUIDS]: Remove conditional code.
12023 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/semctl.c: Do not include
12028 <kernel-features.h>.
12029 [__ASSUME_32BITUIDS]: Make code unconditional.
12030 [!__ASSUME_32BITUIDS]: Remove conditional code.
12032 2012-05-25 Richard Henderson <rth@twiddle.net>
12034 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12035 dl_hwcap to ifunc resolver.
12036 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12038 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12039 dl_hwcap to ifunc resolver.
12040 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12042 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12045 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12046 for |x| <= 2**-26, not 2**-57.
12047 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12050 2012-05-24 Jeff Law <law@redhat.com>
12052 * stdio-common/Makefile (tests): Add bug25.
12053 * stdio-common/bug25.c: New test.
12055 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12058 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12059 multiple of MALLOC_ALIGNMENT in size.
12060 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12062 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12064 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12066 (FILENAME_MAX): Use macro-int-constant.
12067 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12068 (_IOFBF): Use macro-int-constant.
12069 (_IOLBF): Likewise.
12070 (_IONBF): Likewise.
12071 (SEEK_CUR): Likewise.
12072 (SEEK_END): Likewise.
12073 (SEEK_SET): Likewise.
12074 (TMP_MAX): Likewise.
12075 (EOF): Use macro-int-constant. Require < 0.
12076 (NULL): Use macro-constant. Require == 0.
12077 (stdin): Require type to be FILE *.
12078 (stdout): Likewise.
12079 (stderr): Likewise.
12080 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12081 macro-int-constant.
12082 (EXIT_SUCCESS): Likewise.
12083 (NULL): Use macro-constant. Require == 0.
12084 (RAND_MAX): Use macro-int-constant.
12085 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12086 [C99-based standards] (strtof): Require function.
12087 [C99-based standards] (strtold): Likewise.
12088 [C99-based standards] (strtoll): Likewise.
12089 [C99-based standards] (strtoull): Likewise.
12090 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12091 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12092 [ISO || ISO99 || ISO11] (math.h): Likewise.
12093 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12094 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12097 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12100 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12101 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12102 * intl/dgettext.c (DCGETTEXT): Likewise.
12103 * intl/gettext.c (DCGETTEXT): Likewise.
12104 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12105 * posix/regex_internal.h (gettext): Likewise.
12106 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12107 Remove declaration.
12108 * include/argz.h (__argz_count_internal)
12109 (__argz_stringify_internal): Remove declaration.
12110 (__argz_count, __argz_stringify): Declare hidden proto.
12111 * intl/dcgettext.c: Remove use of INTDEF.
12112 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12113 * string/argz-stringify.c: Likewise.
12114 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12115 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12116 Declare hidden proto.
12117 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12118 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12119 Declare hidden proto.
12120 * include/stdio.h (__asprintf_internal): Don't declare.
12121 (__asprintf): Don't define as macro. Declare hidden proto.
12122 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12123 (__fsetlocking): Declare hidden proto.
12124 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12125 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12127 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12128 (_IO_setlinebuf): Remove use of INTUSE.
12129 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12130 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12131 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12132 Remove declaration.
12133 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12134 (_IO_do_flush): Remove use of INTUSE.
12135 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12136 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12137 (_IO_adjust_column, _IO_least_wmarker)
12138 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12139 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12140 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12141 (_IO_default_doallocate, _IO_wdefault_doallocate)
12142 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12143 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12144 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12145 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12146 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12147 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12148 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12149 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12150 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12151 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12152 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12153 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12154 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12156 (_IO_flush_all_internal, _IO_adjust_column_internal)
12157 (_IO_default_uflow_internal, _IO_default_finish_internal)
12158 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12159 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12160 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12161 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12162 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12163 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12164 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12165 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12166 (_IO_file_close_internal, _IO_file_close_it_internal)
12167 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12168 (_IO_file_init_internal, _IO_file_attach_internal)
12169 (_IO_file_fopen_internal, _IO_file_read_internal)
12170 (_IO_file_sync_internal, _IO_file_seek_internal)
12171 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12172 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12173 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12174 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12175 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12176 (_IO_list_all_internal, _IO_link_in_internal)
12177 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12178 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12179 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12180 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12181 (_IO_do_write_internal, _IO_padn_internal)
12182 (_IO_getline_info_internal, _IO_getline_internal)
12183 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12184 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12185 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12186 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12187 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12188 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12189 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12190 with libc_hidden_ver, remove use of INTUSE.
12191 * libio/genops.c: Likewise.
12192 * libio/freopen.c: Likewise.
12193 * libio/freopen64.c: Likewise.
12194 * libio/iofclose.c: Likewise.
12195 * libio/iofdopen.c: Likewise.
12196 * libio/iofflush.c: Likewise.
12197 * libio/iofflush_u.c: Likewise.
12198 * libio/iofgets.c: Likewise.
12199 * libio/iofgets_u.c: Likewise.
12200 * libio/iofopen.c: Likewise.
12201 * libio/iofopncook.c: Likewise.
12202 * libio/iofread.c: Likewise.
12203 * libio/iofread_u.c: Likewise.
12204 * libio/ioftell.c: Likewise.
12205 * libio/iofwrite.c: Likewise.
12206 * libio/iogetline.c: Likewise.
12207 * libio/iogets.c: Likewise.
12208 * libio/iogetwline.c: Likewise.
12209 * libio/iopadn.c: Likewise.
12210 * libio/iopopen.c: Likewise.
12211 * libio/ioseekoff.c: Likewise.
12212 * libio/ioseekpos.c: Likewise.
12213 * libio/iosetbuffer.c: Likewise.
12214 * libio/iosetvbuf.c: Likewise.
12215 * libio/ioungetc.c: Likewise.
12216 * libio/ioungetwc.c: Likewise.
12217 * libio/iovdprintf.c: Likewise.
12218 * libio/iovsprintf.c: Likewise.
12219 * libio/iovsscanf.c: Likewise.
12220 * libio/memstream.c: Likewise.
12221 * libio/obprintf.c: Likewise.
12222 * libio/oldfileops.c: Likewise.
12223 * libio/oldiofclose.c: Likewise.
12224 * libio/oldiofdopen.c: Likewise.
12225 * libio/oldiofopen.c: Likewise.
12226 * libio/oldiopopen.c: Likewise.
12227 * libio/oldstdfiles.c: Likewise.
12228 * libio/putc.c: Likewise.
12229 * libio/setbuf.c: Likewise.
12230 * libio/setlinebuf.c: Likewise.
12231 * libio/stdfiles.c: Likewise.
12232 * libio/strops.c: Likewise.
12233 * libio/vasprintf.c: Likewise.
12234 * libio/vscanf.c: Likewise.
12235 * libio/vsnprintf.c: Likewise.
12236 * libio/vswprintf.c: Likewise.
12237 * libio/wfiledoalloc.c: Likewise.
12238 * libio/wfileops.c: Likewise.
12239 * libio/wgenops.c: Likewise.
12240 * libio/wmemstream.c: Likewise.
12241 * libio/wstrops.c: Likewise.
12242 * libio/__fpurge.c: Likewise.
12243 * libio/__fsetlocking.c: Likewise.
12244 * assert/assert.c: Likewise.
12245 * debug/fgets_chk.c: Likewise.
12246 * debug/fgets_u_chk.c: Likewise.
12247 * debug/fread_chk.c: Likewise.
12248 * debug/fread_u_chk.c: Likewise.
12249 * debug/gets_chk.c: Likewise.
12250 * debug/obprintf_chk.c: Likewise.
12251 * debug/vasprintf_chk.c: Likewise.
12252 * debug/vdprintf_chk.c: Likewise.
12253 * debug/vsnprintf_chk.c: Likewise.
12254 * debug/vsprintf_chk.c: Likewise.
12255 * malloc/mtrace.c: Likewise.
12256 * misc/error.c: Likewise.
12257 * misc/syslog.c: Likewise.
12258 * stdio-common/asprintf.c: Likewise.
12259 * stdio-common/fxprintf.c: Likewise.
12260 * stdio-common/getw.c: Likewise.
12261 * stdio-common/isoc99_fscanf.c: Likewise.
12262 * stdio-common/isoc99_scanf.c: Likewise.
12263 * stdio-common/isoc99_vfscanf.c: Likewise.
12264 * stdio-common/isoc99_vscanf.c: Likewise.
12265 * stdio-common/isoc99_vsscanf.c: Likewise.
12266 * stdio-common/printf-prs.c: Likewise.
12267 * stdio-common/printf_fp.c: Likewise.
12268 * stdio-common/printf_fphex.c: Likewise.
12269 * stdio-common/printf_size.c: Likewise.
12270 * stdio-common/putw.c: Likewise.
12271 * stdio-common/scanf.c: Likewise.
12272 * stdio-common/sprintf.c: Likewise.
12273 * stdio-common/tmpfile.c: Likewise.
12274 * stdio-common/vfprintf.c: Likewise.
12275 * stdio-common/vfscanf.c: Likewise.
12276 * stdlib/strfmon_l.c: Likewise.
12277 * sunrpc/openchild.c: Likewise.
12278 * sunrpc/xdr_stdio.c: Likewise.
12279 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12280 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12282 2012-05-24 Roland McGrath <roland@hack.frob.com>
12284 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12286 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12287 in the third column, to generate for the shared library an IFUNC
12288 that uses _dl_vdso_vsym.
12289 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12290 * Makeconfig (object-suffixes-noshared): New variable.
12292 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12293 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12294 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12295 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12298 * include/sys/time.h (__gettimeofday): Remove macro.
12299 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12300 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12302 (__gettimeofday): Add libc_hidden_def.
12303 (gettimeofday): Add libc_hidden_weak.
12304 * sysdeps/mach/gettimeofday.c: Likewise.
12305 * sysdeps/posix/gettimeofday.c: Likewise.
12306 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12307 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12309 (__gettimeofday_internal): Remove strong_alias.
12310 (__gettimeofday): Add libc_hidden_def.
12311 (gettimeofday): Add libc_hidden_weak.
12312 * sysdeps/unix/syscalls.list (gettimeofday):
12313 Remove __gettimeofday_internal alias.
12315 2012-05-24 Daniel Jacobowitz <drow@false.org>
12316 H.J. Lu <hongjiu.lu@intel.com>
12319 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12320 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12321 (largebin_index_32_big): New.
12322 (largebin_index): Use it for 16-byte alignment.
12323 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12324 correction with front_misalign.
12326 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12354 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12355 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12357 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12361 * math/libm-test.inc (exp_test): Add test from bug 14036.
12362 (pow_test): Add test from bug 10846.
12364 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12366 (special_function): Do not include flags in test name.
12367 (parse_args): Likewise.
12368 * sysdeps/i386/fpu/libm-test-ulps: Update.
12369 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12370 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12371 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12374 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12376 * math/libm-test.inc ("Philosophy"): Update comment about
12378 (UNDERFLOW_EXCEPTION): New macro.
12379 (UNDERFLOW_EXCEPTION_OK): Likewise.
12380 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12381 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12382 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12383 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12384 (INVALID_EXCEPTION_OK): Update value.
12385 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12386 (OVERFLOW_EXCEPTION_OK): Likewise.
12387 (IGNORE_ZERO_INF_SIGN): Likewise.
12388 (test_exceptions): Handle underflow exceptions.
12389 (acos_test): Update for underflow exception expectations.
12390 (cexp_test): Likewise.
12391 (clog_test): Likewise.
12392 (clog10_test): Likewise.
12393 (csqrt_test): Likewise.
12394 (ctan_test): Likewise.
12395 (ctanh_test): Likewise.
12396 (exp_test): Likewise.
12397 (exp10_test): Likewise.
12398 (exp2_test): Likewise.
12399 (expm1_test): Likewise.
12400 (fma_test): Likewise.
12401 (j0_test): Likewise.
12402 (jn_test): Likewise.
12403 (nexttoward_test): Likewise.
12404 (pow_test): Likewise.
12405 (scalbn_test): Likewise.
12406 (scalbln_test): Likewise.
12407 (tan_test): Likewise.
12408 (y1_test): Likewise.
12409 * sysdeps/i386/fpu/libm-test-ulps: Update.
12410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12412 2012-05-23 David S. Miller <davem@davemloft.net>
12414 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12415 (__libc_sigaction): Remove unused local variables.
12417 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12419 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12421 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12423 mktime: avoid signed integer overflow
12424 * time/mktime.c (__mktime_internal): Do not mishandle the case
12425 where diff == INT_MIN.
12427 mktime: simplify computation of average
12428 * time/mktime.c (ranged_convert): Use new time_t_avg function
12429 instead of rolling our own (probably-slower) code.
12431 mktime: do not assume signed right shift propagates sign bit
12432 * time/mktime.c (isdst_differ): New static function.
12433 (__mktime_internal): No need to normalize tm_isdst now.
12434 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12437 mktime: merge another wrapv change from gnulib
12438 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12439 from some compilers.
12441 mktime: remove incorrect attempt at unusual arithmetics
12442 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12443 The code didn't really work on such machines anyway.
12444 (TYPE_MINIMUM): Assume two's complement.
12445 (twos_complement_arithmetic): Verify that long_int and time_t
12446 are two's complement (or unsigned, in the latter case).
12448 mktime: check signed shifts on long_int and time_t, too
12449 * time/mktime.c (SHR): Check that shifts work as desired
12450 on the types long_int and time_t too, as SHR is used on
12453 mktime: do not assume 'long' is wide enough
12454 * time/mktime.c (verify): Move decl up.
12455 (long_int): New type.
12456 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12457 to remove assumption in the code that 'long' is wide enough to
12458 store year values. This assumption is not true on x32 and on
12459 some non-glibc platforms.
12461 mktime: merge wrapv change from gnulib
12462 * time/mktime.c (WRAPV): New macro.
12463 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12464 (guess_time_tm, __mktime_internal): Do not assume that signed
12465 integer overflow wraps around; modern compilers generate code
12466 where this assumption is no longer valid.
12468 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12470 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12471 Replace "jmp L(pseudo_end)" with "ret".
12472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12475 2012-05-23 Andreas Jaeger <aj@suse.de>
12477 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12478 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12480 2012-05-23 Andreas Jaeger <aj@suse.de>
12481 Maximilian Attems <max@stro.at>
12483 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12486 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12488 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12489 code so that pseudo_end is just ret and the stack pointer is
12490 correct also for static library in error case.
12492 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12494 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12495 move to syscalls.list.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12501 * manual/install.texi (Running make install): Do not mention Linux
12502 kernel version for which pt_chown is not needed.
12503 (Linux): Do not mention problems with nscd with 2.0 kernels.
12504 * INSTALL: Regenerated.
12506 2012-05-23 Andreas Jaeger <aj@suse.de>
12508 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12509 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12511 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12512 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12513 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12514 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12515 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12516 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12517 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12518 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12520 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12521 * sysdeps/unix/sysv/linux/bits/in.h
12522 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12524 2012-05-22 Roland McGrath <roland@hack.frob.com>
12526 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12527 (PREPARE_VERSION): Just use assert instead, it will be elided
12528 under [NDEBUG] anyway.
12530 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12532 * sysdeps/unix/sysv/linux/Makefile: Include
12533 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12534 (sysdep_routines): Remove sysctl.
12535 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12536 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12537 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12538 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12539 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12541 2012-05-22 Andreas Jaeger <aj@suse.de>
12543 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12544 that pseudo_end is just ret and the stack pointer is correct also
12545 for static library in error case.
12547 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12550 * nss/nsswitch.c (defconfig_entries): New variable.
12551 (__nss_database_lookup): Don't leak defconfig entries.
12552 (nss_parse_service_list): Don't leak on error paths.
12553 (free_database_entries): New function.
12554 (free_defconfig): New function.
12555 (free_mem): Move common code to free_database_entries.
12557 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12559 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12561 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12563 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12564 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12567 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12568 (INTERNAL_SYSCALL_TYPES): Likewise.
12569 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12570 (LOAD_REGS_TYPES_[1-6]): Likewise.
12571 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12572 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12574 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12576 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12577 copysignl for GLIBC_2_0.
12578 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12579 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12581 logbl for GLIBC_2_0.
12582 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12583 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12585 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12587 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12588 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12590 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12593 * time/mktime.c: Update copyright years.
12595 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12597 mktime: merge comment-quoting-style change from gnulib
12598 * time/mktime.c: Quote 'like this' in comments.
12599 The GNU coding standards suggest that we no longer quote `like this',
12600 as "`" and "'" are typically rendered asymmetrically nowadays.
12601 The typical gnulib style is to quote 'like this' when quoting
12602 code, and "like this" when quoting English.
12604 * time/mktime.c (compile-command): Add "-I.".
12606 mktime: merge mktime-internal.h change from gnulib
12607 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12609 mktime: merge time_r change from gnulib
12610 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12612 mktime: merge DEBUG change from gnulib
12613 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12614 case system <time.h> has a #define.
12616 mktime: merge <sys/types.h> change from gnulib
12617 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12618 since <time.t> is now guaranteed to define time_t.
12620 mktime: merge HAVE_CONFIG_H change from gnulib
12621 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12623 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12628 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12630 (struct rusage): Use anonymous union to pad each field to
12633 2012-05-21 David S. Miller <davem@davemloft.net>
12635 * Makefules (o-iterator): Remove .s cases.
12636 (compile-command.s): Delete.
12637 (COMPILE.s): Delete.
12638 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12640 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12642 * configure.in (libc_cv_predef_stack_protector): Only consider
12643 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12644 * configure: Regenerated.
12646 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12649 New macro. Use R*LP on int and pointer.
12650 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12651 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12652 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12653 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12655 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12656 [__WORDSIZE_TIME64_COMPAT32] instead of
12657 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12658 (struct utmp): Likewise.
12659 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12660 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12662 (__WORDSIZE_TIME64_COMPAT32): This.
12663 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12664 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12665 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12666 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12667 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12668 (__WORDSIZE_TIME64_COMPAT32): New macro.
12670 2012-05-21 Andreas Jaeger <aj@suse.de>
12672 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12673 only if [SHARED]. Add prototype for __wcschr_ia32.
12675 2012-05-21 Roland McGrath <roland@hack.frob.com>
12677 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12678 of %rbp unmolested in the jmp_buf while mangling the low bits.
12679 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12680 unmolested high bits of %rbp while demangling the low bits.
12681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12683 2012-05-21 Andreas Jaeger <aj@suse.de>
12685 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12686 * sunrpc/svc_simple.c: Use it for registerrpc.
12687 * sunrpc/xcrypt.c: Use it for passwd2des.
12689 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12691 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12693 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12694 Don't define if [__SYSCALL_WORDSIZE != 32].
12695 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12698 2012-05-21 Bruno Haible <bruno@clisp.org>
12699 Andreas Jaeger <aj@suse.de>
12701 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12702 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12703 inptr and inend for must_buffer_ch.
12704 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12705 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12706 * stdio-common/Makefile (tests): Remove bug15.
12707 (bug15-ENV): Remove macro.
12708 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12711 2012-05-19 Andreas Jaeger <aj@suse.de>
12712 Roland McGrath <roland@hack.frob.com>
12714 * manual/contrib.texi: Completely rewritten. It contains now an
12715 alphabetical list of contributors and their contributions.
12717 2012-05-21 Richard Henderson <rth@twiddle.net>
12719 * misc/getauxval.c (__getauxval): Use unsigned long int.
12720 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12721 (getauxval): Use unsigned long int.
12723 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12725 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12727 2012-05-21 Roland McGrath <roland@hack.frob.com>
12729 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12730 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12731 __alignof__ (long double).
12733 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12737 2012-05-20 Richard Henderson <rth@twiddle.net>
12739 * misc/getauxval.c: New file.
12740 * misc/sys/auxv.h: New file.
12741 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12742 (routines): Add getauxval.
12743 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12744 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12745 * elf/dl-sysdep.c (_dl_auxv): Remove.
12746 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12747 * elf/dl-support.c (_dl_auxv): New variable.
12748 (_dl_aux_init): Initialize it.
12749 * manual/startup.texi (Auxiliary Vector): New node.
12750 * sysdeps/generic/bits/hwcap.h: New file.
12751 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12752 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12753 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12754 * sysdeps/sparc/sysdep.h: ... here. Include it.
12755 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12756 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12762 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12768 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12772 2012-05-19 David S. Miller <davem@davemloft.net>
12774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12776 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12779 * math/s_ccosh.c: Include <float.h>
12780 (__ccosh): Avoid internal overflow calculating sinh and cosh
12781 values before multiplying by sin and cos values.
12782 * math/s_ccoshf.c: Likewise.
12783 * math/s_ccoshl.c: Likewise.
12784 * math/s_csin.c: Likewise.
12785 * math/s_csinf.c: Likewise.
12786 * math/s_csinl.c: Likewise.
12787 * math/s_csinh.c: Likewise.
12788 * math/s_csinhf.c: Likewise.
12789 * math/s_csinhl.c: Likewise.
12790 * math/libm-test.inc (ccos_test): Add more tests.
12791 (ccosh_test): Likewise.
12792 (csin_test): Likewise.
12793 (csinh_test): Likewise.
12794 * sysdeps/i386/fpu/libm-test-ulps: Update.
12795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12797 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12799 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12800 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12802 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12804 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12806 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12807 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12808 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12809 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12810 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12811 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12812 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12813 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12814 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12815 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12816 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12817 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12818 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12819 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12820 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12821 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12822 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12823 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12824 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12825 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12826 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12827 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12828 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12829 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12830 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12831 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12832 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12833 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12834 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12835 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12836 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12838 2012-05-18 Andreas Jaeger <aj@suse.de>
12840 * csu/.gitignore: Delete.
12842 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12844 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12845 (timex): Use __syscall_slong_t.
12847 2012-05-18 Andreas Jaeger <aj@suse.de>
12848 Carlos O'Donell <carlos_odonell@mentor.com>
12850 * manual/install.texi (Configuring and compiling): Update
12851 description about files modified in the source directory.
12852 * INSTALL: Regenerated.
12854 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12856 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12857 value. Use "or" to set return value to -1.
12858 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12859 negate return value.
12861 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12863 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12864 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12865 failure if the compiler has Graphite support disabled.
12866 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12868 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12869 CFLAGS-memmove.c): Likewise.
12870 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12873 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12875 * sysdeps/x86_64/x32/_itoa.h: New file.
12877 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12878 getdents system call only if kernel and user dirents have the
12879 same d_ino and d_off.
12881 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12882 LLONG_MAX != LONG_MAX.
12883 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12884 (_fitoa_word): Likewise.
12886 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12889 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12892 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12893 include <bits/wordsize.h>. Check __x86_64__ instead of
12895 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12896 if __x86_64__ is defined. Use anonymous union on fpstate.
12898 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12901 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12903 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12904 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12905 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12906 Refer to _rtld_local_ro instead of _rtld_global_ro.
12907 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12909 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12911 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12913 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12914 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12915 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12917 * sysdeps/powerpc/powerpc32/dl-machine.c
12918 (__elf_machine_runtime_setup) [PROF]: Don't reference
12921 2012-05-18 Andreas Jaeger <aj@suse.de>
12923 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12924 function only available for GCCs before 3.4 since GCC 3.4
12925 introduced a builtin.
12927 (llrintf): Likewise.
12928 (llrint): Likewise.
12935 (nearbyint): Likewise.
12936 (nearbyintf): Likewise.
12940 (floorf): Likewise.
12942 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12944 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12945 on both fields and cast pointer to __syscall_ulong_t.
12947 * bits/types.h (__fsword_t): New type.
12948 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12949 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12950 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12951 (__FSWORD_T_TYPE): Likewise.
12952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12953 (__FSWORD_T_TYPE): Likewise.
12954 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12955 (__FSWORD_T_TYPE): Likewise.
12956 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12957 (__FSWORD_T_TYPE): Likewise.
12958 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12959 __SWORD_TYPE with __fsword_t.
12960 (statfs64): Likewise.
12962 2012-05-17 David S. Miller <davem@davemloft.net>
12964 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12966 2012-05-17 Andreas Jaeger <aj@suse.de>
12968 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12971 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12973 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12975 2012-05-17 Andreas Jaeger <aj@suse.de>
12977 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12980 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12982 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12984 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12986 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12987 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12989 2012-05-17 Andreas Jaeger <aj@suse.de>
12990 Carlos O'Donell <carlos_odonell@mentor.com>
12993 * sysdeps/x86_64/multiarch/init-arch.h
12994 (bit_YMM_Usable): Rename to...
12995 (bit_AVX_Usable): ... this.
12996 (bit_FMA4_Usable): New macro.
12997 (bit_XMM_state): New macro.
12998 (bit_YMM_state): New macro.
12999 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13000 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13001 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13002 (CPUID_OSXSAVE): New macro.
13003 (CPUID_AVX): New macro.
13004 (CPUID_FMA4): New macro.
13005 (index_YMM_Usable): Rename to...
13006 (index_AVX_Usable): ... this.
13007 (HAS_AVX): Use HAS_ARCH_FEATURE.
13008 (HAS_FMA4): Likewise.
13009 (HAS_YMM_USABLE): Remove.
13010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13011 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13013 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13014 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13015 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13016 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13017 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13019 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13021 * math/libm-test.c: Support platforms without multiple rounding modes.
13022 * math/bug-nextafter.c: Support platforms without FP exceptions.
13023 * math/bug-nexttoward.c: Likewise.
13024 * math/test-fenv.c: Likewise.
13025 * math/test-misc.c: Likewise.
13026 * stdlib/bug-getcontext.c: Likewise.
13028 2012-05-17 Andreas Jaeger <aj@suse.de>
13030 * manual/examples/search.c (critter_cmp): Change signature to
13032 * manual/string.texi (Collation Functions): Likewise.
13034 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13036 * bits/types.h: Fold copyright years.
13037 * bits/typesizes.h: Likewise.
13038 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13039 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13042 * time/time.h: Likewise.
13044 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13047 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13048 in instead of returning them. Return void.
13049 (__libc_mallinfo): Accumulate over all arenas.
13050 (__malloc_stats): Adjust for change in int_mallinfo interface.
13052 2012-05-16 Roland McGrath <roland@hack.frob.com>
13055 * configure.in (NM): Add AC_CHECK_TOOL for it.
13056 (libc_extra_cflags): New substituted variable.
13057 Check for -fstack-protector being used implicitly.
13058 * configure: Regenerated.
13059 * config.make.in (config-extra-cflags): New variable,
13060 gets @libc_extra_cflags@.
13061 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13064 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13065 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13066 * configure: Regenerated.
13067 * config.make.in (CPPUNDEFS): New substituted variable.
13068 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13069 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13070 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13072 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13074 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13075 (mq_attr): Use __syscall_slong_t.
13077 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13079 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13080 Check __x86_64__ instead of __WORDSIZE.
13081 (_STAT_VER_LINUX): Likewise.
13082 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13083 __syscall_ulong_t and __syscall_slong_t.
13084 (stat64): Likewise.
13086 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13088 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13090 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13092 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13094 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13096 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13099 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13100 include <bits/wordsize.h>. Check __x86_64__ instead of
13102 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13104 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13107 include <bits/wordsize.h>. Check __x86_64__ instead of
13109 (user_regs_struct): Use "__extension__ unsigned long long"
13110 instead of "unsigned long" if __x86_64__ is defined.
13111 (user): Likewise. Pad after pointer field if __ILP32__ is
13114 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13116 * configure.in (makeinfo): Require version 4.5 or later. Allow
13118 * configure: Regenerated.
13119 * manual/install.texi (texinfo): Increase version requirement to
13121 * INSTALL: Regenerated.
13123 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13125 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13127 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13129 * sysdeps/x86_64/x32/ffs.c: New file.
13131 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13133 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13134 defined. Use __syscall_ulong_t.
13135 (shminfo): Use __syscall_ulong_t.
13136 (shm_info): Likewise.
13138 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13141 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13143 (msgqnum_t): Use __syscall_ulong_t.
13144 (msglen_t): Likewise.
13145 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13148 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13149 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13151 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13153 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13154 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13156 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13159 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13160 include <bits/wordsize.h>. Check __x86_64__ instead of
13163 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13164 "unsigned long long int" if __x86_64__ is defined.
13165 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13167 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13168 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13169 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13171 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13173 (GET_PC): Cast to uintptr_t first.
13174 (GET_FRAME): Likewise.
13175 (GET_STACK): Likewise.
13177 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13178 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13179 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13180 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13181 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13182 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13183 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13184 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13185 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13186 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13187 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13188 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13189 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13190 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13191 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13192 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13193 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13194 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13195 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13197 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13198 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13199 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13200 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13201 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13203 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13205 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13207 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13209 * Makerules (+depfiles): Also collect depfiles from .oS in
13211 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13212 .oS, $(libnldbl-routines)).
13214 * Makerules (native-compile-mkdep-flags): Define.
13215 * sunrpc/Makefile (extra-objs): Add $(addprefix
13216 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13217 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13218 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13219 calling $(make-target-directory).
13221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13223 * bits/types.h (__snseconds_t): Removed.
13224 * time/time.h (struct timespec): Replace __snseconds_t with
13226 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13227 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13229 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13230 (__SNSECONDS_T_TYPE): Likewise.
13231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13232 (__SNSECONDS_T_TYPE): Likewise.
13233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13234 (__SNSECONDS_T_TYPE): Likewise.
13236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13238 * sysdeps/mach/hurd/bits/typesizes.h
13239 (__SYSCALL_SLONG_TYPE): New macro.
13240 (__SYSCALL_ULONG_TYPE): Likewise.
13242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13244 * bits/types.h (__syscall_slong_t): New type.
13245 (__syscall_ulong_t): Likewise.
13247 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13248 (__SYSCALL_ULONG_TYPE): Likewise.
13249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13250 (__SYSCALL_SLONG_TYPE): Likewise.
13251 (__SYSCALL_ULONG_TYPE): Likewise.
13252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13253 (__SYSCALL_SLONG_TYPE): Likewise.
13254 (__SYSCALL_ULONG_TYPE): Likewise.
13255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13256 (__SYSCALL_SLONG_TYPE): Likewise.
13257 (__SYSCALL_ULONG_TYPE): Likewise.
13259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13261 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13262 Add sigaltstack-offsets.sym.
13263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13264 <sigaltstack-offsets.h>.
13265 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13266 longjmp_msg pointer.
13267 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13268 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13270 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13272 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13274 * elf/stackguard-macros.h: Remove file.
13275 * sysdeps/generic/stackguard-macros.h: New file.
13276 * sysdeps/i386/stackguard-macros.h: Likewise.
13277 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13278 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13279 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13280 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13281 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13282 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13283 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13284 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13285 <elf/stackguard-macros.h>.
13288 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13289 __aligned__ in attribute.
13290 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13291 (gregset_t): Likewise.
13293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13295 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13296 * sysdeps/x86_64/64/Implies-after: Here. New file.
13297 * sysdeps/x86_64/x32/Implies-after: New file.
13299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13301 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13302 and access return value for _dl_profile_fixup. Use R10_LP to
13305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13307 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13311 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13312 * sysdeps/x86_64/x32/sysdep.h: New file.
13314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13316 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13317 * sysdeps/x86_64/setjmp.S: Likewise.
13319 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13321 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13322 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13323 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13324 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13325 remove unused global constant.
13327 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13329 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13330 include of <not-cancel.h>.
13332 2012-05-15 Roland McGrath <roland@hack.frob.com>
13334 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13336 2012-05-15 Jeff Law <law@redhat.com>
13337 Andreas Jaeger <aj@suse.de>
13340 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13342 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13343 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13344 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13345 code changing __hst_map_handle.map.
13347 2012-05-15 Roland McGrath <roland@hack.frob.com>
13349 * configure.in (sysnames): Look for Implies-before and Implies-after
13351 * configure: Regenerated.
13353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13355 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13356 8-byte data alignment with LP_SIZE alignment.
13358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13360 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13365 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13369 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13370 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13371 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13373 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13377 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13378 (stackinfo_sub_sp): Likewise.
13380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13382 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13397 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13401 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13402 into R11_LP and load __x86_64_shared_cache_size_half into
13405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13407 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13410 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13418 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13419 powerpc32/power7/fpu/s_logb.c via #include.
13420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13421 powerpc32/power7/fpu/s_logbf.c via #include.
13422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13423 powerpc32/power7/fpu/s_logbl.c via #include.
13425 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13427 * README.libm: Remove file.
13429 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13431 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13432 count for x32. Use R*_LP and omit operand-size suffix.
13434 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13436 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13437 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13438 * sysdeps/x86_64/x32/shlib-versions: New file.
13440 2012-05-14 Roland McGrath <roland@hack.frob.com>
13442 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13443 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13444 Use _dl_fatal_printf instead.
13446 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13448 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13449 set if not set by the user. Do not allow for being unset.
13450 * sysdeps/unix/sysv/linux/configure: Regenerated.
13452 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13454 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13455 the `q' suffix from lea and replace .quad with ASM_ADDR.
13457 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13460 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13462 (PTR_DEMANGLE): Likewise.
13464 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13466 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13468 (ASM_ADDR): Likewise.
13469 (RAX_LP): Likewise.
13470 (RBP_LP): Likewise.
13471 (RBX_LP): Likewise.
13472 (RCX_LP): Likewise.
13473 (RDI_LP): Likewise.
13474 (RSI_LP): Likewise.
13475 (RSP_LP): Likewise.
13478 (R10_LP): Likewise.
13479 (R10_LP): Likewise.
13480 (R11_LP): Likewise.
13481 (R12_LP): Likewise.
13482 (R13_LP): Likewise.
13483 (R14_LP): Likewise.
13484 (R15_LP): Likewise.
13486 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13488 * sysdeps/x86_64/x32/dl-machine.h: New file.
13490 2012-05-14 Andreas Jaeger <aj@suse.de>
13492 * manual/Makefile (subdir): Remove export of subdir.
13493 (all): Remove target.
13494 (.PHONY): Remove all from list.
13495 (mkinstalldirs): Remove.
13496 (.PHONY): Remove installdirs from list.
13497 ($(inst_infodir)/libc.info): Use make-target-directory.
13498 (installdirs): Remove.
13499 (subdir_%): Remove.
13500 (glibc-targets): Remove.
13503 ($(objpfx)stubs ../po/manual.pot): Remove.
13504 ($(objpfx)stamp%): Remove.
13505 (make-target-directory): Remove.
13506 (subdir_install): Remove.
13507 (routines): Remove.
13514 * manual/.gitignore: Remove, it's not needed anymore.
13515 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13517 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13519 (texis): Renamed to $(objpfx)texis.
13520 (texis-path): New, contains path to generated files.
13521 (chapters.%): Use texis-path for complete path, add extra argument
13523 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13524 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13525 (summary,texi, stamp-summary): Use complete path of
13526 files. Generate files in build dir.
13527 (dir-add.texi): Build in build dir.
13528 (libm-err.texi,stamp-libm-err): Likewise.
13529 (version.texi, stamp-version): Likewise.
13530 (.%c.texi): Likewise.
13531 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13532 (mostlyclean): Remove target.
13533 (realclean): Remove target.
13534 (generated): Add new variable with contents from mostlyclean and
13535 realclean, remove entries duplicated in common-mostlyclean, add
13536 stamp-libm-err and stamp-version.
13537 (generated-dirs): Add libc directory.
13538 ($(inst_infodir)/libc.info): Install files from build dir.
13540 * manual/install.texi (Configuring and compiling): Adjust since
13541 the info files are not part of the tar ball anymore.
13543 2012-05-14 Andreas Jaeger <aj@suse.de>
13545 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13548 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13551 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13552 to 2.2.0 where earlier.
13553 * sysdeps/unix/sysv/linux/configure: Regenerated.
13554 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13555 Remove conditional code.
13556 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13557 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13558 Remove conditional code.
13559 [!__NR_lchown]: Likewise.
13560 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13561 [__NR_lchown]: Likewise.
13562 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13563 comment referencing __ASSUME_LCHOWN_SYSCALL.
13564 * sysdeps/unix/sysv/linux/i386/sigaction.c
13565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13567 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13568 Remove conditional code.
13569 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13570 (__protocol_available): Remove #if 0 code.
13571 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13573 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13574 * sysdeps/unix/sysv/linux/kernel-features.h
13575 (__ASSUME_GETCWD_SYSCALL): Don't define.
13576 (__ASSUME_REALTIME_SIGNALS): Likewise.
13577 (__ASSUME_PREAD_SYSCALL): Likewise.
13578 (__ASSUME_PWRITE_SYSCALL): Likewise.
13579 (__ASSUME_POLL_SYSCALL): Likewise.
13580 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13581 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13583 (__ASSUME_SIOCGIFNAME): Don't define.
13584 (__ASSUME_MSG_NOSIGNAL): Likewise.
13585 (__ASSUME_SENDFILE): Define unconditionally.
13586 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13587 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13589 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13590 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13591 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13592 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13593 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13594 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13595 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13597 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13598 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13600 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13603 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13604 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13606 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13607 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13609 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13612 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13613 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13618 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13619 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13620 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13621 Remove conditional code.
13622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13623 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13624 Remove conditional code.
13625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13626 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13627 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13628 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13629 Remove conditional code.
13630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13631 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13632 Remove conditional code.
13633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13634 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13635 Remove conditional code.
13636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13637 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13638 Remove conditional code.
13639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13640 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13641 Remove conditional code.
13642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13643 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13644 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13646 * sysdeps/unix/sysv/linux/sigaction.c
13647 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13648 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13649 * sysdeps/unix/sysv/linux/sigpending.c
13650 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13651 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13652 * sysdeps/unix/sysv/linux/sigprocmask.c
13653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13655 * sysdeps/unix/sysv/linux/sigsuspend.c
13656 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13657 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13658 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13659 (__libc_missing_rt_sigs): Remove.
13660 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13661 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13662 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13663 Remove conditional code.
13664 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13665 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13667 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13668 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13669 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13670 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13672 2012-05-14 Andreas Jaeger <aj@suse.de>
13674 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13675 it's not used in glibc.
13676 (__coshm1): Likewise.
13677 (__acosh1p): Likewise.
13680 * manual/string.texi (Copying and Concatenation): Add missing
13681 variable in concat example.
13682 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13684 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13687 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13688 __builtin_clzl with __builtin_clzll.
13690 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13693 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13696 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13698 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13699 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13700 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13701 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13703 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13705 * NEWS: Update ia64 info.
13707 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13709 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13712 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13714 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13715 * sysdeps/unix/syscalls.list (dup3): Likewise.
13716 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13717 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13719 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13721 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13722 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13724 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13726 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13728 (TLS_IE): Use mov/add instead of movq/addq to load thread
13730 (TLS_GD_PREFIX): New.
13733 2012-05-11 David S. Miller <davem@davemloft.net>
13735 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13736 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13737 (_FPU_SETCW): Likewise.
13739 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13741 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13742 is 32-byte aligned.
13744 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13747 * iconvdata/gb18030.c: Update tables.
13748 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13749 characters specially.
13750 (BODY for TO_LOOP): Add encoding of missing ranges.
13752 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13755 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13756 * sysdeps/mach/hurd/dup3.c: Likewise.
13757 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13758 * sysdeps/powerpc/memmove.c:: Likewise.
13760 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13763 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13765 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13767 * elf/elf.h (R_X86_64_RELATIVE64): New.
13768 (R_X86_64_NUM): Updated.
13769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13770 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13771 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13772 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13773 tst-quad1pie tst-quad2pie
13774 (modules-names): Add tst-quadmod1 tst-quadmod2.
13775 ($(objpfx)tst-quad1): New dependency.
13776 ($(objpfx)tst-quad2): Likewise.
13777 ($(objpfx)tst-quad1pie): Likewise.
13778 ($(objpfx)tst-quad2pie): Likewise.
13779 * sysdeps/x86_64/tst-quad1.c: New file.
13780 * sysdeps/x86_64/tst-quad1pie.c: New file.
13781 * sysdeps/x86_64/tst-quad2.c: Likewise.
13782 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13783 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13784 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13785 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13786 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13790 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13791 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13792 * streams/stropts.h (t_scalar_t): Define type.
13794 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13795 (_PATH_PRESERVE): Set to "/var/lib".
13796 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13798 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13801 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13802 if __dir_mkfile succeeded.
13804 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13805 checking for _hurd_dtablesize. Unlock it right after having
13806 finished _hurd_dtable allocation.
13808 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13810 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13811 * sysdeps/mach/hurd/configure: Regenerated.
13812 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13813 special-casing to...
13814 * sysdeps/gnu/configure.in: ... this new file.
13815 * sysdeps/unix/sysv/linux/configure: Regenerated.
13816 * sysdeps/gnu/configure: New generated file.
13818 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13819 for Linux: use nsec instead of usec, as well as:
13820 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13821 members of type struct timespec.
13822 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13824 (struct stat64): Likewise.
13825 (_STATBUF_ST_NSEC): New macro.
13826 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13828 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13829 __strtoul_internal rather than strtoul.
13831 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13833 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13836 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13838 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13839 which preserves existing values.
13840 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13842 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13844 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13845 TIMEOUT values. Return EINVAL for NFDS values either negative or
13846 greater than FD_SETSIZE.
13848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13850 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13851 allocated, call __vm_protect to finish enabling the existing space, and
13852 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13853 allocate the remainder.
13855 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13857 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13858 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13860 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13862 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13863 sysdeps/mach/hurd/readlink.c.
13865 * posix/tst-sysconf.c (posix_options): Only use
13866 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13867 _POSIX_SYNCHRONIZED_IO when they are defined
13868 * sysdeps/mach/hurd/bits/posix_opt.h:
13869 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13870 (_XOPEN_REALTIME): Undefine macro.
13871 (_XOPEN_REALTIME_THREADS): Undefine macro.
13872 (_XOPEN_SHM): Undefine macro.
13873 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13875 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13877 (_POSIX_ASYNC_IO): Undefine macro.
13878 (_POSIX_PRIORITIZED_IO): Undefine macro.
13879 (_POSIX_SPIN_LOCKS): Define macro to -1.
13881 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13882 SA_NODEFER, SA_RESETHAND.
13883 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13884 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13887 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13889 * elf/Makefile (pldd-modules): Define unconditionally.
13891 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13893 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13897 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13898 Return ENOENT when name is empty.
13899 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13901 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13903 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13905 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13909 Fix mlock in all cases except non-readable pages.
13910 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13911 instead of VM_PROT_ALL as parameter to __vm_wire function.
13913 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13914 (__mkdir): When path is `/', just fail with EEXIST.
13915 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13917 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13919 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13920 <sys/uio.h> (for writev).
13921 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13922 and <sys/param.h> (for MIN).
13924 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13926 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13927 REQUESTED_TIME. Properly set the remaining time and return EINTR
13930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13932 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13933 Depend on against $(link-rpcuserlibs).
13935 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13937 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13938 (__libc_stack_end): Do not use attribute_relro.
13939 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13940 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13941 to libthread-provided value.
13942 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13945 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13948 * bits/libc-lock.h (__libc_once_get): New macro.
13949 * sysdeps/mach/bits/libc-lock.h: Likewise.
13950 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13951 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13952 instead of using implementation details.
13954 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13955 * libio/freopen.c: Likewise.
13956 * libio/freopen64.c: Likewise.
13957 * misc/syslog.c: Likewise.
13958 * nscd/connections.c: Likewise.
13959 * nscd/netgroupcache.c: Likewise.
13960 * sysdeps/posix/getcwd.c: Likewise.
13962 2012-05-10 Roland McGrath <roland@hack.frob.com>
13964 * math/w_ilogbf.c: Add #include <limits.h>.
13966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13968 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13969 path instead of returning without unlocking.
13971 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13972 immediate-write ioctls.
13973 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13975 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13977 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13978 __builtin_frame_address instead of making assumptions about the
13979 location of the return address relative to DATA. Force early load of
13980 the return address.
13981 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13982 __builtin_frame_address.
13985 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13986 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13987 implement dup3 and do some further code clean-ups.
13988 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13989 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13993 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13995 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13996 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13997 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13998 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13999 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14002 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14003 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14004 when handler == SIG_ERR, not when handler != SIG_ERR.
14006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14008 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14009 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14012 accept4 for GNU Hurd.
14013 * include/sys/socket.h (__libc_accept4): New prototype.
14014 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14015 to implement __libc_accept4.
14016 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14018 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14020 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14021 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14022 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14023 signal-defines.sym.
14025 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14027 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14031 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14032 assertion on O_CLOEXEC flag.
14033 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14034 * hurd/intern-fd.c: Likewise.
14035 * hurd/port2fd.c: Likewise.
14037 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14040 * bits/in.h (IPV6_PKTINFO): Define new macro.
14041 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14043 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14048 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14049 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14050 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14051 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14053 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14054 * math/libm-test.inc (logb_test) : Additional logb tests.
14056 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14057 Andreas Jaeger <aj@suse.de>
14059 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14060 * configure: Regenerated.
14061 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14062 * config.make.in (link-obsolete-rpc): New substituted variable.
14063 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14064 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14065 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14066 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14067 so that libc.a contains the symbols.
14068 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14069 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14070 * sunrpc/auth_none.c: Likewise.
14071 * sunrpc/auth_unix.c: Likewise.
14072 * sunrpc/authdes_prot.c: Likewise.
14073 * sunrpc/authuxprot.c: Likewise.
14074 * sunrpc/clnt_gen.c: Likewise.
14075 * sunrpc/clnt_perr.c: Likewise.
14076 * sunrpc/clnt_raw.c: Likewise.
14077 * sunrpc/clnt_simp.c: Likewise.
14078 * sunrpc/clnt_tcp.c: Likewise.
14079 * sunrpc/clnt_udp.c: Likewise.
14080 * sunrpc/clnt_unix.c: Likewise.
14081 * sunrpc/des_crypt.c: Likewise.
14082 * sunrpc/des_soft.c: Likewise.
14083 * sunrpc/get_myaddr.c: Likewise.
14084 * sunrpc/key_call.c: Likewise.
14085 * sunrpc/key_prot.c: Likewise.
14086 * sunrpc/netname.c: Likewise.
14087 * sunrpc/pm_getmaps.c: Likewise.
14088 * sunrpc/pm_getport.c: Likewise.
14089 * sunrpc/pmap_clnt.c: Likewise.
14090 * sunrpc/pmap_prot.c: Likewise.
14091 * sunrpc/pmap_prot2.c: Likewise.
14092 * sunrpc/pmap_rmt.c: Likewise.
14093 * sunrpc/publickey.c: Likewise.
14094 * sunrpc/rpc_cmsg.c: Likewise.
14095 * sunrpc/rpc_common.c: Likewise.
14096 * sunrpc/rpc_dtable.c: Likewise.
14097 * sunrpc/rpc_prot.c: Likewise.
14098 * sunrpc/rpc_thread.c: Likewise.
14099 * sunrpc/rtime.c: Likewise.
14100 * sunrpc/svc.c: Likewise.
14101 * sunrpc/svc_auth.c: Likewise.
14102 * sunrpc/svc_raw.c: Likewise.
14103 * sunrpc/svc_run.c: Likewise.
14104 * sunrpc/svc_tcp.c: Likewise.
14105 * sunrpc/svc_udp.c: Likewise.
14106 * sunrpc/svc_unix.c: Likewise.
14107 * sunrpc/svcauth_des.c: Likewise.
14108 * sunrpc/xcrypt.c: Likewise.
14109 * sunrpc/xdr.c: Likewise.
14110 * sunrpc/xdr_array.c: Likewise.
14111 * sunrpc/xdr_float.c: Likewise.
14112 * sunrpc/xdr_intXX_t.c: Likewise.
14113 * sunrpc/xdr_mem.c: Likewise.
14114 * sunrpc/xdr_rec.c: Likewise.
14115 * sunrpc/xdr_ref.c: Likewise.
14116 * sunrpc/xdr_sizeof.c: Likewise.
14117 * sunrpc/xdr_stdio.c: Likewise.
14119 2012-05-10 Roland McGrath <roland@hack.frob.com>
14121 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14122 change. Update copyright years.
14124 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14126 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14128 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14129 Joseph Myers <joseph@codesourcery.com>
14130 Paul Pluzhnikov <ppluzhnikov@google.com>
14133 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14135 [cross-compiling] (extra-libs): Likewise.
14136 [cross-compiling] (extra-libs-others): Likewise.
14137 [cross-compiling] (librpcsvc-routines): Likewise.
14138 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14139 [cross-compiling] (omit-deps): Likewise.
14140 (sunrpc-CPPFLAGS): New variable.
14141 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14142 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14143 (cross-rpcgen-objs): New variable.
14144 (extra-objs): Append $(cross-rpcgen-objs).
14145 ($(cross-rpcgen-objs)): New rule.
14146 ($(objpfx)cross-rpcgen): Likewise.
14147 (rpcgen-cmd): Define to use $(built-program-file). Expand
14149 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14150 ($(objpfx)x%.stmp): Likewise.
14151 * sunrpc/proto.h [IS_IN_build] (_): Define.
14152 [IS_IN_build] (_libc_intl_domainname): Likewise.
14154 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14157 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14158 and R_X86_64_TPOFF64.
14160 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14162 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14163 sysdeps/unix/sysv/syscalls.list.
14166 * sysdeps/unix/sysv/syscalls.list: Remove file.
14168 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14171 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14172 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14173 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14174 (__LC_IDENTIFICATION): Make these macros useful in #if
14175 expressions, as required by C99.
14177 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14179 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14180 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14183 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14185 * stdlib/longlong.h: Updated from GCC.
14187 2012-05-09 Andreas Jaeger <aj@suse.de>
14189 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14190 default is first entry.
14191 (run_mode): Set type.
14192 (main): Remove informal message about syslog.
14193 (options): Fix typo.
14196 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14199 (llrintf): Likewise.
14200 (llrint): Likewise.
14203 (nearbyint): Likewise.
14204 (nearbyintf): Likewise.
14206 2012-05-09 Andreas Jaeger <aj@suse.de>
14207 Pedro Alves <palves@redhat.com>
14209 * nscd/nscd.c (run_mode): Use enum.
14210 (main): Cleanup coding style issue.
14212 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14213 Andreas Jaeger <aj@suse.de>
14215 * nscd/nscd.c (go_background): Replaced with...
14216 (run_mode): ... this.
14217 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14218 (options): Add -F --foreground.
14219 (main): Implement it.
14220 (parse_opt): Parse it.
14222 2012-05-09 Andreas Jaeger <aj@suse.de>
14225 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14226 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14227 -Wconversion warning.
14228 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14231 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14233 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14235 (LC_ALL): Use macro-int-constant.
14236 (LC_COLLATE): Likewise.
14237 (LC_CTYPE): Likewise.
14238 (LC_MESSAGES): Likewise.
14239 (LC_MONETARY): Likewise.
14240 (LC_NUMERIC): Likewise.
14241 (LC_TIME): Likewise.
14242 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14243 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14245 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14247 [C99-based standards] (float_t): Expect type.
14248 [C99-based standards] (double_t): Expect type.
14249 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14251 [C99-based standards] (HUGE_VALL): Likewise.
14252 [C99-based standards] (INFINITY): Likewise.
14253 [C99-based standards] (NAN): Likewise.
14254 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14255 [C99-based standards] (FP_NAN): Likewise.
14256 [C99-based standards] (FP_NORMAL): Likewise.
14257 [C99-based standards] (FP_SUBNORMAL): Likewise.
14258 [C99-based standards] (FP_ZERO): Likewise.
14259 [C99-based standards] (FP_FAST_FMA): Use
14260 optional-macro-int-constant. Specify type. Require == 1.
14261 [C99-based standards] (FP_FAST_FMAF): Likewise.
14262 [C99-based standards] (FP_FAST_FMAL): Likewise.
14263 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14264 [C99-based standards] (FP_ILOGBNAN): Likewise.
14265 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14267 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14268 [C99-based standards] (math_errhandling): Specify type.
14269 [ISO99 || ISO11] (signgam): Do not allow.
14270 [non-C99-based standards] (copysignf): Do not allow.
14271 [non-C99-based standards] (exp2f): Likewise.
14272 [non-C99-based standards] (log2f): Likewise.
14273 [non-C99-based standards] (modff): Allow.
14274 [non-C99-based standards] (erff): Do not allow.
14275 [non-C99-based standards] (erfcf): Likewise.
14276 [non-C99-based standards] (gammaf): Likewise.
14277 [non-C99-based standards] (hypotf): Likewise.
14278 [non-C99-based standards] (j0f): Likewise.
14279 [non-C99-based standards] (j1f): Likewise.
14280 [non-C99-based standards] (jnf): Likewise.
14281 [non-C99-based standards] (lgammaf): Likewise.
14282 [non-C99-based standards] (tgammaf): Likewise.
14283 [non-C99-based standards] (y0f): Likewise.
14284 [non-C99-based standards] (y1f): Likewise.
14285 [non-C99-based standards] (ynf): Likewise.
14286 [non-C99-based standards] (isnanf): Likewise.
14287 [non-C99-based standards] (acoshf): Likewise.
14288 [non-C99-based standards] (asinhf): Likewise.
14289 [non-C99-based standards] (atanhf): Likewise.
14290 [non-C99-based standards] (cbrtf): Likewise.
14291 [non-C99-based standards] (expm1f): Likewise.
14292 [non-C99-based standards] (ilogbf): Likewise.
14293 [non-C99-based standards] (log1pf): Likewise.
14294 [non-C99-based standards] (logbf): Likewise.
14295 [non-C99-based standards] (nextafterf): Likewise.
14296 [non-C99-based standards] (remainderf): Likewise.
14297 [non-C99-based standards] (rintf): Likewise.
14298 [non-C99-based standards] (scalbf): Likewise.
14299 [non-C99-based standards] (copysignl): Likewise.
14300 [non-C99-based standards] (exp2l): Likewise.
14301 [non-C99-based standards] (log2l): Likewise.
14302 [non-C99-based standards] (modfl): Allow.
14303 [non-C99-based standards] (erfl): Do not allow.
14304 [non-C99-based standards] (erfcl): Likewise.
14305 [non-C99-based standards] (gammal): Likewise.
14306 [non-C99-based standards] (hypotl): Likewise.
14307 [non-C99-based standards] (j0l): Likewise.
14308 [non-C99-based standards] (j1l): Likewise.
14309 [non-C99-based standards] (jnl): Likewise.
14310 [non-C99-based standards] (lgammal): Likewise.
14311 [non-C99-based standards] (tgammal): Likewise.
14312 [non-C99-based standards] (y0l): Likewise.
14313 [non-C99-based standards] (y1l): Likewise.
14314 [non-C99-based standards] (ynl): Likewise.
14315 [non-C99-based standards] (isnanl): Likewise.
14316 [non-C99-based standards] (acoshl): Likewise.
14317 [non-C99-based standards] (asinhl): Likewise.
14318 [non-C99-based standards] (atanhl): Likewise.
14319 [non-C99-based standards] (cbrtl): Likewise.
14320 [non-C99-based standards] (expm1l): Likewise.
14321 [non-C99-based standards] (ilogbl): Likewise.
14322 [non-C99-based standards] (log1pl): Likewise.
14323 [non-C99-based standards] (logbl): Likewise.
14324 [non-C99-based standards] (nextafterl): Likewise.
14325 [non-C99-based standards] (remainderl): Likewise.
14326 [non-C99-based standards] (rintl): Likewise.
14327 [non-C99-based standards] (scalbl): Likewise.
14328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14329 [non-C99-based standards] (FP_*): Do not allow.
14330 [C99-based standards] (FP_*): Change to
14331 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14332 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14334 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14335 (SIG_ERR): Likewise.
14336 [X/Open-based standards] (SIG_HOLD): Likewise.
14337 (SIG_IGN): Likewise.
14338 (SIGABRT): Use macro-int-constant. Specify type. Require
14340 (SIGFPE): Likewise.
14341 (SIGILL): Likewise.
14342 (SIGINT): Likewise.
14343 (SIGSEGV): Likewise.
14344 (SIGTER): Likewise.
14345 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14346 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14347 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14348 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14349 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14350 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14351 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14352 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14353 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14354 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14355 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14356 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14357 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14358 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14359 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14360 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14361 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14362 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14363 [X/Open-based standards] (SIGTRAP): Likewise.
14364 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14365 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14366 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14367 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14368 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14371 2012-05-08 Ian Wienand <ianw@vmware.com>
14374 * time/tzset.c (__tzset_parse_tz): Update default rules for
14375 daylight time changes in the Energy Policy Act of 2005.
14377 2012-05-09 Andreas Jaeger <aj@suse.de>
14380 * elf/ldconfig.c (parse_conf): Change string to make clear that
14381 ldconfig only issued a warning if ld.so.conf does not exist.
14383 2012-05-08 David S. Miller <davem@davemloft.net>
14385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14386 movxtod instead of popping the value on the stack.
14388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14390 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14392 * config.h.in: Add HAVE_ARM_PCS_VFP.
14394 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14397 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14398 checking but the checks are disabled for any reason.
14400 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14402 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14403 and ELF64_R_TYPE with ELFW(R_TYPE).
14405 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14407 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14408 (ulimit): Likewise.
14410 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14411 (settimeofday): Likewise.
14413 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14415 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14416 a struct th_u2 inside the union, and move tu_block/tu_code into
14417 a new th_u3 union of tu_block/tu_code inside of that. Move
14418 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14419 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14420 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14421 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14422 (th_stuff): Change to th_u1.tu_stuff.
14424 (th_msg): Change to th_u1.th_u2.tu_data.
14426 2012-05-07 David S. Miller <davem@davemloft.net>
14428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14431 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14432 (SETUP_PIC_REG): Use it.
14433 (SETUP_PIC_REG_LEAF): Use it.
14435 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14439 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14441 (EXPL_FINITE): Likewise.
14442 (FLDLOG): Likewise.
14443 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14444 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14446 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14448 (EXPL_FINITE): Likewise.
14449 (FLDLOG): Likewise.
14450 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14451 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14453 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14454 test of -max_value argument for long double.
14455 * sysdeps/i386/fpu/libm-test-ulps: Update.
14456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14458 2012-05-06 David S. Miller <davem@davemloft.net>
14460 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14461 quad soft-float symbols whose references which are compiler
14463 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14465 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14469 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14471 (EXPL_FINITE): Likewise.
14472 (FLDLOG): Likewise.
14475 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14476 Adjust comments for base varying.
14477 (__expl_finite): Change alias to EXPL_FINITE.
14478 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14480 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14481 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14482 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14483 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14484 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14486 (EXPL_FINITE): Likewise.
14487 (FLDLOG): Likewise.
14490 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14491 Adjust comments for base varying.
14492 (__expl_finite): Change alias to EXPL_FINITE.
14493 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14498 * math/libm-test.inc (check_float_internal): Correct ulp
14499 calculation for subnormal expected results.
14501 2012-05-06 Andreas Jaeger <aj@suse.de>
14503 * Makeconfig (+math-flags): New, set to -frounding-math.
14504 (+cflags): Add +math-flags so that all of glibc gets compiled with
14507 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14509 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14511 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14517 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14518 (__ieee754_expl): Allow for and saturate large arguments.
14519 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14520 (u_threshold): Likewise.
14521 (__exp): Call __ieee754_exp before checking for overflow and
14523 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14524 (u_threshold): Likewise.
14525 (__expf): Call __ieee754_expf before checking for overflow and
14527 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14528 (u_threshold): Likewise.
14529 (__expl): Call __ieee754_expl before checking for overflow and
14531 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14532 (__ieee754_expl): Allow for and saturate large arguments.
14533 * math/libm-test.inc (exp_test): Add another test. Do not allow
14534 missing overflow exception on overflow.
14535 (expm1_test): Do not allow missing overflow exception on overflow.
14537 * sysdeps/i386/fpu/e_expl.c: Move to ...
14538 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14539 rather than using inline asm.
14540 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14541 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14542 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14544 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14547 (signal): Likewise.
14551 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14553 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14554 sysdeps/unix/common/syscalls.list.
14555 (fchmod): Likewise.
14556 (fchown): Likewise.
14557 (ftruncate): Likewise.
14558 (getrusage): Likewise.
14559 (gettimeofday): Likewise.
14560 (setpgid): Likewise.
14561 (setregid): Likewise.
14562 (setreuid): Likewise.
14563 (sigaction): Likewise.
14564 (truncate): Likewise.
14565 (vhangup): Likewise.
14566 * sysdeps/unix/common/syscalls.list: Remove file.
14567 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14568 * sysdeps/unix/sysv/linux/Implies: Likewise.
14570 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14572 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14574 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14578 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14581 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14584 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14587 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14590 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14593 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14596 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14600 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14604 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14607 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14611 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14615 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14617 * sysdeps/unix/common/bits/dirent.h: Remove file.
14618 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14620 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14621 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14622 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14623 * sysdeps/unix/bsd/isatty.c: Likewise.
14624 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14625 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14626 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14628 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14632 long double comparison inaccuracies.
14633 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14636 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14638 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14641 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14645 nonzero digits before rounding a hex value.
14646 * stdlib/tst-strtod.c (tests): Add another test.
14648 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14650 * sysdeps/s390/fpu/libm-test-ulps: Update.
14652 2012-05-03 Andreas Jaeger <aj@suse.de>
14654 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14655 does not get optimized out.
14656 (malloc_opt_barrier): New.
14658 2012-05-03 Andreas Jaeger <aj@suse.de>
14659 Roland McGrath <roland@hack.frob.com>
14661 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14662 intermediate file deletion.
14663 (generated): Add .symlist files.
14665 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14668 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14669 Redirect under this condition.
14670 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14671 [__USE_GNU] (__dprintf_chk): Not under this condition.
14672 [__USE_GNU] (__vdprintf_chk): Likewise.
14673 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14674 under this condition.
14675 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14676 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14677 [__USE_XOPEN2K8] (vdprintf): Likewise.
14678 [__USE_GNU] (__dprintf_chk): Not under this condition.
14679 [__USE_GNU] (__vdprintf_chk): Likewise.
14680 [__USE_GNU] (dprintf): Likewise.
14681 [__USE_GNU] (vdprintf): Likewise.
14683 2012-05-03 Roland McGrath <roland@hack.frob.com>
14685 * elf/Makefile (common-generated): Set this instead of generated for
14686 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14687 $(all-built-dso)-derived lists.
14689 2012-05-03 Andreas Jaeger <aj@suse.de>
14691 * sysdeps/i386/fpu/libm-test-ulps: Update.
14694 * FAQ.in: Likewise.
14695 * scripts/gen-FAQ.pl: Likewise.
14696 * manual/install.texi (Installation): Point to online location of
14698 * Makefile (files-for-dist): Remove FAQ.
14701 2012-05-02 Allan McRae <allan@archlinux.org>
14703 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14704 (LDFLAGS-reldepmod5.so): Likewise.
14705 (LDFLAGS-reldep6mod1.so): Likewise.
14706 (LDFLAGS-reldep6mod4.so): Likewise.
14707 (LDFLAGS-reldep8mod3.so): Likewise.
14708 (LDFLAGS-unload4mod1.so): Likewise.
14709 (LDFLAGS-unload4mod2.so): Likewise.
14710 (LDFLAGS-tst-initorder): Likewise.
14711 (LDFLAGS-tst-initordera2.so): Likewise.
14712 (LDFLAGS-tst-initordera3.so): Likewise.
14713 (LDFLAGS-tst-initordera4.so): Likewise.
14714 (LDFLAGS-tst-initorderb2.so): Likewise.
14715 (LDFLAGS-noload): Likewise.
14716 (LDFLAGS-next): Likewise.
14717 (LDFLAGS-order2mod1.so): Likewise.
14718 (LDFLAGS-order2mod2.so): Likewise.
14719 (LDFLAGS-tst-initorder2): Likewise.
14720 (LDFLAGS-tst-initorder2a.so): Likewise.
14721 (LDFLAGS-tst-initorder2b.so): Likewise.
14722 (LDFLAGS-tst-initorder2c.so): Likewise.
14723 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14725 2012-05-02 David S. Miller <davem@davemloft.net>
14727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14729 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14732 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14734 2012-05-02 Andreas Jaeger <aj@suse.de>
14736 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14737 since we manipulate rounding mode.
14738 (CPPFLAGS-test-idouble.c): Likewise.
14739 (CPPFLAGS-test-ifloat.c): Likewise.
14740 (CFLAGS-test-ldouble.c): Likewise.
14741 (CFLAGS-test-double.c): Likewise.
14742 (CFLAGS-test-float.c): Likewise.
14743 (CFLAGS-test-misc.c): Likewise.
14744 (CFLAGS-test-test-fenv.c): Likewise.
14746 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14750 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14751 comparisons to determine direction to adjust input.
14753 2012-05-01 Roland McGrath <roland@hack.frob.com>
14755 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14756 output to the target.
14758 * scripts/localplt.awk: New file.
14759 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14760 (check-localplt-CFLAGS): Variable removed.
14761 ($(all-built-dso:=.jmprel)): New static pattern rule.
14762 (generated): Add those targets.
14763 (localplt-built-dso): New variable.
14764 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14766 * elf/check-localplt.c: File removed.
14768 * scripts/check-execstack.awk: New file.
14769 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14770 (check-execstack-CFLAGS): Variable removed.
14771 ($(objpfx)check-execstack.h): Target removed.
14772 ($(objpfx)execstack-default): New target.
14773 (generated): Add that instead of check-execstack.h.
14774 ($(all-built-dso:=.phdr)): New static pattern rule.
14775 (generated): Add those targets.
14776 * elf/check-execstack.c: File removed.
14778 * scripts/check-textrel.awk: New file.
14779 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14780 (check-textrel-CFLAGS): Variable removed.
14781 (all-built-dso): Use := to define.o
14782 ($(all-built-dso:=.dyn)): New static pattern rule.
14783 (generated): Add those targets.
14784 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14785 * config.make.in (READELF): New substituted variable.
14786 * elf/check-textrel.c: File removed.
14788 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14790 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14792 * conform/data/ctype.h-data [C99-based standards] (isblank):
14794 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14795 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14797 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14798 Specify type. Require positive value.
14799 (EILSEQ): Likewise.
14800 (ERANGE): Likewise.
14801 [ISO || POSIX] (EILSEQ): Do not expect.
14802 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14803 Specify type. Require positive value.
14804 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14805 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14806 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14807 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14808 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14809 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14810 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14811 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14812 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14813 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14814 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14815 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14816 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14817 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14818 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14819 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14820 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14821 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14822 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14823 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14824 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14825 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14826 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14827 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14828 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14829 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14830 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14831 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14832 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14833 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14834 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14835 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14836 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14837 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14838 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14839 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14840 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14841 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14842 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14843 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14844 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14845 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14846 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14847 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14848 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14849 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14850 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14851 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14852 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14853 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14854 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14855 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14856 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14857 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14858 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14859 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14860 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14861 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14862 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14863 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14864 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14878 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14879 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14880 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14882 (FLT_ROUNDS): Expect as macro, not constant.
14883 (FLT_MANT_DIG): Use macro-int-constant.
14884 (DBL_MANT_DIG): Likewise.
14885 (LDBL_MANT_DIG): Likewise.
14886 (FLT_DIG): Likewise.
14887 (DBL_DIG): Likewise.
14888 (LDBL_DIG): Likewise.
14889 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14890 (DBL_MIN_EXP): Likewise.
14891 (LDBL_MIN_EXP): Likewise.
14892 (FLT_MAX_EXP): Use macro-int-constant.
14893 (DBL_MAX_EXP): Likewise.
14894 (LDBL_MAX_EXP): Likewise.
14895 (FLT_MAX_10_EXP): Likewise.
14896 (DBL_MAX_10_EXP): Likewise.
14897 (LDBL_MAX_10_EXP): Likewise.
14898 (FLT_MAX): Use macro-constant.
14899 (DBL_MAX): Likewise.
14900 (LDBL_MAX): Likewise.
14901 (FLT_EPSILON): Use macro-constant. Give upper bound.
14902 (DBL_EPSILON): Likewise.
14903 (LDBL_EPSILON): Likewise.
14904 (FLT_MIN): Likewise.
14905 (DBL_MIN): Likewise.
14906 (LDBL_MIN): Likewise.
14907 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14908 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14909 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14910 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14911 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14912 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14913 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14914 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14915 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14916 [ISO11] (FLT_TRUE_MIN): Likewise.
14917 [ISO11] (LDBL_TRUE_MIN): Likewise.
14918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14919 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14920 (SCHAR_MIN): Use macro-int-constant. Specify type.
14921 (SCHAR_MAX): Likewise.
14922 (UCHAR_MAX): Likewise.
14923 (CHAR_MIN): Likewise.
14924 (CHAR_MAX): Likewise.
14925 (MB_LEN_MAX): Use macro-int-constant.
14926 (SHRT_MIN): Use macro-int-constant. Specify type.
14927 (SHRT_MAX): Likewise.
14928 (USHRT_MAX): Likewise.
14929 (INT_MAX): Likewise.
14930 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14932 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14934 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14936 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14937 bound negative. Suffix upper bound with "L".
14938 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14940 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14942 [C99-based standards] (LLONG_MAX): Likewise.
14943 [C99-based standards] (ULLONG_MAX): Likewise.
14944 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14946 [ISO11] (max_align_t): Require type.
14947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14949 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14950 from $CFLAGS, without defining away __attribute__ calls.
14951 (checknamespace): Use $CFLAGS_namespace.
14953 * conform/conformtest.pl (@keywords): Only include C99 keywords
14954 for standards based on C99 or C11.
14956 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14958 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14961 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14962 usability of symbols in #if.
14964 * conform/conformtest.pl: If macro or constant types start
14965 "promoted:", expect the symbol to be of the following type
14966 promoted by the integer promotions.
14968 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14969 in one place. Also handle "macro-constant".
14971 * conform/conformtest.pl: Only accept expected macro values with
14972 "==". Parse all "macro" lines in one place.
14973 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14975 * conform/conformtest.pl: Handle braced types on "constant" lines
14976 instead of handling "typed-constant".
14977 * conform/data/signal.h-data: Use "constant" instead of
14980 * conform/conformtest.pl: Handle "optional-" at start of lines in
14981 one place rather than duplicating several cases. Handle each
14982 format of "macro" line with initial "optional-".
14984 * conform/conformtest.pl: Only accept expected constant or
14985 optional-constant values with "==". Parse all "constant" lines in
14986 one place. Parse all "optional-constant" lines in one place.
14987 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14988 * conform/data/fmtmsg.h-data: Likewise.
14989 * conform/data/netinet/in.h-data: Likewise.
14990 * conform/data/tar.h-data: Likewise.
14991 * conform/data/limits.h-data: Use "==" form on "constant" and
14992 "optional-constant" lines.
14994 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14995 Use -std=c99 for XOPEN2K.
14996 (@knownproblems): Remove.
14997 (newtoken): Don't check %isknown.
14999 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15000 Do not expect macro.
15001 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15002 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15003 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15004 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15005 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15006 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15007 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15008 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15009 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15010 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15011 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15012 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15013 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15014 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15015 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15016 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15017 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15018 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15019 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15020 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15021 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15022 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15023 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15024 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15025 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15026 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15027 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15028 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15029 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15030 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15031 [XPG3] (acosh): Likewise.
15032 [XPG3] (asinh): Likewise.
15033 [XPG3] (atanh): Likewise.
15034 [XPG3] (cbrt): Likewise.
15035 [XPG3] (expm1): Likewise.
15036 [XPG3] (ilogb): Likewise.
15037 [XPG3] (log1p): Likewise.
15038 [XPG3] (logb): Likewise.
15039 [XPG3] (nextafter): Likewise.
15040 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15041 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15042 [XPG3] (remainder): Likewise.
15043 [XPG3] (rint): Likewise.
15044 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15045 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15046 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15047 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15048 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15049 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15050 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15051 [UNIX98 || XOPEN2K] (scalb): Expect.
15052 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15053 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15054 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15055 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15057 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15058 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15060 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15061 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15064 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15067 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15068 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15073 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15074 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15082 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15083 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15085 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15086 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15087 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15088 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15089 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15090 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15091 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15092 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15093 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15095 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15096 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15097 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15098 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15099 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15102 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15103 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15104 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15105 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15190 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15191 _XOPEN_SOURCE_EXTENDED for XPG4.
15193 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15195 * Makeconfig (localtime): Remove variable.
15196 (inst_localtime-file): Likewise.
15198 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15219 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15223 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15224 comparisons to determine direction to adjust input.
15225 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15226 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15227 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15229 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15231 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15233 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15234 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15236 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15238 * math/libm-test.inc (nexttoward_test): Add more tests.
15240 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15243 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15244 in version GLIBC_2.1, not GLIBC_2.0.
15245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15248 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15251 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15253 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15254 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15255 * math/libm-test.inc (acos_test): Add more tests.
15256 (asin_test): Likewise.
15257 * sysdeps/i386/fpu/libm-test-ulps: Update.
15258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15261 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15263 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15264 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15265 * math/libm-test.inc (acos_test_tonearest): New function.
15266 (acos_test_towardzero): Likewise.
15267 (acos_test_downward): Likewise.
15268 (acos_test_upward): Likewise.
15269 (asin_test_tonearest): Likewise.
15270 (asin_test_towardzero): Likewise.
15271 (asin_test_downward): Likewise.
15272 (asin_test_upward): Likewise.
15273 (main): Call the new functions.
15274 * sysdeps/i386/fpu/libm-test-ulps: Update.
15275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15279 * math/e_exp10.c: Include <float.h>.
15280 (__ieee754_exp10): Handle underflow here rather than multiplying
15281 large negative argument by M_LN10.
15282 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15284 * math/e_exp10l.c: Include <float.h>.
15285 (__ieee754_exp10l): Handle underflow here rather than multiplying
15286 large negative argument by M_LN10l.
15287 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15288 spurious overflow exception on underflow.
15290 2012-04-29 Marek Polacek <polacek@redhat.com>
15292 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15293 (__fortify_function): New macro.
15294 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15295 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15296 __extern_always_inline.
15297 * libio/bits/stdio2.h: Likewise.
15298 * libio/bits/stdio.h: Likewise.
15299 * string/string.h: Likewise.
15300 * string/bits/string3.h: Likewise.
15301 * include/stdio.h: Likewise.
15302 * stdlib/bits/stdlib.h: Likewise.
15303 * stdlib/stdlib.h: Likewise.
15304 * rt/bits/mqueue2.h: Likewise.
15305 * rt/mqueue.h: Likewise.
15306 * posix/bits/unistd.h: Likewise.
15307 * posix/unistd.h: Likewise.
15308 * io/bits/poll2.h: Likewise.
15309 * io/bits/fcntl2.h: Likewise.
15310 * io/fcntl.h: Likewise.
15311 * io/sys/poll.h: Likewise.
15312 * misc/bits/syslog.h: Likewise.
15313 * misc/bits/syslog-ldbl.h: Likewise.
15314 * misc/sys/syslog.h: Likewise.
15315 * socket/bits/socket2.h: Likewise.
15316 * socket/sys/socket.h: Likewise.
15317 * debug/tst-chk1.c: Likewise.
15318 * wcsmbs/bits/wchar2.h: Likewise.
15319 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15320 * wcsmbs/wchar.h: Likewise.
15322 2012-04-29 Andreas Jaeger <aj@suse.de>
15324 * Makerules (tests): Remove enable-check-abi protection.
15325 (check-abi-warn): Remove.
15326 (check-abi-%): Remove check-abi-warn usage.
15328 * configure.in: Remove check-abi configure option.
15329 * configure: Regenerated.
15330 * config.make.in (enable-check-abi): Remove.
15332 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15335 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15336 double functions to double *_finite functions.
15339 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15340 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15342 * stdio-common/Makefile (tests): Add tst-sprintf3.
15343 * stdio-common/tst-sprintf3.c: New file.
15345 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15346 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15348 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15350 * conform/conformtest.pl: Remove duplicate typed-constant
15353 2012-04-28 David S. Miller <davem@davemloft.net>
15355 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15356 (check-abi-%): Remove AWK script prerequisite and explicit
15358 (check-abi): Rewrite to just diff the symlist with the abilist.
15359 (config-tls, config-abi-config): Delete, no longer used.
15360 (update-abi-%): Remove AWK script and explicit abilist directory.
15361 (update-abi): Rewrite to simply compare and conditionally copy the
15362 symlist and the sysdep abilist file. Remove update-abi-config
15364 * abilist/ld.abilist: Remove.
15365 * abilist/libBrokenLocale.abilist: Remove.
15366 * abilist/libanl.abilist: Remove.
15367 * abilist/libcrypt.abilist: Remove.
15368 * abilist/libdl.abilist: Remove.
15369 * abilist/librt.abilist: Remove.
15370 * abilist/libthread_db.abilist: Remove.
15371 * abilist/libutil.abilist: Remove.
15372 * scripts/extract-abilist.awk: Remove.
15373 * scripts/merge-abilist.awk: Remove.
15374 * sysdeps/generic/libcidn.abilist: New file.
15375 * sysdeps/generic/libnss_compat.abilist: New file.
15376 * sysdeps/generic/libnss_db.abilist: New file.
15377 * sysdeps/generic/libnss_dns.abilist: New file.
15378 * sysdeps/generic/libnss_files.abilist: New file.
15379 * sysdeps/generic/libnss_hesiod.abilist: New file.
15380 * sysdeps/generic/libnss_nis.abilist: New file.
15381 * sysdeps/generic/libnss_nisplus.abilist: New file.
15382 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15383 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15384 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15386 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15387 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15388 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15389 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15390 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15391 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15392 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15393 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15394 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15396 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15397 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15398 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15399 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15401 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15402 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15403 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15404 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15405 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15406 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15408 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15409 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15410 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15412 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15515 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15516 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15517 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15520 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15521 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15522 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15523 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15524 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15525 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15526 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15527 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15528 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15580 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15582 * conform/conformtest.pl: Fix typo in handling typed-constant from
15585 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15587 * README: Cut down references to pre-2.6 Linux kernels and
15588 Linuxthreads. Update lists of configurations in libc and ports
15589 and sort alphabetically. Say "or newer" with Linux kernel version
15592 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15594 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15597 * math/libm-test.inc (logb_test_downward): New test to expose
15598 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15601 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15604 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15606 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15607 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15609 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15611 * sysdeps/unix/i386/brk.S: Remove file.
15612 * sysdeps/unix/i386/dl-brk.S: Likewise.
15613 * sysdeps/unix/i386/pipe.S: Likewise.
15614 * sysdeps/unix/i386/sigreturn.S: Likewise.
15615 * sysdeps/unix/i386/syscall.S: Likewise.
15616 * sysdeps/unix/i386/vfork.S: Likewise.
15617 * sysdeps/unix/i386/wait.S: Likewise.
15619 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15620 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15622 * configure.in (arm*-none*): Do not allow without
15623 --enable-hacker-mode.
15624 (netbsd*): Remove case setting base_os.
15625 (386bsd*): Likewise.
15626 (freebsd*): Likewise.
15629 (sunos*): Likewise.
15630 (ultrix*): Likewise.
15631 (newsos*): Likewise.
15632 (dynix*): Likewise.
15638 (minix*): Likewise.
15639 (irix4*): Likewise.
15640 (irix6*): Likewise.
15641 (solaris[2-9]*): Likewise.
15643 * configure: Regenerated.
15645 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15648 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15649 overflow or cancellation in calculating denominator.
15650 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15651 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15652 down expression to avoid unexpected rounding in newer GCCs.
15653 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15655 2012-04-26 David S. Miller <davem@davemloft.net>
15657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15658 long-double compat symbols.
15659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15673 2012-04-25 David S. Miller <davem@davemloft.net>
15675 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15676 HWCAP_* values only after the memory barriers have been defined.
15677 (atomic_full_barrier): Define.
15678 (atomic_read_barrier): Define.
15679 (atomic_write_barrier): Define.
15681 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15683 * shlib-versions: Add libgcc_s version information.
15684 * sysdeps/generic/libgcc_s.h: Remove.
15685 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15687 * sysdeps/gnu/unwind-resume.c: Likewise.
15688 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15690 2012-04-25 David S. Miller <davem@davemloft.net>
15692 * sysdeps/unix/sparc/brk.S: Delete.
15693 * sysdeps/unix/sparc/dl-brk.S: Delete.
15694 * sysdeps/unix/sparc/pipe.S: Delete.
15695 * sysdeps/unix/sparc/sysdep.S: Delete.
15696 * sysdeps/unix/sparc/sysdep.h: Delete.
15697 * sysdeps/unix/sparc/vfork.S: Delete.
15698 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15699 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15701 ret_ERRVAL, r0, r1, MOVE): Define.
15702 (JUMPTARGET): Remove.
15703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15704 sysdeps/unix/sparc/sysdep.h
15705 (ENTRY, END): Remove.
15706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15708 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15710 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15711 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15714 * timezone/README: Update upstream location and email address for
15716 * timezone/zdump.c: Update from tzcode 2012b.
15717 * timezone/zic.c: Likewise.
15719 * configure.in (libc_cv_as_needed): Remove test.
15720 * configure: Regenerated.
15721 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15722 conditional definition.
15723 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15724 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15725 * config.make.in (have-as-needed): Remove variable.
15727 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15728 Paul Pluzhnikov <ppluzhnikov@google.com>
15730 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15733 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15735 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15736 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15737 * sysdeps/sh/strlen.S: Likewise.
15739 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15741 * sysdeps/unix/fork.S: Remove file.
15742 * sysdeps/unix/i386/fork.S: Likewise.
15743 * sysdeps/unix/sparc/fork.S: Likewise.
15745 * sysdeps/unix/system.c: Remove file.
15746 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15748 * sysdeps/unix/getegid.S: Remove file.
15749 * sysdeps/unix/geteuid.S: Likewise.
15751 2012-04-24 Roland McGrath <roland@hack.frob.com>
15753 * scripts/check-localplt.awk: New file.
15754 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15756 * scripts/data/localplt-generic.data: Add a comment.
15758 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15759 NODE when __dir_mkfile failed.
15760 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15761 Reported by Ludovic Courtès <ludo@gnu.org>.
15763 2012-04-24 Andreas Jaeger <aj@suse.de>
15765 * Makerules (common-clean): Also remove gen-as-const-headers
15768 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15770 * Makerules (native-compile): Do not change working directory for
15771 build. Use $(OUTPUT_OPTION) in command.
15772 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15774 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15777 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15778 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15779 * math/libm-test.inc (floor_test): Add more tests.
15780 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15782 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15784 * sysdeps/unix/getdents.c: Remove file.
15785 * sysdeps/unix/sysv/getdents.c: Likewise.
15786 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15788 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15789 sysdeps/unix/mman/syscalls.list.
15791 (mprotect): Likewise.
15793 (munmap): Likewise.
15794 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15795 * sysdeps/unix/mman/syscalls.list: Remove.
15796 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15798 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15799 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15800 * configure: Regenerated.
15801 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15802 $(libgcc_s_suffix).
15803 * config.make.in (libgcc_s_suffix): Remove variable.
15805 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15807 * sysdeps/unix/sysv/gethostname.c: Move to ...
15808 * sysdeps/posix/gethostname.c: ... here.
15810 * sysdeps/unix/execve.S: Remove file.
15812 * sysdeps/unix/_exit.S: Remove file.
15814 2012-04-23 Andreas Jaeger <aj@suse.de>
15817 * manual/Makefile: Remove make dist support, there's no
15818 need for a stand-alone documentation tar ball.
15819 (TEXI2DVI): Define always, it's not in Makeconfig.
15822 (edition): Removed.
15823 (glibc-doc-$(edition).tar): Removed
15827 (ETAGS): Remove, it's in Makeconfig.
15828 (move-if-change): Remove, it's in Makeconfig.
15830 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15833 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15834 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15835 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15836 (strtod_l, strtof_l, strtold_l): Remove __wur.
15837 It is not necessarily an error to ignore strtol's return value.
15838 One can reliably look at the stored endptr to decide whether
15839 the number had valid syntax.
15841 2012-04-21 Andreas Jaeger <aj@suse.de>
15844 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15846 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15848 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15849 * sysdeps/unix/sysv/Versions: Remove file.
15851 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15856 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15860 version from __vm86.
15862 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15864 * sysdeps/unix/common/lxstat.c: Remove file.
15865 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15867 * sysdeps/unix/sysv/Makefile: Remove file.
15869 * sysdeps/unix/sysv/direct.h: Remove file.
15871 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15872 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15873 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15874 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15875 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15876 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15877 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15879 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15881 * sysdeps/unix/xmknod.c: Remove file.
15882 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15884 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15886 * sysdeps/unix/sysv/i386/time.S: Remove file.
15888 * sysdeps/unix/fxstat.c: Remove file.
15889 * sysdeps/unix/xstat.c: Likewise.
15890 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15892 * sysdeps/unix/sysv/sigaction.c: Remove file.
15894 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15895 (sysdep_headers): Remove variable.
15896 [termio.h not in sysdep_headers] (generated): Likewise.
15897 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15898 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15899 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15900 * sysdeps/unix/sysv/tcflow.c: Likewise.
15901 * sysdeps/unix/sysv/tcflush.c: Likewise.
15902 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15903 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15904 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15905 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15906 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15908 * sysdeps/unix/siglist.c: Remove file.
15910 * sysdeps/unix/getppid.S: Remove file.
15912 * sysdeps/unix/mkdir.c: Remove file.
15913 * sysdeps/unix/rmdir.c: Likewise.
15915 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15917 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15919 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15920 errlist-compat value.
15922 2012-04-18 David S. Miller <davem@davemloft.net>
15924 * sysdeps/generic/memcopy.h (reg_char): Delete.
15925 * debug/strcat_chk.c: Use char, not reg_char.
15926 * debug/strcpy_chk.c: Likewise.
15927 * debug/strncat_chk.c: Likewise.
15928 * debug/strncpy_chk.c: Likewise.
15929 * string/memchr.c: Likewise.
15930 * string/memrchr.c: Likewise.
15931 * string/rawmemchr.c: Likewise.
15932 * string/strcat.c: Likewise.
15933 * string/strchr.c: Likewise.
15934 * string/strchrnul.c: Likewise.
15935 * string/strcmp.c: Likewise.
15936 * string/strcpy.c: Likewise.
15937 * string/strncat.c: Likewise.
15938 * string/strncmp.c: Likewise.
15939 * string/strncpy.c: Likewise.
15941 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15943 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15944 __builtin_memcopy is called when src and dest ranges are known to not
15947 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15949 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15950 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15951 fwd_align_merge macro call.
15952 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15953 bwd_align_merge macro call.
15954 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15956 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15958 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15959 bwd_align_merge macros.
15960 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15961 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15962 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15964 2012-04-18 David S. Miller <davem@davemloft.net>
15966 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15968 2012-04-18 Andreas Jaeger <aj@suse.de>
15971 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15972 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15973 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15975 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15976 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15977 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15979 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15980 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15981 Adjust for changed ldbl-128 files.
15983 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15984 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15985 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15987 2012-04-17 David S. Miller <davem@davemloft.net>
15989 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15991 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15993 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15994 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15995 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15996 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15997 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15998 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16000 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16003 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16004 * math/libm-test.inc: Add ilogb errno and exception tests.
16005 * math/w_ilogb.c: New file: ilogb wrapper.
16006 * math/w_ilogbf.c: New file: ilogbf wrapper.
16007 * math/w_ilogbl.c: New file: ilogbl wrapper.
16008 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16009 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16010 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16011 exception being thrown with 0.0 as argument.
16012 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16013 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16014 exception being thrown with 0.0 as argument.
16015 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16016 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16017 exception being thrown with 0.0 as argument.
16018 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16019 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16020 exception being thrown with 0.0 as argument.
16021 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16022 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16023 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16024 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16025 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16026 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16027 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16028 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16029 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16031 2012-04-17 Petr Baudis <pasky@ucw.cz>
16033 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16036 2012-04-16 Marek Polacek <polacek@redhat.com>
16038 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16040 2012-04-16 Marek Polacek <polacek@redhat.com>
16042 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16043 operands of fdivp instruction.
16045 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16047 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16048 * elf/tst-auditmod3b.c: Likewise.
16049 * elf/tst-auditmod4b.c: Likewise.
16050 * elf/tst-auditmod5b.c: Likewise.
16051 * elf/tst-auditmod6b.c: Likewise.
16052 * elf/tst-auditmod6c.c: Likewise.
16053 * elf/tst-auditmod7b.c: Likewise.
16054 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16055 * sysdeps/x86_64/preconfigure.in: Likewise.
16056 * sysdeps/x86_64/preconfigure: Regenerated.
16058 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16060 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16063 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16066 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16068 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16071 * locale/iso-639.def: Fix gl language name. Spotted by
16074 2012-04-12 Roland McGrath <roland@hack.frob.com>
16077 * libio/libio.h (__io_write_fn): Update comment.
16079 2012-04-12 Petr Baudis <pasky@ucw.cz>
16082 * stdio.texi (Hook Functions): The user provided writer function
16083 is not allowed to return -1.
16085 2012-04-11 David S. Miller <davem@davemloft.net>
16087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16089 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16091 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16092 Add a leading slash to rtkaio.
16094 2012-04-11 Jim Meyering <meyering@redhat.com>
16097 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16098 It is not necessarily an error to ignore fwrite's return
16099 value. One can reliably use ferror to test for errors after
16102 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16104 * bits/types.h (__snseconds_t): New type.
16105 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16107 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16109 (__SNSECONDS_T_TYPE): Likewise.
16110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16111 (__SNSECONDS_T_TYPE): Likewise.
16112 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16113 (__SNSECONDS_T_TYPE): Likewise.
16115 2012-04-10 Andreas Jaeger <aj@suse.de>
16118 * manual/time.texi (Processor Time): Return type of times is
16119 elapsed real time since an arbitrary point in the past.
16120 (CPU Time): Move CLK_TCK from here...
16121 (Processor Time): ...to here. Correct description.
16122 * manual/conf.texi (Constants for Sysconf): Correct description of
16125 2012-04-10 David S. Miller <davem@davemloft.net>
16128 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16129 where the is a gap between DT_REL(A) and DT_JMPREL.
16131 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16133 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16134 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16135 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16137 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16139 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16140 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16141 (dl_main): Handle --inhibit-cache.
16142 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16144 * elf/dl-load.c (_dl_map_object): Use it.
16145 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16147 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16150 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16151 (__ieee754_powl): Saturate large exponents rather than testing for
16152 overflow of y*log2(x).
16153 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16154 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16158 * math/s_ctan.c: Include <float.h>.
16159 (__ctan): Avoid internal overflow or cancellation in calculating
16161 * math/s_ctanf.c: Likewise.
16162 * math/s_ctanl.c: Likewise.
16163 * math/s_ctanh.c: Likewise.
16164 * math/s_ctanhf.c: Likewise.
16165 * math/s_ctanhl.c: Likewise.
16166 * math/libm-test.inc (ctan_test): Add more tests.
16167 (ctanh_test): Likewise.
16168 * sysdeps/i386/fpu/libm-test-ulps: Update.
16169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16171 2012-04-09 Andreas Jaeger <aj@suse.de>
16174 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16175 is an optional BSD extension.
16178 * manual/stdio.texi (Opening Streams): Document additional fopen
16181 2012-04-09 Roland McGrath <roland@hack.frob.com>
16183 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16184 %eax without telling the compiler.
16186 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16189 * manual/install.texi: Use sourceware.org.
16191 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16194 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16195 (__ieee754_pow): Generate overflow and underflow using huge*huge
16196 and tiny*tiny rather than just returning constant infinity or zero
16197 for large exponents.
16198 * math/libm-test.inc (pow_test): Require overflow exceptions for
16199 applicable cases of large exponents.
16202 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16203 (__ieee754_pow): Use iterative multiplication algorithm only for
16204 integer exponents with absolute value below 1024. Check for odd
16205 integer exponents when using algorithm for real exponents.
16206 * math/libm-test.inc (pow_test): Add more tests.
16207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16209 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16212 * math/libm-test.inc (exp_test): Do not allow overflow exception
16215 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16218 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16219 instead of __kernel_standard_f.
16221 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16223 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16224 * sysdeps/x86_64/memset_chk.S: Likewise.
16226 2012-04-08 Andreas Jaeger <aj@suse.de>
16229 * manual/startup.texi (Environment Access): Describe return value
16230 for putenv and setenv.
16233 * manual/filesys.texi (Directory Entries): Add description for
16237 * manual/filesys.texi (Directory Entries): Clarify that it's file
16238 system not operating system in the description of DT_UNKNOWN.
16241 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16243 2012-04-08 Stephen Compall <s11@member.fsf.org>
16246 * manual/llio.texi (Opening and Closing Files): Add cross
16247 reference to explain mode argument.
16249 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16251 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16252 * sysdeps/x86_64/memset_chk.S: Likewise.
16254 2012-04-07 David S. Miller <davem@davemloft.net>
16256 * elf/elf.h (R_SPARC_WDISP10): Define.
16257 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16259 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16260 R_SPARC_SIZE64 and R_SPARC_H34.
16262 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16265 conditions and remove no longer applicable assertion.
16267 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16269 * bits/byteswap.h: Include <features.h>.
16270 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16271 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16273 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16275 * bits/byteswap.h (__bswap_16): Removed.
16276 Include <bits/byteswap-16.h> to get __bswap_16.
16277 * sysdeps/i386/bits/byteswap.h: Likewise.
16278 * sysdeps/s390/bits/byteswap.h: Likewise.
16279 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16280 * bits/byteswap-16.h: New file.
16281 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16282 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16283 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16284 * string/Makefile (headers): Add bits/byteswap-16.h.
16286 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16289 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16291 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16292 * nss/tst-nss-static.c: New.
16294 2012-04-06 Robert Millan <rmh@gnu.org>
16297 * manual/llio.texi (File Position Primitive): lseek
16298 refers to WHENCE when it really means OFFSET.
16300 2012-04-06 Andreas Jaeger <aj@suse.de>
16302 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16303 strncmp declarations.
16305 * abilist/libc.abilist: Add __poll and __ppoll.
16307 2012-04-05 David S. Miller <davem@davemloft.net>
16309 * scripts/check-local-headers.sh: Accept a host triplet in the
16310 path matched by the exclude regexp.
16312 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16314 * sysdeps/powerpc/powerpc32/dl-machine.h
16315 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16316 * sysdeps/s390/s390-32/dl-machine.h
16317 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16318 * sysdeps/sparc/sparc32/dl-machine.h
16319 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16320 * sysdeps/sparc/sparc64/dl-machine.h
16321 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16323 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16325 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16326 undefined symbol errors.
16328 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16331 2012-04-05 Michael Matz <matz@suse.de>
16334 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16336 2012-04-05 Andreas Jaeger <aj@suse.de>
16339 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16342 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16344 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16345 which ROUND is no valid rounding mode.
16347 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16349 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16351 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16353 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16355 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16356 an exception using FPU order intentionally.
16358 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16360 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16361 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16362 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16363 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16365 2012-04-05 Simon Josefsson <simon@josefsson.org>
16368 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16369 EINVAL when BUFLEN is too smal.
16371 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16374 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16375 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16377 2012-04-03 Andreas Jaeger <aj@suse.de>
16380 * manual/setjmp.texi (System V contexts): Fix sentence.
16383 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16384 New macro for this case.
16385 [!__GNUC__] (__bswap_64): New inline function for this case.
16386 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16387 * bits/byteswap.h: Likewise.
16388 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16389 ull, guard with __GLIBC_HAVE_LONG_LONG.
16391 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16392 __GLIBC_HAVE_LONG_LONG.
16394 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16395 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16397 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16400 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16401 inptr and inend, rather than using last_ch.
16403 2012-04-02 David S. Miller <davem@davemloft.net>
16405 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16406 * stdio-common/printf-parse.h (read_int): Change return type to
16407 'int', return -1 on INT_MAX overflow.
16408 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16409 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16410 overflows INT_MAX. Check for overflow of in-format-string precision
16411 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16412 SIZE_MAX not INT_MAX for integer overflow test.
16413 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16414 skip the construct in the format string but do not record anything.
16415 * stdio-common/bug22.c: Adjust to test both width/prevision
16416 INT_MAX overflow as well as total length INT_MAX overflow. Check
16417 explicitly for proper errno values.
16419 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16421 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16423 * string/test-strcmp.c [! WIDE]: Likewise.
16424 * time/tst-mktime2.c: Likewise for INT_MAX.
16425 * string/test-string.h: #include <sys/param.h> for MIN.
16427 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16428 * sysdeps/i386/init-first.c (init): Likewise.
16429 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16430 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16431 * sysdeps/sh/init-first.c (init): Likewise.
16433 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16435 * po/ru.po: Update from translation team.
16436 * po/vi.po: Likewise.
16438 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16440 * resolv/nss_dns/dns-host.c: Merge copyright years.
16442 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16444 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16445 Optimize memcpy with prefetch if
16446 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16447 src, dst pointers have unequal 16 byte alignments.
16449 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16452 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16453 from a CNAME entry and return the minimum ttl for the query.
16454 (gaih_getanswer_slice): Likewise.
16456 2012-03-30 Jeff Law <law@redhat.com>
16458 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16460 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16461 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16463 * resolv/nss_dns/dns-host.c: Update copyright year.
16465 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16467 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16468 requests to save a system call. Fix check that all bytes are sent.
16470 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16471 comments for sendmmsg.
16473 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16476 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16477 with only 1 character between 0x0041 and 0x01b0.
16478 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16479 * wcsmbs/tst-mbsnrtowcs.c: New file.
16481 2012-03-29 David S. Miller <davem@davemloft.net>
16483 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16484 small copies by hand.
16486 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16489 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16490 _nss_compat_initgroups_dyn): Fall back to malloc/free
16491 for large group memberships.
16493 2012-03-28 David S. Miller <davem@davemloft.net>
16495 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16496 that branches into memcpy.
16497 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16499 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16500 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16501 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16503 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16504 implementation too.
16505 * sysdeps/sparc/mempcpy.S: New file.
16507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16508 the IFUNC routine in the libc case.
16509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16511 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16512 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16513 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16514 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16515 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16516 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16517 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16518 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16520 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16521 loop to 256 bytes instead of 64 bytes and fix test signedness.
16523 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16524 * sysdeps/sparc/sparc32/Makefile: rather than here...
16525 * sysdeps/sparc/sparc64/Makefile: and here.
16527 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16529 * malloc/mallocbug.c: Avoid warnings about unused variables.
16531 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16534 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16535 in the right place. Discard and retry query if response is
16536 larger than input buffer size.
16538 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16543 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16544 x for large integer exponent.
16545 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16546 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16547 sign of result as needed afterwards.
16548 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16549 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16550 result for underflowing pow the same as for overflow.
16551 (__kernel_standard_l): Handle powl overflow and underflow here
16552 rather than calling __kernel_standard.
16553 * math/libm-test.inc (pow_test): Add more tests.
16568 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16569 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16570 (__kernel_standard_l): New function.
16571 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16573 * math/w_acosl.c (__acosl): Likewise.
16574 * math/w_asinl.c (__asinl): Likewise.
16575 * math/w_atan2l.c (__atan2l): Likewise.
16576 * math/w_atanhl.c (__atanhl): Likewise.
16577 * math/w_coshl.c (__coshl): Likewise.
16578 * math/w_exp10l.c (__exp10l): Likewise.
16579 * math/w_exp2l.c (__exp2l): Likewise.
16580 * math/w_fmodl.c (__fmodl): Likewise.
16581 * math/w_hypotl.c (__hypotl): Likewise.
16582 * math/w_j0l.c (__j0l, __y0l): Likewise.
16583 * math/w_j1l.c (__j1l, __y1l): Likewise.
16584 * math/w_jnl.c (__jnl, __ynl): Likewise.
16585 * math/w_lgammal.c (__lgammal): Likewise.
16586 * math/w_log10l.c (__log10l): Likewise.
16587 * math/w_log2l.c (__log2l): Likewise.
16588 * math/w_logl.c (__logl): Likewise.
16589 * math/w_powl.c (__powl): Likewise.
16590 * math/w_remainderl.c (__remainderl): Likewise.
16591 * math/w_scalbl.c (sysv_scalbl): Likewise.
16592 * math/w_sinhl.c (__sinhl): Likewise.
16593 * math/w_sqrtl.c (__sqrtl): Likewise.
16594 * math/w_tgammal.c (__tgammal): Likewise.
16595 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16596 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16597 * math/libm-test.inc (acos_test): Add more tests.
16598 (acosh_test): Likewise.
16599 (asin_test): Likewise.
16600 (atanh_test): Likewise.
16601 (exp_test): Likewise.
16602 (exp10_test): Likewise.
16603 (exp2_test): Likewise.
16604 (expm1_test): Likewise.
16605 (lgamma_test): Likewise.
16606 (log_test): Likewise.
16607 (log10_test): Likewise.
16608 (log1p_test): Likewise.
16609 (log2_test): Likewise.
16610 (pow_test): Do not allow some spurious overflow exceptions.
16611 (sqrt_test): Add more tests.
16612 (tgamma_test): Likewise.
16613 (y0_test): Likewise.
16614 (y1_test): Likewise.
16615 (yn_test): Likewise.
16617 2012-03-27 Anton Blanchard <anton@samba.org>
16619 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16621 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16622 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16623 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16625 2012-03-27 David S. Miller <davem@davemloft.net>
16627 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16629 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16630 have-as-vis3 check.
16632 2012-03-27 Andreas Jaeger <aj@suse.de>
16634 * sysdeps/x86_64/elf/configure.in: Moved to ...
16635 * sysdeps/x86_64/configure.in: ... here.
16636 * sysdeps/x86_64/elf/start.S: Moved to ...
16637 * sysdeps/x86_64/start.S: ... here.
16638 * sysdeps/x86_64/elf/configure: Delete.
16640 * sysdeps/x86_64/configure.in: Merge contents from
16641 sysdeps/i386/configure.in (without i686 check).
16643 * sysdeps/i386/elf/Versions: Merge into ...
16644 * sysdeps/i386/Versions: ... this.
16645 * sysdeps/i386/elf/Versions: Delete file.
16646 * sysdeps/i386/elf/start.S: Moved to ...
16647 * sysdeps/i386/start.S: ...here.
16648 * sysdeps/i386/elf/configure.in: Merge into...
16649 * sysdeps/i386/configure.in: ...here.
16650 * sysdeps/i386/elf/configure.in: Delete file.
16651 * sysdeps/i386/elf/configure: Delete file.
16653 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16654 * debug/backtracesyms.c: ... here.
16655 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16656 * debug/backtracesymsfd.c: ... here.
16657 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16658 * sysdeps/generic/ifunc-sel.h: ... here.
16660 * sysdeps/unix/i386/start.c: Delete file.
16661 * sysdeps/unix/sparc/start.c: Delete file.
16662 * sysdeps/unix/start.c: Delete file.
16664 * sysdeps/sh/elf/configure.in: Moved to ...
16665 * sysdeps/sh/configure.in: ... here.
16666 * sysdeps/sh/elf/start.S: Moved to ...
16667 * sysdeps/sh/start.S: ... here.
16668 * sysdeps/sh/elf/configure: Delete file.
16670 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16671 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16672 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16673 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16674 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16675 * sysdeps/powerpc/powerpc64/start.S: here.
16676 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16677 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16678 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16679 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16680 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16682 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16683 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16684 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16685 * sysdeps/powerpc/powerpc32/start.S: ... here.
16686 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16687 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16688 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16690 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16691 * sysdeps/powerpc/ifunc-sel.h: ... here.
16692 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16693 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16695 * sysdeps/sparc/elf/configure.in: Moved to ...
16696 * sysdeps/sparc/configure.in: ... here.
16697 * sysdeps/sparc/elf/configure: Delete file.
16698 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16699 * sysdeps/sparc/sparc32/start.S: ... here.
16700 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16701 * sysdeps/sparc/sparc64/start.S: ... here.
16702 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16703 * sysdeps/sparc/sparc32/Makefile: ... this.
16704 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16705 * sysdeps/sparc/sparc64/Makefile: ... this.
16707 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16708 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16709 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16710 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16711 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16712 * sysdeps/s390/s390-32/setjmp.S: ... here.
16713 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16714 * sysdeps/s390/s390-32/configure.in: ... here.
16715 * sysdeps/s390/s390-32/elf/configure: Delete file.
16716 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16717 * sysdeps/s390/s390-32/start.S: ... here.
16719 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16720 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16721 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16722 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16723 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16724 * sysdeps/s390/s390-64/setjmp.S: ... here.
16725 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16726 * sysdeps/s390/s390-64/configure.in: ... here
16727 * sysdeps/s390/s390-64/elf/configure: Delete file.
16728 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16729 * sysdeps/s390/s390-64/start.S: ... here.
16730 * sysdeps/s390/s390-64/elf/configure: Delete.
16732 * configure.in: Remove support for elf directories in sysdeps.
16734 * configure: Regenerated.
16735 * sysdeps/i386/configure: Regenerated.
16736 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16737 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16738 * sysdeps/s390/s390-32/configure: Regenerated.
16739 * sysdeps/s390/s390-64/configure: Regenerated.
16740 * sysdeps/sh/configure: Regenerated.
16741 * sysdeps/sparc/configure: Regenerated.
16742 * sysdeps/x86_64/configure: Regenerated.
16744 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16749 denormal result into account.
16751 2012-03-25 Roland McGrath <roland@hack.frob.com>
16753 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16754 Reported by Allan McRae <allan@archlinux.org>.
16756 2012-03-23 Jeff Law <law@redhat.com>
16758 * nss/getnssent.c (__nss_getent): Fix typo.
16760 2012-03-23 David S. Miller <davem@davemloft.net>
16762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16764 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16766 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16767 to pad to uint64_t for each field.
16768 (dl_tls_index): Replace unsigned long with uint64_t.
16770 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16771 Paul Pluzhnikov <ppluzhnikov@google.com>
16774 * grp/Makefile (otherlibs): Don't set it.
16775 * inet/Makefile (otherlibs): Likewise.
16776 * login/Makefile (otherlibs): Likewise.
16777 * nscd/Makefile (otherlibs): Likewise.
16778 * posix/Makefile (otherlibs): Likewise.
16779 * pwd/Makefile (otherlibs): Likewise.
16780 * rt/Makefile (otherlibs): Likewise.
16781 * sunrpc/Makefile (otherlibs): Likewise.
16782 * nss/Makefile (otherlibs): Likewise.
16783 Add libnss_files to routines and static-only-routines.
16784 ($(objpfx)getent): Remove rule.
16785 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16786 static-only-routines.
16788 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16791 * math/s_cexp.c: Include <float.h>.
16792 (__cexp): Handle exp result overflowing not necessarily
16793 overflowing both real and imaginary parts of result.
16794 * math/s_cexpf.c: Likewise.
16795 * math/s_cexpl.c: Likewise.
16796 * math/libm-test.inc (cexp_test): Add more tests.
16797 * sysdeps/i386/fpu/libm-test-ulps: Update.
16798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16800 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16802 * include/link.h (ELFW): New macro.
16803 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16804 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16806 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16808 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16811 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16813 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16815 (struct La_x32_retval): Likewise.
16817 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16819 * sysdeps/x86_64/preconfigure.in: New file.
16820 * sysdeps/x86_64/preconfigure: New generated file.
16822 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16825 * math/e_exp2l.c: Include <float.h>.
16826 (__ieee754_exp2l): Handle overflow and underflow cases
16827 separately. Only pass fractional part of argument to
16829 * math/libm-test.inc (exp2_test): Add more tests.
16831 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16832 negating x to take absolute value.
16833 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16835 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16836 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16838 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16839 computing low part if x was negated.
16840 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16842 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16844 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16845 la_x32_gnu_pltexit.
16846 (pltexit): Cast int_retval to ptrdiff_t.
16847 * elf/tst-auditmod3b.c: Likewise.
16848 * elf/tst-auditmod4b.c: Likewise.
16849 * elf/tst-auditmod5b.c: Likewise.
16850 * elf/tst-auditmod6b.c: Likewise.
16851 * elf/tst-auditmod6c.c: Likewise.
16852 * elf/tst-auditmod7b.c: Likewise.
16854 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16855 and x32_gnu_pltexit.
16857 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16858 __ELF_NATIVE_CLASS.
16859 (La_x32_regs): New macro.
16860 (La_x32_retval): Likewise.
16861 (la_x32_gnu_pltenter): New function prototype.
16862 (la_x32_gnu_pltexit): Likewise.
16864 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16871 * configure.in (libc_cv_cc_nofma): Check for option to disable
16872 generation of FMA instructions.
16873 * configure: Regenerate.
16874 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16875 * sysdeps/ieee754/dbl-64/Makefile: New file.
16876 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16877 Remove brandred-fma4.
16878 (CFLAGS-brandred-fma4.c): Remove.
16879 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16885 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16887 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16888 LLONG_MAX != LONG_MAX.
16889 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16890 (_fitoa_word): Likewise.
16891 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16892 LLONG_MAX != LONG_MAX.
16893 * stdio-common/_itowa.h: Include <_itoa.h>.
16894 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16895 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16896 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16897 only if not defined.
16898 (_ITOA_WORD_TYPE): Likewise.
16899 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16900 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16902 2012-03-21 David S. Miller <davem@davemloft.net>
16904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16906 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16908 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16909 of x86_64 when setting libc_cv_slibdir, libdir and
16911 * sysdeps/unix/sysv/linux/configure: Regenerated.
16913 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16915 * manual/lang.texi (Old Varargs): Remove section.
16916 (How Variadic): Update menu.
16917 (va_start): Do not mention varargs.h.
16919 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16920 Joseph Myers <joseph@codesourcery.com>
16922 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16924 * configure: Regenerated.
16926 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16928 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16929 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16932 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16935 * Makefile (files-for-dist): Remove NOTES.
16936 (NOTES): Remove rule.
16937 * README: Don't refer to NOTES.
16938 * manual/creature.texi: Don't include macros.texi.
16939 * manual/intro.texi (creature.texi): Remove comment referring to
16942 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16943 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16944 * configure: Regenerated.
16945 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16946 LIBC_TRY_CC_OPTION.
16947 (libc_cv_as_i686): Likewise.
16948 (libc_cv_cc_avx): Likewise.
16949 (libc_cv_cc_sse2avx): Likewise.
16950 (libc_cv_cc_fma4): Likewise.
16951 (libc_cv_cc_novzeroupper): Likewise.
16952 * sysdeps/i386/configure: Regenerated.
16955 * sysdeps/i386/fpu/s_cexp.S: Remove.
16956 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16957 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16958 * math/libm-test.inc (cexp_test): Add more tests.
16959 * sysdeps/i386/fpu/libm-test-ulps: Update.
16960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16962 2012-03-21 Allan McRae <allan@archlinux.org>
16964 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16966 2012-03-21 Joseph Myers <joseph@codesourcery.com>
16969 * math/w_exp2.c: Do not include <float.h>.
16970 (o_threshold, u_threshold): Remove.
16971 (__exp2): Calculate result before checking finiteness and calling
16973 * math/w_exp2f.c: Likewise.
16974 * math/w_exp2l.c: Likewise.
16975 * math/libm-test.inc (exp2_test): Require overflow exception for
16979 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16980 range of signed 64-bit integers before using fistpll. Remove
16981 checks for whether integers fit in mantissa bits.
16982 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16983 the range of signed 32-bit integers before using fistpl. Remove
16984 checks for whether integers fit in mantissa bits.
16985 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16986 (__ieee754_powl): Test for y outside the range of signed 64-bit
16987 integers before using fistpll. Reduce 64-bit values to 63-bit
16989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16990 divide-by-zero is raised for zero to large negative powers.
16991 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16992 (__ieee754_powl): Test for y outside the range of signed 64-bit
16993 integers before using fistpll. Reduce 64-bit values to 63-bit
16995 * math/libm-test.inc (pow_test): Add more tests.
16997 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16999 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17000 <stdio-common/_itoa.h>.
17001 * debug/segfault.c: Likewise.
17002 * elf/dl-cache.c: Likewise.
17003 * elf/dl-minimal.c: Likewise.
17004 * elf/dl-misc.c: Likewise.
17005 * elf/dl-sysdep.c: Likewise.
17006 * elf/dl-version.c: Likewise.
17007 * elf/rtld.c: Likewise.
17008 * hurd/hurdsock.c: Likewise.
17009 * hurd/lookup-retry.c: Likewise.
17010 * malloc/malloc.c: Likewise.
17011 * malloc/mtrace.c: Likewise.
17012 * nscd/nscd_getgr_r.c: Likewise.
17013 * nscd/nscd_getpw_r.c: Likewise.
17014 * nscd/nscd_getserv_r.c: Likewise.
17015 * posix/getopt_init.c: Likewise.
17016 * posix/wordexp.c: Likewise.
17017 * stdio-common/_itoa.c: Likewise.
17018 * stdio-common/printf_fphex.c: Likewise.
17019 * stdio-common/vfprintf.c: Likewise.
17020 * string/_strerror.c: Likewise.
17021 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17022 * sysdeps/i386/i686/hp-timing.h: Likewise.
17023 * sysdeps/mach/_strerror.c: Likewise.
17024 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17025 * sysdeps/mach/hurd/sethostid.c: Likewise.
17026 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17027 * sysdeps/mach/xpg-strerror.c: Likewise.
17028 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17030 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17031 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17032 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17033 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17034 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17035 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17036 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17037 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17038 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17039 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17040 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17041 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17042 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17043 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17044 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17045 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17046 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17047 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17048 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17050 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17052 * stdio-common/_itoa.h: Moved to ...
17053 * sysdeps/generic/_itoa.h: Here.
17055 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17057 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17058 instead of "_itoa.h" and "_itowa.h".
17059 * stdio-common/vfprintf.: Likewise.
17061 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17063 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17065 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17066 (__signbit): Likwise.
17067 (llrintf): Likwise.
17070 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17072 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17075 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17077 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17078 OVERFLOW_EXCEPTION_OK.
17079 * math/libm-test.inc ("Philosophy"): Update comment about
17081 (OVERFLOW_EXCEPTION): Define.
17082 (OVERFLOW_EXCEPTION_OK): Likewise.
17083 (INVALID_EXCEPTION_OK): Renumber.
17084 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17085 (IGNORE_ZERO_INF_SIGN): Likewise.
17086 (test_exceptions): Handle FE_OVERFLOW.
17087 (exp10_test): Expect overflow exceptions.
17088 (exp2_test): Likewise.
17089 (expm1_test): Likewise.
17090 (nextafter_test): Likewise.
17091 (pow_test): Likewise.
17092 (scalbn_test): Likewise.
17093 (scalbln_test): Likewise.
17095 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17097 * sysdeps/x86_64/bits/atomic.h
17098 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17100 (atomic_exchange_acq): Likewise.
17101 (__arch_exchange_and_add_body): Likewise.
17102 (__arch_add_body): Likewise.
17103 (atomic_add_negative): Likewise.
17104 (atomic_add_zero): Likewise.
17106 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17108 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17109 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17111 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17113 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17114 Check __x86_64__ instead of __WORDSIZE.
17116 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17118 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17120 2012-03-19 David S. Miller <davem@davemloft.net>
17122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17124 * sysdeps/sparc/fpu/fenv_private.h: New file.
17125 * sysdeps/sparc/fpu/math_private.h: Use it.
17126 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17128 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17129 (libc_feholdexcept_setroundl): Remove.
17130 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17132 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17133 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17135 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17137 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17138 int64_t instead of long int.
17139 (INSERT_WORDS64): Likwise.
17141 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17143 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17144 _Unwind_GetCFA return to _Unwind_Ptr first.
17146 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17149 * math/s_clog.c: Include <float.h>.
17150 (__clog): Scale large or subnormal inputs.
17151 * math/s_clogf.c: Likewise.
17152 * math/s_clogl.c: Likewise.
17153 * math/s_clog10.c: Include <float.h>.
17154 (M_LOG10_2): Define.
17155 (__clog10): Scale large or subnormal inputs.
17156 * math/s_clog10f.c: Likewise.
17157 * math/s_clog10l.c: Likewise.
17158 * math/libm-test.inc (clog_test): Add more tests.
17159 (clog10_test): Likewise.
17160 * sysdeps/i386/fpu/libm-test-ulps: Update.
17161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17164 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17166 * math/libm-test.inc (atan2_test): Add another test.
17168 * Makerules (common-objdir-compile): Remove.
17169 * sysdeps/unix/Makefile (config-generated): Do not add
17170 $(unix-generated) to variable.
17171 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17172 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17174 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17176 [generic bits/local_lim.h] (before-compile): Do not append to
17178 [generic bits/local_lim.h] (common-generated): Likewise.
17179 [generic sys/param.h] (before-compile): Do not append to variable.
17180 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17181 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17182 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17183 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17185 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17186 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17187 [generic sys/param.h] ($(addprefix
17188 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17189 [generic sys/param.h] (common-generated): Do not append to
17191 [generic sys/param.h] (sysdep_headers): Likewise.
17192 [generic bits/errno.h] (before-compile): Do not append to
17194 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17196 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17197 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17198 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17199 [generic bits/errno.h] (common-generated): Do not append to
17201 [generic bits/ioctls.h] (before-compile): Do not append to
17203 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17205 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17206 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17207 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17209 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17210 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17211 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17212 [generic bits/ioctls.h] (common-generated): Do not append to
17214 [generic sys/syscall.h] (syscall.h): Remove variable.
17215 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17217 [generic sys/syscall.h] (before-compile): Do not append to
17219 [generic sys/syscall.h] (common-generated): Likewise.
17220 * sysdeps/unix/errnos-tmpl.c: Remove file.
17221 * sysdeps/unix/errnos.awk: Likewise.
17222 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17223 * sysdeps/unix/ioctls.awk: Likewise.
17224 * sysdeps/unix/mk-local_lim.c: Likewise.
17225 * sysdeps/unix/snarf-ioctls: Likewise.
17227 2012-03-19 Richard Henderson <rth@twiddle.net>
17229 * sysdeps/i386/fpu/fenv_private.h: New file.
17230 * sysdeps/i386/fpu/math_private.h: Use it.
17231 (math_opt_barrier, math_force_eval): Remove.
17232 (libc_feholdexcept_setround_53bit): Remove.
17233 (libc_feupdateenv_53bit): Remove.
17234 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17235 (math_opt_barrier, math_force_eval): Remove.
17236 (libc_feholdexcept): Remove.
17237 (libc_feholdexcept_setround): Remove.
17238 (libc_fetestexcept, libc_fesetenv): Remove.
17239 (libc_feupdateenv_test): Remove.
17240 (libc_feupdateenv, libc_feholdsetround): Remove.
17241 (libc_feresetround): Remove.
17243 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17244 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17246 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17247 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17248 (libc_feupdateenv_testl): New.
17249 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17250 (libc_feupdateenv_testf): New.
17251 (libc_feupdateenv): Use libc_feupdateenv_test.
17252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17253 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17255 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17256 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17257 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17258 (libc_feresetround_noex): New.
17259 (libc_feresetround_noexf): New.
17260 (libc_feresetround_noexl): New.
17261 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17262 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17263 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17264 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17269 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17271 SET_RESTORE_ROUND_NOEX.
17272 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17273 SET_RESTORE_ROUND_NOEXF.
17274 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17275 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17276 (libc_feholdsetroundf): New.
17277 (libc_feresetround, libc_feresetroundf): New.
17279 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17280 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17281 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17283 * sysdeps/generic/math_private.h: Include <fenv.h>.
17284 (default_libc_feholdexcept): New.
17285 (default_libc_feholdexcept_setround): New.
17286 (default_libc_fesetenv, default_libc_feupdateenv): New.
17287 (libc_feholdexcept): Only define if undefined.
17288 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17289 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17290 (libc_feholdexcept_setroundl): Likewise.
17291 (libc_feholdexcept_setround_53bit): Likewise.
17292 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17293 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17294 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17295 (libc_feupdateenv_53bit): Likewise.
17296 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17297 (libc_feholdexcept): Convert from macro to inline function.
17298 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17299 (libc_fesetenv, libc_feupdateenv): Likewise.
17301 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17302 not previously defined.
17303 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17304 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17305 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17306 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17307 * sysdeps/ieee754/flt-32/math_private.h: New file.
17308 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17309 math_private.h below SET_FLOAT_WORD.
17310 (__isnan, __isinf_ns, __finite): Remove.
17311 (__isnanf, __isinf_nsf, __finitef): Remove.
17313 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17317 2012-03-17 David S. Miller <davem@davemloft.net>
17320 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17323 2012-03-16 David S. Miller <davem@davemloft.net>
17325 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17329 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17331 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17332 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17333 sysdep_routines when subdir is sysvipc.
17334 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17335 __getshmlba helper.
17337 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17339 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17341 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17344 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17346 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17347 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17348 (__lround): Renamed to ...
17349 (__llround): This. Replace long int with long long int.
17350 Define lround functions as aliases of llround functions.
17351 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17353 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17355 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17356 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17357 adresses to uintptr_t. Replace "long int" and "unsigned long
17358 int" with "greg_t" on va_arg.
17360 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17362 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17363 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17365 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17366 Move e_machine check before EI_CLASS check. Handle x32
17367 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17368 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17369 SKIP_EM_IA_64 and include
17370 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17372 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17373 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17374 (add_system_dir): New macro.
17376 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17377 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17379 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17390 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17392 * math/w_j0f.c (j0f): Likewise.
17394 * math/w_j0l.c (__j0l): Likewise.
17396 * math/w_j1.c (j1): Likewise.
17398 * math/w_j1f.c (j1f): Likewise.
17400 * math/w_j1l.c (__j1l): Likewise.
17402 * math/w_jn.c (jn): Likewise.
17404 * math/w_jnf.c (jnf): Likewise.
17406 * math/w_jnl.c (__jnl): Likewise.
17408 * math/libm-test.inc (j0_test): Add more tests.
17409 (j1_test): Likewise.
17410 (jn_test): Likewise. Add trailing semicolon to existing test.
17411 (y0_test): Likewise.
17412 (y1_test): Likewise.
17413 * sysdeps/i386/fpu/libm-test-ulps: Update.
17414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17418 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17419 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17420 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17421 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17422 (__tanl): Set errno for infinite argument.
17423 * sysdeps/i386/fpu/mptan.c: Remove.
17424 * sysdeps/i386/fpu/s_tan.S: Likewise.
17425 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17426 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17427 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17428 * math/libm-test.inc (tan_test): Add more tests and enable more
17429 tests for double and long double.
17430 * sysdeps/i386/fpu/libm-test-ulps: Update.
17431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17433 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17435 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17436 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17438 2012-03-16 Roland McGrath <roland@hack.frob.com>
17440 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17441 * configure.in: Use it for both main tree and add-ons.
17442 * configure: Regenerated.
17444 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17446 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17448 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17450 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17454 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17455 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17460 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17461 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17462 != 0 for prec == 2.
17463 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17464 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17465 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17466 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17467 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17468 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17469 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17470 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17471 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17472 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17473 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17474 * math/libm-test.inc (cos_test): Add more tests and enable more
17475 tests for long double.
17476 (sin_test): Likewise.
17477 (sincos_test): Likewise.
17478 * sysdeps/i386/fpu/libm-test-ulps: Update.
17479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17481 2012-03-16 David S. Miller <davem@davemloft.net>
17483 * sysdeps/sparc/fpu/math_private.h: New file.
17485 2012-03-15 David S. Miller <davem@davemloft.net>
17487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17501 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17502 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17504 * sysdeps/sparc/sparc-ifunc.h: New file.
17505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17550 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17552 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17556 2012-03-15 Andreas Jaeger <aj@suse.de>
17559 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17560 ieee754/flt-32 implementation for sin, cos and sincos.
17561 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17562 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17563 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17564 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17565 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17566 ieee754/flt-32 implementation for tan.
17568 * math/libm-test.inc (cos_test): Enable some large input tests for
17570 (sin_test): Likewise.
17571 (sincos_test): Likewise.
17572 (tan_test): Add tests for large input.
17574 * sysdeps/i386/fpu/libm-test-ulps: Update.
17576 2012-03-15 Andreas Jaeger <aj@suse.de>
17579 * math/libm-test.inc (cos_test): Add more test cases.
17580 (sin_test): Likewise.
17581 (sincos_test): Likewise.
17583 2012-03-15 Andreas Jaeger <aj@suse.de>
17586 * math/libm-test.inc (cos_test): Add a test case for large input
17588 (sin_test): Likewise.
17589 (sincos_test): Likewise.
17591 2012-03-15 Andreas Jaeger <aj@suse.de>,
17592 Joseph Myers <joseph@codesourcery.com>
17595 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17596 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17597 * sysdeps/i386/fpu/branred.c: Likewise.
17598 * sysdeps/i386/fpu/dosincos.c: Likewise.
17599 * sysdeps/i386/fpu/mpa.c: Likewise.
17600 * sysdeps/i386/fpu/s_cos.S: Likewise.
17601 * sysdeps/i386/fpu/s_sin.S: Likewise.
17602 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17603 * sysdeps/i386/fpu/sincos32.c: Likewise.
17605 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17607 (libc_feupdateenv_53bit): Define.
17608 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17610 (libc_feupdateenv_53bit): Define.
17612 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17613 53 bit (without extend i386 double precision).
17615 * math/libm-test.inc (sincos_test): Add tests for large input.
17619 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17621 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17625 2012-03-15 David S. Miller <davem@davemloft.net>
17627 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17628 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17629 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17630 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17654 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17655 fmin/fmax sysdep routines.
17656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17658 2012-03-14 David S. Miller <davem@davemloft.net>
17660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17732 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17737 * sysdeps/sparc/configure.in: New file.
17738 * sysdeps/sparc/configure: Generate.
17739 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17740 * configure: Regenerate.
17741 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17742 * config.make.in (have-as-vis3): New.
17743 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17744 available use -Av9d instead of -Av9a.
17745 * sysdeps/sparc/sparc64/Makefile: Likewise.
17746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17761 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17762 fzeros/fnegs to load 0x80000000 into a float register instead of
17764 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17766 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17770 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17771 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17772 ($(inst_includedir)/bits/syscall.h): Remove rule.
17773 ($(objpfx)bits/syscall.d): Include instead of
17774 $(objpfx)syscall-list.d.
17775 (generated): Change syscall-list.h and syscall-list.d to
17776 bits/syscall.h and bits/syscall.d.
17778 2012-03-14 Roland McGrath <roland@hack.frob.com>
17781 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17783 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17786 * math/s_csqrt.c: Include <float.h>.
17787 (__csqrt): Scale large or subnormal inputs.
17788 * math/s_csqrtf.c: Likewise.
17789 * math/s_csqrtl.c: Likewise.
17790 * math/libm-test.inc (csqrt_test): Add more tests.
17791 * sysdeps/i386/fpu/libm-test-ulps: Update.
17792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17795 * math/libm-test.inc (hypot_test): Add more tests.
17797 2012-03-13 David S. Miller <davem@davemloft.net>
17800 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17801 double-precision for the calculation instead of scaling.
17803 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17805 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17806 manipulate bits before adding and subtracting TWO52[sx].
17807 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17808 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17810 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17812 2012-03-13 David S. Miller <davem@davemloft.net>
17814 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17815 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17817 rtld-global-offsets.h
17818 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17820 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17823 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17825 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17826 'err' in the ifdef scope in which it is actually used.
17828 * nss/nss_db/db-init.c: Include string.h
17830 2012-03-12 David S. Miller <davem@davemloft.net>
17832 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17833 masking out of the most significant byte of random value used.
17834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17835 Fix coding style in previous change.
17837 * sysdeps/unix/sysv/linux/kernel-features.h
17838 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17839 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17841 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17844 2012-03-11 David S. Miller <davem@davemloft.net>
17846 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17847 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17848 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17849 for 'resultvar' otherwise things get truncated on 64-bit.
17851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17852 Fix masking out of the most significant byte of random value used.
17854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17856 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17860 2012-03-09 David S. Miller <davem@davemloft.net>
17862 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17863 variables with appropriate CPP guards.
17864 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17865 frame pointer, not the stack pointer. Correct layout comments. Fix test
17866 on resulting framesize and the management of the outregs buffer for pltexit.
17867 Preserve floating point return values across _dl_call_pltexit call.
17868 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17869 framesize and the management of the outregs buffer for pltexit.
17870 Preserve floating point return values across _dl_call_pltexit
17872 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17873 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17874 (print_exit): Fix format string for return register value.
17876 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17878 * sunrpc/Makefile (others): Add rpcgen.
17879 ($(objpfx)rpcgen): Remove special build rule and dependency on
17881 * sunrpc/rpcgen.c: New file.
17883 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17886 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17887 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17888 * sysdeps/i386/crti.S: Likewise.
17889 * sysdeps/i386/crtn.S: Likewise.
17890 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17891 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17892 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17893 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17894 * sysdeps/sh/crti.S: Likewise.
17895 * sysdeps/sh/crtn.S: Likewise.
17896 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17899 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17901 * locale/programs/locfile-kw.gperf: Likewise.
17902 * locale/programs/charmap-kw.h: Regenerated.
17903 * locale/programs/locfile-kw.h: Likewise.
17906 * intl/plural.y: Replace FSF snail mail address with URL.
17907 * intl/plural.c: Regenerated.
17909 2012-03-09 Richard Henderson <rth@twiddle.net>
17911 * include/math_private.h: Remove file.
17912 * math/math_private.h: Move file ...
17913 * sysdeps/generic/math_private.h: ... here.
17915 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17916 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17917 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17919 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17920 and <math_private.h>.
17921 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17922 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17923 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17924 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17925 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17926 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17927 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17928 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17929 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17933 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17936 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17945 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17946 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17948 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17951 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17952 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17954 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17955 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17956 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17973 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17980 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17981 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17982 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17983 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17984 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18009 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18010 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18011 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18012 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18013 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18014 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18015 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18016 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18017 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18018 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18019 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18021 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18022 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18023 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18024 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18025 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18026 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18027 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18028 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18029 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18030 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18031 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18032 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18033 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18034 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18035 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18036 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18037 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18038 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18039 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18040 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18041 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18042 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18043 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18044 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18045 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18047 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18048 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18049 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18050 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18051 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18052 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18053 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18054 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18055 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18056 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18057 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18058 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18059 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18060 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18061 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18062 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18063 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18064 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18065 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18066 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18067 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18068 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18069 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18070 * sysdeps/ieee754/k_standard.c: Likewise.
18071 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18073 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18074 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18075 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18076 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18077 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18078 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18079 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18080 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18081 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18082 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18083 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18084 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18085 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18086 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18087 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18088 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18089 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18090 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18091 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18092 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18094 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18097 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18098 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18102 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18103 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18186 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18190 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18191 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18193 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18198 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18203 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18219 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18220 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18221 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18231 * sysdeps/ieee754/s_lib_version.c: Likewise.
18232 * sysdeps/ieee754/s_matherr.c: Likewise.
18233 * sysdeps/ieee754/s_signgam.c: Likewise.
18234 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18235 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18236 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18237 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18238 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18239 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18240 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18241 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18242 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18243 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18244 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18245 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18246 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18247 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18248 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18249 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18250 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18251 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18252 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18253 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18256 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18258 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18259 * sunrpc/rpc_main.c: Likewise.
18260 * sunrpc/rpc_svcout.c: Likewise.
18262 2012-03-09 David S. Miller <davem@davemloft.net>
18264 * include/math_private.h: New file.
18266 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18268 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18269 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18270 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18271 from <bits/socket_type.h>.
18272 (enum __socket_type): Don't define here.
18273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18275 bits/socket_type.h.
18278 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18279 checking __USE_GNU.
18281 * Makerules ($(inst_includedir)/%.h): New rule.
18282 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18283 (install-others): Remove variable setting.
18284 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18286 2012-03-08 Richard Henderson <rth@twiddle.net>
18288 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18289 from macro to inline function; merge with the
18290 !__LIBC_INTERNAL_MATH_INLINES version.
18291 (__ieee754_sqrtf): Likewise.
18293 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18294 to inline function.
18295 (__rintf, __floor, __floorf): Likewise.
18297 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18298 macro to inline function.
18299 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18301 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18302 not <math/math_private.h>.
18304 2012-03-08 David S. Miller <davem@davemloft.net>
18306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18308 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18310 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18312 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18314 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18315 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18317 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18319 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18320 be defined individually, they must be defined as a block. Define
18321 S for printing a string instead of hidint the different by using a
18322 macro for adding the 'l'.
18323 * stdio-common/tst-fphex-wide.c: Adjust.
18325 2012-03-07 Marek Polacek <polacek@redhat.com>
18327 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18329 2012-03-08 Marek Polacek <polacek@redhat.com>
18332 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18333 * stdio-common/tst-fphex.c: Define a few macros to make the
18334 test reusable. Use them.
18335 * stdio-common/tst-fphex-wide.c: New file.
18337 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18340 * manual/macros.texi (gnusystems): New macro.
18341 (nongnusystems): Likewise.
18342 (gnulinuxhurdsystems): Likewise.
18343 (gnuhurdsystems): Likewise..
18344 (gnulinuxsystems): Likewise.
18345 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18346 variants of the GNU system, not "GNU system".
18347 * manual/conf.texi: Likewise.
18348 * manual/errno.texi: Likewise. Update example of errno macro
18350 * manual/filesys.texi: Likewise.
18351 (getumask): Document as specific to GNU/Hurd.
18352 * manual/install.texi: Likewise. Reword some references to
18354 * manual/intro.texi: Likewise.
18355 * manual/io.texi: Likewise.
18356 (File Name Portability): Detail which constraints are inapplicable
18357 to all GNU systems and which are only inapplicable to GNU/Hurd.
18358 * manual/job.texi: Likewise.
18359 * manual/llio.texi: Likewise.
18360 (O_NOCTTY): Document as present on GNU/Linux.
18361 * manual/maint.texi: Likewise.
18362 * manual/memory.texi: Likewise.
18363 * manual/pattern.texi: Likewise.
18364 * manual/pipe.texi: Likewise.
18365 * manual/process.texi: Likewise.
18366 * manual/resource.texi: Likewise.
18367 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18369 * manual/setjmp.texi: Likewise.
18370 * manual/signal.texi: Likewise.
18371 * manual/startup.texi: Likewise.
18372 * manual/stdio.texi: Likewise.
18373 * manual/terminal.texi: Likewise.
18374 (ONLCR): Document as POSIX.
18375 (OXTABS): Document availability on GNU/Linux as XTABS.
18376 (ONOEOT): Document availability separately from other bits.
18377 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18378 * manual/time.texi: Likewise.
18379 * manual/users.texi: Likewise.
18380 * INSTALL: Regenerated.
18381 * sysdeps/gnu/errlist.c: Regenerated.
18383 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18384 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18385 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18387 * configure: Regenerated.
18389 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18391 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18392 default includes instead of AC_HEADER_CHECK.
18393 * sysdeps/i386/configure: Regenerated.
18396 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18397 * math/s_cacoshf.c (__cacoshf): Likewise.
18398 * math/s_cacoshl.c (__cacoshl): Likewise.
18399 * math/s_casinh.c (__casinh): Set signs of result from argument.
18400 * math/s_casinhf.c (__casinhf): Likewise.
18401 * math/s_casinhl.c (__casinhl): Likewise.
18402 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18403 (casinh_test): Add more tests.
18404 * sysdeps/i386/fpu/libm-test-ulps: Update.
18405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18407 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18409 * po/zh_TW.po: Update from translation team.
18411 * login/Makefile (distribute): Remove variable.
18412 * catgets/Makefile: Likewise.
18413 * mach/Makefile: Likewise.
18414 * malloc/Makefile: Likewise.
18415 * misc/Makefile: Likewise.
18416 * iconv/Makefile: Likewise.
18417 * nscd/Makefile: Likewise.
18418 * hurd/Makefile: Likewise.
18419 * manual/Makefile: Likewise.
18420 * locale/Makefile: Likewise.
18421 * intl/Makefile: Likewise.
18422 * conform/Makefile: Likewise.
18423 * nss/Makefile: Likewise.
18424 * time/Makefile: Likewise.
18425 * soft-fp/Makefile: Likewise.
18426 * dirent/Makefile: Likewise.
18427 * gmon/Makefile: Likewise.
18428 * po/Makefile: Likewise.
18429 * rt/Makefile: Likewise.
18430 * socket/Makefile: Likewise.
18431 * math/Makefile: Likewise.
18432 * signal/Makefile: Likewise.
18433 * debug/Makefile: Likewise.
18434 * elf/Makefile: Likewise.
18435 * timezone/Makefile: Likewise.
18436 * stdlib/Makefile: Likewise.
18437 * iconvdata/Makefile: Likewise.
18438 * sunrpc/Makefile: Likewise.
18439 * io/Makefile: Likewise.
18440 * argp/Makefile: Likewise.
18441 * inet/Makefile: Likewise.
18442 * hesiod/Makefile: Likewise.
18443 * grp/Makefile: Likewise.
18444 * csu/Makefile: Likewise.
18445 * wctype/Makefile: Likewise.
18446 * crypt/Makefile: Likewise.
18447 * libio/Makefile: Likewise.
18448 * string/Makefile: Likewise.
18449 * nis/Makefile: Likewise.
18450 * resolv/Makefile: Likewise.
18451 * stdio-common/Makefile: Likewise.
18452 * wcsmbs/Makefile: Likewise.
18453 * dlfcn/Makefile: Likewise.
18454 * posix/Makefile: Likewise.
18457 * timezone/Makefile: Don't install timezone files, just the programs
18460 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18462 * nss/databases.def: Add missing gshadow entry.
18464 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18466 2012-03-06 Marek Polacek <polacek@redhat.com>
18469 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18470 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18471 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18472 * stdio-common/tst-long-dbl-fphex.c: New file.
18474 2012-03-06 David S. Miller <davem@davemloft.net>
18476 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18477 (set_obp_int): New function.
18478 (get_obp_int): New function.
18479 (__get_clockfreq_via_dev_openprom): Likewise.
18480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18481 Avoid unused variable warnings on 'val' and use builtin_expect.
18482 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18484 (INLINE_CLONE_SYSCALL): Likewise.
18486 2012-03-05 David S. Miller <davem@davemloft.net>
18488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18490 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18494 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18495 only for |x| >= 40.
18496 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18498 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18500 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18501 Replace gettimeofday with __vdso_gettimeofday.
18503 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18504 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18505 __vdso_clock_gettime and __vdso_getcpu.
18507 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18508 time with __vdso_time.
18510 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18512 * manual/lang.texi (size_t): Note types to which size_t may be
18513 equivalent with the GNU C Library, but do not describe when
18514 differences between them are significant.
18516 2012-03-05 Andreas Jaeger <aj@suse.de>
18518 * sysdeps/i386/fpu/libm-test-ulps: Update.
18520 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18523 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18524 (__ieee754_pow): Save and restore rounding mode and use
18525 round-to-nearest for main computations.
18526 * math/libm-test.inc (pow_test_tonearest): New function.
18527 (pow_test_towardzero): Likewise.
18528 (pow_test_downward): Likewise.
18529 (pow_test_upward): Likewise.
18530 (main): Call the new functions.
18531 * sysdeps/i386/fpu/libm-test-ulps: Update.
18532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18535 * math/libm-test.inc (cosh_test_tonearest): New function.
18536 (cosh_test_towardzero): Likewise.
18537 (cosh_test_downward): Likewise.
18538 (cosh_test_upward): Likewise.
18539 (sinh_test_tonearest): Likewise.
18540 (sinh_test_towardzero): Likewise.
18541 (sinh_test_downward): Likewise.
18542 (sinh_test_upward): Likewise.
18543 (main): Call the new functions.
18544 * sysdeps/i386/fpu/libm-test-ulps: Update.
18545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18547 2012-03-05 Tom de Vries <tom@codesourcery.com>
18549 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18550 default stack guard is set in last bytes.
18551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18553 2012-03-05 Kees Cook <keescook@chromium.org>
18555 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18558 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18559 possibly allocate from heap instead of stack.
18560 * stdio-common/bug-vfprintf-nargs.c: New file.
18561 * stdio-common/Makefile (tests): Add nargs overflow test.
18563 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18567 2012-03-03 Marek Polacek <polacek@redhat.com>
18569 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18570 * math/math_private.h: Likewise.
18571 * stdlib/tst-strtod.c: Likewise.
18572 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18573 * sysdeps/x86_64/bits/atomic.h: Likewise.
18575 2012-03-02 David S. Miller <davem@davemloft.net>
18577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18581 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18582 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18583 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18584 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18586 2012-03-02 Roland McGrath <roland@hack.frob.com>
18589 * manual/examples/README: New file, says the example source files
18590 can be used under GPL>=2.
18591 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18592 line containing just "*/".
18593 * manual/examples/add.c: Add copyright header (GPL>=2).
18594 * manual/examples/argp-ex1.c: Likewise.
18595 * manual/examples/argp-ex2.c: Likewise.
18596 * manual/examples/argp-ex3.c: Likewise.
18597 * manual/examples/argp-ex4.c: Likewise.
18598 * manual/examples/atexit.c: Likewise.
18599 * manual/examples/db.c: Likewise.
18600 * manual/examples/dir.c: Likewise.
18601 * manual/examples/dir2.c: Likewise.
18602 * manual/examples/execinfo.c: Likewise.
18603 * manual/examples/filecli.c: Likewise.
18604 * manual/examples/filesrv.c: Likewise.
18605 * manual/examples/fmtmsgexpl.c: Likewise.
18606 * manual/examples/genpass.c: Likewise.
18607 * manual/examples/inetcli.c: Likewise.
18608 * manual/examples/inetsrv.c: Likewise.
18609 * manual/examples/isockad.c: Likewise.
18610 * manual/examples/longopt.c: Likewise.
18611 * manual/examples/memopen.c: Likewise.
18612 * manual/examples/memstrm.c: Likewise.
18613 * manual/examples/mkfsock.c: Likewise.
18614 * manual/examples/mkisock.c: Likewise.
18615 * manual/examples/mygetpass.c: Likewise.
18616 * manual/examples/pipe.c: Likewise.
18617 * manual/examples/popen.c: Likewise.
18618 * manual/examples/rprintf.c: Likewise.
18619 * manual/examples/search.c: Likewise.
18620 * manual/examples/select.c: Likewise.
18621 * manual/examples/setjmp.c: Likewise.
18622 * manual/examples/sigh1.c: Likewise.
18623 * manual/examples/sigusr.c: Likewise.
18624 * manual/examples/stpcpy.c: Likewise.
18625 * manual/examples/strdupa.c: Likewise.
18626 * manual/examples/strftim.c: Likewise.
18627 * manual/examples/strncat.c: Likewise.
18628 * manual/examples/subopt.c: Likewise.
18629 * manual/examples/swapcontext.c: Likewise.
18630 * manual/examples/termios.c: Likewise.
18631 * manual/examples/testopt.c: Likewise.
18632 * manual/examples/testpass.c: Likewise.
18633 * manual/examples/timeval_subtract.c: Likewise.
18636 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18638 * manual/timeval_subtract.c.texi: ... here, new file.
18640 2012-03-02 David S. Miller <davem@davemloft.net>
18642 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18644 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18647 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18648 (__sin): Save and restore rounding mode and use round-to-nearest
18649 for all computations.
18650 (__cos): Save and restore rounding mode and use round-to-nearest
18651 for all computations.
18652 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18654 (tan): Save and restore rounding mode and use round-to-nearest for
18656 * math/libm-test.inc (cos_test_tonearest): New function.
18657 (cos_test_towardzero): Likewise.
18658 (cos_test_downward): Likewise.
18659 (cos_test_upward): Likewise.
18660 (sin_test_tonearest): Likewise.
18661 (sin_test_towardzero): Likewise.
18662 (sin_test_downward): Likewise.
18663 (sin_test_upward): Likewise.
18664 (tan_test_tonearest): Likewise.
18665 (tan_test_towardzero): Likewise.
18666 (tan_test_downward): Likewise.
18667 (tan_test_upward): Likewise.
18668 (main): Call the new functions.
18669 * sysdeps/i386/fpu/libm-test-ulps: Update.
18670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18673 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18674 small n, then large n, before computing and testing k+n.
18675 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18676 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18680 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18681 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18682 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18683 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18684 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18685 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18687 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18688 * math/libm-test.inc (scalbn_test): Add more tests.
18689 (scalbln_test): Likewise.
18691 * manual/filesys.texi (mode_t): Describe constraints on size and
18692 signedness, not exact equivalence to a particular type.
18694 (ino64_t): Likewise.
18696 (nlink_t): Likewise.
18697 (blkcnt_t): Likewise.
18698 (blkcnt64_t): Likewise.
18699 * manual/llio.texi (off_t): Likewise.
18702 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18703 (__ieee754_exp): Save and restore rounding mode and use
18704 round-to-nearest for all computations.
18705 * math/libm-test.inc (exp_test_tonearest): New function.
18706 (exp_test_towardzero): Likewise.
18707 (exp_test_downward): Likewise.
18708 (exp_test_upward): Likewise.
18709 (main): Call the new functions.
18710 * sysdeps/i386/fpu/libm-test-ulps: Update.
18711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18713 2012-03-01 Chris Demetriou <cgd@google.com>
18715 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18716 have predictable order.
18718 2012-03-01 David S. Miller <davem@davemloft.net>
18720 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18722 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18723 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18724 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18725 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18727 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18728 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18729 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18731 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18732 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18733 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18734 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18735 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18740 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18741 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18743 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18744 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18745 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18746 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18747 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18748 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18750 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18751 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18752 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18753 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18754 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18755 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18756 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18757 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18759 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18760 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18761 * sysdeps/sparc/elf/configure: Regenerated.
18763 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18765 * configure.in (AS, LD): Require binutils 2.20 or later.
18766 * configure: Regenerated.
18767 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18768 as required minimum version.
18769 * INSTALL: Regenerated.
18773 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18774 before squaring exponent.
18775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18776 bottom long double and 27 bits of top long double before squaring
18778 * math/libm-test.inc (erfc_test): Add more tests.
18779 * sysdeps/i386/fpu/libm-test-ulps: Update.
18780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18783 2012-03-01 Kai Tietz <ktietz@redhat.com>
18785 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18786 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18787 containing bit-fields.
18788 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18789 * soft-fp/single.h (_FP_UNION_S): Likewise.
18790 * soft-fp/double.h (_FP_UNION_D): Likewise.
18792 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18795 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18796 not include ../strcmp.S.
18797 [USE_AS_STRNCASECMP_L]: Likewise.
18798 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18799 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18800 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18801 (__strncasecmp_l_ia32): Define as alias to
18802 __strncasecmp_l_nonascii.
18805 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18806 * sysdeps/i386/fpu/libm-test-ulps: Update.
18807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18809 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18812 2012-02-29 Jeff Law <law@redhat.com>
18814 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18815 out of bounds read.
18817 2012-02-29 Marek Polacek <polacek@redhat.com>
18820 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18821 * elf/Makefile: Add rules to run tst-unused-dep.out.
18823 2012-02-28 David S. Miller <davem@davemloft.net>
18825 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18826 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18829 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18830 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18832 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18834 * math/libm-test.inc (llround_test): Move one test from
18835 lround_test. Use TEST_f_L in moved test.
18836 (lround_test): Move misplaced test to llround_test. Add testcase
18839 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18841 * sysdeps/x86_64/fpu/e_expf.S: New file.
18842 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18844 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18847 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18848 of remain_len that may cause incomplete multi-byte character and
18850 * posix/bug-regex33.c: New file.
18851 * posix/Makefile (tests): Add bug-regex33.
18853 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18855 * manual/macros.texi: New file.
18856 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18857 * manual/libc.texinfo: Include macros.texi.
18858 * manual/creatute.texi: Likewise.
18859 * manual/install.texi: Likewise.
18860 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18861 @glibcadj{} in references to the GNU C Library.
18862 * manual/charset.texi: Likewise.
18863 * manual/conf.texi: Likewise.
18864 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18865 when not using those macros.
18866 * manual/creature.texi: Likewise.
18867 * manual/crypt.texi: Likewise.
18868 * manual/errno.texi: Likewise.
18869 * manual/filesys.texi: Likewise.
18870 * manual/header.texi: Likewise.
18871 * manual/install.texi: Likewise.
18872 * manual/intro.texi: Likewise.
18873 * manual/io.texi: Likewise.
18874 * manual/job.texi: Likewise.
18875 * manual/lang.texi: Likewise.
18876 * manual/libc.texiinfo: Likewise.
18877 * manual/llio.texi: Likewise.
18878 * manual/locale.texi: Likewise.
18879 * manual/maint.texi: Likewise.
18880 * manual/math.texi: Likewise.
18881 * manual/memory.texi: Likewise.
18882 * manual/message.texi: Likewise.
18883 * manual/nss.texi: Likewise.
18884 * manual/pattern.texi: Likewise.
18885 * manual/process.texi: Likewise.
18886 * manual/resource.texi: Likewise.
18887 * manual/search.texi: Likewise.
18888 * manual/setjmp.texi: Likewise.
18889 * manual/signal.texi: Likewise.
18890 * manual/socket.texi: Likewise.
18891 * manual/startup.texi: Likewise.
18892 * manual/stdio.texi: Likewise.
18893 * manual/string.texi: Likewise.
18894 * manual/sysinfo.texi: Likewise.
18895 * manual/syslog.texi: Likewise.
18896 * manual/terminal.texi: Likewise.
18897 * manual/time.texi: Likewise.
18898 * manual/users.texi: Likewise.
18899 * INSTALL: Regenerated.
18900 * NOTES: Regenerated.
18901 * sysdeps/gnu/errlist.c: Regenerated.
18903 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18905 * include/dirent.h: Include <dirstream.h> before
18908 2012-02-28 David S. Miller <davem@davemloft.net>
18910 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18911 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18912 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18913 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18915 2012-02-27 David S. Miller <davem@davemloft.net>
18917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18919 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18920 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18923 frame pointer instead of stack pointer relative arg slot.
18924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18925 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18926 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18928 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18931 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18933 2012-02-27 David S. Miller <davem@davemloft.net>
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18939 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18940 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18941 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18942 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18944 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18946 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18947 later. Allow versions 5-9.
18948 * configure: Regenerated.
18949 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18950 required minimum version and 4.6 as recommended version. Do not
18951 mention bugs in GCC 2.7 and 2.8.
18952 * INSTALL: Regenerated.
18954 2012-02-27 David S. Miller <davem@davemloft.net>
18956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18960 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18961 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18962 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18963 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18966 manipulate bits before adding and subtracting TWO112[sx].
18967 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18969 2012-02-27 Roland McGrath <roland@hack.frob.com>
18972 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18973 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18974 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18975 being in POSIX, because they are in 1003.1-2008.
18977 * rt/tst-aio.c: Include <fcntl.h>.
18978 * rt/tst-aio7.c: Likewise.
18979 * rt/tst-aio64.c: Likewise.
18981 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18983 2012-02-27 Joseph Myers <joseph@codesourcery.com>
18985 * manual/install.texi (--with-headers): Describe headers as
18986 interface headers, not private headers.
18987 (Specific advice for GNU/Linux systems): Describe use of headers
18988 from "make headers_install", not private headers from older
18990 * INSTALL: Regenerated.
18991 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18993 * sysdeps/unix/sysv/linux/configure: Regenerated.
18995 * manual/llio.texi (fclean): Remove documentation.
18997 * manual/Makefile (libc-texi-generated): New variable. Include
18999 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19000 $(libc-texi-generated), not duplicated list of files.
19001 (version.texi, stamp-version): New rules.
19002 (realclean): Remove $(libc-texi-generated), not individual files
19003 from that list. Do not remove dir-add.texinfo.
19004 * manual/libc.texinfo: Comment out uses of edition numbers and
19005 references to printed manual. Remove last-updated dates.
19006 (EDITION): Comment out.
19008 (VERSION, UPDATED): Remove.
19009 (version.texi): Include.
19011 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19013 * sysdeps/posix/spawni.c: Include <signal.h>.
19014 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19015 * sysdeps/pthread/aio_fsync.c: Likewise.
19017 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19019 * conform/Makefile (tests): Run only when not cross-compiling and
19020 when fast-check is not defined.
19022 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19023 * conform/data/limits.h-data: Fixes for POSIX2008.
19024 * conform/run-conformtest.sh: Run all tests.
19025 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19027 * include/bits/dlfcn.h: Likewise.
19028 * include/langinfo.h: Likewise.
19029 * include/monetary.h: Likewise.
19030 * include/sys/poll.h: Likewise.
19032 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19034 * posix/spawn.h: Define __need_sigset_t.
19035 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19036 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19037 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19038 to get sigevent_t only.
19039 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19040 only for __USE_GNU.
19041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19042 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19043 process_vm_writev only for __USE_GNU.
19044 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19046 * conform/Makefile: For now ignore errors from run-conformtest.
19047 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19048 POSIX to avoid namespace pollution. Don't prepend headers.
19049 * conform/data/aio.h-data: Fixes for POSIX testing.
19050 * conform/data/fcntl.h-data: Likewise.
19051 * conform/data/glob.h-data: Likewise.
19052 * conform/data/grp.h-data: Likewise.
19053 * conform/data/pthread.h-data: Likewise.
19054 * conform/data/pwd.h-data: Likewise.
19055 * conform/data/signal.h-data: Likewise.
19056 * conform/data/spawn.h-data: Likewise.
19057 * conform/data/stdio.h-data: Likewise.
19058 * conform/data/stdlib.h-data: Likewise.
19059 * conform/data/stropts.h-data: Likewise.
19060 * conform/data/sys/mman.h-data: Likewise.
19061 * conform/data/sys/stat.h-data: Likewise.
19062 * conform/data/sys/types.h-data: Likewise.
19063 * conform/data/sys/wait.h-data: Likewise.
19064 * conform/data/time.h-data: Likewise.
19065 * conform/data/unistd.h-data: Likewise.
19066 * conform/data/utime.h-data: Likewise.
19068 * io/sys/stat.h: fchmod was always in POSIX.
19069 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19070 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19071 * rt/aio.h: Define __need_timespec before including <time.h>.
19072 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19073 struct. Add forward declaration of pthread_attr_t and use it in
19075 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19076 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19077 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19078 always remove CLK_TCK definition.
19080 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19082 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19084 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19086 * conform/run-conformtest.sh: New file.
19087 * conform/Makefile: Run run-conformtest for tests.
19088 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19091 * conform/data/uchar.h-data: New file.
19092 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19093 * conform/data/arpa/inet.h-data: Likewise.
19094 * conform/data/assert.h-data: Likewise.
19095 * conform/data/complex.h-data: Likewise.
19096 * conform/data/cpio.h-data: Likewise.
19097 * conform/data/ctype.h-data: Likewise.
19098 * conform/data/dirent.h-data: Likewise.
19099 * conform/data/dlfcn.h-data: Likewise.
19100 * conform/data/errno.h-data: Likewise.
19101 * conform/data/fcntl.h-data: Likewise.
19102 * conform/data/float.h-data: Likewise.
19103 * conform/data/fmtmsg.h-data: Likewise.
19104 * conform/data/fnmatch.h-data: Likewise.
19105 * conform/data/ftw.h-data: Likewise.
19106 * conform/data/glob.h-data: Likewise.
19107 * conform/data/grp.h-data: Likewise.
19108 * conform/data/iconv.h-data: Likewise.
19109 * conform/data/inttypes.h-data: Likewise.
19110 * conform/data/langinfo.h-data: Likewise.
19111 * conform/data/libgen.h-data: Likewise.
19112 * conform/data/limits.h-data: Likewise.
19113 * conform/data/locale.h-data: Likewise.
19114 * conform/data/math.h-data: Likewise.
19115 * conform/data/monetary.h-data: Likewise.
19116 * conform/data/mqueue.h-data: Likewise.
19117 * conform/data/ndbm.h-data: Likewise.
19118 * conform/data/net/if.h-data: Likewise.
19119 * conform/data/netdb.h-data: Likewise.
19120 * conform/data/netinet/in.h-data: Likewise.
19121 * conform/data/nl_types.h-data: Likewise.
19122 * conform/data/poll.h-data: Likewise.
19123 * conform/data/pthread.h-data: Likewise.
19124 * conform/data/pwd.h-data: Likewise.
19125 * conform/data/regex.h-data: Likewise.
19126 * conform/data/sched.h-data: Likewise.
19127 * conform/data/search.h-data: Likewise.
19128 * conform/data/semaphore.h-data: Likewise.
19129 * conform/data/setjmp.h-data: Likewise.
19130 * conform/data/signal.h-data: Likewise.
19131 * conform/data/spawn.h-data: Likewise.
19132 * conform/data/stdarg.h-data: Likewise.
19133 * conform/data/stdio.h-data: Likewise.
19134 * conform/data/stdlib.h-data: Likewise.
19135 * conform/data/string.h-data: Likewise.
19136 * conform/data/strings.h-data: Likewise.
19137 * conform/data/stropts.h-data: Likewise.
19138 * conform/data/sys/ipc.h-data: Likewise.
19139 * conform/data/sys/mman.h-data: Likewise.
19140 * conform/data/sys/msg.h-data: Likewise.
19141 * conform/data/sys/resource.h-data: Likewise.
19142 * conform/data/sys/select.h-data: Likewise.
19143 * conform/data/sys/sem.h-data: Likewise.
19144 * conform/data/sys/shm.h-data: Likewise.
19145 * conform/data/sys/socket.h-data: Likewise.
19146 * conform/data/sys/stat.h-data: Likewise.
19147 * conform/data/sys/statvfs.h-data: Likewise.
19148 * conform/data/sys/time.h-data: Likewise.
19149 * conform/data/sys/timeb.h-data: Likewise.
19150 * conform/data/sys/times.h-data: Likewise.
19151 * conform/data/sys/types.h-data: Likewise.
19152 * conform/data/sys/uio.h-data: Likewise.
19153 * conform/data/sys/un.h-data: Likewise.
19154 * conform/data/sys/utsname.h-data: Likewise.
19155 * conform/data/sys/wait.h-data: Likewise.
19156 * conform/data/syslog.h-data: Likewise.
19157 * conform/data/tar.h-data: Likewise.
19158 * conform/data/termios.h-data: Likewise.
19159 * conform/data/utime.h-data: Likewise.
19160 * conform/data/utmpx.h-data: Likewise.
19161 * conform/data/varargs.h-data: Likewise.
19162 * conform/data/wchar.h-data: Likewise.
19163 * conform/data/wctype.h-data: Likewise.
19164 * conform/data/wordexp.h-data: Likewise.
19166 * include/stropts.h: New file.
19167 * include/uchar.h: New file.
19168 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19169 * include/assert.h: Likewise.
19170 * include/ctype.h: Likewise.
19171 * include/dirent.h: Likewise.
19172 * include/dlfcn.h: Likewise.
19173 * include/fcntl.h: Likewise.
19174 * include/fnmatch.h: Likewise.
19175 * include/glob.h: Likewise.
19176 * include/grp.h: Likewise.
19177 * include/libio.h: Likewise.
19178 * include/locale.h: Likewise.
19179 * include/math.h: Likewise.
19180 * include/net/if.h: Likewise.
19181 * include/netdb.h: Likewise.
19182 * include/netinet/in.h: Likewise.
19183 * include/pthread.h: Likewise.
19184 * include/pwd.h: Likewise.
19185 * include/regex.h: Likewise.
19186 * include/sched.h: Likewise.
19187 * include/search.h: Likewise.
19188 * include/setjmp.h: Likewise.
19189 * include/signal.h: Likewise.
19190 * include/stdio.h: Likewise.
19191 * include/stdlib.h: Likewise.
19192 * include/string.h: Likewise.
19193 * include/sys/cdefs.h: Likewise.
19194 * include/sys/mman.h: Likewise.
19195 * include/sys/msg.h: Likewise.
19196 * include/sys/resource.h: Likewise.
19197 * include/sys/select.h: Likewise.
19198 * include/sys/socket.h: Likewise.
19199 * include/sys/stat.h: Likewise.
19200 * include/sys/statvfs.h: Likewise.
19201 * include/sys/time.h: Likewise.
19202 * include/sys/times.h: Likewise.
19203 * include/sys/uio.h: Likewise.
19204 * include/sys/utsname.h: Likewise.
19205 * include/sys/wait.h: Likewise.
19206 * include/termios.h: Likewise.
19207 * include/time.h: Likewise.
19208 * include/ulimit.h: Likewise.
19209 * include/unistd.h: Likewise.
19210 * include/utime.h: Likewise.
19211 * include/wchar.h: Likewise.
19212 * include/wctype.h: Likewise.
19213 * include/wordexp.h: Likewise.
19215 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19217 * time/time.h: TIME_UTC must be a macro.
19218 Make timespec_get available for ISO C11 only as well.
19220 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19222 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19223 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19225 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19227 * configure.in: Use -o not -a in test for unsupported multi-arch.
19229 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19231 * manual/texinfo.tex: Update to version 2012-01-19.16.
19233 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19235 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19237 2012-02-24 Roland McGrath <roland@hack.frob.com>
19240 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19241 * manual/fdl-1.3.texi: New file.
19242 * manual/fdl-1.1.texi: File removed.
19245 * manual/libc.texinfo (FDL_VERSION): New @set.
19246 Use it for mention of FDL in cover text.
19247 (Documentation License): Use it in @include file name.
19249 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19250 Roland McGrath <roland@hack.frob.com>
19253 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19254 not LONG_LONG_MAX and LONG_LONG_MIN.
19255 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19256 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19258 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19260 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19264 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19265 manipulate bits before adding and subtracting TWO23[sx].
19266 * math/libm-test.inc (nearbyint_test): Add more tests.
19268 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19271 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19272 bits before adding and subtracting TWO23[sx].
19273 * math/libm-test.inc (rint_test): Add more tests.
19274 (rint_test_tonearest): Likewise.
19275 (rint_test_towardzero): Likewise.
19276 (rint_test_downward): Likewise.
19277 (rint_test_upward: Likewise.
19279 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19282 * include/stdc-predef.h: New file. Extracted from features.h.
19283 * include/features.h: Include stdc-predef.h.
19284 * Makefile (headers): Add stdc-predef.h.
19285 * CONFORMANCE (Compiler limitations): Update.
19287 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19289 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19291 2012-02-21 David S. Miller <davem@davemloft.net>
19293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19294 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19296 2012-02-20 David S. Miller <davem@davemloft.net>
19298 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19299 using a normal save/restore sequence, rather than allocating a
19300 dummy stack frame just to store a frame pointer and restore.
19301 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19303 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19305 * manual/install.texi: Fix stray word in line-wrapped comment.
19307 2012-02-20 David S. Miller <davem@davemloft.net>
19309 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19310 both binutils and gcc support GOTDATA.
19312 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19313 "rd %pc" in the PIC register setup sequences.
19315 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19316 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19317 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19318 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19319 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19321 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19324 (SYSCALL_ERROR_HANDLER): Likewise.
19325 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19326 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19328 (SYSCALL_ERROR_HANDLER): Likewise.
19330 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19331 (HAVE_GCC_GOTDATA): New.
19332 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19333 relocation support in both binutils and gcc.
19334 * sysdeps/sparc/elf/configure: Regenerate.
19336 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19337 * sysdeps/sparc/sparc32/elf/configure: Delete.
19338 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19339 * sysdeps/sparc/sparc64/elf/configure: Delete.
19340 * sysdeps/sparc/elf/configure.in: New file.
19341 * sysdeps/sparc/elf/configure: Generate.
19343 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19344 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19345 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19346 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19347 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19349 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19351 * manual/install.texi: Do not mention specific glibc version
19353 * manual/libc.texinfo (VERSION, UPDATED): Update.
19354 (@copying): Use @copyright{} and range of years.
19356 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19359 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19360 [crti.S not in sysdirs] (generated): Do not append.
19361 [crti.S not in sysdirs] (omit-deps): Likewise.
19362 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19363 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19364 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19365 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19366 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19368 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19369 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19370 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19371 * csu/defs.awk: Remove file.
19372 * sysdeps/generic/initfini.c: Likewise.
19373 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19375 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19378 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19380 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19381 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19382 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19383 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19384 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19385 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19387 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19388 (__EPOLL_PACKED): Define to empty if not defined by
19390 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19394 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19396 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19397 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19398 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19399 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19401 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19405 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19407 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19409 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19410 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19414 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19416 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19417 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19419 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19421 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19422 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19424 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19426 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19429 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19431 * math/w_acos.c: Use non-signaling floating-point comparisons.
19432 * math/w_acosf.c: Likewise.
19433 * math/w_acosh.c: Likewise.
19434 * math/w_acoshf.c: Likewise.
19435 * math/w_acoshl.c: Likewise.
19436 * math/w_acosl.c: Likewise.
19437 * math/w_asin.c: Likewise.
19438 * math/w_asinf.c: Likewise.
19439 * math/w_asinl.c: Likewise.
19440 * math/w_atanh.c: Likewise.
19441 * math/w_atanhf.c: Likewise.
19442 * math/w_atanhl.c: Likewise.
19443 * math/w_exp2.c: Likewise.
19444 * math/w_exp2f.c: Likewise.
19445 * math/w_exp2l.c: Likewise.
19446 * math/w_j0.c: Likewise.
19447 * math/w_j0f.c: Likewise.
19448 * math/w_j0l.c: Likewise.
19449 * math/w_j1.c: Likewise.
19450 * math/w_j1f.c: Likewise.
19451 * math/w_j1l.c: Likewise.
19452 * math/w_jn.c: Likewise.
19453 * math/w_jnf.c: Likewise.
19454 * math/w_log.c: Likewise.
19455 * math/w_log10.c: Likewise.
19456 * math/w_log10f.c: Likewise.
19457 * math/w_log10l.c: Likewise.
19458 * math/w_log2.c: Likewise.
19459 * math/w_log2f.c: Likewise.
19460 * math/w_log2l.c: Likewise.
19461 * math/w_logf.c: Likewise.
19462 * math/w_logl.c: Likewise.
19463 * math/w_sqrt.c: Likewise.
19464 * math/w_sqrtf.c: Likewise.
19465 * math/w_sqrtl.c: Likewise.
19466 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19467 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19468 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19469 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19470 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19472 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19475 * manual/string.texi (strnlen): Use correct parameter name in
19476 equivalent expression.
19478 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19481 * manual/users.texi (seteuid): Consistently use neweuid for
19484 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19487 * manual/nss.texi (Services in the NSS configuration): Correct
19488 list of services in example configuration file.
19490 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19493 * manual/arith.texi: Remove statements about negative zero
19494 behaving identically to zero.
19496 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19499 * manual/install.texi: Do not document upgrading from libc5.
19501 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19504 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19506 2012-02-18 David S. Miller <davem@davemloft.net>
19508 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19509 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19510 %o7 across the call.
19511 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19514 SETUP_PIC_REG_LEAF.
19515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19516 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19517 * sysdeps/sparc/crtn.S: Likewise.
19519 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19521 * aout/Makefile: Remove.
19523 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19526 * manual/examples/argp-ex1.c (main): Format definition in GNU
19528 * manual/examples/argp-ex2.c (main): Likewise.
19529 * manual/examples/argp-ex3.c (main): Likewise.
19530 * manual/examples/argp-ex4.c (main): Likewise.
19531 * manual/examples/longopt.c (main): Use new-style prototype
19533 * manual/examples/strncat.c (main): Specify return type and use
19534 (void) for arguments.
19535 * manual/examples/subopt.c (main): Use char **argv argument.
19537 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19540 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19543 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19546 * manual/string.texi (strchr): Change when strchrnul is
19549 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19552 * manual/locale.texi (setlocale): Document LOCPATH.
19554 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19557 * manual/process.texi (execle): Move @dots{} before last argument.
19559 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19562 * manual/charset.texi (Generic Charset Conversion): Fix typo
19563 (LC_TYPE -> LC_CTYPE).
19565 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19568 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19569 (scalbnf): Likewise.
19570 (scalbnl): Likewise.
19571 (scalbln): Likewise.
19572 (scalblnf): Likewise.
19573 (scalblnl): Likewise.
19574 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19575 (vwarnx): Likewise.
19578 * manual/filesys.texi (telldir): Use braces around return type.
19579 * manual/llio.texi (mmap): Add space after comma.
19580 (mmap64): Likewise.
19581 * manual/math.texi (jn): Use @var{} on parameter names.
19587 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19589 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19591 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19592 (sched_get_priority_max): Likewise.
19593 * manual/signal.texi (sigvec): Add space after comma.
19594 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19596 (if_indextoname): Likewise.
19597 (if_freenameindex): Likewise.
19598 (sendto): Use ',' instead of '.' in prototype.
19599 * manual/startup.texi (syscall): Use @dots{} instead of literal
19601 * manual/stdio.texi (__fpending): Separate initial words of
19602 paragraph from @deftypefun line.
19603 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19605 (vsyslog): Use @var{} on parameter names.
19606 * manual/terminal.texi (stty): Use @var{} on parameter names.
19607 * manual/users.texi (getutmp): Use @var{} on parameter names.
19608 (getutmpx): Likewise.
19610 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19613 * manual/stdio.texi (fopen): Fix typos in description of
19616 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19619 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19620 get clock_id definition.
19622 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19625 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19626 (madvise): Cast every argument to void on its own.
19628 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19631 * manual/startup.texi (Exit Status): Fix typo.
19633 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19636 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19637 * manual/examples/argp-ex2.c: Likewise.
19638 * manual/examples/argp-ex3.c: Likewise.
19640 2012-02-16 Richard Henderson <rth@redhat.com>
19642 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19643 * sysdeps/s390/s390-32/initfini.c: Remove.
19644 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19645 * sysdeps/s390/s390-64/initfini.c: Remove.
19647 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19649 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19650 compiler output for sysdeps/generic/initfini.c.
19651 * sysdeps/sh/elf/initfini.c: Remove file.
19653 2012-02-16 David S. Miller <davem@davemloft.net>
19656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19658 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19659 * sysdeps/sparc/crti.S: New file.
19660 * sysdeps/sparc/crtn.S: New file.
19661 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19662 * sysdeps/sparc/sparc64/Makefile: Likewise.
19664 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19667 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19669 2012-02-15 Roland McGrath <roland@hack.frob.com>
19672 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19674 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19675 (write, read, close): Likewise.
19676 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19678 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19680 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19681 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19682 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19683 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19685 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19689 2012-02-14 Marek Polacek <polacek@redhat.com>
19691 * sysdeps/x86_64/crti.S: New file.
19692 * sysdeps/x86_64/crtn.S: New file.
19693 * sysdeps/x86_64/elf/initfini.c: Remove file.
19695 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19697 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19698 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19699 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19700 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19702 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19706 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19708 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19709 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19710 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19711 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19713 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19717 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19719 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19720 __feraiseexcept instead of feraiseexcept.
19722 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19723 nanosleep invocations.
19724 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19725 strings, and add error checking for a nanosleep invocations.
19727 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19729 Replace FSF snail mail address with URLs, as per GNU coding standards.
19730 Most of the snail mail addresses were wrong anyway, and omitting
19731 them makes the source code easier to maintain. Almost all of the
19732 changes are to license notices and to locale LC_IDENTIFICATION
19733 addresses, except for this one:
19734 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19735 not its snail mail address.
19737 2012-02-09 Richard Henderson <rth@twiddle.net>
19739 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19740 of kernel-features.h.
19742 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19744 2012-02-08 Marek Polacek <polacek@redhat.com>
19746 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19747 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19748 * sysdeps/gnu/_G_config.h: Likewise.
19749 * sysdeps/generic/_G_config.h: Likewise.
19751 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19753 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19757 * sysdeps/powerpc/powerpc32/crti.S: New file.
19758 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19759 * sysdeps/powerpc/powerpc64/crti.S: New file.
19760 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19762 * Makeconfig (have-initfini): Don't set.
19763 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19764 * configure.in (nopic_initfini): Don't substitute.
19765 * config.h.in (HAVE_INITFINI): Don't #undef.
19766 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19767 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19769 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19771 Support crti.S and crtn.S provided directly by architectures.
19772 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19773 [crti.S in sysdirs] (omit-deps): Likewise.
19774 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19775 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19776 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19777 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19778 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19779 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19780 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19781 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19782 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19783 compiler output for sysdeps/generic/initfini.c.
19784 * sysdeps/i386/elf/Makefile: Remove file.
19785 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19787 2012-02-07 Marek Polacek <polacek@redhat.com>
19789 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19790 * sysdeps/gnu/_G_config.h: Likewise.
19791 * sysdeps/mach/hurd/_G_config.h: Likewise.
19793 2012-02-07 Marek Polacek <polacek@redhat.com>
19795 * math/Makefile (tests): Add tst-CMPLX2.
19796 * math/tst-CMPLX2.c: New file.
19798 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19800 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19802 * math/libm-test.inc (jn_test): Add missing L suffix.
19804 2012-02-06 Marek Polacek <polacek@redhat.com>
19806 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19807 * sysdeps/i386/fpu/e_powf.S: Likewise.
19808 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19809 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19810 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19811 * sysdeps/i386/fpu/e_pow.S: Likewise.
19812 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19813 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19814 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19815 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19816 * sysdeps/i386/fpu/e_log2.S: Likewise.
19817 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19818 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19819 * sysdeps/i386/fpu/e_powl.S: Likewise.
19820 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19821 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19822 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19823 * sysdeps/i386/fpu/e_logl.S: Likewise.
19824 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19825 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19826 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19827 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19828 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19829 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19830 * sysdeps/i386/fpu/e_log.S: Likewise.
19831 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19832 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19833 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19834 * sysdeps/i386/fpu/e_logf.S: Likewise.
19835 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19836 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19837 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19838 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19839 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19840 * sysdeps/i386/fpu/e_log10.S: Likewise.
19841 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19842 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19843 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19844 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19845 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19846 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19847 * sysdeps/i386/asm-syntax.h: Likewise.
19848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19850 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19851 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19852 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19853 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19854 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19855 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19856 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19857 * sysdeps/powerpc/sysdep.h: Likewise.
19858 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19859 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19861 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19864 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19866 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19868 * sysdeps/i386/sysdep.h: Include <features.h>.
19869 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19872 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19874 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19876 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19879 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19881 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19882 (SETUP_PIC_REG): Use GET_PC_THUNK.
19883 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19886 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19888 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19889 for non-PIC compilation.
19890 (SETUP_PIC_REG): Add .p2align directive.
19891 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19892 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19893 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19894 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19895 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19896 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19897 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19899 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19900 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19901 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19902 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19903 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19904 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19905 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19906 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19907 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19908 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19909 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19910 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19911 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19912 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19913 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19914 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19915 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19917 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19919 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19920 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19921 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19922 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19923 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19924 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19925 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19926 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19927 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19928 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19929 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19930 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19931 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19933 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19935 * math/tst-CMPLX.c: Include <stdio.h>.
19937 2012-01-31 Joseph Myers <joseph@codesourcery.com>
19939 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19941 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19942 * sysdeps/sparc/bits/mathdef.h: Likewise.
19944 2012-01-31 Marek Polacek <polacek@redhat.com>
19946 * libio/libio.h: Don't define _PARAMS.
19947 * locale/programs/config.h: Don't define PARAMS.
19948 * stdlib/strtol_l.c: Likewise.
19949 (__strtol_l): Remove PARAMS from the prototype.
19951 2012-01-31 Ulrich Drepper <drepper@gmail.com>
19953 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19954 names. Just use the correct names. Remove unnecessary wrapper
19956 * malloc/arena.c: Likewise.
19957 * malloc/hooks.c: Likewise.
19959 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19960 ARENA_TEST says not to. Simplify test for creation of a new arena.
19961 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19963 2012-01-30 Ulrich Drepper <drepper@gmail.com>
19965 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19967 (update_get_addr): New function.
19968 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19969 GET_ADDR_MODULE parameter.
19971 2012-01-30 Joseph Myers <joseph@codesourcery.com>
19973 * crypt/cert.c: Remove __STDC__ conditionals.
19974 * crypt/crypt-entry.c: Likewise.
19975 * crypt/crypt_util.c: Likewise.
19976 * libio/filedoalloc.c: Likewise.
19977 * libio/fileops.c: Likewise.
19978 * libio/genops.c: Likewise.
19979 * libio/iofclose.c: Likewise.
19980 * libio/iofdopen.c: Likewise.
19981 * libio/iofopen.c: Likewise.
19982 * libio/iofopen64.c: Likewise.
19983 * libio/iogetdelim.c: Likewise.
19984 * libio/iopopen.c: Likewise.
19985 * libio/obprintf.c: Likewise.
19986 * libio/oldfileops.c: Likewise.
19987 * libio/oldiofclose.c: Likewise.
19988 * libio/oldiofdopen.c: Likewise.
19989 * libio/oldiofopen.c: Likewise.
19990 * libio/oldiopopen.c: Likewise.
19991 * libio/wfiledoalloc.c: Likewise.
19992 * libio/wgenops.c: Likewise.
19993 * locale/programs/xmalloc.c: Likewise.
19994 * misc/syslog.c: Likewise.
19995 * stdio-common/xbug.c: Likewise.
19996 * string/memchr.c: Likewise.
19997 * string/memcmp.c: Likewise.
19998 * string/memrchr.c: Likewise.
19999 * string/rawmemchr.c: Likewise.
20000 * sysdeps/posix/getcwd.c: Likewise.
20001 * time/strftime_l.c: Likewise.
20003 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20005 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20006 * config.make.in (config-cflags-sse2avx): Define.
20007 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20010 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20012 * scripts/config.guess: Update from upstream config git repository.
20013 * scripts/config.sub: Likewise.
20015 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20017 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20019 (R_TILEPRO_*, R_TILEGX_*): New macros.
20021 * scripts/firstversions.awk: Fix bug in version range handling.
20023 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20025 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20027 * include/sys/epoll.h: New file.
20028 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20031 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20033 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20034 Avoid unnecessary __WORDSIZE == 64 test.
20035 (fmaxf): Use VEX format if possible.
20040 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20041 * math/math_private.h: Remove libc_fegetround* and
20043 * sysdeps/i386/configure.in: Check for -msse2avx.
20044 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20045 also if SSE2AVX is defined.
20046 Remove libc_fegetround* and libc_fesetround*.
20047 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20048 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20049 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20051 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20052 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20053 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20054 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20055 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20057 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20059 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20061 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20063 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20065 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20068 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20070 * Makeconfig (libm): Define.
20071 * elf/Makefile: Add rules to build and run tst-relsort1.
20072 * elf/tst-relsort1.c: New file.
20073 * elf/tst-relsort1mod1.c: New file.
20074 * elf/tst-relsort1mod2.c: New file.
20076 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20078 * math/s_ldexp.c: Remove __STDC__ conditionals.
20079 * math/s_ldexpf.c: Likewise.
20080 * math/s_ldexpl.c: Likewise.
20081 * math/s_nextafter.c: Likewise.
20082 * math/s_nexttowardf.c: Likewise.
20083 * math/s_significand.c: Likewise.
20084 * math/s_significandf.c: Likewise.
20085 * math/s_significandl.c: Likewise.
20086 * math/w_jnl.c: Likewise.
20087 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20088 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20089 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20090 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20091 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20093 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20094 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20095 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20096 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20097 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20098 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20099 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20100 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20101 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20102 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20103 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20104 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20105 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20106 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20107 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20108 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20109 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20110 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20111 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20112 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20113 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20114 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20115 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20116 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20117 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20118 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20119 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20120 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20121 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20122 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20123 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20124 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20125 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20126 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20127 * sysdeps/ieee754/k_standard.c: Likewise.
20128 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20129 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20130 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20131 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20132 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20133 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20134 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20135 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20136 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20137 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20138 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20139 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20140 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20141 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20142 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20143 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20144 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20145 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20146 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20147 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20148 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20149 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20150 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20151 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20152 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20153 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20157 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20158 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20159 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20160 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20161 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20164 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20166 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20167 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20168 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20170 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20171 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20172 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20173 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20174 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20177 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20178 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20181 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20186 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20188 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20189 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20191 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20194 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20202 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20203 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20207 * sysdeps/ieee754/s_matherr.c: Likewise.
20208 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20209 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20213 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20215 * crypt/md5.h: Remove __STDC__ conditionals.
20216 * libio/libioP.h: Likewise.
20217 * locale/programs/config.h: Likewise.
20218 * sysdeps/generic/sysdep.h: Likewise.
20219 * sysdeps/i386/asm-syntax.h: Likewise.
20220 * sysdeps/s390/asm-syntax.h: Likewise.
20221 * sysdeps/unix/sysdep.h: Likewise.
20222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20225 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20227 * libio/libio.h: Remove __STDC__ conditionals.
20228 * malloc/obstack.h: Likewise.
20229 * math/complex.h: Likewise.
20230 * math/math.h: Likewise.
20231 * sysdeps/generic/_G_config.h: Likewise.
20232 * sysdeps/gnu/_G_config.h: Likewise.
20233 * sysdeps/mach/hurd/_G_config.h: Likewise.
20234 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20235 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20236 * sysdeps/sparc/bits/mathdef.h: Likewise.
20238 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20241 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20242 Clean up HAS_* macros.
20243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20244 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20246 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20248 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20249 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20251 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20252 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20254 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20256 * elf/tst-unique3.cc (gets): Remove declaration.
20257 * elf/tst-unique3lib.cc (gets): Likewise.
20258 * elf/tst-unique3lib2.cc (gets): Likewise.
20259 * elf/tst-unique4.cc (gets): Likewise.
20261 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20263 * include/stdio.h: Add C++ protection. Add gets declarations and
20265 * debug/tst-chk1.c: Don't declare gets here.
20266 * stdio-common/tst-gets.c: Likewise.
20268 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20270 * posix/glob: Remove directory.
20272 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20274 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20276 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20278 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20279 of the non-standard EPFNOSUPPORT.
20281 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20283 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20284 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20285 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20287 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20289 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20291 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20293 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20295 * nscd/grpcache.c (cache_addgr): Likewise.
20296 * nscd/hstcache.c (cache_addhst): Likewise.
20297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20298 * nscd/pwdcache.c (cache_addpw): Likewise.
20299 * nscd/servicescache.c (cache_addserv): Likewise.
20301 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20303 * malloc/malloc.c: Various cleanups.
20304 * malloc/hooks.c: Likewise.
20306 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20307 * stdlib/bug-fmtmsg1.c: New file.
20309 * stdlib/fmtmsg.c (init): Add missing unlock.
20310 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20312 2012-01-12 Marek Polacek <polacek@redhat.com>
20314 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20317 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20319 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20320 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20321 macro to ensure uniqueness of label name.
20322 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20323 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20325 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20327 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20329 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20330 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20331 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20334 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20336 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20338 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20339 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20340 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20342 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20344 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20345 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20346 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20347 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20349 * math/bits/math-finite.h: Add ldexp support.
20351 2012-01-10 Marek Polacek <polacek@redhat.com>
20353 * locale/programs/localedef.h (show_archive_content): Add noreturn
20356 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20358 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20360 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20362 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20364 * io/Makefile (headers): Add bits/poll2.h.
20366 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20369 typo #include statement.
20371 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20373 * include/sys/cdefs.h: Define __attribute_alloc_size.
20374 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20375 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20376 * elf/pldd.c: Likewise.
20377 * iconv/iconv_charmap.c: Likewise.
20378 * iconv/iconvconfig.c: Likewise.
20379 * iconv/strtab.c: Likewise.
20380 * locale/programs/locale.c: Likewise.
20381 * locale/programs/localedef.h: Likewise.
20382 * locale/programs/simple-hash.c: Likewise.
20383 * nscd/nscd.h: Likewise.
20384 * nss/makedb.c: Likewise.
20385 * sysdeps/generic/ldconfig.h: Likewise.
20386 * locale/programs/localedef.c: Remove xmalloc prototype.
20387 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20389 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20391 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20394 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20396 * math/Makefile (tests): Add tst-CMPLX.
20397 * math/tst-CMPLX.c: New file.
20399 * math/complex.h (CMPLXL): Fix typo.
20401 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20402 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20404 * debug/tst-chk1.c: Add poll and ppoll tests.
20405 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20406 * include/sys/poll.h: Add hidden proto for ppoll.
20407 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20408 * sysdeps/mach/hurd/ppoll.c: Likewise.
20409 * io/ppoll.c: Likewise.
20410 * debug/poll_chk.c: New file.
20411 * debug/ppoll_chk.c: New file.
20412 * include/bits/poll2.h: New file.
20413 * io/bits/poll2.h: New file.
20416 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20418 * configure.in: static is always set to yes. Remove.
20419 * config.make.in: Don't set build-static.
20420 * Makeconfig: Remove use of build-static.
20421 * dlfcn/Makefile: Likewise.
20422 * elf/Makefile: Likewise.
20423 * math/Makefile: Likewise.
20424 * misc/Makefile: Likewise.
20425 * nptl/Makefile: Likewise.
20426 * sysdeps/mach/hurd/Makefile: Likewise.
20428 * configure.in: PWD_P is not used anymore.
20429 * config.make.in: Remove PWD_P entry.
20431 * configure.in: Remove last remnants of RANLIB.
20432 No need to check for signed size_t anymore.
20433 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20435 Remove __builtin_expect test because we require at least gcc 3.4.
20436 * aclocal.m4: Likewise.
20438 * wcsmbs/mbrtoc16.c: Implement using towc function.
20439 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20440 * wcsmbs/wcsmbsload.c: Likewise.
20441 * iconv/gconv_simple.c: Likewise.
20442 * iconv/gconv_int.h: Likewise.
20443 * iconv/gconv_builtin.h: Likewise.
20444 * iconv/iconv_prog.c: Remove CHAR16 handling.
20446 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20448 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20450 * configure.in: Remove --with-elf and --enable-bounded options.
20451 Dont set base_machine for ia64. More non-ELF conditions removed.
20452 Remove testing and setting of leading underscore information.
20453 * config.make.in (build-bounded): Set to no.
20454 * config.h.in: Remove NO_UNDERSCORES entry.
20455 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20457 * csu/start.c: Remove !NO_UNDERSCORE code.
20458 * locale/localeinfo.h: Likewise.
20459 * sysdeps/generic/machine-gmon.h: Likewise.
20460 * sysdeps/generic/sysdep.h: Likewise.
20461 * sysdeps/i386/sysdep.h: Likewise.
20462 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20463 * sysdeps/mach/sysdep.h: Likewise.
20464 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20465 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20466 * sysdeps/sh/sysdep.h: Likewise.
20467 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20468 * sysdeps/unix/i386/sysdep.S: Likewise.
20469 * sysdeps/unix/sparc/start.c: Likewise.
20470 * sysdeps/unix/sparc/sysdep.S: Likewise.
20471 * sysdeps/unix/sparc/sysdep.h: Likewise.
20472 * sysdeps/unix/start.c: Likewise.
20473 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20474 * sysdeps/x86_64/sysdep.h: Likewise.
20476 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20479 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20481 * argp/argp-fmtstream.h: Use const instead __const.
20482 * argp/argp.h: Likewise.
20483 * assert/assert.h: Likewise.
20484 * bits/fenv.h: Likewise.
20485 * bits/sched.h: Likewise.
20486 * bits/sigset.h: Likewise.
20487 * bits/sigthread.h: Likewise.
20488 * catgets/nl_types.h: Likewise.
20489 * conform/data/pthread.h-data: Likewise.
20490 * crypt/crypt-private.h: Likewise.
20491 * crypt/crypt.h: Likewise.
20492 * crypt/crypt_util.c: Likewise.
20493 * ctype/ctype.h: Likewise.
20494 * debug/execinfo.h: Likewise.
20495 * debug/mbsnrtowcs_chk.c: Likewise.
20496 * debug/mbsrtowcs_chk.c: Likewise.
20497 * debug/wcsnrtombs_chk.c: Likewise.
20498 * debug/wcsrtombs_chk.c: Likewise.
20499 * debug/wcstombs_chk.c: Likewise.
20500 * dirent/dirent.h: Likewise.
20501 * dlfcn/dlfcn.h: Likewise.
20502 * elf/neededtest4.c: Likewise.
20503 * grp/grp.h: Likewise.
20504 * gshadow/gshadow.h: Likewise.
20505 * iconv/gconv.h: Likewise.
20506 * iconv/gconv_int.h: Likewise.
20507 * iconv/gconv_simple.c: Likewise.
20508 * iconv/iconv.h: Likewise.
20509 * iconv/loop.c: Likewise.
20510 * iconv/skeleton.c: Likewise.
20511 * include/aio.h: Likewise.
20512 * include/aliases.h: Likewise.
20513 * include/argz.h: Likewise.
20514 * include/arpa/inet.h: Likewise.
20515 * include/assert.h: Likewise.
20516 * include/dirent.h: Likewise.
20517 * include/dlfcn.h: Likewise.
20518 * include/execinfo.h: Likewise.
20519 * include/fcntl.h: Likewise.
20520 * include/fenv.h: Likewise.
20521 * include/glob.h: Likewise.
20522 * include/grp.h: Likewise.
20523 * include/libintl.h: Likewise.
20524 * include/mntent.h: Likewise.
20525 * include/netdb.h: Likewise.
20526 * include/pwd.h: Likewise.
20527 * include/rpc/netdb.h: Likewise.
20528 * include/sched.h: Likewise.
20529 * include/search.h: Likewise.
20530 * include/shadow.h: Likewise.
20531 * include/signal.h: Likewise.
20532 * include/stdio.h: Likewise.
20533 * include/stdlib.h: Likewise.
20534 * include/string.h: Likewise.
20535 * include/sys/socket.h: Likewise.
20536 * include/sys/stat.h: Likewise.
20537 * include/sys/statfs.h: Likewise.
20538 * include/sys/statvfs.h: Likewise.
20539 * include/sys/syslog.h: Likewise.
20540 * include/sys/time.h: Likewise.
20541 * include/sys/uio.h: Likewise.
20542 * include/time.h: Likewise.
20543 * include/unistd.h: Likewise.
20544 * include/utmp.h: Likewise.
20545 * include/wchar.h: Likewise.
20546 * include/wctype.h: Likewise.
20547 * inet/aliases.h: Likewise.
20548 * inet/arpa/inet.h: Likewise.
20549 * inet/netinet/ether.h: Likewise.
20550 * inet/netinet/in.h: Likewise.
20551 * intl/libintl.h: Likewise.
20552 * io/bits/fcntl2.h: Likewise.
20553 * io/fcntl.h: Likewise.
20554 * io/ftw.h: Likewise.
20555 * io/sys/poll.h: Likewise.
20556 * io/sys/stat.h: Likewise.
20557 * io/sys/statfs.h: Likewise.
20558 * io/sys/statvfs.h: Likewise.
20559 * io/utime.h: Likewise.
20560 * libio/bits/stdio.h: Likewise.
20561 * libio/bits/stdio2.h: Likewise.
20562 * libio/libio.h: Likewise.
20563 * libio/libioP.h: Likewise.
20564 * libio/stdio.h: Likewise.
20565 * locale/lc-ctype.c: Likewise.
20566 * locale/locale.h: Likewise.
20567 * login/utmp.h: Likewise.
20568 * malloc/arena.c: Likewise.
20569 * malloc/malloc.c: Likewise.
20570 * malloc/malloc.h: Likewise.
20571 * malloc/mcheck.c: Likewise.
20572 * malloc/mtrace.c: Likewise.
20573 * math/bits/mathcalls.h: Likewise.
20574 * math/fenv.h: Likewise.
20575 * math/math_private.h: Likewise.
20576 * misc/bits/error.h: Likewise.
20577 * misc/bits/syslog.h: Likewise.
20578 * misc/err.h: Likewise.
20579 * misc/error.h: Likewise.
20580 * misc/fstab.h: Likewise.
20581 * misc/mntent.h: Likewise.
20582 * misc/regexp.h: Likewise.
20583 * misc/search.h: Likewise.
20584 * misc/sgtty.h: Likewise.
20585 * misc/sys/mman.h: Likewise.
20586 * misc/sys/syslog.h: Likewise.
20587 * misc/sys/uio.h: Likewise.
20588 * misc/sys/xattr.h: Likewise.
20589 * misc/ttyent.h: Likewise.
20590 * nis/rpcsvc/ypclnt.h: Likewise.
20591 * nss/nss.h: Likewise.
20592 * posix/bits/unistd.h: Likewise.
20593 * posix/fnmatch.h: Likewise.
20594 * posix/glob.h: Likewise.
20595 * posix/sched.h: Likewise.
20596 * posix/spawn.h: Likewise.
20597 * posix/sys/wait.h: Likewise.
20598 * posix/unistd.h: Likewise.
20599 * posix/wordexp.h: Likewise.
20600 * pwd/pwd.h: Likewise.
20601 * resolv/netdb.h: Likewise.
20602 * resource/sys/resource.h: Likewise.
20603 * rt/aio.h: Likewise.
20604 * rt/bits/mqueue2.h: Likewise.
20605 * rt/mqueue.h: Likewise.
20606 * shadow/shadow.h: Likewise.
20607 * signal/signal.h: Likewise.
20608 * socket/send.c: Likewise.
20609 * socket/sendto.c: Likewise.
20610 * socket/sys/socket.h: Likewise.
20611 * stdio-common/printf.h: Likewise.
20612 * stdlib/bits/stdlib.h: Likewise.
20613 * stdlib/fmtmsg.h: Likewise.
20614 * stdlib/monetary.h: Likewise.
20615 * stdlib/stdlib.h: Likewise.
20616 * stdlib/ucontext.h: Likewise.
20617 * streams/stropts.h: Likewise.
20618 * string/argz.h: Likewise.
20619 * string/bits/string2.h: Likewise.
20620 * string/string.h: Likewise.
20621 * string/strings.h: Likewise.
20622 * sunrpc/rpc/auth.h: Likewise.
20623 * sunrpc/rpc/auth_des.h: Likewise.
20624 * sunrpc/rpc/clnt.h: Likewise.
20625 * sunrpc/rpc/netdb.h: Likewise.
20626 * sunrpc/rpc/pmap_clnt.h: Likewise.
20627 * sunrpc/rpc/xdr.h: Likewise.
20628 * sysdeps/generic/inttypes.h: Likewise.
20629 * sysdeps/generic/net/if.h: Likewise.
20630 * sysdeps/generic/sys/swap.h: Likewise.
20631 * sysdeps/gnu/net/if.h: Likewise.
20632 * sysdeps/gnu/utmpx.h: Likewise.
20633 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20634 * sysdeps/i386/i486/bits/string.h: Likewise.
20635 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20636 * sysdeps/s390/bits/string.h: Likewise.
20637 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20638 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20639 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20640 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20641 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20642 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20643 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20644 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20645 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20646 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20647 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20648 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20649 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20650 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20651 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20652 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20653 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20655 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20656 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20658 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20659 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20660 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20661 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20662 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20663 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20664 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20665 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20666 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20667 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20668 * sysvipc/sys/ipc.h: Likewise.
20669 * sysvipc/sys/msg.h: Likewise.
20670 * sysvipc/sys/sem.h: Likewise.
20671 * sysvipc/sys/shm.h: Likewise.
20672 * termios/termios.h: Likewise.
20673 * time/sys/time.h: Likewise.
20674 * time/time.h: Likewise.
20675 * wcsmbs/bits/wchar2.h: Likewise.
20676 * wcsmbs/uchar.h: Likewise.
20677 * wcsmbs/wchar.h: Likewise.
20678 * wctype/wctype.h: Likewise.
20681 * Makeconfig: Remove all but ELF support including AIX support.
20682 * Makerules: Likewise.
20683 * config.h.in: Likewise.
20684 * config.make.in: Likewise.
20685 * configure: Likewise.
20686 * configure.in: Likewise.
20687 * csu/Makefile: Likewise.
20688 * csu/version.c: Likewise.
20689 * debug/Makefile: Likewise.
20690 * dlfcn/Makefile: Likewise.
20691 * elf/Makefile: Likewise.
20692 * extra-lib.mk: Likewise.
20693 * iconv/Makefile: Likewise.
20694 * include/libc-symbols.h: Likewise.
20695 * include/shlib-compat.h: Likewise.
20696 * resolv/Makefile: Likewise.
20697 * resolv/res_libc.c: Likewise.
20698 * rt/Makefile: Likewise.
20699 * sysdeps/i386/asm-syntax.h: Likewise.
20700 * sysdeps/i386/sysdep.h: Likewise.
20701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20702 * sysdeps/mach/sysdep.h: Likewise.
20703 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20704 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20705 * sysdeps/s390/asm-syntax.h: Likewise.
20706 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20707 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20708 * sysdeps/sh/sysdep.h: Likewise.
20709 * sysdeps/unix/sparc/sysdep.h: Likewise.
20710 * sysdeps/wordsize-32/divdi3.c: Likewise.
20711 * sysdeps/x86_64/sysdep.h: Likewise.
20713 * argp/Versions: Remove _argp_unlock_xxx.
20716 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20717 * abilist/libBrokenLocale.abilist: Likewise.
20718 * abilist/libanl.abilist: Likewise.
20719 * abilist/libc.abilist: Likewise.
20720 * abilist/libcrypt.abilist: Likewise.
20721 * abilist/libdl.abilist: Likewise.
20722 * abilist/libm.abilist: Likewise.
20723 * abilist/libnsl.abilist: Likewise.
20724 * abilist/libpthread.abilist: Likewise.
20725 * abilist/libresolv.abilist: Likewise.
20726 * abilist/librt.abilist: Likewise.
20727 * abilist/libthread_db.abilist: Likewise.
20728 * abilist/libutil.abilist: Likewise.
20729 * abilist/libnss_db.abilist: New file.
20731 * scripts/abilist.awk: Add support for indirect functions.
20733 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20735 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20737 * shlib-versions: Remove entries for ports architectures.
20739 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20741 * elf/stackguard-macros.h: Remove support for IA-64.
20742 * elf/tst-auditmod1.c: Likewise.
20743 * sysdeps/generic/ldsodefs.h: Likewise.
20745 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20746 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20750 * configure.in: Remove --enable-omitfp support.
20752 * config.make.in: Likewise.
20753 * Makeconfig: Likewise.
20754 * manual/install.texi: Likewise.
20756 In case anyone cares, the IA-64 architecture could move to ports.
20757 * sysdeps/ia64/*: Removed.
20758 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20759 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20762 * configure.in: Remove entries for unsupported architectures.
20765 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20766 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20768 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20769 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20770 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20771 fall back to using wcrtomb.
20772 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20773 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20775 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20776 * wcsmbs/tst-c16c32-1.c: New file.
20778 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20781 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20783 * elf/tst-unique3.cc: Add explicit declaration of gets.
20784 * elf/tst-unique3lib.cc: Likewise.
20785 * elf/tst-unique3lib2.cc: Likewise.
20786 * elf/tst-unique4.cc: Likewise.
20788 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20790 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20793 * assert/assert.h (static_assert): Don't define for C++.
20794 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20795 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20797 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20799 * iconv/loop.c (single loop): Fix assertion in storing of
20802 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20804 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20806 * posix/getconf.c: Update copyright year.
20807 * nss/getent.c: Likewise.
20808 * nss/makedb.c: Likewise.
20809 * iconv/iconvconfig.c: Likewise.
20810 * iconv/iconv_prog.c: Likewise.
20811 * elf/ldconfig.c: Likewise.
20812 * elf/pldd.c: Likewise.
20813 * elf/sotruss.ksh: Likewise.
20814 * catgets/gencat.c: Likewise.
20815 * csu/version.c: Likewise.
20816 * elf/ldd.bash.in: Likewise.
20817 * elf/sprof.c (print_version): Likewise.
20818 * locale/programs/locale.c: Likewise.
20819 * locale/programs/localedef.c: Likewise.
20820 * login/programs/pt_chown.c: Likewise.
20821 * nscd/nscd.c (print_version): Likewise.
20822 * debug/xtrace.sh: Likewise.
20823 * malloc/memusage.sh: Likewise.
20824 * malloc/mtrace.pl: Likewise.
20825 * debug/catchsegv.sh: Likewise.
20827 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20829 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20832 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20835 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20836 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20838 * iconv/gconv_int.h: Likewise.
20839 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20840 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20841 from libc for GLIBC_2.16.
20842 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20843 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20844 * wcsmbs/uchar.h: Really define mbstate_t.
20845 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20846 * wcsmbs/c16rtomb.c: New file.
20847 * wcsmbs/mbrtoc16.c: New file.
20848 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20849 for C/POSIX locale.
20850 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20851 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20853 * wcsmbs/wchar.h: Add missing __restrict.
20855 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20858 * time/Makefile (routines): Add timespec_get.
20859 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20860 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20861 timespec for ISO C11.
20862 * time/timespec_get.c: New file.
20863 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20864 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20867 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20868 * stdlib/stdlib.h: Declare aligned_alloc.
20869 * Versions.def: Add GLIBC_2.16 for libc.
20870 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20873 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20876 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20880 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20883 * assert/assert.h (static_assert): Define.
20885 * version.h: Update for 2.16 development version.
20888 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20891 * version.h (RELEASE): Bump for 2.15 release.
20892 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20894 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20895 Patch by Marek Polacek <mpolacek@redhat.com>.
20897 * bits/byteswap.h: Protect long long constants with __extension__.
20898 * sysdeps/i386/bits/byteswap.h: Likewise.
20899 * sysdeps/ia64/bits/byteswap.h: Likewise.
20900 * sysdeps/s390/bits/byteswap.h: Likewise.
20901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20903 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20906 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20907 destination buffer.
20908 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20910 2011-12-23 Marek Polacek <polacek@redhat.com>
20912 * elf/dl-addr.c (determine_info): Add inline keyword.
20913 * elf/tst-auditmod4b.c (check_avx): Likewise.
20914 * elf/tst-auditmod6b.c (check_avx): Likewise.
20915 * elf/tst-auditmod6c.c (check_avx): Likewise.
20916 * elf/tst-auditmod7b.c (check_avx): Likewise.
20918 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20920 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20923 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20926 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20927 processing for last bytes.
20929 2011-08-06 Bruno Haible <bruno@clisp.org>
20932 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20933 U+0385, not to U+1FEE.
20936 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20937 entry for U+00A5 U+0301.
20939 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20942 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20943 buffer for the output is too small.
20945 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20949 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20950 SSE flags if possible.
20952 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20955 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20956 processing for last bytes.
20958 2011-12-22 Joseph Myers <joseph@codesourcery.com>
20960 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20961 (syscall-list-default-options, syscall-list-default-condition)
20962 (syscall-list-includes): Define.
20963 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20964 list of ABIs and options and #if conditions for each ABI. Do not
20965 handle common syscalls between ABIs specially.
20966 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20968 (syscall-list-variants, syscall-list-32bit-options)
20969 (syscall-list-32bit-condition, syscall-list-64bit-options)
20970 (syscall-list-64bit-condition): Define.
20971 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20972 (syscall-list-variants, syscall-list-32bit-options)
20973 (syscall-list-32bit-condition, syscall-list-64bit-options)
20974 (syscall-list-64bit-condition): Define.
20975 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20977 (syscall-list-variants, syscall-list-32bit-options)
20978 (syscall-list-32bit-condition, syscall-list-64bit-options)
20979 (syscall-list-64bit-condition): Define.
20980 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20982 (syscall-list-variants, syscall-list-32bit-options)
20983 (syscall-list-32bit-condition, syscall-list-64bit-options)
20984 (syscall-list-64bit-condition): Define.
20986 2011-12-22 Ulrich Drepper <drepper@gmail.com>
20988 * locale/iso-639.def: Add brx entry.
20991 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20992 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20994 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20995 __feraiseexcept_renamed.
20997 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21000 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21001 EPOLLET with unsigned values.
21002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21003 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21005 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21006 to large cancellation.
21007 * math/s_cacoshf.c: Likewise.
21008 * math/s_cacoshl.c: Likewise.
21010 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21014 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21015 * math/s_cacoshf.c: Likewise.
21016 * math/s_cacoshl.c: Likewise.
21018 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21021 * iconv/gconv.h: Define __GCONV_SWAP.
21022 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21023 * iconvdata/utf-16.c: Likewise.
21024 * iconvdata/utf-32.c: Likewise.
21026 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21029 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21030 numerator after shifting it by one limb.
21032 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21034 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21035 under [__USE_EXTERN_INLINES].
21037 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21040 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21042 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21044 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21045 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21047 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21048 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21049 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21050 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21051 for strncasecmp/strncasecmp_l compilation.
21052 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21053 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21055 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21058 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21061 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21064 * time/tzfile.c (__tzfile_read): Check values from file header.
21066 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21068 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21069 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21070 * powerpc/powerpc32/dl-start.S: Likewise.
21071 * powerpc/powerpc32/elf/start.S: Likewise.
21072 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21073 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21074 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21075 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21076 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21077 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21078 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21079 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21080 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21081 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21082 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21083 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21084 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21085 * powerpc/powerpc32/memset.S: Likewise.
21086 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21087 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21088 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21089 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21090 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21091 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21092 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21093 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21094 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21095 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21096 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21097 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21098 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21100 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21102 * math/libm-test.inc: Added more nearbyint tests.
21103 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21108 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21110 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21113 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21115 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21116 Add wcscpy-ssse3 wcscpy-c.
21117 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21118 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21119 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21120 * sysdeps/x86_64/wcschr.S: New file.
21121 * sysdeps/x86_64/wcsrchr.S: New file.
21122 * string/test-strcmp.c: Remove checking of wcscmp function for
21124 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21125 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21126 wcsrchr-sse2 wcsrchr-c.
21127 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21128 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21129 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21130 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21131 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21132 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21133 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21134 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21135 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21136 * wcsmbc/wcschr.c (WCSCHR): New macro.
21138 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21140 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21141 * wcsmbs/test-wcsrchr.c: New file.
21142 * string/test-strrchr.c: Add wcsrchr support.
21144 * wcsmbs/test-wcscpy.c: New file.
21145 * string/test-strcpy.c: Add wcscpy support.
21148 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21150 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21153 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21156 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21158 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21161 Minor optimizations.
21163 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21164 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21165 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21167 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21169 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21170 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21171 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21172 for gcc to avoid warnings.
21173 * inet/Makefile (tests): Add tst-checks.
21174 * inet/tst-checks.c: New file.
21176 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21179 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21182 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21183 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21185 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21187 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21189 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21192 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21194 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21196 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21197 conditional on GCC version.
21198 (__arch_compare_and_exchange_val_8_acq)
21199 (__arch_compare_and_exchange_val_16_acq)
21200 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21201 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21202 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21204 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21206 * sysdeps/sh/backtrace.c: New file.
21208 2011-12-02 Andreas Schwab <schwab@redhat.com>
21210 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21213 2011-12-01 Andreas Schwab <schwab@redhat.com>
21215 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21216 falling back to utime.
21218 2011-11-30 Andreas Schwab <schwab@redhat.com>
21220 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21221 expectations for float.
21223 2011-11-29 Andreas Schwab <schwab@redhat.com>
21225 * locale/weight.h (findidx): Add parameter len.
21226 * locale/weightwc.h (findidx): Likewise.
21227 * posix/fnmatch_loop.c (FCT): Adjust caller.
21228 * posix/regcomp.c (build_equiv_class): Likewise.
21229 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21230 * posix/regexec.c (check_node_accept_bytes): Likewise.
21231 * string/strcoll_l.c (STRCOLL): Likewise.
21232 * string/strxfrm_l.c (STRXFRM): Likewise.
21234 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21236 * Makefile.in: Remove CVSOPT handling.
21237 * configure.in: Remove use of AC_REVISION.
21238 * iconvdata/Makefile (distribute): No need to filter out CVS.
21239 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21242 2011-11-16 Andreas Schwab <schwab@redhat.com>
21244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21245 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21246 [USE_AS_STRNCASECMP_L]: Likewise.
21247 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21248 NO_TLS_DIRECT_SEG_REFS.
21249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21250 Fix argument offsets for non-PIC.
21251 [USE_AS_STRNCASECMP_L]: Likewise.
21252 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21253 NO_TLS_DIRECT_SEG_REFS.
21255 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21257 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21259 * locale/loadlocale.c (_nl_load_locale): Likewise.
21261 2011-11-15 Andreas Schwab <schwab@redhat.com>
21263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21264 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21265 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21266 (SYSCALL_GETTIME): Set errno on error.
21268 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21269 count references to noai6ai_cached.
21271 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21273 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21275 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21276 FD_CLOEXEC for /proc/self/maps.
21278 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21279 FD_CLOEXEC for /proc/meminfo.
21281 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21284 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21285 FD_CLOEXEC for given file.
21287 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21289 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21290 FD_CLOEXEC for /etc/hosts.
21291 (_gethtent): Likewise.
21293 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21295 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21296 cancellation and set FD_CLOEXEC for /etc/netgroup.
21298 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21299 reading /etc/publickey.
21301 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21302 allow cancellation when reading /etc/group.
21304 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21306 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21308 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21309 when using data file.
21311 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21313 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21314 (write_nis_obj): Use "c" and "e" in fopen.
21316 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21318 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21320 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21322 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21324 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21327 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21329 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21331 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21333 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21334 file parsing and set FD_CLOEXEC.
21336 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21338 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21340 2011-11-14 Andreas Schwab <schwab@redhat.com>
21342 * malloc/arena.c (arena_get2): Don't call reused_arena when
21343 _int_new_arena failed.
21345 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21347 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21348 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21349 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21350 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21351 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21352 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21353 to compile strcasecmp and strncasecmp.
21354 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21355 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21359 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21361 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21362 locale-defines.sym to gen-as-const-headers.
21363 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21364 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21365 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21366 to compile strcasecmp and strncasecmp.
21367 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21368 strcasecmp_l and strncasecmp_l.
21369 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21370 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21371 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21372 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21373 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21374 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21375 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21376 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21377 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21378 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21379 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21381 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21383 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21384 result of SYSDEP_GETTIME_CPU to retval.
21385 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21386 parameter list to macro. Remove trailing semicolon. Adjust users.
21388 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21391 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21393 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21395 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21396 from unused variable.
21398 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21400 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21403 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21406 * sunrpc/rpc_prot.c (rejected): Fix case value.
21408 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21409 unsigned long long int to avoid warnings in shift.
21411 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21413 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21416 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21417 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21418 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21420 * nis/nis_table.c (nis_list): Use variable of correct type for
21421 result of __follow_path call.
21423 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21425 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21426 of math functions ceil, trunc, floor, round, and sqrt, when
21427 avaliable on the platform.
21428 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21430 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21431 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21432 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21434 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21436 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21437 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21439 2011-11-11 Roland McGrath <roland@hack.frob.com>
21441 * include/unistd.h: Fix __readlink return type.
21442 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21444 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21446 * stdlib/ucontext.h: Undo last change for makecontext.
21448 2011-11-11 Andreas Schwab <schwab@redhat.com>
21450 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21452 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21453 * setjmp/setjmp.h: Mark functions as non-leaf.
21454 * setjmp/bits/setjmp2.h: Likewise.
21455 * stdlib/ucontext.h: Likewise.
21457 2011-11-10 Andreas Schwab <schwab@redhat.com>
21459 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21460 (reused_arena): Don't check arena limit.
21461 (arena_get2): Atomically check arena limit.
21463 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21465 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21466 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21468 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21471 2011-11-07 Andreas Schwab <schwab@redhat.com>
21473 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21474 handler when locking.
21476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21477 Fix size of allocated buffer.
21479 2011-11-04 Andreas Schwab <schwab@redhat.com>
21482 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21483 declarations for long double functions.
21484 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21486 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21488 2011-11-03 Andreas Schwab <schwab@redhat.com>
21490 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21493 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21496 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21498 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21500 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21502 * include/alloca.h (stackinfo_alloca_round): Define.
21503 (extend_alloca): Use it.
21504 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21505 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21508 * scripts/check-local-headers.sh: Ignore libaudit.h.
21510 * nscd/Makefile (extra-objs): Make recursively expanded.
21512 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21514 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21515 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21517 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21518 * posix/tst-rfc3484-2.c: Likewise.
21519 * posix/tst-rfc3484-3.c: Likewise.
21521 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21523 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21525 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21526 process_vm_writev from libc using GLIBC_2.15 version.
21528 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21530 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21532 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21535 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21538 * nss/getent.c (initgroups_keys): Show error message in case no group
21541 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21542 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21543 __bump_nl_timestamp.
21544 * nscd/connections (nscd_init): When host database is served open
21545 netlink socket and request notification about configuration changes.
21546 (main_loop_poll): Track netlink file descriptor and bump timestamp
21547 in case data becomes available.
21548 (main_loop_epoll): Likewise.
21549 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21550 (database_pers_head): Add extra_data fileds.
21551 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21552 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21553 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21555 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21556 in6ai data, call __free_in6ai.
21557 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21558 Add -DHAVE_NETLINK.
21559 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21560 interface information. Reuse previous data if netlink timestamp
21562 (__bump_nl_timestamp): New function.
21563 (__free_in6ai): New function.
21565 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21567 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21568 close_not_cancel_no_status here.
21569 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21571 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21574 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21577 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21578 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21579 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21581 2011-07-03 Andreas Jaeger <aj@suse.de>
21584 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21585 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21586 * math/libm-test.inc (sin_test): Add test case.
21588 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21591 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21592 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21594 * elf/chroot_canon.c (chroot_canon): Cleanups.
21596 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21599 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21600 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21602 * string/test-strchr.c: Make usable for strchrnul testing.
21603 * string/test-strchrnul.c: New file.
21604 * string/Makefile (strop-tests): Add strchrnul.
21606 * po/it.po: Update from translation team.
21607 * po/es.po: Likewise.
21609 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21611 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21612 the three constants needed as parameters. Drop the others.
21613 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21614 __m128i_strloadu_tolower.
21615 Create and initialize variable zero and use it in all the places
21616 where _mm_setzero_si128 was used.
21618 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21619 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21620 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21621 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21623 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21624 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21625 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21626 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21627 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21628 __mpranred, __mptan.
21629 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21630 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21631 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21632 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21633 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21634 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21636 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21637 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21639 2011-10-28 Andreas Schwab <schwab@redhat.com>
21641 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21642 redefine if SHARED.
21643 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21646 wide char related routines to wcsmbs subdir.
21648 2011-10-27 Andreas Schwab <schwab@redhat.com>
21651 * misc/sys/cdefs.h (__THROWNL): Define.
21652 * posix/unistd.h: Use __THREADNL instead of __THREAD
21653 for memory synchronization functions.
21655 2011-10-26 Roland McGrath <roland@hack.frob.com>
21658 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21660 * manual/stdio.texi (Obstack Streams): Node removed.
21662 2011-10-26 Andreas Schwab <schwab@redhat.com>
21664 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21665 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21666 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21668 * math/math_private.h (math_force_eval): Allow non-addressable
21670 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21672 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21674 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21675 file is not needed.
21677 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21678 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21680 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21681 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21683 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21684 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21686 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21687 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21688 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21689 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21690 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21691 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21692 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21693 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21694 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21695 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21696 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21697 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21699 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21700 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21701 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21702 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21703 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21704 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21706 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21707 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21710 place. Use VEX encoding when compiling for AVX.
21712 2011-10-25 Andreas Schwab <schwab@redhat.com>
21714 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21715 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21717 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21719 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21721 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21722 useless if() expression.
21723 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21725 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21726 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21727 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21728 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21729 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21730 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21731 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21732 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21733 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21734 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21735 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21736 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21737 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21738 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21739 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21740 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21741 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21743 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21745 2011-10-25 Andreas Schwab <schwab@redhat.com>
21747 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21749 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21751 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21753 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21754 .text section. Avoid duplicate constants.
21755 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21757 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21759 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21761 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21763 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21764 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21765 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21766 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21767 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21768 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21769 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21770 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21771 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21772 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21773 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21774 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21775 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21776 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21777 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21778 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21779 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21780 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21781 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21782 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21783 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21784 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21785 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21786 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21787 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21788 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21789 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21790 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21791 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21793 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21794 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21795 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21796 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21797 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21798 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21799 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21801 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21803 * sysdeps/x86_64/dla.h: Move to ...
21804 * sysdeps/x86_64/fpu/dla.h: ...here.
21805 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21806 situations. Use __builtin_fma only for gcc 4.6 and up.
21808 * config.make.in: Add have-mfma4 entry.
21809 * configure.in: Substitute libc_cv_cc_fma4.
21810 * math/Makefile (dbl-only-routines): Add sincostab.
21811 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21812 Use __sincostab not sincos.
21813 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21815 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21820 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21821 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21822 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21823 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21825 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21826 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21828 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21829 define aliases when function name is a macro.
21830 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21831 sysdeps/ieee754/dbl-64/sincos.tbl.
21832 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21833 fma4-enabled routines.
21834 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21835 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21836 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21837 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21839 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21840 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21841 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21842 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21843 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21844 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21845 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21846 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21847 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21848 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21849 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21850 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21851 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21852 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21854 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21855 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21857 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21859 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21860 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21861 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21862 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21863 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21865 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21873 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21876 2011-10-24 Andreas Schwab <schwab@redhat.com>
21878 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21880 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21882 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21884 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21886 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21888 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21889 Remove unused variable magic_bits.
21890 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21892 * string/strnlen.c: Define and use STRNLEN macro.
21893 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21894 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21896 * wcsmbs/wcslen.c: Define and use WCSLEN.
21897 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21898 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21899 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21900 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21901 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21902 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21903 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21905 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21908 strnlen-sse2-no-bsf.
21909 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21910 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21911 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21912 Add strnlen support.
21913 (USE_AS_STRNLEN): New macro.
21914 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21915 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21916 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21917 * sysdeps/x86_64/wcslen.S: New file.
21919 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21922 XMM-moves are used for copying on small sizes.
21924 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21926 * wcsmbs/Makefile (strop-tests): Add wcschr.
21927 * wcsmbs/test-wcschr.c: New file.
21928 * string/test-strchr.c: Update.
21929 Add wcschr support.
21932 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21934 * wcsmbs/Makefile (strop-tests): Add wcslen.
21935 * wcsmbs/test-wcslen.c: New file.
21936 * string/test-strlen.c: Update.
21937 Add wcslen support.
21940 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21942 * po/it.po: Update from translation team.
21944 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21946 * sysdeps/x86_64/wcscmp.S: Update.
21947 Fix wrong comparison semantics.
21948 wcscmp shall use signed comparison not unsigned.
21949 Don't use substraction to avoid overflow bug.
21950 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21951 * wcsmbc/wcscmp.c: Likewise.
21952 * string/test-strcmp.c: Likewise.
21953 Add new tests to check cases with negative values.
21955 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21957 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21958 * sysdeps/x86_64/dla.h: ...here. New file.
21959 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21960 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21966 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21969 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21972 __ynl_finite aliases.
21974 2011-10-22 Ulrich Drepper <drepper@gmail.com>
21976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21978 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21980 [DLA_FMA] (EMULV): Use DLA_FMA.
21981 [DLA_FMA] (MUL12): Use EMULV.
21982 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21983 that are not needed.
21984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21992 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21994 * math/s_nan.c: Undef __nan.
21995 * math/s_nanf.c: Undef __nanf.
21996 * math/s_nanl.c: Undef __nanl.
21997 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22000 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22002 * math/s_catan.c: Add branch predictions.
22003 * math/s_catanf.c: Likewise.
22004 * math/s_catanh.c: Likewise.
22005 * math/s_catanhf.c: Likewise.
22006 * math/s_catanhl.c: Likewise.
22007 * math/s_catanl.c: Likewise.
22008 * math/s_cexp.c: Likewise.
22009 * math/s_cexpf.c: Likewise.
22010 * math/s_cexpl.c: Likewise.
22011 * math/s_clog.c: Likewise.
22012 * math/s_clog10.c: Likewise.
22013 * math/s_clog10f.c: Likewise.
22014 * math/s_clog10l.c: Likewise.
22015 * math/s_clogf.c: Likewise.
22016 * math/s_clogl.c: Likewise.
22017 * math/s_csqrt.c: Likewise.
22018 * math/s_csqrtf.c: Likewise.
22019 * math/s_csqrtl.c: Likewise.
22020 * math/s_ctanf.c: Likewise.
22021 * math/s_ctanh.c: Likewise.
22022 * math/s_ctanhf.c: Likewise.
22023 * math/s_ctanhl.c: Likewise.
22024 * math/s_ctanl.c: Likewise.
22026 * math/math_private.h: Define __nan, __nanf, __nanl.
22027 * math/s_cacosh.c: Include <math_private.h>.
22028 * math/s_cacoshl.c: Likewise.
22029 * math/s_casinh.c: Likewise.
22030 * math/s_casinhf.c: Likewise.
22031 * math/s_casinhl.c: Likewise.
22032 * math/s_ccos.c: Rely entire on ccosh.
22033 * math/s_ccosf.c: Rely entire on ccoshf.
22034 * math/s_ccosl.c: Rely entirely on ccoshl.
22035 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22036 Remove tests for FE_INVALID.
22037 * math/s_ccoshf.c: Likewise.
22038 * math/s_ccoshl.c: Likewise.
22039 * math/s_csin.c: Likewise.
22040 * math/s_csinf.c: Likewise.
22041 * math/s_csinh.c Likewise.
22042 * math/s_csinhf.c: Likewise.
22043 * math/s_csinhl.c: Likewise.
22044 * math/s_csinl.c: Likewise.
22045 * math/s_ctan.c: Likewise.
22046 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22047 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22048 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22050 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22053 compilation problems.
22055 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22058 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22060 * sysdeps/i386/configure.in: Test for -mfma4 option.
22061 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22062 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22063 COMMON_CPUID_INDEX_80000001.
22064 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22065 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22066 use it if FMA3 is not supported.
22067 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22069 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22070 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22072 2011-10-20 Andreas Schwab <schwab@redhat.com>
22075 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22076 it would create a cycle with a link time dependency.
22078 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22080 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22082 * string/Makefile (strop-tests): Add rawmemchr.
22083 * string/test-rawmemchr.c: New file.
22085 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22086 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22087 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22088 when compiling str{,n}casecmp and when AVX is available. Hook up
22089 new optimized code in initializers.
22091 2011-10-19 Andreas Schwab <schwab@redhat.com>
22093 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22094 __feraiseexcept instead of feraiseexcept.
22096 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22098 * math/math_private.h: Define defaults for libc_fetestexcept and
22100 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22101 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22102 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22103 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22104 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22105 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22106 libc_fetestexcept and libc_feupdateenv.
22108 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22109 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22110 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22111 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22112 libc_feholdexcept_setround.
22114 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22115 Add s_nearbyint-c and s_nearbyintf-c.
22116 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22117 nearbyintf inlines.
22118 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22120 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22123 * math/math_private.h: Define defaults for libc_fegetround,
22124 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22125 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22126 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22128 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22129 standard functions.
22130 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22131 Remove comments and hacks for old compiler versions.
22132 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22133 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22134 libc_feholdexceptl.
22136 2011-10-18 Andreas Schwab <schwab@redhat.com>
22138 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22139 (__feraiseexcept_renamed): Add __NTH.
22140 (feraiseexcept): Add __NTH. Rename local variables to fix
22141 namespace violations.
22143 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22145 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22147 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22149 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22150 recently added interfaces.
22151 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22153 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22154 about macro parameter expansion.
22156 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22157 __NO_MATH_INLINES is defined. Cleanups.
22159 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22160 and __floorf is target has SSE4.1.
22161 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22162 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22163 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22164 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22166 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22168 (floorf): Likewise.
22170 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22172 2011-10-17 Andreas Schwab <schwab@redhat.com>
22174 * misc/sys/cdefs.h: Fix last change.
22176 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22179 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22181 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22183 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22184 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22185 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22188 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22189 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22190 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22191 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22192 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22193 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22194 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22195 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22196 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22197 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22198 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22199 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22200 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22201 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22202 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22203 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22204 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22206 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22207 ceil, ceilf, floor, floorf.
22209 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22210 Perform IRELATIVE relocations last.
22212 * elf/do-rel.h: Add another parameter nrelative, replacing the
22213 local variable with the same name. Change name of the function
22214 to end in Rel or Rela (uppercase).
22215 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22216 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22217 elf_dynamic_do_##reloc function.
22219 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22221 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22222 is sufficient, at least on modern CPUs.
22224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22226 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22227 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22229 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22231 * math/bits/math-finite.h: Add entries for exp.
22232 * math/e_expl.c: Add __*_finite alias.
22233 * sysdeps/i386/fpu/e_exp.S: Likewise.
22234 * sysdeps/i386/fpu/e_expf.S: Likewise.
22235 * sysdeps/i386/fpu/e_expl.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22237 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22241 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22242 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22244 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22245 is sufficient, at least on modern CPUs.
22247 * ctype/ctype-info.c (__ctype_init): Define.
22248 * include/ctype.h (__ctype_init): Declare.
22249 (__ctype_b_loc): The variable is always initialized.
22250 (__ctype_toupper_loc): Likewise.
22251 (__ctype_tolower_loc): Likewise.
22252 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22253 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22255 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22257 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22259 * configure.in: Also look in $cxxmachine/include for C++ system
22262 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22264 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22265 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22266 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22267 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22268 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22269 (USE_AS_WMEMCMP): New macro.
22271 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22272 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22273 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22274 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22276 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22277 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22278 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22279 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22280 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22281 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22282 (USE_AS_WMEMCMP): New macro.
22283 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22284 * sysdeps/string/test-memcmp.c: Update.
22285 Fix simple_wmemcmp.
22287 * wcsmbs/wmemcmp.c: Update.
22288 (WMEMCMP): New macro.
22291 2011-10-12 Andreas Jaeger <aj@suse.de>
22294 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22296 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22298 * libio/iofwide.c (do_length): Avoid warning.
22300 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22302 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22304 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22306 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22307 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22308 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22309 * sysdeps/i386/i686/fpu/e_log.S: New file.
22310 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22311 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22313 * ctype/ctype.h: Add support for inlined isXXX functions when
22314 compiling C++ code.
22316 2011-10-14 Andreas Schwab <schwab@redhat.com>
22318 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22320 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22322 2011-10-13 Roland McGrath <roland@hack.frob.com>
22325 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22327 2011-10-13 Andreas Schwab <schwab@redhat.com>
22329 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22330 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22333 * sysdeps/x86_64/memrchr.S: Check for zero size.
22335 * string/stratcliff.c: Add memrchr tests.
22337 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22340 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22341 rawmemchr-sse2 rawmemchr-sse2-bsf.
22342 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22343 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22344 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22345 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22346 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22347 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22348 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22349 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22350 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22351 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22352 * string/memrchr.c (MEMRCHR): New macro.
22354 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22356 Add integration with gcc's -ffinite-math-only and optimize wrapper
22358 * Versions.def: Define GLIBC_2.15 version for libm.
22359 * math/Makefile (headers): Add bits/math-finite.h.
22360 * math/bits/math-finite.h: New file.
22361 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22362 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22363 * math/e_acoshl.c: Add __*_finite alias.
22364 * math/e_acosl.c: Likewise.
22365 * math/e_asinl.c: Likewise.
22366 * math/e_atan2l.c: Likewise.
22367 * math/e_atanhl.c: Likewise.
22368 * math/e_coshl.c: Likewise.
22369 * math/e_exp10.c: Likewise.
22370 * math/e_exp10f.c: Likewise.
22371 * math/e_exp10l.c: Likewise.
22372 * math/e_exp2l.c: Likewise.
22373 * math/e_fmodl.c: Likewise.
22374 * math/e_gammal_r.c: Likewise.
22375 * math/e_hypotl.c: Likewise.
22376 * math/e_j0l.c: Likewise.
22377 * math/e_j1l.c: Likewise.
22378 * math/e_jnl.c: Likewise.
22379 * math/e_lgammal_r.c: Likewise.
22380 * math/e_log10l.c: Likewise.
22381 * math/e_log2l.c: Likewise.
22382 * math/e_logl.c: Likewise.
22383 * math/e_powl.c: Likewise.
22384 * math/e_sinhl.c: Likewise.
22385 * math/e_sqrtl.c: Likewise.
22386 * math/e_scalb.c: Completely rewritten and optimized.
22387 * math/e_scalbf.c: Likewise.
22388 * math/e_scalbl.c: Likewise.
22389 * math/w_acos.c: Likewise.
22390 * math/w_acosf.c: Likewise.
22391 * math/w_acosl.c: Likewise.
22392 * math/w_acosh.c: Likewise.
22393 * math/w_acoshf.c: Likewise.
22394 * math/w_acoshl.c: Likewise.
22395 * math/w_asin.c: Likewise.
22396 * math/w_asinf.c: Likewise.
22397 * math/w_asinl.c: Likewise.
22398 * math/w_atan2.c: Likewise.
22399 * math/w_atan2f.c: Likewise.
22400 * math/w_atan2l.c: Likewise.
22401 * math/w_atanh.c: Likewise.
22402 * math/w_atanhf.c: Likewise.
22403 * math/w_atanhl.c: Likewise.
22404 * math/w_exp10.c: Likewise.
22405 * math/w_exp10f.c: Likewise.
22406 * math/w_exp10l.c: Likewise.
22407 * math/w_fmod.c: Likewise.
22408 * math/w_fmodf.c: Likewise.
22409 * math/w_fmodl.c: Likewise.
22410 * math/w_j0.c: Likewise.
22411 * math/w_j0f.c: Likewise.
22412 * math/w_j0l.c: Likewise.
22413 * math/w_j1.c: Likewise.
22414 * math/w_j1f.c: Likewise.
22415 * math/w_j1l.c: Likewise.
22416 * math/w_jn.c: Likewise.
22417 * math/w_jnf.c: Likewise.
22418 * math/w_log.c: Likewise.
22419 * math/w_logf.c: Likewise.
22420 * math/w_logl.c: Likewise.
22421 * math/w_log10.c: Likewise.
22422 * math/w_log10f.c: Likewise.
22423 * math/w_log10l.c: Likewise.
22424 * math/w_log2.c: Likewise.
22425 * math/w_log2f.c: Likewise.
22426 * math/w_log2l.c: Likewise.
22427 * math/w_pow.c: Likewise.
22428 * math/w_powf.c: Likewise.
22429 * math/w_powl.c: Likewise.
22430 * math/w_remainder.c: Likewise.
22431 * math/w_remainderf.c: Likewise.
22432 * math/w_remainderl.c: Likewise.
22433 * math/w_scalb.c: Likewise.
22434 * math/w_scalbf.c: Likewise.
22435 * math/w_scalbl.c: Likewise.
22436 * math/w_sqrt.c: Likewise.
22437 * math/w_sqrtf.c: Likewise.
22438 * math/w_sqrtl.c: Likewise.
22439 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22440 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22442 * math/math_private.h: Declare __kernel_standard_f.
22443 * math/w_cosh.c: Remove cruft and optimize a bit.
22444 * math/w_coshf.c: Likewise.
22445 * math/w_coshl.c: Likewise.
22446 * math/w_exp2.c: Likewise.
22447 * math/w_exp2f.c: Likewise.
22448 * math/w_exp2l.c: Likewise.
22449 * math/w_hypot.c: Likewise.
22450 * math/w_hypotf.c: Likewise.
22451 * math/w_hypotl.c: Likewise.
22452 * math/w_lgamma.c: Likewise.
22453 * math/w_lgamma_r.c: Likewise.
22454 * math/w_lgammaf.c: Likewise.
22455 * math/w_lgammaf_r.c: Likewise.
22456 * math/w_lgammal.c: Likewise.
22457 * math/w_lgammal_r.c: Likewise.
22458 * math/w_sinh.c: Likewise.
22459 * math/w_sinhf.c: Likewise.
22460 * math/w_sinhl.c: Likewise.
22461 * math/w_tgamma.c: Likewise.
22462 * math/w_tgammaf.c: Likewise.
22463 * math/w_tgammal.c: Likewise.
22464 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22465 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22466 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22467 Minor optimizations. Pretty printing. Remove cruft.
22468 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22469 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22470 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22471 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22472 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22473 * sysdeps/i386/fpu/e_asin.S: Likewise.
22474 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22475 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22476 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22477 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22478 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22479 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22480 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22481 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22482 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22483 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22484 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22485 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22486 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22487 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22488 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22489 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22490 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22491 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22492 * sysdeps/i386/fpu/e_log.S: Likewise.
22493 * sysdeps/i386/fpu/e_log10.S: Likewise.
22494 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22495 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22496 * sysdeps/i386/fpu/e_log2.S: Likewise.
22497 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22498 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22499 * sysdeps/i386/fpu/e_logf.S: Likewise.
22500 * sysdeps/i386/fpu/e_logl.S: Likewise.
22501 * sysdeps/i386/fpu/e_pow.S: Likewise.
22502 * sysdeps/i386/fpu/e_powf.S: Likewise.
22503 * sysdeps/i386/fpu/e_powl.S: Likewise.
22504 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22505 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22506 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22507 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22508 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22509 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22510 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22511 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22512 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22513 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22514 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22516 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22517 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22518 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22519 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22520 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22521 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22522 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22523 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22524 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22526 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22527 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22530 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22533 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22534 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22535 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22536 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22537 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22538 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22539 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22540 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22541 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22542 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22543 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22544 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22545 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22546 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22547 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22548 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22549 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22550 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22551 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22552 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22553 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22554 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22555 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22556 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22557 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22558 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22559 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22560 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22561 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22562 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22563 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22564 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22565 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22566 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22572 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22573 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22574 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22592 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22593 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22596 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22598 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22599 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22601 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22604 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22605 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22606 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22607 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22608 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22609 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22610 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22611 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22612 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22613 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22614 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22615 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22616 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22618 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22619 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22620 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22621 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22622 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22623 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22624 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22625 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22626 (__isnanf): Likewise.
22627 (__isinf_ns): Likewise.
22628 (__isinf_nsf): Likewise.
22629 (__finite): Likewise.
22630 (__finitef): Likewise.
22631 (__ieee754_sqrt): Define as macro.
22632 (__ieee754_sqrtf): Define as macro.
22633 (__ieee754_sqrtl): Define as macro.
22634 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22636 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22637 __FINITE_MATH_ONLY__ consistent.
22638 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22640 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22642 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22645 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22647 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22649 * po/ja.po: Update from translation team.
22651 2011-10-08 Roland McGrath <roland@hack.frob.com>
22653 * locale/programs/locarchive.c (prepare_address_space): New function.
22654 (create_archive, enlarge_archive, open_archive): Use it.
22656 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22657 inside [SHARED], where it is used.
22659 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22661 * nss/getent.c (netgroup_keys): Remove unused variable.
22662 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22664 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22666 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22667 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22669 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22670 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22671 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22672 * math/Makefile (libm-calls): Add s_isinf_ns.
22673 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22674 * math/multc3.c: Likewise.
22675 * math/s_casin.c: Likewise.
22676 * math/s_casinf.c: Likewise.
22677 * math/s_casinl.c: Likewise.
22678 * math/s_ccos.c: Likewise.
22679 * math/s_ccosf.c: Likewise.
22680 * math/s_ccosl.c: Likewise.
22681 * math/s_ctan.c: Likewise.
22682 * math/s_ctanf.c: Likewise.
22683 * math/s_ctanh.c: Likewise.
22684 * math/s_ctanhf.c: Likewise.
22685 * math/s_ctanhl.c: Likewise.
22686 * math/s_ctanl.c: Likewise.
22687 * math/w_fmod.c: Likewise.
22688 * math/w_fmodf.c: Likewise.
22689 * math/w_fmodl.c: Likewise.
22690 * math/w_remainder.c: Likewise.
22691 * math/w_remainderf.c: Likewise.
22692 * math/w_remainderl.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22694 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22697 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22698 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22699 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22700 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22702 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22704 * stdio-common/printf_fphex.c: Likewise.
22705 * stdio-common/printf_size.c: Likewise.
22707 * math/e_exp10.c: Include math_private.h using <...> not "...".
22708 * math/e_exp10f.c: Likewise.
22709 * math/e_exp10l.c: Likewise.
22710 * math/e_exp2l.c: Likewise.
22711 * math/e_j0l.c: Likewise.
22712 * math/e_j1l.c: Likewise.
22713 * math/e_jnl.c: Likewise.
22714 * math/e_lgammal_r.c: Likewise.
22715 * math/e_rem_pio2l.c: Likewise.
22716 * math/e_scalb.c: Likewise.
22717 * math/e_scalbf.c: Likewise.
22718 * math/e_scalbl.c: Likewise.
22719 * math/k_cosl.c: Likewise.
22720 * math/k_sinl.c: Likewise.
22721 * math/k_tanl.c: Likewise.
22722 * math/s_cacoshf.c: Likewise.
22723 * math/s_catan.c: Likewise.
22724 * math/s_catanf.c: Likewise.
22725 * math/s_catanh.c: Likewise.
22726 * math/s_catanhf.c: Likewise.
22727 * math/s_catanhl.c: Likewise.
22728 * math/s_catanl.c: Likewise.
22729 * math/s_ccosh.c: Likewise.
22730 * math/s_ccoshf.c: Likewise.
22731 * math/s_ccoshl.c: Likewise.
22732 * math/s_cexp.c: Likewise.
22733 * math/s_cexpf.c: Likewise.
22734 * math/s_cexpl.c: Likewise.
22735 * math/s_clog.c: Likewise.
22736 * math/s_clog10.c: Likewise.
22737 * math/s_clog10f.c: Likewise.
22738 * math/s_clog10l.c: Likewise.
22739 * math/s_clogf.c: Likewise.
22740 * math/s_clogl.c: Likewise.
22741 * math/s_csin.c: Likewise.
22742 * math/s_csinf.c: Likewise.
22743 * math/s_csinh.c: Likewise.
22744 * math/s_csinhf.c: Likewise.
22745 * math/s_csinhl.c: Likewise.
22746 * math/s_csinl.c: Likewise.
22747 * math/s_csqrt.c: Likewise.
22748 * math/s_csqrtf.c: Likewise.
22749 * math/s_csqrtl.c: Likewise.
22750 * math/s_ctan.c: Likewise.
22751 * math/s_ctanf.c: Likewise.
22752 * math/s_ctanh.c: Likewise.
22753 * math/s_ctanhf.c: Likewise.
22754 * math/s_ctanhl.c: Likewise.
22755 * math/s_ctanl.c: Likewise.
22756 * math/s_ldexp.c: Likewise.
22757 * math/s_ldexpf.c: Likewise.
22758 * math/s_ldexpl.c: Likewise.
22759 * math/s_significand.c: Likewise.
22760 * math/s_significandf.c: Likewise.
22761 * math/s_significandl.c: Likewise.
22762 * math/w_acos.c: Likewise.
22763 * math/w_acosf.c: Likewise.
22764 * math/w_acosh.c: Likewise.
22765 * math/w_acoshf.c: Likewise.
22766 * math/w_acoshl.c: Likewise.
22767 * math/w_acosl.c: Likewise.
22768 * math/w_asin.c: Likewise.
22769 * math/w_asinf.c: Likewise.
22770 * math/w_asinl.c: Likewise.
22771 * math/w_atan2.c: Likewise.
22772 * math/w_atan2f.c: Likewise.
22773 * math/w_atan2l.c: Likewise.
22774 * math/w_atanh.c: Likewise.
22775 * math/w_atanhf.c: Likewise.
22776 * math/w_atanhl.c: Likewise.
22777 * math/w_cosh.c: Likewise.
22778 * math/w_coshf.c: Likewise.
22779 * math/w_coshl.c: Likewise.
22780 * math/w_dremf.c: Likewise.
22781 * math/w_exp10.c: Likewise.
22782 * math/w_exp10f.c: Likewise.
22783 * math/w_exp10l.c: Likewise.
22784 * math/w_exp2.c: Likewise.
22785 * math/w_exp2f.c: Likewise.
22786 * math/w_fmod.c: Likewise.
22787 * math/w_fmodf.c: Likewise.
22788 * math/w_fmodl.c: Likewise.
22789 * math/w_hypot.c: Likewise.
22790 * math/w_hypotf.c: Likewise.
22791 * math/w_hypotl.c: Likewise.
22792 * math/w_j0.c: Likewise.
22793 * math/w_j0f.c: Likewise.
22794 * math/w_j0l.c: Likewise.
22795 * math/w_j1.c: Likewise.
22796 * math/w_j1f.c: Likewise.
22797 * math/w_j1l.c: Likewise.
22798 * math/w_jn.c: Likewise.
22799 * math/w_jnf.c: Likewise.
22800 * math/w_jnl.c: Likewise.
22801 * math/w_lgamma.c: Likewise.
22802 * math/w_lgamma_r.c: Likewise.
22803 * math/w_lgammaf.c: Likewise.
22804 * math/w_lgammaf_r.c: Likewise.
22805 * math/w_lgammal.c: Likewise.
22806 * math/w_lgammal_r.c: Likewise.
22807 * math/w_log.c: Likewise.
22808 * math/w_log10.c: Likewise.
22809 * math/w_log10f.c: Likewise.
22810 * math/w_log10l.c: Likewise.
22811 * math/w_log2.c: Likewise.
22812 * math/w_log2f.c: Likewise.
22813 * math/w_log2l.c: Likewise.
22814 * math/w_logf.c: Likewise.
22815 * math/w_logl.c: Likewise.
22816 * math/w_pow.c: Likewise.
22817 * math/w_powf.c: Likewise.
22818 * math/w_powl.c: Likewise.
22819 * math/w_remainder.c: Likewise.
22820 * math/w_remainderf.c: Likewise.
22821 * math/w_remainderl.c: Likewise.
22822 * math/w_scalb.c: Likewise.
22823 * math/w_scalbf.c: Likewise.
22824 * math/w_scalbl.c: Likewise.
22825 * math/w_sinh.c: Likewise.
22826 * math/w_sinhf.c: Likewise.
22827 * math/w_sinhl.c: Likewise.
22828 * math/w_sqrt.c: Likewise.
22829 * math/w_sqrtf.c: Likewise.
22830 * math/w_sqrtl.c: Likewise.
22831 * math/w_tgamma.c: Likewise.
22832 * math/w_tgammaf.c: Likewise.
22833 * math/w_tgammal.c: Likewise.
22835 * po/ja.po: Update from translation team.
22837 2011-09-29 Andreas Jaeger <aj@suse.de>
22840 * sunrpc/netname.c (netname2host): Fix logic.
22844 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22846 * math/w_remainder.c (__remainder): Likewise.
22847 * math/w_remainderf.c (__remainderf): Likewise.
22848 * math/libm-test.inc (remainder_test): Add test cases.
22850 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22852 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22855 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22857 * string/test-memcmp.c: Avoid unncessary #defines.
22858 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22860 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22862 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22863 Use new sse2 version for core i3 - i7 as it's faster
22864 than sse42 version.
22865 (bit_Prefer_PMINUB_for_stringop): New.
22866 * sysdeps/x86_64/rawmemchr.S: Update.
22867 Replace with faster SSE2 version.
22868 * sysdeps/x86_64/memrchr.S: New file.
22869 * sysdeps/x86_64/memchr.S: Update.
22870 Replace with faster SSE2 version.
22872 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22874 * elf/dl-load.c (lose): Add cast to avoid warning.
22876 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22878 * po/ca.po: Update from translation team.
22880 * inet/getnetgrent_r.c: Hook up nscd.
22881 * nscd/Makefile (routines): Add nscd_netgroup.
22882 (nscd-modules): Add netgroupcache.
22883 (CFLAGS-netgroupcache.c): Define.
22884 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22885 (cache_search): Add const to second parameter.
22886 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22888 (dbs): Add netgrdb entry.
22889 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22890 (verify_persistent_db): Handle netgrdb.
22891 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22892 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22894 (netgroup_response_header): Define.
22895 (innetgroup_response_header): Define.
22896 (datahead): Add netgroup_response_header and innetgroup_response_header
22898 * nscd/nscd.conf: Add entries for netgroup cache.
22899 * nscd/nscd.h (dbtype): Add netgrdb.
22900 (_PATH_NSCD_NETGROUP_DB): Define.
22901 (netgroup_iov_disabled): Declare.
22902 (xmalloc, xcalloc, xrealloc): Move declarations here.
22903 (cache_search): Adjust prototype.
22904 Add netgroup-related prototypes.
22905 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22906 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22907 (__nscd_innetgr): Declare.
22908 * nscd/selinux.c (perms): Use access_vector_t as element type and
22909 add netgroup-related initializers.
22910 * nscd/netgroupcache.c: New file.
22911 * nscd/nscd_netgroup.c: New file.
22912 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22913 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22914 For four parameters use innetgr.
22915 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22916 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22917 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22918 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22920 * nscd/connections.c (register_traced_file): Don't register file
22921 for disabled databases.
22923 2011-10-06 Ulrich Drepper <drepper@gmail.com>
22925 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22927 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22928 from tree and freeing node.
22930 2011-09-25 Jiri Olsa <jolsa@redhat.com>
22932 * nss/nsswitch.c (__nss_database_lookup): Handle
22933 nss_parse_service_list out of memory case.
22935 2011-09-15 Jiri Olsa <jolsa@redhat.com>
22937 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22938 out of memory case.
22940 2011-10-04 Andreas Schwab <schwab@redhat.com>
22942 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22943 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22945 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22946 elf_machine_rela, elf_machine_lazy_rel.
22947 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22948 (ELF_DYNAMIC_DO_REL): Likewise.
22949 (ELF_DYNAMIC_DO_RELA): Likewise.
22950 (ELF_DYNAMIC_RELOCATE): Likewise.
22951 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22952 to ELF_DYNAMIC_DO_REL.
22953 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22954 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22955 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22957 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22958 skip_ifunc, don't call ifunc function if non-zero.
22959 (elf_machine_rela): Likewise.
22960 (elf_machine_lazy_rel): Likewise.
22961 (elf_machine_lazy_rela): Likewise.
22962 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22963 (elf_machine_lazy_rel): Likewise.
22964 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22966 (elf_machine_lazy_rel): Likewise.
22967 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22969 (elf_machine_lazy_rel): Likewise.
22970 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22971 (elf_machine_lazy_rel): Likewise.
22972 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22973 (elf_machine_lazy_rel): Likewise.
22974 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22975 (elf_machine_lazy_rel): Likewise.
22976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22977 (elf_machine_lazy_rel): Likewise.
22978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22979 (elf_machine_lazy_rel): Likewise.
22980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22981 (elf_machine_lazy_rel): Likewise.
22983 2011-09-28 Ulrich Drepper <drepper@gmail.com>
22985 * nss/nss_files/files-init.c (_nss_files_init): Use static
22986 initialization for all the *_traced_file variables.
22988 2011-09-28 Andreas Schwab <schwab@redhat.com>
22990 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22992 2011-09-27 Roland McGrath <roland@hack.frob.com>
22995 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22997 2011-09-27 Andreas Schwab <schwab@redhat.com>
22999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23000 Reread the line before reparsing it.
23002 2011-09-26 Andreas Schwab <schwab@redhat.com>
23004 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23006 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23007 Maxim Kuvyrkov <maxim@codesourcery.com>
23008 Joseph Myers <joseph@codesourcery.com>
23010 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23011 if needed for __stack_chk_guard.
23013 2011-09-19 Roland McGrath <roland@hack.frob.com>
23015 * sysdeps/posix/spawni.c (script_execute): Always define it.
23016 It will be optimized away if unused.
23017 (maybe_script_execute): New function.
23018 (__spawni): Call it.
23020 * Makerules: Don't include tls.make.
23021 (config-tls): Always set to thread.
23022 * tls.make.c: File removed.
23024 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23026 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23027 * config.make.in (CPPFLAGS-config): New substituted variable.
23029 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23031 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23034 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23035 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23037 2011-09-15 Roland McGrath <roland@hack.frob.com>
23039 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23040 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23042 (CALL_FAIL): Likewise.
23043 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23044 (CALL_FAIL): Macro removed.
23045 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23047 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23049 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23050 for __FINITE_MATH_ONLY__ == 1.
23052 2011-09-15 Andreas Schwab <schwab@redhat.com>
23054 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23055 __ieee754_sqrt instead of sqrt.
23056 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23057 __ieee754_sqrtf instead of sqrtf.
23058 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23059 __floorf instead of floorf.
23060 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23061 __floorf, __truncf instead of floorf, truncf.
23063 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23065 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23067 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23068 __extern_always_inline.
23069 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23072 2011-09-14 Andreas Schwab <schwab@redhat.com>
23074 * elf/rtld.c (dl_main): Also relocate in dependency order when
23075 doing symbol dependency testing.
23077 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23079 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23080 Always define `refsym'.
23082 2011-09-13 Andreas Schwab <schwab@redhat.com>
23084 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23085 (__FD_ELT): Renamed from __FDELT.
23086 * misc/bits/select2.h (__FD_ELT): Likewise.
23087 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23088 __FD_MASK instead of __FDELT, __FDMASK.
23089 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23091 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23094 * elf/Makefile (gen-ldd): Fix pattern.
23096 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23097 (init_tls): Likewise.
23099 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23101 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23103 2011-09-12 Andreas Schwab <schwab@redhat.com>
23105 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23106 `struct cmsghdr *' instead of `void *'.
23107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23110 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23112 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23114 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23115 ldd_rewrite_script.
23117 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23119 * configure.in: Remove --with-tls option.
23120 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23121 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23122 out in case it is missing.
23123 * sysdeps/ia64/elf/configure.in: Likewise.
23124 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23125 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23126 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23127 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23128 * sysdeps/sh/elf/configure.in: Likewise.
23129 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23130 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23131 * sysdeps/x86_64/elf/configure.in: Likewise.
23132 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23133 * sysdeps/mach/hurd/tls.h: Likewise.
23136 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23139 * configure.in: Fix use of AC_INIT.
23141 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23143 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23145 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23147 * malloc/hooks.c: Likewise.
23150 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23151 variables statically.
23152 (narenas): Initialize.
23153 (list_lock): Initialize.
23154 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23155 initializtion of main_arena and list_lock. Small cleanups.
23156 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23157 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23158 Add initializers to main_arena and mp_.
23159 (malloc_state): Remove pagesize member. Change all users to use
23162 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23163 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23164 is always initialized.
23166 * malloc/malloc.c: Removed unused configurations and dead code.
23167 * malloc/arena.c: Likewise.
23168 * malloc/hooks.c: Likewise.
23169 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23171 * include/tls.h: Removed. USE___THREAD must always be defined.
23172 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23173 * elf/dl-libc.c: Likewise.
23174 * elf/dl-tsd.c: Likewise.
23175 * include/errno.h: Likewise.
23176 * include/netdb.h: Likewise.
23177 * include/resolv.h: Likewise.
23178 * inet/herrno-loc.c: Likewise.
23179 * inet/herrno.c: Likewise.
23180 * malloc/arena.c: Likewise.
23181 * malloc/hooks.c: Likewise.
23182 * malloc/malloc.c: Likewise.
23183 * resolv/res-state.c: Likewise.
23184 * resolv/res_libc.c: Likewise.
23185 * sysdeps/i386/dl-machine.h: Likewise.
23186 * sysdeps/ia64/dl-machine.h: Likewise.
23187 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23188 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23189 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23190 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23191 * sysdeps/sh/dl-machine.h: Likewise.
23192 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23193 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23194 * sysdeps/unix/i386/sysdep.S: Likewise.
23195 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23196 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23201 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23202 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23205 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23206 * sysdeps/x86_64/dl-machine.h: Likewise.
23207 * tls.make.c: Likewise.
23209 * configure.in: Remove --with-__thread option. Make tests for
23210 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23211 tls_model attribute fail if no support is available. Remove
23213 * Makeconfig: Adjust for dropped configure option. All features are
23215 * Makerules: Likewise.
23216 * Versions.def: Likewise.
23217 * argp/argp-fmtstream.c: Likewise.
23218 * argp/argp-fmtstream.h: Likewise.
23219 * argp/argp-help.c: Likewise.
23220 * assert/assert.c: Likewise.
23221 * config.h.in: Likewise.
23222 * config.make.in: Likewise.
23223 * configure: Likewise.
23224 * configure.in: Likewise.
23225 * csu/Versions: Likewise.
23226 * csu/init.c: Likewise.
23227 * elf/tst-audit2.c: Likewise.
23228 * elf/tst-tls10.c: Likewise.
23229 * elf/tst-tls10.h: Likewise.
23230 * elf/tst-tls11.c: Likewise.
23231 * elf/tst-tls12.c: Likewise.
23232 * elf/tst-tls14.c: Likewise.
23233 * elf/tst-tlsmod11.c: Likewise.
23234 * elf/tst-tlsmod12.c: Likewise.
23235 * elf/tst-tlsmod13.c: Likewise.
23236 * elf/tst-tlsmod13a.c: Likewise.
23237 * elf/tst-tlsmod14a.c: Likewise.
23238 * elf/tst-tlsmod15b.c: Likewise.
23239 * elf/tst-tlsmod16a.c: Likewise.
23240 * elf/tst-tlsmod16b.c: Likewise.
23241 * elf/tst-tlsmod7.c: Likewise.
23242 * elf/tst-tlsmod8.c: Likewise.
23243 * elf/tst-tlsmod9.c: Likewise.
23244 * gmon/gmon.c: Likewise.
23245 * grp/fgetgrent_r.c: Likewise.
23246 * grp/putgrent.c: Likewise.
23247 * hurd/fopenport.c: Likewise.
23248 * include/libc-symbols.h: Likewise.
23249 * include/tls.h: Likewise.
23250 * intl/gettextP.h: Likewise.
23251 * intl/loadinfo.h: Likewise.
23252 * locale/global-locale.c: Likewise.
23253 * locale/localeinfo.h: Likewise.
23254 * mach/devstream.c: Likewise.
23255 * malloc/arena.c: Likewise.
23256 * malloc/set-freeres.c: Likewise.
23257 * misc/err.c: Likewise.
23258 * misc/getttyent.c: Likewise.
23259 * misc/mntent_r.c: Likewise.
23260 * posix/getopt.c: Likewise.
23261 * posix/wordexp.c: Likewise.
23262 * pwd/fgetpwent_r.c: Likewise.
23263 * resolv/Versions: Likewise.
23264 * resolv/res_hconf.c: Likewise.
23265 * shadow/fgetspent_r.c: Likewise.
23266 * shadow/putspent.c: Likewise.
23267 * stdio-common/printf_fphex.c: Likewise.
23268 * stdio-common/tmpfile.c: Likewise.
23269 * stdlib/abort.c: Likewise.
23270 * stdlib/fmtmsg.c: Likewise.
23271 * sunrpc/auth_unix.c: Likewise.
23272 * sunrpc/clnt_perr.c: Likewise.
23273 * sunrpc/clnt_tcp.c: Likewise.
23274 * sunrpc/clnt_udp.c: Likewise.
23275 * sunrpc/clnt_unix.c: Likewise.
23276 * sunrpc/openchild.c: Likewise.
23277 * sunrpc/svc_simple.c: Likewise.
23278 * sunrpc/svc_tcp.c: Likewise.
23279 * sunrpc/svc_udp.c: Likewise.
23280 * sunrpc/svc_unix.c: Likewise.
23281 * sunrpc/xdr.c: Likewise.
23282 * sunrpc/xdr_array.c: Likewise.
23283 * sunrpc/xdr_rec.c: Likewise.
23284 * sunrpc/xdr_ref.c: Likewise.
23285 * sunrpc/xdr_stdio.c: Likewise.
23287 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23289 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23291 2011-07-03 Andreas Jaeger <aj@suse.de>
23293 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23294 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23295 regenerate with gen-libm-tests.pl.
23297 2010-05-12 Petr Baudis <pasky@suse.cz>
23300 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23301 around j0() zero points by switching to j1().
23302 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23303 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23305 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23307 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23309 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23311 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23314 Patch in part by Pavel Roskin <proski@gnu.org>.
23317 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23319 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23320 Free memory block if necessary.
23323 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23324 be NULL. Don't lock in this case.
23326 2011-09-09 Roland McGrath <roland@hack.frob.com>
23328 * elf/elf.h (ELFOSABI_GNU): New macro.
23329 (ELFOSABI_LINUX): Define to that.
23331 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23333 * string/strncat.c (strncat): Undef the symbol in case it has been
23334 defined in bits/string.h.
23336 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23338 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23340 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23343 2011-08-17 Andreas Jaeger <aj@suse.de>
23345 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23347 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23348 Ian Lance Taylor <iant@google.com>
23350 * math/libm-test.inc (lround_test): New testcase.
23351 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23353 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23355 * Makefile: Remove support for automatic cvs check-ins.
23356 * Makerules: Likewise.
23357 * config.make.in: Likewise.
23358 * configure.in: Likewise.
23359 * intl/Makefile: Likewise.
23360 * locale/Makefile: Likewise.
23361 * po/Makefile: Likewise.
23362 * posix/Makefile: Likewise.
23363 * sysdeps/gnu/Makefile: Likewise.
23364 * sysdeps/mach/hurd/Makefile: Likewise.
23365 * sysdeps/sparc/sparc32/Makefile: Likewise.
23368 * posix/Makefile (bug-regex32-ENV): Define.
23369 Patch by John Stanley <jpsinthemix@verizon.net>.
23371 * misc/Makefile (headers): Add bits/select2.h.
23372 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23373 * misc/bits/select2.h: New file.
23374 * include/bits/select2.h: New file.
23375 * debug/Makefile (routines): Add fdelt_chk.
23376 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23377 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23379 * debug/fdelt_chk.c: New file.
23381 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23382 * wcsmbs/test-wmemcmp.c: Likewise.
23383 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23384 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23386 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23388 * string/Makefile (strop-tests): Add memcmp.
23389 * string/test-wmemcmp.c: New file.
23390 * string/test-memcmp.c: Add wmemcmp support.
23392 2011-09-08 Roland McGrath <roland@hack.frob.com>
23395 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23398 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23399 garbage value in a __mach_port_mod_refs call in the cases of the
23400 task-self and thread-self ports.
23402 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23404 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23406 2011-09-08 Andreas Schwab <schwab@redhat.com>
23408 * elf/dl-load.c (lose): Check for non-null L.
23410 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23412 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23414 * elf/dl-libc.c (dlerror_run): Pass back error code from
23418 * elf/dl-load.c (lose): Free l_origin if it is valid.
23420 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23422 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23423 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23424 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23425 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23426 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23427 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23429 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23431 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23432 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23433 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23434 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23435 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23436 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23437 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23438 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23439 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23440 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23442 2011-08-15 Alan Modra <amodra@gmail.com>
23445 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23446 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23447 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23448 ppc_mcount to static-only-routines.
23449 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23451 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23452 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23454 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23456 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23457 for finite and infinity parameters.
23459 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23462 and add nop instructions for throughput optimization.
23463 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23465 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23467 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23468 aligned copy for power7 with vector-scalar instructions.
23469 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23471 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23473 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23476 2011-09-07 Andreas Schwab <schwab@redhat.com>
23479 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23482 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23484 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23485 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23486 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23487 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23490 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23492 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23493 Forgot to demangle the pointer.
23495 * sysdeps/i386/sysdep.h: Define atom_text_section.
23496 * sysdeps/x86_64/sysdep.h: Likewise.
23497 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23498 section with atom_text_section.
23499 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23500 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23501 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23502 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23505 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23506 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23507 already be defined. Change to take two parameters and don't assign
23508 result to variable. Adjust all users.
23509 Define INTERNAL_GETTIME if not already defined.
23510 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23513 HAVE_CLOCK_GETTIME_VSYSCALL.
23514 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23516 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23517 gettimeofday vsyscall, just use time.
23519 2011-09-06 Andreas Schwab <schwab@redhat.com>
23521 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23524 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23526 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23530 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23532 syscall if possible.
23534 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23536 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23537 e_ident. Don't pass to find_mapsXX.
23538 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23540 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23543 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23544 * sysdeps/x86_64/multiarch/strchr.S: Update.
23545 Check bit_slow_BSF bit.
23546 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23547 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23550 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23553 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23555 (tryshell): Define.
23556 (__spawni): Change last parameter to be flag. Test
23557 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23558 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23559 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23560 * posix/spawni.c: Likewise.
23561 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23562 * posix/spawnp.c: Likewise. Change normal version to use
23563 SPAWN_XFLAGS_USE_PATH.
23564 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23565 SPAWN_XFLAGS_TRY_SHELL.
23568 * posix/glob.h: Remove gcc 1.x support.
23571 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23573 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23576 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23578 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23579 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23580 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23581 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23582 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23583 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23585 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23587 * sysdeps/x86_64/wcscmp.S: New file.
23589 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23590 wcscmp-c wcscmp-sse2
23591 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23592 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23593 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23594 * wcsmbs/wcscmp.c: Allow renaming.
23596 2011-09-05 David S. Miller <davem@davemloft.net>
23598 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23599 stack slot, rather than the struct return pointer slot.
23600 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23601 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23603 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23605 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23607 * po/ja.po: Update from translation team.
23610 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23611 kernel in 64-bit binaries.
23613 2011-09-01 David S. Miller <davem@davemloft.net>
23615 * elf/elf.h (HWCAP_SPARC_*): Move to..
23616 * sysdeps/sparc/sysdep.h: this new file and add new values.
23617 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23618 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23619 _DL_HWCAP_COUNT to 24.
23620 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23622 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23623 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23624 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23626 instead of magic constants.
23627 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23629 2011-08-31 David S. Miller <davem@davemloft.net>
23631 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23633 Reimplement to do errno handling inline.
23634 (SYSCALL_ERROR_HANDLER): New macro.
23635 (__SYSCALL_STRING): Do not do errno handling in asm.
23636 (__CLONE_SYSCALL_STRING): Delete.
23637 (__INTERNAL_SYSCALL_STRING): Delete.
23638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23639 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23640 (PSEUDO): Reimplement to do errno handling inline.
23641 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23642 (SYSCALL_ERROR_HANDLER): New macro.
23643 (__SYSCALL_STRING): Do not do errno handling in asm.
23644 (__CLONE_SYSCALL_STRING): Delete.
23645 (__INTERNAL_SYSCALL_STRING): Delete.
23646 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23647 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23649 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23650 (inline_syscall*): Add 'err' argument.
23651 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23652 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23653 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23654 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23656 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23657 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23659 2011-08-30 Andreas Schwab <schwab@redhat.com>
23661 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23663 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23665 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23668 2011-08-24 David S. Miller <davem@davemloft.net>
23670 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23672 2011-08-24 Andreas Schwab <schwab@redhat.com>
23674 * elf/Makefile: Add rules to build and run unload8 test.
23675 * elf/unload8.c: New file.
23676 * elf/unload8mod1.c: New file.
23677 * elf/unload8mod1x.c: New file.
23678 * elf/unload8mod2.c: New file.
23679 * elf/unload8mod3.c: New file.
23681 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23684 2011-08-23 David S. Miller <davem@davemloft.net>
23686 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23687 subtract stack bias.
23688 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23689 %sp not %fp in calculations.
23690 (_JMPBUF_UNWINDS_ADJ): Likewise.
23692 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23693 (aio_suspend): Call it to force an exception region around the
23694 AIO_MISC_WAIT() invocation.
23696 2011-08-23 Andreas Schwab <schwab@redhat.com>
23698 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23701 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23703 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23705 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23706 and <dl-machine.h>.
23707 (Elf64_FuncDesc): Remove.
23709 2011-08-22 David S. Miller <davem@davemloft.net>
23711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23712 sigaltstack check, add missing cfi directives.
23713 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23714 missing cfi directives, and sigaltstack handling.
23716 2011-08-16 Andreas Schwab <schwab@redhat.com>
23719 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23720 object is seen twice.
23721 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23723 * elf/Makefile (distribute): Add tst-initorder2.c.
23724 (tests): Add tst-initorder2.
23725 (modules-names): Add tst-initorder2a tst-initorder2b
23726 tst-initorder2c tst-initorder2d. Add rules to build them.
23727 ($(objpfx)tst-initorder2.out): New rule.
23728 * elf/tst-initorder2.c: New file.
23729 * elf/tst-initorder2.exp: New file.
23731 2011-08-22 Andreas Schwab <schwab@redhat.com>
23733 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23735 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23736 dependencies back to end of function.
23738 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23739 $(elfobjdir)/ld.so.
23741 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23743 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23744 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23745 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23746 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23747 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23748 of __vdso_gettimeofday.
23749 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23750 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23752 (_libc_vdso_platform_setup): Remove initialization of
23753 __vdso_gettimeofday and __vdso_time.
23755 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23757 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23758 and fgetc_unlocked.
23759 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23762 * elf/dl-open.c (add_to_global): Report additions to the global scope
23763 for LD_DEBUG=scopes.
23764 (dl_open_worker): Also print scope of newly loaded dependencies.
23765 (_dl_show_scope): Indicate if there is no scope.
23768 * stdio-common/Makefile (tests): Add bug24.
23769 * stdio-common/bug24.c: New file.
23771 2011-08-19 Andreas Jaeger <aj@suse.de>
23774 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23775 non-existant file when using close-on-exec mode.
23777 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23779 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23780 the very first instruction.
23782 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23783 the CFI state in the end.
23784 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23785 inclusion of dl-trampoline.h.
23786 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23788 2011-08-19 Andreas Schwab <schwab@redhat.com>
23790 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23791 expectations for long double.
23793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23794 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23796 2011-08-14 David S. Miller <davem@davemloft.net>
23798 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23799 artificual limit depends upon the system page size.
23801 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23803 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23804 * resolv/Makefile: Define CFLAGS-libresolv.
23806 2011-08-17 Andreas Schwab <schwab@redhat.com>
23808 * nss/makedb.c (compute_tables): Make variables used in nested
23811 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23813 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23814 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23815 if buffer was too small.
23817 * elf/pldd.c (main): Attach to all threads in the process.
23818 Rewrite /proc handling to use *at functions.
23820 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23822 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23823 specifies first scope to show.
23824 (dl_open_worker): Update callers. Move printing scope of new
23825 object to before the relocation.
23826 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23827 * sysdeps/generic/ldsodefs.h: Update declaration.
23829 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23830 string for the scope number.
23832 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23834 * nscd/servicescache.c (cache_addserv): Make sure written is always
23837 2011-08-14 Roland McGrath <roland@hack.frob.com>
23839 * sysdeps/i386/i486/bits/atomic.h
23840 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23841 statement expression, so as to suppress "set but not used" warning.
23842 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23844 * string/strncat.c (STRNCAT): Use prototype definition.
23846 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23847 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23849 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23850 (localedef-modules): Add localedef.
23851 (locale-modules): Add locale.
23853 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23854 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23855 to avoid a warning.
23857 2011-08-14 David S. Miller <davem@davemloft.net>
23859 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23860 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23862 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23864 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23865 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23866 * elf/rtld.c (dl_main): Set l_name of vDSO.
23867 Call _dl_show_scope when DL_DEBUG_SCOPES.
23868 (process_dl_debug): Recognize scopes flag and also set it for all.
23869 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23870 Declare _dl_show_scope.
23872 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23873 (do_dlopen): Pass caller_dlopen to dl_open.
23874 (__libc_dlopen_mode): Initialize caller_dlopen.
23876 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23877 of libc. Make tolower call locale-independent. Optimize a bit by
23878 using isdigit instead of isalnum.
23879 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23881 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23883 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23884 was a dependency or dynamically loaded.
23886 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23888 * intl/l10nflist.c: Allow architecture-specific pop function.
23889 * sysdeps/x86_64/l10nflist.c: New file.
23891 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23894 2011-08-10 Andreas Schwab <schwab@redhat.com>
23896 * include/dirent.h: Add libc_hidden_proto for scandirat and
23897 scandirat64. Don't declare __scandirat64.
23898 * dirent/scandirat.c: Add libc_hidden_def.
23899 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23900 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23902 2011-08-10 David S. Miller <davem@davemloft.net>
23904 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23906 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23908 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23910 2011-08-09 Ulrich Drepper <drepper@gmail.com>
23912 * Versions.def [libc]: Add GLIBC_2.15.
23913 * dirent/Makefile (routines): Add scandirat and scandirat64.
23914 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23916 * dirent/dirent.h: Declare scandirat and scandirat64.
23917 * dirent/scandirat.c: New file.
23918 * dirent/scandirat64.c: New file.
23919 * sysdeps/wordsize-64/scandirat.c: New file.
23920 * sysdeps/wordsize-64/scandirat64.c: New file.
23921 * dirent/opendir.c: Define opendirat.
23922 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23924 * dirent/scandir64.c: Adjust for scandir.c change.
23925 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23926 __scandirat64, and __scandir_cancel_handler.
23927 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23928 additional parameter and use openat instead of open (outside of ld.so).
23929 Add new __opendir as wrapper around __opendirat.
23930 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23931 here without requiring old scandirat implementation.
23933 2011-08-08 Ulrich Drepper <drepper@gmail.com>
23935 * dirent/scandir.c (cancel_handler): Renamed to
23936 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23937 defined. Adjust users.
23938 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23939 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23941 2011-08-04 Ulrich Drepper <drepper@gmail.com>
23943 * string/test-string.h (IMPL): Use __STRING to expand name and then
23946 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23949 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23951 * string/Makefile: Update.
23952 (strop-tests): Append strncat.
23953 * string/test-wcscmp.c: New file.
23954 New comprehensive test for wcscmp.
23955 * string/test-strcmp.c: Update.
23956 (WIDE): New define.
23958 2011-07-22 Andreas Schwab <schwab@redhat.com>
23960 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23963 2011-07-26 Andreas Schwab <schwab@redhat.com>
23965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23966 encoding to ACE if AI_IDN.
23968 2011-08-01 Jakub Jelinek <jakub@redhat.com>
23970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23971 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23973 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23975 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23976 Fix overflow bug in strncat.
23977 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23979 * string/test-strncat.c: Update.
23980 Add new tests for checking overflow bugs.
23982 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23985 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23986 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23987 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23988 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23989 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23990 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23991 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23992 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23994 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23995 (USE_AS_STRCAT): Define.
23996 Add strcat and strncat support.
23997 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23999 2011-07-25 Andreas Schwab <schwab@redhat.com>
24001 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24002 __n bigger than INT_MAX+1.
24003 (__strncmp_g): Likewise.
24005 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24007 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24008 * libio/stido.h: Likewise.
24010 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24012 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24015 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24016 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24017 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24018 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24022 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24027 (_dl_x86_64_save_sse): Likewise.
24029 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24033 (_dl_x86_64_save_sse): Likewise.
24035 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24037 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24039 2011-07-21 Andreas Schwab <schwab@redhat.com>
24041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24043 (_dl_x86_64_save_sse): Use correct AVX check.
24045 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24047 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24048 bug in strncpy/strncat.
24049 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24051 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24053 * string/tester.c (test_strcat): Add tests for different alignments
24054 of source and destination.
24055 (test_strncat): Likewise.
24057 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24060 * posix/glob.c (glob): Check passed in values before using them in
24061 expressions to avoid some overflows.
24062 (glob_in_dir): Likewise.
24065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24066 check for AVX enablement so that we don't crash with old kernels and
24068 * elf/tst-audit4.c: Add same checks here.
24069 * elf/tst-audit6.c: Likewise.
24071 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24073 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24075 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24077 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24079 * po/cs.po: Update from translation team.
24080 * po/bg.po: Likewise.
24082 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24084 * misc/sys/cdefs.h: Add support for const attribute.
24085 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24086 to gnu_dev_{major,minor,makedev} functions.
24088 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24090 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24092 2011-07-20 Andreas Schwab <schwab@redhat.com>
24094 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24097 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24100 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24101 register in order to avoid conflicts with the soft frame pointer
24102 being held in r11 when necessary.
24103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24104 (INTERNAL_VSYSCALL_NCS): Likewise.
24106 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24108 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24109 * elf/dl-fini.c (_dl_fini): Adjust caller.
24110 * elf/dl-close.c (_dl_close_worker): Likewise.
24111 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24113 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24115 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24116 "aux_cache->nlibs < 0".
24118 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24119 in the reload-count case.
24121 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24124 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24125 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24126 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24127 * sysdeps/x86_64/multiarch/strcat.S: New file.
24128 * sysdeps/x86_64/multiarch/strncat.S: New file.
24129 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24130 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24131 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24132 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24133 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24134 (USE_AS_STRCAT): Define.
24135 Add strcat and strncat support.
24136 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24138 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24139 * string/strncat.c: Update.
24140 (USE_AS_STRNCAT): Define.
24141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24142 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24144 * sysdeps/x86_64/multiarch/init-arch.h
24145 (bit_Prefer_PMINUB_for_stringop): New.
24146 (index_Prefer_PMINUB_for_stringop): Likewise.
24147 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24148 bit_Prefer_PMINUB_for_stringop.
24150 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24152 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24154 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24155 of casting of buffer.
24156 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24157 buffer32 and buffer64.
24158 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24159 writes instead of casting of buffer.
24160 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24162 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24165 2011-07-19 Andreas Schwab <schwab@redhat.com>
24167 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24169 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24171 * nscd/nscd.c (termination_handler): Don't do anything for a database
24172 if it has not yet been initialized.
24174 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24176 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24178 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24180 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24182 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24184 * po/nl.po: Update from translation team.
24185 * po/sv.po: Likewise.
24187 2011-07-16 Roland McGrath <roland@hack.frob.com>
24189 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24190 now disallowed by GCC.
24192 * configure.in (use-default-link): Default to yes if a test -shared
24193 link meets our qualifications.
24194 * configure: Regenerated.
24196 * config.make.in (output-format): New variable.
24197 * configure.in: Check for ld --print-output-format support.
24198 * configure: Regenerated.
24199 * Makerules ($(common-objpfx)format.lds)
24200 [$(output-format) != unknown]: Just use $(output-format),
24201 instead of the linker-script munging.
24203 2011-07-14 Roland McGrath <roland@hack.frob.com>
24205 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24206 of $(common-objpfx)shlib.lds.
24207 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24209 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24210 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24212 * configure.in (-z relro check): Adjust test code to add a large
24213 writable data section after it.
24214 * configure: Regenerated.
24216 2011-07-11 Roland McGrath <roland@hack.frob.com>
24218 * configure.in (-z relro check): Fix test code to make the variable
24220 * configure: Regenerated.
24222 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24224 * nscd/nscd.h (struct traced_file): Define.
24225 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24226 elements. Add traced_files.
24227 (inotify_fd): Declare.
24228 (register_traced_file): Declare.
24229 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24230 (inotify_fd): Export.
24231 (resolv_conf_descr): Remove.
24232 (nscd_init): Move inotify descriptor creation to main.
24233 Don't register files for notification here.
24234 (register_traced_file): New function.
24235 (invalidate_cache): Don't use reset_res to determine whether to call
24236 res_init, go through the list of registered files.
24237 (main_loop_poll): The inotify descriptors are now stored in the
24238 structures for the traced files.
24239 (main_loop_epoll): Likewise
24240 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24241 to __nss_disable_nscd.
24242 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24243 for a database anymore. Check the records for all the registered
24245 * nss/Makefile (libnss_files-routines): Add files-init.
24246 (libnss_db-routines): Add db-init.
24247 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24248 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24249 * nss/nss_db/db-init.c: New file.
24250 * nss/nss_files/files-init.c: New file.
24251 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24252 __nss_lookup_function.
24253 (__nss_lookup_function): Call nss_load_library.
24254 (nss_load_all_libraries): New function.
24255 (__nss_disable_nscd): Take parameter with callback function for files
24256 to register. Set is_nscd. Load all the DSOs for the NSS modules
24257 used for the cached services.
24258 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24259 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24260 options for features to all the files in nscd.
24262 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24264 2011-07-10 Roland McGrath <roland@hack.frob.com>
24266 * csu/elf-init.c (__libc_csu_init): Comment typo.
24268 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24270 * po/pl.po: Update from translation team.
24271 * po/ja.po: Likewise.
24272 * po/ru.po: Likewise.
24273 * po/ko.po: Likewise.
24274 * po/fr.po: Likewise.
24276 2011-07-09 Roland McGrath <roland@hack.frob.com>
24278 * configure.in (.ctors/.dtors header and trailer check):
24279 Use an empirical test on a built program.
24280 * configure: Regenerated.
24282 * configure.in (-z relro check): Use an empirical test on a built DSO.
24283 Detect, but do not require, on ia64.
24284 * configure: Regenerated.
24286 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24287 Update tests that use readelf to use $READELF instead.
24288 * configure: Regenerated.
24290 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24292 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24293 if the result is not used.
24295 2011-07-05 Andreas Jaeger <aj@suse.de>
24298 * stdlib/tst-strtod.c: Add testcase.
24300 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24302 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24303 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24304 The latter has a higher limit. Take additional parameter to pass to
24306 (__pathconf): Pass file to __statfs_link_max.
24307 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24309 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24313 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24314 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24316 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24317 (__statfs_filesize_max): Likewise.
24318 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24320 2011-07-05 Andreas Jaeger <aj@suse.de>
24322 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24324 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24326 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24328 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24331 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24333 * Makefile (strop-tests): Add strncat.
24334 * string/test-strncat.c: New file.
24336 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24338 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24340 2011-06-21 Andreas Jaeger <aj@suse.de>
24342 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24343 Copy rule from iconvdata/Makefile.
24345 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24348 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24349 but no long options are defined, just return 'W'.
24351 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24354 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24356 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24358 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24360 (innetgr): Likewise.
24362 2011-07-05 Roland McGrath <roland@hack.frob.com>
24364 * config.make.in (install_root): Default to $(DESTDIR).
24366 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24370 2011-07-02 Roland McGrath <roland@hack.frob.com>
24372 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24374 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24375 containing directory rather than embedding absolute directory names.
24377 * scripts/check-local-headers.sh: Rewritten using awk.
24378 Match by word, not by line. Print error messages for matches.
24379 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24381 * Makerules [shlib-lds-flags empty]:
24382 ($(common-objpfx)libc_pic.opts): New target.
24383 ($(common-objpfx)libc_pic.os.clean): New target.
24384 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24386 * config.make.in (OBJCOPY): New variable.
24387 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24388 * configure: Regenerated.
24390 * config.make.in (use-default-link): New variable.
24391 * configure.in (use_default_link): Grok --with-default-link to set it.
24392 * configure: Regenerated.
24393 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24394 (shlib-lds, shlib-lds-flags): Define to empty.
24396 * Makerules (shlib-lds): New variable.
24397 (shlib-lds-flags): New variable.
24398 (build-shlib, build-moduile, build-module-asneeded): Use it.
24399 ($(common-objpfx)libc.so): Use $(shlib-lds).
24400 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24401 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24403 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24404 DT_FLAGS/DT_FLAGS_1 with zero flags.
24406 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24407 linker script munging.
24409 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24411 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24413 * crypt/sha512.c (sha512_process_block): Perform total addition using
24414 128-bit if possible.
24415 (__sha512_finish_ctx): Likewise.
24416 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24418 * crypt/sha256.c (SWAP64): Define.
24419 (sha256_process_block): Perform total addition using 64-bit if
24421 (__sha256_finish_ctx): Likewise.
24423 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24425 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24427 * nscd/hstcache.c (cache_addhst): Likewise.
24428 * nscd/grpcache.c (cache_addgr): Likewise.
24429 * nscd/aicache.c (addhstaiX): Likewise
24430 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24432 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24434 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24436 * nscd/hstcache.c (cache_addhst): Likewise.
24437 * nscd/grpcache.c (cache_addgr): Likewise.
24438 * nscd/aicache.c (addhstaiX): Likewise
24440 2011-07-01 Andreas Schwab <schwab@redhat.com>
24442 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24443 domain only when needed.
24445 2011-06-30 Andreas Schwab <schwab@redhat.com>
24447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24448 is always restored.
24450 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24452 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24453 are re-adding the entry.
24454 * nscd/servicescache.c (cache_addserv): Likewise.
24456 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24458 * sysdeps/generic/dl-irel.h: fix protection against multiple
24460 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24462 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24465 * malloc/memusage.sh: Fix quoting in message.
24466 * debug/xtrace.sh: Likewise.
24468 * configure.in: Remove support for --experimental-malloc option, make
24470 * config.make.in: Likewise.
24471 * malloc/Makefile: Likewise.
24473 2011-06-27 Andreas Schwab <schwab@redhat.com>
24475 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24476 two-byte characters.
24478 2011-06-27 Roland McGrath <roland@hack.frob.com>
24480 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24481 AC_CACHE_CHECK invocation.
24482 * configure: Regenerated.
24484 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24486 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24489 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24490 bit from old_res_options.
24492 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24494 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24495 value type for setfct.
24497 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24500 __gettimeofday instead of gettimeofday.
24502 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24504 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24506 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24508 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24513 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24516 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24517 strcpy-sse2-unaligned strncpy-sse2-unaligned
24518 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24519 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24520 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24521 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24522 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24523 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24524 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24525 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24526 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24527 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24528 (STRCPY): Support SSE2 and SSSE3 versions.
24530 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24533 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24534 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24535 kernels which artificially limit size of requests.
24537 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24540 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24541 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24542 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24543 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24544 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24545 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24546 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24547 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24549 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24550 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24551 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24552 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24553 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24555 Enable unaligned load optimization for Intel Core i3, i5 and i7
24557 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24559 (index_Fast_Unaligned_Load): Define.
24560 (HAS_FAST_UNALIGNED_LOAD): Define.
24562 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24564 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24566 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24569 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24570 until it is clear that the information is realy needed.
24571 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24573 2011-06-22 Andreas Schwab <schwab@redhat.com>
24575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24577 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24580 /sys/devices/system/cpu/online if it is usable.
24582 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24583 reading the information from the /proc filesystem to once a second.
24585 2011-06-21 Andreas Jaeger <aj@suse.de>
24587 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24588 NULL after inclusion of kernel headers.
24590 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24592 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24593 calls to internal_setent.
24596 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24597 addresses using gethostbyname4_r ignore IPv4 addresses.
24599 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24600 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24602 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24604 2011-06-20 David S. Miller <davem@davemloft.net>
24606 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24608 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24610 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24611 (elf_irel): Use it.
24612 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24613 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24614 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24615 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24616 * sysdeps/x86_64/dl-irel.h: Likewise.
24618 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24619 * elf/dl-sym.c: Likewise.
24621 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24623 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24624 need to dereference resplen2.
24626 2011-06-14 Andreas Schwab <schwab@redhat.com>
24628 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24630 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24632 * Makeconfig: Define vardbdir and inst_vardbdir.
24633 * nss/Makefile: Add rules to install db-Makefile.
24635 * nss/nss_db/db-XXX.c: Cleanup.
24637 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24638 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24640 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24641 * nss/makedb.c: Implement -g option to specify that value strings
24642 are generated and should not be added to table iterated over for
24644 * nss/nss_db/db-initgroups.c: New file.
24646 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24649 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24650 (internal_getgrouplist): Adjust to name change.
24651 Update use_initgroups_entry if this is not the first call.
24652 * nss/databases.def: Add initgroups entry.
24654 * nss/makedb.c (compute_tables): Check result of multiple hash table
24655 sizes to minimize maximum chain length.
24657 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24659 * Versions.def: Add entry for libnss_db.
24660 * shlib-versions: Likewise.
24661 * nss/Makefile: Add rules to build libnss_db.
24662 * nss/Versions: Add libnss_db information. Organize libnss_files
24664 * nss/db-Makefile: Add gshadow support. Change rules for the new
24665 makedb progra. Some minor improvements to generate smaller files.
24666 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24668 * nss/makedb.c: ...here.
24669 Improve database format to be smaller and require less memory at
24671 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24673 * nss/nss_db/db-netgrp.c: Likewise.
24674 * nss/nss_db/db-open.c: Likewise.
24675 * nss/nss_files/flies-XXX.x: Adjust comments.
24676 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24677 * nss/nss_files/files-grp.c: Likewise.
24678 * nss/nss_files/files-hosts.c: Likewise.
24679 * nss/nss_files/files-network.c: Likewise.
24680 * nss/nss_files/files-proto.c: Likewise.
24681 * nss/nss_files/files-pwd.c: Likewise.
24682 * nss/nss_files/files-rpc.c: Likewise.
24683 * nss/nss_files/files-service.c: Likewise.
24684 * nss/nss_files/files-sgrp.c: Likewise.
24685 * nss/nss_files/files-spwd.c: Likewise.
24686 * nss/nss_db/db-alias.c: Removed.
24687 * nss/nss_db/dummy-db.h: Removed.
24689 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24691 * nss/makedb.c: Rewritten to not use database library.
24692 * nss/Makefile: Update to build new makedb program.
24694 2011-06-14 Andreas Jaeger <aj@suse.de>
24696 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24697 memset declaration.
24699 2011-06-10 Andreas Schwab <schwab@redhat.com>
24701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24704 2011-06-10 Roland McGrath <roland@hack.frob.com>
24706 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24707 * elf/Makefile ($(objpfx)ld.so): Likewise.
24709 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24710 Don't list ld.so twice in dependencies.
24712 * posix/bug-regex31.c: Include <stdlib.h>.
24714 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24716 * nis/nss_compat/compat-spwd.c
24717 (getspent_next_nss_netgr): Remove unused variable.
24718 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24720 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24721 nonmembers" output to use the right array.
24723 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24725 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24727 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24728 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24729 * catgets/gencat.c (read_input_file): Likewise.
24730 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24732 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24733 variable definition inside #if's controlling its use.
24735 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24737 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24739 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24741 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24744 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24746 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24747 * configure: Regenerated.
24749 * Makerules: Revert last change.
24750 * elf/Makefile: Likewise.
24752 2011-06-09 Roland McGrath <roland@hack.frob.com>
24754 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24755 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24756 (reloc-link): Likewise.
24758 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24760 * elf/Makefile: Add rules to build pldd.
24761 * elf/pldd.c: New file.
24762 * elf/pldd-xx.c: New file.
24764 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24766 * version.h: Update for 2.15 development version.
24768 2011-06-07 David S. Miller <davem@davemloft.net>
24770 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24773 elf_machine_lazy_rel): Likewise.
24774 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24775 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24776 elf_machine_lazy_rel): Likewise.
24777 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24778 dl_hwcap via passed in argument.
24779 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24782 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24784 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24786 2011-06-06 Roland McGrath <roland@hack.frob.com>
24789 * manual/fdl-1.1.texi: New file, verbatim from:
24790 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24791 * manual/lgpl-2.1.texi: New file, verbatim from:
24792 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24793 * manual/Makefile (licenses): New variable, list those new file names.
24795 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24797 * manual/fdl.texi: File removed.
24798 * manual/lesser.texi: File removed.
24799 * manual/libc.texinfo (Copying, Documentation License):
24800 Use new @include file names, put @appendix directive before @include.
24802 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24805 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24806 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24807 (mq_open): Add __NTH.
24809 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24812 Assume Intel Core i3/i5/i7 processor if AVX is available.
24814 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24819 2011-05-31 Andreas Schwab <schwab@redhat.com>
24821 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24822 memory. Use alloca_account. Fix memory leak when retrying.
24824 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24826 * version.h (RELEASE): Bump for 2.14 release.
24827 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24829 * config.make.in (RANLIB): Remove entry.
24831 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24833 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24834 (libc.pot): Work around missing support for .ksh extension in xgettext.
24837 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24838 if both request failed.
24839 (send_dg): In case of server errors clear resplen or *resplen2.
24842 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24843 when there are multiple maps.
24844 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24845 (_dl_fini): Remove test here.
24847 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24849 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24852 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24853 bit from old_res_options.
24854 (gaih_inet): Likewise.
24857 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24860 * resolv/res_init.c (res_setoptions): Make the code more compact.
24863 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24867 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24869 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24872 * malloc/malloc.h: Declare malloc hook variables as volatile.
24874 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24878 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24879 raise in the comment.
24880 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24881 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24882 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24884 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24887 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24888 grow the buffers more if it already has to be sufficient.
24889 (build_wcs_upper_buffer): Likewise.
24890 * posix/regexec.c (check_matching): Likewise.
24891 (clean_state_log_if_needed): Likewise.
24892 (extend_buffers): Don't enlarge buffers beyond size of the input
24894 Patches mostly by Emil Wojak <emil@wojak.eu>.
24895 * posix/bug-regex32.c: New file.
24896 * posix/Makefile (tests): Add bug-regex32.
24898 * locale/findlocale.c (_nl_find_locale): Return right away if
24899 _nl_explode_name failed.
24900 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24902 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24904 * debug/xtrace.sh: Unify messages.
24905 * malloc/memusage.sh: Likewise.
24908 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24909 time symbol from vDSO. Substitute with vsyscall if not available.
24910 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24913 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24914 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24915 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24916 Add sendmmsg and internal_sendmmsg.
24917 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24918 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24919 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24921 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24922 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24923 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24925 2011-05-27 Ulrich Drepper <drepper@gmail.com>
24928 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24929 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24931 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24935 * iconvdata/Makefile (tests): Add bug-iconv9.
24936 * iconvdata/bug-iconv9.c: New file.
24938 2011-05-27 Andreas Schwab <schwab@redhat.com>
24941 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24943 2011-05-25 Jakub Jelinek <jakub@redhat.com>
24945 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24946 (struct user_regs_struct): Change intcs field back to cs.
24948 2011-05-25 Ulrich Drepper <drepper@gmail.com>
24950 * po/ja.po: Update from translation team.
24952 2011-05-23 Ulrich Drepper <drepper@gmail.com>
24955 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24956 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24958 2011-05-20 Andreas Schwab <schwab@redhat.com>
24960 * stdlib/longlong.h: Update from GCC.
24962 2011-05-23 Andreas Schwab <schwab@redhat.com>
24964 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24966 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24967 Add parameter name.
24968 (__sysconf): Pass it down.
24970 2011-05-22 Ulrich Drepper <drepper@gmail.com>
24973 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24975 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24976 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24977 add in in __libc_use_alloca calls. Adjust callers.
24978 (glob): Use malloc in some situations.
24980 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24981 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24984 2011-05-21 Ulrich Drepper <drepper@gmail.com>
24986 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24987 and CLOCK_BOOTTIME_ALARM.
24990 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24993 * string/_strerror.c (__strerror_r): Print negative errors as signed
24997 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24998 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24999 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25001 * configure.in: Fix typo in redirection and correct removal of test
25002 files in two cases.
25005 * locale/setlocale.c (new_composite_name): Fix test to check for
25006 identical name of all categories.
25009 * libio/filedoalloc.c (local_isatty): New function.
25010 (_IO_file_doallocate): Use local_isatty.
25011 * stdio-common/perror.c (perror): In case a new stream is used
25012 forward the stream error.
25013 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25016 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25021 * include/alloca.h (extend_alloca_account): Define.
25024 * posix/regex.h: Fix comments with documentation of user-accessible
25025 fields after compilation and describe correct free'ing of pattern
25026 after re_compile_pattern.
25027 Patch by Reuben Thomas <rrt@sc3d.org>.
25029 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25031 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25032 and -mno-altivec to prevent the compiler from using Altivec and/or
25033 VSX instructions when the corresponding registers are not available.
25035 2011-05-19 Andreas Schwab <schwab@redhat.com>
25037 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25039 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25041 * libio/freopen.c (freopen): Use __dup2, not dup2.
25042 * libio/freopen64.c (freopen64): Likewise.
25044 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25047 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25048 * math/Makefile (tests): Add test-powl.
25049 (CFLAGS-test-powl.c): Define.
25050 * math/test-powl.c: New file.
25052 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25054 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25056 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25059 * iconvdata/gb18030.c: Update to GB18020-2005.
25061 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25063 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25064 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25065 Patch by Aharon Robbins <arnold@skeeve.com>.
25068 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25072 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25073 through underflows.
25076 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25077 point to strings before performing equality test for error_one_per_line
25081 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25085 (struct user_fpregs_struct): Avoid __uint*_t types.
25088 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25089 symbol info. Use it instead of calling _dl_addr locally.
25090 (lock_and_info): New function.
25091 (tr_freehook): Call lock_and_info and pass symbol info as additional
25092 parameter to tr_where.
25093 (tr_mallochook): Likewise.
25094 (tr_reallochook): Likewise.
25095 (tr_memalignhook): Likewise.
25097 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25098 used and couldn't be at all thread-safe.
25100 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25102 * libio/freopen.c (freopen): Don't close old file descriptor
25103 before the new one is opened. Instead dup the new file descriptor
25104 to the old one after the new stream is created.
25105 * libio/freopen64.c (freopen64): Likewise.
25106 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25107 * libio/fileops.c (_IO_new_file_close_it): Handle new
25108 _IO_FLAGS2_NOCLOSE flag.
25109 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25110 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25111 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25112 _IO_FLAGS2_NOCLOSE flag.
25113 * include/unistd.h: Add hidden_proto for dup3.
25114 Define __have_dup3.
25115 * io/dup3.c: Define hidden symbol.
25116 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25119 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25120 when an incomplete long option is used.
25121 * posix/tst-getopt_long1.c: New file.
25122 * posix/Makefile (tests): Add tst-getopt_long1.
25125 * scripts/config.guess: Update from autoconf-2.68.
25126 * scripts/config.sub: Likewise.
25129 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25131 (has_cpuclock): ...this. New function.
25132 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25133 macro here based on has_cpuclock code.
25136 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25137 First byte (not low byte) is now always NUL.
25138 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25141 Use non-cancelable interfaces.
25144 * locale/iso-639.def: Add entry for Sorani.
25147 * include/stdlib.h: Move include protection to the right place.
25148 Define abort_msg_s. Declare __abort_msg with it.
25149 * stdlib/abort.c (__abort_msg): Adjust type.
25150 * assert/assert.c (__assert_fail_base): New function. Majority
25151 of code from __assert_fail. Allocate memory for __abort_msg with
25153 (__assert_fail): Now call __assert_fail_base.
25154 * assert/assert-perr.c: Remove bulk of implementation. Use
25155 __assert_fail_base.
25156 * include/assert.hL Declare __assert_fail_base.
25157 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25159 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25161 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25165 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25166 until all modules are registered in the DTV.
25167 * elf/Makefile: Add rules to build and run tst-tls19.
25168 * elf/tst-tls19.c: New file.
25169 * elf/tst-tls19mod1.c: New file.
25170 * elf/tst-tls19mod2.c: New file.
25171 * elf/tst-tls19mod3.c: New file.
25172 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25175 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25179 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25180 two-byte sequence errors.
25181 * iconvdata/Makefile (tests): Add bug-iconv8.
25182 * iconvdata/bug-iconv8.c: New file.
25185 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25188 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25191 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25192 (dummy_getcfa): New function.
25193 (init): Get _Unwind_GetCFA address, use dummy if not found.
25194 (backtrace_helper): In recursion check, also check whether CFA changes.
25195 (__backtrace): Completely initialize arg.
25197 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25198 storing incomplete byte sequence in state object. Avoid testing for
25199 guaranteed too small input if we know there is enough data available.
25201 2011-05-11 Andreas Schwab <schwab@redhat.com>
25203 * Makeconfig (+link-pie): Indent.
25204 * Rules (binaries-pie): Define if $(have-fpie) and
25206 (binaries-shared): Also filter out $(binaries-pie).
25207 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25208 * nscd/Makefile (others-pie): Add nscd.
25209 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25210 ($(objpfx)nscd): Remove command override.
25211 * login/Makefile (others-pie): Add pt_chown.
25212 ($(objpfx)pt_chown): Remove command override.
25213 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25214 remove command overrides.
25216 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25218 * libio/tst_putwc.c: Fix error messages.
25221 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25222 currently writing and seek to current position when not.
25223 * libio/Makefile (tests): Add bug-fclose1.
25224 * libio/bug-fclose1.c: New file.
25226 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25229 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25230 don't set DF_1_NODELETE here.
25231 (do_lookup_x): When entering new entry test for copy relocation
25232 and if necessary set DF_1_NODELETE flag.
25233 * elf/tst-unique4.cc: New file.
25234 * elf/tst-unique4.h: New file.
25235 * elf/tst-unique4lib.cc: New file.
25236 * elf/Makefile: Add rules to build and run tst-unique4.
25237 Patch by Piotr Bury <pbury@goahead.com>.
25239 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25242 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25245 * misc/mntent_r.c (addmntent): Flush the stream after the output
25248 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25249 (is_trusted_path_normalize): Skip initial colon. Append slash
25250 to empty buffer. Duplicate is_trusted_path code but allow
25251 constructed patch to be prefix.
25252 (is_dst): Allow $ORIGIN followed by /.
25253 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25254 Correct testing of result of is_trusted_path_normalize
25255 (decompose_rpath): Fix warning.
25257 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25260 * grp/initgroups.c (internal_getgrouplist): When we found the service
25261 list through the initgroups entry in nsswitch.conf do not always
25262 continue on a successful lookup. Don't always use the
25263 __nss_group_database value if it is set.
25264 * nss/nsswitch.conf (initgroups): Change action for successful db
25265 lookup to continue for compatibility.
25267 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25270 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25272 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25274 * iconvdata/tst-tables.sh: Likewise.
25275 * iconvdata/cp770.c: New file.
25276 * iconvdata/cp771.c: New file.
25277 * iconvdata/cp772.c: New file.
25278 * iconvdata/cp773.c: New file.
25279 * iconvdata/cp774.c: New file.
25280 * iconvdata/testdata/CP770: New file.
25281 * iconvdata/testdata/CP770..UTF8: New file.
25282 * iconvdata/testdata/CP771: New file.
25283 * iconvdata/testdata/CP771..UTF8: New file.
25284 * iconvdata/testdata/CP772: New file.
25285 * iconvdata/testdata/CP772..UTF8: New file.
25286 * iconvdata/testdata/CP773: New file.
25287 * iconvdata/testdata/CP773..UTF8: New file.
25288 * iconvdata/testdata/CP774: New file.
25289 * iconvdata/testdata/CP774..UTF8: New file.
25291 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25293 * iconvdata/gen-8bit-gap.sh: Likewise.
25294 * iconvdata/gen-8bit.sh: Likewise.
25296 * locale/iso-639.def: Add ary entry.
25299 * locale/C-translit.h.in: Add U20A1 transliteration.
25302 * locale/iso-639.def: Add wae entry.
25303 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25306 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25310 * locale/C-translit.h.in: Add entry for U20B9.
25311 Patch by pravin.d.s@gmail.com.
25313 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25316 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25317 ENAMETOOLONG use generic getcwd.
25318 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25319 in rtld. Use *stat64.
25320 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25321 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25322 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25323 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25324 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25325 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25326 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25327 __fstatat64 macros.
25328 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25329 * dirent/rewinddir.c: Add libc_hidden_def.
25330 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25331 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25333 * include/dirent.h (__alloc_dir): Add flags parameter.
25334 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25335 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25337 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25338 from fdopendir if O_CLOEXEC is already set.
25340 2011-03-15 Alan Modra <amodra@gmail.com>
25342 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25343 l_tls_firstbyte_offset non-zero. Save padding offset in
25344 l_tls_firstbyte_offset for later use.
25345 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25346 freeing static tls block.
25348 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25350 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25351 where #ifdef was intended. The intent is to prevent ARG_MAX from
25352 being defined by the kernel headers.
25354 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25357 * resolv/resolv.h: Define RES_NOTLDQUERY.
25358 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25359 no-tld-query and set RES_NOTLDQUERY.
25360 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25361 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25362 modern BIND to search name as TLD unless forbidden.
25364 2011-05-07 Petr Baudis <pasky@suse.cz>
25365 Ulrich Drepper <drepper@gmail.com>
25368 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25369 (is_trusted_path): ...to here.
25370 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25371 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25372 using is_trusted_path_normalize() in setuid scripts.
25374 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25376 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25377 __BEGIN/__END_DECLS.
25379 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25381 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25382 NSS_STATUS_NOTFOUND if no record was found.
25384 2011-05-05 Andreas Schwab <schwab@redhat.com>
25386 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25387 (headers-not-in-tirpc): Remove rpc/netdb.h
25388 * resolv/netdb.h: Revert last change.
25390 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25392 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25393 circular dependency between libgcc.a and libc.a.
25395 2011-05-05 Andreas Schwab <schwab@redhat.com>
25397 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25398 * nis/Makefile: Don't install rpcsvc/*.
25399 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25400 instead of <rpc/types.h>.
25401 (MAXHOSTNAMELEN): Define.
25403 2011-05-03 Andreas Schwab <schwab@redhat.com>
25405 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25407 2011-04-28 Maciej Babinski <mbabinski@google.com>
25410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25411 gethostbyname4_r when IPv6 results are possible.
25413 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25416 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25417 _PC_PIPE_BUF handling.
25419 2011-04-30 Bruno Haible <bruno@clisp.org>
25422 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25423 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25425 * inet/getnameinfo.c (getnameinfo): Likewise.
25427 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25429 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25430 to groups setting in database lookup.
25431 * nss/nsswitch.conf: Add initgroups entry.
25433 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25436 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25438 Patch by Eric Blake <eblake@redhat.com>.
25440 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25442 * sunrpc/Makefile (need-export-routines): Add svc_run.
25443 (routines): Remove svc_run.
25444 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25445 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25446 * sunrpc/svc_run.c (svc_run): Likewise.
25447 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25449 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25452 problem in reallocation in last patch.
25454 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25456 * sunrpc/Makefile: Move inclusion of Rules.
25458 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25460 * nss/nss_files/files-initgroups.c: New file.
25461 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25462 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25463 _nss_files_initgroups_dyn.
25465 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25467 * elf/elf.h (R_ARM_IRELATIVE): Define.
25469 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25471 * po/ru.po: Update from translation team.
25473 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25475 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25478 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25481 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25482 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25484 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25487 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25489 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25491 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25493 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25495 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25498 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25500 * stdlib/bug-getcontext.c: New file.
25501 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25503 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25505 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25506 instructions into .machine "z9-109".
25507 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25508 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25510 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25512 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25513 between environment variables and auxiliary vector.
25515 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25517 * Makefile: Add rules to build linkobj/libc.so.
25518 * include/libc-symbols.h: Define libc_hidden_nolink.
25519 * include/rpc/auth.h: Mark functions which are to be hidden.
25520 * include/rpc/auth_des.h: Likewise.
25521 * include/rpc/auth_unix.h: Likewise.
25522 * include/rpc/clnt.h: Likewise.
25523 * include/rpc/des_crypt.h: Likewise.
25524 * include/rpc/key_prot.h: Likewise.
25525 * include/rpc/pmap_clnt.h: Likewise.
25526 * include/rpc/pmap_prot.h: Likewise.
25527 * include/rpc/pmap_rmt.h: Likewise.
25528 * include/rpc/rpc_msg.h: Likewise.
25529 * include/rpc/svc.h: Likewise.
25530 * include/rpc/svc_auth.h: Likewise.
25531 * include/rpc/xdr.h: Likewise.
25532 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25533 * nss/Makefile: Likewise.
25534 * sunrpc/Makefile: Don't install headers. Build library with normal
25535 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25536 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25537 for the compat linking library. Remove use of INTDEF/INTUSE.
25538 * sunrpc/auth_none.c: Likewise.
25539 * sunrpc/auth_unix.c: Likewise.
25540 * sunrpc/authdes_prot.c: Likewise.
25541 * sunrpc/authuxprot.c: Likewise.
25542 * sunrpc/clnt_gen.c: Likewise.
25543 * sunrpc/clnt_perr.c: Likewise.
25544 * sunrpc/clnt_raw.c: Likewise.
25545 * sunrpc/clnt_simp.c: Likewise.
25546 * sunrpc/clnt_tcp.c: Likewise.
25547 * sunrpc/clnt_udp.c: Likewise.
25548 * sunrpc/clnt_unix.c: Likewise.
25549 * sunrpc/des_crypt.c: Likewise.
25550 * sunrpc/des_soft.c: Likewise.
25551 * sunrpc/get_myaddr.c: Likewise.
25552 * sunrpc/key_call.c: Likewise.
25553 * sunrpc/key_prot.c: Likewise.
25554 * sunrpc/netname.c: Likewise.
25555 * sunrpc/pm_getmaps.c: Likewise.
25556 * sunrpc/pm_getport.c: Likewise.
25557 * sunrpc/pmap_clnt.c: Likewise.
25558 * sunrpc/pmap_prot.c: Likewise.
25559 * sunrpc/pmap_prot2.c: Likewise.
25560 * sunrpc/pmap_rmt.c: Likewise.
25561 * sunrpc/publickey.c: Likewise.
25562 * sunrpc/rpc_cmsg.c: Likewise.
25563 * sunrpc/rpc_common.c: Likewise.
25564 * sunrpc/rpc_dtable.c: Likewise.
25565 * sunrpc/rpc_prot.c: Likewise.
25566 * sunrpc/rpc_thread.c: Likewise.
25567 * sunrpc/rtime.c: Likewise.
25568 * sunrpc/svc.c: Likewise.
25569 * sunrpc/svc_auth.c: Likewise.
25570 * sunrpc/svc_authux.c: Likewise.
25571 * sunrpc/svc_raw.c: Likewise.
25572 * sunrpc/svc_run.c: Likewise.
25573 * sunrpc/svc_simple.c: Likewise.
25574 * sunrpc/svc_tcp.c: Likewise.
25575 * sunrpc/svc_udp.c: Likewise.
25576 * sunrpc/svc_unix.c: Likewise.
25577 * sunrpc/svcauth_des.c: Likewise.
25578 * sunrpc/xcrypt.c: Likewise.
25579 * sunrpc/xdr.c: Likewise.
25580 * sunrpc/xdr_array.c: Likewise.
25581 * sunrpc/xdr_float.c: Likewise.
25582 * sunrpc/xdr_intXX_t.c: Likewise.
25583 * sunrpc/xdr_mem.c: Likewise.
25584 * sunrpc/xdr_rec.c: Likewise.
25585 * sunrpc/xdr_ref.c: Likewise.
25586 * sunrpc/xdr_sizeof.c: Likewise.
25587 * sunrpc/xdr_stdio.c: Likewise.
25589 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25592 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25593 * sysdeps/ia64/dl-tls.h: Likewise.
25594 * sysdeps/powerpc/dl-tls.h: Likewise.
25595 * sysdeps/s390/dl-tls.h: Likewise.
25596 * sysdeps/sh/dl-tls.h: Likewise.
25597 * sysdeps/sparc/dl-tls.h: Likewise.
25598 * sysdeps/x86_64/dl-tls.h: Likewise.
25599 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25601 2011-03-14 Andreas Schwab <schwab@redhat.com>
25603 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25604 rpath element also skip the following colon.
25605 (expand_dynamic_string_token): Add is_path parameter and pass
25606 down to DL_DST_REQUIRED and _dl_dst_substitute.
25607 (decompose_rpath): Call expand_dynamic_string_token with
25608 non-zero is_path. Ignore empty rpaths.
25609 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25612 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25617 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25620 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25621 Patch by Filipe David Manana <fdmanana@apache.org>.
25623 2011-04-07 Andreas Schwab <schwab@redhat.com>
25625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25626 Maintain aligned stack.
25627 (CHECK_RSP): Remove unused macro.
25629 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25631 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25632 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25634 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25636 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25638 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25640 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25643 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25644 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25645 * sysdeps/x86_64/memmove.c: New file.
25646 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25647 (memcpy): Renamed to ...
25648 (__new_memcpy): This.
25649 (memcpy): Provide GLIBC_2_14 memcpy.
25650 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25651 (memcpy): Provide GLIBC_2_2_5 memcpy.
25653 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25656 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25658 2011-03-30 Andreas Schwab <schwab@redhat.com>
25660 * misc/syncfs.c: New file.
25661 * misc/Makefile (routines): Add syncfs.
25662 * posix/unistd.h: Declare syncfs.
25663 * sysdeps/unix/syscalls.list: Add syncfs.
25665 2011-04-01 Andreas Schwab <schwab@redhat.com>
25667 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25669 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25670 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25672 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25673 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25674 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25677 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25681 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25687 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25688 sync_file_range.c with -fexceptions.
25689 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25690 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25691 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25692 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25693 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25694 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25696 sync_file_range as cancellation point
25697 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25698 now a wrapper around __call_sync_file_range with cancellation handling.
25699 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25700 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25701 function name to __call_sync_file_range.
25702 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25703 Add call_sync_file_range.
25705 2011-04-01 Andreas Schwab <schwab@redhat.com>
25707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25710 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25712 * iconv/iconv.h: Fix typo in comment.
25713 * io/fcntl.h: Likewise.
25714 * libio/stdio.h: Likewise.
25715 * posix/spawn.h: Likewise.
25716 * posix/unistd.h: Likewise.
25717 * stdlib/stdlib.h: Likewise.
25718 * time/time.h: Likewise.
25719 * wcsmbs/wchar.h: Likewise.
25721 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25722 open_by_handle): Add.
25723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25724 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25725 Augment a few comments.
25726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25731 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25734 * io/fcntl.h (AT_EMPTY_PATH): Define.
25736 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25738 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25739 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25740 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25742 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25743 * Versions.def: Add GLIBC_2.14.
25744 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25747 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25749 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25751 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25753 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25756 * string/test-strncmp.c (do_page_test): New function.
25757 (check2): Likewise.
25758 (test_main): Call check2.
25759 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25761 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25764 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25765 Handle cache information in CPU leaf 4.
25766 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25768 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25771 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25772 character representation.
25773 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25775 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25777 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25778 END(__isnan) to END(__isnanf) to match function entry point/label
25779 EALIGN(__isnanf,...).
25781 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25783 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25785 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25788 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25789 copy from the symbol referenced in the relocation to initialize the
25791 Patch by Piotr Bury <pbury@goahead.com>.
25792 * elf/Makefile: Add rules to build and tst-unique3.
25793 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25794 * elf/tst-unique3.cc: New file.
25795 * elf/tst-unique3.h: New file.
25796 * elf/tst-unique3lib.cc: New file.
25797 * elf/tst-unique3lib2.cc: New file.
25799 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25801 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25803 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25804 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25807 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25809 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25810 to-be-loaded object along a path to loader is ld.so.
25812 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25813 Ulrich Drepper <drepper@gmail.com>
25815 * sysdeps/x86_64/memset.S: After aligning destination, code
25816 branches to different locations depending on the value of
25817 misalignment, when multiarch is enabled. Fix this.
25819 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25821 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25822 Set _x86_64_preferred_memory_instruction for AMD processsors.
25823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25824 Set bit_Prefer_SSE_for_memop for AMD processors.
25826 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25828 * libio/fmemopen.c (fmemopen): Optimize a bit.
25830 2011-03-03 Andreas Schwab <schwab@redhat.com>
25832 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25834 2011-03-03 Roland McGrath <roland@redhat.com>
25836 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25838 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25840 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25841 __bzero_ultra1 instead of __memset_ultra1.
25843 2011-02-23 Andreas Schwab <schwab@redhat.com>
25844 Ulrich Drepper <drepper@gmail.com>
25847 * include/link.h (struct link_map): Add l_orig_initfini.
25848 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25849 returning unsuccessfully.
25850 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25851 close of a file loaded at startup, restore the original l_initfini
25853 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25854 list, store the pointer.
25855 * elf/Makefile ($(objpfx)noload-mem): New rule.
25856 (noload-ENV): Define.
25857 (tests): Add $(objpfx)noload-mem.
25858 * elf/noload.c: Include <memcheck.h>.
25859 (main): Call mtrace. Close all opened handles.
25861 2011-02-17 Andreas Schwab <schwab@redhat.com>
25864 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25865 dependencies are missing.
25867 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25869 Fix __if_freereq crash: Unlike the generic version which uses free,
25871 * sysdeps/mach/hurd/ifreq.h: New file.
25873 2011-01-27 Petr Baudis <pasky@suse.cz>
25874 Ulrich Drepper <drepper@gmail.com>
25877 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25878 to extend_alloca().
25879 * stdio-common/bug23.c: New file.
25880 * stdio-common/Makefile (tests): Add bug23.
25882 2010-09-28 Andreas Schwab <schwab@redhat.com>
25883 Ulrich Drepper <drepper@gmail.com>
25886 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25887 before performing relro protection. At old place add assertion
25888 to make sure nothing changed.
25890 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25891 Glauber de Oliveira Costa <glommer@gmail.com>
25893 * elf/elf.h: Add new ARM TLS relocs.
25895 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25898 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25900 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25902 * sysdeps/wordsize-64/tst-writev.c: New file.
25904 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25906 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25907 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25908 insns in _dl_start to prevent a TOC reference before relocs are
25911 2011-02-15 Ulrich Drepper <drepper@gmail.com>
25914 * Makeconfig: Remove RANLIB definition.
25915 * Makerules: Don't use RANLIB.
25916 * aclocal.m4: Remove ranlib test.
25917 * configure.in: No need to check for ranlib.
25918 * elf/rtld-Rules: Don't use RANLIB.
25920 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25922 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25924 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25925 inclusion protection macro.
25927 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25928 SIGRTMIN and SIGRTMAX and print information in that case only when
25929 SIGRTMIN is defined.
25931 2011-02-11 Jakub Jelinek <jakub@redhat.com>
25933 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25934 arginfo fn returning -1.
25936 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25937 and thousands string is zero terminated.
25939 2011-02-03 Andreas Schwab <schwab@redhat.com>
25941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25942 sysdeps/unix/sysv/linux/bits/socket.h.
25944 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25946 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25947 (__CPU_COUNT): Remove old macros.
25948 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25949 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25950 (__CPU_ALLOC, __CPU_FREE): Add macros.
25951 (__sched_cpualloc, __sched_cpufree): Add declarations.
25953 2011-02-05 Ulrich Drepper <drepper@gmail.com>
25955 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25956 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25957 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25958 (readdhstai): Return value of addhstaiX call.
25959 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25960 (addgrbyX): Return value returned by cache_addgr.
25961 (readdgrbyname): Return value returned by addgrbyX.
25962 (readdgrbygid): Likewise.
25963 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25964 (addpwbyX): Return value returned by cache_addpw.
25965 (readdpwbyname): Return value returned by addhstbyX.
25966 (readdpwbyuid): Likewise.
25967 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25968 (addservbyX): Return value returned by cache_addserv.
25969 (readdservbyname): Return value returned by addservbyX:
25970 (readdservbyport): Likewise.
25971 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25972 (addhstbyX): Return value returned by cache_addhst.
25973 (readdhstbyname): Return value returned by addhstbyX.
25974 (readdhstbyaddr): Likewise.
25975 (readdhstbynamev6): Likewise.
25976 (readdhstbyaddrv6): Likewise.
25977 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25978 (readdinitgroups): Return value returned by addinitgroupsX.
25979 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25980 (prune_cache): Keep track of timeout value of re-added entries.
25981 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25982 * nscd/nscd.h: Adjust prototypes of readd* functions.
25984 2011-02-04 Roland McGrath <roland@redhat.com>
25986 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25987 (nis_stats): Likewise.
25988 * nis/nis_modify.c (nis_modify): Likewise.
25989 * nis/nis_remove.c (nis_remove): Likewise.
25990 * nis/nis_add.c (nis_add): Likewise.
25992 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25994 * posix/fnmatch_loop.c: Add some consts.
25996 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25998 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26001 * config.make.in (config-cflags-novzeroupper): Define.
26002 * configure.in: Substitute libc_cv_cc_novzeroupper.
26003 * elf/Makefile (AVX-CFLAGS): Define.
26004 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26005 (CFLAGS-tst-auditmod4a.c): Likewise.
26006 (CFLAGS-tst-auditmod4b.c): Likewise.
26007 (CFLAGS-tst-auditmod6b.c): Likewise.
26008 (CFLAGS-tst-auditmod6c.c): Likewise.
26009 (CFLAGS-tst-auditmod7b.c): Likewise.
26010 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26012 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26014 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26015 function to the callback.
26016 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26018 2011-02-02 Andreas Schwab <schwab@redhat.com>
26020 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26023 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26026 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26028 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26030 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26033 * elf/Makefile: Add rules to build and run new test.
26034 * elf/tst-initorder.c: New file.
26035 * elf/tst-initorder.exp: New file.
26036 * elf/tst-initordera1.c: New file.
26037 * elf/tst-initordera2.c: New file.
26038 * elf/tst-initordera3.c: New file.
26039 * elf/tst-initordera4.c: New file.
26040 * elf/tst-initorderb1.c: New file.
26041 * elf/tst-initorderb2.c: New file.
26042 * elf/tst-order-a1.c: New file.
26043 * elf/tst-order-a2.c: New file.
26044 * elf/tst-order-a3.c: New file.
26045 * elf/tst-order-a4.c: New file.
26046 * elf/tst-order-b1.c: New file.
26047 * elf/tst-order-b2.c: New file.
26048 * elf/tst-order-main.c: New file.
26049 New test case by George Gensure <werkt0@gmail.com>.
26051 2010-10-01 Andreas Schwab <schwab@redhat.com>
26053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26054 decoding ACE if AI_CANONIDN.
26056 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26058 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26060 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26062 * version.h (RELEASE): Bump for 2.13 release.
26063 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26065 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26069 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26070 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26071 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26072 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26073 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26074 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26076 * posix/getconf.c: Update copyright year.
26077 * catgets/gencat.c: Likewise.
26078 * csu/version.c: Likewise.
26079 * debug/catchsegv.sh: Likewise.
26080 * debug/xtrace.sh: Likewise.
26081 * elf/ldconfig.c: Likewise.
26082 * elf/ldd.bash.in: Likewise.
26083 * elf/sprof.c (print_version): Likewise.
26084 * iconv/iconv_prog.c: Likewise.
26085 * iconv/iconvconfig.c: Likewise.
26086 * locale/programs/locale.c: Likewise.
26087 * locale/programs/localedef.c: Likewise.
26088 * malloc/memusage.sh: Likewise.
26089 * malloc/mtrace.pl: Likewise.
26090 * nscd/nscd.c (print_version): Likewise.
26091 * nss/getent.c: Likewise.
26093 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26094 PF_CAIF, and PF_ALG.
26095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26097 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26099 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26100 (modules-names): Use them.
26101 (ifunc-test-modules, ifunc-pie-tests): Define.
26102 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26103 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26104 (test-extras): Likewise.
26105 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26106 $(compile-command.c).
26107 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26108 (all-built-dso): Define.
26109 (check-textrel.out, check-execstack.out): Depend on it.
26111 * configure.in: Don't override --enable-multi-arch.
26113 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26116 * nscd/hstcache.c (tryagain): Define.
26117 (cache_addhst): Return tryagain not notfound for temporary errors.
26118 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26121 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26125 to make the syscall.
26126 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26129 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26130 and fall back to matching as normal character if the string ends before
26131 the matching ']' is found. This is what POSIX requires.
26132 * posix/testfnm.c: Adjust test result.
26133 * posix/globtest.sh: Adjust test result. Add new test.
26134 * posix/tst-fnmatch.input: Likewise.
26135 * posix/tst-fnmatch2.c: Add new test.
26137 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26139 * elf/Makefile (check-execstack): Revert last change. Depend on
26141 (check-execstack.h): New target.
26142 (generated): Add check-execstack.h.
26143 * elf/check-execstack.c: Include "check-execstack.h".
26144 (main): Revert last change.
26145 (handle_file): Return zero if GNU_STACK is absent and
26146 DEFAULT_STACK_PERMS doesn't include PF_X.
26148 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26150 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26151 in child fails because the descriptor is already closed.
26152 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26153 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26154 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26157 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26161 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26162 temporary buffer used to handle multi lookups locally.
26163 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26165 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26167 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26170 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26172 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26173 alignment for SSE2.
26175 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26178 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26179 characters. When rounding increased number of integer digits recompute
26181 * stdio-common/tst-grouping.c: New file.
26182 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26184 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26186 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26187 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26189 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26191 * bits/select.h: Likewise.
26193 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26195 * po/ja.po: Update from translation team.
26197 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26200 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26201 implementation just like for lxstat, fxstatat, et al.
26203 2010-12-27 Jim Meyering <meyering@redhat.com>
26206 * posix/regexec.c (build_trtable): Return failure indication upon
26207 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26209 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26212 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26213 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26214 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26215 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26218 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26221 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26222 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26224 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26226 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26227 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26228 script has SORT_BY_INIT_PRIORITY.
26229 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26230 NO_CTORS_DTORS_SECTIONS is defined.
26231 * elf/soinit.c: Likewise.
26232 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26233 NO_CTORS_DTORS_SECTIONS is defined.
26234 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26235 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26236 * sysdeps/sh/init-first.c: Likewise.
26237 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26239 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26241 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26242 always use the slow path.
26244 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26246 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26247 similar rule which adds the sysdep directories to the header search in
26248 order to pick up the correct platform stackinfo.h.
26249 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26250 perform test if it is, otherwise return successfully without testing.
26251 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26252 DEFAULT_STACK_PERMS define in stackinfo.h.
26253 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26254 defined in stackinfo.h.
26255 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26256 DEFAULT_STACK_PERMS defined in stackinfo.h.
26257 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26258 * sysdeps/ia64/stackinfo.h: Likewise.
26259 * sysdeps/s390/stackinfo.h: Likewise.
26260 * sysdeps/sh/stackinfo.h: Likewise.
26261 * sysdeps/sparc/stackinfo.h: Likewise.
26262 * sysdeps/x86_64/stackinfo.h: Likewise.
26263 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26264 PF_X for powerpc64. Retain PF_X for powerpc32.
26266 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26268 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26270 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26271 GETDENTS_64BIT_ALIGNED.
26273 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26275 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26277 2010-12-10 Andreas Schwab <schwab@redhat.com>
26279 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26282 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26283 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26285 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26286 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26288 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26291 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26294 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26296 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26298 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26300 * po/it.po: Update from translation team.
26302 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26307 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26309 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26311 2010-11-24 Andreas Schwab <schwab@redhat.com>
26313 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26315 (gaih_getanswer_slice): Likewise.
26317 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26321 2010-05-31 Petr Baudis <pasky@suse.cz>
26324 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26325 silently even in the chroot mode.
26327 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26329 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26330 last patch a bit. Pretty printing
26332 2010-05-31 Petr Baudis <pasky@suse.cz>
26335 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26336 initialization of skip_initgroups_dyn.
26338 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26340 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26343 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26345 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26347 2010-11-11 Andreas Schwab <schwab@redhat.com>
26349 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26350 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26351 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26352 ($(objpfx)tst-fnmatch-mem): New rule.
26353 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26354 * posix/tst-fnmatch.c (main): Call mtrace.
26356 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26359 Support Intel processor model 6 and model 0x2c.
26361 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26363 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26366 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26369 * string/test-strncasecmp.c (check_result): New function.
26370 (do_one_test): Use it.
26371 (check1): New function.
26372 (test_main): Use it.
26373 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26374 Support strcasecmp and strncasecmp.
26376 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26379 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26380 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26382 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26384 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26388 * sysdeps/x86_64/multiarch/bzero.S: New file.
26389 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26390 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26391 * sysdeps/x86_64/multiarch/memset.S: New file.
26392 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26394 Set bit_Prefer_SSE_for_memop for Intel processors.
26395 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26397 (index_Prefer_SSE_for_memop): Define.
26398 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26400 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26402 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26403 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26405 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26408 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26409 (__x86_64_raw_data_cache_size_half): Likewise.
26410 (__x86_64_raw_shared_cache_size): Likewise.
26411 (__x86_64_raw_shared_cache_size_half): Likewise.
26413 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26414 (__x86_64_raw_data_cache_size_half): Likewise.
26415 (__x86_64_raw_shared_cache_size): Likewise.
26416 (__x86_64_raw_shared_cache_size_half): Likewise.
26417 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26418 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26419 and __x86_64_raw_shared_cache_size_half. Round
26420 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26421 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26422 to multiple of 256 bytes.
26424 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26427 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26428 of inacessible symlinks. Verify result of symlink before returning it.
26429 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26430 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26432 2010-10-28 Erich Ritz <erichritz@gmail.com>
26434 * math/math.h (isinf): Fix typo in comment.
26436 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26438 * po/da.po: Update from translation team.
26440 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26442 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26443 is added to the list.
26445 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26446 Ulrich Drepper <drepper@gmail.com>
26448 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26449 the global list here. Move code to...
26450 (_dl_add_to_namespace_list): ...here. New function.
26451 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26452 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26453 * elf/dl-load.c (lose): Don't remove the element from the list.
26454 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26455 (_dl_map_object): Likewise.
26457 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26460 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26461 into all bytes of SSE register.
26462 Patch by Richard Li <richardpku@gmail.com>.
26464 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26467 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26470 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26472 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26473 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26474 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26475 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26480 2010-10-22 Andreas Schwab <schwab@redhat.com>
26482 * include/dlfcn.h (__RTLD_SECURE): Define.
26483 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26484 mode & __RTLD_SECURE instead.
26485 (open_path): Rename preloaded parameter to secure.
26486 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26487 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26488 * elf/dl-deps.c (openaux): Likewise.
26489 * elf/rtld.c (struct map_args): Remove is_preloaded.
26490 (map_doit): Don't use it.
26491 (dl_main): Likewise.
26492 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26493 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26495 2010-09-09 Andreas Schwab <schwab@redhat.com>
26497 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26498 (sysd-rules-targets): Remove duplicates.
26499 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26500 rtld-%.$o dependency.
26502 2010-10-18 Andreas Schwab <schwab@redhat.com>
26504 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26505 _dl_map_object do it.
26507 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26509 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26510 fast fma builtins, define the macros in the C99 standard.
26511 (FP_FAST_FMAF): Likewise.
26512 (FP_FAST_FMAL): Likewise.
26513 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26515 * bits/mathdef.h: Update copyright year.
26516 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26518 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26520 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26521 builtins, define the macros in the C99 standard.
26522 (FP_FAST_FMAF): Likewise.
26523 (FP_FAST_FMAL): Likewise.
26524 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26526 (FP_FAST_FMAF): Likewise.
26528 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26531 * math/libm-test.inc (fma_test): Some new testcases.
26532 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26533 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26534 y and infinite z. Do multiplication by C already in long double.
26535 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26537 y and infinite z. Do bitwise or of inexact bit into u.d.
26538 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26539 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26540 * sysdeps/i386/fpu/s_fma.S: Removed.
26541 * sysdeps/i386/fpu/s_fmal.S: Removed.
26543 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26546 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26548 computation is not scheduled after fetestexcept. Fix value
26549 of minimum denormal long double.
26551 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26554 * math/libm-test.inc (fma_test): Add some more tests.
26555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26558 2010-10-15 Andreas Schwab <schwab@redhat.com>
26560 * scripts/data/localplt-s390-linux-gnu.data: New file.
26561 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26563 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26566 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26567 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26569 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26571 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26573 if one of x and y is very large and the other is subnormal.
26574 * sysdeps/s390/fpu/s_fmaf.c: New file.
26575 * sysdeps/s390/fpu/s_fma.c: New file.
26576 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26577 * sysdeps/powerpc/fpu/s_fma.S: New file.
26578 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26579 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26580 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26582 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26585 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26587 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26588 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26589 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26590 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26591 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26592 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26593 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26595 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26598 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26599 * posix/bug-regex31.input: Add test case.
26601 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26603 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26604 * posix/bug-regex31.input: New file.
26607 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26608 (parse_sub_exp): Fix last change, use postorder.
26610 * posix/bug-regex31.c: New file.
26611 * posix/Makefile: Add rules to build and run bug-regex31.
26613 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26616 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26619 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26620 to have entries in sys_siglist.
26623 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26626 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26629 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26630 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26631 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26632 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26633 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26634 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26635 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26636 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26637 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26638 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26639 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26640 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26641 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26642 * math/ftestexcept.c (fetestexcept): Likewise.
26643 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26644 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26645 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26646 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26647 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26648 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26649 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26651 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26654 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26657 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26659 * string/bug-strstr1.c: New file.
26660 * string/Makefile: Add rules to build and run bug-strstr1.
26662 2010-10-05 Eric Blake <eblake@redhat.com>
26665 * string/str-two-way.h (two_way_long_needle): Always clear memory
26666 when skipping input due to the shift table.
26668 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26671 * malloc/mcheck.c: Handle large requests.
26674 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26675 for strncmp and strncasecmp.
26676 * string/stratcliff.c: Add tests for strcmp and strncmp.
26677 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26679 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26681 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26684 2010-09-30 Andreas Jaeger <aj@suse.de>
26686 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26687 (CGROUP_SUPER_MAGIC): Define.
26688 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26689 Handle btrfs and cgroup file systems.
26690 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26693 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26695 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26696 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26698 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26701 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26702 trying to locate the ELF header.
26704 2010-09-27 Andreas Schwab <schwab@redhat.com>
26707 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26708 Mask out sign-bit copies when constructing f_fsid.
26710 2010-09-24 Petr Baudis <pasky@suse.cz>
26712 * debug/stack_chk_fail_local.c: Add missing licence exception.
26713 * debug/warning-nop.c: Likewise.
26715 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26717 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26718 implementing getdents64 using getdents syscall, set d_type if
26719 __ASSUME_GETDENTS32_D_TYPE.
26721 2010-09-16 Andreas Schwab <schwab@redhat.com>
26723 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26724 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26726 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26729 * posix/unistd.h: Undo change of feature selection for ftruncate from
26732 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26734 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26737 2010-09-20 Andreas Schwab <schwab@redhat.com>
26739 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26743 2010-09-14 Andreas Schwab <schwab@redhat.com>
26745 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26746 variables after CHECK_SP call.
26747 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26749 2010-09-13 Andreas Schwab <schwab@redhat.com>
26750 Ulrich Drepper <drepper@redhat.com>
26752 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26753 re-relocationg ld.so.
26754 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26755 _dl_init_paths call.
26756 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26759 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26761 * resolv/res_init.c (__res_vinit): Count the default server we added.
26763 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26764 Ulrich Drepper <drepper@redhat.com>
26767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26768 (____longjmp_chk): Use %ebx for saving value across system call.
26771 2010-09-06 Andreas Schwab <schwab@redhat.com>
26773 * manual/Makefile: Don't mix pattern rules with normal rules.
26775 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26777 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26779 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26780 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26781 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26782 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26786 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26789 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26790 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26792 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26794 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26795 * sysdeps/x86_64/addmul_1.S: Likewise.
26796 * sysdeps/x86_64/lshift.S: Likewise.
26797 * sysdeps/x86_64/mul_1.S: Likewise.
26798 * sysdeps/x86_64/rshift.S: Likewise.
26799 * sysdeps/x86_64/sub_n.S: Likewise.
26800 * sysdeps/x86_64/submul_1.S: Likewise.
26802 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26804 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26805 Define __sched_param instead of SCHED_* and sched_param when
26806 <bits/sched.h> is included with __need_schedparam defined.
26807 * bits/sched.h [__need_schedparam]
26808 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26809 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26810 (__defined_schedparam): Define to 1.
26811 (__sched_param): New structure, identical to sched_param.
26812 (__need_schedparam): Undefine.
26814 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26817 (epoll_create1): Declare.
26819 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26821 2010-08-31 Andreas Schwab <schwab@redhat.com>
26824 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26825 shifting retval into place.
26827 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26829 * nis/rpcsvc/nis.h: Update copyright notice.
26830 * nis/rpcsvc/nis.x: Likewise.
26831 * nis/rpcsvc/nis_callback.h: Likewise.
26832 * nis/rpcsvc/nis_callback.x: Likewise.
26833 * nis/rpcsvc/nis_object.x: Likewise.
26834 * nis/rpcsvc/nis_tags.h: Likewise.
26835 * nis/rpcsvc/yp.h: Likewise.
26836 * nis/rpcsvc/yp.x: Likewise.
26837 * nis/rpcsvc/ypupd.h: Likewise.
26838 * nis/yp_xdr.c: Likewise.
26839 * nis/ypupdate_xdr.c: Likewise.
26841 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26842 mainly the body of pmap_getport. Add parameters to specify timeouts.
26843 (pmap_getport): Use __libc_rpc_getport.
26844 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26845 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26846 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26848 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26853 2010-08-27 Roland McGrath <roland@redhat.com>
26855 * sysdeps/i386/i686/multiarch/Makefile
26856 (CFLAGS-varshift.c): New variable.
26858 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26860 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26861 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26865 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26867 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26869 * sysdeps/x86_64/strlen.S: Unroll the loop.
26870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26871 strlen-sse2 strlen-sse2-bsf.
26872 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26873 __strlen_no_bsf if bit_Slow_BSF is set.
26874 (__strlen_sse42): Removed.
26875 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26876 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26878 2010-08-25 Roland McGrath <roland@redhat.com>
26880 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26881 * sysdeps/x86_64/multiarch/varshift.c: New file.
26882 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26883 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26884 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26885 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26887 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26890 strlen-sse2 strlen-sse2-bsf.
26891 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26892 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26893 (__strlen_sse2): Removed.
26894 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26897 bit_Slow_BSF for Atom.
26898 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26899 (index_Slow_BSF): Define.
26900 (HAS_SLOW_BSF): Define.
26902 2010-08-25 Ulrich Drepper <drepper@redhat.com>
26905 * resolv/res_init.c (__res_vinit): When no server address at all
26906 is given default to loopback.
26908 2010-08-24 Roland McGrath <roland@redhat.com>
26910 * configure.in: Remove config-name.h generation.
26911 * configure: Regenerated.
26912 * config-name.in: File removed.
26913 * scripts/config-uname.sh: New file.
26914 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26915 ($(objdir)config-name.h): New target.
26917 * sunrpc/rpc_parse.h: Avoid nested comment.
26919 2010-08-24 Richard Henderson <rth@redhat.com>
26920 Ulrich Drepper <drepper@redhat.com>
26921 H.J. Lu <hongjiu.lu@intel.com>
26923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26925 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26926 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26927 _mm_alignr_epi8 with _mm_loadu_si128.
26928 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26929 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26930 (__m128i_shift_right): Removed.
26931 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26932 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26933 * sysdeps/x86_64/multiarch/varshift.h: New file.
26934 * sysdeps/x86_64/multiarch/varshift.S: New file.
26936 2010-08-21 Mike Frysinger <vapier@gentoo.org>
26938 * configure.in: Move assembler checks to before sysdep dir checking.
26940 2010-08-20 Petr Baudis <pasky@suse.cz>
26942 * LICENSES: Sync the sunrpc license.
26944 2010-08-19 Ulrich Drepper <drepper@redhat.com>
26946 * sunrpc/auth_des.c: Update copyright notice once again.
26947 * sunrpc/auth_none.c: Likewise.
26948 * sunrpc/auth_unix.c: Likewise.
26949 * sunrpc/authdes_prot.c: Likewise.
26950 * sunrpc/authuxprot.c: Likewise.
26951 * sunrpc/bindrsvprt.c: Likewise.
26952 * sunrpc/clnt_gen.c: Likewise.
26953 * sunrpc/clnt_perr.c: Likewise.
26954 * sunrpc/clnt_raw.c: Likewise.
26955 * sunrpc/clnt_simp.c: Likewise.
26956 * sunrpc/clnt_tcp.c: Likewise.
26957 * sunrpc/clnt_udp.c: Likewise.
26958 * sunrpc/clnt_unix.c: Likewise.
26959 * sunrpc/des_crypt.c: Likewise.
26960 * sunrpc/des_soft.c: Likewise.
26961 * sunrpc/get_myaddr.c: Likewise.
26962 * sunrpc/getrpcport.c: Likewise.
26963 * sunrpc/key_call.c: Likewise.
26964 * sunrpc/key_prot.c: Likewise.
26965 * sunrpc/openchild.c: Likewise.
26966 * sunrpc/pm_getmaps.c: Likewise.
26967 * sunrpc/pm_getport.c: Likewise.
26968 * sunrpc/pmap_clnt.c: Likewise.
26969 * sunrpc/pmap_prot.c: Likewise.
26970 * sunrpc/pmap_prot2.c: Likewise.
26971 * sunrpc/pmap_rmt.c: Likewise.
26972 * sunrpc/rpc/auth.h: Likewise.
26973 * sunrpc/rpc/auth_unix.h: Likewise.
26974 * sunrpc/rpc/clnt.h: Likewise.
26975 * sunrpc/rpc/des_crypt.h: Likewise.
26976 * sunrpc/rpc/key_prot.h: Likewise.
26977 * sunrpc/rpc/netdb.h: Likewise.
26978 * sunrpc/rpc/pmap_clnt.h: Likewise.
26979 * sunrpc/rpc/pmap_prot.h: Likewise.
26980 * sunrpc/rpc/pmap_rmt.h: Likewise.
26981 * sunrpc/rpc/rpc.h: Likewise.
26982 * sunrpc/rpc/rpc_des.h: Likewise.
26983 * sunrpc/rpc/rpc_msg.h: Likewise.
26984 * sunrpc/rpc/svc.h: Likewise.
26985 * sunrpc/rpc/svc_auth.h: Likewise.
26986 * sunrpc/rpc/types.h: Likewise.
26987 * sunrpc/rpc/xdr.h: Likewise.
26988 * sunrpc/rpc_clntout.c: Likewise.
26989 * sunrpc/rpc_cmsg.c: Likewise.
26990 * sunrpc/rpc_common.c: Likewise.
26991 * sunrpc/rpc_cout.c: Likewise.
26992 * sunrpc/rpc_dtable.c: Likewise.
26993 * sunrpc/rpc_hout.c: Likewise.
26994 * sunrpc/rpc_main.c: Likewise.
26995 * sunrpc/rpc_parse.c: Likewise.
26996 * sunrpc/rpc_parse.h: Likewise.
26997 * sunrpc/rpc_prot.c: Likewise.
26998 * sunrpc/rpc_sample.c: Likewise.
26999 * sunrpc/rpc_scan.c: Likewise.
27000 * sunrpc/rpc_scan.h: Likewise.
27001 * sunrpc/rpc_svcout.c: Likewise.
27002 * sunrpc/rpc_tblout.c: Likewise.
27003 * sunrpc/rpc_util.c: Likewise.
27004 * sunrpc/rpc_util.h: Likewise.
27005 * sunrpc/rpcinfo.c: Likewise.
27006 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27007 * sunrpc/rpcsvc/key_prot.x: Likewise.
27008 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27009 * sunrpc/rpcsvc/mount.x: Likewise.
27010 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27011 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27012 * sunrpc/rpcsvc/rex.x: Likewise.
27013 * sunrpc/rpcsvc/rstat.x: Likewise.
27014 * sunrpc/rpcsvc/rusers.x: Likewise.
27015 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27016 * sunrpc/rpcsvc/spray.x: Likewise.
27017 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27018 * sunrpc/rtime.c: Likewise.
27019 * sunrpc/svc.c: Likewise.
27020 * sunrpc/svc_auth.c: Likewise.
27021 * sunrpc/svc_authux.c: Likewise.
27022 * sunrpc/svc_raw.c: Likewise.
27023 * sunrpc/svc_run.c: Likewise.
27024 * sunrpc/svc_simple.c: Likewise.
27025 * sunrpc/svc_tcp.c: Likewise.
27026 * sunrpc/svc_udp.c: Likewise.
27027 * sunrpc/svc_unix.c: Likewise.
27028 * sunrpc/svcauth_des.c: Likewise.
27029 * sunrpc/xcrypt.c: Likewise.
27030 * sunrpc/xdr.c: Likewise.
27031 * sunrpc/xdr_array.c: Likewise.
27032 * sunrpc/xdr_float.c: Likewise.
27033 * sunrpc/xdr_mem.c: Likewise.
27034 * sunrpc/xdr_rec.c: Likewise.
27035 * sunrpc/xdr_ref.c: Likewise.
27036 * sunrpc/xdr_sizeof.c: Likewise.
27037 * sunrpc/xdr_stdio.c: Likewise.
27039 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27042 2010-08-19 Andreas Schwab <schwab@redhat.com>
27044 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27046 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27048 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27049 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27050 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27051 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27052 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27053 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27054 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27055 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27056 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27057 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27058 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27059 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27060 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27061 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27063 2010-07-26 Anton Blanchard <anton@samba.org>
27065 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27066 * malloc/arena.c (heap_trim): Likewise.
27068 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27070 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27073 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27075 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27077 * sysdeps/i386/elf/Makefile: New file.
27079 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27081 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27082 from fanotify_init.
27083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27086 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27088 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27090 * sysdeps/multiarch/strcmp.S: Likewise.
27092 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27094 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27095 strncase_l-nonascii.
27096 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27097 Add strncase_l-ssse3.
27098 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27099 * sysdeps/x86_64/strcmp.S: Likewise.
27100 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27101 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27102 * sysdeps/x86_64/strncase.S: New file.
27103 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27104 * sysdeps/x86_64/strncase_l.S: New file.
27105 * string/Makefile (strop-tests): Add strncasecmp.
27106 * string/test-strncasecmp.c: New file.
27108 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27111 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27112 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27114 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27116 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27118 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27120 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27121 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27122 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27124 2010-05-01 Alan Modra <amodra@gmail.com>
27126 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27127 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27128 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27129 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27130 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27131 tidying. Don't tail-call __sigjmp_save for static lib.
27132 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27134 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27135 (CALL_MCOUNT): Add eh info, and nop after bl.
27136 (TAIL_CALL_SYSCALL_ERROR): New macro.
27137 (PSEUDO_RET): Use it.
27138 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27139 Correct save location of integer regs and cr.
27140 (_dl_profile_resolve): Correct cr save location. Delete nops
27141 after bl when SHARED. Reduce cfi size a little by better
27142 placement of cfi directives.
27143 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27144 make a stack frame. Instead use parm save area as a temp.
27145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27146 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27148 Don't make a stack frame for parent, use parm save area.
27149 Increase child stack frame to 112 bytes. Don't save unused reg,
27150 and adjust reg usage. Set up cfi on error recovery and
27151 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27153 (__makecontext): Add dummy nop after jump to exit.
27154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27155 Use correct parm save area and cr save, reduce stack frame.
27156 Correct cfi for possible PSEUDO_RET frame setup.
27157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27158 Branch to local label emitted by PSEUDO_RET rather than
27161 2010-08-12 Andreas Schwab <schwab@redhat.com>
27164 * locale/programs/locale.c (print_assignment): New function.
27165 (show_locale_vars): Use it.
27167 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27169 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27171 (struct statfs64): Likewise.
27172 (_STATFS_F_FLAGS): Define.
27173 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27174 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27175 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27176 (ST_VALID): Define locally.
27177 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27178 __statvfs_getflags, use the provided value.
27179 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27180 __ASSUME_STATFS_F_FLAGS.
27182 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27184 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27185 Add sys/fanotify.h.
27186 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27187 fanotify_mask for GLIBC_2.13.
27188 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27189 fanotify_init and fanotify_mark.
27190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27191 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27193 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27195 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27196 prlimit64 for GLIBC_2.13.
27197 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27199 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27202 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27203 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27204 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27207 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27210 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27211 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27213 * nss/Makefile: Add rules to build and run tst-nss-test1.
27214 * shlib-versions: Add entry for libnss_test1.
27215 * nss/nss_test1.c: New file.
27216 * nss/tst-nss-test1.c: New file.
27218 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27219 (__nss_configure_lookup): Set appropriate entry in
27220 __nss_configure_lookup to true.
27221 * nss/nsswitch.h: Define enum with indeces of databases in
27222 databases and __nss_database_custom arrays. Declare
27223 __nss_database_custom.
27224 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27225 to avoid using nscd when custom rules are installed.
27226 * nss/getXXbyYY_r.c: Likewise.
27227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27229 * nss/nss_files/files-parse.c: Whitespace fixes.
27231 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27234 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27235 * posix/fnmatch_loop.c: Likewise.
27237 2010-07-17 Andi Kleen <ak@linux.intel.com>
27239 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27240 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27241 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27242 * Versions.def [GLIBC_2.13]: Add.
27244 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27246 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27247 Also fail if tpwd after pwuid call is NULL.
27249 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27251 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27252 when converting to ms.
27254 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27256 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27257 EOPNOTSUPP errors with ENOTTY.
27258 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27259 EOPNOTSUPP errors with ENOTTY.
27261 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27263 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27264 Add strcasecmp_l-ssse3.
27265 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27267 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27268 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27269 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27271 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27273 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27275 * string/Makefile (strop-tests): Add strcasecmp.
27276 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27277 strcasecmp_l-nonascii.
27278 (gen-as-const-headers): Add locale-defines.sym.
27279 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27280 * sysdeps/x86_64/strcasecmp.S: New file.
27281 * sysdeps/x86_64/strcasecmp_l.S: New file.
27282 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27283 * sysdeps/x86_64/locale-defines.sym: New file.
27284 * string/test-strcasecmp.c: New file.
27286 * string/test-strcasestr.c: Test both ends of the range of characters.
27287 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27289 2010-07-29 Roland McGrath <roland@redhat.com>
27292 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27294 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27296 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27299 2010-07-27 Andreas Schwab <schwab@redhat.com>
27301 * manual/memory.texi (Malloc Tunable Parameters): Document
27304 2010-07-26 Roland McGrath <roland@redhat.com>
27307 * configure.in (-fgnu89-inline check): Set and substitute
27308 gnu89_inline, not libc_cv_gnu89_inline.
27309 * configure: Regenerated.
27310 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27312 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27314 * string/test-strnlen.c: New file.
27315 * string/Makefile (strop-tests): Add strnlen.
27316 * string/tester.c (test_strnlen): Add a few more test cases.
27317 * string/tst-strlen.c: Better error reporting.
27319 * sysdeps/x86_64/strnlen.S: New file.
27321 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27323 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27324 lower-latency instructions.
27326 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27328 * string/test-strcasestr.c: New file.
27329 * string/test-strstr.c: New file.
27330 * string/Makefile (strop-tests): Add strstr and strcasestr.
27331 * string/str-two-way.h: Don't undefine MAX.
27332 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27334 2010-07-21 Andreas Schwab <schwab@redhat.com>
27336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27337 strcasestr-nonascii.
27338 (CFLAGS-strcasestr-nonascii.c): Define.
27339 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27340 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27341 Remove unused attribute.
27343 2010-07-20 Roland McGrath <roland@redhat.com>
27345 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27346 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27347 ld.so.cache was broken. With it, there is no way to disable dsocaps
27348 like LD_HWCAP_MASK can disable hwcaps.
27350 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27352 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27354 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27356 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27357 call in strcasestr.
27358 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27359 __strcasestr_sse42_nonascii.
27360 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27361 strcasestr-nonascii.c.
27362 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27364 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27366 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27367 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27368 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27371 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27373 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27376 2010-07-06 Andreas Schwab <schwab@redhat.com>
27379 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27382 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27384 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27385 _PC_PIPE_BUF using F_GETPIPE_SZ.
27387 2010-07-05 Roland McGrath <roland@redhat.com>
27389 * manual/arith.texi (Rounding Functions): Fix rint description
27390 implicit in round description.
27392 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27394 * elf/Makefile: Fix linking for a few tests to make recent linker
27397 2010-06-30 Andreas Schwab <schwab@redhat.com>
27399 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27400 $(common-objpfx)libc_nonshared.a.
27402 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27404 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27405 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27406 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27407 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27408 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27409 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27410 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27411 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27426 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27427 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27428 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27429 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27430 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27431 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27432 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27433 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27434 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27435 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27436 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27437 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27453 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27455 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27456 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27457 * string/memmove.c (memmove): Renamed to ...
27458 (MEMMOVE): ...this. Default to memmove.
27459 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27460 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27463 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27464 mempcpy-ssse3-back memmove-ssse3-back.
27465 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27466 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27468 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27469 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27470 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27471 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27472 * sysdeps/x86_64/multiarch/memmove.c: New file.
27473 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27474 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27475 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27476 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27477 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27480 (index_Fast_Copy_Backward): Define.
27481 (HAS_ARCH_FEATURE): Define.
27482 (HAS_FAST_REP_STRING): Define.
27483 (HAS_FAST_COPY_BACKWARD): Define.
27485 2010-06-21 Andreas Schwab <schwab@redhat.com>
27487 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27488 Restore proper fallback handling.
27490 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27493 * posix/group_member.c (__group_member): Correct checking loop.
27495 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27496 OOM in getpwuid_r correctly. Return error number when the caller
27497 should return, otherwise -1.
27498 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27499 call returning > 0 value.
27500 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27502 2010-06-07 Andreas Schwab <schwab@redhat.com>
27504 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27505 libc_nonshared.a from targets in modules-names.
27507 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27509 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27512 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27514 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27515 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27516 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27519 2010-06-02 Andreas Schwab <schwab@redhat.com>
27521 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27523 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27525 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27528 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27529 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27530 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27531 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27532 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27534 2010-06-14 Roland McGrath <roland@redhat.com>
27536 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27538 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27540 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27541 __REDIRECT followed by __THROW.
27542 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27543 * posix/getopt.h (getopt): Likewise.
27545 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27547 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27548 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27549 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27551 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27552 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27554 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27556 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27558 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27562 Properly check family and model.
27564 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27566 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27568 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27570 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27572 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27574 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27577 2010-05-19 Andreas Schwab <schwab@redhat.com>
27579 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27582 2010-05-21 Andreas Schwab <schwab@redhat.com>
27584 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27585 and internal_recvmmsg.
27586 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27587 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27588 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27589 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27591 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27592 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27593 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27595 2010-05-20 Andreas Schwab <schwab@redhat.com>
27597 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27599 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27601 POWER7 optimizations.
27602 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27603 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27605 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27607 * version.h: Update for 2.13 development version.
27609 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27611 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27612 exceptions. Return 0.
27614 2010-05-07 Roland McGrath <roland@redhat.com>
27616 * elf/ldconfig.c (main): Add a const.
27618 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27620 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27621 (args_options): Add no-idn option.
27622 (ahosts_keys_int): Add idn_flags to ai_flags.
27623 (parse_option): Handle 'i' option to clear idn_flags.
27625 * malloc/malloc.c (_int_free): Possible race in the most recently
27626 added check. Only act on the data if no current modification
27629 See ChangeLog.17 for earlier changes.