Removed commented code
[glibc.git] / ChangeLog
blob35a6c16995c561f68b361dd65e34806329c6d568
1 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4         commented code.
5         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6         (__dubcos): Likewise.
7         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8         (__ieee754_acos): Likewise.
9         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11         (__exp1): Likewise.
12         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14         (log1): Likewise.
15         (my_log2): Likewise.
16         (checkint): Likewise.
17         * sysdeps/ieee754/dbl-64/e_remainder.c
18         (__ieee754_remainder): Likewise.
19         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21         (bsloww): Likewise.
22         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26         MANTISSA_STORE_T to store computations on mantissa.  Use
27         macros for rounding and division.
28         (denorm): Likewise.
29         (__dbl_mp): Likewise.
30         (add_magnitudes): Likewise.
31         (sub_magnitudes): Likewise.
32         (__mul): Likewise.
33         (__sqr): Likewise.
34         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35         powers of two in terms of TWOPOW macro.
36         (mp_no): Make type of mantissa as MANTISSA_T.
37         [!RADIXI]: Define RADIXI.
38         [!TWO52]: Define TWO52.
39         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44         llroundl symbol when building for PPC32.
46 2013-03-24  Mark H Weaver  <mhw@netris.org>
48         * manual/arith.texi (Normalization Functions): Fix prototypes for
49         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53         [BZ #13889]
54         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
55         high value to check if expl overflow.
56         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57         to check for underflow and overflow.
58         * math/libm-test.inc: Add exp test.
60 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
62         [BZ #11120]
63         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
64         with NOT_IN_libc.
66 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69         symbol.
71 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
73         * math/gen-libm-test.pl (parse_args, special_functions): Properly
74         wrap blocks consisting of several statements.
76         * sysdeps/generic/math-tests.h: New file.
77         * sysdeps/i386/fpu/math-tests.h: Likewise.
78         * math/test-snan.c: Include it.
79         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
81 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
83         [BZ #15285]
84         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
85         (__ieee754_j0l): Do not improve calculations using cos of twice
86         input for inputs above LDBL_MAX / 2.0L.
87         (__ieee754_y0l): Likewise.
88         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
89         (__ieee754_j1l): Do not improve calculations using cos of twice
90         input for inputs above LDBL_MAX / 2.0L.
91         (__ieee754_y1l): Likewise.
92         * math/libm-test.inc (j0_test): Add another test.
93         (j1_test): Likewise.
94         (y0_test): Likewise.
95         (y1_test): Likewise.
96         * sysdeps/i386/fpu/libm-test-ulps: Update.
98 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
100         * Rules ($(objpfx)bench-%.c): Include code from a C source
101         file.
103 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
105         [BZ #15287]
106         * math/k_casinh.c (__kernel_casinh): Handle arguments with
107         imaginary part 1.0 and real part less than 0.5 specially.
108         * math/k_casinhf.c (__kernel_casinhf): Likewise.
109         * math/k_casinhl.c (__kernel_casinhl): Likewise.
110         * math/libm-test.inc (cacos_test): Add more tests.
111         (casin_test): Likewise.
112         (casinh_test): Likewise.
113         * sysdeps/i386/fpu/libm-test-ulps: Update.
114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
116 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
118         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
119         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
121 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
123         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
124         * config.make.in (config-cflags-sse4): Remove variable.
125         (config-cflags-avx): Likewise.
126         (config-cflags-sse2avx): Likewise.
127         (config-cflags-novzeroupper): Likewise.
128         (config-asflags-i686): Likewise.
129         (have-mfma4): Likewise.
130         (have-as-vis3): Likewise.
131         (MIG): Likewise.
132         * configure.in (MIG): Do not AC_SUBST.
133         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
134         (libc_cv_cc_sse4): Do not AC_SUBST.
135         (libc_cv_cc_avx): Likewise.
136         (libc_cv_cc_sse2avx): Likewise.
137         (libc_cv_cc_novzeroupper): Likewise.
138         (libc_cv_cc_fma4): Likewise.
139         (libc_cv_as_i686): Likewise.
140         (libc_cv_sparc_as_vis3): Likewise.
141         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
142         LIBC_CONFIG_VAR.
143         (config-asflags-i686): Likewise.
144         (config-cflags-avx): Likewise.
145         (config-cflags-sse2avx): Likewise.
146         (have-mfma4): Likewise.
147         (config-cflags-novzeroupper): Likewise.
148         * sysdeps/mach/configure.in (MIG): Likewise.
149         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
150         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
151         LIBC_CONFIG_VAR.
152         (config-cflags-avx): Likewise.
153         (config-cflags-sse2avx): Likewise.
154         (have-mfma4): Likewise.
155         (config-cflags-novzeroupper): Likewise.
156         * configure: Regenerated.
157         * sysdeps/i386/configure: Likewise.
158         * sysdeps/mach/configure: Likewise.
159         * sysdeps/sparc/configure: Likewise.
160         * sysdeps/x86_64/configure: Likewise.
162 2013-03-20  Roland McGrath  <roland@hack.frob.com>
164         [BZ #14812]
165         * locale/programs/localedef.c (options): Put N_ translation marker
166         on argument names, not just descriptions.
168 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
170         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
172 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
174         [BZ #14176]
175         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
177 2013-03-19  Roland McGrath  <roland@hack.frob.com>
179         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
180         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
181         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
182         [!BEFORE_ABORT] (before_abort): New function.
183         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
184         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
185         (writev_for_fatal): New function.
186         (WRITEV_FOR_FATAL): New macro; call that.
187         (backtrace_and_maps): New function.
188         (BEFORE_ABORT): New macro; call that.
189         (struct str_list): Type removed.
190         (__libc_message, __libc_fatal): Functions removed.
191         Include <sysdeps/posix/libc_fatal.c> instead.
193 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
195         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
196         constants.
197         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
198         double constants.
200 2013-03-19  Andreas Schwab  <schwab@suse.de>
202         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
203         * sysdeps/gnu/configure: Regenerate.
205         * configure.in: Substitute libc_cv_rtlddir.
206         * configure: Regenerate.
207         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
208         * Makeconfig (rtlddir, inst_rtlddir): New variables.
209         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
210         * elf/Makefile (install-others, CFLAGS-interp.c)
211         (ldso_install, common-ldd-rewrite): Likewise.
212         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
213         $(inst_slibdir)/$(rtld-installed-name).
214         * scripts/rellns-sh: Add -p option.
215         * Makerules (make-shlib-link): Use rellns-sh to get relative name
216         for source.
218 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
220         * manual/nptl.texi: Renamed to ...
221         * manual/threads.texi: ... this.
222         * manual/Makefile (chapters): Update.
224 2013-03-18  Roland McGrath  <roland@hack.frob.com>
226         [BZ #14812]
227         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
228         on argument names, not just descriptions.
229         * malloc/memusagestat.c (options): Likewise.
230         * nss/getent.c (options): Likewise.
232 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
234         [BZ #14812]
235         * iconv/iconv_prog.c (options): Put N_ translation marker
236         on argument names, not just descriptions.
237         * iconv/iconvconfig.c (options): Likewise.
239 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
241         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
242         implementation which is faster on all x86_64 architectures.
243         Tested on AMD, Intel Nehalem, SNB, IVB.
244         * sysdeps/x86_64/strnlen.S: Likewise.
246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
247         Remove all multiarch strlen and strnlen versions.
248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
249         Remove strlen and strnlen related parts.
251         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
252         Inline strlen part.
253         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
255         * sysdeps/x86_64/multiarch/strlen.S: Remove.
256         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
257         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
258         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
259         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
260         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
262 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
264         * manual/memory.texi (Malloc Tunable Parameters):
265         Sort parameters alphabetically. Add comments for missing entries.
267 2013-03-17  David S. Miller  <davem@davemloft.net>
269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
271 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
273         [BZ #15283]
274         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
275         for arguments at most half maximum finite value.
276         * math/libm-test.inc (j0_test): Add more tests.
277         (j1_test): Likewise.
278         (y0_test): Likewise.
279         (y1_test): Likewise.
280         * sysdeps/i386/fpu/libm-test-ulps: Update.
281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
283         [BZ #14155]
284         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
285         1 / x and functions P and Q for arguments above 0x1p256L.
286         (__ieee754_y0l): Likewise.
287         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
288         (__ieee754_y1l): Likewise.
289         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
290         (j1_test): Likewise.
291         (y0_test): Likewise.
292         (y1_test): Likewise.
294 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
296         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
297         variable.
299 2013-03-15  Roland McGrath  <roland@hack.frob.com>
301         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
302         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
303         zero since it's initialized to EXEC_PAGESIZE.
305         * sysdeps/unix/sysv/linux/ldsodefs.h
306         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
307         * sysdeps/generic/ldsodefs.h: ... here.
309 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
311         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
313         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
314         math/test-snan.c.
315         * math/test-snan.c: Renamed from
316         sysdeps/powerpc/fpu/test-powerpc-snan.c.
317         * math/Makefile (tests): Add test-snan.
318         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
319         test-powerpc-snan.
321         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
322         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
323         functions.
324         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
325         __builtin_nan family of functions.
326         * math/libm-test.inc (initialize): Initialize qnan_value with
327         __builtin_nan family of functions.
328         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
329         Remove variables.
330         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
331         Remove functions.
332         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
333         storage class.  Initialize qNaN_var and sNaN_var with
334         __builtin_nan and __builtin_nans families of functions,
335         respectively.
337         * math/libm-test.inc (acosh_test): Also test with qNaN input.
338         (sqrt_test): Remove duplicate test with qNaN input.
339         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
340         (round_test, signbit_test, significand_test): Note missing +/-Inf
341         as well as qNaN tests.
343         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
344         qNaN_var.  Fix a few strings, too.
345         * math/libm-test.inc (nan_value): Rename to qnan_value.
346         * math/gen-libm-test.pl (%beautify): Adjust to that.
347         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
348         * math/test-misc.c (main): Likewise.
349         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
350         to __qnan_bytes, and __qnan_union, respectively.
351         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
352         Likewise.
353         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
354         and lqnanval, respectively.
355         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
356         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
357         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
358         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
360         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
361         * math/test-misc.c (main) [__x86_64__]: Enable test for long
362         doubles.
364         * math/test-misc.c (main): Fix copy'n'pastos.
365         * misc/tst-efgcvt.c (special): Likewise.
367         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
368         Remove declarations.
370 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
372         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
373         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
374         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
375         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
377 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
379         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
380         macro to return vdso values correctly in IFUNC implementations.
381         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
382         Optimization by using IFUNC.
384 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
385             Richard Henderson  <rth@redhat.com>
386             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
388         * Makefile.in (bench): New target.
389         * NEWS: Mention the benchmark framework.
390         * Rules (bench): Likewise.
391         (binaries-bench): Generate binaries for functions to
392         benchmark.
393         * benchtests/Makefile: New makefile for benchmark tests.
394         * benchtests/bench-skeleton.c: New skeleton file for benchmark
395         programs.
396         * benchtests/exp-inputs: New input file for EXP function.
397         * benchtests/pow-inputs: New input file for POW function.
398         * scripts/bench.pl: New script to generate source files for
399         benchmark programs.
401 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
403         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
404         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
405         computations on mantissa.  Use macros for rounding and
406         division.
407         (denorm): Likewise.
408         (__dbl_mp): Likewise.
409         (add_magnitudes): Likewise.
410         (sub_magnitudes): Likewise.
411         (__mul): Likewise.
412         (__sqr): Likewise.
413         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
414         powers of two in terms of TWOPOW macro.
415         (mp_no): Make type of mantissa as MANTISSA_T.
416         [!RADIXI]: Define RADIXI.
417         [!TWO52]: Define TWO52.
418         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
420         * manual/nptl.texi (cindex): Modify threads to pthreads.
422 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
424         * sysdeps/x86_64/preconfigure: Regenerated.
426 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
428         [BZ #14155]
429         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
430         0x1p28 and above.
431         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
432         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
433         0x1p28 and above.
434         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
435         * math/libm-test.inc (j0_test): Do not allow one spurious
436         underflow exception.
437         (y1_test): Likewise.
439 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
441         * manual/Makefile (chapters): Add nptl.
442         * manual/debug.texi (Debugging Support): Add link to Threads
443         chapter.
444         * manual/nptl.texi: New file.
446         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
448 2013-03-14  Petr Baudis  <pasky@ucw.cz>
450         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
451         for non-NULL pointer before the memory validity test. Pointed
452         out by Holger Brunck <holger.brunck@keymile.com>.
454 2013-03-13  Andreas Schwab  <schwab@suse.de>
456         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
457         instead of .os.
459 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
461         * timezone/zic.c: Update from tzcode 2013b.
463 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
465         * manual/install.texi (Configuring and compiling):
466         Mention i686 and i586.
467         * INSTALL: Regenerate.
469 2013-03-12  Roland McGrath  <roland@hack.frob.com>
471         * sysdeps/init_array/elf-init.c: New file.
472         * csu/elf-init.c
473         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
474         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
476         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
477         __gmon_start__ as global, but as static with a .preinit_array pointer.
478         * sysdeps/init_array/gmon-start.c: New file.  Use that.
479         * sysdeps/init_array/crti.S: New file, empty except for comments.
480         * sysdeps/init_array/crtn.S: Likewise.
482 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
484         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
485         definining bcopy.
486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
487         Remove Prefer_SSE_for_memop.
488         * sysdeps/x86_64/multiarch/init-arch.h: Remove
489         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
490         HAS_PREFER_SSE_FOR_MEMOP.
491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
492         memset-x86-64.
493         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
494         Remove bzero, memset ifunc support.
495         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
496         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
497         * sysdeps/x86_64/multiarch/memset.S: Likewise.
498         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
500 2013-03-11  Andreas Schwab  <schwab@suse.de>
502         [BZ #15234]
503         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
504         by SHLIB_COMPAT.
505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
506         (GLIBC_2.16): Remove pthread_atfork.
508 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
510         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
511         (ptestcases.h): Likewise.
513 2013-03-08  Roland McGrath  <roland@hack.frob.com>
515         * Makeconfig ($(common-objpfx)config.status): Depend on
516         sysdeps/*/preconfigure{,.in} too.
518 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
520         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
521         (__free_hook): Use void * instead of __malloc_ptr_t.
522         (__malloc_hook): Likewise.
523         (__realloc_hook): Likewise.
524         (__memalign_hook): Likewise.
525         (__after_morecore_hook): Likewise.
526         * malloc/arena.c (save_malloc_hook): Likewise.
527         (save_free_hook): Likewise.
528         * malloc/hooks.c (malloc_hook_ini): Likewise.
529         (realloc_hook_ini): Likewise.
530         (memalign_hook_ini): Likewise.
531         * malloc/malloc.c (malloc_hook_ini): Likewise.
532         (realloc_hook_ini): Likewise.
533         (memalign_hook_ini): Likewise.
534         (__free_hook): Likewise.
535         (__malloc_hook): Likewise.
536         (__realloc_hook): Likewise.
537         (__memalign_hook): Likewise.
538         (__libc_malloc): Likewise.
539         (__libc_free): Likewise.
540         (__libc_realloc): Likewise.
541         (__libc_memalign): Likewise.
542         (__libc_valloc): Likewise.
543         (__libc_pvalloc): Likewise.
544         (__libc_calloc): Likewise.
545         (__posix_memalign): Likewise.
546         * malloc/morecore.c (__sbrk): Likewise.
547         (__default_morecore): Likewise.
549         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
551         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
552         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
553         __malloc_ptrdiff_t.
555         * malloc/malloc.h (__malloc_size_t): Remove macro.
556         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
557         __malloc_size_t.
558         (old_memalign_hook): Likewise.
559         (old_realloc_hook): Likewise.
560         (struct hdr): Likewise.
561         (flood): Likewise.
562         (mallochook): Likewise.
563         (memalignhook): Likewise.
564         (reallochook): Likewise.
565         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
566         (tr_old_realloc_hook): Likewise.
567         (tr_old_memalign_hook): Likewise.
568         (tr_mallochook): Likewise.
569         (tr_reallochook): Likewise.
570         (tr_memalignhook): Likewise.
572 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
574         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
575         default_ldbl_pack and using as default implementation.
576         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
577         implementation.
578         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
579         redundant definition.
580         (ldbl_insert_mantissa): Likewise.
581         (ldbl_canonicalize): Likewise.
582         (ldbl_nearbyint): Likewise.
583         (ldbl_pack): Rename to ldbl_pack_ppc.
584         (ldbl_unpack): Rename to ldbl_unpack_ppc.
585         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
586         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
588 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
591         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
592         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
593         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
595         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
596         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
597         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
599 2013-03-07  Andreas Jaeger  <aj@suse.de>
601         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
602         bits/mman-linux.h.
604 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
606         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
607         Include mpa.h and declare __MPEXP.
608         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
609         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
610         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
611         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
612         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
613         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
614         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
616         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
617         (__slowpow): Use long double EXPL and LOGL functions to
618         compute POW.
619         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
620         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
621         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
622         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
623         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
624         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
627         intermediate variable to calculate exponent.
628         (__sqr): Likewise.
629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
630         Likewise.
631         (__sqr): Likewise.
633         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
634         [!NO__SQR]: Define __sqr.
635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
636         and NO__SQR.  Remove all code except __mul and __sqr.  Include
637         sysdeps/ieee754/dbl-64/mpa.c.
638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
640         [BZ #12723]
641         * posix/Makefile (tests): Add tst-pathconf.
642         * posix/tst-pathconf.c: New test case.
643         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
644         _PC_PIPE_BUF.
645         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
647 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
649         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
651 2013-03-06  Andreas Jaeger  <aj@suse.de>
653         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
654         definition via __MAP_ANONYMOUS.
656         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
657         it's not part of Linux headers.
659         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
660         (MAP_HUGE_MASK): Define.
662         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
663         Define.
664         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
665         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
666         Define.
667         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
668         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
669         Define.
670         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
671         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
672         Define.
673         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
675         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
676         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
677         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
678         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
679         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
680         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
682         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
683         Handle f2fs.
685         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
686         Handle f2fs and efivarfs.
688         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
689         f2fs.
691         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
692         (EFIVARFS_MAGIC): Add.
693         (F2FS_LINK_MAX): Add.
695 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
697         * stdio-common/vfprintf.c: Replace __builtin_expect with
698         __glibc_unlikely.
700 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
702         [BZ #13550]
703         * sysdeps/generic/bp-sym.h: Remove file.
704         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
705         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
706         <bp-sym.h> and <bp-asm.h>.
707         (__longjmp): Don't use BP_SYM.
708         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
709         and <bp-asm.h>.
710         (memcpy): Don't use BP_SYM.
711         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
712         <bp-sym.h> and <bp-asm.h>.
713         (memcpy): Don't use BP_SYM.
714         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
715         <bp-asm.h>.
716         (memcpy): Don't use BP_SYM.
717         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
718         <bp-asm.h>.
719         (memset): Don't use BP_SYM.
720         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
721         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
722         (__bzero): Don't use BP_SYM.
723         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
724         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
725         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
726         <bp-sym.h> and <bp-asm.h>.
727         (memcmp): Don't use BP_SYM.  Remove comment about bounded
728         pointers.
729         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
730         <bp-sym.h> and <bp-asm.h>.
731         (memcpy): Don't use BP_SYM.
732         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
733         <bp-sym.h> and <bp-asm.h>.
734         (memset): Don't use BP_SYM.
735         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
736         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
737         (__bzero): Don't use BP_SYM.
738         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
739         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
740         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
741         <bp-sym.h> and <bp-asm.h>.
742         (strncmp): Don't use BP_SYM.  Remove comment about bounded
743         pointers.
744         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
745         <bp-sym.h> and <bp-asm.h>.
746         (memcpy): Don't use BP_SYM.
747         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
748         <bp-sym.h> and <bp-asm.h>.
749         (memset): Don't use BP_SYM.
750         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
751         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
752         (__bzero): Don't use BP_SYM.
753         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
754         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
755         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
756         <bp-sym.h> and <bp-asm.h>.
757         (__memchr): Don't use BP_SYM.
758         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
759         <bp-sym.h> and <bp-asm.h>.
760         (memcmp): Don't use BP_SYM.  Remove comment about bounded
761         pointers.
762         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
763         <bp-sym.h> and <bp-asm.h>.
764         (memcpy): Don't use BP_SYM.
765         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
766         <bp-sym.h> and <bp-asm.h>.
767         (__mempcpy): Don't use BP_SYM.
768         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
769         <bp-sym.h> and <bp-asm.h>.
770         (__memrchr): Don't use BP_SYM.
771         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
772         <bp-sym.h> and <bp-asm.h>.
773         (memset): Don't use BP_SYM.
774         (__bzero): Likewise.
775         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
776         <bp-sym.h> and <bp-asm.h>.
777         (__rawmemchr): Don't use BP_SYM.
778         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
779         <bp-sym.h> and <bp-asm.h>.
780         (__STRCMP): Don't use BP_SYM.
781         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
782         <bp-sym.h> and <bp-asm.h>.
783         (strchr): Don't use BP_SYM.
784         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
785         <bp-sym.h> and <bp-asm.h>.
786         (__strchrnul): Don't use BP_SYM.
787         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
788         <bp-sym.h> and <bp-asm.h>.
789         (strlen): Don't use BP_SYM.
790         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
791         <bp-sym.h> and <bp-asm.h>.
792         (strncmp): Don't use BP_SYM.  Remove comment about bounded
793         pointers.
794         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
795         <bp-sym.h> and <bp-asm.h>.
796         (__strnlen): Don't use BP_SYM.
797         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
798         <bp-sym.h> and <bp-asm.h>.
799         (__GI__setjmp): Don't use BP_SYM.
800         (_setjmp): Likewise.
801         (__sigsetjmp): Likewise.
802         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
803         (L(start_addresses)): Don't use BP_SYM.
804         (_start): Likewise.
805         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
806         <bp-asm.h>.
807         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
808         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
809         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
810         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
811         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
812         <bp-asm.h>.
813         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
814         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
815         about bounded pointers.
816         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
817         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
818         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
819         <bp-asm.h>.
820         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
821         about bounded pointers.  Remove GKM FIXME comments.
822         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
823         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
824         <bp-asm.h>.
825         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
826         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
827         Remove GKM FIXME comments.
828         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
829         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
830         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
831         <bp-asm.h>.
832         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
833         about bounded pointers.  Remove GKM FIXME comment.
834         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
835         and <bp-asm.h>.
836         (strncmp): Don't use BP_SYM.  Remove comment about bounded
837         pointers.
838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
839         <bp-sym.h> and <bp-asm.h>.
840         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
842         <bp-sym.h> and <bp-asm.h>.
843         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
844         comment.
846 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
848         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
849         call free(NULL).
851 2013-03-05  David S. Miller  <davem@davemloft.net>
853         * po/es.po: Update from translation team.
855 2013-03-05  Andreas Jaeger  <aj@suse.de>
857         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
858         <bits/mman-linux.h>.
859         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
860         is fine.
861         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
862         <bits/mman-linux.h> to end of file.
863         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
864         is fine.
865         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
866         <bits/mman-linux.h> to end of file.
867         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
868         is fine.
869         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
870         <bits/mman-linux.h> to end of file.
872         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
873         (MCL_CURRENT, MCL_FUTURE): Define here.
875 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
877         [BZ #15232]
878         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
879         attribute_hidden.
880         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
882 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
884         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
885         fourth parameter needed for rt_sigprocmask syscall.
886         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
887         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
888         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
889         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
890         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
891         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
893 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
895         [BZ #13550]
896         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
897         comment about bounded pointers.
898         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
899         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
901 2013-03-04  Andreas Jaeger  <aj@suse.de>
903         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
904         common definitions.
906         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
907         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
908         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
909         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
910         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
911         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
913 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
915         [BZ #15055]
916         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
917         __ieee754_sqrl instead of __sqrl.
919 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
921         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
922         * sysdeps/powerpc/fpu_control.h: ... here.
923         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
924         * sysdeps/powerpc/bits/fenvinline.h: ... here.
925         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
926         * sysdeps/powerpc/bits/mathinline.h: ... here.
928 2013-03-01  Roland McGrath  <roland@hack.frob.com>
930         * elf/dl-hwcaps.c (_dl_important_hwcaps):
931         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
932         to just [NEED_DL_SYSINFO_DSO].
933         * elf/dl-support.c: Likewise.
934         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
935         * elf/rtld.c (dl_main): Likewise.
936         * elf/setup-vdso.h (setup_vdso): Likewise.
937         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
938         * sysdeps/unix/sysv/linux/dl-sysdep.c
939         (_dl_discover_osversion): Likewise.
941 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
943         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
944         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
946 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
948         * NEWS: Mention libm performance improvements and non-x86 PI
949         futex support.
951         * csu/libc-start.c (__pthread_initialize_minimal): Change
952         function arguments.
953         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
955 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
957         [BZ #13550]
958         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
959         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
960         <bp-sym.h> and <bp-asm.h>.
961         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
962         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
963         and <bp-asm.h>.
964         (memcpy): Don't use BP_SYM.
965         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
966         <bp-asm.h>.
967         (__mpn_add_n): Don't use BP_SYM.
968         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
969         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
970         and <bp-asm.h>.
971         (__mpn_addmul_1): Don't use BP_SYM.
972         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
973         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
974         <bp-sym.h>.
975         (_setjmp): Don't use BP_SYM.
976         (__novmx_setjmp): Likewise.
977         (__GI__setjmp): Likewise.
978         (__vmx_setjmp): Likewise.
979         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
980         <bp-sym.h>.
981         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
982         (__bzero): Don't use BP_SYM.
983         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
984         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
985         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
986         <bp-sym.h> and <bp-asm.h>.
987         (memcpy): Don't use BP_SYM.
988         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
989         <bp-sym.h> and <bp-asm.h>.
990         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
991         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
992         <bp-sym.h> and <bp-asm.h>.
993         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
994         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
995         <bp-asm.h>.
996         (__mpn_lshift): Don't use BP_SYM.
997         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
998         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
999         <bp-asm.h>.
1000         (memset): Don't use BP_SYM.
1001         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1002         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1003         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1004         <bp-asm.h>.
1005         (__mpn_mul_1): Don't use BP_SYM.
1006         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1007         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1008         <bp-sym.h> and <bp-asm.h>.
1009         (memcmp): Don't use BP_SYM.
1010         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1011         <bp-sym.h> and <bp-asm.h>.
1012         (memcpy): Don't use BP_SYM.
1013         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1014         <bp-sym.h> and <bp-asm.h>.
1015         (memset): Don't use BP_SYM.
1016         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1017         <bp-sym.h> and <bp-asm.h>.
1018         (strncmp): Don't use BP_SYM.
1019         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1020         <bp-sym.h> and <bp-asm.h>.
1021         (memcpy): Don't use BP_SYM.
1022         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1023         <bp-sym.h> and <bp-asm.h>.
1024         (memset): Don't use BP_SYM.
1025         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1026         <bp-sym.h> and <bp-asm.h>.
1027         (__memchr): Don't use BP_SYM.
1028         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1029         <bp-sym.h> and <bp-asm.h>.
1030         (memcmp): Don't use BP_SYM.
1031         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1032         <bp-sym.h> and <bp-asm.h>.
1033         (memcpy): Don't use BP_SYM.
1034         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1035         <bp-sym.h> and <bp-asm.h>.
1036         (__mempcpy): Don't use BP_SYM.
1037         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1038         <bp-sym.h> and <bp-asm.h>.
1039         (__memrchr): Don't use BP_SYM.
1040         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1041         <bp-sym.h> and <bp-asm.h>.
1042         (memset): Don't use BP_SYM.
1043         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1044         <bp-sym.h> and <bp-asm.h>.
1045         (__rawmemchr): Don't use BP_SYM.
1046         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1047         <bp-sym.h> and <bp-asm.h>.
1048         (__STRCMP): Don't use BP_SYM.
1049         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1050         <bp-sym.h> and <bp-asm.h>.
1051         (strchr): Don't use BP_SYM.
1052         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1053         <bp-sym.h> and <bp-asm.h>.
1054         (__strchrnul): Don't use BP_SYM.
1055         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1056         <bp-sym.h> and <bp-asm.h>.
1057         (strlen): Don't use BP_SYM.
1058         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1059         <bp-sym.h> and <bp-asm.h>.
1060         (strncmp): Don't use BP_SYM.
1061         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1062         <bp-sym.h> and <bp-asm.h>.
1063         (__strnlen): Don't use BP_SYM.
1064         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1065         <bp-asm.h>.
1066         (__mpn_rshift): Don't use BP_SYM.
1067         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1068         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1069         <bp-sym.h> and <bp-asm.h>.
1070         (__sigsetjmp): Don't use BP_SYM.
1071         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1072         (L(start_addresses)): Don't use BP_SYM.
1073         (_start): Likewise.
1074         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1075         <bp-asm.h>.
1076         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1077         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1078         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1079         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1080         <bp-asm.h>.
1081         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1082         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1083         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1084         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1085         <bp-asm.h>.
1086         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1087         comments.
1088         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1089         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1090         <bp-asm.h>.
1091         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1092         FIXME comments.
1093         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1094         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1095         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1096         <bp-asm.h>.
1097         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1098         comment.
1099         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1100         and <bp-asm.h>.
1101         (strncmp): Don't use BP_SYM,
1102         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1103         <bp-asm.h>.
1104         (__mpn_sub_n): Don't use BP_SYM.
1105         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1106         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1107         and <bp-asm.h>.
1108         (__mpn_submul_1): Don't use BP_SYM.
1109         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1111         <bp-sym.h> and <bp-asm.h>.
1112         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1114         <bp-sym.h> and <bp-asm.h>.
1115         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1116         comment.
1118 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1121         Use ZK to minimize writes to Z.
1122         (sub_magnitudes): Simplify code a bit.
1123         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1124         Use ZK to minimize writes to Z.
1125         (sub_magnitudes): Simplify code a bit.
1127 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1129         * csu/gmon-start.c: Add special exception to license text.
1131 2013-02-27  Richard Henderson  <rth@redhat.com>
1133         * scripts/config.guess: Update from config.git.
1134         * scripts/config.sub: Likewise.
1136 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1138         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1140         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1142         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1144         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1146         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1148 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1150         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1151         [$(build-shared = yes].
1153 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1155         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1156         (__mul): Reduce iterations for calculating mantissa.
1158         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1159         MPTWO.
1160         (__mpranred): Likewise.
1162         [BZ #15160]
1163         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1164         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1166 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1168         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1169         Define __attribute__.
1171 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1173         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1174         unused.
1175         * posix/regex_internal.h (__attribute): Remove.
1176         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1177         (re_string_context_at): Likewise.
1178         (bitset_not): Use __attribute__ and mark function as possibly
1179         unused.
1180         (bitset_merge): Likewise.
1181         (bitset_mask): Likewise.
1182         (re_string_char_size_at): Likewise.
1183         (re_string_wchar_at): Likewise.
1184         (re_string_elem_size_at): Likewise.
1186 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1188         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1189         code.
1190         (cc32): Likewise.
1192         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1193         (__acr): Likewise.
1194         (__cpy): Likewise.
1195         (norm): Likewise.
1196         (denorm): Likewise.
1197         (__dbl_mp): Likewise.
1198         (add_magnitudes): Likewise.
1199         (sub_magnitudes): Likewise.
1200         (__mul): Likewise.
1201         (__inv): Likewise.
1203         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1204         style.
1206         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1207         style.
1209         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1210         code.
1212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1213         up changes with default code.
1214         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1215         Likewise.
1217 2013-02-24  Allan McRae  <allan@archlinux.org>
1219         * manual/socket.texi (The Internet Namespace): Order menu items
1220         to match that in the file.
1222         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1223         node listing of the info page menu.
1225 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1227         [BZ #13550]
1228         * sysdeps/i386/bp-asm.h: Remove file.
1229         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1230         (PARMS): Do not use macros from bp-asm.h.
1231         (S1): Likewise.
1232         (S2): Likewise.
1233         (SIZE): Likewise.
1234         (__mpn_add_n): Do not use BP_SYM
1235         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1236         "bp-asm.h".
1237         (PARMS): Do not use macros from bp-asm.h.
1238         (S1): Likewise.
1239         (SIZE): Likewise.
1240         (__mpn_addmul_1): Do not use BP_SYM
1241         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1242         "bp-asm.h".
1243         (PARMS): Do not use macros from bp-asm.h.
1244         (SIGMSK): Likewise.
1245         (_setjmp): Likewise.  Do not use BP_SYM.
1246         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1247         "bp-asm.h".
1248         (PARMS): Do not use macros from bp-asm.h.
1249         (SIGMSK): Likewise.
1250         (setjmp): Likewise.  Do not use BP_SYM.
1251         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1252         "bp-asm.h".
1253         (PARMS): Do not use macros from bp-asm.h.
1254         (__frexp): Do not use BP_SYM.
1255         (frexp): Likewise.
1256         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1257         "bp-asm.h".
1258         (PARMS): Do not use macros from bp-asm.h.
1259         (__frexpf): Do not use BP_SYM.
1260         (frexpf): Likewise.
1261         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1262         "bp-asm.h".
1263         (PARMS): Do not use macros from bp-asm.h.
1264         (__frexpl): Do not use BP_SYM.
1265         (frexpl): Likewise.
1266         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1267         "bp-asm.h".
1268         (PARMS): Do not use macros from bp-asm.h.
1269         (__remquo): Do not use BP_SYM.
1270         (remquo): Likewise.
1271         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1272         "bp-asm.h".
1273         (PARMS): Do not use macros from bp-asm.h.
1274         (__remquof): Do not use BP_SYM.
1275         (remquof): Likewise.
1276         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1277         "bp-asm.h".
1278         (PARMS): Do not use macros from bp-asm.h.
1279         (__remquol): Do not use BP_SYM.
1280         (remquol): Likewise.
1281         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1282         "bp-asm.h".
1283         (PARMS): Do not use macros from bp-asm.h.
1284         (DEST): Likewise.
1285         (SRC): Likewise.
1286         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1287         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1288         "bp-asm.h".
1289         (PARMS): Do not use macros from bp-asm.h.
1290         (strlen): Do not use BP_SYM.
1291         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1292         "bp-asm.h".
1293         (PARMS): Do not use macros from bp-asm.h.
1294         (S1): Likewise.
1295         (S2): Likewise.
1296         (SIZE): Likewise.
1297         (__mpn_add_n): Do not use BP_SYM.
1298         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1299         "bp-asm.h".
1300         (PARMS): Do not use macros from bp-asm.h.
1301         (S1): Likewise.
1302         (SIZE): Likewise.
1303         (__mpn_addmul_1): Do not use BP_SYM.
1304         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1305         weak_alias.
1306         (bzero): Likewise.
1307         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1308         "bp-asm.h".
1309         (PARMS): Do not use macros from bp-asm.h.
1310         (S): Likewise.
1311         (SIZE): Likewise.
1312         (__mpn_lshift): Do not use BP_SYM.
1313         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1314         "bp-asm.h".
1315         (PARMS): Do not use macros from bp-asm.h.
1316         (DEST): Likewise.
1317         (SRC): Likewise.
1318         (LEN): Likewise.
1319         (memcpy): Likewise.  Do not use BP_SYM.
1320         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1321         libc_hidden_def and weak_alias.
1322         (mempcpy): Do not use BP_SYM in weak_alias.
1323         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1324         "bp-asm.h".
1325         (PARMS): Do not use macros from bp-asm.h.
1326         (DEST): Likewise.
1327         (LEN): Likewise.
1328         [!BZERO_P] (CHR): Likewise.
1329         (memset): Likewise.  Do not use BP_SYM.
1330         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1331         "bp-asm.h".
1332         (PARMS): Do not use macros from bp-asm.h.
1333         (S1): Likewise.
1334         (SIZE): Likewise.
1335         (__mpn_mul_1): Do not use BP_SYM.
1336         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1337         "bp-asm.h".
1338         (PARMS): Do not use macros from bp-asm.h.
1339         (S): Likewise.
1340         (SIZE): Likewise.
1341         (__mpn_rshift): Do not use BP_SYM.
1342         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1343         "bp-asm.h".
1344         (PARMS): Do not use macros from bp-asm.h.
1345         (STR): Likewise.
1346         (CHR): Likewise.
1347         (strchr): Likewise.  Do not use BP_SYM.
1348         (index): Do not use BP_SYM in weak_alias.
1349         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1350         "bp-asm.h".
1351         (PARMS): Do not use macros from bp-asm.h.
1352         (DEST): Likewise.
1353         (SRC): Likewise.
1354         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1355         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1356         "bp-asm.h".
1357         (PARMS): Do not use macros from bp-asm.h.
1358         (strlen): Do not use BP_SYM.
1359         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1360         "bp-asm.h".
1361         (PARMS): Do not use macros from bp-asm.h.
1362         (S1): Likewise.
1363         (S2): Likewise.
1364         (SIZE): Likewise.
1365         (__mpn_sub_n): Do not use BP_SYM.
1366         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1367         "bp-asm.h".
1368         (PARMS): Do not use macros from bp-asm.h.
1369         (S1): Likewise.
1370         (SIZE): Likewise.
1371         (__mpn_submul_1): Do not use BP_SYM.
1372         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1373         "bp-asm.h".
1374         (PARMS): Do not use macros from bp-asm.h.
1375         (S1): Likewise.
1376         (S2): Likewise.
1377         (SIZE): Likewise.
1378         (__mpn_add_n): Do not use BP_SYM.
1379         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1380         weak_alias.
1381         (bzero): Likewise.
1382         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1383         "bp-asm.h".
1384         (PARMS): Do not use macros from bp-asm.h.
1385         (BLK2): Likewise.
1386         (LEN): Likewise.
1387         (memcmp): Do not use BP_SYM.
1388         (bcmp): Do not use BP_SYM in weak_alias.
1389         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1390         "bp-asm.h".
1391         (PARMS): Do not use macros from bp-asm.h.
1392         (DEST): Likewise.
1393         (SRC): Likewise.
1394         (LEN): Likewise.
1395         (memcpy): Likewise.  Do not use BP_SYM.
1396         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1397         "bp-asm.h".
1398         (PARMS): Do not use macros from bp-asm.h.
1399         (DEST): Likewise.
1400         (SRC): Likewise.
1401         (LEN): Likewise.
1402         (memmove): Likewise.  Do not use BP_SYM.
1403         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1404         "bp-asm.h".
1405         (PARMS): Do not use macros from bp-asm.h.
1406         (DEST): Likewise.
1407         (SRC): Likewise.
1408         (LEN): Likewise.
1409         (__mempcpy): Likewise.  Do not use BP_SYM.
1410         (mempcpy): Do not use BP_SYM in weak_alias.
1411         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1412         "bp-asm.h".
1413         (PARMS): Do not use macros from bp-asm.h.
1414         (DEST): Likewise.
1415         (LEN): Likewise.
1416         [!BZERO_P] (CHR): Likewise.
1417         (memset): Likewise.  Do not use BP_SYM.
1418         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1419         "bp-asm.h".
1420         (PARMS): Do not use macros from bp-asm.h.
1421         (STR2): Likewise.
1422         (strcmp): Do not use BP_SYM.
1423         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1424         "bp-asm.h".
1425         (PARMS): Do not use macros from bp-asm.h.
1426         (STR): Likewise.
1427         (DELIM): Likewise.
1428         [USE_AS_STRTOK_R] (SAVE): Likewise.
1429         (FUNCTION): Likewise.  Do not use BP_SYM.
1430         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1431         aliases.
1432         (strtok_r): Likewise.
1433         (__GI___strtok_r): Likewise.
1434         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1435         (PARMS): Do not use macros from bp-asm.h.
1436         (S): Likewise.
1437         (SIZE): Likewise.
1438         (__mpn_lshift): Do not use BP_SYM.
1439         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1440         (PARMS): Do not use macros from bp-asm.h.
1441         (STR): Likewise.
1442         (CHR): Likewise.
1443         (__memchr): Do not use BP_SYM.
1444         (memchr): Do not use BP_SYM in weak_alias.
1445         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1446         (PARMS): Do not use macros from bp-asm.h.
1447         (BLK2): Likewise.
1448         (LEN): Likewise.
1449         (memcmp): Do not use BP_SYM.
1450         (bcmp): Do not use BP_SYM in weak_alias.
1451         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1452         (PARMS): Do not use macros from bp-asm.h.
1453         (S1): Likewise.
1454         (SIZE): Likewise.
1455         (__mpn_mul_1): Do not use BP_SYM.
1456         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1457         "bp-asm.h".
1458         (PARMS): Do not use macros from bp-asm.h.
1459         (STR): Likewise.
1460         (CHR): Likewise.
1461         (__rawmemchr): Do not use BP_SYM.
1462         (rawmemchr): Do not use BP_SYM in weak_alias.
1463         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1464         (PARMS): Do not use macros from bp-asm.h.
1465         (S): Likewise.
1466         (SIZE): Likewise.
1467         (__mpn_rshift): Do not use BP_SYM.
1468         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1469         (PARMS): Do not use macros from bp-asm.h.
1470         (SIGMSK): Likewise.
1471         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1472         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1473         (_start): Do not use BP_SYM.
1474         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1475         (PARMS): Do not use macros from bp-asm.h.
1476         (DEST): Likewise.
1477         (SRC): Likewise.
1478         (__stpcpy): Likewise.  Do not use BP_SYM.
1479         (stpcpy): Do not use BP_SYM in weak_alias.
1480         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1481         "bp-asm.h".
1482         (PARMS): Do not use macros from bp-asm.h.
1483         (DEST): Likewise.
1484         (SRC): Likewise.
1485         (LEN): Likewise.
1486         (__stpncpy): Likewise.  Do not use BP_SYM.
1487         (stpncpy): Do not use BP_SYM in weak_alias.
1488         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1489         (PARMS): Do not use macros from bp-asm.h.
1490         (STR): Likewise.
1491         (CHR): Likewise.
1492         (strchr): Likewise.  Do not use BP_SYM.
1493         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1494         "bp-asm.h".
1495         (PARMS): Do not use macros from bp-asm.h.
1496         (STR): Likewise.
1497         (CHR): Likewise.
1498         (__strchrnul): Likewise.  Do not use BP_SYM.
1499         (strchrnul): Do not use BP_SYM in weak_alias.
1500         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1501         "bp-asm.h".
1502         (PARMS): Do not use macros from bp-asm.h.
1503         (STOP): Likewise.
1504         (strcspn): Do not use BP_SYM.
1505         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1506         "bp-asm.h".
1507         (PARMS): Do not use macros from bp-asm.h.
1508         (STR): Likewise.
1509         (STOP): Likewise.
1510         (strpbrk): Likewise.  Do not use BP_SYM.
1511         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1512         "bp-asm.h".
1513         (PARMS): Do not use macros from bp-asm.h.
1514         (STR): Likewise.
1515         (CHR): Likewise.
1516         (strrchr): Likewise.  Do not use BP_SYM.
1517         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1518         (PARMS): Do not use macros from bp-asm.h.
1519         (SKIP): Likewise.
1520         (strspn): Do not use BP_SYM.
1521         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1522         (PARMS): Do not use macros from bp-asm.h.
1523         (STR): Likewise.
1524         (DELIM): Likewise.
1525         (SAVE): Likewise.
1526         (FUNCTION): Likewise.  Do not use BP_SYM.
1527         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1528         aliases.
1529         (strtok_r): Likewise.
1530         (__GI___strtok_r): Likewise.
1531         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1532         (PARMS): Do not use macros from bp-asm.h.
1533         (S1): Likewise.
1534         (S2): Likewise.
1535         (SIZE): Likewise.
1536         (__mpn_sub_n): Do not use BP_SYM.
1537         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1538         "bp-asm.h".
1539         (PARMS): Do not use macros from bp-asm.h.
1540         (S1): Likewise.
1541         (SIZE): Likewise.
1542         (__mpn_submul_1): Do not use BP_SYM.
1543         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1544         <bp-sym.h>.
1545         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1546         and <bp-asm.h>.
1547         (PARMS): Do not use macros from bp-asm.h.
1548         (FLAGS): Likewise.
1549         (PTID): Likewise.
1550         (TLS): Likewise.
1551         (CTID): Likewise.
1552         (__clone): Do not use BP_SYM.
1553         (clone): Do not use BP_SYM in weak_alias.
1554         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1555         and <bp-asm.h>.
1556         (PARMS): Do not use macros from bp-asm.h.
1557         (LEN): Likewise.
1558         (__mmap64): Do not use BP_SYM.
1559         (mmap64): Do not use BP_SYM in weak_alias.
1560         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1561         <bp-sym.h> and <bp-asm.h>.
1562         (PARMS): Do not use macros from bp-asm.h.
1563         (__posix_fadvise64_l64): Do not use BP_SYM.
1564         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1565         (PARMS): Do not use macros from bp-asm.h.
1566         (NSOPS): Likewise.
1567         (semtimedop): Do not use BP_SYM.
1568         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1569         and <bp-asm.h>.
1571 2013-02-21  Allan McRae  <allan@archlinux.org>
1573         * manual/message.texi (Charset conversion in gettext):
1574         Move @end statement to beginning of line.
1576 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1579         static.
1580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1581         Likewise.
1583         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1584         (denorm): Likewise.
1585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1588 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1590         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1591         tail-call to the resolved function if pltexit isn't needed.
1593 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1596         or Y being zero as being unlikely.
1597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1598         Likewise.
1600 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1602         * manual/nss.texi (System Databases and Name Service Switch):
1603         Remove frobnicate @pxref.
1605 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1607         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1608         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1610 2013-02-20  Petr Machata  <pmachata@redhat.com>
1612         * elf/elf.h (R_ARM_TARGET1): New macro.
1613         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1614         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1615         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1616         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1617         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1618         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1619         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1620         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1621         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1622         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1623         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1624         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1625         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1626         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1627         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1628         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1629         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1630         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1631         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1632         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1633         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1634         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1635         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1636         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1637         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1638         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1639         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1640         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1641         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1642         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1643         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1644         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1645         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1646         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1647         (R_ARM_THM_GOT_BREL12): Likewise.
1648         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1649         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1650         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1651         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1652         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1653         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1654         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1655         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1656         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1658 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1660         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1661         __attribute_used__ to __attribute__ ((unused)).
1663 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1665         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1666         powerpc mpa.c.
1667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1668         comment formatting.
1669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1671 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
1673         [BZ #13550]
1674         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1675         Remove macro.
1676         (ENTER): Remove both macro definitions.
1677         (LEAVE): Likewise.
1678         (CHECK_BOUNDS_LOW): Likewise.
1679         (CHECK_BOUNDS_HIGH): Likewise.
1680         (CHECK_BOUNDS_BOTH): Likewise.
1681         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1682         (RETURN_BOUNDED_POINTER): Likewise.
1683         (RETURN_NULL_BOUNDED_POINTER): Likewise.
1684         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1685         (POP_ERRNO_LOCATION_RETURN): Likewise.
1686         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1687         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1688         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1689         macros.
1690         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1691         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1692         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1693         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1694         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1695         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1696         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1697         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1698         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1699         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1700         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1701         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1702         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1703         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1704         removed macros.
1705         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1706         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1707         macros.
1708         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1709         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1710         * sysdeps/i386/i586/memset.S (memset): Likewise.
1711         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1712         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1713         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1714         macros.
1715         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1716         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1717         Change uses of L(2) to L(out).
1718         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1719         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1720         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1721         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1722         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1723         removed macros.
1724         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1725         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1726         macros.
1727         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1728         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1729         (RETURN): Do not use macro LEAVE.
1730         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1731         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1732         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1733         * sysdeps/i386/i686/memset.S (memset): Likewise.
1734         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1735         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1736         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1737         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1738         Likewise.
1739         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1740         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
1741         L(1_2) and L(1_3) into L(1).
1742         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1743         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1744         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1745         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1746         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1747         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1748         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1749         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1750         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1751         macros.
1752         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1753         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1754         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1755         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1756         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1757         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1758         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1759         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1760         * sysdeps/i386/strcspn.S (strcspn): Likewise.
1761         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1762         * sysdeps/i386/strrchr.S (strrchr): Likewise.
1763         * sysdeps/i386/strspn.S (strspn): Likewise.
1764         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1765         conditional code.
1766         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1767         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1768         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1769         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
1770         L(1_3) into L(1_1).
1771         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1772         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1773         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1774         macros.
1775         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1777 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
1779         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1780         macro.
1782 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1784         * math/atest-exp.c (exp_mpn): Remove ROUND.
1785         * math/atest-exp2.c (exp_mpn): Likewise.
1786         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1788         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1789         * stdlib/tst-tls-atexit-lib.c: Likewise.
1790         * stdlib/tst-tls-atexit.c: Likewise.
1792 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1794         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1795         and __attribute_alloc_size__.
1797 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1799         * include/programs/xmalloc.h: Change __attribute_alloc_size to
1800         __attribute_alloc_size__.
1801         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1802         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1804 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1806         * include/programs/xmalloc.h: New file.
1807         * catgets/gencat.c: Include it.
1808         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1809         * elf/pldd.c: Likewise.
1810         * iconv/iconv_charmap.c: Likewise.
1811         * iconv/iconvconfig.c: Likewise.
1812         * iconv/strtab.c: Likewise.
1813         * locale/programs/locale.c: Likewise.
1814         * locale/programs/localedef.h: Likewise.
1815         * locale/programs/simple-hash.c: Likewise.
1816         * nscd/nscd.h: Likewise.
1817         * nss/makedb.c: Likewise.
1818         * sysdeps/generic/ldconfig.h: Likewise.
1820 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1822         * Versions.def: Add GLIBC_2.18.
1823         * include/link.h (struct link_map): New member l_tls_dtor_count.
1824         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1825         (__call_tls_dtors): Likewise.
1826         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1827         __cxa_thread_atexit_impl.
1828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1829         Likewise.
1830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1831         Likewise.
1832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1833         Likewise.
1834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1835         Likewise.
1836         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1838         Likewise.
1839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1840         Likewise.
1841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1843         Likewise.
1844         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1845         (tests): Add test case tst-tls-atexit.
1846         (modules-names): Add shared library for tst-tls-atexit.
1847         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1848         (GLIBC_PRIVATE): Add __call_tls_dtors.
1849         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1850         for libstdc++.
1851         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1852         * stdlib/tst-tls-atexit.c: New test case.
1853         * stdlib/tst-tls-atexit-lib.c: New test case.
1855         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1857         * elf/Versions (ld): Add _dl_find_dso_for_object.
1858         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1859         * elf/dl-open.c (_dl_find_dso_for_object): New function.
1860         (dl_open_worker): Use _dl_find_dso_for_object.
1861         * elf/dl-sym.c (do_sym): Likewise.
1862         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1864 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1866         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1867         Syntactic changes only.
1868         (_dl_runtime_profile): Do a tail-call to the resolved function.
1870 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
1872         [BZ #13550]
1873         * sysdeps/x86_64/bp-asm.h: Remove file.
1874         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1875         <bp-sym.h> and <bp-asm.h>.
1876         (__clone): Do not use BP_SYM.
1877         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1878         <bp-sym.h> and <bp-asm.h>.
1879         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1880         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1881         "bp-asm.h".
1882         (_setjmp): Do not use BP_SYM.
1883         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1884         "bp-asm.h".
1885         (setjmp): Do not use BP_SYM.
1886         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1887         libc_hidden_def.
1888         (mempcpy): Do not use BP_SYM in weak_alias.
1889         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1890         "bp-asm.h".
1891         (strchr): Do not use BP_SYM.
1892         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1893         "bp-asm.h".
1894         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1895         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1896         (_start): Do not use BP_SYM.
1897         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1898         "bp-asm.h".
1899         (strcat): Do not use BP_SYM.
1900         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1901         "bp-asm.h".
1902         (STRCMP): Do not use BP_SYM.
1903         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1904         "bp-asm.h".
1905         (STRCPY): Do not use BP_SYM.
1906         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1907         "bp-asm.h".
1908         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1909         "bp-asm.h".
1910         (FUNCTION): Do not use BP_SYM.
1911         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1912         weak_alias.
1913         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1915 2013-02-17  Andreas Jaeger  <aj@suse.de>
1917         * time/Versions: Sort entries.
1918         * string/Versions: Likewise.
1919         * resolv/Versions: Likewise.
1920         * posix/Versions: Likewise.
1921         * iconv/Versions: Likewise.
1922         * elf/Versions: Likewise.
1923         * wcsmbs/Versions: Likewise.
1925 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1927         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1928         loop termination condition.
1930         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1931         variable to calculate EZ.
1932         (__sqr): Likewise.
1934         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1935         the lower precision input.
1937 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
1939         [BZ #13550]
1940         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1941         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1942         (run-via-rtld-prefix): Do not handle %-bp tests.
1943         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1944         (all-object-suffixes): Remove .ob.
1945         (bppfx): Remove variable.
1946         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1947         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1948         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1949         [$(build-bounded) = yes] (libtype.ob): Likewise.
1950         * Makerules (elide-routines.ob): Remove variable.
1951         (do-tests-clean): Do not handle *-bp.out.
1952         (common-mostlyclean): Do not handle *-bp and *-bp.out.
1953         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1954         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1955         (tests): Do not include $(tests-bp.out).
1956         (xtests): Do not include $(xtests-bp.out).
1957         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1958         [$(build-bounded) = yes] ($(addprefix
1959         $(objpfx),$(binaries-bounded))): Remove rule.
1960         ($(objpfx)%-bp.out): Remove rule.
1961         * config.make.in (build-bounded): Remove variable.
1962         * crypt/Makefile [$(build-bounded) = yes]
1963         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1964         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1965         append to variable.
1966         [$(build-bounded) = yes] (install-lib): Likewise.
1967         [$(build-bounded) = yes] (generated): Likewise.
1968         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1969         Remove rule.
1970         * intl/Makefile [$(build-bounded) = yes]
1971         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1972         * math/Makefile [$(build-bounded) = yes]
1973         ($(tests:%=$(objpfx)%-bp): Likewise.
1974         * misc/Makefile [$(build-bounded) = yes]
1975         ($(objpfx)tst-tsearch-bp): Likewise.
1976         * nptl/Makeconfig (bounded-thread-library): Remove variable.
1977         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1978         Remove dependency.
1979         * string/Makefile (o-objects.ob): Remove variable.
1980         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1981         (CFLAGS-.ob): Remove variable.
1982         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1983         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1984         both definitions of variable.
1985         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1986         (ASFLAGS-.ob): Remove variable.
1988 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
1990         [BZ #13550]
1991         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1992         Remove __BOUNDED_POINTERS__ from condition.
1993         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1994         * string/bits/string2.h [!__NO_STRING_INLINES &&
1995         !__BOUNDED_POINTERS__]: Likewise.
1996         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1997         Likewise.
1998         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1999         Remove conditional code.
2000         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2001         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2002         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2003         condition.
2005         [BZ #13550]
2006         * csu/libc-start.c: Do not include <bp-sym.h>.
2007         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2008         * elf/dl-open.c: Do not include <bp-sym.h>.
2009         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2010         * math/fegetenv.c: Do not include <bp-sym.h>.
2011         (fegetenv): Do not use BP_SYM in versioned symbols.
2012         * nptl/sysdeps/pthread/bits/libc-lockP.h
2013         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2014         <bp-sym.h>.
2015         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2016         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2017         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2018         (__pthread_mutex_destroy): Likewise.
2019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2020         (__pthread_mutex_lock): Likewise.
2021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2022         (__pthread_mutex_trylock): Likewise.
2023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2024         (__pthread_mutex_unlock): Likewise.
2025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2026         (__pthread_mutexattr_init): Likewise.
2027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2028         (__pthread_mutexattr_destroy): Likewise.
2029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2030         (__pthread_mutexattr_settype): Likewise.
2031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2032         (__pthread_rwlock_init): Likewise.
2033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2034         (__pthread_rwlock_destroy): Likewise.
2035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2036         (__pthread_rwlock_rdlock): Likewise.
2037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2038         (__pthread_rwlock_tryrdlock): Likewise.
2039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2040         (__pthread_rwlock_wrlock): Likewise.
2041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2042         (__pthread_rwlock_trywrlock): Likewise.
2043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2044         (__pthread_rwlock_unlock): Likewise.
2045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2046         (__pthread_key_create): Likewise.
2047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2048         (__pthread_setspecific): Likewise.
2049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2050         (__pthread_getspecific): Likewise.
2051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2052         Likewise.
2053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2054         (_pthread_cleanup_push_defer): Likewise.
2055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2056         (_pthread_cleanup_pop_restore): Likewise.
2057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2058         (pthread_setcancelstate): Likewise.
2059         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2060         <bp-sym.h>.
2061         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2062         (memchr): Do not use BP_SYM in weak_alias.
2063         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2064         (fegetenv): Do not use BP_SYM in versioned symbols.
2065         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2066         (fesetenv): Do not use BP_SYM in versioned symbols.
2067         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2068         (feupdateenv): Do not use BP_SYM in versioned symbols.
2069         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2070         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2071         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2072         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2073         (open64): Do not use BP_SYM in weak_alias.
2074         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2075         (fegetenv): Do not use BP_SYM in versioned symbols.
2076         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2077         (fesetenv): Do not use BP_SYM in versioned symbols.
2078         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2079         (feupdateenv): Do not use BP_SYM in versioned symbols.
2080         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2081         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2082         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2083         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2084         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2085         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2086         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2087         <bp-sym.h>.
2088         (__libc_start_main): Do not use BP_SYM.
2090 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2093         redundant return line.
2094         (norm): Likewise.
2095         (denorm): Likewise.
2096         (dbl_mp): Likewise.
2097         (sub_magnitudes): Likewise.
2098         (__add): Likewise.
2099         (__sub): Likewise.
2100         (__mul): Likewise.
2101         (__inv): Likewise.
2102         (__dvd): Likewise.
2103         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2104         (norm): Likewise.
2105         (denorm): Likewise.
2106         (dbl_mp): Likewise.
2107         (sub_magnitudes): Likewise.
2108         (__add): Likewise.
2109         (__sub): Likewise.
2110         (__mul): Likewise.
2111         (__inv): Likewise.
2112         (__dvd): Likewise.
2114         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2115         instead of __mul.
2116         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2117         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2118         (cc32): Likewise.
2120         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2121         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2122         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2123         of __mul for squares.
2124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2125         function
2126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2127         Likewise.
2128         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2129         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2131 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2133         [BZ #13550]
2134         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2135         code.
2136         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2137         prototype or function definition.  Rename ubp_* variables and
2138         parameters.  Remove argv definitions conditional on
2139         [__BOUNDED_POINTERS__].
2140         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2141         * elf/dl-runtime.c (_dl_fixup): Likewise.
2142         * include/set-hooks.h (RUN_HOOK): Likewise.
2143         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2144         definition.
2145         * string/strcpy.c (strcpy): Do not use __unbounded.
2146         * sysdeps/generic/frame.h (struct layout): Likewise.
2147         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2148         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2149         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2150         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2151         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2152         (__backtrace): Likewise.
2153         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2154         use __ptrvalue.
2155         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2156         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2157         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2158         Likewise.
2159         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2160         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2161         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2162         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2163         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2164         Do not use __unbounded.
2165         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2166         Rename __unboundedrlimits parameter to rlimits in prototype.
2167         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2168         Do not use __unbounded.
2169         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2170         not use __ptrvalue.
2171         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2172         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2173         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2174         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2175         __ptrvalue or __unbounded.
2176         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2177         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2178         use __unbounded.
2179         (__new_msgctl): Do not use __ptrvalue.
2180         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2181         __unbounded.
2182         (__libc_msgrcv): Do not use __ptrvalue.
2183         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2184         startup_info): Do not use __unbounded.
2185         (__libc_start_main): Likewise.  Rename ubp_* variables and
2186         parameters.  Remove argv definitions conditional on
2187         [__BOUNDED_POINTERS__].
2188         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2189         __ptrvalue.
2190         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2191         use __unbounded.
2192         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2193         or __ptrvalue.
2194         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2195         use __unbounded.
2196         (__new_shmctl): Do not use __ptrvalue.
2197         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2198         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2199         Likewise.
2200         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2201         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2202         (__libc_sigaction): Likewise.
2203         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2204         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2205         Likewise.
2206         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2208 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2210         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2212         * string/mempcpy.c: Implement by calling memcpy.
2214 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2216         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2218         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2219         evaluation.
2221         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2222         values in the mantissa.
2224         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2225         minimize writes to Z.
2226         (sub_magnitudes): Simplify code a bit.
2228 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2230         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2231         from the message.  The linker prefixes all warnings with that already.
2233 2013-02-12  Andreas Schwab  <schwab@suse.de>
2235         [BZ #15078]
2236         * posix/regexec.c (extend_buffers): Add parameter min_len.
2237         (check_matching): Pass minimum needed length.
2238         (clean_state_log_if_needed): Likewise.
2239         (get_subexp): Likewise.
2240         * posix/Makefile (tests): Add bug-regex34.
2241         (bug-regex34-ENV): Define.
2242         * posix/bug-regex34.c: New file.
2244         [BZ #11561]
2245         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2246         elements compare against the byte sequence of it, not its name.
2247         * posix/Makefile (tests): Add bug-regex35.
2248         (bug-regex35-ENV): Define.
2249         * posix/bug-regex35.c: New file.
2251 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2253         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2254         comment.
2255         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2256         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2257         (CHECK_EOL): Add undef.
2259 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2261         * bits/stdlib-bsearch.h: New file.
2262         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2263         * stdlib/stdlib.h: Likewise.
2265 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2267         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2268         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2269         declaration.
2270         * manual/search.texi (Array Search Function): Add missing const in
2271         lfind prototype.
2272         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2273         declaration to use rlim_t.
2274         (Basic Scheduling Functions): Remove erroneous const from
2275         sched_getparam prototype.  Remove erroneous * from
2276         sched_get_priority_max and sched_get_priority_min prototypes.
2277         (Resource Usage): Fix summary @comment on vtimes to refer to
2278         sys/vtimes.h rather than vtimes.h.
2279         Add missing *s in vtimes prototype.
2280         (Limits on Resources): Fix ulimit prototype to return long int.
2281         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2282         prototypes to use long int rather than double.
2283         (BSD Random): Fix initstate and setstate to use char *, not void *.
2284         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2285         prototype to make second argument 'struct aiocb64 *const[]'.
2286         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2287         (Status of AIO Operations): Remove erroneous const in aio_return and
2288         aio_return64 prototypes.
2289         (Synchronizing I/O): Fix sync prototype to return void.
2290         * manual/startup.texi (Suboptions): Remove an erroneous const in
2291         getsubopt prototype.
2292         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2293         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2294         use size_t rather than int.
2295         (Scanning All Users): Likewise for getpwent_r.
2296         (Setting Groups): Add missing const to setgroups prototype.
2297         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2298         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2299         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2300         'const void *' rather than 'const char *'.
2301         (Host Address Functions): Likewise for inet_ntop.
2302         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2303         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2304         ssize_t for return value.
2305         (Sending Data): Likewise for send, sendto, sendmsg.
2306         (Socket Option Functions): Add a missing const in setsockopt prototype.
2307         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2308         use wchar_t for the argument.
2309         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2310         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2311         take no arguments.
2312         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2313         double/float/long double for second argument.
2314         Fix return types of significand, significandf, significandl.
2315         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2316         argument in fchmod prototype.
2317         (File Owner): Use uid_t and gid_t in fchown prototype.
2318         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2319         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2320         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2321         use 'const struct dirent **' as argument types to CMP function pointer
2322         argument.
2323         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2324         (File Times): Fix summary magic @comment for struct utimbuf and utime
2325         to refer to utime.h, not time.h.
2326         * manual/string.texi (Argz Functions): Add missing const in
2327         argz_extract and argz_next prototypes.
2328         (Finding Tokens in a String): Likewise for basename.
2329         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2330         (Copying and Concatenation): Fix typo in wmemmove prototype.
2331         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2332         (Signal Stack): Remove erroneous const in sigstack prototype.
2333         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2334         prototype.
2335         (Simple Calendar Time): Likewise for stime.
2336         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2337         prototype.
2338         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2339         say sys/sysctl.h instead.
2340         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2341         and vsyslog prototypes.
2343 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2345         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2346         Remove.
2348 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2350         * misc/sys/mman.h: Fix typo in mremap comment.
2352 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2354         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2355         the '\0' terminator.
2357 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2359         [BZ #13550]
2360         * debug/segfault.c: Don't include <bp-checks.h>.
2361         * sysdeps/generic/bp-checks.h: Remove file.
2362         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2363         (__GETDENTS): Don't use CHECK_N.
2364         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2365         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2366         (__getgroups): Don't use CHECK_N.
2367         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2368         (setgroups): Don't use CHECK_N.
2369         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2370         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2371         (__libc_msgrcv): Don't use CHECK_N.
2372         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2373         (__libc_msgsnd): Don't use CHECK_N.
2374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2375         <bp-checks.h>.
2376         (__libc_pread): Don't use CHECK_N.
2377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2378         include <bp-checks.h>.
2379         (__libc_pread64): Don't use CHECK_N.
2380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2381         include <bp-checks.h>.
2382         (__libc_pwrite): Don't use CHECK_N.
2383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2384         include <bp-checks.h>.
2385         (__libc_pwrite64): Don't use CHECK_N.
2386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2387         <bp-checks.h>.
2388         (__libc_pread): Don't use CHECK_N.
2389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2390         include <bp-checks.h>.
2391         (__libc_pread64): Don't use CHECK_N.
2392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2393         include <bp-checks.h>.
2394         (__libc_pwrite): Don't use CHECK_N.
2395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2396         include <bp-checks.h>.
2397         (__libc_pwrite64): Don't use CHECK_N.
2398         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2399         (do_pread): Don't use CHECK_N.
2400         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2401         (do_pread64): Don't use CHECK_N.
2402         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2403         (do_pwrite): Don't use CHECK_N.
2404         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2405         (do_pwrite64): Don't use CHECK_N.
2406         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2407         (__libc_readv): Don't use CHECK_N.
2408         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2409         (semop): Don't use CHECK_N.
2410         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2411         <bp-checks.h>.
2412         (semtimedop): Don't use CHECK_N.
2413         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2414         (__libc_pread): Don't use CHECK_N.
2415         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2416         <bp-checks.h>.
2417         (__libc_pread64): Don't use CHECK_N.
2418         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2419         <bp-checks.h>.
2420         (__libc_pwrite): Don't use CHECK_N.
2421         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2422         <bp-checks.h>.
2423         (__libc_pwrite64): Don't use CHECK_N.
2424         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2425         <bp-checks.h>.
2426         (__libc_msgrcv): Don't use CHECK_N.
2427         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2428         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2429         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2430         (__libc_writev): Don't use CHECK_N.
2432 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2434         * string/strcpy.c: Removed unused variable.
2436         * Makeconfig (+sysdep-includes): Define with := rather than =.
2437         Use an existing include/ subdir of each sysdeps dir before it.
2439 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2441         * nscd/connection.c (register_traced_file): Comment function.
2442         [HAVE_INOTIFY] (union __inev): Define.
2443         [HAVE_INOTIFY] (inotify_check_files): New function.
2444         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2445         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2446         clear_db_cache.
2447         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2449 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2451         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2452         loaded if not already and that a failure is permanent.
2454 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2456         [BZ #15006]
2457         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2458         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2460 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2462         [BZ #13550]
2463         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2464         (CHECK_1_NULL_OK): Likewise.
2465         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2466         (__fxstat): Do not use CHECK_1.
2467         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2468         <bp-checks.h>.
2469         (___fxstat64): Do not use CHECK_1.
2470         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2471         <bp-checks.h>.
2472         (__fxstatat): Do not use CHECK_1.
2473         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2474         <bp-checks.h>.
2475         (__fxstatat64): Do not use CHECK_1.
2476         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2477         <bp-checks.h>.
2478         (__fxstat): Do not use CHECK_1.
2479         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2480         <bp-checks.h>.
2481         (__fxstatat): Do not use CHECK_1.
2482         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2483         <bp-checks.h>.
2484         (__getresgid): Do not use CHECK_1.
2485         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2486         <bp-checks.h>.
2487         (__getresuid): Do not use CHECK_1.
2488         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2489         <bp-checks.h>.
2490         (__lxstat): Do not use CHECK_1.
2491         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2492         <bp-checks.h>.
2493         (__old_msgctl): Do not use CHECK_1.
2494         (__new_msgctl): Likewise.
2495         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2496         <bp-checks.h>.
2497         (__new_setrlimit): Do not use CHECK_1.
2498         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2499         <bp-checks.h>.
2500         (__old_shmctl): Do not use CHECK_1.
2501         (__new_shmctl): Likewise.
2502         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2503         <bp-checks.h>.
2504         (__xstat): Do not use CHECK_1.
2505         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2506         (__lxstat): Do not use CHECK_1.
2507         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2508         <bp-checks.h>.
2509         (___lxstat64): Do not use CHECK_1.
2510         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2511         (__old_msgctl): Do not use CHECK_1.
2512         (__new_msgctl): Likewise.
2513         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2514         <bp-checks.h>.
2515         (__gettimeofday): Do not use CHECK_1.
2516         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2517         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2518         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2519         <bp-checks.h>.
2520         (__gettimeofday): Do not use CHECK_1.
2521         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2522         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2523         (__new_shmctl): Do not use CHECK_1.
2524         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2525         <bp-checks.h>.
2526         (do_sigtimedwait): Do not use CHECK_1.
2527         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2528         <bp-checks.h>.
2529         (do_sigwaitinfo): Do not use CHECK_1.
2530         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2531         <bp-checks.h>.
2532         (msgctl): Do not use CHECK_1.
2533         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2534         <bp-checks.h>.
2535         (shmctl): Do not use CHECK_1.
2536         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2537         (ustat): Do not use CHECK_1.
2538         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2539         <bp-checks.h>.
2540         (__fxstat): Do not use CHECK_1.
2541         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2542         <bp-checks.h>.
2543         (__fxstatat): Do not use CHECK_1.
2544         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2545         <bp-checks.h>.
2546         (__lxstat): Do not use CHECK_1.
2547         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2548         <bp-checks.h>.
2549         (__xstat): Do not use CHECK_1.
2550         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2551         (__xstat): Do not use CHECK_1.
2552         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2553         (___xstat64): Do not use CHECK_1.
2555         [BZ #13550]
2556         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2557         definitions.
2558         (CHECK_BOUNDS_HIGH): Likewise.
2559         * string/strcpy.c: Do not include <bp-checks.h>.
2560         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2562 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2564         * nscd/nscd-client.h (__nscd_drop_map_ref):
2565         Add __attribute__ ((unused)).
2566         * nis/nss-nisplus.h (niserr2nss): Likewise.
2568         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2569         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2571         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2572         Remove inline keyword.
2573         * include/rounding-mode.h (round_away): Likewise.
2574         * libio/wfileops.c (adjust_wide_data): Likewise.
2575         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2576         (__m128i_strloadu_tolower): Likewise.
2577         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2578         (__m128i_strloadu_tolower): Likewise.
2579         * time/mktime.c (ydhms_diff): Likewise.
2580         * locale/elem-hash.h (elem_hash): Likewise.
2581         * locale/setlocale.c (setdata): Likewise.
2582         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2583         (re_string_wchar_at): Likewise.
2584         (bitset_not, bitset_merge, bitset_mask): Likewise.
2585         [!(__GNUC__ > 3)] (inline): Remove macro.
2586         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2587         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2588         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2589         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2590         * string/memcmp.c (memcmp_bytes): Likewise.
2591         * locale/programs/locarchive.c (compute_hashval): Likewise.
2592         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2593         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2594         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2595         * nss/getent.c (print_rpc, print_protocols): Likewise.
2596         (print_passwd, print_group, print_aliases): Likewise.
2597         * nis/nss-nisplus.h (niserr2nss): Likewise.
2598         * nscd/connections.c (restart_p): Likewise.
2599         Change return type to bool.
2601 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2603         * Makeconfig (all-Depend-files): Add existing
2604         $(sorted-subdirs:=/Depend) files.
2605         (all-subdirs): Remove nss.
2606         * sysdeps/unix/inet/Subdirs: Add it here instead.
2607         * hesiod/Depend: New file.
2609         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2610         instead of calling alloca.
2612         * io/lseek.c (__lseek): Rename to __libc_lseek.
2613         Define __lseek as an alias.
2615         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2617 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2619         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2620         else clause and remove check for non-standard endianness.
2622 2013-02-04  David S. Miller  <davem@davemloft.net>
2624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2626 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2628         [BZ #13550]
2629         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2630         (__ubp_memchr): Remove prototype.
2631         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2632         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2633         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2634         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2635         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2636         Remove alias.
2637         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2638         (__ubp_memchr): Likewise.
2639         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2640         (__ubp_memchr): Likewise.
2641         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2642         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2643         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2644         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2645         CHECK_STRING.
2646         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2647         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2648         (__getcwd): Do not use CHECK_STRING.
2649         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2650         <bp-checks.h>.
2651         (__real_chown): Do not use CHECK_STRING.
2652         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2653         <bp-checks.h>.
2654         (fchownat): Do not use CHECK_STRING.
2655         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2656         CHECK_STRING.
2657         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2658         <bp-checks.h>.
2659         (__lchown): Do not use CHECK_STRING.
2660         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2661         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2662         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2663         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2665         include <bp-checks.h>.
2666         (truncate64): Do not use CHECK_STRING.
2667         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2668         <bp-checks.h>.
2669         (__real_chown): Do not use CHECK_STRING.
2670         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2671         <bp-checks.h>.
2672         (__lchown): Do not use CHECK_STRING.
2673         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2674         <bp-checks.h>.
2675         (__chown): Do not use CHECK_STRING.
2676         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2677         <bp-checks.h>.
2678         (truncate64): Do not use CHECK_STRING.
2679         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2680         Likewise.
2681         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2682         (__xmknod): Do not use CHECK_STRING.
2683         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2684         <bp-checks.h>.
2685         (__xmknodat): Do not use CHECK_STRING.
2686         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2687         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2689 2013-02-04  Andreas Schwab  <schwab@suse.de>
2691         [BZ #14142]
2692         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2693         * include/netdb.h: Likewise for h_errno.
2694         * elf/tst-stackguard1.c: Include <tls.h>.
2696 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2698         * elf/link.h (struct link_map): Extend the l_addr comment.
2699         * include/link.h (struct link_map): Likewise.
2701 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
2703         [BZ #13550]
2704         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2705         (BOUNDED_1): Remove macro.
2706         * debug/backtrace.c: Don't include <bp-checks.h>.
2707         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2708         (__backtrace): Likewise.
2709         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2710         <bp-checks.h>.
2711         (__backtrace): Don't use BOUNDED_1.
2712         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2713         <bp-checks.h>.
2714         (__backtrace): Don't use BOUNDED_1.
2715         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2716         (__backtrace): Don't use BOUNDED_1.
2717         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2718         (shmat): Don't use BOUNDED_N.
2720 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
2722         [BZ #13550]
2723         * sysdeps/generic/bp-start.h: Remove file.
2724         * csu/libc-start.c: Don't include <bp-start.h>.
2725         (LIBC_START_MAIN): Set up __environ directly instead of using
2726         INIT_ARGV_and_ENVIRON.
2727         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2728         <bp-start.h>.
2730         [BZ #13550]
2731         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2732         definitions.
2733         (CHECK_FCNTL): Likewise.
2734         (CHECK_N_PAGES): Likewise.
2736         [BZ #13550]
2737         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2738         definitions.
2739         (CHECK_SIGSET_NULL_OK): Likewise.
2740         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2741         <bp-checks.h>.
2742         (sigpending): Don't use CHECK_SIGSET.
2743         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2744         <bp-checks.h>.
2745         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2746         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2747         <bp-checks.h>.
2748         (do_sigsuspend): Don't use CHECK_SIGSET.
2749         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2750         use CHECK_SIGSET.
2751         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2752         (do_sigwait): Don't use CHECK_SIGSET.
2753         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2754         use CHECK_SIGSET.
2755         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2756         include <bp-checks.h>.
2757         (sigpending): Don't use CHECK_SIGSET.
2758         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2759         include <bp-checks.h>.
2760         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2761         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2762         <bp-checks.h>.
2763         (sigpending): Don't use CHECK_SIGSET.
2764         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2765         <bp-checks.h>.
2766         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2768         [BZ #13550]
2769         * sysdeps/generic/bp-semctl.h: Remove file.
2770         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2771         <bp-checks.h> and <bp-semctl.h>.
2772         (__old_semctl): Don't use CHECK_SEMCTL.
2773         (__new_semctl): Likewise.
2774         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2775         and <bp-semctl.h>.
2776         (__old_semctl): Don't use CHECK_SEMCTL.
2777         (__new_semctl): Likewise.
2778         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2779         <bp-checks.h> and <bp-semctl.h>.
2780         (__old_semctl): Don't use CHECK_SEMCTL.
2781         (__new_semctl): Likewise.
2782         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2783         <bp-checks.h> and <bp-semctl.h>.
2784         (semctl): Don't use CHECK_SEMCTL.
2786         [BZ #13550]
2787         * Makerules (elide-bp-thunks): Remove variable.
2788         (elide-routines.oS): Don't use $(elide-bp-thunks).
2789         (elide-routines.os): Likewise.
2790         (elide-routines.o): Likewise.
2791         (elide-routines.op): Likewise.
2792         (elide-routines.og): Likewise.
2793         (objects): Don't use $(bp-thunks).
2794         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2795         include.
2796         (common-generated): Do not add s-proto-bp.d.
2797         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2798         (int): Likewise.
2799         (typ): Likewise.
2800         Do not generate makefile rules for bounded-pointer thunks.
2801         * sysdeps/generic/bp-thunks.h: Remove file.
2802         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2803         * sysdeps/unix/s-proto-bp.S: Likewise.
2805         [BZ #15062]
2806         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2807         parts of result separately when argument is not close to line from
2808         -i to i and one part of argument is small.
2809         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2810         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2811         * math/libm-test.inc (cacos_test): Add more tests.
2812         (casin_test): Likewise.
2813         (casinh_test): Likewise.
2814         * sysdeps/i386/fpu/libm-test-ulps: Update.
2815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2817 2013-01-31  David S. Miller  <davem@davemloft.net>
2819         * po/de.po: Update from translation team.
2821 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
2823         * time/tzfile.c: Include stdint.h for SIZE_MAX.
2825 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
2827         * configure.in (_AC_PROG_CC_C89): New definition.
2828         * configure: Regenerate.
2830         * configure.in (AC_PROG_CPP): New definition.
2831         * configure: Regenerate.
2833 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2835         * debug/tst-backtrace.h: New file.
2836         * debug/tst-backtrace2.c: Include tst-backtrace.h.
2837         (ret): Remove variable.
2838         (x): Likewise.
2839         (FAIL): Remove macro.
2840         (NO_INLINE): Likewise.
2841         (fn1): Use match function instead of strstr.
2842         * debug/tst-backtrace3.c: Include tst-backtrace.h.
2843         (ret): Remove variable.
2844         (x): Likewise.
2845         (FAIL): Remove macro.
2846         (NO_INLINE): Likewise.
2847         (fn): Use match function instead of strstr.
2848         * debug/tst-backtrace4.c: Include tst-backtrace.h.
2849         (ret): Remove variable.
2850         (x): Likewise.
2851         (FAIL): Remove macro.
2852         (NO_INLINE): Likewise.
2853         (handle_signal): Use match function instead of strstr.
2854         * debug/tst-backtrace5.c: Include tst-backtrace.h.
2855         (ret): Remove variable.
2856         (x): Likewise.
2857         (FAIL): Remove macro.
2858         (NO_INLINE): Likewise.
2859         (handle_signal): Use match function instead of strstr.
2861 2013-01-23  Roland McGrath  <roland@hack.frob.com>
2863         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2865 2013-01-23  David S. Miller  <davem@davemloft.net>
2867         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2868         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2869         argument of CAS if possible.
2870         * sysdeps/sparc/sparc64/bits/atomic.h
2871         (__arch_compare_and_exchange_val_32_acq): Likewise.
2872         (__arch_compare_and_exchange_val_64_acq): Likewise.
2874 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
2876         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2877         * sysdeps/posix/ulimit.c: ... this.
2878         Include <limits.h>.
2879         * sysdeps/unix/bsd/ulimit.c: Remove file.
2881 2013-01-23  Adam Conrad  <adconrad@0c3.net>
2883         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2884         (LDFLAGS-tst-array5): Likewise.
2886 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2888         [BZ #15036]
2889         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2890         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2891         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2892         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2894 2013-01-21  David S. Miller  <davem@davemloft.net>
2896         * sysdeps/sparc/backtrace.c: New file.
2897         * sysdeps/sparc/sparc32/backtrace.h: New file.
2898         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2899         * sysdeps/sparc/sparc64/backtrace.h: New file.
2900         * sysdeps/sparc/sparc64/backtrace.c: Delete.
2901         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2902         -funwind-tables.
2904 2013-01-21  Andreas Schwab  <schwab@suse.de>
2906         [BZ #15020]
2907         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2908         closed its stdout.
2910 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
2912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2913         "mpa2.h".
2914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2916 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
2917             Mark Mitchell  <mark@codesourcery.com>
2918             Tom de Vries  <tom@codesourcery.com>
2919             Paul Pluzhnikov  <ppluzhnikov@google.com>
2921         * debug/tst-backtrace2.c: New file.
2922         * debug/tst-backtrace3.c: Likewise.
2923         * debug/tst-backtrace4.c: Likewise.
2924         * debug/tst-backtrace5.c: Likewise.
2925         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2926         (CFLAGS-tst-backtrace3.c): Likewise.
2927         (CFLAGS-tst-backtrace4.c): Likewise.
2928         (CFLAGS-tst-backtrace5.c): Likewise.
2929         (LDFLAGS-tst-backtrace2): Likewise.
2930         (LDFLAGS-tst-backtrace3): Likewise.
2931         (LDFLAGS-tst-backtrace4): Likewise.
2932         (LDFLAGS-tst-backtrace5): Likewise.
2933         (tests): Add new tests tst-backtrace2, tst-backtrace3,
2934         tst-backtrace4 and tst-backtrace5.
2936 2013-01-18  Anton Blanchard  <anton@samba.org>
2937             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2939         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2940         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2941         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2942         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2944         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2945         "+r" and remove output regs list as redundant.  Add explicit inline
2946         asm to specify register of return val to work around compiler codegen
2947         bug.  Remove (int) cast on return value.  Add return type parameter to
2948         use in macro so that this macro does not truncate return value for
2949         64-bit values.
2950         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2951         pass to INTERNAL_VSYSCALL_NCS.
2952         (INLINE_VSYSCALL): Add 'long int' as return type to
2953         INTERNAL_VSYSCALL_NCS macro invocation.
2954         (INTERNAL_VSYSCALL): Add 'long int' as return type to
2955         INTERNAL_VSYSCALL_NCS macro invocation.
2956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2958 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2960         [BZ #14496]
2961         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2962         Fix application of SIMD FP exception mask.
2964         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2965         mp_no from a power of two.
2966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2967         __mpexp_twomm1.  Use __pow_mp.
2969         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2970         multiplication.
2972 2013-01-17  David S. Miller  <davem@davemloft.net>
2974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2976 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2978         [BZ #15023]
2979         * include/complex.h: Condition contents on [!_COMPLEX_H].
2980         (__kernel_casinhf): New prototype.
2981         (__kernel_casinh): Likewise.
2982         (__kernel_casinhl): Likewise.
2983         * math/Makefile (libm_calls): Add k_casinh.
2984         * math/k_casinh.c: New file.
2985         * math/k_casinhf.c: Likewise.
2986         * math/k_casinhl.c: Likewise.
2987         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2988         finite nonzero arguments.
2989         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2990         finite nonzero arguments.
2991         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2992         finite nonzero arguments.
2993         * math/s_casinh.c: Do not include <float.h>.
2994         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2995         * math/s_casinhf.c: Do not include <float.h>.
2996         (__casinhf): Move code for finite nonzero arguments to
2997         k_casinhf.c.
2998         * math/s_casinhl.c: Do not include <float.h>.
2999         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3000         redefine.
3001         (__casinhl): Move code for finite nonzero arguments to
3002         k_casinhl.c.
3003         * math/libm-test.inc (cacos_test): Add more tests.
3004         * sysdeps/i386/fpu/libm-test-ulps: Update.
3005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3007 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3009         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3010         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3011         [!HAVE_MREMAP]: Remove [defined linux] case.
3012         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3014 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3016         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3018 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3020         * elf/elf.h (R_386_SIZE32): New relocation.
3021         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3022         R_386_SIZE32.
3023         (elf_machine_rela): Likewise.
3024         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3025         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3027 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3029         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3030         (FP_FAST_FMA): Do not define.
3031         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3032         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3033         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3034         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3035         !_SOFT_FLOAT]: Likewise.
3036         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3037         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3038         value.
3039         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3040         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3041         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3042         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3043         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3044         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3045         file.
3047 2013-01-16  Andreas Schwab  <schwab@suse.de>
3049         [BZ #14327]
3050         * include/stdlib.h (__mktemp): Add declaration.
3051         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3052         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3054 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3056         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3057         definitions.
3058         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3059         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3060         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3061         definitions here.
3062         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3063         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3064         definitions.
3065         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3066         and ONE.
3067         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3068         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3069         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3070         definitions.
3071         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3072         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3073         definitions.
3074         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3076         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3078 2013-01-15  David S. Miller  <davem@davemloft.net>
3080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3081         trunc{,f} to libm-sysdep_routes.
3082         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3084         file.
3085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3087         file.
3088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3089         file.
3090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3092         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3093         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3094         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3095         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3096         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3097         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3100         nearbyint{,f} to libm-sysdep_routes.
3101         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3103         New file.
3104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3105         file.
3106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3107         New file.
3108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3109         file.
3110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3112         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3113         file.
3114         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3115         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3116         file.
3117         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3118         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3119         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3121         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3122         libc_feholdexcept and libc_fesetenv.
3124 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3126         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3128 2013-01-14  David S. Miller  <davem@davemloft.net>
3130         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3131         (SPARC_ASM_VIS2_IFUNC): Likewise.
3132         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3134         use of 'siam' instruction.
3135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3136         Likewise.
3137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3138         Likewise.
3139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3140         Likewise.
3141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3146         file.
3147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3148         file.
3149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3150         file.
3151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3152         file.
3153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3156         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3158         new VIS2 routines.
3159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3162         Likewise.
3163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3168         routines to libm-sysdep_routines.
3169         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3172         fdim/fdimf to libm-sysdep_routines.
3173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3174         file.
3175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3177         file.
3178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3181         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3182         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3183         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3184         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3186 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3188         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3189         to optimize copies.
3191         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3195         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3196         local variable MPTWO.
3197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3198         Likewise.
3200 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3202         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3203         GLOB_NOESCAPE.
3205 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3207         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3209 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3211         * manual/pattern.texi (glob_t): Document gl_flags.
3212         (glob64_t): Likewise.
3214 2013-01-11  David S. Miller  <davem@davemloft.net>
3216         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3217         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3218         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3219         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3220         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3221         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3222         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3223         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3224         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3225         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3226         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3227         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3228         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3230         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3231         sparc V9 rather than using V8 code.
3232         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3233         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3235         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3236         Move to...
3237         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3238         Here.
3240 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3242         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3243         not in the main loop.
3244         * configure: Regenerated.
3246 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3248         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3249         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3250         to just #else.
3251         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3252         [!__GLIBC_HAVE_LONG_LONG] case.
3253         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3254         condition to just #else.
3255         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3256         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3257         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3258         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3259         unconditional.
3260         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3261         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3262         #elif condition to just #else.
3263         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3264         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3265         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3266         #elif condition to just #else.
3268 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3270         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3271         (EF_MIPS_ARCH_64): Fix value.
3272         (EF_MIPS_ARCH_32R2): New.
3273         (EF_MIPS_ARCH_64R2): New.
3275 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3277         * Makeconfig (+link-pie-before-libc): New.
3278         (+link-pie-after-libc): Likewise.
3279         (+link-pie-tests): Likewise.
3280         (+link-pie): Rewritten.
3281         (link-before-libc): Remove $(config-LDFLAGS).
3282         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3283         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3284         (config-LDFLAGS): Renamed to ...
3285         (rtld-LDFLAGS): This.
3286         (rtld-tests-LDFLAGS): New macro.
3287         (link-libc-rpath-link): Likewise.
3288         (link-libc-tests-rpath-link): Likewise.
3289         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3290         (link-libc): Prepand $(link-libc-rpath-link).
3291         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3292         (test-program-prefix): New macro.
3293         (test-via-rtld-prefix): Likewise.
3294         (test-program-cmd): Likewise.
3295         (host-test-program-cmd): Likewise.
3296         * Makefile ($(common-objpfx)testrun.sh): Replace
3297         $(run-program-prefix) with $(test-program-prefix).
3298         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3299         $(rtld-LDFLAGS).
3300         ($(common-objpfx)shlib.lds): Likewise.
3301         (build-module-helper): Likewise.
3302         ($(common-objpfx)format.lds): Likewise.
3303         * Rules (binaries-pie-tests): New.
3304         (binaries-pie-notests): Likewise.
3305         (binaries-pie): Rewritten.
3306         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3307         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3308         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3309         (make-test-out): Replace $(host-built-program-cmd) with
3310         $(host-test-program-cmd).
3311         * config.make.in (build-hardcoded-path-in-tests): New variable.
3312         * configure.in (--enable-hardcoded-path-in-tests): New configure
3313         option.
3314         (hardcoded_path_in_tests): New AC_SUBST.
3315         * configure: Regenerated.
3316         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3317         $(built-program-cmd) with $(test-program-cmd).
3318         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3319         (test_program_cmd): This.
3320         * elf/Makefile ($(objpfx)order.out): Run test with
3321         $(test-program-prefix).
3322         ($(objpfx)order2.out): Likewise.
3323         ($(objpfx)tst-initorder.out): Likewise.
3324         ($(objpfx)tst-initorder2.out): Likewise.
3325         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3326         $(test-program-cmd).
3327         ($(objpfx)tst-array1-static.out): Likewise.
3328         ($(objpfx)tst-array2.out): Likewise.
3329         ($(objpfx)tst-array3.out): Likewise.
3330         ($(objpfx)tst-array4.out): Likewise.
3331         ($(objpfx)tst-array5.out): Likewise.
3332         ($(objpfx)tst-array5-static.out): Likewise.
3333         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3334         $(test-program-cmd).
3335         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3336         $(run-program-prefix) with $(test-program-prefix).
3337         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3338         (test_program_prefix): This.
3339         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3340         $(run-program-prefix) with $(test-program-prefix).
3341         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3342         (test_program_prefix): This.
3343         * iconvdata/tst-tables.sh: Likewise.
3344         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3345         $(run-program-prefix) with $(test-program-prefix).
3346         ($(objpfx)tst-translit.out): Likewise.
3347         ($(objpfx)tst-gettext2.out): Likewise.
3348         ($(objpfx)tst-gettext4.out): Likewise.
3349         ($(objpfx)tst-gettext6.out): Likewise.
3350         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3351         (test_program_prefix): This.
3352         * intl/tst-gettext2.sh: Likewise.
3353         * intl/tst-gettext4.sh  Likewise.
3354         * intl/tst-gettext6.sh: Likewise.
3355         * intl/tst-translit.sh: Likewise.
3356         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3357         with $(test-program-cmd).
3358         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3359         $(run-program-prefix) with $(test-program-prefix).
3360         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3361         (test_program_prefix): This.
3362         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3363         $(run-program-prefix) with $(test-program-prefix).
3364         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3365         (test_program_prefix): This.
3366         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3367         * posix/Makefile ($(objpfx)globtest.out): Replace
3368         $(run-via-rtld-prefix) and $(test-wrapper) with
3369         $(test-program-prefix) and $(test-via-rtld-prefix).
3370         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3371         $(test-program-prefix).
3372         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3373         $(host-test-program-cmd).
3374         (tst-spawn-ARGS): Likewise.
3375         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3376         $(test-program-prefix).
3377         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3378         (test_via_rtld_prefix): This.
3379         (test_wrapper): Renamed to ...
3380         (test_program_prefix): This.
3381         (run_program_prefix): Replaced by test_program_prefix.
3382         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3383         (test_program_prefix): This.
3384         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3385         with $(host-test-program-cmd).
3386         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3387         $(run-program-prefix) with $(test-program-prefix).
3388         ($(objpfx)tst-printf.out): Likewise.
3389         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3390         $(test-program-cmd).
3391         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3392         (test_program_prefix): This.
3393         * stdio-common/tst-unbputc.sh: Likewise.
3394         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3395         $(run-program-prefix) with $(test-program-prefix).
3396         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3397         (test_program_prefix): This.
3398         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3399         $(built-program-cmd) with $(test-program-cmd).
3401 2013-01-11  Andreas Jaeger  <aj@suse.de>
3403         [BZ #15003]
3404         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3405         value. Sync with Linux 3.7.
3407 2013-01-10  David S. Miller  <davem@davemloft.net>
3409         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3410         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3411         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3413 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3415         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3416         never set.
3417         * configure: Regenerated.
3419 2013-01-10  David S. Miller  <davem@davemloft.net>
3421         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3422         sparc V9 rather than using V8 code.
3423         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3424         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3426 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3428         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3429         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3430         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3431         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3432         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3433         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3434         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3435         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3436         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3437         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3438         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3439         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3440         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3441         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3442         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3443         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3444         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3445         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3446         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3447         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3448         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3449         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3450         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3451         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3452         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3453         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3454         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3456 2013-01-10  David S. Miller  <davem@davemloft.net>
3458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3460 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3462         * posix/Makefile (tests-static): New variable.
3463         (tests): Add $(tests-static).
3464         (tst-exec-static-ARGS): New variable.
3465         (tst-spawn-static-ARGS): Likewise.
3466         * posix/tst-exec-static.c: New file.
3467         * posix/tst-spawn-static.c: Likewise.
3468         * posix/tst-exec.c: Support run directly.
3469         * posix/tst-spawn.c: Likewise.
3471 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3473         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3474         long.
3475         * math/bits/mathcalls.h (llrint): Likewise.
3476         (llround): Likewise.
3477         * stdlib/stdlib.h (struct drand48_data): Likewise.
3478         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3479         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3480         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3481         Likewise.
3482         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3483         Likewise.
3484         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3485         (elf_greg_t): Likewise.
3486         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3487         (__jmp_buf): Likewise.
3488         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3489         definitions.
3490         (llrint): Likewise, for all definitions.
3491         (llrintl): Likewise.
3493         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3494         Remove [__GNUC__] condition.
3495         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3496         condition to just [__USE_ISOC99].
3497         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3499 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3501         [BZ #14200]
3502         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3503         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3504         defined.
3505         (_POSIX_V6_ILP32_OFF32): Likewise.
3506         (_XBS5_ILP32_OFF32): Likewise.
3507         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3508         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3510 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3512         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3514         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3515         doubles __mpexp_twomm1.  Adjust usage.
3516         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3517         Remove.
3519 2013-01-10  Andreas Schwab  <schwab@suse.de>
3521         [BZ #14964]
3522         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3523         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3525 2013-01-09  David S. Miller  <davem@davemloft.net>
3527         [BZ #15003]
3528         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3529         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3530         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3531         TCP_FASTOPEN): Define.
3532         (tcp_repair_opt): New structure.
3533         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3534         enum values.
3535         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3536         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3537         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3538         (tcp_cookie_transactions): New structure.
3540 2013-01-09  Anton Blanchard  <anton@samba.org>
3542         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3543         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3544         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3545         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3547 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3549         * include/features.h (__USE_ANSI): Remove.
3551 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3553         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3555         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3557 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3559         * sysdeps/s390/fpu/libm-test-ulps: Update.
3561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3563         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3564         (__acr): Likewise.
3565         (__cpy): Likewise.
3566         (norm): Likewise.
3567         (denorm): Likewise.
3568         (__mp_dbl): Likewise.
3569         (__dbl_mp): Likewise.
3570         (add_magnitudes): Likewise.
3571         (sub_magnitudes): Likewise.
3572         (__add): Likewise.
3573         (__sub): Likewise.
3574         (__mul): Likewise.
3575         (__inv): Likewise.
3576         (__dvd): Likewise.
3577         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3578         (__acr): Likewise.
3579         (__cpy): Likewise.
3580         (norm): Likewise.
3581         (denorm): Likewise.
3582         (__mp_dbl): Likewise.
3583         (__dbl_mp): Likewise.
3584         (add_magnitudes): Likewise.
3585         (sub_magnitudes): Likewise.
3586         (__add): Likewise.
3587         (__sub): Likewise.
3588         (__mul): Likewise.
3589         (__inv): Likewise.
3590         (__dvd): Likewise.
3591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3592         (__acr): Likewise.
3593         (__cpy): Likewise.
3594         (norm): Likewise.
3595         (denorm): Likewise.
3596         (__mp_dbl): Likewise.
3597         (__dbl_mp): Likewise.
3598         (add_magnitudes): Likewise.
3599         (sub_magnitudes): Likewise.
3600         (__add): Likewise.
3601         (__sub): Likewise.
3602         (__mul): Likewise.
3603         (__inv): Likewise.
3604         (__dvd): Likewise.
3606 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3608         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3609         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3610         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3611         2 && __USE_EXTERN_INLINES]: Likewise.
3613 2013-01-08  Andreas Jaeger  <aj@suse.de>
3615         [BZ# 14985]
3616         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3617         Remove.
3618         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3619         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3621 2013-01-07  Anton Blanchard  <anton@samba.org>
3623         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3624         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3625         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3626         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3627         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3628         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3629         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3630         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3632         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3633         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3634         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3635         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3636         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3637         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3638         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3639         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3640         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3641         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3642         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3643         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3644         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3645         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3646         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3647         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3648         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3649         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3650         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3651         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3652         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3653         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3655         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3656         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3657         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3658         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3659         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3660         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3661         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3662         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3663         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3664         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3665         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3667 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
3669         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3670         (__MALLOC_PMT): Likewise.
3671         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3672         [__GNUC__], only on [_LIBC].
3673         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3674         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3675         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3676         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3677         forward declaration.
3678         (realloc_hook_ini): Likewise.
3679         (memalign_hook_ini): Likewise.
3680         (__libc_memalign): Do not use __MALLOC_PMT in variable
3681         declaration.
3682         (__libc_valloc): Likewise.
3683         (__libc_pvalloc): Likewise.
3684         (__libc_calloc): Likewise.
3685         (__posix_memalign): Likewise.
3687         [BZ #14996]
3688         * math/s_casinh.c: Include <float.h>.
3689         (__casinh): Do not do computation with squaring and square root
3690         for large arguments.
3691         * math/s_casinhf.c: Include <float.h>.
3692         (__casinhf): Do not do computation with squaring and square root
3693         for large arguments.
3694         * math/s_casinhl.c: Include <float.h>.
3695         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3696         (__casinhl): Do not do computation with squaring and square root
3697         for large arguments.
3698         * math/libm-test.inc (casin_test): Add more tests.
3699         (casinh_test): Likewise.
3700         * sysdeps/i386/fpu/libm-test-ulps: Update.
3701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3703 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3705         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3706         (__x86_64_raw_data_cache_size): Likewise.
3707         (__x86_64_data_cache_size_half): Likewise.
3708         (__x86_64_raw_data_cache_size_half): Likewise.
3709         (__x86_64_shared_cache_size): Likewise.
3710         (__x86_64_raw_shared_cache_size): Likewise.
3711         (__x86_64_shared_cache_size_half): Likewise.
3712         (__x86_64_raw_shared_cache_size_half): Likewise.
3713         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3714         to ...
3715         (__x86_data_cache_size): This.
3716         (__x86_64_raw_data_cache_size): Renamed to ...
3717         (__x86_raw_data_cache_size): This.
3718         (__x86_64_data_cache_size_half): Renamed to ...
3719         (__x86_data_cache_size_half): This.
3720         (__x86_64_raw_data_cache_size_half): Renamed to ...
3721         (__x86_raw_data_cache_size_half): This.
3722         (__x86_64_shared_cache_size): Renamed to ...
3723         (__x86_shared_cache_size): This.
3724         (__x86_64_raw_shared_cache_size): Renamed to ...
3725         (__x86_raw_shared_cache_size): This.
3726         (__x86_64_shared_cache_size_half): Renamed to ...
3727         (__x86_shared_cache_size_half): This.
3728         (__x86_64_raw_shared_cache_size_half): Renamed to ...
3729         (__x86_raw_shared_cache_size_half): This.
3730         * sysdeps/x86_64/memcpy.S: Updated.
3731         * sysdeps/x86_64/memset.S: Likewise.
3732         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3733         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3734         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3736 2013-01-04  David S. Miller  <davem@davemloft.net>
3738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3740 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3742         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3743         1 to avoid redefinition warning.
3744         (__USE_GNU): Don't define.
3745         (init_signaling_nan): Protoize.
3747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3749 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3751         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3753         (__cpymn): Likewise.
3754         (norm): Remove commented code.
3755         (denorm): Likewise.
3756         (__mp_dbl): Likewise.
3757         (__inv): Likewise.
3758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3759         (__cpymn): Likewise.
3760         (norm): Remove commented code.
3761         (denorm): Likewise.
3762         (__mp_dbl): Likewise.
3763         (__inv): Likewise.
3765         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3766         mp_no value for 1.0 and 2.0.
3767         (norm): Use RADIXI instead of radixi.d.
3768         (denorm): Likewise.
3769         (__mul): Use 0.0 instead of zero.d.
3770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3771         mp_no value for 1.0 and 2.0.
3772         (norm): Use RADIXI instead of radixi.d.
3773         (denorm): Likewise.
3774         (__mul): Use 0.0 instead of zero.d.
3776 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
3778         [BZ #14994]
3779         * math/s_casinh.c (__casinh): Reduce finite argument to first
3780         quadrant then set signs of results at the end.
3781         * math/s_casinhf.c (__casinhf): Likewise.
3782         * math/s_casinhl.c (__casinhl): Likewise.
3783         * math/libm-test.inc (casin_test): Add more tests.
3784         (casinh_test): Likewise.
3785         * sysdeps/i386/fpu/libm-test-ulps: Update.
3786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3788 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3790         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3792         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3794         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3795         declarations.
3796         (denorm): Likewise.
3797         (__mp_dbl): Likewise.
3798         (__inv): Likewise.
3800         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3801         and adjust the header comment.
3803         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3804         variable name from declaration.
3806 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
3808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3809         Initialize COMMON_CPUID_INDEX_7 element.
3810         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3811         (CPUID_RTM): Likewise.
3812         (HAS_RTM): Likewise.
3813         (COMMON_CPUID_INDEX_7): New enum.
3815 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
3817         [BZ #14981]
3818         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3819         size is zero, record memory as freed.
3821 2013-01-03  Andreas Jaeger  <aj@suse.de>
3823         * po/ia.po: Add new Interlingua translation.
3825 2012-01-03  Allan McRae  <allan@archlinux.org>
3827         * locale/programs/localedef.c: Fix description of '--posix' flag.
3829 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
3831         * NEWS: Update dates in second copyright notice.
3832         * README: Update copyright dates in example.
3833         * manual/libc.texinfo: Update copyright dates.
3834         * scripts/test-installation.pl: Update copyright date in --version
3835         output.
3837         * hurd/ctty-input.c: Fix copyright notice formatting.
3838         * hurd/ctty-output.c: Likewise.
3839         * hurd/dtable.c: Likewise.
3840         * hurd/hurd-raise.c: Likewise.
3841         * hurd/hurdprio.c: Likewise.
3842         * hurd/msgportdemux.c: Likewise.
3843         * misc/sys/file.h: Likewise.
3844         * misc/sys/ioctl.h: Likewise.
3845         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3846         * sysdeps/mach/hurd/chdir.c: Likewise.
3847         * sysdeps/mach/hurd/fchdir.c: Likewise.
3848         * sysdeps/mach/hurd/rename.c: Likewise.
3849         * sysdeps/mach/hurd/rmdir.c: Likewise.
3850         * sysdeps/mach/hurd/seekdir.c: Likewise.
3851         * sysdeps/mach/hurd/setsid.c: Likewise.
3852         * sysdeps/posix/wait3.c: Likewise.
3854         * All files with FSF copyright notices: Update copyright dates
3855         using scripts/update-copyrights.
3856         * intl/plural.c: Regenerated.
3857         * locale/programs/charmap-kw.h: Likewise.
3858         * locale/programs/locfile-kw.h: Likewise.
3860 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3862         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3863         four values.
3865         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3866         calculation loop and add branch prediction.
3868         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3869         check access beyond bounds of m1np.
3871         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3872         MPTWO.
3873         (__inv): Remove local variable MPTWO to use the global
3874         constant.
3875         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3876         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3877         variable MPTWO.
3878         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3879         MP3HALFS static const.
3881 2013-01-01  David S. Miller  <davem@davemloft.net>
3883         * po/ca.po: Update from translation team.
3885 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
3887         * scripts/update-copyrights: New file.
3888         * Makeconfig: Reformat copyright notice.
3889         * ctype/ctype.h: Likewise.
3890         * debug/swprintf_chk.c: Likewise.
3891         * elf/dl-cache.c: Likewise.
3892         * elf/dl-debug.c: Likewise.
3893         * elf/dl-object.c: Likewise.
3894         * grp/initgroups.c: Likewise.
3895         * hurd/Makefile: Likewise.
3896         * hurd/hurd/signal.h: Likewise.
3897         * hurd/hurdfault.c: Likewise.
3898         * hurd/hurdioctl.c: Likewise.
3899         * hurd/hurdlookup.c: Likewise.
3900         * hurd/intr-msg.c: Likewise.
3901         * iconv/gconv_open.c: Likewise.
3902         * libio/swprintf.c: Likewise.
3903         * locale/lc-ctype.c: Likewise.
3904         * locale/nl_langinfo.c: Likewise.
3905         * mach/Machrules: Likewise.
3906         * mach/Makefile: Likewise.
3907         * malloc/obstack.h: Likewise.
3908         * manual/Makefile: Likewise.
3909         * manual/tsort.awk: Likewise.
3910         * misc/bits/stab.def: Likewise.
3911         * nis/nis_print_group_entry.c: Likewise.
3912         * nis/nis_table.c: Likewise.
3913         * nis/nss_compat/compat-pwd.c: Likewise.
3914         * nis/nss_compat/compat-spwd.c: Likewise.
3915         * po/Makefile: Likewise.
3916         * posix/fnmatch.c: Likewise.
3917         * posix/regex.h: Likewise.
3918         * resolv/Makefile: Likewise.
3919         * resolv/nss_dns/dns-network.c: Likewise.
3920         * resolv/res_hconf.c: Likewise.
3921         * scripts/gen-sorted.awk: Likewise.
3922         * soft-fp/soft-fp.h: Likewise.
3923         * stdio-common/printf.h: Likewise.
3924         * stdlib/monetary.h: Likewise.
3925         * stdlib/random.c: Likewise.
3926         * stdlib/random_r.c: Likewise.
3927         * sysdeps/generic/Makefile: Likewise.
3928         * sysdeps/gnu/Makefile: Likewise.
3929         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3930         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3931         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3932         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3933         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3934         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3935         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3936         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3937         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3938         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3939         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3940         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3941         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3942         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3943         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3944         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3945         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3946         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3947         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3948         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3949         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3950         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3951         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3952         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3953         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3954         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3955         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3956         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3957         * sysdeps/mach/hurd/errnos.awk: Likewise.
3958         * sysdeps/mach/hurd/fork.c: Likewise.
3959         * sysdeps/mach/hurd/getcwd.c: Likewise.
3960         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3961         * sysdeps/mach/hurd/mmap.c: Likewise.
3962         * sysdeps/mach/hurd/utimes.c: Likewise.
3963         * sysdeps/mach/hurd/xmknod.c: Likewise.
3964         * sysdeps/posix/profil.c: Likewise.
3965         * sysdeps/posix/readdir_r.c: Likewise.
3966         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3967         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3968         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3969         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3971         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3972         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3973         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3975         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3976         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3977         * sysdeps/pthread/lio_listio.c: Likewise.
3978         * sysdeps/sparc/dl-procinfo.h: Likewise.
3979         * sysdeps/unix/i386/sysdep.S: Likewise.
3980         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3981         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3982         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3983         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3985         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3986         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3987         * sysdeps/unix/sysv/linux/speed.c: Likewise.
3988         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3989         * sysdeps/wordsize-32/divdi3.c: Likewise.
3990         * time/sys/time.h: Likewise.
3991         * wcsmbs/Makefile: Likewise.
3993 2013-01-01  David S. Miller  <davem@davemloft.net>
3995         * po/fr.po: Update from translation team.
3997         * catgets/gencat.c: Update copyright year.
3998         * csu/version.c: Likewise.
3999         * debug/catchsegv.sh: Likewise.
4000         * debug/pcprofiledump.c: Likewise.
4001         * debug/xtrace.sh: Likewise.
4002         * elf/ldconfig.c: Likewise.
4003         * elf/ldd.bash.in: Likewise.
4004         * elf/pldd.c: Likewise.
4005         * elf/sotruss.ksh: Likewise.
4006         * elf/sprof.c: Likewise.
4007         * iconv/iconv_prog.c: Likewise.
4008         * iconv/iconvconfig.c: Likewise.
4009         * locale/programs/locale.c: Likewise.
4010         * locale/programs/localedef.c: Likewise.
4011         * login/programs/pt_chown.c: Likewise.
4012         * malloc/memusage.sh: Likewise.
4013         * malloc/memusagestat.c: Likewise.
4014         * malloc/mtrace.pl: Likewise.
4015         * nscd/nscd.c: Likewise.
4016         * nss/getent.c: Likewise.
4017         * nss/makedb.c: Likewise.
4018         * posix/getconf.c: Likewise.
4020 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4022         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4023         numbers.
4025 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4027         * math/bits/mathcalls.h (modf): Use __nonnull.
4029 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4031         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4032         (split): Use macro CN instead of the bare value.
4033         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4034         could be used.
4035         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4036         instead of the bare value.
4037         (power1): Likewise.
4039 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4042         __ATAN_TWOM.
4043         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4045         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4046         their values.
4047         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4048         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4049         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4050         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4052 2012-12-28  Andreas Jaeger  <aj@suse.de>
4054         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4055         values are from Linux 3.7.
4057         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4058         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4060 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4062         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4063         TRUE case.
4065         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4066         (norm): Likewise.
4067         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4068         variables with preprocessor constants.
4069         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4070         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4071         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4073 2012-12-27  Bruno Haible  <bruno@clisp.org>
4075         [BZ #14317]
4076         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4077         only if needed.
4079 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4081         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4082         and use variable directly.
4083         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4085         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4086         MPONE.
4087         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4088         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4089         variable MPONE.
4090         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4091         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4092         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4093         include directive.  Remove local variable MPONE.
4094         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4095         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4096         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4098 2012-12-25  David S. Miller  <davem@davemloft.net>
4100         * version.h (RELEASE): Set to "development".
4101         (VERSION): Set to "2.17.90".
4102         * NEWS: Add 2.18 section.
4104 2012-12-21  David S. Miller  <davem@davemloft.net>
4106         * po/hr.po: Update from translation team.
4108 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4110         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4112 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4114         * NEWS:  Mention new memcpy for MIPS.
4116 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4118         * manual/contrib.texi (Contributors): Spelling correction.
4120 2012-12-15  David S. Miller  <davem@davemloft.net>
4122         * po/ru.po: Update from translation team.
4124 2012-12-13  David S. Miller  <davem@davemloft.net>
4126         * NEWS: Mention IFUNC testsuite enhancements.
4128         * po/pl.po: Update from translation team.
4129         * po/bg.po: Likewise.
4131         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4132         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4134 2012-12-11  David S. Miller  <davem@davemloft.net>
4136         * po/sv.po: Update from translation team.
4138         * po/vi.po: Update from translation team.
4140         * po/cs.po: Update from translation team.
4142         * po/de.po: Update from translation team.
4143         * po/eo.po: Likewise.
4144         * po/nl.po: Likewise.
4146 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4148         [BZ #14246]
4149         * manual/argp.texi (Argp Helper Functions): Move node to follow
4150         Argp Parsing State.
4152         [BZ #14872]
4153         * manual/conf.texi (Limits on File System Capacity): Mention if
4154         terminating null is included in the max size.
4156 2012-12-10  Andreas Jaeger  <aj@suse.de>
4158         * po/cs.po: Update from translation team.
4160 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4162         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4163         void pointer and cast to uintptr_t.
4164         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4165         path.
4166         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4167         * sysdeps/s390/s390-64/memset.S: Likewise.
4169 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4171         [BZ #14833]
4172         * menual/message.texi (Message Translation): Fix typos.
4173         (Helper programs for gettext): Likewise.
4175 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4177         [BZ #14898]
4178         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4179         Change to -1.
4181 2012-12-07  David S. Miller  <davem@davemloft.net>
4183         * po/libc.pot: Update.
4185 2012-12-07  Richard Henderson  <rth@redhat.com>
4187         [BZ #10114]
4188         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4189         normal/normal case to before the switch.
4190         (_FP_DIV): Likewise.
4192 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4193             Mike Frysinger  <vapier@gentoo.org>
4195         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4196         check for __NR_fadvise64_64.
4198 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4200         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4201         0, not just to plain "0" as a statement.
4202         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4203         with cw.
4205 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4207         * NEWS: Use sourceware.org in Bugzilla URL.
4209 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4212         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4214         * stdio-common/tst-put-error.c (do_test): Add newline to the
4215         padded test to ensure flush.
4217 2012-12-05  Jeff Law  <law@redhat.com>
4219         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4221 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4223         * README: Don't refer to ports add-on as distributed separately.
4224         Mention AArch64 in list of systems supported in the ports add-on.
4226         * LICENSES: Add more non-FSF copyright and license notices.
4228         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4229         ((unused)).
4231         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4233         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4234         10000 as width of padded output.
4236 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4238         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4240         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4241         variable LX with __attribute__ ((unused)).
4242         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4243         Likewise.
4244         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4245         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4246         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4247         with __attribute__ ((unused)).
4249 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4251         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4253 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4255         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4256         (CFLAGS-nldbl-acos.c): New variable.
4257         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4258         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4259         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4260         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4261         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4262         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4263         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4264         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4265         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4266         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4267         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4268         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4269         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4270         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4271         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4272         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4273         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4274         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4275         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4276         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4277         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4278         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4279         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4280         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4281         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4282         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4283         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4284         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4285         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4286         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4287         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4288         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4289         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4290         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4291         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4292         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4293         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4294         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4295         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4296         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4297         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4298         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4299         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4300         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4301         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4302         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4303         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4304         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4305         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4306         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4307         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4308         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4309         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4310         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4311         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4312         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4313         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4314         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4315         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4316         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4317         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4318         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4319         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4320         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4321         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4322         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4323         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4324         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4325         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4326         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4327         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4328         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4329         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4330         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4331         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4332         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4333         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4334         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4335         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4336         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4337         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4338         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4339         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4340         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4341         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4342         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4343         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4344         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4345         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4346         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4347         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4348         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4349         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4350         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4351         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4352         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4353         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4356         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4358         [BZ #14914]
4359         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4360         whole low double instead of just low 47 bits when splitting values
4361         into two parts.
4363 2012-12-03  Allan McRae  <allan@archlinux.org>
4365         * manual/stdio.texi (Predefined Printf Handlers): Remove
4366         @hsep and @vsep usage.
4368 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4370         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4371         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4373 2012-12-03  Jeff Law  <law@redhat.com>
4375         * time/sys/time.h (settimeofday): Do not mark TV argument
4376         as __nonnull.
4378 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4380         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4381         when currently writing and seek to current position when not.
4382         * libio/Makefile (tests): Remove bug-fclose1.
4383         * libio/bug-fclose1.c: Delete.
4385 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4387         * manual/arith.texi (feenableexcept): Fix typo.
4388         (fedisableexcept): Likewise.
4390 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4392         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4393         second, differently-typed declaration, rather than a cast.
4395 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4397         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4398         * include/rpc/svc.h: ... here.
4400 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4402         [BZ #13013]
4403         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4404         depending n and resplen2 to catch cases where answer
4405         equals answerp2.
4407 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4409         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4410         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4412 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4414         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4416 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4418         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4420 2012-11-28  Jeff Law  <law@redhat.com>
4422         [BZ #13761]
4423         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4424         dataset_temporary.  Track alloca usage into alloca_used.
4425         If dataset is large allocate and release it via malloc/free.
4427 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4429         [BZ #14197]
4430         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4432 2012-11-28  David S. Miller  <davem@davemloft.net>
4434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4436 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4438         [BZ #14803]
4439         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4440         of pi/2 rounded to nearest to 64 bits.
4441         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4442         nearest to 64 bits.
4443         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4444         bits.
4446 2012-11-28  Jeff Law <law@redhat.com>
4447             Martin Osvald <mosvald@redhat.com>
4449         [BZ #14889]
4450         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4451         * sunrpc/svc.c: Include time.h.
4452         (__svc_accept_failed): New function.
4453         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4454         any reason other than EINTR, call __svc_accept_failed.
4455         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4456         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4458 2012-11-28  Andreas Schwab  <schwab@suse.de>
4460         * scripts/abilist.awk: Also handle indirect functions in .opd
4461         section.
4463 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4465         [BZ #13881]
4466         * sysdeps/x86/fpu/powl_helper.c: New file.
4467         * sysdeps/x86/fpu/Makefile: Likewise.
4468         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4469         (p3): New object.
4470         (__ieee754_powl): Use __powl_helper for finite arguments except
4471         integer exponents below 8.
4472         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4473         (p3): New object.
4474         (__ieee754_powl): Use __powl_helper for finite arguments except
4475         integer exponents below 8.
4476         * math/libm-test.inc (pow_test): Add more tests and enable some
4477         previously disabled tests.
4478         * sysdeps/i386/fpu/libm-test-ulps: Update.
4479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4481 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4482             Carlos O'Donell  <carlos_odonell@mentor.com>
4484         * nss/makedb.c (is_prime): Assert that input is odd and greater
4485         than 4.  Note that fact in a comment too.
4486         (next_prime): Add 4 to input.
4488 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4490         [BZ #11741]
4491         * libio/Makefile (tests): Add test case tst-fwrite-error.
4492         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4493         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4494         * libio/tst-fwrite-error.c: New test case.
4496 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4498         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4499         before casting to void *.
4500         * include/libc-internal.h (__pointer_type): New macro.
4501         (__integer_if_pointer_type_sub): Likewise.
4502         (__integer_if_pointer_type): Likewise.
4503         (cast_to_integer): Likewise.
4504         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4505         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4506         before casting to atomic64_t.
4507         (atomic_exchange_acq): Likewise.
4508         (__arch_exchange_and_add_body): Likewise.
4509         (__arch_add_body): Likewise.
4510         (atomic_add_negative): Likewise.
4511         (atomic_add_zero): Likewise.
4513 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4515         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4516         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4517         (add_fdes): Likewise.
4518         (linear_search_fdes): Likewise.
4519         (binary_search_unencoded_fdes): Likewise.
4521 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4523         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4525 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4527         * configure.in: Autodetect C++ header directories.
4528         * configure: Regenerated.
4530 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4532         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4534 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4538 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4540         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4541         LDBL_MANT_DIG == 106]: Disable some tests.
4542         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4543         Likewise.
4544         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4545         Likewise.
4547         [BZ #14871]
4548         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4549         input for small inputs.  Return +/- pi/2 for large inputs.
4550         * math/libm-test.inc (atan_test): Add more tests.
4552         * sysdeps/generic/unwind-dw2-fde-glibc.c
4553         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4554         __attribute__ ((unused)).
4556         [BZ #14645]
4557         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4558         x * y if x and y are nonzero and z is zero.
4560         [BZ #14811]
4561         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4562         nonzero exponents with absolute value below 0x1p-117 to +/-
4563         0x1p-117.
4565         [BZ #14869]
4566         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4567         up arguments below 2**-450, not just those below 2**-500.
4568         * math/libm-test.inc (hypot_test): Add another test.
4570         [BZ #14868]
4571         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4572         Return a+b for ratio over 2**120, not 2**60.
4573         * math/libm-test.inc (hypot_test): Add another test.
4575         * math/libm-test.inc (clog_test): Use
4576         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4577         (clog10_test): Likewise.
4579         [BZ #6778]
4580         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4582 2012-11-22  Andreas Schwab  <schwab@suse.de>
4584         * sysdeps/i386/fpu/libm-test-ulps: Update.
4586 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4588         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4589         printf output with newline.
4591 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4593         [BZ #14865]
4594         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4595         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4596         -z nodlopen, -z initfirst and -z execstack support.
4597         * configure: Regenerated.
4599         * elf/elf.h (DF_1_NODIRECT): New macro.
4600         (DF_1_IGNMULDEF): Likewise.
4601         (DF_1_NOKSYMS): Likewise.
4602         (DF_1_NOHDR): Likewise.
4603         (DF_1_EDITED): Likewise.
4604         (DF_1_NORELOC): Likewise.
4605         (DF_1_SYMINTPOSE): Likewise.
4606         (DF_1_GLOBAUDIT): Likewise.
4607         (DF_1_SINGLETON): Likewise.
4608         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4609         DT_1_SUPPORTED_MASK bits.
4610         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4612 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4614         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4616 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4618         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4619         macro.
4621         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4622         (sendmmsg): Move declarations...
4623         * socket/sys/socket.h: ... here.
4624         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4625         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4626         include it from...
4627         * socket/recvmmsg.c: ... this new file.
4628         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4629         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4630         definition of __sendmmsg hidden.
4631         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4632         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4633         Move ENOSYS stub into and include it from...
4634         * socket/sendmmsg.c: ... this new file.
4635         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4636         (sysdep_routines): Move recvmmsg and sendmmsg...
4637         * socket/Makefile (routines): ... here.
4638         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4639         (GLIBC_PRIVATE): Add __sendmmsg.
4640         * include/sys/socket.h (__sendmmsg): Add declarations.
4641         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4642         sendmmsg.
4644 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4646         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4647         variable I1 with __attribute__ ((unused)).
4648         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4650 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4652         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4653         DUMMY variables with __attribute__ ((unused)).
4655         * bits/byteswap.h: Include <bits/types.h>.
4656         (__bswap_64): Use __uint64_t instead of unsigned long long int.
4658 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4660         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4661         string_t.  Do not manually set errno.
4662         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4663         length with __strnlen.  Make sure to both set errno and return it on
4664         failure.
4666 2012-11-19  David S. Miller  <davem@davemloft.net>
4668         With help from Joseph Myers.
4669         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4670         very large arguments properly.
4671         * math/libm-test.inc (atan_test): New tests.
4672         (atan2_test): New tests.
4673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4676 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4678         [BZ #14856]
4679         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4680         Define to 3.
4682         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4683         [POSIX] (EADDRNOTAVAIL): Likewise.
4684         [POSIX] (EAFNOSUPPORT): Likewise.
4685         [POSIX] (EALREADY): Likewise.
4686         [POSIX] (ECONNABORTED): Likewise.
4687         [POSIX] (ECONNREFUSED): Likewise.
4688         [POSIX] (ECONNRESET): Likewise.
4689         [POSIX] (EDESTADDRREQ): Likewise.
4690         [POSIX] (EDQUOT): Likewise.
4691         [POSIX] (EHOSTUNREACH): Likewise.
4692         [POSIX] (EIDRM): Likewise.
4693         [POSIX] (EISCONN): Likewise.
4694         [POSIX] (ELOOP): Likewise.
4695         [POSIX] (EMULTIHOP): Likewise.
4696         [POSIX] (ENETDOWN): Likewise.
4697         [POSIX] (ENETUNREACH): Likewise.
4698         [POSIX] (ENOBUFS): Likewise.
4699         [POSIX] (ENODATA): Likewise.
4700         [POSIX] (ENOLINK): Likewise.
4701         [POSIX] (ENOMSG): Likewise.
4702         [POSIX] (ENOPROTOOPT): Likewise.
4703         [POSIX] (ENOSR): Likewise.
4704         [POSIX] (ENOSTR): Likewise.
4705         [POSIX] (ENOTCONN): Likewise.
4706         [POSIX] (ENOTSOCK): Likewise.
4707         [POSIX] (EOPNOTSUPP): Likewise.
4708         [POSIX] (EOVERFLOW): Likewise.
4709         [POSIX] (EPROTO): Likewise.
4710         [POSIX] (EPROTONOSUPPORT): Likewise.
4711         [POSIX] (EPROTOTYPE): Likewise.
4712         [POSIX] (ESTALE): Likewise.
4713         [POSIX] (ETIME): Likewise.
4714         [POSIX] (ETXTBSY): Likewise.
4715         [POSIX] (EWOULDBLOCK): Likewise.
4716         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4717         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4718         [POSIX] (SEEK_CUR): Likewise.
4719         [POSIX] (SEEK_END): Likewise.
4720         [POSIX || UNIX98] (mode_t): Do not require.
4721         [POSIX] (off_t): Likewise.
4722         [POSIX] (pid_t): Likewise.
4723         [POSIX] (sys/stat.h): Do not allow header.
4724         [POSIX] (unistd.h): Likewise.
4725         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4726         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4727         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4728         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4729         require.
4730         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4731         sigevent): Specify elements.
4732         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4733         entry.
4734         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4735         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4737         * conform/data/cpio.h-data [POSIX]: Disable whole file.
4738         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4739         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4740         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4741         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4742         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4743         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4744         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4745         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4746         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4747         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4748         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4749         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4750         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4751         Likewise.
4752         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4753         Likewise.
4754         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4755         Likewise.
4756         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4757         Likewise.
4758         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4759         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4760         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4761         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4762         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4763         Specify lower bound on value.
4764         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4765         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4766         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4767         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4768         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4769         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4770         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4771         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4772         value.
4773         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4774         as optional.
4775         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4776         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4777         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4778         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4779         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4780         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4781         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4782         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4783         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4784         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4785         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4786         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4787         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4788         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4789         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4790         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4791         entry.
4792         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4793         optional.
4794         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4795         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4796         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4797         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4798         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4799         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4800         Likewise.
4801         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4802         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4803         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4804         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4805         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
4806         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4807         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4808         as optional.
4809         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4810         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4811         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4812         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4813         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4814         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4815         specify as optional.
4816         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4817         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4818         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4819         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4820         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4821         [XPG3] (NL_LANGMAX): Likewise.
4822         [POSIX || XPG3] (NL_MSGMAX): Likewise.
4823         [POSIX || XPG3] (NL_NMAX): Likewise.
4824         [POSIX || XPG3] (NL_SETMAX): Likewise.
4825         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4826         [XPG3] (NZERO): Likewise.
4827         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4828         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4829         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4830         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4831         (REG_ERANGE): Expect.
4832         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4833         optional-constant.
4834         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4835         Use (void) in prototype.
4836         [POSIX] (*_t): Allow.
4837         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4838         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4839         (WRDE_BADVAL): Expect.
4841         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4842         expect.
4843         [XPG3 || XPG4] (O_RSYNC): Likewise.
4844         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4845         Likewise.
4846         [XPG3 || XPG4] (pthread_sigmask): Likewise.
4847         [XPG3 || XPG4] (sigqueue): Likewise.
4848         [XPG3 || XPG4] (sigtimedwait): Likewise.
4849         [XPG3 || XPG4] (sigwaitinfo): Likewise.
4850         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4851         [XPG3 || XPG4] (vsnprintf): Likewise.
4852         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4853         Likewise.
4854         [XPG3 || XPG4] (blksize_t): Likewise.
4855         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4856         Likewise.
4857         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4858         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4859         [XPG3 || XPG4] (struct itimerspec): Likewise.
4860         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4861         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4862         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4863         [XPG3 || XPG4] (clockid_t): Likewise.
4864         [XPG3 || XPG4] (timer_t): Likewise.
4865         [XPG3 || XPG4] (clock_getres): Likewise.
4866         [XPG3 || XPG4] (clock_gettime): Likewise.
4867         [XPG3 || XPG4] (clock_settime): Likewise.
4868         [XPG3 || XPG4] (nanosleep): Likewise.
4869         [XPG3 || XPG4] (timer_create): Likewise.
4870         [XPG3 || XPG4] (timer_delete): Likewise.
4871         [XPG3 || XPG4] (timer_gettime): Likewise.
4872         [XPG3 || XPG4] (timer_getoverrun): Likewise.
4873         [XPG3 || XPG4] (timer_settime): Likewise.
4874         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4875         [XPG3 || XPG4] (getlogin_r): Likewise.
4876         [XPG3 || XPG4] (pread): Likewise.
4877         [XPG3 || XPG4] (pthread_atfork): Likewise.
4878         [XPG3 || XPG4] (pwrite): Likewise.
4880         [BZ #14835]
4881         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4882         <bits/siginfo.h>.
4884 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4886         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4887         finalizing MALLSTREAM.
4889         * sysdeps/mach/hurd/syncfs.c: New file.
4891 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4893         [BZ #14719]
4894         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4895         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4896         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4897         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4898         (_nss_dns_gethostbyname4_r): Likewise.
4899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4900         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4902 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
4904         [BZ #13763]
4905         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4907 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
4909         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4910         * elf/cache.c (print_entry): Print ",AArch64" for
4911         FLAG_AARCH64_LIB64
4913         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4914         * elf/cache.c (print_entry): Print ",hard-float" for
4915         FLAG_ARM_LIBHF.
4917 2012-11-18  David S. Miller  <davem@davemloft.net>
4919         With help from Joseph Myers.
4920         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4921         cutoff to 2**-13.
4922         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4923         cutoff to 2**-25.
4924         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4925         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4926         small.
4927         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4928         * math/libm-test.inc (y0_test): New tests.
4929         (y1_test): New tests.
4930         * sysdeps/i386/fpu/libm-test-ulps: Update.
4931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4934 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
4936         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4937         64-bit targets.
4938         * configure: Regenerated.
4940 2012-11-17  David S. Miller  <davem@davemloft.net>
4942         [BZ #14811]
4943         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4944         nonzero exponents with absolute value below 0x1p-128 to +/-
4945         0x1p-128.
4947 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
4949         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4951         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4953         * posix/getconf-speclist.c: New file.
4954         * posix/posix-envs.def: Likewise.
4955         * posix/confstr.c (START_ENV_GROUP): New macro.
4956         (END_ENV_GROUP): Likewise.
4957         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4958         (KNOWN_PRESENT_ENV_STRING): Likewise.
4959         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4960         (UNKNOWN_ENVIRONMENT): Likewise.
4961         (confstr): Include posix-envs.def instead of handling
4962         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4963         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4964         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4965         (END_ENV_GROUP): Likewise.
4966         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4967         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4968         (UNKNOWN_ENVIRONMENT): Likewise.
4969         (__sysconf): Include posix-envs.def instead of handling associated
4970         cases directly here.
4971         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4972         preprocessing getconf-speclist.c rather than running getconf or
4973         generating empty file.
4975 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
4977         * scripts/check-local-headers.sh: Ignore 'mach' headers.
4979 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
4981         [BZ #14672]
4982         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4984 2012-11-16  David S. Miller  <davem@davemloft.net>
4986         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4987         smaller than LDBL_EPSILON/2.0L, just return xm1.
4989 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
4991         * elf/tst-array1.c (init): Set constructor priority to 1000.
4992         (fini): Set destructor priority to 1000.
4993         * elf/tst-array2dep.c: Likewise.
4995 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4997         [BZ #11741]
4998         * libio/fileops.c (_IO_new_file_write): Correctly return error.
4999         (_IO_new_file_xsputn): Also return EOF if none of the input
5000         data was written when overflow failed.
5001         * libio/iopadn.c (_IO_padn): Likewise.
5002         * libio/iowpadn.c (_IO_wpadn): Likewise.
5003         * stdio-common/tst-put-error.c: Add copyright notice.
5004         (do_test): Add case for printing padded string.
5005         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5006         _IO_padn returned error.
5007         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5008         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5009         return EOF.
5011 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5013         * libio/libioP.h: Add comment note that the references to C++
5014         bits are now obsolete.
5016 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5018         * math/libm-test.inc (check_complex): Use asprintf.
5020 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5022         * debug/pcprofiledump.c (print_version): Update copyright year.
5023         * malloc/memusagestat.c (print_version): Likewise.
5025 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5027         [BZ #14831]
5028         * elf/Makefile (tests): Add tst-audit8.
5029         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5030         ($(objpfx)tst-audit8.out): New target.
5031         (tst-audit8-ENV): New variable.
5032         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5033         audit if l_reloc_result is NULL.
5034         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5035         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5036         * elf/tst-audit8.c: New file.
5038 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5040         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5041         * misc/Makefile (CFLAGS-select.c): Define.
5042         * posix/Makefile (CFLAGS-pause.c): Define.
5044 2012-11-13  David S. Miller  <davem@davemloft.net>
5046         * crypt/Makefile: Move test targets after toplevel Rules
5047         inclusion.  Grab any necessary sysdep routines when linking.
5048         * crypt/md5.c (md5_process_block): Remove define, we will always
5049         name it __md5_process_block.
5050         (md5_finish_ctx): Update md5_process_block call.
5051         (md5_stream): Likewise.
5052         (md5_process_bytes): Likewise.
5053         (md5_process_block): Rename to __md5_process_block and move to ...
5054         * crypt/md5-block.c: ... here.
5055         * crypt/sha256.c (sha256_process_block): Move to ...
5056         * crypt/sha256-block.c: ... here.
5057         * crypt/sha512.c (sha512_process_block): Move to ...
5058         * crypt/sha512-block.c: ... here.
5059         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5060         path.
5061         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5062         * sysdeps/sparc/sparc64/multiarch/Makefile
5063         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5064         crypt subdir.
5065         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5066         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5067         multiarch changes.
5068         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5069         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5070         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5071         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5072         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5073         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5074         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5075         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5076         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5077         file.
5078         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5079         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5080         file.
5081         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5083 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5085         * timezone/tzselect.ksh: Update from tzcode git revision
5086         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5087         * timezone/zdump.c: Likewise.
5088         * timezone/zic.c: Likewise.
5089         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5090         in TZVERSION setting, not $(PKGVERSION).
5091         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5092         REPORT_BUGS_TO settings.
5094         [BZ #14838]
5095         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5096         macro.
5098 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5100         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5101         detection to immediately after _FP_ROUND().
5102         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5103         bits are 0.
5105 2012-11-11  David S. Miller  <davem@davemloft.net>
5107         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5108         inttypes.h
5109         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5110         __close rather than their public counterparts.
5112 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5114         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5115         file.
5116         [UNIX98] (sem_timedwait): Do not expect.
5117         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5118         [XPG4 || UNIX98] (sockatmark): Do not expect.
5119         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5120         (clock_getcpuclockid): Do not expect.
5121         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5122         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5123         Do not expect.
5124         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5125         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5126         [UNIX98] (vwscanf): Likewise.
5127         [UNIX98] (vswscanf): Likewise.
5129 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5131         * timezone/version.h: Remove file.
5132         * timezone/README: Do not refer to version.h.
5133         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5134         $(objpfx)version.h.
5135         ($(objpfx)zdump.o): Likewise.
5136         ($(objpfx)version.h): New target.
5138         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5139         2012i.
5140         * timezone/README: Don't mention modification to tzselect.ksh.
5141         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5142         work on unmodified tzselect.ksh.  Substitute version numbers in
5143         tzselect.ksh.
5145         * Makefile (format-me): Remove.
5146         (INSTALL): Adjust indentation.  Use commands directly instead of
5147         using $(format-me).
5149         * aclocal.m4 (ACX_PKGVERSION): New macro.
5150         (ACX_BUGURL): Likewise.
5151         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5152         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5153         (REPORT_BUGS_TO): Likewise.
5154         * configure: Regenerated.
5155         * config.h.in (PKGVERSION): New macro.
5156         (REPORT_BUGS_TO): Likewise.
5157         * config.make.in (PKGVERSION): New variable.
5158         (PKGVERSION_TEXI): Likewise.
5159         (REPORT_BUGS_TO): Likewise.
5160         (REPORT_BUGS_TEXI): Likewise.
5161         * Makefile (format-me): Use -I$(common-objpfx)manual.
5162         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5163         ($(common-objpfx)manual/%): New target.
5164         (manual/%): Remove target.
5165         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5166         (print_version): Use PKGVERSION.
5167         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5168         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5169         and REPORT_BUGS_TO.
5170         ($(objpfx)xtrace): Likewise.
5171         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5172         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5173         (print_version): Use PKGVERSION.
5174         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5175         (do_version): Use PKGVERSION.
5176         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5177         REPORT_BUGS_TO.
5178         (common-ldd-rewrite): Likewise.
5179         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5180         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5181         (print_version): Use PKGVERSION.
5182         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5183         * elf/pldd.c (argp_program_bug_address): Remove variable.
5184         (more_help): New function.
5185         (argp): Use more_help.
5186         (print_version): Use PKGVERSION.
5187         * elf/sln.c (main): Use PKGVERSION.
5188         (usage): Use REPORT_BUGS_TO.
5189         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5190         (top level): Use PKGVERSION.
5191         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5192         (print_version): Use PKGVERSION.
5193         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5194         (print_version): Use PKGVERSION.
5195         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5196         (print_version): Use PKGVERSION.
5197         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5198         (print_version): Use PKGVERSION.
5199         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5200         (print_version): Use PKGVERSION.
5201         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5202         (print_version): Use PKGVERSION.
5203         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5204         and BUGURL.
5205         ($(objpfx)memusage): Likewise.
5206         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5207         (do_version): Use PKGVERSION.
5208         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5209         (print_version): Use PKGVERSION.
5210         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5211         ($PKGVERSION): New variable.
5212         ($REPORT_BUGS_TO): Likewise.
5213         (usage): Use $REPORT_BUGS_TO.
5214         (top level): Use $PKGVERSION.
5215         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5216         ($(objpfx)pkgvers.texi): New rule.
5217         ($(objpfx)stamp-pkgvers): Likewise.
5218         * manual/install.texi: Include pkgvers.texi.
5219         (--with-pkgversion): Document new configure option.
5220         (--with-bugurl): Likewise.
5221         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5222         than necessarily for this particular distribution.  Use
5223         REPORT_BUGS_TO for where to report bugs.
5224         * INSTALL: Regenerated.
5225         * manual/libc.texinfo: Include pkgvers.texi.
5226         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5227         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5228         (print_version): Use PKGVERSION.
5229         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5230         (print_version): Use PKGVERSION.
5231         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5232         (print_version): Use PKGVERSION.
5233         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5234         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5235         macro.
5236         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5237         (print_version): Use PKGVERSION.
5238         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5239         (print_version): Use PKGVERSION.
5240         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5241         and PKGVERSION.
5243         * timezone/checktab.awk: Update from tzcode 2012i.
5244         * timezone/ialloc.c: Likewise.
5245         * timezone/private.h: Likewise.
5246         * timezone/scheck.c: Likewise.
5247         * timezone/tzfile.h: Likewise.
5248         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5249         (TZVERSION): Hardcode tzcode version number.
5250         * timezone/zdump.c: Update from tzcode 2012i.
5251         * timezone/zic.c: Likewise.
5252         * timezone/version.h: New file.
5253         * timezone/README: Describe version.h.  Update upstream location.
5255         [BZ #14824]
5256         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5257         (mktemp): Enable declaration.
5258         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5259         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5260         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5261         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5262         Likewise.
5263         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5264         Likewise.
5265         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5266         Likewise.
5267         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5268         Likewise.
5269         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5270         Likewise.
5271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5272         Likewise.
5274         [BZ #14821]
5275         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5276         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5277         for copies of such integer values.
5278         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5279         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5281 2012-11-09  Andreas Jaeger  <aj@suse.de>
5283         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5284         definitions and declarations that are provided by
5285         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5287 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5289         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5290         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5291         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5292         definition.
5294 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5296         * elf/elf.h: Update comment before AArch64 relocations.
5298 2012-11-07  David S. Miller  <davem@davemloft.net>
5300         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5301         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5302         (__start_context): Declare.
5303         (__makecontext_ret): Delete.
5304         (__makecontext): Hook up __start_context instead of
5305         __makecontext_ret.
5306         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5307         (sysdep_routines): Add __start_context when in stdlib.
5309 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5311         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5312         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5313         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5314         hardcoded "nm".
5315         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5316         (READELF): New variable.  Use it instead of hardcoded "readelf".
5318 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5320         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5321         * sysdeps/x86/Makefile: Here.
5322         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5323         * sysdeps/x86/tst-xmmymm.sh: This.
5325 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5327         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5328         expectations.
5329         [UNIX98] (pthread_barrier_t): Do not expect.
5330         [UNIX98] (pthread_barrierattr_t): Likewise.
5331         [UNIX98] (pthread_spinlock_t): Likewise.
5332         [UNIX98] (pthread_barrier_destroy): Likewise.
5333         [UNIX98] (pthread_barrier_init): Likewise.
5334         [UNIX98] (pthread_barrier_wait): Likewise.
5335         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5336         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5337         [UNIX98] (pthread_barrierattr_init): Likewise.
5338         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5339         [UNIX98] (pthread_getcpuclockid): Likewise.
5340         [UNIX98] (pthread_mutex_timedlock): Likewise.
5341         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5342         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5343         [UNIX98] (pthread_sigmask): Likewise.
5344         [UNIX98] (pthread_spin_destroy): Likewise.
5345         [UNIX98] (pthread_spin_init): Likewise.
5346         [UNIX98] (pthread_spin_lock): Likewise.
5347         [UNIX98] (pthread_spin_trylock): Likewise.
5348         [UNIX98] (pthread_spin_unlock): Likewise.
5349         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5350         Do not expect.
5351         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5352         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5353         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5354         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5355         [XPG3 || XPG4] (pthread_key_t): Likewise.
5356         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5357         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5358         [XPG3 || XPG4] (pthread_once_t): Likewise.
5359         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5360         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5361         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5362         [XPG3 || XPG4] (pthread_t): Likewise.
5364         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5365         not expect.
5366         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5368         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5369         Change function return type to int.
5371         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5372         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5373         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5374         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5375         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5376         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5377         [!POSIX] (posix_madvise): Likewise.
5378         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5379         && !UNIX98].
5380         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5381         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5382         (mode_t): Likewise.
5383         (posix_mem_offset): Likewise.
5384         (posix_typed_mem_get_info): Likewise.
5385         (posix_typed_mem_open): Likewise.
5387         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5388         Change condition to [XOPEN2K8].
5390         * conform/conformtest.pl: Preprocess allow-header data with -x c
5391         instead of from stdin.
5392         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5393         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5394         [C99-based standards] (cerfc): Likewise.
5395         [C99-based standards] (cexp2): Likewise.
5396         [C99-based standards] (cexpm1): Likewise.
5397         [C99-based standards] (clog10): Likewise.
5398         [C99-based standards] (clog1p): Likewise.
5399         [C99-based standards] (clog2): Likewise.
5400         [C99-based standards] (clgamma): Likewise.
5401         [C99-based standards] (ctgamma): Likewise.
5402         [C99-based standards] (cerff): Likewise.
5403         [C99-based standards] (cerfcf): Likewise.
5404         [C99-based standards] (cexp2f): Likewise.
5405         [C99-based standards] (cexpm1f): Likewise.
5406         [C99-based standards] (clog10f): Likewise.
5407         [C99-based standards] (clog1pf): Likewise.
5408         [C99-based standards] (clog2f): Likewise.
5409         [C99-based standards] (clgammaf): Likewise.
5410         [C99-based standards] (ctgammaf): Likewise.
5411         [C99-based standards] (cerfl): Likewise.
5412         [C99-based standards] (cerfcl): Likewise.
5413         [C99-based standards] (cexp2l): Likewise.
5414         [C99-based standards] (cexpm1l): Likewise.
5415         [C99-based standards] (clog10l): Likewise.
5416         [C99-based standards] (clog1pl): Likewise.
5417         [C99-based standards] (clog2l): Likewise.
5418         [C99-based standards] (clgammal): Likewise.
5419         [C99-based standards] (ctgammal): Likewise.
5420         * conform/data/inttypes.h-data [C99-based standards]: Include
5421         stdint.h-data.  Remove all expectations for stdint.h contents.
5422         [C99-based standards] (PRI*): Do not allow.
5423         [C99-based standards] (SCN*): Likewise.
5424         [C99-based standards] (*_t): Likewise.
5425         [C99-based-standards] (PRId8): Expect macro.
5426         [C99-based-standards] (PRIi8): Likewise.
5427         [C99-based-standards] (PRIo8): Likewise.
5428         [C99-based-standards] (PRIu8): Likewise.
5429         [C99-based-standards] (PRIx8): Likewise.
5430         [C99-based-standards] (PRIX8): Likewise.
5431         [C99-based-standards] (SCNd8): Likewise.
5432         [C99-based-standards] (SCNi8): Likewise.
5433         [C99-based-standards] (SCNo8): Likewise.
5434         [C99-based-standards] (SCNu8): Likewise.
5435         [C99-based-standards] (SCNx8): Likewise.
5436         [C99-based-standards] (PRIdLEAST8): Likewise.
5437         [C99-based-standards] (PRIiLEAST8): Likewise.
5438         [C99-based-standards] (PRIoLEAST8): Likewise.
5439         [C99-based-standards] (PRIuLEAST8): Likewise.
5440         [C99-based-standards] (PRIxLEAST8): Likewise.
5441         [C99-based-standards] (PRIXLEAST8): Likewise.
5442         [C99-based-standards] (SCNdLEAST8): Likewise.
5443         [C99-based-standards] (SCNiLEAST8): Likewise.
5444         [C99-based-standards] (SCNoLEAST8): Likewise.
5445         [C99-based-standards] (SCNuLEAST8): Likewise.
5446         [C99-based-standards] (SCNxLEAST8): Likewise.
5447         [C99-based-standards] (PRIdFAST8): Likewise.
5448         [C99-based-standards] (PRIiFAST8): Likewise.
5449         [C99-based-standards] (PRIoFAST8): Likewise.
5450         [C99-based-standards] (PRIuFAST8): Likewise.
5451         [C99-based-standards] (PRIxFAST8): Likewise.
5452         [C99-based-standards] (PRIXFAST8): Likewise.
5453         [C99-based-standards] (SCNdFAST8): Likewise.
5454         [C99-based-standards] (SCNiFAST8): Likewise.
5455         [C99-based-standards] (SCNoFAST8): Likewise.
5456         [C99-based-standards] (SCNuFAST8): Likewise.
5457         [C99-based-standards] (SCNxFAST8): Likewise.
5458         [C99-based-standards] (PRId16): Likewise.
5459         [C99-based-standards] (PRIi16): Likewise.
5460         [C99-based-standards] (PRIo16): Likewise.
5461         [C99-based-standards] (PRIu16): Likewise.
5462         [C99-based-standards] (PRIx16): Likewise.
5463         [C99-based-standards] (PRIX16): Likewise.
5464         [C99-based-standards] (SCNd16): Likewise.
5465         [C99-based-standards] (SCNi16): Likewise.
5466         [C99-based-standards] (SCNo16): Likewise.
5467         [C99-based-standards] (SCNu16): Likewise.
5468         [C99-based-standards] (SCNx16): Likewise.
5469         [C99-based-standards] (PRIdLEAST16): Likewise.
5470         [C99-based-standards] (PRIiLEAST16): Likewise.
5471         [C99-based-standards] (PRIoLEAST16): Likewise.
5472         [C99-based-standards] (PRIuLEAST16): Likewise.
5473         [C99-based-standards] (PRIxLEAST16): Likewise.
5474         [C99-based-standards] (PRIXLEAST16): Likewise.
5475         [C99-based-standards] (SCNdLEAST16): Likewise.
5476         [C99-based-standards] (SCNiLEAST16): Likewise.
5477         [C99-based-standards] (SCNoLEAST16): Likewise.
5478         [C99-based-standards] (SCNuLEAST16): Likewise.
5479         [C99-based-standards] (SCNxLEAST16): Likewise.
5480         [C99-based-standards] (PRIdFAST16): Likewise.
5481         [C99-based-standards] (PRIiFAST16): Likewise.
5482         [C99-based-standards] (PRIoFAST16): Likewise.
5483         [C99-based-standards] (PRIuFAST16): Likewise.
5484         [C99-based-standards] (PRIxFAST16): Likewise.
5485         [C99-based-standards] (PRIXFAST16): Likewise.
5486         [C99-based-standards] (SCNdFAST16): Likewise.
5487         [C99-based-standards] (SCNiFAST16): Likewise.
5488         [C99-based-standards] (SCNoFAST16): Likewise.
5489         [C99-based-standards] (SCNuFAST16): Likewise.
5490         [C99-based-standards] (SCNxFAST16): Likewise.
5491         [C99-based-standards] (PRId32): Likewise.
5492         [C99-based-standards] (PRIi32): Likewise.
5493         [C99-based-standards] (PRIo32): Likewise.
5494         [C99-based-standards] (PRIu32): Likewise.
5495         [C99-based-standards] (PRIx32): Likewise.
5496         [C99-based-standards] (PRIX32): Likewise.
5497         [C99-based-standards] (SCNd32): Likewise.
5498         [C99-based-standards] (SCNi32): Likewise.
5499         [C99-based-standards] (SCNo32): Likewise.
5500         [C99-based-standards] (SCNu32): Likewise.
5501         [C99-based-standards] (SCNx32): Likewise.
5502         [C99-based-standards] (PRIdLEAST32): Likewise.
5503         [C99-based-standards] (PRIiLEAST32): Likewise.
5504         [C99-based-standards] (PRIoLEAST32): Likewise.
5505         [C99-based-standards] (PRIuLEAST32): Likewise.
5506         [C99-based-standards] (PRIxLEAST32): Likewise.
5507         [C99-based-standards] (PRIXLEAST32): Likewise.
5508         [C99-based-standards] (SCNdLEAST32): Likewise.
5509         [C99-based-standards] (SCNiLEAST32): Likewise.
5510         [C99-based-standards] (SCNoLEAST32): Likewise.
5511         [C99-based-standards] (SCNuLEAST32): Likewise.
5512         [C99-based-standards] (SCNxLEAST32): Likewise.
5513         [C99-based-standards] (PRIdFAST32): Likewise.
5514         [C99-based-standards] (PRIiFAST32): Likewise.
5515         [C99-based-standards] (PRIoFAST32): Likewise.
5516         [C99-based-standards] (PRIuFAST32): Likewise.
5517         [C99-based-standards] (PRIxFAST32): Likewise.
5518         [C99-based-standards] (PRIXFAST32): Likewise.
5519         [C99-based-standards] (SCNdFAST32): Likewise.
5520         [C99-based-standards] (SCNiFAST32): Likewise.
5521         [C99-based-standards] (SCNoFAST32): Likewise.
5522         [C99-based-standards] (SCNuFAST32): Likewise.
5523         [C99-based-standards] (SCNxFAST32): Likewise.
5524         [C99-based-standards] (PRId64): Likewise.
5525         [C99-based-standards] (PRIi64): Likewise.
5526         [C99-based-standards] (PRIo64): Likewise.
5527         [C99-based-standards] (PRIu64): Likewise.
5528         [C99-based-standards] (PRIx64): Likewise.
5529         [C99-based-standards] (PRIX64): Likewise.
5530         [C99-based-standards] (SCNd64): Likewise.
5531         [C99-based-standards] (SCNi64): Likewise.
5532         [C99-based-standards] (SCNo64): Likewise.
5533         [C99-based-standards] (SCNu64): Likewise.
5534         [C99-based-standards] (SCNx64): Likewise.
5535         [C99-based-standards] (PRIdLEAST64): Likewise.
5536         [C99-based-standards] (PRIiLEAST64): Likewise.
5537         [C99-based-standards] (PRIoLEAST64): Likewise.
5538         [C99-based-standards] (PRIuLEAST64): Likewise.
5539         [C99-based-standards] (PRIxLEAST64): Likewise.
5540         [C99-based-standards] (PRIXLEAST64): Likewise.
5541         [C99-based-standards] (SCNdLEAST64): Likewise.
5542         [C99-based-standards] (SCNiLEAST64): Likewise.
5543         [C99-based-standards] (SCNoLEAST64): Likewise.
5544         [C99-based-standards] (SCNuLEAST64): Likewise.
5545         [C99-based-standards] (SCNxLEAST64): Likewise.
5546         [C99-based-standards] (PRIdFAST64): Likewise.
5547         [C99-based-standards] (PRIiFAST64): Likewise.
5548         [C99-based-standards] (PRIoFAST64): Likewise.
5549         [C99-based-standards] (PRIuFAST64): Likewise.
5550         [C99-based-standards] (PRIxFAST64): Likewise.
5551         [C99-based-standards] (PRIXFAST64): Likewise.
5552         [C99-based-standards] (SCNdFAST64): Likewise.
5553         [C99-based-standards] (SCNiFAST64): Likewise.
5554         [C99-based-standards] (SCNoFAST64): Likewise.
5555         [C99-based-standards] (SCNuFAST64): Likewise.
5556         [C99-based-standards] (SCNxFAST64): Likewise.
5557         [C99-based-standards] (PRIdMAX): Likewise.
5558         [C99-based-standards] (PRIiMAX): Likewise.
5559         [C99-based-standards] (PRIoMAX): Likewise.
5560         [C99-based-standards] (PRIuMAX): Likewise.
5561         [C99-based-standards] (PRIxMAX): Likewise.
5562         [C99-based-standards] (PRIXMAX): Likewise.
5563         [C99-based-standards] (SCNdMAX): Likewise.
5564         [C99-based-standards] (SCNiMAX): Likewise.
5565         [C99-based-standards] (SCNoMAX): Likewise.
5566         [C99-based-standards] (SCNuMAX): Likewise.
5567         [C99-based-standards] (SCNxMAX): Likewise.
5568         [C99-based-standards] (PRIdPTR): Likewise.
5569         [C99-based-standards] (PRIiPTR): Likewise.
5570         [C99-based-standards] (PRIoPTR): Likewise.
5571         [C99-based-standards] (PRIuPTR): Likewise.
5572         [C99-based-standards] (PRIxPTR): Likewise.
5573         [C99-based-standards] (PRIXPTR): Likewise.
5574         [C99-based-standards] (SCNdPTR): Likewise.
5575         [C99-based-standards] (SCNiPTR): Likewise.
5576         [C99-based-standards] (SCNoPTR): Likewise.
5577         [C99-based-standards] (SCNuPTR): Likewise.
5578         [C99-based-standards] (SCNxPTR): Likewise.
5579         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5580         allow.
5581         * conform/data/stdint.h-data: Update comments to clarify
5582         requirements.
5583         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5584         type.
5585         [C99-based standards] (INT8_MAX): Likewise.
5586         [C99-based standards] (INT16_MIN): Likewise.
5587         [C99-based standards] (INT16_MAX): Likewise.
5588         [C99-based standards] (INT32_MIN): Likewise.
5589         [C99-based standards] (INT32_MAX): Likewise.
5590         [C99-based standards] (INT64_MIN): Likewise.
5591         [C99-based standards] (INT64_MAX): Likewise.
5592         [C99-based standards] (UINT8_MAX): Likewise.
5593         [C99-based standards] (UINT16_MAX): Likewise.
5594         [C99-based standards] (UINT32_MAX): Likewise.
5595         [C99-based standards] (UINT64_MAX): Likewise.
5596         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5597         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5598         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5599         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5600         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5601         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5602         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5603         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5604         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5605         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5606         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5607         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5608         [C99-based standards] (INT_FAST8_MIN): Likewise.
5609         [C99-based standards] (INT_FAST8_MAX): Likewise.
5610         [C99-based standards] (INT_FAST16_MIN): Likewise.
5611         [C99-based standards] (INT_FAST16_MAX): Likewise.
5612         [C99-based standards] (INT_FAST32_MIN): Likewise.
5613         [C99-based standards] (INT_FAST32_MAX): Likewise.
5614         [C99-based standards] (INT_FAST64_MIN): Likewise.
5615         [C99-based standards] (INT_FAST64_MAX): Likewise.
5616         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5617         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5618         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5619         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5620         [C99-based standards] (INTPTR_MIN): Likewise.
5621         [C99-based standards] (INTPTR_MAX): Likewise.
5622         [C99-based standards] (UINTPTR_MAX): Likewise.
5623         [C99-based standards] (INTMAX_MIN): Likewise.
5624         [C99-based standards] (INTMAX_MAX): Likewise.
5625         [C99-based standards] (UINTMAX_MAX): Likewise.
5626         [C99-based standards] (PTRDIFF_MIN): Likewise.
5627         [C99-based standards] (PTRDIFF_MAX): Likewise.
5628         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5629         [C99-based standards] (SIZE_MAX): Likewise.
5630         [C99-based standards] (WCHAR_MAX): Likewise.
5631         [C99-based standards] (WINT_MAX): Likewise.
5632         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5633         constraint on value.
5634         [C99-based standards] (WCHAR_MIN): Likewise.
5635         [C99-based standards] (WINT_MIN): Likewise.
5636         [C99-based standards] (*_t): Allow.
5637         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5638         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5639         Include math.h-data and complex.h-data.  Remove all expectations
5640         of math.h and complex.h contents.
5641         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5642         at end of line.
5643         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5644         (struct tm): Expect tag.
5645         [C99-based-standards] (wcstof): Expect function.
5646         [C99-based-standards] (wcstold): Likewise.
5647         [C99-based-standards] (wcstoll): Likewise.
5648         [C99-based-standards] (wcstoull): Likewise.
5649         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5650         macro-int-constant.  Specify type.
5651         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
5652         constraint on value.
5653         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5654         Specify type.
5655         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5656         Specify value.
5657         [ISO C standards]: Do not allow headers.
5658         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5659         wcs[abcdefghijklmnopqrstuvwxyz]*.
5660         [ISO C standards] (*_t): Do not allow.
5661         * conform/data/wctype.h-data [C99-based standards] (iswblank):
5662         Expect function.
5663         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5664         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5665         Specify type.
5666         [ISO C standards]: Do not allow headers.
5667         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5668         is[abcdefghijklmnopqrstuvwxyz]*.
5669         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5670         to[abcdefghijklmnopqrstuvwxyz]*.
5671         [ISO C standards] (*_t): Do not allow.
5672         * conform/data/stdalign.h-data: New file.
5673         * conform/data/stdbool.h-data: Likewise.
5674         * conform/data/stdnoreturn.h-data: Likewise.
5676 2012-11-07  Roland McGrath  <roland@hack.frob.com>
5678         [BZ #14815]
5679         * manual/filesys.texi (Directory Entries): Typo fix.
5680         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5682 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5684         * elf/elf.h (EM_AARCH64): New macro.
5685         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5686         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5687         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5688         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5689         (R_AARCH64_TLSDESC): Likewise.
5690         (NT_ARM_TLS): Likewise.
5691         (NT_ARM_HW_BREAK): Likewise.
5692         (NT_ARM_HW_WATCH): Likewise.
5694 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5696         [BZ #14811]
5697         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5698         (__ieee754_powl): Saturate nonzero exponents with absolute value
5699         below 0x1p-79 to +/- 0x1p-79.
5700         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5701         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5702         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5703         nonzero exponents with absolute value below 0x1p-32 to +/-
5704         0x1p-32.
5705         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5706         (__ieee754_powl): Saturate nonzero exponents with absolute value
5707         below 0x1p-79 to +/- 0x1p-79.
5708         * math/libm-test.inc (pow_test): Add more tests.
5710 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5712         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5713         _dl_s390_cap_flags with kernel. Increase string length.
5714         (_dl_s390_platforms): Add z196 and zEC12.
5716 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5718         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5719         Change XOPEN21K to XOPEN2K.
5721 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
5723         * string/memmove.c: Use memcpy when possible.
5725 2012-11-06  Andreas Jaeger  <aj@suse.de>
5727         * po/eo.po: Update from translation team.
5729 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
5731         [BZ #14793]
5732         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5733         exponent and small x and y exponents, scale x or y up.  Increase
5734         by 2 the exponent used in scaling up.
5735         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5736         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5737         * math/libm-test.inc (fma_test): Add more tests.
5738         (fma_test_towardzero): Likewise.
5739         (fma_test_downward): Likewise.
5740         (fma_test_upward): Likewise.
5742 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
5744         [BZ #14805]
5745         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5746         fenv_t *.
5748         [BZ #14801]
5749         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5750         namespace for names of struct fields.
5751         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5752         fenv_t fields.
5753         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5754         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5756 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5758         [BZ #3665]
5759         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5761 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5763         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5764         PTR_DEMANGLE.
5766         [BZ #5246]
5767         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5768         PTR_DEMANGLE.
5770 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
5772         [BZ #14797]
5773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5774         definitely overflow as x * y not x * y + z.
5775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5777         * math/libm-test.inc (fma_test): Add more tests.
5778         (fma_test_towardzero): Likewise.
5779         (fma_test_downward): Likewise.
5780         (fma_test_upward): Likewise.
5782 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5784         [BZ #157]
5786         * include/stub-tag.h: Remove file.
5787         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5788         '#include' of it.
5789         * manual/maint.texi (Porting): Don't reference it.
5790         * Makerules ($(objpfx)stubs): Likewise.
5791         * dirent/closedir.c: Don't include <stub-tag.h>.
5792         * dirent/dirfd.c: Likewise.
5793         * dirent/fdopendir.c: Likewise.
5794         * dirent/getdents.c: Likewise.
5795         * dirent/getdents64.c: Likewise.
5796         * dirent/opendir.c: Likewise.
5797         * dirent/readdir.c: Likewise.
5798         * dirent/readdir64.c: Likewise.
5799         * dirent/readdir64_r.c: Likewise.
5800         * dirent/readdir_r.c: Likewise.
5801         * dirent/rewinddir.c: Likewise.
5802         * dirent/seekdir.c: Likewise.
5803         * dirent/telldir.c: Likewise.
5804         * gmon/profil.c: Likewise.
5805         * grp/setgroups.c: Likewise.
5806         * inet/if_index.c: Likewise.
5807         * io/access.c: Likewise.
5808         * io/chdir.c: Likewise.
5809         * io/chmod.c: Likewise.
5810         * io/chown.c: Likewise.
5811         * io/close.c: Likewise.
5812         * io/dup.c: Likewise.
5813         * io/dup2.c: Likewise.
5814         * io/dup3.c: Likewise.
5815         * io/euidaccess.c: Likewise.
5816         * io/faccessat.c: Likewise.
5817         * io/fchdir.c: Likewise.
5818         * io/fchmod.c: Likewise.
5819         * io/fchmodat.c: Likewise.
5820         * io/fchown.c: Likewise.
5821         * io/fchownat.c: Likewise.
5822         * io/fcntl.c: Likewise.
5823         * io/flock.c: Likewise.
5824         * io/fstatfs.c: Likewise.
5825         * io/fstatfs64.c: Likewise.
5826         * io/fstatvfs.c: Likewise.
5827         * io/fstatvfs64.c: Likewise.
5828         * io/futimens.c: Likewise.
5829         * io/fxstat.c: Likewise.
5830         * io/fxstat64.c: Likewise.
5831         * io/fxstatat.c: Likewise.
5832         * io/fxstatat64.c: Likewise.
5833         * io/getcwd.c: Likewise.
5834         * io/isatty.c: Likewise.
5835         * io/lchmod.c: Likewise.
5836         * io/lchown.c: Likewise.
5837         * io/link.c: Likewise.
5838         * io/linkat.c: Likewise.
5839         * io/lseek.c: Likewise.
5840         * io/lseek64.c: Likewise.
5841         * io/lxstat64.c: Likewise.
5842         * io/mkdir.c: Likewise.
5843         * io/mkdirat.c: Likewise.
5844         * io/mkfifo.c: Likewise.
5845         * io/mkfifoat.c: Likewise.
5846         * io/open.c: Likewise.
5847         * io/open64.c: Likewise.
5848         * io/openat.c: Likewise.
5849         * io/openat64.c: Likewise.
5850         * io/pipe.c: Likewise.
5851         * io/pipe2.c: Likewise.
5852         * io/poll.c: Likewise.
5853         * io/posix_fadvise.c: Likewise.
5854         * io/posix_fadvise64.c: Likewise.
5855         * io/posix_fallocate.c: Likewise.
5856         * io/posix_fallocate64.c: Likewise.
5857         * io/read.c: Likewise.
5858         * io/readlink.c: Likewise.
5859         * io/readlinkat.c: Likewise.
5860         * io/rmdir.c: Likewise.
5861         * io/sendfile.c: Likewise.
5862         * io/sendfile64.c: Likewise.
5863         * io/statfs.c: Likewise.
5864         * io/statfs64.c: Likewise.
5865         * io/statvfs.c: Likewise.
5866         * io/statvfs64.c: Likewise.
5867         * io/symlink.c: Likewise.
5868         * io/symlinkat.c: Likewise.
5869         * io/ttyname.c: Likewise.
5870         * io/ttyname_r.c: Likewise.
5871         * io/umask.c: Likewise.
5872         * io/unlink.c: Likewise.
5873         * io/unlinkat.c: Likewise.
5874         * io/utime.c: Likewise.
5875         * io/utimensat.c: Likewise.
5876         * io/write.c: Likewise.
5877         * io/xmknod.c: Likewise.
5878         * io/xmknodat.c: Likewise.
5879         * io/xstat.c: Likewise.
5880         * io/xstat64.c: Likewise.
5881         * login/getpt.c: Likewise.
5882         * login/grantpt.c: Likewise.
5883         * login/unlockpt.c: Likewise.
5884         * math/e_acoshl.c: Likewise.
5885         * math/e_acosl.c: Likewise.
5886         * math/e_asinl.c: Likewise.
5887         * math/e_atan2l.c: Likewise.
5888         * math/e_atanhl.c: Likewise.
5889         * math/e_coshl.c: Likewise.
5890         * math/e_expl.c: Likewise.
5891         * math/e_fmodl.c: Likewise.
5892         * math/e_gammal_r.c: Likewise.
5893         * math/e_hypotl.c: Likewise.
5894         * math/e_j0l.c: Likewise.
5895         * math/e_j1l.c: Likewise.
5896         * math/e_jnl.c: Likewise.
5897         * math/e_lgammal_r.c: Likewise.
5898         * math/e_log10l.c: Likewise.
5899         * math/e_log2l.c: Likewise.
5900         * math/e_logl.c: Likewise.
5901         * math/e_powl.c: Likewise.
5902         * math/e_rem_pio2l.c: Likewise.
5903         * math/e_sinhl.c: Likewise.
5904         * math/e_sqrtl.c: Likewise.
5905         * math/fclrexcpt.c: Likewise.
5906         * math/fedisblxcpt.c: Likewise.
5907         * math/feenablxcpt.c: Likewise.
5908         * math/fegetenv.c: Likewise.
5909         * math/fegetexcept.c: Likewise.
5910         * math/fegetround.c: Likewise.
5911         * math/feholdexcpt.c: Likewise.
5912         * math/fesetenv.c: Likewise.
5913         * math/fesetround.c: Likewise.
5914         * math/feupdateenv.c: Likewise.
5915         * math/fgetexcptflg.c: Likewise.
5916         * math/fraiseexcpt.c: Likewise.
5917         * math/fsetexcptflg.c: Likewise.
5918         * math/ftestexcept.c: Likewise.
5919         * math/k_cosl.c: Likewise.
5920         * math/k_rem_pio2l.c: Likewise.
5921         * math/k_sinl.c: Likewise.
5922         * math/k_tanl.c: Likewise.
5923         * math/s_asinhl.c: Likewise.
5924         * math/s_atanl.c: Likewise.
5925         * math/s_cbrtl.c: Likewise.
5926         * math/s_erfl.c: Likewise.
5927         * math/s_expm1l.c: Likewise.
5928         * math/s_log1pl.c: Likewise.
5929         * math/s_tanhl.c: Likewise.
5930         * misc/acct.c: Likewise.
5931         * misc/brk.c: Likewise.
5932         * misc/chflags.c: Likewise.
5933         * misc/chroot.c: Likewise.
5934         * misc/fchflags.c: Likewise.
5935         * misc/fgetxattr.c: Likewise.
5936         * misc/flistxattr.c: Likewise.
5937         * misc/fremovexattr.c: Likewise.
5938         * misc/fsetxattr.c: Likewise.
5939         * misc/fsync.c: Likewise.
5940         * misc/ftruncate.c: Likewise.
5941         * misc/futimes.c: Likewise.
5942         * misc/futimesat.c: Likewise.
5943         * misc/getdomain.c: Likewise.
5944         * misc/getdtsz.c: Likewise.
5945         * misc/gethostid.c: Likewise.
5946         * misc/gethostname.c: Likewise.
5947         * misc/getloadavg.c: Likewise.
5948         * misc/getpagesize.c: Likewise.
5949         * misc/getsysstats.c: Likewise.
5950         * misc/getxattr.c: Likewise.
5951         * misc/gtty.c: Likewise.
5952         * misc/ioctl.c: Likewise.
5953         * misc/lgetxattr.c: Likewise.
5954         * misc/listxattr.c: Likewise.
5955         * misc/llistxattr.c: Likewise.
5956         * misc/lremovexattr.c: Likewise.
5957         * misc/lsetxattr.c: Likewise.
5958         * misc/lutimes.c: Likewise.
5959         * misc/madvise.c: Likewise.
5960         * misc/mincore.c: Likewise.
5961         * misc/mlock.c: Likewise.
5962         * misc/mlockall.c: Likewise.
5963         * misc/mmap.c: Likewise.
5964         * misc/mprotect.c: Likewise.
5965         * misc/msync.c: Likewise.
5966         * misc/munlock.c: Likewise.
5967         * misc/munlockall.c: Likewise.
5968         * misc/munmap.c: Likewise.
5969         * misc/preadv.c: Likewise.
5970         * misc/preadv64.c: Likewise.
5971         * misc/ptrace.c: Likewise.
5972         * misc/pwritev.c: Likewise.
5973         * misc/pwritev64.c: Likewise.
5974         * misc/readv.c: Likewise.
5975         * misc/reboot.c: Likewise.
5976         * misc/remap_file_pages.c: Likewise.
5977         * misc/removexattr.c: Likewise.
5978         * misc/revoke.c: Likewise.
5979         * misc/select.c: Likewise.
5980         * misc/setdomain.c: Likewise.
5981         * misc/setegid.c: Likewise.
5982         * misc/seteuid.c: Likewise.
5983         * misc/sethostid.c: Likewise.
5984         * misc/sethostname.c: Likewise.
5985         * misc/setregid.c: Likewise.
5986         * misc/setreuid.c: Likewise.
5987         * misc/setxattr.c: Likewise.
5988         * misc/sstk.c: Likewise.
5989         * misc/stty.c: Likewise.
5990         * misc/swapoff.c: Likewise.
5991         * misc/swapon.c: Likewise.
5992         * misc/sync.c: Likewise.
5993         * misc/syncfs.c: Likewise.
5994         * misc/syscall.c: Likewise.
5995         * misc/truncate.c: Likewise.
5996         * misc/ualarm.c: Likewise.
5997         * misc/usleep.c: Likewise.
5998         * misc/ustat.c: Likewise.
5999         * misc/utimes.c: Likewise.
6000         * misc/vhangup.c: Likewise.
6001         * misc/writev.c: Likewise.
6002         * posix/_exit.c: Likewise.
6003         * posix/alarm.c: Likewise.
6004         * posix/execve.c: Likewise.
6005         * posix/fexecve.c: Likewise.
6006         * posix/fork.c: Likewise.
6007         * posix/fpathconf.c: Likewise.
6008         * posix/getaddrinfo.c: Likewise.
6009         * posix/getegid.c: Likewise.
6010         * posix/geteuid.c: Likewise.
6011         * posix/getgid.c: Likewise.
6012         * posix/getgroups.c: Likewise.
6013         * posix/getlogin.c: Likewise.
6014         * posix/getlogin_r.c: Likewise.
6015         * posix/getpgid.c: Likewise.
6016         * posix/getpid.c: Likewise.
6017         * posix/getppid.c: Likewise.
6018         * posix/getresgid.c: Likewise.
6019         * posix/getresuid.c: Likewise.
6020         * posix/getsid.c: Likewise.
6021         * posix/getuid.c: Likewise.
6022         * posix/glob64.c: Likewise.
6023         * posix/nanosleep.c: Likewise.
6024         * posix/pathconf.c: Likewise.
6025         * posix/pause.c: Likewise.
6026         * posix/posix_madvise.c: Likewise.
6027         * posix/pread.c: Likewise.
6028         * posix/pread64.c: Likewise.
6029         * posix/pwrite.c: Likewise.
6030         * posix/pwrite64.c: Likewise.
6031         * posix/sched_getaffinity.c: Likewise.
6032         * posix/sched_getp.c: Likewise.
6033         * posix/sched_gets.c: Likewise.
6034         * posix/sched_primax.c: Likewise.
6035         * posix/sched_primin.c: Likewise.
6036         * posix/sched_rr_gi.c: Likewise.
6037         * posix/sched_setaffinity.c: Likewise.
6038         * posix/sched_setp.c: Likewise.
6039         * posix/sched_sets.c: Likewise.
6040         * posix/sched_yield.c: Likewise.
6041         * posix/setgid.c: Likewise.
6042         * posix/setlogin.c: Likewise.
6043         * posix/setpgid.c: Likewise.
6044         * posix/setresgid.c: Likewise.
6045         * posix/setresuid.c: Likewise.
6046         * posix/setsid.c: Likewise.
6047         * posix/setuid.c: Likewise.
6048         * posix/sleep.c: Likewise.
6049         * posix/spawni.c: Likewise.
6050         * posix/sysconf.c: Likewise.
6051         * posix/times.c: Likewise.
6052         * posix/wait.c: Likewise.
6053         * posix/wait3.c: Likewise.
6054         * posix/wait4.c: Likewise.
6055         * posix/waitpid.c: Likewise.
6056         * resolv/gai_sigqueue.c: Likewise.
6057         * resource/getpriority.c: Likewise.
6058         * resource/getrlimit.c: Likewise.
6059         * resource/getrusage.c: Likewise.
6060         * resource/nice.c: Likewise.
6061         * resource/setpriority.c: Likewise.
6062         * resource/setrlimit.c: Likewise.
6063         * resource/ulimit.c: Likewise.
6064         * rt/aio_cancel.c: Likewise.
6065         * rt/aio_fsync.c: Likewise.
6066         * rt/aio_read.c: Likewise.
6067         * rt/aio_sigqueue.c: Likewise.
6068         * rt/aio_suspend.c: Likewise.
6069         * rt/aio_write.c: Likewise.
6070         * rt/clock_getres.c: Likewise.
6071         * rt/clock_gettime.c: Likewise.
6072         * rt/clock_nanosleep.c: Likewise.
6073         * rt/clock_settime.c: Likewise.
6074         * rt/lio_listio.c: Likewise.
6075         * rt/mq_close.c: Likewise.
6076         * rt/mq_getattr.c: Likewise.
6077         * rt/mq_notify.c: Likewise.
6078         * rt/mq_open.c: Likewise.
6079         * rt/mq_receive.c: Likewise.
6080         * rt/mq_send.c: Likewise.
6081         * rt/mq_setattr.c: Likewise.
6082         * rt/mq_timedreceive.c: Likewise.
6083         * rt/mq_timedsend.c: Likewise.
6084         * rt/mq_unlink.c: Likewise.
6085         * rt/shm_open.c: Likewise.
6086         * rt/shm_unlink.c: Likewise.
6087         * rt/timer_create.c: Likewise.
6088         * rt/timer_delete.c: Likewise.
6089         * rt/timer_getoverr.c: Likewise.
6090         * rt/timer_gettime.c: Likewise.
6091         * rt/timer_settime.c: Likewise.
6092         * setjmp/__longjmp.c: Likewise.
6093         * setjmp/setjmp.c: Likewise.
6094         * signal/kill.c: Likewise.
6095         * signal/killpg.c: Likewise.
6096         * signal/raise.c: Likewise.
6097         * signal/sigaction.c: Likewise.
6098         * signal/sigaltstack.c: Likewise.
6099         * signal/sigblock.c: Likewise.
6100         * signal/sigignore.c: Likewise.
6101         * signal/sigintr.c: Likewise.
6102         * signal/signal.c: Likewise.
6103         * signal/sigpause.c: Likewise.
6104         * signal/sigpending.c: Likewise.
6105         * signal/sigqueue.c: Likewise.
6106         * signal/sigreturn.c: Likewise.
6107         * signal/sigset.c: Likewise.
6108         * signal/sigsetmask.c: Likewise.
6109         * signal/sigstack.c: Likewise.
6110         * signal/sigsuspend.c: Likewise.
6111         * signal/sigtimedwait.c: Likewise.
6112         * signal/sigvec.c: Likewise.
6113         * signal/sigwait.c: Likewise.
6114         * signal/sigwaitinfo.c: Likewise.
6115         * signal/sysv_signal.c: Likewise.
6116         * socket/accept.c: Likewise.
6117         * socket/accept4.c: Likewise.
6118         * socket/bind.c: Likewise.
6119         * socket/connect.c: Likewise.
6120         * socket/getpeername.c: Likewise.
6121         * socket/getsockname.c: Likewise.
6122         * socket/getsockopt.c: Likewise.
6123         * socket/isfdtype.c: Likewise.
6124         * socket/listen.c: Likewise.
6125         * socket/recv.c: Likewise.
6126         * socket/recvfrom.c: Likewise.
6127         * socket/recvmsg.c: Likewise.
6128         * socket/send.c: Likewise.
6129         * socket/sendmsg.c: Likewise.
6130         * socket/sendto.c: Likewise.
6131         * socket/setsockopt.c: Likewise.
6132         * socket/shutdown.c: Likewise.
6133         * socket/sockatmark.c: Likewise.
6134         * socket/socket.c: Likewise.
6135         * socket/socketpair.c: Likewise.
6136         * stdio-common/ctermid.c: Likewise.
6137         * stdio-common/cuserid.c: Likewise.
6138         * stdio-common/remove.c: Likewise.
6139         * stdio-common/rename.c: Likewise.
6140         * stdio-common/renameat.c: Likewise.
6141         * stdio-common/tempname.c: Likewise.
6142         * stdlib/getcontext.c: Likewise.
6143         * stdlib/makecontext.c: Likewise.
6144         * stdlib/setcontext.c: Likewise.
6145         * stdlib/swapcontext.c: Likewise.
6146         * stdlib/system.c: Likewise.
6147         * streams/fattach.c: Likewise.
6148         * streams/fdetach.c: Likewise.
6149         * streams/getmsg.c: Likewise.
6150         * streams/getpmsg.c: Likewise.
6151         * streams/putmsg.c: Likewise.
6152         * streams/putpmsg.c: Likewise.
6153         * sysdeps/unix/bsd/getpt.c: Likewise.
6154         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6155         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6156         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6158         Likewise.
6159         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6160         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6161         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6162         * sysvipc/msgctl.c: Likewise.
6163         * sysvipc/msgget.c: Likewise.
6164         * sysvipc/msgrcv.c: Likewise.
6165         * sysvipc/msgsnd.c: Likewise.
6166         * sysvipc/semctl.c: Likewise.
6167         * sysvipc/semget.c: Likewise.
6168         * sysvipc/semop.c: Likewise.
6169         * sysvipc/semtimedop.c: Likewise.
6170         * sysvipc/shmat.c: Likewise.
6171         * sysvipc/shmctl.c: Likewise.
6172         * sysvipc/shmdt.c: Likewise.
6173         * sysvipc/shmget.c: Likewise.
6174         * termios/tcdrain.c: Likewise.
6175         * termios/tcflow.c: Likewise.
6176         * termios/tcflush.c: Likewise.
6177         * termios/tcgetattr.c: Likewise.
6178         * termios/tcgetpgrp.c: Likewise.
6179         * termios/tcsendbrk.c: Likewise.
6180         * termios/tcsetattr.c: Likewise.
6181         * termios/tcsetpgrp.c: Likewise.
6182         * time/adjtime.c: Likewise.
6183         * time/clock.c: Likewise.
6184         * time/getitimer.c: Likewise.
6185         * time/gettimeofday.c: Likewise.
6186         * time/setitimer.c: Likewise.
6187         * time/settimeofday.c: Likewise.
6188         * time/stime.c: Likewise.
6189         * time/time.c: Likewise.
6191 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6193         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6194         /usr/old/bin.
6196         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6197         instead of spaces.
6198         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6200 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6202         [BZ #14796]
6203         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6204         FE_TONEAREST before applying Dekker multiplication and Knuth
6205         addition.  Clear inexact exceptions and check for exact zero
6206         results afterwards.
6207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6208         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6209         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6210         * math/libm-test.inc (fma_test): Add more tests.
6211         (fma_test_towardzero): Likewise.
6212         (fma_test_downward): Likewise.
6213         (fma_test_upward): Likewise.
6214         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6215         function.
6216         (libc_fesetround): New macro.
6217         (libc_fesetroundf): Likewise.
6218         (libc_fesetroundl): Likewise.
6219         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6220         function.
6221         (libc_fesetround_387): Likewise.
6222         (libc_fesetroundf): New macro.
6223         (libc_fesetround): Likewise.
6224         (libc_fesetroundl): Likewise.
6225         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6226         function.
6227         (libc_fesetroundf): New macro.
6228         (libc_fesetround): Likewise.
6229         (libc_fesetroundl): Likewise.
6230         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6231         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6232         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6233         libm_hidden_ver.
6234         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6235         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6236         libm_hidden_def.
6237         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6238         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6239         libm_hidden_ver.
6240         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6241         libm_hidden_def.
6243         [BZ #3439]
6244         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6245         integer constant usable in #if and use that to give value to enum
6246         constant.
6247         (FE_DIVBYZERO): Likewise.
6248         (FE_UNDERFLOW): Likewise.
6249         (FE_OVERFLOW): Likewise.
6250         (FE_INVALID): Likewise.
6251         (FE_INVALID_SNAN): Likewise.
6252         (FE_INVALID_ISI): Likewise.
6253         (FE_INVALID_IDI): Likewise.
6254         (FE_INVALID_ZDZ): Likewise.
6255         (FE_INVALID_IMZ): Likewise.
6256         (FE_INVALID_COMPARE): Likewise.
6257         (FE_INVALID_SOFTWARE): Likewise.
6258         (FE_INVALID_SQRT): Likewise.
6259         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6260         (FE_TONEAREST): Likewise.
6261         (FE_TOWARDZERO): Likewise.
6262         (FE_UPWARD): Likewise.
6263         (FE_DOWNWARD): Likewise.
6264         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6265         (FE_DIVBYZERO): Likewise.
6266         (FE_OVERFLOW): Likewise.
6267         (FE_UNDERFLOW): Likewise.
6268         (FE_INEXACT): Likewise.
6269         (FE_TONEAREST): Likewise.
6270         (FE_DOWNWARD): Likewise.
6271         (FE_UPWARD): Likewise.
6272         (FE_TOWARDZERO): Likewise.
6273         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6274         (FE_UNDERFLOW): Likewise.
6275         (FE_OVERFLOW): Likewise.
6276         (FE_DIVBYZERO): Likewise.
6277         (FE_INVALID): Likewise.
6278         (FE_TONEAREST): Likewise.
6279         (FE_TOWARDZERO): Likewise.
6280         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6281         (FE_OVERFLOW): Likewise.
6282         (FE_UNDERFLOW): Likewise.
6283         (FE_DIVBYZERO): Likewise.
6284         (FE_INEXACT): Likewise.
6285         (FE_TONEAREST): Likewise.
6286         (FE_TOWARDZERO): Likewise.
6287         (FE_UPWARD): Likewise.
6288         (FE_DOWNWARD): Likewise.
6289         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6290         (FE_DIVBYZERO): Likewise.
6291         (FE_OVERFLOW): Likewise.
6292         (FE_UNDERFLOW): Likewise.
6293         (FE_INEXACT): Likewise.
6294         (FE_TONEAREST): Likewise.
6295         (FE_DOWNWARD): Likewise.
6296         (FE_UPWARD): Likewise.
6297         (FE_TOWARDZERO): Likewise.
6299 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6301         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6303 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6305         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6306         commands.  Quote $PWD.
6307         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6308         -x" by "export".
6309         (remove_newlines): Remove.
6311 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6313         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6314         * stdlib/stdlib.h (atof): Moved to ...
6315         * include/bits/stdlib-float.h: Here.  New file.
6316         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6317         * stdlib/bits/stdlib-float.h: New file.
6318         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6319         -mno-sse -mno-mmx.
6320         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6321         <xmmintrin.h>.
6323 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6325         * conform/conformtest.pl (@headers): Add fenv.h.
6326         * conform/data/fenv.h-data: New file.
6327         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6328         include of <math/fenv.h>.
6330         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6331         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6332         && !UNIX98].  Enables tests for XOPEN2K8.
6333         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6334         POSIX2008]: Likewise.
6336         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6337         (struct rusage): Do not expect type or its members.
6339         [BZ #3439]
6340         * math/math.h (FP_NAN): Define macro to integer constant usable in
6341         #if and use that to give value to enum constant.
6342         (FP_INFINITE): Likewise.
6343         (FP_ZERO): Likewise.
6344         (FP_SUBNORMAL): Likewise.
6345         (FP_NORMAL): Likewise.
6347 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6349         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6350         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6351         arguments.
6353 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6355         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6356         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6357         autoconf-time if not.
6358         * configure.in: Remove AC_PREREQ.
6360 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6362         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6363         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6364         of the internal implementation.
6366 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6368         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6369         except include of <misc/sys/syslog.h>.
6371 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6374         function returns with a NULL context exit with zero.
6376 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6378         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6380 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6382         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6383         (run_program_cmd): This.
6384         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6385         (tst_langinfo): New variable.  Use it.
6387 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6389         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6390         floating point opcodes.
6392 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6394         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6395         variable.
6397         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6399         * sysdeps/mach/hurd/powerpc: Remove directory.
6400         * sysdeps/mach/powerpc: Likewise.
6402 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6404         * scripts/check-local-headers.sh: Ignore c++ headers.
6406 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6408         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6409         __libc_cleanup_region_start argument.
6411 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6413         [BZ #14784]
6414         [BZ #14785]
6415         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6416         x * y using scaling, not as x * y + z.
6417         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6418         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6419         * math/libm-test.inc (fma_test): Add more tests.
6420         (fma_test_towardzero): Likewise.
6421         (fma_test_downward): Likewise.
6422         (fma_test_upward): Likewise.
6424 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6426         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6428 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6430         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6431         New variable.
6433 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6435         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6437 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6440         Fix sort order.
6441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6442         Likewise.
6444 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6447         Fix the order of the list for glibc 2.17.
6448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6449         Likewise.
6451 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6455 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6457         [BZ #14610]
6458         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6459         for low part of x being zero before using __atanl (y).
6460         * math/libm-test.inc (atan2_test): Add another test.
6462         * manual/install.texi (Configuring and compiling): Document
6463         general use of test-wrapper and test-wrapper-env.
6464         * INSTALL: Regenerated.
6466         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6467         (__fma): Do not extract and scale down low bits on after-rounding
6468         systems when result rounded to normal precision would have normal
6469         exponent.
6470         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6471         (__fmal): Do not extract and scale down low bits on after-rounding
6472         systems when result rounded to normal precision would have normal
6473         exponent.
6474         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6475         (__fmal): Do not extract and scale down low bits on after-rounding
6476         systems when result rounded to normal precision would have normal
6477         exponent.
6478         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6479         macro.
6480         (fma_test): Add more tests.
6481         (fma_test_towardzero): Likewise.
6482         (fma_test_downward): Likewise.
6483         (fma_test_upward): Likewise.
6485 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6487         * sysdeps/i386/tininess.h: Renamed to ...
6488         * sysdeps/x86/tininess.h: This.
6489         * sysdeps/x86_64/tininess.h: Removed.
6491 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6493         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6494         input.  Use $(build-program-cmd).
6495         ($(objpfx)tst-array1-static.out): Likewise.
6496         ($(objpfx)tst-array2.out): Likewise.
6497         ($(objpfx)tst-array3.out): Likewise.
6498         ($(objpfx)tst-array4.out): Likewise.
6499         ($(objpfx)tst-array5.out): Likewise.
6500         ($(objpfx)tst-array5-static.out): Likewise.
6502 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6504         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6505         if defined.
6507         * nss/nsswitch.h (nss_interface_function): Provide new
6508         macro for use with NSS functions.
6509         * grp/initgroups.c: Use new macro.
6510         * nss/getXXbyYY.c: Likewise.
6511         * nss/getXXbyYY_r.c: Likewise.
6512         * nss/getXXent.c: Likewise.
6513         * nss/getXXent_r.c: Likewise.
6514         * sysdeps/posix/getaddrinfo.c: Likewise.
6516 2012-10-30  Andreas Jaeger  <aj@suse.de>
6518         * po/ru.po: Update Russion translation from translation project.
6520 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6522         [BZ #14152]
6523         [BZ #14783]
6524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6525         result and shift together with sticky bit instead of replicating
6526         round-to-nearest rounding.
6527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6528         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6529         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6530         missing underflow exceptions.
6531         (fma_test_towardzero): Add more tests.
6532         (fma_test_downward): Likewise.
6533         (fma_test_upward): Likewise.
6535         [BZ #14047]
6536         * sysdeps/generic/tininess.h: New file.
6537         * sysdeps/i386/tininess.h: Likewise.
6538         * sysdeps/sh/tininess.h: Likewise.
6539         * sysdeps/x86_64/tininess.h: Likewise.
6540         * stdlib/tst-strtod-underflow.c: Likewise.
6541         * stdlib/tst-tininess.c: Likewise.
6542         * stdlib/strtod_l.c: Include <tininess.h>.
6543         (round_and_return): Do not set errno for exact underflow cases.
6544         Force an underflow exception when setting errno for underflow.
6545         Determine underflow based on rounding to normal precision if
6546         TININESS_AFTER_ROUNDING.
6547         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6548         ERANGE for exact underflow cases.
6549         * stdlib/Makefile (tests): Add tst-tininess and
6550         tst-strtod-underflow.
6551         ($(objpfx)tst-tininess): Use $(link-libm).
6552         ($(objpfx)tst-strtod-underflow): Likewise.
6554 2012-10-30  Andreas Jaeger  <aj@suse.de>
6556         [BZ#14767]
6557         * elf/Makefile (tests): Remove conditional for have-initfini-array
6558         since this is now always required and the variable does not exist
6559         anymore.
6560         (tests-static): Likewise.
6561         (modules-names): Likewise.
6563         * po/eo.po: Add Esperanto translation from translation project.
6565         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6566         merged with constructor/destructor.
6567         (init_array): Likewise.
6568         * elf/tst-array2dep.c (fini_array): Likewise.
6569         (init_array): Likewise.
6571 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6573         * manual/message.texi: Delete @cartouche tags.
6575 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6577         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6578         EOPNOTSUPP.
6579         * sysdeps/mach/hurd/fsync.c: Likewise.
6581         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6582         [_POSIX_REALTIME_SIGNALS]: Change condition to
6583         [_POSIX_REALTIME_SIGNALS > 0].
6585 2012-10-27  Andreas Jaeger  <aj@suse.de>
6587         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6588         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6590         [__WORDSIZE != 64]: Likewise.
6592 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6594         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6595         *  iconvdata/tst-tables.sh: Likewise.
6597 2012-10-25  David S. Miller  <davem@davemloft.net>
6599         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6600         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6601         of strtoull.
6603         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6604         ifunc-impl-list.c
6605         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6606         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6607         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6608         file.
6610 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6612         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6613         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6614         __getdirentries.
6616 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6617             Jim Blandy  <jimb@codesourcery.com>
6619         * scripts/cross-test-ssh.sh: New file.
6620         * manual/install.texi (Configuring and compiling): Document use of
6621         cross-test-ssh.sh.
6622         * INSTALL: Regenerated.
6624 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6626         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6627         EOPNOTSUPP.
6629 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6631         * Makeconfig (run-program-prefix): Fix comment.
6633 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6634             Jim Blandy  <jimb@codesourcery.com>
6636         * Makeconfig (test-wrapper): New variable,
6637         (test-wrapper-env): Likewise.
6638         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6639         (run-built-tests): Define to yes.
6640         (run-program-prefix): Use $(test-wrapper).
6641         (built-program-cmd): Likewise.
6642         * Rules (make-test-out): Use $(test-wrapper-env) and
6643         $(host-built-program-cmd).
6644         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6645         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6646         tst-pathopt.sh.
6647         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6648         $(test-wrapper-env) to tst-rtld-load-self.sh.
6649         ($(objpfx)order2.out): Use $(test-wrapper).
6650         ($(objpfx)tst-initorder.out): Likewise.
6651         ($(objpfx)tst-initorder2.out): Likewise.
6652         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6653         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6654         (test_wrapper_env): New variable.  Use it to run ld.so.
6655         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6656         Use it to run ld.so.
6657         (test_wrapper_env): Likewise.
6658         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6659         $(test-wrapper) to run-iconv-test.sh.
6660         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6661         (ICONV): Use $test_wrapper.
6662         * posix/Makefile ($(objpfx)globtest.out): Pass
6663         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6664         globtest.sh, not $(run-program-prefix).
6665         * posix/globtest.sh (run_via_rtld_prefix): New variable.
6666         (test_wrapper): Likewise.
6667         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
6668         set together with run_via_rtld_prefix.
6669         (run_program_prefix): Define in terms of test_wrapper and
6670         run_via_rtld_prefix.
6672 2012-10-24  Roland McGrath  <roland@hack.frob.com>
6674         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6675         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6676         Targets removed.
6678         [BZ #14743]
6679         * include/time.h: Remove librt_hidden_proto (clock_gettime).
6680         Declare __clock_getres, __clock_gettime, __clock_settime,
6681         __clock_nanosleep, and __clock_getcpuclockid.
6682         * rt/clock_gettime.c: Define __clock_gettime as an alias.
6683         Remove librt_hidden_def (clock_gettime).
6684         * sysdeps/unix/clock_gettime.c: Likewise.
6685         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6686         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6687         * rt/clock_getres.c: Define __clock_getres as an alias.
6688         * sysdeps/posix/clock_getres.c: Likewise.
6689         * rt/clock_settime.c: Define __clock_settime as an alias.
6690         * sysdeps/unix/clock_settime.c: Likewise.
6691         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6692         * sysdeps/unix/clock_nanosleep.c: Likewise.
6693         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6694         * rt/clock-compat.c: New file.
6695         * rt/Makefile (librt-routines): Add clock-compat and move
6696         $(clock-routines) to ...
6697         (routines): ... here, new variable.
6698         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6699         Don't add get_clockfreq here.
6700         * rt/Versions (libc: GLIBC_2.17): New version set.
6701         Add clock_* symbols here.
6702         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
6703         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6704         (GLIBC_2.17): Add clock_* symbols.
6705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6707         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6709         Likewise.
6710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6711         Likewise.
6712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6716         * NEWS: Mention the move.
6718         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6719         Use __open, __read, __close rather than their public counterparts.
6720         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6721         (__get_clockfreq_via_cpuinfo): Likewise.
6722         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6723         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6725         * config.h.in (HAVE_IFUNC): New #undef.
6726         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6727         was successful.
6728         * configure: Regenerated.
6730 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6732         * configure.in: Move READELF check to start of file.
6733         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6734         libc_cv_asm_gnu_indirect_function in the process.
6735         * configure: Regenerated.
6737 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6739         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6740         send the output to /dev/null.
6741         (libc_cv_cc_with_libunwind): Likewise.
6742         (libc_cv_as_noexecstack): Likewise.
6743         * configure: Regenerate.
6745 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6747         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6749         * posix/globtest.sh (TMPDIR): Do not set.
6750         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6751         (testout): Likewise.
6753 2012-10-24  Andreas Jaeger  <aj@suse.de>
6755         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6756         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6757         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6758         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6759         posix_fadvise64, posix_fallocate64.
6761         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6762         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6763         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6764         Likewise.
6765         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6766         Likewise.
6767         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6770         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6771         <bits/fcntl-linux.h>.
6772         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6774         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6775         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6776         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6777         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6778         [__WORDSIZE != 64]: Likewise.
6780 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6782         * Makeconfig (run-built-tests): New variable.
6783         * Rules [$(cross-compiling) = yes]: Change condition to
6784         [$(run-built-tests) = no].
6785         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6786         to [$(run-built-tests) = yes].
6787         * elf/Makefile [$(cross-compiling) = no]: Likewise
6788         * grp/Makefile [$(cross-compiling) = no]: Likewise.
6789         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6790         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6791         * intl/Makefile [$(cross-compiling) = no]: Likewise.
6792         * io/Makefile [$(cross-compiling) = no]: Likewise.
6793         * libio/Makefile [$(cross-compiling) = no]: Likewise.
6794         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6795         * misc/Makefile [$(cross-compiling) = no]: Likewise.
6796         * posix/Makefile [$(cross-compiling) = no]: Likewise.
6797         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6798         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6799         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6800         * string/Makefile [$(cross-compiling) = no]: Likewise.
6802         * posix/Makefile ($(objpfx)globtest.out): Pass
6803         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6804         $(rtld-installed-name).
6805         * posix/globtest.sh (elf_objpfx): Remove variable.
6806         (rtld_installed_name): Likewise.
6807         (library_path): Likewise.
6808         (run_program_prefix): New variable.  Use for running globtest
6809         binary.
6811 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
6812             Joseph Myers  <joseph@codesourcery.com>
6814         * Makeconfig (host-built-program-cmd): New variable.
6815         * elf/Makefile (tst-stackguard1-ARGS): Use
6816         $(host-built-program-cmd).
6817         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6818         (tst-spawn-ARGS): Likewise.
6819         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6821 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6822             Jim Blandy  <jimb@codesourcery.com>
6824         * Makeconfig (run-via-rtld-prefix): New variable.
6825         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6826         (built-program-cmd): Likewise.
6828 2012-10-22  Andreas Jaeger  <aj@suse.de>
6830         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6831         __O_RSYNC if it exists, otherwise to O_SYNC.
6833 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
6834             Joseph Myers  <joseph@codesourcery.com>
6836         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6837         /dev/null.
6838         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6839         from /dev/null
6840         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6841         /dev/null.
6843 2012-10-22  Andreas Jaeger  <aj@suse.de>
6845         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6846         Define always.
6847         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6849         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6850         bits/fcntl-linux.h.
6852         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6853         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6855         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6856         to __O_LARGEFILE.
6857         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6858         to __O_LARGEFILE.
6860 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
6861             Joseph Myers  <joseph@codesourcery.com>
6863         * config.make.in (NM): New variable.
6865 2012-10-21  Andreas Jaeger  <aj@suse.de>
6867         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6868         definitions and declarations that are provided by
6869         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6871 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6873         [BZ #14683]
6874         * elf/Makefile (tests-static): Add tst-leaks1-static.
6875         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6876         ($(objpfx)tst-leaks1-static): New rule.
6877         ($(objpfx)tst-leaks1-static-mem): Likewise.
6878         (tst-leaks1-static-ENV): New macro.
6879         * elf/dl-open.c (dl_open_worker): Check the main application
6880         only if SHARED is defined.
6881         * elf/tst-leaks1-static.c: New file.
6883 2012-10-20  Andreas Jaeger  <aj@suse.de>
6885         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6886         generic values for Linux.
6887         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6888         and declarations that are provided by <bits/fcntl-linux.h> and
6889         include <bits/fcntl-linux.h>.
6890         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6891         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6893 2012-10-20  Roland McGrath  <roland@hack.frob.com>
6895         * io/fcntl.h: Move include of <bits/types.h> to the top and
6896         include it unconditionally.
6898 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6900         * wcsmbs/Makefile (tests-ifunc): New variable.
6901         (tests): Add $(tests-ifunc).
6902         * wcsmbs/test-wcschr-ifunc.c: New file.
6903         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6904         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6905         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6906         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6907         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6909         * string/Makefile (tests-ifunc): New variable.
6910         (tests): Add $(tests-ifunc).
6911         * string/test-memccpy.c (TEST_NAME): New macro.
6912         * string/test-memchr.c (TEST_NAME): Likewise.
6913         * string/test-memcmp.c (TEST_NAME): Likewise.
6914         * string/test-memcpy.c (TEST_NAME): Likewise.
6915         * string/test-memmem.c (TEST_NAME): Likewise.
6916         * string/test-memmove.c (TEST_NAME): Likewise.
6917         * string/test-memset.c (TEST_NAME): Likewise.
6918         * string/test-rawmemchr.c (TEST_NAME): Likewise.
6919         * string/test-stpcpy.c (TEST_NAME): Likewise.
6920         * string/test-stpncpy.c (TEST_NAME): Likewise.
6921         * string/test-strcasecmp.c (TEST_NAME): Likewise.
6922         * string/test-strcasestr.c (TEST_NAME): Likewise.
6923         * string/test-strcat.c (TEST_NAME): Likewise.
6924         * string/test-strchr.c (TEST_NAME): Likewise.
6925         * string/test-strcmp.c(TEST_NAME): Likewise.
6926         * string/test-strcpy.c (TEST_NAME): Likewise.
6927         * string/test-strcspn.c (TEST_NAME): Likewise.
6928         * string/test-strlen.c (TEST_NAME): Likewise.
6929         * string/test-strncasecmp.c (TEST_NAME): Likewise.
6930         * string/test-strncmp.c (TEST_NAME): Likewise.
6931         * string/test-strncpy.c (TEST_NAME): Likewise.
6932         * string/test-strnlen.c (TEST_NAME): Likewise.
6933         * string/test-strpbrk.c (TEST_NAME): Likewise.
6934         * string/test-strrchr.c (TEST_NAME): Likewise.
6935         * string/test-strspn.c (TEST_NAME): Likewise.
6936         * string/test-strstr.c (TEST_NAME): Likewise.
6937         * string/test-bcopy-ifunc.c: New file.
6938         * string/test-bzero-ifunc.c: Likewise.
6939         * string/test-memccpy-ifunc.c: Likewise.
6940         * string/test-memchr-ifunc.c: Likewise.
6941         * string/test-memcmp-ifunc.c: Likewise.
6942         * string/test-memcpy-ifunc.c: Likewise.
6943         * string/test-memmem-ifunc.c: Likewise.
6944         * string/test-memmove-ifunc.c: Likewise.
6945         * string/test-mempcpy-ifunc.c: Likewise.
6946         * string/test-memset-ifunc.c: Likewise.
6947         * string/test-rawmemchr-ifunc.c: Likewise.
6948         * string/test-stpcpy-ifunc.c: Likewise.
6949         * string/test-stpncpy-ifunc.c: Likewise.
6950         * string/test-strcasecmp-ifunc.c: Likewise.
6951         * string/test-strcasestr-ifunc.c: Likewise.
6952         * string/test-strcat-ifunc.c: Likewise.
6953         * string/test-strchr-ifunc.c: Likewise.
6954         * string/test-strchrnul-ifunc.c: Likewise.
6955         * string/test-strcmp-ifunc.c: Likewise.
6956         * string/test-strcpy-ifunc.c: Likewise.
6957         * string/test-strcspn-ifunc.c: Likewise.
6958         * string/test-strlen-ifunc.c: Likewise.
6959         * string/test-strncasecmp-ifunc.c: Likewise.
6960         * string/test-strncat-ifunc.c: Likewise.
6961         * string/test-strncmp-ifunc.c: Likewise.
6962         * string/test-strncpy-ifunc.c: Likewise.
6963         * string/test-strnlen-ifunc.c: Likewise.
6964         * string/test-strpbrk-ifunc.c: Likewise.
6965         * string/test-strrchr-ifunc.c: Likewise.
6966         * string/test-strspn-ifunc.c: Likewise.
6967         * string/test-strstr-ifunc.c: Likewise.
6969         * debug/Makefile (tests-ifunc): New variable.
6970         (tests): Add $(tests-ifunc).
6971         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6972         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6973         * debug/test-stpcpy_chk-ifunc.c: New file.
6974         * debug/test-strcpy_chk-ifunc.c: Likewise.
6976 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6978         [BZ #13601]
6979         * elf/dl-load.c (open_verify): Retry read if the entire ELF
6980         header is not read in.
6982 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
6984         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
6985         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
6986         directly.  Pass built executable to script as
6987         $(built-program-cmd).
6988         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
6989         $testprogram without using LD_LIBRARY_PATH and $ldso.
6991         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6992         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6993         $(rtld-installed-name).
6994         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6995         (rtld_installed_name): Likewise.
6996         (library_path): Likewise.
6997         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
6998         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6999         $(run-program-prefix) to tst-tables.sh.
7000         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7001         it to run tst-table-from and tst-table-to.
7002         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7003         Pass it to tst-table.sh.
7004         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7005         $(run-program-prefix) to tst-gettext.sh.
7006         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7007         tst-translit.sh.
7008         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7009         tst-gettext2.sh.
7010         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7011         to run tst-gettext.
7012         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7013         to run tst-gettext2.
7014         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7015         to run tst-translit.
7016         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7017         $(run-program-prefix) to tst-mtrace.sh.
7018         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7019         to run tst-mtrace.
7020         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7021         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7022         $(rtld-installed-name).
7023         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7024         (rtld_installed_name): Likewise.
7025         (run_program_prefix): New variable.  Use it to run wordexp-test.
7027         * Makeconfig (ARCH): Remove all definitions.
7028         (machine): Likewise.
7029         [ARCH]: Remove conditional code.
7030         [!objdir]: Give error.
7031         [!objdir] (objpfx): Remove.
7032         [!objdir] (common-objpfx): Likewise.
7033         [!objdir] (common-objdir): Likewise.
7034         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7035         AC_CONFIG_FILES call.
7036         * configure: Regenerated.
7038         [BZ #13888]
7039         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7040         or TMPDIR.
7041         (testout): Likewise.
7043         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7044         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7045         $(rtld-installed-name).
7046         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7047         (rtld_installed_name): Likwise.
7048         (runit): Remove function.
7049         (run_getconf): New variable,  Use it for running getconf binary.
7051 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7053         [BZ #14716]
7054         * string/test-memmem.c (check_result): New function.
7055         (do_one_test): Use it.
7056         (check1): New function.
7057         (test_main): Use it.
7059 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7061         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7063 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7065         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7066         (_G_LSEEK64): Likewise.
7067         (_G_MMAP64): Likewise.
7068         (_G_FSTAT64): Likewise.
7069         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7070         (_G_LSEEK64): Likewise.
7071         (_G_MMAP64): Likewise.
7072         (_G_FSTAT64): Likewise.
7073         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7074         unconditional.  Call __mmap64 directly.
7075         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7076         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7077         __lseek64 directly.
7078         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7079         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7080         __mmap64 directly.
7081         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7082         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7083         __lseek64 directly.
7084         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7085         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7086         __lseek64 directly.
7087         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7088         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7089         __lseek64 directly.
7090         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7091         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7092         __fxstat64 directly.
7093         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7094         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7095         unconditional.
7096         (freopen64) [!_G_OPEN64]: Remove conditional code.
7097         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7098         unconditional.
7099         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7100         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7101         unconditional.
7102         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7103         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7104         unconditional.
7105         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7106         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7107         unconditional.
7108         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7109         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7110         unconditional.
7111         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7112         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7113         unconditional.
7114         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7115         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7116         unconditional.
7117         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7119 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7121         [BZ #12140]
7122         * manual/memory.texi (Malloc Tunable Parameters): Add note
7123         about free list pointers overwriting some perturb bytes.
7124         Wording suggested by Roland McGrath.
7126 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7128         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7129         (lgamma_test): Likewise.
7130         (tgamma_test): Likewise.
7132 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7134         [BZ #14700]
7135         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7136         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7138 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7140         * NEWS: Mention BZ #14716.
7141         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7142         when removing AVAILABLE1_USES_J macro.
7144 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7146         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7147         (__bswap_64): __uint64_t for unsigned 64-bit int.
7149 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7151         * include/string.h (memmem): Declare libc hidden alias.
7152         * string/memmem.c (memmem): Define libc hidden alias.
7153         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7154         __read, __close instead of open, read, close.
7156 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7158         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7159         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7160         global and hidden.
7161         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7162         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7163         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7164         Likewise.
7165         (__rawmemchr_sse2): Likewise.
7166         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7167         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7168         (__strchr_sse2): Likewise.
7169         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7170         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7171         (__strcasecmp_sse2): Likewise.
7172         (__strncasecmp_sse2): Likewise.
7173         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7174         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7175         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7176         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7177         (__strrchr_sse2): Likewise.
7178         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7179         ifunc-impl-list.c.
7180         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7181         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7182         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7183         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7184         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7185         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7186         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7187         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7188         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7189         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7190         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7191         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7192         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7193         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7194         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7195         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7196         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7197         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7198         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7199         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7200         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7201         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7202         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7203         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7204         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7205         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7206         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7207         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7208         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7209         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7211         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7212         global and hidden.
7213         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7214         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7215         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7216         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7217         Likewise.
7218         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7219         Likewise.
7220         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7221         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7222         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7223         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7224         ifunc-impl-list.c.
7225         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7226         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7227         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7228         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7229         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7230         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7231         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7232         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7233         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7234         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7235         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7236         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7237         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7238         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7239         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7240         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7241         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7242         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7243         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7244         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7245         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7246         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7247         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7248         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7249         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7250         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7251         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7252         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7253         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7254         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7255         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7256         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7257         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7258         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7259         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7260         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7261         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7262         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7263         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7264         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7265         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7267         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7268         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7269         * include/ifunc-impl-list.h: New file.
7270         * misc/ifunc-impl-list.c: Likewise.
7271         * misc/Makefile (routines): Add ifunc-impl-list.
7272         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7273         * string/test-string.h: Include <ifunc-impl-list.h>.
7274         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7275         impl_array): New variables.
7276         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7277         are defined.
7278         (test_init): Call __libc_ifunc_impl_list to initialize
7279         func_list if TEST_IFUNC and TEST_NAME are defined.
7281         * string/Makefile (strop-tests): Add bcopy and bzero.
7282         * string/test-bcopy.c: New file.
7283         * string/test-bzero.c: Likewise.
7284         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7285         defined.
7286         * string/test-memset.c: Support bzero test if TEST_BZERO is
7287         defined.
7288         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7289         __libc_memmove.
7290         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7291         __libc_memset.
7292         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7293         of memset.
7295 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7297         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7298         * configure: Regenerated.
7300         * Makeconfig (+link-static-before-libc): Don't include
7301         $(link-static-libc).
7303         * libio/libio.h (_IO_pos_t): Remove.
7305 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7307         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7308         McGrath.
7310 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7312         * crypt/crypt-entry.c: Include fips-private.h.
7313         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7314         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7315         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7316         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7318 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7320         * crypt/crypt-private.h: Include stdbool.h.
7321         (_ufc_setup_salt_r): Return bool.
7322         * crypt/crypt-entry.c: Include errno.h.
7323         (__crypt_r): Return NULL with EINVAL for bad salt.
7324         * crypt/crypt_util.c (bad_for_salt): New.
7325         (_ufc_setup_salt_r): Check that salt is long enough and within
7326         the specified alphabet.
7327         * crypt/badsalttest.c: New file.
7328         * crypt/Makefile (tests): Add it.
7329         ($(objpfx)badsalttest): New.
7331 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7333         * NEWS: Add entry for BZ #14602.
7335 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7337         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7338         type-generic.
7339         * math/libm-test.inc: Update comment listing what functions and
7340         macros are tested.
7341         (isgreater_test): New function.
7342         (isgreaterequal_test): Likewise.
7343         (isless_test): Likewise.
7344         (islessequal_test): Likewise.
7345         (islessgreater_test): Likewise.
7346         (isunordered_test): Likewise.
7347         (main): Call the new functions.
7349 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7351         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7352         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7353         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7354         * sysdeps/i386/configure: Regenerated.
7355         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7356         * sysdeps/mach/configure: Regenerated.
7357         * sysdeps/mach/hurd/configure: Regenerated.
7358         * sysdeps/powerpc/configure: Regenerated.
7359         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7360         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7361         * sysdeps/s390/s390-32/configure: Regenerated.
7362         * sysdeps/s390/s390-64/configure: Regenerated.
7363         * sysdeps/sh/configure: Regenerated.
7364         * sysdeps/sparc/configure: Regenerated.
7365         * sysdeps/unix/sysv/linux/configure: Regenerated.
7366         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7367         * sysdeps/x86_64/configure: Regenerated.
7369         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7370         defined.  Don't check if MAP is NULL.
7372 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7374         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7375         (_G_stat64): Likewise.
7376         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7377         (_G_stat64): Likewise.
7378         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7379         instead of struct _G_stat64.
7380         * libio/fileops.c (mmap_remap_check): Likewise.
7381         (decide_maybe_mmap): Likewise.
7382         (_IO_new_file_seekoff): Likewise.
7383         (_IO_file_stat): Likewise.
7384         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7385         _G_off64_t.
7386         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7387         instead of struct _G_stat64.
7388         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7390 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7392         [BZ #14602]
7393         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7394         Replace with ...
7395         (CHECK_EOL): New macro.
7396         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7397         CHECK_EOL.
7398         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7399         Replace with CHECK_EOL.
7400         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7401         Replace with CHECK_EOL.
7403 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7405         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7406         type-generic.
7407         * math/libm-test.inc: Update comment listing what functions and
7408         macros are tested.
7409         (finite_test): New function.
7410         (isinf_test): Likewise.
7411         (isnan_test): Likewise.
7412         (fpclassify_test): Test subnormal input.
7413         (isfinite_test): Likewise.
7414         (isnormal_test): Likewise.
7415         (main): Call the new functions.
7417 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7419         [BZ #14660]
7420         * Makerules (%.dynsym): Force C locale when running
7421         $(OBJDUMP) --dynamic-syms.
7423 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7425         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7426         <stdint.h>.
7428 2012-10-06  David S. Miller  <davem@davemloft.net>
7430         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7431         upper 32-bits of the length value in %o2 since we use branch-on-register
7432         tests which consider the entire 64-bit register.
7434 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7436         * string/test-strstr.c (check2): Add a test for page boundary.
7438 2012-10-05  David S. Miller  <davem@davemloft.net>
7440         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7441         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7442         file.
7443         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7444         sysdep_routines.
7445         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7446         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7447         and bzero when HWCAP_SPARC_CRYPTO is present.
7449 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7451         [BZ #14602]
7452         * string/test-strstr.c (check2): New function.
7453         (test_main): Call check2.
7455         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7456         and bug-strchr1.
7457         * string/bug-strcasestr1.c (do_test): Moved to ...
7458         * string/test-strcasestr.c (check1): Here.  New function.
7459         (do_one_test): Break out result checking code into ...
7460         (check_result): This.  New function.
7461         (do_one_test): Call check_result.
7462         (test_main): Call check1.
7463         * string/bug-strchr1.c (do_test): Moved to ...
7464         * string/test-strchr.c (check1): Here.  New function.
7465         (do_one_test): Break out result checking code into ...
7466         (check_result): This.  New function.
7467         (do_one_test): Call check_result.
7468         (test_main): Call check1.
7469         * string/bug-strstr1.c (main): Moved to ...
7470         * string/test-strstr.c (check1): Here.  New function.
7471         (do_one_test): Break out result checking code into ...
7472         (check_result): This.  New function.
7473         (do_one_test): Call check_result.
7474         (test_main): Call check1.
7475         * string/bug-strcasestr1.c: Removed.
7476         * string/bug-strchr1.c: Likewise.
7477         * string/bug-strstr1.c: Likewise.
7479         * elf/Makefile (dl-routines): Add hwcaps.
7480         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7481         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7482         (_dl_important_hwcaps): Moved to ...
7483         * elf/dl-hwcaps.c: Here.  New file.
7484         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7486         [BZ #14557]
7487         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7488         if IS_IN_rtld isn't defined.
7490         * elf/dl-support.c (_dl_sysinfo_map): New.
7491         Include "get-dynamic-info.h" and "setup-vdso.h".
7492         (_dl_non_dynamic_init): Call setup_vdso.
7493         * elf/dynamic-link.h: Don't include <assert.h>.
7494         (elf_get_dynamic_info): Moved to ...
7495         * elf/get-dynamic-info.h: Here.  New file.
7496         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7497         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7498         * elf/setup-vdso.h: Here.  New file.
7499         * elf/rtld.c: Include "setup-vdso.h".
7500         (dl_main): Call setup_vdso.
7502 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7504         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7505         creal in comment listing functions tested.  List finite, isinf,
7506         isnan, isless, islessequal, isgreater, isgreaterequal,
7507         islessgreater, isunordered, lgamma_r and pow10 as functions and
7508         macros not tested.  Mention which functions not tested are aliases
7509         for other functions.  Fix typo.  Note that signs of NaNs are not
7510         tested.
7512         * scripts/config.guess: Update from config.git.
7513         * scripts/config.sub: Likewise.
7515 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7517         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7518         * misc/madvise.c (madvise): Renamed to __madvise.
7519         Make madvise a weak alias.
7520         * include/sys/mman.h: Declare __madvise.
7521         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7522         * sysdeps/unix/syscalls.list
7523         (madvise): Make __madvise the strong name, and madvise a weak alias.
7524         * sysdeps/unix/sysv/linux/syscalls.list
7525         (madvise, mmap): Remove redundant entries.
7526         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7527         * malloc/malloc.c (mtrim): Likewise.
7528         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7530 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7532         * sysdeps/mach/hurd/dl-cache.c: File removed.
7533         * config.h.in (USE_LDCONFIG): New #undef.
7534         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7535         * configure: Regenerated.
7536         * elf/Makefile (dl-routines): Add dl-cache only under
7537         [$(use-ldconfig) = yes].
7538         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7539         cache on [USE_LDCONFIG].
7540         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7541         [USE_LDCONFIG].
7542         * elf/rtld.c (dl_main): Likewise.
7544 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7546         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7547         _SC_LEVEL4_CACHE_LINESIZE.
7549 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7551         * sysdeps/unix/bsd/confstr.h: File removed.
7553 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7555         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7556         sys/sdt-config.h.
7558 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7560         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7561         Make 'mapoff' field ElfW(Off) rather than off_t.
7563 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7565         * nscd/Makefile: Remove nscd-cflags and all its users.
7566         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7567         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7569         [BZ #10631]
7570         * malloc.c (malloc_printerr): Clarify error message.
7572 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7574         [BZ #14648]
7575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7576         Set bit_FMA_Usable if FMA is supported.
7577         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7578         macro.
7579         (bit_FMA4_Usable): Updated.
7580         (index_FMA_Usable): New macro.
7581         (CPUID_FMA): Likewise
7582         (HAS_FMA): Defined with bit_FMA_Usable.
7584 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7586         * bits/types.h (__swblk_t): Type removed.
7587         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7588         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7589         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7590         (__SWBLK_T_TYPE): Likewise.
7591         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7592         (__SWBLK_T_TYPE): Likewise.
7593         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7594         (__SWBLK_T_TYPE): Likewise.
7595         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7596         (__SWBLK_T_TYPE): Likewise.
7598 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7599             Honza Horak <hhorak@redhat.com>
7601         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7602         (xdr_mapname): Use YPMAXMAP as maxsize.
7603         (xdr_peername): Use YPMAXPEER as maxsize.
7604         (xdr_keydat): Use YPAXRECORD as maxsize.
7605         (xdr_valdat): Use YPMAXRECORD as maxsize.
7607 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7609         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7611         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7612         * csu/init-first.c: ... here.
7613         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7614         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7615         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7616         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7617         * sysdeps/i386/init-first.c: File removed.
7618         * sysdeps/sh/init-first.c: File removed.
7620 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7622         [BZ #14645]
7623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7624         if x * y might underflow to zero and z is zero.
7625         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7626         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7627         * math/libm-test.inc (min_subnorm_value): New variable.
7628         (fma_test): Add more tests.
7629         (fma_test_towardzero): Likewise.
7630         (fma_test_downward): Likewise
7631         (fma_test_upward): Likewise.
7632         (initialize): Set min_subnorm_value.
7634 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7636         [BZ #14638]
7637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7638         0 + 0.
7639         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7640         mode for addition resulting in exact zero.
7641         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7642         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7643         exact 0 + 0.
7644         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7645         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7646         * math/libm-test.inc (fma_test): Add more tests.
7647         (fma_test_towardzero): New function.
7648         (fma_test_downward): Likewise.
7649         (fma_test_upward): Likewise.
7650         (main): Call the new functions.
7652 2012-09-28  David S. Miller  <davem@davemloft.net>
7654         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7656 2012-09-28  Roland McGrath  <roland@hack.frob.com>
7658         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7659         instead of SIGALRM.
7661         * sysdeps/gnu/_G_config.h: Moved to ...
7662         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7663         * sysdeps/mach/hurd/_G_config.h: Moved to ...
7664         * sysdeps/generic/_G_config.h: ... here.
7666         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
7668         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7670         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7671         Conditionalize target on [libnss_test1.so-version].
7673         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7675         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7676         (elfobjdir): Move out of conditionals.
7678         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7679         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7680         (__nss_lookup_function): Conditionalize label remove_from_tree on
7681         [!DO_STATIC_NSS || SHARED], matching its only use.
7683 2012-09-28  David S. Miller  <davem@davemloft.net>
7685         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7686         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7687         file.
7688         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7689         sysdep_routines.
7690         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7691         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7692         when HWCAP_SPARC_CRYPTO is present.
7694 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7696         * io/tst-mknodat.c: Create a FIFO instead of a socket.
7698 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
7700         [BZ #6530]
7701         * stdio-common/vfprintf.c (process_string_arg): Revert
7702         2000-07-22 change.
7704 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
7706         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7707         for testcase.
7708         * stdio-common/tst-sprintf.c: Include <locale.h>
7709         (main): Test sprintf's handling of incomplete multibyte
7710         characters.
7712 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7714         * elf/dl-runtime.c (VERSYMIDX): Removed.
7715         * elf/dl-version.c (VERSYMIDX): Likewise.
7716         * elf/do-rel.h (VERSYMIDX): Likewise.
7717         (VALIDX): Likewise.
7718         * elf/dynamic-link.h (VERSYMIDX): Likewise.
7719         * elf/rtld.c (VALIDX): Likewise.
7720         (ADDRIDX): Likewise.
7721         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7722         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7723         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7724         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7725         (VALIDX): Likewise.
7726         (ADDRIDX): Likewise.
7728 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7730         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7732 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
7734         [BZ #11438]
7735         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7736         to global scope.
7737         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7738         addresses are in the same scope as 192.0.2/24.
7739         * posix/gai.conf: Document new scope table defaults.
7741 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7743         [BZ #5298]
7744         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7745         for ftell.  Compute offsets from write pointers instead.
7746         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7748 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7750         [BZ #14543]
7751         * libio/Makefile (tests): New test case tst-fseek.
7752         * libio/tst-fseek.c: New test case to verify that fseek/ftell
7753         combination works in wide mode.
7754         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7755         state when the external buffer state changes.
7757 2012-09-27  David S. Miller  <davem@davemloft.net>
7759         [BZ #14376]
7760         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7761         pass reloc->r_addend in as the 'high' argument to
7762         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7766 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7768         * rt/tst-aio2.c: Include <pthread.h>.
7769         * rt/tst-aio3.c: Likewise.
7771 2012-09-27  Steve Ellcey  <sellcey@mips.com>
7773         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7775 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7777         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7778         contents on [SHARED].
7780 2012-09-26  Marek Polacek  <polacek@redhat.com>
7782         [BZ #14530]
7783         [BZ #13741]
7784         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7785         for C++ and GCC <4.3 as well as for non GCC compilers.
7787 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7791 2012-09-25  Roland McGrath  <roland@hack.frob.com>
7793         * Makefile.in (all, install): Declare with .PHONY.
7794         Reported by Michael Hope <michael.hope@linaro.org>.
7796 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7798         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7799         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7800         system header.
7801         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7802         Likewise.
7803         (sydep_routines): Add the new and the internal functions.
7804         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7805         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7807         (GLIBC_2.17): Add the new function.
7808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7809         (GLIBC_2.17): Likewise.
7810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7811         (GLIBC_2.17): Likewise.
7812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7813         (GLIBC_2.17): Likewise.
7814         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7816 2012-09-25  Alan Modra  <amodra@gmail.com>
7818         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7819         Add release barrier before setting once_control to say
7820         initialisation is done.  Add hints on lwarx.  Use macro in
7821         place of isync.
7822         (clear_once_control): Add release barrier.
7824 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7826         [BZ #13629]
7827         * math/s_clog.c (__clog): Handle more values close to |z| = 1
7828         specially.
7829         * math/s_clog10.c (__clog10): Likewise.
7830         * math/s_clog10f.c (__clog10f): Likewise.
7831         * math/s_clog10l.c (__clog10l): Likewise.
7832         * math/s_clogf.c (__clogf): Likewise.
7833         * math/s_clogl.c (__clogl): Likewise.
7834         * math/Makefile (libm-calls): Add x2y2m1.
7835         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7836         (__x2y2m1): Likewise.
7837         (__x2y2m1l): Likewise.
7838         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7839         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7840         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7841         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7842         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7843         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7844         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7845         * sysdeps/i386/fpu/libm-test-ulps: Update.
7846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7848         [BZ #14621]
7849         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7850         int as type of variable DEPTH.
7851         (glob): Use size_t instead of int as type of variables NEWCOUNT
7852         and OLD_PATHC.
7854 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7856         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7857         Add s_sincosf-sse2.
7858         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7859         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7860         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7861         macros for using routine as __sincosf_ia32.
7862         Use macro for function declaration and weak_alias.
7863         * sysdeps/i386/fpu/libm-test-ulps: Update.
7865         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7868         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7869         subnormal argument.
7870         * math/s_cexpf.c (__cexpf): Likewise.
7871         * math/s_csinf.c (__csinf): Likewise.
7872         * math/s_csinhf.c (__csinhf): Likewise.
7873         * math/s_ctanf.c (__ctanf): Likewise.
7874         * math/s_ctanhf.c (__ctanhf): Likewise.
7875         * math/s_ccosh.c (__ccoshf): Likewise.
7876         * math/s_cexp.c (__cexpl): Likewise.
7877         * math/s_csin.c (__csin): Likewise.
7878         * math/s_csinh.c (__csinh): Likewise.
7879         * math/s_ctan.c (__ctan): Likewise.
7880         * math/s_ctanh.c (ctanh): Likewise.
7881         * math/s_ccoshl.c (__ccoshl): Likewise.
7882         * math/s_cexpl.c (__cexpl): Likewise.
7883         * math/s_csinl.c (__csinl): Likewise.
7884         * math/s_csinhl.c (__csinhl): Likewise.
7885         * math/s_ctanl.c (__ctanl): Likewise.
7886         * math/s_ctanhl.c (__ctanhl): Likewise.
7888 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7890         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7891         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7892         (_IO_off_t): Define to __off_t, not _G_off_t.
7893         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7894         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7895         (_IO_wint_t): Define to wint_t, not _G_wint_t.
7896         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7897         type of __dummy and __dummy2 fields.
7898         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7899         (_G_ssize_t): Likewise.
7900         (_G_off_t): Likewise.
7901         (_G_pid_t): Likewise.
7902         (_G_uid_t): Likewise.
7903         (_G_wchar_t): Likewise.
7904         (_G_wint_t): Likewise.
7905         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7906         (_G_ssize_t): Likewise.
7907         (_G_off_t): Likewise.
7908         (_G_pid_t): Likewise.
7909         (_G_uid_t): Likewise.
7910         (_G_wchar_t): Likewise.
7911         (_G_wint_t): Likewise.
7912         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7913         (_G_ssize_t): Likewise.
7914         (_G_off_t): Likewise.
7915         (_G_pid_t): Likewise.
7916         (_G_uid_t): Likewise.
7917         (_G_wchar_t): Likewise.
7918         (_G_wint_t): Likewise.
7920 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7922         * malloc/arena.c: Include malloc-sysdep.h.
7923         (shrink_heap): Use check_may_shrink_heap to decide if madvise
7924         is sufficient to shrink the heap or an unmap is needed.
7925         * sysdeps/generic/malloc-sysdep.h: New file.  Define
7926         new function check_may_shrink_heap.
7927         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
7928         new function check_may_shrink_heap.
7930 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7932         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7933         comments.
7935 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
7937         * catgets/test-gencat.sh: Add "set -e".
7938         * elf/tst-pathopt.sh: Likewise.
7939         * grp/tst_fgetgrent.sh: Likewise.
7940         * iconvdata/run-iconv-test.sh: Likewise.
7941         * intl/tst-gettext.sh: Likewise.
7942         * intl/tst-gettext2.sh: Likewise.
7943         * intl/tst-gettext4.sh: Likewise.
7944         * intl/tst-gettext6.sh: Likewise.
7945         * intl/tst-translit.sh: Likewise.
7946         * io/ftwtest-sh: Likewise.
7947         * libio/test-freopen.sh: Likewise.
7948         * malloc/tst-mtrace.sh: Likewise.
7949         * posix/globtest.sh: Likewise.
7950         * posix/tst-getconf.sh: Likewise.
7951         * posix/wordexp-tst.sh: Likewise.
7952         * stdio-common/tst-printf.sh: Likewise.
7953         * stdio-common/tst-unbputc.sh: Likewise.
7954         * stdlib/tst-fmtmsg.sh: Likewise.
7955         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7956         * catgets/Makefile: Do not specify -e option when running
7957         testsuite shell scripts.
7958         * elf/Makefile: Likewise.
7959         * grp/Makefile: Likewise.
7960         * iconvdata/Makefile: Likewise.
7961         * intl/Makefile: Likewise.
7962         * io/Makefile: Likewise.
7963         * libio/Makefile: Likewise.
7964         * malloc/Makefile: Likewise.
7965         * posix/Makefile: Likewise.
7966         * stdio-common/Makefile: Likewise.
7967         * stdlib/Makefile: Likewise.
7968         * sysdeps/x86_64/Makefile: Likewise.
7970         * io/ftwtest-sh: Add copyright header.
7971         * posix/globtest.sh: Likewise.
7972         * posix/tst-getconf.sh: Likewise.
7973         * posix/wordexp-tst.sh: Likewise.
7974         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7976 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
7978         [BZ #13679]
7979         * Makeconfig (+link): Defined as $(+link-static) if
7980         $(build-shared) isn't yes.
7981         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7982         isn't yes.
7983         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7985         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7987         [BZ #14562]
7988         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7989         new chunk size with MALLOC_ALIGN_MASK.
7991 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
7993         [BZ #5044]
7994         * stdio-common/printf_fphex.c: Include <stdbool.h> and
7995         <rounding-mode.h>.
7996         (__printf_fphex): Determine rounding using get_rounding_mode and
7997         round_away.
7998         * stdio-common/tst-printf-round.c (struct hex_test): New
7999         structure.
8000         (hex_tests): New variable.
8001         (test_hex_in_one_mode): New function.
8002         (do_test): Also run tests for hex float output.
8004 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8006         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8007         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8008         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8009         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8010         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8011         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8012         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8013         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8015 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8017         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8018         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8019         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8020         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8022 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8024         [BZ #14579]
8025         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8026         mode only.
8027         * elf/tst-rtld-load-self.sh: New test.
8028         * elf/Makefile: Run it.
8030 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8032         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8033         (tst-writev-ENV): Remove.
8034         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8036 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8038         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8040 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8042         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8043         unconditional.
8044         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8045         Likewise.
8046         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8047         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8048         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8049         Likewise.
8051 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8053         [BZ #14587]
8054         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8055         * config.make.in (have-cpp-asm-debuginfo): Removed.
8056         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8057         * configure: Regenerated.
8059 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8061         [BZ #5044]
8062         * stdio-common/printf_fp.c: Include <stdbool.h> and
8063         <rounding-mode.h>.
8064         (___printf_fp): Determine rounding using get_rounding_mode and
8065         round_away.
8066         * stdio-common/tst-printf-round.c: New file.
8067         * stdio-common/Makefile (tests): Add tst-printf-round.
8068         (link-libm): New variable.
8069         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8071 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8073         [BZ #14576]
8074         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8075         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8076         Likewise.
8077         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8078         Likewise.
8080 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8082         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8083         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8084         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8085         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8087 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8089         [BZ #14518]
8090         * include/rounding-mode.h: New file.
8091         * sysdeps/generic/get-rounding-mode.h: Likewise.
8092         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8093         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8094         (MAX_VALUE): New macro.
8095         (MIN_VALUE): Likewise.
8096         (overflow_value): New function.
8097         (underflow_value): Likewise.
8098         (round_and_return): Use overflow_value and underflow_value to
8099         determine return values in overflow and underflow cases.  Use
8100         round_away to determine rounding depending on rounding mode.
8101         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8102         determine return values in overflow and underflow cases.
8103         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8104         (struct test_results): New structure.
8105         (struct test): Use struct test_results to store expected results
8106         for all rounding modes.
8107         (TEST): Include expected results for all rounding modes.
8108         (test_in_one_mode): New function.
8109         (do_test): Use test_in_one_mode to compute and check results.
8110         Check results for all rounding modes.
8111         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8112         $(link-libm).
8114 2012-12-09  Allan McRae  <allan@archlinux.org>
8116         * sysdeps/i386/fpu/libm-test-ulps: Update
8118 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8120         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8121         (_G_int32_t): Likewise.
8122         (_G_uint16_t): Likewise.
8123         (_G_uint32_t): Likewise.
8124         (_G_HAVE_BOOL): Likewise.
8125         (_G_HAVE_ATEXIT): Likewise.
8126         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8127         (_G_HAVE_IO_FILE_OPEN): Likewise.
8128         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8129         (_G_int32_t): Likewise.
8130         (_G_uint16_t): Likewise.
8131         (_G_uint32_t): Likewise.
8132         (_G_HAVE_BOOL): Likewise.
8133         (_G_HAVE_ATEXIT): Likewise.
8134         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8135         (_G_HAVE_IO_FILE_OPEN): Likewise.
8136         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8137         (_G_int32_t): Likewise.
8138         (_G_uint16_t): Likewise.
8139         (_G_uint32_t): Likewise.
8140         (_G_HAVE_BOOL): Likewise.
8141         (_G_HAVE_ATEXIT): Likewise.
8142         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8143         (_G_HAVE_IO_FILE_OPEN): Likewise.
8145 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8147         * csu/libc-tls.c: Update copyright years.
8149 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8151         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8152         [!_G_USING_THUNKS]: Remove conditional code.
8153         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8154         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8156         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8157         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8158         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8159         (_G_VTABLE_LABEL_PREFIX): Likewise.
8160         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8161         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8162         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8163         (_G_VTABLE_LABEL_PREFIX): Likewise.
8164         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8165         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8166         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8167         (_G_VTABLE_LABEL_PREFIX): Likewise.
8168         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8170 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8172         * libio/Makefile: Include ../Makeconfig before tests.
8173         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8174         only if $(build-shared) is yes.
8176         * iconv/gconv_db.c: Update copyright years.
8178 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8180         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8181         unwind info if defined PIC. Fix special cases description.
8182         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8184         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8185         DP_HI_MASK entry.
8186         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8188 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8190         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8192         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8193         is NULL.
8195         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8196         (LDLIBS-tst-chk4): This.
8197         (LDFLAGS-tst-chk5): Renamed to ...
8198         (LDLIBS-tst-chk5): This.
8199         (LDFLAGS-tst-chk6): Renamed to ...
8200         (LDLIBS-tst-chk6): This.
8201         (LDFLAGS-tst-lfschk4): Renamed to ...
8202         (LDLIBS-tst-lfschk4): This.
8203         (LDFLAGS-tst-lfschk5): Renamed to ...
8204         (LDLIBS-tst-lfschk5): This.
8205         (LDFLAGS-tst-lfschk6): Renamed to ...
8206         (LDLIBS-tst-lfschk6): This.
8208         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8209         on $(common-objpfx)soversions.mk.
8211 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8213         [BZ #10014]
8214         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8215         example host name.
8217 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8219         * malloc/arena.c (arena_get_retry): New function that gets
8220         another arena for the caller to try its request on.
8221         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8222         current arena cannot fulfill the request.
8223         (__libc_memalign): Likewise.
8224         (__libc_memalign): Likewise.
8225         (__libc_pvalloc): Likewise.
8226         (__libc_calloc): Likewise.
8228 2012-09-05  John Tobey  <john.tobey@gmail.com>
8230         [BZ #13542]
8231         * manual/arith.texi (Operations on Complex): Fix description
8232         of carg branch cut.
8234 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8236         [BZ #10014]
8237         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8238         host name.
8240         [BZ #10038]
8241         * manual/memory.texi (Memory): Make order of menu items match
8242         order of sections.
8244 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8246         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8247         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8248         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8250 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8252         * csu/libc-tls.c (static_dtv): Renamed to ...
8253         (_dl_static_dtv): This.  Make it global.
8254         (_dl_initial_dtv): Removed.
8255         (__libc_setup_tls): Updated.
8256         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8257         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8258         DL_INITIAL_DTV.
8260 2012-09-06  Petr Machata  <pmachata@redhat.com>
8262         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8263         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8264         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8265         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8267 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8269         [BZ #14545]
8270         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8271         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8272         freeing dtv[-1].
8274 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8276         [BZ #14544]
8277         * Makeconfig (link-static-before-libc): Replace $(+prector)
8278         with $(+prectorT).
8279         (link-static-after-libc): Replace $(+postctor) with
8280         $(+postctorT).
8281         (link-bounded): Replace $(+prector)/$(+postctor) with
8282         $(+prectorT)/$(+postctorT).
8283         (+prectorT): New macro.
8284         (+postctorT): Likewise.
8286 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8288         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8289         (round_str): Handle values above the maximum for IBM long double
8290         as inexact.
8291         * stdlib/tst-strtod-round.c (tests): Regenerated.
8293 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8295         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8296         assembler flag.
8297         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8298         zarch_nohighgprs around the zarch optimized routines.
8299         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8300         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8301         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8302         for zarch.
8304 2012-09-05  David S. Miller  <davem@davemloft.net>
8306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8308         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8309         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8310         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8311         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8312         entries.
8314 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8316         * malloc/arena.c: Fold copyright years.
8317         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8319 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8321         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8323 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8325         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8327 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8329         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8330         change internal state upon failure.
8332 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8334         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8335         * malloc/memusage.c (mmap): Likewise.
8336         (mmap64, mremap): Likewise.  Adjust name in comment.
8338 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8340         * libio/fileops.c: Fix typos in comments.
8341         * libio/oldfileops.c: Likewise.
8342         * libio/wfileops.c: Likewise.
8344 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8346         [BZ #1349]
8347         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8348         (tst-malloc-usable-ENV): Set environment for test case.
8349         * malloc/hooks.c (malloc_check_get_size): New function to get
8350         requested size.
8351         * malloc/malloc.c (musable): Use malloc_check_get_size.
8352         * malloc/tst-malloc-usable.c: New test case.
8354 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8356         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8358 2012-09-05  Allan McRae  <allan@archlinux.org>
8360         [BZ #13966]
8361         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8362         determine header location.
8363         * configure: Regenerated.
8365 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8367         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8368         float format.
8369         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8370         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8371         format.
8372         (test): Regenerate.
8374 2012-09-04  David S. Miller  <davem@davemloft.net>
8376         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8377         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8378         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8380 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8382         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8383         failures.
8385         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8387 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8389         [BZ #9914]
8390         * libio/iogetdelim.c: Include <limits.h>.
8391         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8392         + len + 1 would overflow.
8394 2012-09-03  Andreas Jaeger  <aj@suse.de>
8396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8397         * sysdeps/i386/fpu/libm-test-ulps: Update.
8399 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8401         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8402         Add s_sinf-sse2, s_conf-sse2.
8404         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8405         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8406         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8407         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8409         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8410         for using routine as __sinf_ia32.
8411         Use macro for function declaration and weak_alias.
8412         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8413         for using routine as __cosf_ia32.
8414         Use macro for function declaration and weak_alias.
8416         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8417         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8419         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8420         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8423         * math/libm-test.inc (cos_test): Add more test cases.
8424         (sin_test): Likewise.
8425         (sincos_test): Likewise.
8427 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8429         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8430         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8431         hidden.
8432         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8434 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8436         [BZ #14538]
8437         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8438         first element of the GOT.
8439         (elf_machine_load_address): Return the difference between
8440         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8442 2012-09-01  Allan McRae  <allan@archlinux.org>
8444         [BZ #13412]
8445         * configure.in (AWK): Require gawk version 3.0 or later.
8446         * configure: Regenerated.
8448 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8450         * sysdeps/unix/sysv/linux/kernel-features.h
8451         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8452         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8453         [__NR_clock_getres]: Make code unconditional.
8454         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8455         (clock_getcpuclockid): Remove code left unreachable by removal of
8456         conditionals.
8457         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8458         code unconditional.
8459         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8460         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8461         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8462         Make code unconditional.
8463         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8464         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8465         * sysdeps/unix/sysv/linux/clock_settime.c
8466         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8467         conditional code.
8468         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8469         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8471 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8473         [BZ #14476]
8474         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8475         scripts/test-installation.pl.
8477         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8478         and $ld_so_version if it is set.
8480 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8482         [BZ #14516]
8483         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8484         failure if reading from procfs failed.
8485         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8487 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8489         * sysdeps/unix/sysv/linux/kernel-features.h
8490         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8491         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8492         Remove conditional code.
8493         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8494         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8495         Remove conditional code.
8496         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8497         * sysdeps/unix/sysv/linux/i386/fxstat.c
8498         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8499         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8500         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8501         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8502         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8503         * sysdeps/unix/sysv/linux/i386/lxstat.c
8504         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8506         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8507         Remove conditional code.
8508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8509         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8510         Remove conditional code.
8511         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8512         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8513         <kernel-features.h>.
8514         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8515         Remove.
8516         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8517         Remove conditional code.
8518         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8519         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8520         Remove conditional.
8522 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8524         [BZ #5400]
8525         * NEWS: Add fixed bug number.
8527 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8529         [BZ #14519]
8530         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8531         underflowing exponent in case of negative sign.
8532         * stdlib/tst-strtod-round-data: Add more tests.
8533         * stdlib/tst-strtod-round.c (tests): Regenerated.
8535         [BZ #3479]
8536         * stdlib/strtod_l.c (NDIG): Remove.
8537         (HEXNDIG): Likewise.
8538         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8539         smallest representable value.
8540         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8541         lie within an exact representation of 1/2 ulp of the result.
8542         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8543         unconditionally.
8544         (TENS_P9_IDX): Define unconditionally.
8545         (TENS_P9_SIZE): Likewise.
8546         (TENS_P10_IDX): Likewise.
8547         (TENS_P10_SIZE): Likewise.
8548         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8549         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8550         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8551         entries for 10^2^13 and 10^2^14.
8552         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8553         (TENS_P13_IDX): Define.
8554         (TENS_P13_SIZE): Likewise.
8555         (TENS_P14_IDX): Likewise.
8556         (TENS_P14_SIZE): Likewise.
8557         (_fpioconst_pow10): Change array size to
8558         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8559         unconditional.
8560         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8561         1024]: Add entries for 10^2^13 and 10^2^14.
8562         [LAST_POW10 > _LAST_POW10]: Remove #error.
8563         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8564         (_fpioconst_pow10): Change array size to
8565         FPIOCONST_POW10_ARRAY_SIZE.
8566         * stdlib/gen-fpioconst.c: New file.
8567         * stdlib/gen-tst-strtod-round.c: Likewise.
8568         * stdlib/tst-strtod-round-data: Likewise.
8569         * stdlib/tst-strtod-round.c: Likewise.
8570         * stdlib/Makefile (tests): Add tst-strtod-round.
8572         [BZ #14459]
8573         * stdlib/strtod_l.c: Include <stdint.h>.
8574         (NDEBUG): Do not define.
8575         (round_and_return): Change EXPONENT parameter to type intmax_t.
8576         Rearrange calculations to avoid internal overflow possibilities.
8577         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8578         Rearrange calculations to avoid internal overflow possibilities.
8579         Assert that number fits inside MPNSIZE limbs.
8580         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8581         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8582         calculations and add assertions to avoid internal overflow
8583         possibilities.  Add casts to avoid signed/unsigned operations.
8584         * stdlib/tst-strtod-overflow.c: New file.
8585         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8587 2012-08-25  Marek Polacek  <polacek@redhat.com>
8589         * time/time.h: Fix some typos in comments.
8591 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8593         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8594         * posix/tst-rfc3484-2.c: Likewise.
8595         * posix/tst-rfc3484-3.c: Likewise.
8597 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8599         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8600         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8602 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8604         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8605         #include of fxstatat64.c.
8607 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8609         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8610         * shadow/getspent_r.c: Likewise.
8611         * shadow/getspnam.c: Likewise.
8612         * shadow/getspnam_r.c: Likewise.
8613         * gshadow/getsgent.c: Likewise.
8614         * gshadow/getsgent_r.c: Likewise.
8615         * gshadow/getsgnam.c: Likewise.
8616         * gshadow/getsgnam_r.c: Likewise.
8617         * inet/getnetbyad.c: Likewise.
8618         * inet/getnetbyad_r.c: Likewise.
8619         * inet/getnetbynm.c: Likewise.
8620         * inet/getnetbynm_r.c: Likewise.
8621         * inet/getnetent.c: Likewise.
8622         * inet/getnetent_r.c: Likewise.
8623         * inet/getproto.c: Likewise.
8624         * inet/getproto_r.c: Likewise.
8625         * inet/getprtent.c: Likewise.
8626         * inet/getprtent_r.c: Likewise.
8627         * inet/getprtname.c: Likewise.
8628         * inet/getprtname_r.c: Likewise.
8629         * inet/getrpcbyname.c: Likewise.
8630         * inet/getrpcbyname_r.c: Likewise.
8631         * inet/getrpcbynumber.c: Likewise.
8632         * inet/getrpcbynumber_r.c: Likewise.
8633         * inet/getrpcent.c: Likewise.
8634         * inet/getrpcent_r.c: Likewise.
8635         * inet/getaliasent.c: Likewise.
8636         * inet/getaliasent_r.c: Likewise.
8637         * inet/getaliasname.c: Likewise.
8638         * inet/getaliasname_r.c: Likewise.
8639         * nscd/getgrgid_r.c: Likewise.
8640         * nscd/getgrnam_r.c: Likewise.
8641         * nscd/gethstbyad_r.c: Likewise.
8642         * nscd/gethstbynm3_r.c: Likewise.
8643         * nscd/getpwnam_r.c: Likewise.
8644         * nscd/getpwuid_r.c: Likewise.
8645         * nscd/getsrvbynm_r.c: Likewise.
8646         * nscd/getsrvbypt_r.c: Likewise.
8647         * nscd/gai.c: Likewise.
8649         * configure.in (build_nscd): New substituted variable, set
8650         by --disable-build-nscd and defaults to $use_nscd.
8651         * configure: Regenerated.
8652         * config.make.in (build-nscd): New substituted variable.
8653         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8654         Change conditional to require [$(build-nscd) = yes] as well.
8655         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8657         [BZ# 13696]
8658         * configure.in (use_nscd): New substituted variable, set by
8659         --disable-nscd.  If enabled, define USE_NSCD.
8660         * configure: Regenerated.
8661         * config.h.in: Add USE_NSCD.
8662         * config.make.in (use-nscd): New substituted variable.
8663         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8664         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8665         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8666         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8667         (CFLAGS-getgrnam_r.c): Likewise.
8668         (CFLAGS-initgroups.c): Likewise.
8669         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8670         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8671         Variables removed.
8672         * inet/getnetgrent_r.c
8673         (nscd_setnetgrent): New function, broken out of ...
8674         (setnetgrent): ... here.  Call it.
8675         (innetgr): Conditionalize nscd bits on [USE_NSCD].
8676         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8677         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8678         * nscd/Makefile (routines, aux): Move definitions after include of
8679         Makeconfig.  Conditionalize on [$(use-nscd) != no].
8680         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8681         Conditionalize on [USE_NSCD].
8682         (is_nscd, nscd_init_cb): Likewise.
8683         (nss_load_library): Conditionalize init callback on [USE_NSCD].
8684         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8685         * nss/nss_db/db-init.c: Likewise.
8686         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8687         [USE_NSCD].
8688         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8689         (make_request): Use it.
8690         (cache_valid_p): New function.
8691         (__check_pf): Use it.
8692         * NEWS: Add item for --disable-nscd.
8694 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
8696         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8697         to support sed >= 4.2.1-20-ga9bf076.
8698         * configure: Regenerated.
8700 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8702         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8703         Conditionalize whole body on [IREL].
8705 2012-08-22  Jeff Law <law@redhat.com>
8707         [BZ #14505]
8708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8709         if the family is PF_UNSPEC.
8711 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
8713         * Makerules (lib-version): Rename from V.
8714         (install-lib-nosubdir): Change V to lib-version.
8716 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
8718         [BZ #14252]
8719         * powerpc32/power6/wcschr.c: New file.
8720         * powerpc32/power6/wcscpy.c: New file.
8721         * powerpc32/power6/wcsrchr.c: New file.
8722         * powerpc64/power6/wcschr.c: New file.
8723         * powerpc64/power6/wcscpy.c: New file.
8724         * powerpc64/power6/wcsrchr.c: New file.
8726 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8728         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8729         (two_way_short_needle): Use it.
8730         * string/strstr.c (AVAILABLE1_USES_J): Define.
8731         * string/strcasestr.c: Likewise.
8733         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8734         array references.
8735         * string/strcasestr.c (TOLOWER): Make side-effect safe.
8737         [BZ #11607]
8738         * NEWS: Add an entry.
8739         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8740         define their defaults.
8741         (two_way_short_needle): Detect end-of-string on-the-fly.
8742         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8743         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8744         * string/bug-strcasestr1.c: New test.
8745         * string/Makefile: Run it.
8747 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8749         [BZ #11607]
8750         * string/str-two-way.h (two_way_short_needle): Optimize matching of
8751         the first character.
8753 2012-08-21  Roland McGrath  <roland@hack.frob.com>
8755         * csu/elf-init.c (__libc_csu_irel): Function removed.
8756         * csu/libc-start.c (apply_irel): New function.
8757         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8759 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
8761         * sysdeps/unix/sysv/linux/kernel-features.h
8762         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8763         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8764         <kernel-features.h>.
8765         [__NR_fadvise64_64]: Make code unconditional.
8766         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8767         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8768         !__NR_fadvise64_64)]: Likewise.
8769         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8770         !__NR_fadvise64_64))]: Likewise.
8771         [__NR_fadvise64]: Make code unconditional.
8772         [!__NR_fadvise64]: Remove conditional code.
8773         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8774         <kernel-features.h>.
8775         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8776         unconditional.
8777         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8778         conditional code.
8779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8780         not include <kernel-features.h>.
8781         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8782         unconditional.
8783         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8784         conditional code.
8785         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8786         include <kernel-features.h>.
8787         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8788         unconditional.
8789         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8790         conditional code.
8792 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8794         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8795         slight instruction rearrangements per scrollpipe analysis.
8796         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8798 2012-08-20  Roland McGrath  <roland@hack.frob.com>
8800         * manual/syslog.texi (syslog; vsyslog, closelog):
8801         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8802         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8804         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8805         DSOCAPS to match condition on defining it.
8807 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
8809         * sysdeps/unix/sysv/linux/kernel-features.h
8810         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8812         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8813         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8815         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8816         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8818         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8819         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8821         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8822         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8824         * sysdeps/unix/sysv/linux/kernel-features.h
8825         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8826         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8827         unconditional.
8828         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8829         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8830         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8831         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8832         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8833         Make code unconditional.
8834         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8835         (__mmap64) [!__NR_mmap2]: Likewise.
8836         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8837         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8838         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8839         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8840         [__NR_mmap2]: Make code unconditional.
8841         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8842         (__mmap64) [!__NR_mmap2]: Likewise.
8844 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8846         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8848 2012-08-18  Andreas Jaeger  <aj@suse.de>
8850         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8852 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8854         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8855         * include/unistd.h (__have_sock_cloexec): Likewise.
8856         (__have_pipe2): Likewise.
8857         (__have_dup3): Likewise.
8859 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8861         [BZ #9685]
8862         * include/unistd.h (__have_pipe2): Change define into an extern int.
8863         (__have_dup3): Likewise.
8864         * socket/have_sock_cloexec.c: Include fcntl.h.
8865         (__have_pipe2): New variable.
8866         (__have_dup3): Likewise.
8868 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
8870         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8872 2012-08-17  Marek Polacek  <polacek@redhat.com>
8874         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8875         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8877 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8879         * configure.in: Add AC_SUBST for sysheaders.
8880         * configure: Regenerated.
8881         * config.make.in (sysheaders): New substituted variable.
8883         * sysdeps/unix/mkfifo.c: Moved ...
8884         * sysdeps/posix/mkfifo.c: ... here.
8885         * sysdeps/unix/mkfifoat.c: Moved ...
8886         * sysdeps/posix/mkfifoat.c: ... here.
8888         * sysdeps/unix/utime.c: Moved ...
8889         * sysdeps/posix/utime.c: ... here.
8891         * sysdeps/unix/time.c: Moved ...
8892         * sysdeps/posix/time.c: ... here.
8893         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8894         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8896         * sysdeps/unix/nice.c: Moved ...
8897         * sysdeps/posix/nice.c: ... here.
8899         * sysdeps/unix/alarm.c: Moved ...
8900         * sysdeps/posix/alarm.c: ... here.
8902         * intl/Makefile ($(codeset_mo)): Depend on the input file.
8904 2012-08-17  Jeff Law <law@redhat.com>
8906         * intl/Makefile (codeset_mo): New variable.
8907         ($(codeset_mo)): New target.
8908         (tst-codeset.out): Depend on that.  Remove explicit rule.
8909         (tst-gettext3.out, tst-gettext5.out): Likewise.
8910         (LOCPATH-ENV, tst-codeset-ENV): New variables.
8911         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8912         * intl/tst-codeset.sh: Remove.
8913         * intl/tst-gettext3.sh: Likewise.
8914         * intl/tst-gettext5.sh: Likewise.
8916 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8918         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
8919         * sysdeps/unix/syscalls.list: ... here.
8921         * sysdeps/posix/getaddrinfo.c
8922         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8923         (gaiconf_init, gaiconf_reload): Use them.
8924         [!_STATBUF_ST_NSEC]
8925         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8926         Define using time_t rather than struct timespec.
8928         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8929         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8930         Macros removed.
8931         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8932         [!NO_THREADS].
8933         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8934         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8935         Likewise.
8937         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8938         __libc_cleanup_push argument.
8940         * bits/param.h: New file.
8941         * misc/sys/param.h: New file.
8942         * include/sys/param.h: New file.
8943         * misc/Makefile (headers): Add bits/param.h.
8944         * sysdeps/generic/sys/param.h: File removed.
8945         * sysdeps/unix/sysv/linux/bits/param.h: New file.
8946         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8947         * sysdeps/mach/hurd/bits/param.h: New file.
8948         * sysdeps/mach/hurd/sys/param.h: File removed.
8950         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8951         last change.
8953         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8954         [_IO_MTSAFE_IO].
8955         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8956         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8957         New macros.
8959         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8960         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8961         rather than -D_IO_MTSAFE_IO conditionally.
8962         * stdio-common/Makefile (CPPFLAGS): Likewise.
8963         * wcsmbs/Makefile (CPPFLAGS): Likewise.
8964         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8965         Use $(libio-mtsafe).
8966         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8967         of -D_IO_MTSAFE_IO.
8968         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8969         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8970         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8971         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8972         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8973         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8974         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8975         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8976         (CFLAGS-fread_u_chk.c): Likewise.
8977         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8978         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8979         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8980         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8981         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8982         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8983         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8984         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8985         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8987         * libio/Makefile: Test [$(libc-reentrant) = yes]
8988         instead of [$(filter %REENTRANT, $(defines)) nonempty].
8990         * Makeconfig
8991         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8992         * sysdeps/pthread/configure: File removed.
8993         * sysdeps/pthread/Makeconfig: New file.
8994         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8995         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8997 2012-08-16  Gary Benson  <gbenson@redhat.com>
8999         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9000         unmapping the first object in a namespace.
9002 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9004         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9005         (__internal_setnetgrent): ... this.  Add internal_function to
9006         definition.  Add libc_hidden_def.
9007         (setnetgrent): Update caller.
9008         (internal_endnetgrent): Renamed to ...
9009         (__internal_endnetgrent): ... this.  Add internal_function to
9010         definition.  Add libc_hidden_def.
9011         (endnetgrent): Update caller.
9012         (internal_getnetgrent_r): Renamed to ...
9013         (__internal_getnetgrent_r): ... this.  Add internal_function to
9014         definition.  Add libc_hidden_def.
9015         (__getnetgrent_r): Update caller.
9016         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9018 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9020         * stdlib/longlong.h: Update from GCC.
9022 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9024         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9025         on _QL, which is set by umul_ppmm but never used.
9026         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9027         variables, which are set by GMP macros but never used.
9028         * stdio-common/_itowa.c (_itowa): Likewise.
9029         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9030         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9032 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9034         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9035         struct La_sh_regs is not constant.
9036         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9037         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9038         and struct La_sparc64_regs are not constant.
9040 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9042         * sysdeps/unix/sysv/linux/kernel-features.h
9043         (__ASSUME_POSIX_TIMERS): Remove.
9044         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9045         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9046         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9047         Make code unconditional.
9048         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9049         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9050         Make code unconditional.
9051         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9052         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9053         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9054         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9055         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9056         Make code unconditional.
9057         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9058         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9059         (__libc_missing_posix_timers): Remove.
9061 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9063         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9064         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9066         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9068         * elf/dl-sym.c: Include <stdlib.h>.
9070         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9071         constants, which avoids warnings in 32-bit builds.
9073         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9074         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9076         * misc/lseek.c: File moved to ...
9077         * io/lseek.c: ... here.
9079         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9081         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9082         shifting LEN more than 31 bits at once.
9084 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9086         [BZ #14195]
9087         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9088         segmentation fault for a case of two empty input strings.
9089         * string/test-strncasecmp.c (check1): Renamed to...
9090         (bz12205): ...this.
9091         (bz14195): Add new testcase for two empty input strings and N > 0.
9092         (test_main): Call new testcase, adapt for renamed function.
9094 2012-08-15  Andreas Jaeger  <aj@suse.de>
9096         [BZ #14090]
9097         * crypt/md5test2.c: New test, based on test supplied by Serge
9098         Belyshev <belyshev@depni.sinp.msu.ru>.
9099         * crypt/Makefile (xtests): Add md5test-giant..
9100         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9102 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9104         [BZ #14090]
9105         * crypt/md5.c (md5_process_block): Don't assume the buffer
9106         length is less than 2**32.
9107         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9108         length is less than 2**64.
9110 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9112         * string/str-two-way.h: Include <sys/param.h>.
9113         (MAX): Macro removed.
9115         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9116         Move #define and #undef of memmove to just before and after
9117         including <string.h>.
9119         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9120         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9121         and after including <string.h>.  Move declarations of
9122         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9123         to before #include "string/memmove.c".
9125         * include/dirent.h: Declare __getdirentries.
9127         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9128         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9130 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9132         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9133         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9134         * sysdeps/i386/configure: Regenerated.
9135         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9136         STABS_CURRENT_FILE, and STABS_FUN.
9137         (END): Remove call to STABS_FUN_END.
9138         (STABS_CURRENT_FILE1): Delete.
9139         (STABS_CURRENT_FILE): Likewise.
9140         (STABS_FUN): Likewise.
9141         (STABS_FUN_END): Likewise.
9142         (STABS_FUN2): Likewise.
9143         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9144         * sysdeps/x86_64/configure: Regenerated.
9146 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9148         * elf/dl-open.c: Include <atomic.h>.
9149         * elf/dl-lookup.c: Likewise.
9151 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9153         * sysdeps/unix/sysv/linux/kernel-features.h
9154         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9155         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9156         unconditionally.
9157         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9158         unconditionally.
9159         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9160         condition on __ASSUME_CLONE_THREAD_FLAGS.
9162 2012-08-14  Andreas Jaeger  <aj@suse.de>
9164         * sysdeps/i386/fpu/libm-test-ulps: Update.
9166 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9168         * include/atomic.h (atomic_exchange_and_add): Split into ...
9169         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9170         New atomic macros.
9172 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9176 2012-08-13  Jeff Law <law@redhat.com>
9178         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9179         null byte in the output string.
9181 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9183         * sysdeps/unix/sysv/linux/kernel-features.h
9184         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9185         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9186         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9187         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9188         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9189         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9190         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9192 2012-08-09  Jeff Law <law@redhat.com>
9194         [BZ #13939]
9195         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9196         When avoid_arena is set, don't retry in the that arena.  Pick the
9197         next one, whatever it might be.
9198         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9199         (arena_lock): Pass in new parameter to arena_get2.
9200         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9201         arena_get2.
9202         (__libc_malloc): Unify retrying after main arena failure with
9203         __libc_memalign version.
9204         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9206 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9208         [BZ #14166]
9209         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9210         to __redirect_strstr.
9211         (__strstr_sse42): Use typeof __redirect_strstr.
9212         (__strstr_ia32): Likewise.
9213         (__libc_strstr): New prototype.
9214         (strstr): Renamed to ...
9215         (__libc_strstr): This.
9216         (strstr): New strong alias of __libc_strstr.
9217         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9218         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9219         __redirect_time.
9220         Include <time.h>.
9221         (__libc_time): New prototype.
9222         (time_ifunc): Replace time with __libc_time.
9223         (time): New strong alias and hidden definition of __libc_time.
9224         (__GI_time): Remove strong alias.
9225         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9226         Include <stddef.h>.
9227         (memmove): Redefined to __redirect_memmove.
9228         (__memmove_sse2): Use typeof __redirect_memmove.
9229         (__memmove_ssse3): Likewise.
9230         (__memmove_ssse3_back): Likewise.
9231         (__libc_memmove): New prototype.
9232         (memmove): Renamed to ...
9233         (__libc_memmove): This.
9234         (memmove): New strong alias of __libc_memmove.
9236 2012-08-08  Mark Salter  <msalter@redhat.com>
9238         * elf/elf.h
9239         (R_MN10300_TLS_GD): Define.
9240         (R_MN10300_TLS_LD): Likewise.
9241         (R_MN10300_TLS_LDO): Likewise.
9242         (R_MN10300_TLS_GOTIE): Likewise.
9243         (R_MN10300_TLS_IE): Likewise.
9244         (R_MN10300_TLS_LE): Likewise.
9245         (R_MN10300_TLS_DTPMOD): Likewise.
9246         (R_MN10300_TLS_DTPOFF): Likewise.
9247         (R_MN10300_TLS_TPOFF): Likewise.
9248         (R_MN10300_SYM_DIFF): Likewise.
9249         (R_MN10300_ALIGN): Likewise.
9250         (R_MN10300_NUM): Update.
9252 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9254         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9255         Remove.
9257 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9259         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9261         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9262         sysdeps/unix -> sysdeps/posix move.
9263         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9265 2012-08-07      Allan McRae     <allan@archlinux.org>
9267         [BZ #14303]
9268         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9269         (SUNOS_CPP): Likewise.
9270         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9271         not found.
9272         (open_input): Call CPP using execvp.
9274 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9276         * sysdeps/unix/sysv/linux/kernel-features.h
9277         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9278         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9279         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9280         (__ASSUME_WAITID_SYSCALL): Likewise.
9281         * sysdeps/unix/sysv/linux/dl-execstack.c
9282         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9283         code unconditional.
9284         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9285         conditional code.
9286         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9287         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9288         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9289         code.
9290         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9291         unconditional.
9292         [__ASSUME_WAITID_SYSCALL]: Likewise.
9293         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9295 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9297         * sysdeps/unix/closedir.c: Renamed to ...
9298         * sysdeps/posix/closedir.c: ... here.
9299         * sysdeps/unix/dirfd.c: Renamed to ...
9300         * sysdeps/posix/dirfd.c: ... here.
9301         * sysdeps/unix/dirstream.h: Renamed to ...
9302         * sysdeps/posix/dirstream.h: ... here.
9303         * sysdeps/unix/fdopendir.c: Renamed to ...
9304         * sysdeps/posix/fdopendir.c: ... here.
9305         * sysdeps/unix/opendir.c: Renamed to ...
9306         * sysdeps/posix/opendir.c: ... here.
9307         * sysdeps/unix/readdir.c: Renamed to ...
9308         * sysdeps/posix/readdir.c: ... here.
9309         * sysdeps/unix/readdir_r.c: Renamed to ...
9310         * sysdeps/posix/readdir_r.c: ... here.
9311         * sysdeps/unix/rewinddir.c: Renamed to ...
9312         * sysdeps/posix/rewinddir.c: ... here.
9313         * sysdeps/unix/seekdir.c: Renamed to ...
9314         * sysdeps/posix/seekdir.c: ... here.
9315         * sysdeps/unix/telldir.c: Renamed to ...
9316         * sysdeps/posix/telldir.c: ... here.
9317         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9318         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9319         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9320         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9322         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9323         * bits/fcntl.h: ... here.
9325         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9326         not 0.
9327         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9328         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9329         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9330         (struct flock): Move l_start, l_len to the beginning.
9331         Use __pid_t for l_pid.
9332         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9333         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9334         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9335         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9336         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9337         [__USE_LARGEFILE64] (struct flock64): New type.
9338         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9340         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9341         * bits/dirent.h: ... here.
9343         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9344         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9346 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9348         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9349         Change from 2.6.0 to 2.6.16.
9350         * sysdeps/unix/sysv/linux/configure: Regenerated.
9351         * sysdeps/unix/sysv/linux/kernel-features.h
9352         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9353         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9354         version.
9355         (__ASSUME_UTIMES): Likewise.
9356         (__ASSUME_CLONE_STOPPED): Remove.
9357         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9358         architectures, not kernel version.
9359         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9360         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9361         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9362         (__ASSUME_WAITID_SYSCALL): Likewise.
9363         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9364         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9365         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9366         refer to older versions.
9368 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9370         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9371         Define alphasort64 as an alias.
9372         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9373         Define versionsort64 as an alias.
9374         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9375         Define scandir64 as an alias.
9376         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9377         Define scandirat64 as an alias.
9378         * dirent/alphasort64.c (alphasort64):
9379         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9380         * dirent/versionsort64.c: Likewise.
9381         * dirent/scandir64.c: Likewise.
9382         * dirent/scandirat64.c: Likewise.
9383         * sysdeps/wordsize-64/alphasort.c: File removed.
9384         * sysdeps/wordsize-64/alphasort64.c: File removed.
9385         * sysdeps/wordsize-64/scandir.c: File removed.
9386         * sysdeps/wordsize-64/scandir64.c: File removed.
9387         * sysdeps/wordsize-64/scandirat.c: File removed.
9388         * sysdeps/wordsize-64/scandirat64.c: File removed.
9389         * sysdeps/wordsize-64/versionsort.c: File removed.
9390         * sysdeps/wordsize-64/versionsort64.c: File removed.
9391         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9392         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9393         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9394         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9395         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9396         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9397         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9398         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9400         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9401         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9402         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9403         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9404         [defined __arch64__ || defined __sparcv9]
9405         (__INO_T_MATCHES_INO64_T): New macro.
9406         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9407         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9408         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9409         * sysdeps/unix/sysv/linux/bits/dirent.h
9410         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9411         (_DIRENT_MATCHES_DIRENT64): New macro.
9413         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9414         Define lockf64 as an alias.
9415         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9416         Define fseeko64 as an alias.
9417         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9418         Define ftello64 as an alias.
9419         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9420         Define _IO_fgetpos64 and fgetpos64 as aliases.
9421         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9422         Define _IO_fsetpos64 and fsetpos64 as aliases.
9423         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9424         Conditionalize body on this.
9425         * libio/fseeko64.c: Likewise.
9426         * libio/ftello64.c: Likewise.
9427         * libio/iofgetpos64.c: Likewise.
9428         * libio/iofsetpos64.c: Likewise.
9429         * sysdeps/wordsize-64/lockf.c: File removed.
9430         * sysdeps/wordsize-64/lockf64.c: File removed.
9431         * sysdeps/wordsize-64/fseeko.c: File removed.
9432         * sysdeps/wordsize-64/fseeko64.c: File removed.
9433         * sysdeps/wordsize-64/ftello.c: File removed.
9434         * sysdeps/wordsize-64/ftello64.c: File removed.
9435         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9436         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9437         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9438         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9439         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9440         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9441         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9442         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9443         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9444         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9445         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9446         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9447         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9448         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9450         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9451         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9452         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9453         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9454         [defined __arch64__ || defined __sparcv9]
9455         (__OFF_T_MATCHES_OFF64_T): New macro.
9456         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9457         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9458         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9459         (__OFF_T_MATCHES_OFF64_T): New macro.
9461 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9463         * stdlib/secure-getenv.c (__secure_getenv): Replace
9464         GLIBC_2_16 with GLIBC_2_17.
9466 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9468         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9469         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9471 2012-08-03  David S. Miller  <davem@davemloft.net>
9473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9475 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9477         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9478         Remove.
9479         (__ASSUME_CORRECT_SI_PID): Likewise.
9480         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9481         (__ASSUME_TMPFS_NAME): Likewise.
9482         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9483         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9484         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9485         (HAVE_AUX_SECURE): Make definition unconditional.
9486         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9487         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9489 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9491         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9492         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9493         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9494         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9495         __eloop_threshold instead of SYMLOOP_MAX.
9497         * sysdeps/generic/eloop-threshold.h: New file.
9498         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9499         of MAXSYMLINKS.
9500         * elf/chroot_canon.c (chroot_canon): Likewise.
9502 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9504         [BZ #13717]
9505         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9506         Change to 2.6.0 everywhere.
9507         * sysdeps/unix/sysv/linux/configure: Regenerated.
9508         * sysdeps/unix/sysv/linux/kernel-features.h
9509         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9510         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9511         kernel versions.
9512         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9513         (__ASSUME_FUTEX_REQUEUE): Remove.
9514         (__ASSUME_STATFS64): Define unconditionally.
9515         (__ASSUME_AT_SECURE): Likewise.
9516         (__ASSUME_CORRECT_SI_PID): Likewise.
9517         (__ASSUME_TGKILL): Define without depending on kernel version for
9518         i386.
9519         (__ASSUME_UTIMES): Likewise.
9520         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9521         kernel version.
9522         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9523         (__ASSUME_TMPFS_NAME): Likewise.
9524         * README: Update reference to Linux kernel versions.
9526 2012-08-02  Marek Polacek  <polacek@redhat.com>
9528         [BZ# 14150]
9529         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9530         libc_cv_asm_type_prefix with %.
9531         * configure: Regenerated.
9532         * include/libc-symbols.h: Remove comment about
9533         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9534         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9535         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9536         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9537         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9538         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9539         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9540         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9541         * elf/tst-unique2mod1.c: Likewise.
9542         * elf/tst-unique1mod2.c: Likewise.
9543         * elf/tst-unique1mod1.c: Likewise.
9544         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9545         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9546         Replace ASM_TYPE_DIRECTIVE with .type.
9547         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9548         * sysdeps/i386/sysdep.h: Likewise.
9549         * sysdeps/x86_64/sysdep.h: Likewise.
9550         * sysdeps/sh/sysdep.h: Likewise.
9551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9552         Do not define ASM_TYPE_DIRECTIVE.
9553         * sysdeps/powerpc/sysdep.h: Likewise.
9554         * sysdeps/powerpc/powerpc32/sysdep.h:
9555         Replace ASM_TYPE_DIRECTIVE with .type.
9556         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9557         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9558         * sysdeps/i386/fpu/e_powf.S: Likewise.
9559         * sysdeps/i386/fpu/e_expl.S: Likewise.
9560         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9561         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9562         * sysdeps/i386/fpu/e_pow.S: Likewise.
9563         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9564         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9565         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9566         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9567         * sysdeps/i386/fpu/e_log2.S: Likewise.
9568         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9569         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9570         * sysdeps/i386/fpu/e_powl.S: Likewise.
9571         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9572         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9573         * sysdeps/i386/fpu/e_logl.S: Likewise.
9574         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9575         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9576         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9577         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9578         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9579         * sysdeps/i386/fpu/e_log.S: Likewise.
9580         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9581         * sysdeps/i386/fpu/e_logf.S: Likewise.
9582         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9583         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9584         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9585         * sysdeps/i386/fpu/e_log10.S: Likewise.
9586         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9587         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9588         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9589         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9590         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9591         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9592         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9593         * sysdeps/i386/i686/strtok.S: Likewise.
9594         * sysdeps/i386/i386-mcount.S: Likewise.
9595         * sysdeps/i386/strtok.S: Likewise.
9596         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9597         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9598         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9599         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9600         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9601         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9602         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9603         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9604         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9605         * sysdeps/x86_64/_mcount.S: Likewise.
9606         * sysdeps/x86_64/strtok.S: Likewise.
9607         * sysdeps/sh/_mcount.S: Likewise.
9609 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9611         * libio/iofopen.c: Include <fcntl.h>.
9612         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9613         (_IO_fopen64, fopen64): Define as aliases.
9614         * libio/iofopen64.c: Include <fcntl.h>.
9615         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9616         Conditionalize body on this.
9617         * sysdeps/wordsize-64/iofopen.c: File removed.
9618         * sysdeps/wordsize-64/iofopen64.c: File removed.
9620 2012-08-01  Marek Polacek  <polacek@redhat.com>
9622         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9623         Use dlfcn directly instead of a variable.
9624         (binfmt-subdir): Do not define.
9625         (dlfcn): Likewise.
9627 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9629         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9630         Remove all definitions.
9631         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9632         <kernel-features.h>.
9633         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9634         (miss_F_GETOWN_EX): Remove all definitions.
9635         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9636         macro definition.
9637         [!__ASSUME_FCNTL64]: Remove conditional code.
9638         [__ASSUME_FCNTL64]: Make code unconditional.
9639         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9640         <kernel-features.h>.
9641         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9642         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9643         (lockf64) [__NR_fcntl64]: Make code unconditional.
9644         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9646         * sysdeps/unix/sysv/linux/kernel-features.h
9647         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9648         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9649         Make code unconditional.
9650         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9651         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9653         [__NR_vfork]: Make code unconditional.
9654         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9655         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9657         [__NR_vfork]: Make code unconditional.
9658         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9659         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9661 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9663         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9664         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9666         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9667         Define mkstemp64 as an alias.
9668         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9669         Define mkstemps64 as an alias.
9670         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9671         Define mkostemp64 as an alias.
9672         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9673         Define mkostemps64 as an alias.
9674         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9675         Conditionalize body on this.
9676         * misc/mkostemp64.c: Likewise.
9677         * misc/mkostemps64.c: Likewise.
9678         * misc/mkstemps64.c: Likewise.
9679         * sysdeps/wordsize-64/mkstemp64.c: File removed.
9680         * sysdeps/wordsize-64/mkostemp64.c: File removed.
9681         * sysdeps/wordsize-64/mkostemp.c: File removed.
9682         * sysdeps/wordsize-64/mkstemp.c: File removed.
9683         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9684         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9685         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9686         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9688         [BZ #14138]
9689         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9690         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9691         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9692         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9694         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9695         compat_symbol macros from <shlib-compat.h> rather than the underlying
9696         default_symbol_version and symbol_version macros, so that DEFAULT
9697         lines in shlib-versions are respected.
9698         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9700 2012-08-01  Florian Weimer  <fweimer@redhat.com>
9702         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9703         Declare with warn_unused_result.
9704         (setgid, setregid, setegid, setresgid): Likewise.
9705         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9706         Likewise.
9707         * WUR-REPORT: Remove set*id functions.
9709 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
9711         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9713 2012-07-31  Roland McGrath  <roland@hack.frob.com>
9715         * include/sys/socket.h (__libc_accept, __libc_accept4):
9716         Add attribute_hidden.
9717         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9719         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9720         use of PTR_MANGLE.
9721         * inet/getnetgrent_r.c (setup): Likewise.
9723         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9725 2012-07-31  David S. Miller  <davem@davemloft.net>
9727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9729 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
9731         [BZ #13629]
9732         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9733         value between 1.0 and 2.0 and smaller part has absolute value less
9734         than 1.0.
9735         * math/s_clog10.c (__clog10): Likewise.
9736         * math/s_clog10f.c (__clog10f): Likewise.
9737         * math/s_clog10l.c (__clog10l): Likewise.
9738         * math/s_clogf.c (__clogf): Likewise.
9739         * math/s_clogl.c (__clogl): Likewise.
9740         * math/libm-test.inc (clog_test): Add more tests.
9741         (clog10_test): Likewise.
9742         * sysdeps/i386/fpu/libm-test-ulps: Update.
9743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9745 2012-07-31  Florian Weimer  <fweimer@redhat.com>
9747         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9748         Exit with zero in case no suitable GID is found, and write a
9749         message to standard error.
9751 2012-07-30  Roland McGrath  <roland@hack.frob.com>
9753         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9754         rather than to 1.
9755         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9756         (MAXPATHLEN): Removed.
9757         (NOGROUP, NODEV): New macros.
9758         (setbit, clrbit, isset, isclr): New macros.
9759         (howmany, roundup, powerof2): New macros.
9760         (DEV_BSIZE): New macro.
9762         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9763         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9765         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9766         definition on [!__NO_LONG_DOUBLE_MATH].
9768         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9769         PTR_MANGLE and PTR_DEMANGLE.
9771         * socket/accept4.c (accept4): Rename to __libc_accept4.
9772         Define accept4 as a weak alias.
9774         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9775         on [_DIRENT_HAVE_D_TYPE].
9776         * io/ftw.c (ftw_dir): Likewise.
9778         * io/xmknod.c (__xmknod): Don't check PATH for being null.
9780         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9782         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9783         Use the BSD numbers rather than the arbitrary ones we had.
9784         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9785         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9786         (SIGXCPU, SIGXFSZ): New macros.
9787         (_NSIG): Now 32.
9789         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9790         initializer on [_LIBC_REENTRANT].
9792         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9793         definitions inside [_POSIX_MAPPED_FILES].
9795         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9797         * dirent/opendir.c: Include <fcntl.h>.
9799         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9800         (__libc_getspecific): Likewise.
9801         (__libc_key_create): Likewise.
9803         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9804         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9805         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9806         (tmpfile64): Define as alias.
9807         * sysdeps/wordsize-64/tmpfile.c: File removed.
9808         * sysdeps/wordsize-64/tmpfile64.c: File removed.
9809         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9810         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9812         * stdio-common/vfscanf.c: Include <stdbool.h>.
9813         * nss/makedb.c: Likewise.
9814         * stdio-common/_i18n_number.h: Likewise.
9815         * argp/argp-help.c: Likewise.
9816         * posix/wordexp.c: Likewise.
9817         * sysdeps/posix/spawni.c: Likewise.
9818         * nss/nss_files/files-initgroups.c: Likewise.
9819         * stdio-common/reg-modifier.c: Include <stdlib.h>.
9820         * nss/nss_files/files-initgroups.c: Likewise.
9821         * nss/nss_db/db-netgrp.c: Likewise.
9822         * nss/nss_db/db-initgroups.c: Likewise.
9823         * io/fchmodat.c: Include <sys/stat.h>.
9825         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9826         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9828         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9829         [HAVE_MMAP].
9831         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9832         Add multiple inclusion protection.
9834 2012-07-27  David S. Miller  <davem@davemloft.net>
9836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9838 2012-07-27  Gary Benson  <gbenson@redhat.com>
9840         [BZ #14298]
9841         * elf/rtld.c: Include <stap-probe.h>.
9842         (dl_main): Added static probes "init_start" and "init_complete".
9843         * elf/dl-load.c: Include <stap-probe.h>.
9844         (lose): Take new parameter "nsid".
9845         Added static probe "map_failed".
9846         (_dl_map_object_from_fd): Pass namespace id to lose.
9847         Added static probe "map_start".
9848         (open_verify): Pass namespace id to lose.
9849         * elf/dl-open.c: Include <stap-probe.h>.
9850         (dl_open_worker) Added static probes "map_complete", "reloc_start"
9851         and "reloc_complete".
9852         * elf/dl-close.c: Include <stap-probe.h>.
9853         (_dl_close_worker): Added static probes "unmap_start" and
9854         "unmap_complete".
9855         * elf/rtld-debugger-interface.txt: New file documenting the above.
9857 2012-07-26  Roland McGrath  <roland@hack.frob.com>
9859         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9860         rather than a string variable.
9861         * sunrpc/rpc_main.c (h_output): Likewise.
9862         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9864 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
9866         * inet/check_native.c: New file.
9868 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
9870         [BZ #13629]
9871         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9872         if larger part has absolute value 1.0.
9873         * math/s_clog10.c (__clog10): Likewise.
9874         * math/s_clog10f.c (__clog10f): Likewise.
9875         * math/s_clog10l.c (__clog10l): Likewise.
9876         * math/s_clogf.c (__clogf): Likewise.
9877         * math/s_clogl.c (__clogl): Likewise.
9878         * math/libm-test.inc (clog_test): Add more tests.
9879         (clog10_test): Likewise.
9880         * sysdeps/i386/fpu/libm-test-ulps: Update.
9881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9883         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9884         (pltexit): Likewise.
9885         (La_regs): Likewise.
9886         (La_retval): Likewise.
9887         (int_retval): Likewise.
9888         Update #error for removed macros to refer only to definitions in
9889         tst-audit.h.
9890         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9891         macro.
9892         (pltexit): Likewise.
9893         (La_regs): Likewise.
9894         (La_retval): Likewise.
9895         (int_retval): Likewise.
9896         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9897         macro.
9898         (pltexit): Likewise.
9899         (La_regs): Likewise.
9900         (La_retval): Likewise.
9901         (int_retval): Likewise.
9902         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9903         macro.
9904         (pltexit): Likewise.
9905         (La_regs): Likewise.
9906         (La_retval): Likewise.
9907         (int_retval): Likewise.
9908         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9909         macro.
9910         (pltexit): Likewise.
9911         (La_regs): Likewise.
9912         (La_retval): Likewise.
9913         (int_retval): Likewise.
9914         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9915         macro.
9916         (pltexit): Likewise.
9917         (La_regs): Likewise.
9918         (La_retval): Likewise.
9919         (int_retval): Likewise.
9920         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9921         macro.
9922         (pltexit): Likewise.
9923         (La_regs): Likewise.
9924         (La_retval): Likewise.
9925         (int_retval): Likewise.
9926         * sysdeps/generic/tst-audit.h: Update comment to refer only to
9927         macro definitions in tst-audit.h.
9928         * sysdeps/i386/tst-audit.h: New file.
9929         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9930         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9931         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9932         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9933         * sysdeps/sh/tst-audit.h: Likewise.
9934         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9935         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9936         * sysdeps/x86_64/tst-audit.h: Likewise.
9938 2012-07-26  Andreas Jaeger  <aj@suse.de>
9940         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9941         ptrace.
9943         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9944         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9945         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9946         PTRACE_O_MASK.
9947         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9948         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9949         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9951         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9952         value.
9954         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9955         _sigsys.
9956         (si_call_addr, si_syscall, si_arch): Define new macro.
9957         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9958         _sigsys.
9959         (si_call_addr, si_syscall, si_arch): Define new marcro.
9960         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9961         _sigsys.
9962         (si_call_addr, si_syscall, si_arch): Define new macro.
9963         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9964         _sigsys.
9965         (si_call_addr, si_syscall, si_arch): Define new macro.
9967 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9969         [BZ #13717]
9970         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9971         Change to 2.4.21 where previously 2.4.1.
9972         * sysdeps/unix/sysv/linux/configure: Regenerated.
9973         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9974         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9975         Linux kernel version.
9976         (__ASSUME_STD_AUXV): Remove.
9977         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9978         kernel version.
9979         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9980         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9981         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9982         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9983         (__ASSUME_NETLINK_SUPPORT): Likewise.
9984         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9985         (__no_netlink_support): Remove conditional definition.
9986         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9987         Remove.
9988         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9989         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9990         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9991         (if_nameindex_ioctl): Remove.
9992         (if_nameindex_netlink): Do not handle __no_netlink_support.
9993         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9994         code.
9995         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9996         Remove conditional code.
9997         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9998         code.
9999         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10000         unconditional.
10001         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10002         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10003         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10004         Remove.
10005         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10006         [!__ASSUME_STD_AUXV]: Remove conditional code.
10007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10008         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10009         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10011         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10012         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10013         code.
10014         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10016         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10017         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10018         conditional code.
10019         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10021         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10022         code.
10023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10024         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10025         conditional code.
10026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10027         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10028         code unconditional.
10029         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10030         conditional code.
10031         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10032         unconditional.
10033         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10034         conditional code.
10035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10036         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10037         unconditional.
10038         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10039         conditional code.
10040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10041         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10042         code unconditional.
10043         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10044         conditional code.
10045         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10046         unconditional.
10047         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10048         conditional code.
10049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10050         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10051         code unconditional.
10052         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10053         conditional code.
10054         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10055         unconditional.
10056         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10057         conditional code.
10059 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10061         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10062         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10063         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10064         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10065         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10066         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10067         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10068         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10069         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10070         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10071         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10072         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10073         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10074         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10075         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10076         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10077         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10078         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10079         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10080         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10081         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10082         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10083         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10085 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10087         * Versions.def: Add GLIBC_2.17.
10088         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10089         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10090         Introduce __libc_secure_getenv.
10091         * stdlib/Versions (2.17): Add secure_getenv
10092         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10093         * stdlib/secure-getenv.c: Rename __secure_getenv to
10094         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10095         symbol __secure_getenv for GLIBC_2.0.
10096         * stdlib/tst-secure-getenv.c: New.
10097         * stdlib/Makefile (tests): Add testcase.
10098         * manual/startup.texi (Environment Access): Document
10099         secure_getenv.
10100         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10101         __libc_secure_getenv.
10102         * inet/ruserpass.c (ruserpass): Likewise.
10103         * malloc/mtrace.c (mtrace): Likewise.
10104         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10105         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10106         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10107         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10108         HAVE_SECURE_GETENV.
10109         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10110         __secure_getenv to __libc_secure_getenv.
10111         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10113         Likewise.
10114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10115         Likewise.
10116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10118         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10124 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10126         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10127         (struct La_i86_retval): Likewise.
10128         (struct La_x86_64_regs): Likewise.
10129         (struct La_x86_64_retval): Likewise.
10130         (struct La_x32_regs): Likewise.
10131         (struct La_x32_retval): Likewise.
10132         (struct La_ppc32_regs): Likewise.
10133         (struct La_ppc32_retval): Likewise.
10134         (struct La_ppc64_regs): Likewise.
10135         (struct La_ppc64_retval): Likewise.
10136         (struct La_sh_regs): Likewise.
10137         (struct La_sh_retval): Likewise.
10138         (struct La_s390_32_regs): Likewise.
10139         (struct La_s390_32_retval): Likewise.
10140         (struct La_s390_64_regs): Likewise.
10141         (struct La_s390_64_retval): Likewise.
10142         (struct La_sparc32_regs): Likewise.
10143         (struct La_sparc32_retval): Likewise.
10144         (struct La_sparc64_regs): Likewise.
10145         (struct La_sparc64_retval): Likewise.
10146         (struct audit_ifaces): Remove architecture-specific pltenter and
10147         pltexit members.
10148         * sysdeps/i386/ldsodefs.h: New file.
10149         * sysdeps/powerpc/ldsodefs.h: Likewise.
10150         * sysdeps/s390/ldsodefs.h: Likewise.
10151         * sysdeps/sh/ldsodefs.h: Likewise.
10152         * sysdeps/sparc/ldsodefs.h: Likewise.
10153         * sysdeps/x86_64/ldsodefs.h: Likewise.
10155 2012-07-25  Marek Polacek  <polacek@redhat.com>
10157         [BZ #6808]
10158         * math/libm-test.inc (yn_test): Add another test.
10159         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10160         to ERANGE when the result is +-Inf.
10161         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10162         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10163         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10164         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10166 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10168         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10169         equal to 0.
10170         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10171         clock_t.
10172         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10174 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10176         * configure.in <sysdeps resolving>: Correct printing
10177         Implies_before.
10178         * configure: Regenerate.
10180 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10182         * math/w_ilogb.c: Include <limits.h>.
10183         * math/w_ilogbl.c: Likewise.
10185 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10187         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10188         va_copy.  Document allowing for unavailable va_copy only as
10189         pre-C99 compatibility.
10190         * manual/string.texi (Copying and Concatenation): Use va_copy
10191         instead of __va_copy in concat example.
10193 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10195         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10196         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10197         it if not null.
10199         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10200         with O_NOLINK passed to __file_name_lookup.
10202         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10203         with O_NOLINK passed to __file_name_lookup.
10205         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10206         negative N or less than NGIDS.
10208         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10209         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10210         enough.  Use memcpy instead of strncpy.
10212 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10214         * elf/Makefile (check-data): Remove.
10215         (localplt.data): New vpath directive.
10216         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10217         instead of $(check-data).
10218         * scripts/data/localplt-generic.data: Move to ...
10219         * sysdeps/generic/localplt.data: ... here.
10220         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10221         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10222         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10224         ... here.
10225         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10227         ... here.
10228         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10230         ... here.
10231         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10233         ... here.
10234         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10236         ... here.
10237         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10239         ... here.
10241 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10243         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10244         PPC32 and PPC64 files.
10245         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10246         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10248 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10250         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10251         __makecontext_ret to ...
10252         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10253         ... here and call exit if uc_link is NULL.  New file.
10254         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10255         __makecontext_ret.S.
10256         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10257         __makecontext_ret to ...
10258         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10259         ... here and call exit if uc_link is NULL.  New file.
10260         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10261         __makecontext_ret.S.
10263 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10265         * elf/elf.h (R_390_IRELATIVE): New definition.
10266         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10267         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10268         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10269         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10270         (elf_machine_lazy_rel): Likewise.
10271         * sysdeps/s390/dl-irel.h: New file.
10272         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10273         * sysdeps/s390/s390-64/memset.S: New asm code.
10274         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10275         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10276         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10277         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10278         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10279         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10280         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10281         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10282         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10283         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10284         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10285         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10286         * sysdeps/s390/s390-32/memset.S: New asm code.
10287         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10289 2012-07-17  Marek Polacek  <polacek@redhat.com>
10291         [BZ #14349]
10292         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10293         * sysdeps/s390/s390-64/configure.in: Likewise.
10294         * sysdeps/sparc/configure.in: Likewise.
10295         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10296         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10297         * sysdeps/i386/configure.in: Likewise.
10298         * sysdeps/x86_64/configure.in: Likewise.
10299         * sysdeps/sh/configure.in: Likewise.
10300         * sysdeps/s390/s390-32/configure: Regenerated.
10301         * sysdeps/s390/s390-64/configure: Likewise.
10302         * sysdeps/x86_64/configure: Likewise.
10303         * sysdeps/sh/configure: Likewise.
10304         * sysdeps/powerpc/powerpc64/configure: Likewise.
10305         * sysdeps/powerpc/powerpc32/configure: Likewise.
10306         * sysdeps/sparc/configure: Likwise.
10307         * sysdeps/i386/configure: Likewise.
10309         * elf/dl-open.c: Comment fixes.
10311 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10313         * Makefile [CXX] (check-data): Remove.
10314         [CXX] (c++-types.data): New vpath directive.
10315         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10316         vpath.  Do not allow for C++ type data being missing.
10317         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10318         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10319         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10320         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10321         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10322         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10323         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10325         ... here.
10326         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10328         ... here.
10329         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10331         ... here.
10332         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10334         ... here.
10335         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10337         ... here.
10338         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10340         ... here.
10341         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10343         ... here.
10344         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10347         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10348         definitions to architecture-specific files.
10349         (TLS_IE): Likewise.
10350         (TLS_LD): Likewise.
10351         (TLS_GD): Likewise.
10352         * sysdeps/i386/tls-macros.h: New file.
10353         * sysdeps/powerpc/tls-macros.h: Likewise.
10354         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10355         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10356         * sysdeps/sh/tls-macros.h: Likewise.
10357         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10358         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10359         * sysdeps/x86_64/tls-macros.h: Likewise.
10361 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10363         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10364         zero value for regular exit case.
10366         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10367         (__start_context): Preserve zero value for regular exit case.
10369 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10370             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10372         * manual/setjmp.texi (setcontext): Clarify normal process
10373         termination when uc_link is the null pointer.
10374         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10375         exit call.
10377 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10379         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10380         preprocessor.  Test for each exception mask separately.
10382 2012-07-16  Andreas Jaeger  <aj@suse.de>
10384         * po/ru.po: Update from translation team.
10386 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10388         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10389         equal to 0.
10390         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10391         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10392         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10393         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10394         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10396 2012-07-13  Andreas Jaeger  <aj@suse.de>
10398         * po/fr.po: Update from translation team.
10400 2012-07-12  Marek Polacek  <polacek@redhat.com>
10402         [BZ #14173]
10403         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10404         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10405         loop condition.
10407 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10409         [BZ #13717]
10410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10411         Change to 2.4.1 where previously 2.4.0.
10412         * sysdeps/unix/sysv/linux/configure: Regenerated.
10413         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10414         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10415         version.
10416         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10417         (__ASSUME_AT_CLKTCK): Remove.
10418         (__ASSUME_AT_PAGESIZE): Likewise.
10419         (__ASSUME_AT_XID): Likewise.
10420         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10421         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10422         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10423         unconditionally.
10424         (HAVE_AUX_PAGESIZE): Likewise.
10425         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10426         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10427         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10429 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10431         [BZ #14307]
10432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10433         the temporary buffer used to invoke __gethostbyname2_r,
10434         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10435         host_data / struct gaih_addrtuple.
10436         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10437         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10438         header file nss/nsswitch.h.
10439         * nss/nsswitch.h (global scope): Add definition of implementation
10440         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10441         resolv/nss_dns/dns-host.c).
10443 2012-07-11  Andreas Jaeger  <aj@suse.de>
10445         * po/fr.po: Update from translation team.
10447         * po/sv.po: Update from translation team
10448         * po/fr.po: Another update from translation team.
10450 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10452         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10453         for subnormals or multiply small sinh result by itself.
10454         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10457 2012-07-11  David S. Miller  <davem@davemloft.net>
10459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10461 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10463         [BZ #14347]
10464         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10465         (INTERNAL_MARK): Shift it here.
10467 2012-07-10  Marek Polacek  <polacek@redhat.com>
10469         [BZ #14151]
10470         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10471         libc_cv_asm_global_directive with .globl.
10472         * configure: Regenerated.
10473         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10474         with .globl.
10475         * sysdeps/i386/configure: Regenerated.
10476         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10477         with .globl.
10478         * sysdeps/x86_64/configure: Regenerated.
10479         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10480         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10481         * elf/tst-unique2mod2.c: Likewise.
10482         * elf/tst-unique2mod1.c: Likewise.
10483         * elf/tst-unique1mod2.c: Likewise.
10484         * elf/tst-unique1mod1.c: Likewise.
10485         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10486         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10487         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10488         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10489         * sysdeps/mach/sysdep.h: Likewise.
10490         * sysdeps/i386/sysdep.h: Likewise.
10491         * sysdeps/i386/i386-mcount.S: Likewise.
10492         * sysdeps/x86_64/_mcount.S: Likewise.
10493         * sysdeps/x86_64/sysdep.h: Likewise.
10494         * sysdeps/sh/_mcount.S: Likewise.
10495         * sysdeps/sh/sysdep.h: Likewise.
10496         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10497         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10498         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10499         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10500         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10501         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10502         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10503         * locale/localeinfo.h: Likewise.
10504         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10505         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10507 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10509         [BZ #14336]
10510         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10511         system".
10512         * manual/message.texi (The Uniforum approach): Likewise.
10513         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10514         (glibc iconv Implementation): Likewise.
10516 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10518         [BZ #14337]
10519         * math/s_clog.c (__clog): Avoid scaling a value down where that
10520         could result in underflow.
10521         * math/s_clog10.c (__clog10): Likewise.
10522         * math/s_clog10f.c (__clog10f): Likewise.
10523         * math/s_clog10l.c (__clog10l): Likewise.
10524         * math/s_clogf.c (__clogf): Likewise.
10525         * math/s_clogl.c (__clogl): Likewise.
10526         * math/libm-test.inc (clog_test): Add more tests.
10527         (clog10_test): Likewise.
10528         * sysdeps/i386/fpu/libm-test-ulps: Update.
10529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10531 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10533         [BZ #14283]
10534         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10535         by 7 not 8 to examine high bit of fractional part.
10537         [BZ #14042]
10538         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10539         for call to __mcount_internal.
10540         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10541         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10542         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10544 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10546         [BZ #14154]
10547         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10548         approximation for values within 0x1p-13f of an odd multiple of
10549         pi/4.
10550         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10551         exception.  Add more tests.
10552         * sysdeps/i386/fpu/libm-test-ulps: Update.
10554         [BZ #6778]
10555         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10556         inputs and return -1 for them.  Do not check for +Inf in case not
10557         reachable for +Inf.
10558         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10559         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10560         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10561         and return -1 for them.  Do not check for +Inf in case not
10562         reachable for +Inf.
10563         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10564         define.
10565         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10566         and return -1 for them.  Do not check for +Inf in case not
10567         reachable for +Inf.
10568         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10569         spurious underflow.
10570         * sysdeps/i386/fpu/libm-test-ulps: Update.
10571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10573 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10575         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10577 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10579         [BZ #14157]
10580         [BZ #14331]
10581         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10582         could result in spurious underflow.  Scale down values above
10583         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10584         * math/s_csqrtf.c (__csqrtf): Likewise.
10585         * math/s_csqrtl.c (__csqrtl): Likewise.
10586         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10587         spurious underflow.
10588         * sysdeps/i386/fpu/libm-test-ulps: Update.
10589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10591 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10593         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10594         xopen-msg.sed.
10595         * catgets/xopen-msg.awk: New file.
10596         * catgets/xopen-msg.sed: Removed.
10598         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10599         po2text.sed.
10600         * intl/po2test.awk: New file.
10601         * intl/po2test.sed: Removed.
10603 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10605         [BZ #14328]
10606         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10607         or multiply small sinh result by itself.
10608         * math/s_ctanf.c (__ctanf): Likewise.
10609         * math/s_ctanh.c (__ctanh): Likewise.
10610         * math/s_ctanhf.c (__ctanhf): Likewise.
10611         * math/s_ctanhl.c (__ctanhl): Likewise.
10612         * math/s_ctanl.c (__ctanl): Likewise.
10613         * math/libm-test.inc (ctan_test_tonearest): New function.
10614         (ctan_test_towardzero): Likewise.
10615         (ctan_test_downward): Likewise.
10616         (ctan_test_upward): Likewise.
10617         (ctanh_test_tonearest): Likewise.
10618         (ctanh_test_towardzero): Likewise.
10619         (ctanh_test_downward): Likewise.
10620         (ctanh_test_upward): Likewise.
10621         (main): Call these new functions.
10622         * sysdeps/i386/fpu/libm-test-ulps: Update.
10623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10625 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10627         * .gitignore: Delete /ports entry.
10629 2012-07-03  Andreas Jaeger  <aj@suse.de>
10631         * po/bg.po: Update from translation team.
10632         * po/cs.po: Likewise.
10633         * po/de.po: Likewise.
10634         * po/hr.po: Likewise.
10635         * po/nl.pl: Likewise.
10636         * po/pl.po: Likewise.
10637         * po/vi.po: Likewise.
10639 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10641         * Makeconfig [!+link] (+link-before-libc): New variable.
10642         [!+link] (+link-after-libc): Likewise.
10643         [!+link] (+link-tests): Likewise.
10644         [!+link] (+link): Define in terms of $(+link-before-libc) and
10645         $(+link-after-libc).
10646         [!+link-static] (+link-static-before-libc): New variable.
10647         [!+link-static] (+link-static-after-libc): Likewise.
10648         [!+link-static] (+link-static-tests): Likewise.
10649         [!+link-static] (+link-static): Define in terms of
10650         $(+link-static-before-libc) and $(+link-static-after-libc).
10651         [build-shared] (link-libc-before-gnulib): New variable.
10652         [build-shared] (link-libc-tests): Likewise.
10653         [build-shared] (link-libc): Define in terms of
10654         $(link-libc-before-gnulib).
10655         [!build-shared] (link-libc-tests): New variable.
10656         (link-libc-static-tests): New variable.
10657         [!gnulib] (gnulib-arch): New variable.
10658         [!gnulib] (gnulib-tests): Likewise.
10659         [!gnulib] (static-gnulib-arch): Likewise.
10660         [!gnulib] (static-gnulib-tests): Likewise.
10661         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
10662         Define with "=" instead of ":=".
10663         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
10664         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
10665         * Rules (binaries-all-notests): New variable.
10666         (binaries-all-tests): Likewise.
10667         (binaries-static-notests): Likewise.
10668         (binaries-static-tests): Likewise.
10669         (binaries-all): Define using $(binaries-all-notests) and
10670         $(binaries-all-tests).
10671         (binaries-static): Define using $(binaries-static-notests) and
10672         $(binaries-static-tests).
10673         (binaries-shared-tests): New variable.
10674         (binaries-shared-notests): Likewise.
10675         (binaries-shared): Remove variable.
10676         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10677         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10678         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10679         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10680         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10681         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10682         * elf/Makefile (sln-modules): New variable.
10683         (extra-objs): Add $(sln-modules:=.o).
10684         (ldconfig-modules): Add static-stubs.
10685         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10686         * elf/static-stubs.c: New file.
10688         [BZ #14283]
10689         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10690         by 7 not 8 to examine high bit of fractional part.  Use volatile
10691         variables when splitting into final array of floats if
10692         __FLT_EVAL_METHOD__ != 0.
10693         * math/libm-test.inc (cos_test): Add another test.
10694         (sin_test): Likewise.
10695         * sysdeps/i386/fpu/libm-test-ulps: Update.
10697         [BZ #14273]
10698         * math/libm-test.inc (cosh_test): Add more tests.
10700         * version.h (RELEASE): Set to "development".
10701         (VERSION): Set to "2.16.90".
10703 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
10705         * NEWS: Update copyright. Remove last-updated date.
10706         Mention math library bug fixes and timezone data changes.
10707         * README: Mention GNU/Hurd, x32, and HPPA support status.
10709 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
10711         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10713 2012-06-27  Andreas Jaeger  <aj@suse.de>
10715         * manual/contrib.texi (Contributors): Add Samuel Thibault.
10717 2012-06-25  Andreas Jaeger  <aj@suse.de>
10719         * sysdeps/s390/fpu/libm-test-ulps: Update.
10721 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
10722             Thomas Schwinge  <thomas@codesourcery.com>
10724         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10725         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10726         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10727         fanotify_mark.
10729 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
10731         * sysdeps/mach/start.c: Remove file.
10732         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10733         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10734         * sysdeps/sh/init-first.c: Likewise.
10736         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10737         registers for frame unwinding purposes, add CFI directives.
10738         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10739         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10740         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10741         Likewise.
10743         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10744         __fortify_fail returning.
10745         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10747         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10748         sysdeps/sh/____longjmp_chk.S.
10749         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10750         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10751         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10752         (gen-as-const-headers): Append sigaltstack-offsets.sym.
10754         * sysdeps/sh/abort-instr.h: New file.
10755         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10756         process in case exit returns.
10758         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10759         initialize the GOT register before use.
10761         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10762         calculation of ARGC > 4.
10764         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10765         meaningful names to some local labels.
10767 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10768             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10770         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10771         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10772         (__arch_compare_and_exchange_val_16_acq): Likewise.
10773         (__arch_compare_and_exchange_val_32_acq): Likewise.
10774         (atomic_exchange_and_add): Fix gUSA sequence.
10775         (atomic_add): Likewise.
10776         (atomic_add_negative): Likewise.
10777         (atomic_add_zero): Likewise.
10778         (atomic_bit_test_set): Likewise.
10780 2012-06-22  Andreas Schwab  <schwab@redhat.com>
10782         [BZ #13579]
10783         * include/link.h (struct link_map): Add l_free_initfini.
10784         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10785         l_initfini.
10786         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10787         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10788         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10789         set.
10791 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
10793         * configure.in: Use AC_LANG_SOURCE.
10794         * configure: Regenerate.
10796 2012-06-22  Roland McGrath  <roland@hack.frob.com>
10798         * configure.in (libc_cv_localstatedir): New substituted variable.
10799         * configure: Regenerated.
10800         * config.make.in (localstatedir): New variable, substituted from
10801         libc_cv_localstatedir.
10802         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10803         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10804         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10805         * sysdeps/gnu/configure: Regenerated.
10807 2012-06-21  Jeff Law  <law@redhat.com>
10809         [BZ #14277]
10810         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10811         free.  Simplify list management for _LIBC case.
10813 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
10815         [BZ #14273]
10816         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10817         Clear sign bit of 64-bit integer value before comparing against
10818         overflow value.
10820         * sysdeps/mach/configure: Regenerated.
10822 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
10824         [BZ #14278]
10825         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10827 2012-06-21  Jeff Law  <law@redhat.com>
10829         [BZ #13882]
10830         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
10831         uint16_t for elements in the "seen" array to avoid char overflows.
10832         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10833         * elf/dl-open.c (dl_open_worker): Likewise.
10835 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
10837         * scripts/list-sources.sh: Scan PORTS for translations.
10838         * po/libc.pot: Regenerated.
10840 2012-06-21  Andreas Jaeger  <aj@suse.de>
10842         [BZ #12194]
10843         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10844         warning.
10845         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10846         * bits/byteswap-16.h (__bswap_16): Likewise.
10847         * bits/byteswap.h (__bswap_constant_16): Likewise.
10849 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
10851         [BZ #14117]
10852         * sysdeps/i386/fpu_control.h: Removed.
10853         * sysdeps/x86_64/fpu_control.h: Moved to ...
10854         * sysdeps/x86/fpu_control.h: Here.
10856         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10857         (_FPU_SETCW): Likewise.
10859 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
10861         [BZ #14117]
10862         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10863         * sysdeps/x86/fpu/bits/mathinline.h: This.
10864         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10866         [BZ #14050]
10867         [BZ #14117]
10868         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10869         functions if __x86_64__ is defined.
10871 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
10873         * string/endian.h: Add !__ASSEMBLER__ condition for including
10874         conversion interfaces.
10876 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
10878         [BZ #14241]
10879         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10880         of ABS(x) in calculating zero to negative powers other than odd
10881         integers.
10882         * math/libm-test.inc (pow_test): Add more tests.
10884 2012-06-15  Andreas Jaeger  <aj@suse.de>
10886         * manual/contrib.texi (Contributors): Update entry of Liubov
10887         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10888         Machado Filho.
10890 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
10892         * string/string.h: Add __wur to GNU version of strerror_r.
10894 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
10896         [BZ #14229]
10897         * string/Makefile (tests): Add tst-strtok_r.
10898         * string/tst-strtok_r.c: New file.
10899         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10900         RAX_LP/RDX_LP on SAVE_PTR.
10902 2012-06-14  Roland McGrath  <roland@hack.frob.com>
10904         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10906 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
10908         * libm_test.inc (csqrt_test): Allow more spurious underflow
10909         exceptions.
10910         (j0_test): Likewise.
10911         (j1_test): Likewise.
10912         (y0_test): Likewise.
10913         (y1_test): Likewise.
10915 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
10917         * po/Makefile (libc.pot): Use UTF-8 charset.
10919 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
10921         [BZ #14210]
10922         Suppress sign-conversion warning from FD_SET.
10923         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10924         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10925         not unsigned long int.
10926         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10928 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
10930         [BZ #14050]
10931         [BZ #14117]
10932         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10933         __extern_always_inline instead of __extern_inline.
10934         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10935         (__signbit): Likewise.
10936         (__signbitl): Support C++ namespace.
10937         (lrintf): New inline function.
10938         (lrint): Likewise.
10939         (llrintf): Likewise.
10940         (llrint): Likewise.
10941         (fmaxf): Likewise.
10942         (fmax): Likewise.
10943         (fminf): Likewise.
10944         (fmin): Likewise.
10945         (rint): Likewise.
10946         (rintf): Likewise.
10947         (ceil): Likewise.
10948         (ceilf): Likewise.
10949         (floor): Likewise.
10950         (floorf): Likewise.
10951         (nearbyint): Likewise.
10952         (nearbyintf): Likewise.
10954 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
10956         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10957         non-default versions.
10959 2012-06-11  Roland McGrath  <roland@hack.frob.com>
10961         [BZ #14218]
10962         * manual/argp.texi (Argp): Reword argp_parse description slightly.
10964 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
10966         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10967         (FE_UPWARD, FE_DOWNWARD): Don't define.
10968         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10969         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10971         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10972         reading it.
10973         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10974         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10976 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10978         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10979         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10980         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10981         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10983 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10985         [BZ #14117]
10986         * sysdeps/i386/fpu/bits/fenv.h: Removed.
10987         * sysdeps/i386/fpu/Implies: New file.
10988         * sysdeps/x86_64/fpu/Implies: Likewise.
10989         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10990         * sysdeps/x86/fpu/bits/fenv.h: This.
10992         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10993         __SSE_MATH__.
10995 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10997         [BZ #14134]
10998         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10999         character 0xffff that matches the last element of the
11000         conversion table.
11002 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11004         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11005         fmodl commit.
11007 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11010         values higher than 25.6283.
11012 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11014         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11015         subnormal exponent extraction and add some __builtin_expect.
11016         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11017         Fix for subnormal mantissa calculation.
11019 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11021         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11022         cpu2 is -1 and errno is not ENOSYS.
11024 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11026         [BZ #14117]
11027         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11028         * sysdeps/x86/bits/string.h: This.
11029         * sysdeps/x86_64/bits/string.h: Removed.
11031         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11032         if not compiling for x86-64, but compiling for >= i486.
11034         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11035         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11037         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11038         New macro from Linux kernel 3.4.0.
11039         (FP_XSTATE_MAGIC2): Likewise.
11040         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11041         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11042         (struct _fpx_sw_bytes): New struct.
11043         (struct _xsave_hdr): Likewise.
11044         (struct _ymmh_state): Likewise.
11045         (struct _xstate): Likewise.
11047         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11048         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11049         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11050         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11051         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11052         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11054         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11055         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11056         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11057         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11058         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11059         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11061 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11063         [BZ #13743]
11064         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11065         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11066         (sysdep_headers): Include sys/platform/ppc.h.
11067         * sysdeps/powerpc/test-gettimebase.c: Test for
11068         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11069         * manual/Makefile (appendices): Include platform.texi.
11070         * manual/contrib.texi (Contributors): Update @node pointers.
11071         * manual/maint.texi (Maintenance): Likewise.
11072         (Platform): New node.
11073         * manual/platform.texi: New file.  Document the new features.
11075 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11076             Jakub Jelinek  <jakub@redhat.com>
11078         [BZ #14188]
11079         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11080         where __builtin_expect is unavailable.
11082 2012-06-03  David S. Miller  <davem@davemloft.net>
11084         * stdlib/longlong.h: Updated from GCC.
11086 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11088         [BZ #14042]
11089         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11090         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11091         __mcount_internal.
11092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11093         (GLIBC_2.16): Likewise.
11095 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11097         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11099 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11102         (default-abi): New variable.
11103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11104         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11105         variable.
11106         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11107         Likewise.
11108         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11109         Likewise.
11110         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11111         Likewise.
11113         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11114         definition.  Document in comment.
11116 2012-06-01  David S. Miller  <davem@davemloft.net>
11118         * stdlib/longlong.h: Updated from GCC.
11120 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11122         [BZ #14117]
11123         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11124         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11125         sys/debugreg.h sys/io.h here.
11126         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11127         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11128         sys/io.h.
11129         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11130         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11131         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11132         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11133         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11134         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11136         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11137         Define only if __x86_64__ is defined.
11139 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11141         [BZ #14048]
11142         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11143         Use int64_t for variable i.
11144         * math/libm-test.inc (fmod_test): Add more tests.
11146         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11147         z computation is not scheduled after fetestexcept.
11148         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11149         Use math_force_eval instead of asm to ensure calculation scheduled
11150         before exception test.
11151         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11152         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11154 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11157         computation is not scheduled after fetestexcept.
11159 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11161         [BZ #14117]
11162         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11163         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11165 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11167         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11168         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11170 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11172         [BZ #14117]
11173         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11174         <bits/wordsize.h>.
11175         (__WCHAR_MIN): Support __WORDSIZE == 64.
11176         (__WCHAR_MAX): Likewise.
11178         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11179         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11181         [BZ #14183]
11182         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11183         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11185         [BZ #14117]
11186         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11187         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11189         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11190         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11192         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11193         Defined to 1 if __x86_64__ isn't defined.
11194         (_STAT_VER_LINUX_OLD): New.
11195         (st_atime): Remove duplicate.
11196         (st_mtime): Likewise.
11197         (st_ctime): Likewise.
11199 2012-05-31  David S. Miller  <davem@davemloft.net>
11201         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11202         entries.
11204 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11206         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11207         gen-libm-test.pl.
11209         [BZ #14132]
11210         * elf/dl-reloc.c: Include <_itoa.h>.
11211         (_dl_reloc_bad_type): Remove use of INTUSE.
11212         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11213         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11214         * stdio-common/psiginfo.c (psiginfo): Likewise.
11215         * stdio-common/psignal.c (psignal): Likewise.
11216         * string/strsignal.c (strsignal): Likewise.
11217         * include/signal.h (_sys_siglist): Declare hidden proto.
11218         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11219         INTVARDEF with libc_hidden_data_def.
11220         * stdio-common/itoa-udigits.c: Likewise.
11221         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11222         (_itoa_lower_digits_internal): Remove declaration.
11223         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11224         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11225         (_sys_sigabbrev_internal): Remove aliases.
11226         (_sys_siglist): Define hidden alias.
11228 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11231         bits/sysctl.h.
11233 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11235         [BZ #14117]
11236         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11237         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11239         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11240         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11241         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11242         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11243         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11244         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11246         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11247         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11248         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11250         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11251         with __addr.
11252         (insw): Likewise.
11253         (insl): Likewise.
11254         (outsb): Likewise.
11255         (outsw): Likewise.
11256         (outsl): Likewise.
11258         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11259         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11260         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11262         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11263         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11264         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11265         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11266         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11267         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11269         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11270         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11272         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11273         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11276         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11277         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11279         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11280         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11281         to ...
11282         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11284         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11285         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11286         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11288         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11289         for x86-64.
11290         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11292 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11294         * math/math.h (M_El): Use two more decimal places.
11295         (M_LOG2El): Likewise.
11296         (M_LOG10El): Likewise.
11297         (M_LN2l): Likewise.
11298         (M_LN10l): Likewise.
11299         (M_PIl): Likewise.
11300         (M_PI_2l): Likewise.
11301         (M_PI_4l): Likewise.
11302         (M_1_PIl): Likewise.
11303         (M_2_PIl): Likewise.
11304         (M_2_SQRTPIl): Likewise.
11305         (M_SQRT2l): Likewise.
11306         (M_SQRT1_2l): Likewise.
11308 2012-05-31  David S. Miller  <davem@davemloft.net>
11310         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11311         values between float registers.
11312         * sysdeps/sparc/sparc64/memset.S: Likewise.
11313         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11315 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11317         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11318         -D_FORTIFY_SOURCE=1.
11319         (CPPFLAGS-tst-longjmp_chk.c): Define.
11320         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11321         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11322         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11323         CFLAGS-tst-wchar-h.c.
11325 2012-05-31  Marek Polacek  <polacek@redhat.com>
11327         [BZ #14132]
11328         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11329         __endmntent_internal): Remove declaration.
11330         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11331         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11332         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11334 2012-05-30  David S. Miller  <davem@davemloft.net>
11336         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11337         (___Q_simulate_exceptions): Use real FP ops rather than writing
11338         into the %fsr.
11339         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11340         Likewise.
11342 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11344         [BZ #14117]
11345         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11346         * sysdeps/x86/bits/xtitypes.h: This.
11348         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11349         * sysdeps/x86/bits/wordsize.h: This.
11351         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11352         * sysdeps/x86/bits/huge_vall.h: This.
11354         * sysdeps/i386/bits/select.h: Removed.
11355         * sysdeps/x86_64/bits/select.h: Renamed to ...
11356         * sysdeps/x86/bits/select.h: This.
11358         * sysdeps/i386/bits/setjmp.h: Removed.
11359         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11360         * sysdeps/x86/bits/setjmp.h: This.
11362         * sysdeps/i386/bits/mathdef.h: Removed.
11363         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11364         * sysdeps/x86/bits/mathdef.h: This.
11366 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11368         [BZ #14132]
11369         * include/sys/socket.h (__connect_internal)
11370         (__libc_sa_len_internal): Remove declaration.
11371         (__connect, __libc_sa_len): Declare hidden_proto.
11372         (SA_LEN): Remove use of INTUSE.
11373         * socket/connect.c: Add libc_hidden_def.
11374         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11375         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11376         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11377         alias.
11378         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11379         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11380         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11381         of adding _internal alias.
11383 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11385         [BZ #14117]
11386         * sysdeps/i386/bits/link.h: Removed.
11387         * sysdeps/i386/bits/linkmap.h: Likewise.
11388         * sysdeps/x86_64/bits/link.h: Renamed to ...
11389         * sysdeps/x86/bits/link.h: This.
11390         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11391         * sysdeps/x86/bits/linkmap.h: This.
11393         * sysdeps/i386/bits/endian.h: Removed.
11394         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11395         * sysdeps/x86/bits/endian.h: This.
11397         * sysdeps/i386/bits/byteswap.h: Removed.
11398         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11399         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11400         * sysdeps/x86/bits/byteswap.h: This.
11401         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11402         * sysdeps/x86/bits/byteswap-16.h: This.
11403         * sysdeps/i386/Implies: Add x86.
11404         * sysdeps/x86_64/Implies: Likewise.
11406 2012-05-30  David S. Miller  <davem@davemloft.net>
11408         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11409         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11410         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11411         (FP_TRAPPING_EXCEPTIONS): Define.
11412         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11413         (FP_TRAPPING_EXCEPTIONS): Define.
11414         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11415         subnormals only when inexact has been signalled or underflow
11416         exceptions are enabled.
11417         (_FP_PACK_CANONICAL): Likewise.
11419 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11421         [BZ #14183]
11422         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11423         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11425 2012-05-30  Richard Henderson  <rth@twiddle.net>
11427         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11428         with #ifndef NOT_IN_libc.
11430         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11431         marked to avoid plt entry.
11433 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11435         [BZ #14112]
11436         * Makeconfig (default-abi): New macro.
11437         (abi-includes): Likewise.
11438         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11439         $(abi-$(default-abi)-lib-soname) for soname if defined.
11440         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11441         abi-variants.
11442         * Makefile (installed-stubs): Likewise.
11443         * include/stubs-biarch.h: Removed.
11444         * scripts/lib-names.awk: Only handle one library at a time.
11445         * scripts/soversions.awk: Remove WORDSIZE support.
11446         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11447         entries.
11448         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11449         Removed.
11450         (syscall-list-default-condition): Likewise.
11451         (syscall-list-default-condition): Likewise.
11452         (syscall-list-includes): Likewise.
11453         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11454         syscall-list-* with abi-*.  Handle undefined abi-variants.
11455         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11456         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11457         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11458         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11459         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11460         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11461         Removed.
11462         (syscall-list-32-options): Likewise.
11463         (syscall-list-32-condition): Likewise.
11464         (syscall-list-64-options): Likewise.
11465         (syscall-list-64-condition): Likewise.
11466         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11467         macro.
11468         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11469         Renamed to ...
11470         (abi-*): This.
11471         (abi-64-ld-soname): New macro.
11472         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11473         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11474         Renamed to ...
11475         (abi-*): This.
11476         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11477         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11479 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11481         * sysdeps/unix/sysv/linux/kernel-features.h
11482         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11483         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11484         include <kernel-features.h>.
11485         [!__NR_ftruncate64]: Remove conditional code.
11486         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11487         [__NR_ftruncate64]: Make code unconditional.
11488         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11489         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11490         include <kernel-features.h>.
11491         [!__NR_ftruncate64]: Remove conditional code.
11492         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11493         [__NR_ftruncate64]: Make code unconditional.
11494         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11496         include <kernel-features.h>.
11497         [!__NR_ftruncate64]: Remove conditional code.
11498         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11499         [__NR_ftruncate64]: Make code unconditional.
11500         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11502         include <kernel-features.h>.
11503         [!__NR_ftruncate64]: Remove conditional code.
11504         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11505         [__NR_ftruncate64]: Make code unconditional.
11506         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11508         * configure.in (libc_cv_fpie): Weaken to a compile test using
11509         LIBC_TRY_CC_OPTION.
11510         * configure: Regenerated.
11512 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11518         Refreshed.
11519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11525         Refreshed.
11527 2012-05-27  David S. Miller  <davem@davemloft.net>
11529         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11530         (___Q_zero): New.
11531         (__Q_simulate_exceptions): Return void.  Change to simulate
11532         exceptions by writing into the %fsr.
11533         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11534         (__Qp_handle_exceptions): Likewise.
11535         (numbers): Delete.
11536         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11537         __Qp_handle_exceptions.
11538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11539         __Qp_handle_exceptions.
11540         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11541         as unused and give dummy FP_RND_NEAREST initializer.
11542         (FP_INHIBIT_RESULTS): Define.
11543         (___Q_simulate_exceptions): Update declaration.
11544         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11545         formatting.
11546         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11547         as unused and give dummy FP_RND_NEAREST initializer.
11548         (__Qp_handle_exceptions): Update declaration.
11549         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11550         formatting.
11552 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11554         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11555         the temporary FPU control word.
11556         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11557         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11558         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11559         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11560         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11561         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11562         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11563         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11564         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11565         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11566         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11568 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11570         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11571         fields.
11573 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11575         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11576         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11577         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11578         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11579         Likewise.
11580         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11581         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11582         Likewise.
11584 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11586         * po/h.po: Update from translation team.
11588 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11590         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11592         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11593         handling of denormals.
11594         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11595         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11596         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11597         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11598         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11600         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11601         Likewise.
11603 2012-05-26  Marek Polacek  <polacek@redhat.com>
11605         [BZ #14152]
11606         * math/libm-test.inc (fma_test): Don't always expect underflow
11607         exception.
11609 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11611         [BZ #12416]
11612         * elf/tst-execstack.c: Include stackinfo.h.
11613         (do_test): Adjust test case to ensure that pthread_getattr_np
11614         behaviour remains the same after marking stack executable.
11616 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11618         * sysdeps/unix/sysv/linux/kernel-features.h
11619         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11620         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11621         kernel-features.h.
11622         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11623         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11624         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11625         kernel-features.h.
11626         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11627         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11629 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11631         * configure.in: Define the default includes to being none.
11632         * configure: Regenerated.
11634 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11636         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11637         * sysdeps/x86_64/setjmp.S: Likewise.
11638         * sysdeps/i386/bsd-setjmp.S: Likewise.
11639         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11640         * sysdeps/i386/setjmp.S: Likewise.
11641         * sysdeps/i386/__longjmp.S: Likewise.
11642         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11643         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11645         * include/stap-probe.h: New file.
11646         * configure.in: Handle --enable-systemtap.
11647         * configure: Regenerated.
11648         * config.h.in (USE_STAP_PROBE): New #undef.
11649         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11650         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11651         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11653 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11655         [BZ #13717]
11656         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11657         to 2.4.0 where earlier.
11658         * sysdeps/unix/sysv/linux/configure: Regenerated.
11659         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11660         <kernel-features.h>.
11661         [__ASSUME_32BITUIDS]: Make code unconditional.
11662         [!__ASSUME_32BITUIDS]: Remove conditional code.
11663         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11664         <kernel-features.h>.
11665         [__ASSUME_32BITUIDS]: Make code unconditional.
11666         [!__ASSUME_32BITUIDS]: Remove conditional code.
11667         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11668         [__ASSUME_32BITUIDS]: Make code unconditional.
11669         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11670         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11671         <kernel-features.h>.
11672         [__ASSUME_32BITUIDS]: Make code unconditional.
11673         [!__ASSUME_32BITUIDS]: Remove conditional code.
11674         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11675         <kernel-features.h>.
11676         [__ASSUME_32BITUIDS]: Make code unconditional.
11677         [!__ASSUME_32BITUIDS]: Remove conditional code.
11678         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11679         <kernel-features.h>.
11680         [__ASSUME_32BITUIDS]: Make code unconditional.
11681         [!__ASSUME_32BITUIDS]: Remove conditional code.
11682         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11683         <kernel-features.h>.
11684         [__ASSUME_32BITUIDS]: Make code unconditional.
11685         [!__ASSUME_32BITUIDS]: Remove conditional code.
11686         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11687         <kernel-features.h>.
11688         [__ASSUME_32BITUIDS]: Make code unconditional.
11689         [!__ASSUME_32BITUIDS]: Remove conditional code.
11690         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11691         <kernel-features.h>.
11692         [__ASSUME_32BITUIDS]: Make code unconditional.
11693         [!__ASSUME_32BITUIDS]: Remove conditional code.
11694         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11695         <kernel-features.h>.
11696         [__ASSUME_32BITUIDS]: Make code unconditional.
11697         [!__ASSUME_32BITUIDS]: Remove conditional code.
11698         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11699         <kernel-features.h>.
11700         [__ASSUME_32BITUIDS]: Make code unconditional.
11701         [!__ASSUME_32BITUIDS]: Remove conditional code.
11702         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11703         <kernel-features.h>.
11704         [__ASSUME_32BITUIDS]: Make code unconditional.
11705         [!__ASSUME_32BITUIDS]: Remove conditional code.
11706         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11707         <kernel-features.h>.
11708         [__ASSUME_32BITUIDS]: Make code unconditional.
11709         [!__ASSUME_32BITUIDS]: Remove conditional code.
11710         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11711         <kernel-features.h>.
11712         [__NR_setresgid] (__setresgid): Do not declare.
11713         [__ASSUME_32BITUIDS]: Make code unconditional.
11714         [!__ASSUME_32BITUIDS]: Remove conditional code.
11715         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11716         <kernel-features.h>.
11717         [__NR_setresuid] (__setresuid): Do not declare.
11718         [__ASSUME_32BITUIDS]: Make code unconditional.
11719         [!__ASSUME_32BITUIDS]: Remove conditional code.
11720         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11721         <kernel-features.h>.
11722         [__ASSUME_32BITUIDS]: Make code unconditional.
11723         [!__ASSUME_32BITUIDS]: Remove conditional code.
11724         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11725         <kernel-features.h>.
11726         [__ASSUME_32BITUIDS]: Make code unconditional.
11727         [!__ASSUME_32BITUIDS]: Remove conditional code.
11728         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11729         <kernel-features.h>.
11730         [__ASSUME_32BITUIDS]: Make code unconditional.
11731         [!__ASSUME_32BITUIDS]: Remove conditional code.
11732         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11733         <kernel-features.h>.
11734         [__ASSUME_32BITUIDS]: Make code unconditional.
11735         [!__ASSUME_32BITUIDS]: Remove conditional code.
11736         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11737         <kernel-features.h>.
11738         [__ASSUME_32BITUIDS]: Make code unconditional.
11739         [!__ASSUME_32BITUIDS]: Remove conditional code.
11740         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11741         <kernel-features.h>.
11742         [__ASSUME_32BITUIDS]: Make code unconditional.
11743         [!__ASSUME_32BITUIDS]: Remove conditional code.
11744         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11745         <kernel-features.h>.
11746         [__ASSUME_32BITUIDS]: Make code unconditional.
11747         [!__ASSUME_32BITUIDS]: Remove conditional code.
11748         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11749         <kernel-features.h>.
11750         [__ASSUME_32BITUIDS]: Make code unconditional.
11751         [!__ASSUME_32BITUIDS]: Remove conditional code.
11752         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11753         <kernel-features.h>.
11754         [__ASSUME_32BITUIDS]: Make code unconditional.
11755         [!__ASSUME_32BITUIDS]: Remove conditional code.
11756         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11757         <kernel-features.h>.
11758         [__ASSUME_32BITUIDS]: Make code unconditional.
11759         [!__ASSUME_32BITUIDS]: Remove conditional code.
11760         * sysdeps/unix/sysv/linux/kernel-features.h
11761         (__ASSUME_SETRESUID_SYSCALL): Remove.
11762         (__ASSUME_SETRESGID_SYSCALL): Likewise.
11763         (__ASSUME_32BITUIDS): Likewise.
11764         (__ASSUME_LDT_WORKS): Likewise.
11765         (__ASSUME_O_DIRECTORY): Likewise.
11766         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11767         architecture but not kernel version.
11768         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11769         (__ASSUME_MMAP2_SYSCALL): Likewise.
11770         (__ASSUME_STAT64_SYSCALL): Likewise.
11771         (__ASSUME_IPC64): Likewise.
11772         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11773         <kernel-features.h>.
11774         [__ASSUME_32BITUIDS]: Make code unconditional.
11775         [!__ASSUME_32BITUIDS]: Remove conditional code.
11776         * sysdeps/unix/sysv/linux/opendir.c: Do not include
11777         <kernel-features.h>.
11778         [__ASSUME_O_DIRECTORY]: Make code unconditional.
11779         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11780         132096]: Remove conditional code.
11781         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11782         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11783         <kernel-features.h>.
11784         [__ASSUME_32BITUIDS]: Make code unconditional.
11785         [!__ASSUME_32BITUIDS]: Remove conditional code.
11786         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11787         <kernel-features.h>.
11788         [__ASSUME_32BITUIDS]: Make code unconditional.
11789         [!__ASSUME_32BITUIDS]: Remove conditional code.
11790         * sysdeps/unix/sysv/linux/setegid.c: Do not include
11791         <kernel-features.h>.
11792         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11793         unconditional.
11794         (__setresgid): Do not declare.
11795         [__ASSUME_32BITUIDS]: Make code unconditional.
11796         [!__ASSUME_32BITUIDS]: Remove conditional code.
11797         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11798         <kernel-features.h>.
11799         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11800         unconditional.
11801         (__setresuid): Do not declare.
11802         [__ASSUME_32BITUIDS]: Make code unconditional.
11803         [!__ASSUME_32BITUIDS]: Remove conditional code.
11804         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11805         <kernel-features.h>.
11806         [__ASSUME_32BITUIDS]: Make code unconditional.
11807         [!__ASSUME_32BITUIDS]: Remove conditional code.
11808         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11809         <kernel-features.h>.
11810         [__ASSUME_32BITUIDS]: Make code unconditional.
11811         [!__ASSUME_32BITUIDS]: Remove conditional code.
11813 2012-05-25  Richard Henderson  <rth@twiddle.net>
11815         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11816         dl_hwcap to ifunc resolver.
11817         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11818         elf_ifunc_invoke.
11819         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11820         dl_hwcap to ifunc resolver.
11821         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11823 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11825         [BZ #14153]
11826         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11827         for |x| <= 2**-26, not 2**-57.
11828         * math/libm-test.inc (acos_test): Do not allow spurious underflow
11829         exception.
11831 2012-05-24  Jeff Law  <law@redhat.com>
11833         * stdio-common/Makefile (tests): Add bug25.
11834         * stdio-common/bug25.c: New test.
11836 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11838         [BZ #13576]
11839         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11840         multiple of MALLOC_ALIGNMENT in size.
11841         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11843 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11845         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11846         Require >= 256.
11847         (FILENAME_MAX): Use macro-int-constant.
11848         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
11849         (_IOFBF): Use macro-int-constant.
11850         (_IOLBF): Likewise.
11851         (_IONBF): Likewise.
11852         (SEEK_CUR): Likewise.
11853         (SEEK_END): Likewise.
11854         (SEEK_SET): Likewise.
11855         (TMP_MAX): Likewise.
11856         (EOF): Use macro-int-constant.  Require < 0.
11857         (NULL): Use macro-constant.  Require == 0.
11858         (stdin): Require type to be FILE *.
11859         (stdout): Likewise.
11860         (stderr): Likewise.
11861         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11862         macro-int-constant.
11863         (EXIT_SUCCESS): Likewise.
11864         (NULL): Use macro-constant.  Require == 0.
11865         (RAND_MAX): Use macro-int-constant.
11866         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11867         [C99-based standards] (strtof): Require function.
11868         [C99-based standards] (strtold): Likewise.
11869         [C99-based standards] (strtoll): Likewise.
11870         [C99-based standards] (strtoull): Likewise.
11871         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11872         [ISO || ISO99 || ISO11] (limits.h): Likewise.
11873         [ISO || ISO99 || ISO11] (math.h): Likewise.
11874         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11875         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11876         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11878 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
11880         [BZ #14132]
11881         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11882         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11883         * intl/dgettext.c (DCGETTEXT): Likewise.
11884         * intl/gettext.c (DCGETTEXT): Likewise.
11885         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11886         * posix/regex_internal.h (gettext): Likewise.
11887         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11888         Remove declaration.
11889         * include/argz.h (__argz_count_internal)
11890         (__argz_stringify_internal): Remove declaration.
11891         (__argz_count, __argz_stringify): Declare hidden proto.
11892         * intl/dcgettext.c: Remove use of INTDEF.
11893         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11894         * string/argz-stringify.c: Likewise.
11895         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11896         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11897         Declare hidden proto.
11898         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11899         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11900         Declare hidden proto.
11901         * include/stdio.h (__asprintf_internal): Don't declare.
11902         (__asprintf): Don't define as macro.  Declare hidden proto.
11903         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11904         (__fsetlocking): Declare hidden proto.
11905         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11906         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11907         hidden proto.
11908         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11909         (_IO_setlinebuf): Remove use of INTUSE.
11910         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11911         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11912         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11913         Remove declaration.
11914         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11915         (_IO_do_flush): Remove use of INTUSE.
11916         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11917         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11918         (_IO_adjust_column, _IO_least_wmarker)
11919         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11920         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11921         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11922         (_IO_default_doallocate, _IO_wdefault_doallocate)
11923         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11924         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11925         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11926         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11927         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11928         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11929         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11930         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11931         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11932         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11933         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11934         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11935         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11936         proto.
11937         (_IO_flush_all_internal, _IO_adjust_column_internal)
11938         (_IO_default_uflow_internal, _IO_default_finish_internal)
11939         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11940         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11941         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11942         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11943         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11944         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11945         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11946         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11947         (_IO_file_close_internal, _IO_file_close_it_internal)
11948         (_IO_file_underflow_internal, _IO_file_overflow_internal)
11949         (_IO_file_init_internal, _IO_file_attach_internal)
11950         (_IO_file_fopen_internal, _IO_file_read_internal)
11951         (_IO_file_sync_internal, _IO_file_seek_internal)
11952         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11953         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11954         (_IO_str_underflow_internal, _IO_str_overflow_internal)
11955         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11956         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11957         (_IO_list_all_internal, _IO_link_in_internal)
11958         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11959         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11960         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11961         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11962         (_IO_do_write_internal, _IO_padn_internal)
11963         (_IO_getline_info_internal, _IO_getline_internal)
11964         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11965         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11966         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11967         (_IO_vfscanf_internal, _IO_vfprintf_internal)
11968         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11969         (_IO_init_internal, _IO_un_link_internal): Don't declare.
11970         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11971         with libc_hidden_ver, remove use of INTUSE.
11972         * libio/genops.c: Likewise.
11973         * libio/freopen.c: Likewise.
11974         * libio/freopen64.c: Likewise.
11975         * libio/iofclose.c: Likewise.
11976         * libio/iofdopen.c: Likewise.
11977         * libio/iofflush.c: Likewise.
11978         * libio/iofflush_u.c: Likewise.
11979         * libio/iofgets.c: Likewise.
11980         * libio/iofgets_u.c: Likewise.
11981         * libio/iofopen.c: Likewise.
11982         * libio/iofopncook.c: Likewise.
11983         * libio/iofread.c: Likewise.
11984         * libio/iofread_u.c: Likewise.
11985         * libio/ioftell.c: Likewise.
11986         * libio/iofwrite.c: Likewise.
11987         * libio/iogetline.c: Likewise.
11988         * libio/iogets.c: Likewise.
11989         * libio/iogetwline.c: Likewise.
11990         * libio/iopadn.c: Likewise.
11991         * libio/iopopen.c: Likewise.
11992         * libio/ioseekoff.c: Likewise.
11993         * libio/ioseekpos.c: Likewise.
11994         * libio/iosetbuffer.c: Likewise.
11995         * libio/iosetvbuf.c: Likewise.
11996         * libio/ioungetc.c: Likewise.
11997         * libio/ioungetwc.c: Likewise.
11998         * libio/iovdprintf.c: Likewise.
11999         * libio/iovsprintf.c: Likewise.
12000         * libio/iovsscanf.c: Likewise.
12001         * libio/memstream.c: Likewise.
12002         * libio/obprintf.c: Likewise.
12003         * libio/oldfileops.c: Likewise.
12004         * libio/oldiofclose.c: Likewise.
12005         * libio/oldiofdopen.c: Likewise.
12006         * libio/oldiofopen.c: Likewise.
12007         * libio/oldiopopen.c: Likewise.
12008         * libio/oldstdfiles.c: Likewise.
12009         * libio/putc.c: Likewise.
12010         * libio/setbuf.c: Likewise.
12011         * libio/setlinebuf.c: Likewise.
12012         * libio/stdfiles.c: Likewise.
12013         * libio/strops.c: Likewise.
12014         * libio/vasprintf.c: Likewise.
12015         * libio/vscanf.c: Likewise.
12016         * libio/vsnprintf.c: Likewise.
12017         * libio/vswprintf.c: Likewise.
12018         * libio/wfiledoalloc.c: Likewise.
12019         * libio/wfileops.c: Likewise.
12020         * libio/wgenops.c: Likewise.
12021         * libio/wmemstream.c: Likewise.
12022         * libio/wstrops.c: Likewise.
12023         * libio/__fpurge.c: Likewise.
12024         * libio/__fsetlocking.c: Likewise.
12025         * assert/assert.c: Likewise.
12026         * debug/fgets_chk.c: Likewise.
12027         * debug/fgets_u_chk.c: Likewise.
12028         * debug/fread_chk.c: Likewise.
12029         * debug/fread_u_chk.c: Likewise.
12030         * debug/gets_chk.c: Likewise.
12031         * debug/obprintf_chk.c: Likewise.
12032         * debug/vasprintf_chk.c: Likewise.
12033         * debug/vdprintf_chk.c: Likewise.
12034         * debug/vsnprintf_chk.c: Likewise.
12035         * debug/vsprintf_chk.c: Likewise.
12036         * malloc/mtrace.c: Likewise.
12037         * misc/error.c: Likewise.
12038         * misc/syslog.c: Likewise.
12039         * stdio-common/asprintf.c: Likewise.
12040         * stdio-common/fxprintf.c: Likewise.
12041         * stdio-common/getw.c: Likewise.
12042         * stdio-common/isoc99_fscanf.c: Likewise.
12043         * stdio-common/isoc99_scanf.c: Likewise.
12044         * stdio-common/isoc99_vfscanf.c: Likewise.
12045         * stdio-common/isoc99_vscanf.c: Likewise.
12046         * stdio-common/isoc99_vsscanf.c: Likewise.
12047         * stdio-common/printf-prs.c: Likewise.
12048         * stdio-common/printf_fp.c: Likewise.
12049         * stdio-common/printf_fphex.c: Likewise.
12050         * stdio-common/printf_size.c: Likewise.
12051         * stdio-common/putw.c: Likewise.
12052         * stdio-common/scanf.c: Likewise.
12053         * stdio-common/sprintf.c: Likewise.
12054         * stdio-common/tmpfile.c: Likewise.
12055         * stdio-common/vfprintf.c: Likewise.
12056         * stdio-common/vfscanf.c: Likewise.
12057         * stdlib/strfmon_l.c: Likewise.
12058         * sunrpc/openchild.c: Likewise.
12059         * sunrpc/xdr_stdio.c: Likewise.
12060         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12061         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12063 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12065         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12067         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12068         in the third column, to generate for the shared library an IFUNC
12069         that uses _dl_vdso_vsym.
12070         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12071         * Makeconfig (object-suffixes-noshared): New variable.
12073         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12074         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12075         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12076         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12078         [BZ #14132]
12079         * include/sys/time.h (__gettimeofday): Remove macro.
12080         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12081         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12082         Remove INTDEF.
12083         (__gettimeofday): Add libc_hidden_def.
12084         (gettimeofday): Add libc_hidden_weak.
12085         * sysdeps/mach/gettimeofday.c: Likewise.
12086         * sysdeps/posix/gettimeofday.c: Likewise.
12087         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12088         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12089         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12090         (__gettimeofday_internal): Remove strong_alias.
12091         (__gettimeofday): Add libc_hidden_def.
12092         (gettimeofday): Add libc_hidden_weak.
12093         * sysdeps/unix/syscalls.list (gettimeofday):
12094         Remove __gettimeofday_internal alias.
12096 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12097             H.J. Lu  <hongjiu.lu@intel.com>
12099         [BZ #12495]
12100         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12101         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12102         (largebin_index_32_big): New.
12103         (largebin_index): Use it for 16-byte alignment.
12104         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12105         correction with front_misalign.
12107 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12111         Likewise.
12112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12113         Likewise.
12114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12115         Likewise.
12116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12117         Likewise.
12118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12119         Likewise.
12120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12121         Likewise.
12122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12123         Likewise.
12124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12125         Likewise.
12126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12127         Likewise.
12128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12129         Likewise.
12130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12131         Likewise.
12132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12133         Likewise.
12135         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12136         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12138 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12140         [BZ #10846]
12141         [BZ #14036]
12142         * math/libm-test.inc (exp_test): Add test from bug 14036.
12143         (pow_test): Add test from bug 10846.
12145         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12146         and other flags.
12147         (special_function): Do not include flags in test name.
12148         (parse_args): Likewise.
12149         * sysdeps/i386/fpu/libm-test-ulps: Update.
12150         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12151         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12152         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12155         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12156         exceptions.
12157         * math/libm-test.inc ("Philosophy"): Update comment about
12158         exception testing.
12159         (UNDERFLOW_EXCEPTION): New macro.
12160         (UNDERFLOW_EXCEPTION_OK): Likewise.
12161         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12162         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12163         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12164         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12165         (INVALID_EXCEPTION_OK): Update value.
12166         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12167         (OVERFLOW_EXCEPTION_OK): Likewise.
12168         (IGNORE_ZERO_INF_SIGN): Likewise.
12169         (test_exceptions): Handle underflow exceptions.
12170         (acos_test): Update for underflow exception expectations.
12171         (cexp_test): Likewise.
12172         (clog_test): Likewise.
12173         (clog10_test): Likewise.
12174         (csqrt_test): Likewise.
12175         (ctan_test): Likewise.
12176         (ctanh_test): Likewise.
12177         (exp_test): Likewise.
12178         (exp10_test): Likewise.
12179         (exp2_test): Likewise.
12180         (expm1_test): Likewise.
12181         (fma_test): Likewise.
12182         (j0_test): Likewise.
12183         (jn_test): Likewise.
12184         (nexttoward_test): Likewise.
12185         (pow_test): Likewise.
12186         (scalbn_test): Likewise.
12187         (scalbln_test): Likewise.
12188         (tan_test): Likewise.
12189         (y1_test): Likewise.
12190         * sysdeps/i386/fpu/libm-test-ulps: Update.
12191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12193 2012-05-23  David S. Miller  <davem@davemloft.net>
12195         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12196         (__libc_sigaction): Remove unused local variables.
12198 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12200         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12202 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12204         mktime: avoid signed integer overflow
12205         * time/mktime.c (__mktime_internal): Do not mishandle the case
12206         where diff == INT_MIN.
12208         mktime: simplify computation of average
12209         * time/mktime.c (ranged_convert): Use new time_t_avg function
12210         instead of rolling our own (probably-slower) code.
12212         mktime: do not assume signed right shift propagates sign bit
12213         * time/mktime.c (isdst_differ): New static function.
12214         (__mktime_internal): No need to normalize tm_isdst now.
12215         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12216         tm_isdst values.
12218         mktime: merge another wrapv change from gnulib
12219         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12220         from some compilers.
12222         mktime: remove incorrect attempt at unusual arithmetics
12223         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12224         The code didn't really work on such machines anyway.
12225         (TYPE_MINIMUM): Assume two's complement.
12226         (twos_complement_arithmetic): Verify that long_int and time_t
12227         are two's complement (or unsigned, in the latter case).
12229         mktime: check signed shifts on long_int and time_t, too
12230         * time/mktime.c (SHR): Check that shifts work as desired
12231         on the types long_int and time_t too, as SHR is used on
12232         such types.
12234         mktime: do not assume 'long' is wide enough
12235         * time/mktime.c (verify): Move decl up.
12236         (long_int): New type.
12237         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12238         to remove assumption in the code that 'long' is wide enough to
12239         store year values.  This assumption is not true on x32 and on
12240         some non-glibc platforms.
12242         mktime: merge wrapv change from gnulib
12243         * time/mktime.c (WRAPV): New macro.
12244         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12245         (guess_time_tm, __mktime_internal): Do not assume that signed
12246         integer overflow wraps around; modern compilers generate code
12247         where this assumption is no longer valid.
12249 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12251         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12252         Replace "jmp L(pseudo_end)" with "ret".
12253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12254         Likewise.
12256 2012-05-23  Andreas Jaeger  <aj@suse.de>
12258         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12259         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12261 2012-05-23  Andreas Jaeger  <aj@suse.de>
12262             Maximilian Attems  <max@stro.at>
12264         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12265         New macros.
12267 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12269         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12270         code so that pseudo_end is just ret and the stack pointer is
12271         correct also for static library in error case.
12273 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12275         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12276         move to syscalls.list.
12277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12282         * manual/install.texi (Running make install): Do not mention Linux
12283         kernel version for which pt_chown is not needed.
12284         (Linux): Do not mention problems with nscd with 2.0 kernels.
12285         * INSTALL: Regenerated.
12287 2012-05-23  Andreas Jaeger  <aj@suse.de>
12289         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12290         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12291         macro.
12292         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12293         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12294         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12295         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12296         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12297         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12298         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12299         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12300         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12301         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12302         * sysdeps/unix/sysv/linux/bits/in.h
12303         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12305 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12307         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12308         (PREPARE_VERSION): Just use assert instead, it will be elided
12309         under [NDEBUG] anyway.
12311 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12313         * sysdeps/unix/sysv/linux/Makefile: Include
12314         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12315         (sysdep_routines): Remove sysctl.
12316         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12317         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12318         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12319         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12320         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12322 2012-05-22  Andreas Jaeger  <aj@suse.de>
12324         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12325         that pseudo_end is just ret and the stack pointer is correct also
12326         for static library in error case.
12328 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12330         [BZ #14122]
12331         * nss/nsswitch.c (defconfig_entries): New variable.
12332         (__nss_database_lookup): Don't leak defconfig entries.
12333         (nss_parse_service_list): Don't leak on error paths.
12334         (free_database_entries): New function.
12335         (free_defconfig): New function.
12336         (free_mem): Move common code to free_database_entries.
12338 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12340         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12341         Add arch_prctl.
12342         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12344         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12345         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12347         New macro.
12348         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12349         (INTERNAL_SYSCALL_TYPES): Likewise.
12350         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12351         (LOAD_REGS_TYPES_[1-6]): Likewise.
12352         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12353         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12355 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12357         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12358         copysignl for GLIBC_2_0.
12359         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12360         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12361         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12362         logbl for GLIBC_2_0.
12363         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12364         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12366 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12368         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12369         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12371         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12372         Use "neg %eax".
12374         * time/mktime.c: Update copyright years.
12376 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12378         mktime: merge comment-quoting-style change from gnulib
12379         * time/mktime.c: Quote 'like this' in comments.
12380         The GNU coding standards suggest that we no longer quote `like this',
12381         as "`" and "'" are typically rendered asymmetrically nowadays.
12382         The typical gnulib style is to quote 'like this' when quoting
12383         code, and "like this" when quoting English.
12385         * time/mktime.c (compile-command): Add "-I.".
12387         mktime: merge mktime-internal.h change from gnulib
12388         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12390         mktime: merge time_r change from gnulib
12391         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12393         mktime: merge DEBUG change from gnulib
12394         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12395         case system <time.h> has a #define.
12397         mktime: merge <sys/types.h> change from gnulib
12398         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12399         since <time.t> is now guaranteed to define time_t.
12401         mktime: merge HAVE_CONFIG_H change from gnulib
12402         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12404 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12407         Use "neg %eax".
12409         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12410         __rlim_t cast.
12411         (struct rusage): Use anonymous union to pad each field to
12412         __syscall_slong_t.
12414 2012-05-21  David S. Miller  <davem@davemloft.net>
12416         * Makefules (o-iterator): Remove .s cases.
12417         (compile-command.s): Delete.
12418         (COMPILE.s): Delete.
12419         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12421 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12423         * configure.in (libc_cv_predef_stack_protector): Only consider
12424         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12425         * configure: Regenerated.
12427 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12429         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12430         New macro.  Use R*LP on int and pointer.
12431         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12432         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12433         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12434         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12436         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12437         [__WORDSIZE_TIME64_COMPAT32] instead of
12438         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12439         (struct utmp): Likewise.
12440         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12441         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12442         Renamed to ...
12443         (__WORDSIZE_TIME64_COMPAT32): This.
12444         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12445         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12446         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12447         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12448         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12449         (__WORDSIZE_TIME64_COMPAT32): New macro.
12451 2012-05-21  Andreas Jaeger  <aj@suse.de>
12453         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12454         only if [SHARED]. Add prototype for __wcschr_ia32.
12456 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12458         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12459         of %rbp unmolested in the jmp_buf while mangling the low bits.
12460         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12461         unmolested high bits of %rbp while demangling the low bits.
12462         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12464 2012-05-21  Andreas Jaeger  <aj@suse.de>
12466         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12467         * sunrpc/svc_simple.c: Use it for registerrpc.
12468         * sunrpc/xcrypt.c: Use it for passwd2des.
12470         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12472 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12474         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12475         Don't define if [__SYSCALL_WORDSIZE != 32].
12476         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12477         New macro.
12479 2012-05-21  Bruno Haible  <bruno@clisp.org>
12480             Andreas Jaeger  <aj@suse.de>
12482         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12483         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12484         inptr and inend for must_buffer_ch.
12485         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12486         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12487         * stdio-common/Makefile (tests): Remove bug15.
12488         (bug15-ENV): Remove macro.
12489         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12490         anymore.
12492 2012-05-19  Andreas Jaeger  <aj@suse.de>
12493             Roland McGrath  <roland@hack.frob.com>
12495         * manual/contrib.texi: Completely rewritten. It contains now an
12496         alphabetical list of contributors and their contributions.
12498 2012-05-21  Richard Henderson  <rth@twiddle.net>
12500         * misc/getauxval.c (__getauxval): Use unsigned long int.
12501         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12502         (getauxval): Use unsigned long int.
12504 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12506         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12508 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12510         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12511         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12512         __alignof__ (long double).
12514 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12518 2012-05-20  Richard Henderson  <rth@twiddle.net>
12520         * misc/getauxval.c: New file.
12521         * misc/sys/auxv.h: New file.
12522         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12523         (routines): Add getauxval.
12524         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12525         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12526         * elf/dl-sysdep.c (_dl_auxv): Remove.
12527         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12528         * elf/dl-support.c (_dl_auxv): New variable.
12529         (_dl_aux_init): Initialize it.
12530         * manual/startup.texi (Auxiliary Vector): New node.
12531         * sysdeps/generic/bits/hwcap.h: New file.
12532         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12533         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12534         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12535         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12536         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12537         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12539         Update.
12540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12543         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12549 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12553 2012-05-19  David S. Miller  <davem@davemloft.net>
12555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12557 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12559         [BZ #14123]
12560         * math/s_ccosh.c: Include <float.h>
12561         (__ccosh): Avoid internal overflow calculating sinh and cosh
12562         values before multiplying by sin and cos values.
12563         * math/s_ccoshf.c: Likewise.
12564         * math/s_ccoshl.c: Likewise.
12565         * math/s_csin.c: Likewise.
12566         * math/s_csinf.c: Likewise.
12567         * math/s_csinl.c: Likewise.
12568         * math/s_csinh.c: Likewise.
12569         * math/s_csinhf.c: Likewise.
12570         * math/s_csinhl.c: Likewise.
12571         * math/libm-test.inc (ccos_test): Add more tests.
12572         (ccosh_test): Likewise.
12573         (csin_test): Likewise.
12574         (csinh_test): Likewise.
12575         * sysdeps/i386/fpu/libm-test-ulps: Update.
12576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12578 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12580         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12581         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12583         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12585 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12587         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12588         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12589         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12590         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12591         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12592         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12593         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12594         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12595         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12596         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12597         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12598         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12599         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12600         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12601         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12602         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12603         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12604         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12605         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12606         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12607         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12608         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12609         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12610         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12611         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12612         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12613         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12614         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12615         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12616         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12617         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12619 2012-05-18  Andreas Jaeger  <aj@suse.de>
12621         * csu/.gitignore: Delete.
12623 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12625         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12626         (timex): Use __syscall_slong_t.
12628 2012-05-18  Andreas Jaeger  <aj@suse.de>
12629             Carlos O'Donell  <carlos_odonell@mentor.com>
12631         * manual/install.texi (Configuring and compiling): Update
12632         description about files modified in the source directory.
12633         * INSTALL: Regenerated.
12635 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12637         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12638         value.  Use "or" to set return value to -1.
12639         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12640         negate return value.
12642 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12644         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12645         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12646         failure if the compiler has Graphite support disabled.
12647         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12648         Likewise.
12649         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12650         CFLAGS-memmove.c): Likewise.
12651         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12652         Likewise.
12654 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12656         * sysdeps/x86_64/x32/_itoa.h: New file.
12658         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12659         getdents system call only if kernel and user dirents have the
12660         same d_ino and d_off.
12662         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12663         LLONG_MAX != LONG_MAX.
12664         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12665         (_fitoa_word): Likewise.
12667         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12668         years.
12669         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12670         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12671         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12673         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12674         include <bits/wordsize.h>.  Check __x86_64__ instead of
12675         __WORDSIZE.
12676         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12677         if __x86_64__ is defined.  Use anonymous union on fpstate.
12679         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12680         anonymous union.
12682 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
12684         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12685         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12686         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12687         Refer to _rtld_local_ro instead of _rtld_global_ro.
12688         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12689         Likewise.
12690         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12691         Likewise.
12692         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12693         Likewise.
12694         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12695         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12696         of _rtld_global, and rtld_progname instead of _dl_argv[0].
12698         * sysdeps/powerpc/powerpc32/dl-machine.c
12699         (__elf_machine_runtime_setup) [PROF]: Don't reference
12700         _dl_prof_resolve.
12702 2012-05-18  Andreas Jaeger  <aj@suse.de>
12704         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12705         function only available for GCCs before 3.4 since GCC 3.4
12706         introduced a builtin.
12707         (lrint): Likewise.
12708         (llrintf): Likewise.
12709         (llrint): Likewise.
12710         (fmaxf): Likewise.
12711         (fmax): Likewise.
12712         (fminf): Likewise.
12713         (fmin): Likewise.
12714         (rint): Likewise.
12715         (rintf): Likewise.
12716         (nearbyint): Likewise.
12717         (nearbyintf): Likewise.
12718         (ceil): Likewise.
12719         (ceilf): Likewise.
12720         (floor): Likewise.
12721         (floorf): Likewise.
12723 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12725         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12726         on both fields and cast pointer to __syscall_ulong_t.
12728         * bits/types.h (__fsword_t): New type.
12729         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12730         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12732         (__FSWORD_T_TYPE): Likewise.
12733         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12734         (__FSWORD_T_TYPE): Likewise.
12735         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12736         (__FSWORD_T_TYPE): Likewise.
12737         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12738         (__FSWORD_T_TYPE): Likewise.
12739         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12740         __SWORD_TYPE with __fsword_t.
12741         (statfs64): Likewise.
12743 2012-05-17  David S. Miller  <davem@davemloft.net>
12745         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12747 2012-05-17  Andreas Jaeger  <aj@suse.de>
12749         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12750         warning.
12752 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12754         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12756 2012-05-17  Andreas Jaeger  <aj@suse.de>
12758         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12759         when it is used.
12761 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12763         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12765 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12767         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12768         * sysdeps/x86_64/tst-mallocalign1.c: New file.
12770 2012-05-17  Andreas Jaeger  <aj@suse.de>
12771             Carlos O'Donell  <carlos_odonell@mentor.com>
12773         [BZ #14059]
12774         * sysdeps/x86_64/multiarch/init-arch.h
12775         (bit_YMM_Usable): Rename to...
12776         (bit_AVX_Usable): ... this.
12777         (bit_FMA4_Usable): New macro.
12778         (bit_XMM_state): New macro.
12779         (bit_YMM_state): New macro.
12780         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12781         [__ASSEMBLER__] (index_AVX_Usable): ... this.
12782         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12783         (CPUID_OSXSAVE): New macro.
12784         (CPUID_AVX): New macro.
12785         (CPUID_FMA4): New macro.
12786         (index_YMM_Usable): Rename to...
12787         (index_AVX_Usable): ... this.
12788         (HAS_AVX): Use HAS_ARCH_FEATURE.
12789         (HAS_FMA4): Likewise.
12790         (HAS_YMM_USABLE): Remove.
12791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12792         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12793         are present.
12794         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12795         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12796         * sysdeps/x86_64/multiarch/Makefile: Likewise.
12797         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12798         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12800 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12802         * math/libm-test.c: Support platforms without multiple rounding modes.
12803         * math/bug-nextafter.c: Support platforms without FP exceptions.
12804         * math/bug-nexttoward.c: Likewise.
12805         * math/test-fenv.c: Likewise.
12806         * math/test-misc.c: Likewise.
12807         * stdlib/bug-getcontext.c: Likewise.
12809 2012-05-17  Andreas Jaeger  <aj@suse.de>
12811         * manual/examples/search.c (critter_cmp): Change signature to
12812         avoid warnings.
12813         * manual/string.texi (Collation Functions): Likewise.
12815 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12817         * bits/types.h: Fold copyright years.
12818         * bits/typesizes.h: Likewise.
12819         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12820         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12821         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12822         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12823         * time/time.h: Likewise.
12825 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
12827         [BZ #208]
12828         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12829         in instead of returning them.  Return void.
12830         (__libc_mallinfo): Accumulate over all arenas.
12831         (__malloc_stats): Adjust for change in int_mallinfo interface.
12833 2012-05-16  Roland McGrath  <roland@hack.frob.com>
12835         [BZ #10375]
12836         * configure.in (NM): Add AC_CHECK_TOOL for it.
12837         (libc_extra_cflags): New substituted variable.
12838         Check for -fstack-protector being used implicitly.
12839         * configure: Regenerated.
12840         * config.make.in (config-extra-cflags): New variable,
12841         gets @libc_extra_cflags@.
12842         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12844         [BZ #10375]
12845         * configure.in: Check for _FORTIFY_SOURCE being predefined.
12846         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12847         * configure: Regenerated.
12848         * config.make.in (CPPUNDEFS): New substituted variable.
12849         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12850         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12851         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12853 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12855         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12856         (mq_attr): Use __syscall_slong_t.
12858 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12860         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12861         Check __x86_64__ instead of __WORDSIZE.
12862         (_STAT_VER_LINUX): Likewise.
12863         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
12864         __syscall_ulong_t and __syscall_slong_t.
12865         (stat64): Likewise.
12867 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12869         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12871 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12873         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12875 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12877         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12878         __syscall_ulong_t.
12880         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12881         include <bits/wordsize.h>.  Check __x86_64__ instead of
12882         __WORDSIZE.
12883         (greg_t): Use "__extension__ long long int" if __x86_64__ is
12884         defined.
12885         (mcontext_t): Replace "unsigned long" with "unsigned long long".
12887         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12888         include <bits/wordsize.h>.  Check __x86_64__ instead of
12889         __WORDSIZE.
12890         (user_regs_struct): Use "__extension__ unsigned long long"
12891         instead of "unsigned long" if __x86_64__ is defined.
12892         (user): Likewise.  Pad after pointer field if __ILP32__ is
12893         defined.
12895 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
12897         * configure.in (makeinfo): Require version 4.5 or later.  Allow
12898         versions 5 to 9.
12899         * configure: Regenerated.
12900         * manual/install.texi (texinfo): Increase version requirement to
12901         4.5 or later.
12902         * INSTALL: Regenerated.
12904         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12906 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12908         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12910         * sysdeps/x86_64/x32/ffs.c: New file.
12912         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12913         __syscall_ulong_t.
12914         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12915         defined.  Use __syscall_ulong_t.
12916         (shminfo): Use __syscall_ulong_t.
12917         (shm_info): Likewise.
12919         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12920         __syscall_ulong_t.
12922         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12923         <bits/wordsize.h>.
12924         (msgqnum_t): Use __syscall_ulong_t.
12925         (msglen_t): Likewise.
12926         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
12927         __syscall_ulong_t.
12929         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12930         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12932         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12934         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12935         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12937         * sysvipc/sys/msg.h (msgbuf): Replace long int with
12938         __syscall_slong_t.
12940         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12941         include <bits/wordsize.h>.  Check __x86_64__ instead of
12942         __WORDSIZE.
12944         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12945         "unsigned long long int" if __x86_64__ is defined.
12946         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12948         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12949         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12950         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12952         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12953         <stdint.h>.
12954         (GET_PC): Cast to uintptr_t first.
12955         (GET_FRAME): Likewise.
12956         (GET_STACK): Likewise.
12958         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12959         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12960         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12961         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12962         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12963         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12964         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12965         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12966         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12967         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12968         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12969         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12970         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12971         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12972         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12973         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12974         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12975         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12976         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12977         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12978         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12979         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12980         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12981         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12982         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12983         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12984         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12985         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12986         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12988 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
12990         * Makerules (+depfiles): Also collect depfiles from .oS in
12991         $(extra-objs).
12992         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12993         .oS, $(libnldbl-routines)).
12995         * Makerules (native-compile-mkdep-flags): Define.
12996         * sunrpc/Makefile (extra-objs): Add $(addprefix
12997         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12998         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12999         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13000         calling $(make-target-directory).
13002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13004         * bits/types.h (__snseconds_t): Removed.
13005         * time/time.h (struct timespec): Replace __snseconds_t with
13006         __syscall_slong_t.
13007         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13008         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13009         Likewise.
13010         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13011         (__SNSECONDS_T_TYPE): Likewise.
13012         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13013         (__SNSECONDS_T_TYPE): Likewise.
13014         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13015         (__SNSECONDS_T_TYPE): Likewise.
13017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13019         * sysdeps/mach/hurd/bits/typesizes.h
13020         (__SYSCALL_SLONG_TYPE): New macro.
13021         (__SYSCALL_ULONG_TYPE): Likewise.
13023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13025         * bits/types.h (__syscall_slong_t): New type.
13026         (__syscall_ulong_t): Likewise.
13028         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13029         (__SYSCALL_ULONG_TYPE): Likewise.
13030         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13031         (__SYSCALL_SLONG_TYPE): Likewise.
13032         (__SYSCALL_ULONG_TYPE): Likewise.
13033         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13034         (__SYSCALL_SLONG_TYPE): Likewise.
13035         (__SYSCALL_ULONG_TYPE): Likewise.
13036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13037         (__SYSCALL_SLONG_TYPE): Likewise.
13038         (__SYSCALL_ULONG_TYPE): Likewise.
13040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13042         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13043         Add sigaltstack-offsets.sym.
13044         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13045         <sigaltstack-offsets.h>.
13046         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13047         longjmp_msg pointer.
13048         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13049         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13050         signal stack.
13051         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13053 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13055         * elf/stackguard-macros.h: Remove file.
13056         * sysdeps/generic/stackguard-macros.h: New file.
13057         * sysdeps/i386/stackguard-macros.h: Likewise.
13058         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13059         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13060         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13061         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13062         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13063         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13064         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13065         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13066         <elf/stackguard-macros.h>.
13068         [BZ #14109]
13069         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13070         __aligned__ in attribute.
13071         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13072         (gregset_t): Likewise.
13074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13076         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13077         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13078         * sysdeps/x86_64/x32/Implies-after: New file.
13080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13082         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13083         and access return value for _dl_profile_fixup.  Use R10_LP to
13084         load frame size.
13086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13088         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13090 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13092         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13093         * sysdeps/x86_64/x32/sysdep.h: New file.
13095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13097         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13098         * sysdeps/x86_64/setjmp.S: Likewise.
13100 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13102         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13103         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13104         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13105         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13106         remove unused global constant.
13108 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13110         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13111         include of <not-cancel.h>.
13113 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13115         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13117 2012-05-15  Jeff Law  <law@redhat.com>
13118             Andreas Jaeger  <aj@suse.de>
13120         [BZ #13594]
13121         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13122         out from...
13123         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13124         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13125         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13126         code changing __hst_map_handle.map.
13128 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13130         * configure.in (sysnames): Look for Implies-before and Implies-after
13131         files.
13132         * configure: Regenerated.
13134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13136         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13137         8-byte data alignment with LP_SIZE alignment.
13139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13141         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13142         into R10_LP.
13144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13146         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13150         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13151         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13152         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13153         Likewise.
13154         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13158         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13159         (stackinfo_sub_sp): Likewise.
13161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13163         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13164         RAX_LP.
13166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13168         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13169         into R*_LP.
13171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13173         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13174         sizes into R*_LP.
13176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13178         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13182         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13183         into R11_LP and load __x86_64_shared_cache_size_half into
13184         R8_LP.
13186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13188         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13189         R8_LP.
13191 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13193         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13194         logb for POWER7.
13195         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13196         logbf for POWER7.
13197         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13198         logbl for POWER7.
13199         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13200         powerpc32/power7/fpu/s_logb.c via #include.
13201         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13202         powerpc32/power7/fpu/s_logbf.c via #include.
13203         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13204         powerpc32/power7/fpu/s_logbl.c via #include.
13206 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13208         * README.libm: Remove file.
13210 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13212         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13213         count for x32.  Use R*_LP and omit operand-size suffix.
13215 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13217         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13218         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13219         * sysdeps/x86_64/x32/shlib-versions: New file.
13221 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13223         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13224         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13225         Use _dl_fatal_printf instead.
13227 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13229         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13230         set if not set by the user.  Do not allow for being unset.
13231         * sysdeps/unix/sysv/linux/configure: Regenerated.
13233 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13235         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13236         the `q' suffix from lea and replace .quad with ASM_ADDR.
13238 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13241         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13242         instead of $17.
13243         (PTR_DEMANGLE): Likewise.
13245 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13247         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13248         (LP_OP): Likewise.
13249         (ASM_ADDR): Likewise.
13250         (RAX_LP): Likewise.
13251         (RBP_LP): Likewise.
13252         (RBX_LP): Likewise.
13253         (RCX_LP): Likewise.
13254         (RDI_LP): Likewise.
13255         (RSI_LP): Likewise.
13256         (RSP_LP): Likewise.
13257         (R8_LP): Likewise.
13258         (R9_LP): Likewise.
13259         (R10_LP): Likewise.
13260         (R10_LP): Likewise.
13261         (R11_LP): Likewise.
13262         (R12_LP): Likewise.
13263         (R13_LP): Likewise.
13264         (R14_LP): Likewise.
13265         (R15_LP): Likewise.
13267 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13269         * sysdeps/x86_64/x32/dl-machine.h: New file.
13271 2012-05-14  Andreas Jaeger  <aj@suse.de>
13273         * manual/Makefile (subdir): Remove export of subdir.
13274         (all): Remove target.
13275         (.PHONY): Remove all from list.
13276         (mkinstalldirs): Remove.
13277         (.PHONY): Remove installdirs from list.
13278         ($(inst_infodir)/libc.info): Use make-target-directory.
13279         (installdirs): Remove.
13280         (subdir_%): Remove.
13281         (glibc-targets): Remove.
13282         (lib): Remove.
13283         (stubs): Remove.
13284         ($(objpfx)stubs ../po/manual.pot): Remove.
13285         ($(objpfx)stamp%): Remove.
13286         (make-target-directory): Remove.
13287         (subdir_install): Remove.
13288         (routines): Remove.
13289         (aux): Remove.
13290         (sources): Remove.
13291         (objects): Remove.
13292         (headers): Remove.
13294         [BZ #13750]
13295         * manual/.gitignore: Remove, it's not needed anymore.
13296         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13297         all files in it.
13298         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13299         directory.
13300         (texis): Renamed to $(objpfx)texis.
13301         (texis-path): New, contains path to generated files.
13302         (chapters.%): Use texis-path for complete path, add extra argument
13303         libc-texinfo.sh.
13304         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13305         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13306         (summary,texi, stamp-summary): Use complete path of
13307         files. Generate files in build dir.
13308         (dir-add.texi): Build in build dir.
13309         (libm-err.texi,stamp-libm-err): Likewise.
13310         (version.texi, stamp-version): Likewise.
13311         (.%c.texi): Likewise.
13312         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13313         (mostlyclean): Remove target.
13314         (realclean): Remove target.
13315         (generated): Add new variable with contents from mostlyclean and
13316         realclean, remove entries duplicated in common-mostlyclean, add
13317         stamp-libm-err and stamp-version.
13318         (generated-dirs): Add libc directory.
13319         ($(inst_infodir)/libc.info): Install files from build dir.
13321         * manual/install.texi (Configuring and compiling): Adjust since
13322         the info files are not part of the tar ball anymore.
13324 2012-05-14  Andreas Jaeger  <aj@suse.de>
13326         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13327         variable.
13329 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13331         [BZ #13717]
13332         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13333         to 2.2.0 where earlier.
13334         * sysdeps/unix/sysv/linux/configure: Regenerated.
13335         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13336         Remove conditional code.
13337         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13338         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13339         Remove conditional code.
13340         [!__NR_lchown]: Likewise.
13341         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13342         [__NR_lchown]: Likewise.
13343         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13344         comment referencing __ASSUME_LCHOWN_SYSCALL.
13345         * sysdeps/unix/sysv/linux/i386/sigaction.c
13346         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13347         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13348         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13349         Remove conditional code.
13350         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13351         (__protocol_available): Remove #if 0 code.
13352         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13353         conditional code.
13354         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13355         * sysdeps/unix/sysv/linux/kernel-features.h
13356         (__ASSUME_GETCWD_SYSCALL): Don't define.
13357         (__ASSUME_REALTIME_SIGNALS): Likewise.
13358         (__ASSUME_PREAD_SYSCALL): Likewise.
13359         (__ASSUME_PWRITE_SYSCALL): Likewise.
13360         (__ASSUME_POLL_SYSCALL): Likewise.
13361         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13362         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13363         non-SPARC.
13364         (__ASSUME_SIOCGIFNAME): Don't define.
13365         (__ASSUME_MSG_NOSIGNAL): Likewise.
13366         (__ASSUME_SENDFILE): Define unconditionally.
13367         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13368         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13369         conditional code.
13370         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13371         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13372         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13373         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13374         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13375         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13376         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13378         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13379         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13381         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13382         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13384         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13385         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13387         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13390         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13393         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13394         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13396         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13399         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13400         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13401         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13402         Remove conditional code.
13403         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13404         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13405         Remove conditional code.
13406         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13407         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13408         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13409         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13410         Remove conditional code.
13411         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13412         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13413         Remove conditional code.
13414         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13415         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13416         Remove conditional code.
13417         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13418         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13419         Remove conditional code.
13420         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13421         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13422         Remove conditional code.
13423         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13424         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13425         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13426         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13427         * sysdeps/unix/sysv/linux/sigaction.c
13428         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13429         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13430         * sysdeps/unix/sysv/linux/sigpending.c
13431         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13432         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13433         * sysdeps/unix/sysv/linux/sigprocmask.c
13434         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13435         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13436         * sysdeps/unix/sysv/linux/sigsuspend.c
13437         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13438         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13439         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13440         (__libc_missing_rt_sigs): Remove.
13441         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13442         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13443         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13444         Remove conditional code.
13445         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13446         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13447         return 1.
13448         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13449         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13450         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13451         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13453 2012-05-14  Andreas Jaeger  <aj@suse.de>
13455         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13456         it's not used in glibc.
13457         (__coshm1): Likewise.
13458         (__acosh1p): Likewise.
13459         (__sgn): Likewise.
13461         * manual/string.texi (Copying and Concatenation): Add missing
13462         variable in concat example.
13463         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13465 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13467         [BZ #14103]
13468         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13469         __builtin_clzl with __builtin_clzll.
13471 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13473         [BZ #14104]
13474         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13475         libc_freeres_ptr.
13477 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13479         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13480         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13481         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13482         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13484 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13486         * NEWS: Update ia64 info.
13488 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13490         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13491         used as bcopy.
13493 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13495         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13496         * sysdeps/unix/syscalls.list (dup3): Likewise.
13497         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13498         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13500 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13502         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13503         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13505 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13507         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13508         thread pointer.
13509         (TLS_IE): Use mov/add instead of movq/addq to load thread
13510         pointer.
13511         (TLS_GD_PREFIX): New.
13512         (TLS_GD): Use it.
13514 2012-05-11  David S. Miller  <davem@davemloft.net>
13516         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13517         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13518         (_FPU_SETCW): Likewise.
13520 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13522         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13523         is 32-byte aligned.
13525 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13527         [BZ #11837]
13528         * iconvdata/gb18030.c: Update tables.
13529         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13530         characters specially.
13531         (BODY for TO_LOOP): Add encoding of missing ranges.
13533 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13535         [BZ #13673]
13536         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13537         * sysdeps/mach/hurd/dup3.c: Likewise.
13538         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13539         * sysdeps/powerpc/memmove.c:: Likewise.
13541 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13543         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13544         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13546 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13548         * elf/elf.h (R_X86_64_RELATIVE64): New.
13549         (R_X86_64_NUM): Updated.
13550         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13551         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13552         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13553         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13554         tst-quad1pie tst-quad2pie
13555         (modules-names): Add tst-quadmod1 tst-quadmod2.
13556         ($(objpfx)tst-quad1): New dependency.
13557         ($(objpfx)tst-quad2): Likewise.
13558         ($(objpfx)tst-quad1pie): Likewise.
13559         ($(objpfx)tst-quad2pie): Likewise.
13560         * sysdeps/x86_64/tst-quad1.c: New file.
13561         * sysdeps/x86_64/tst-quad1pie.c: New file.
13562         * sysdeps/x86_64/tst-quad2.c: Likewise.
13563         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13564         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13565         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13566         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13567         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13569 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13571         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13572         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13573         * streams/stropts.h (t_scalar_t): Define type.
13575         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13576         (_PATH_PRESERVE): Set to "/var/lib".
13577         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13579         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13580         instead of int.
13582         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13583         if __dir_mkfile succeeded.
13585         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13586         checking for _hurd_dtablesize.  Unlock it right after having
13587         finished _hurd_dtable allocation.
13589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13591         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13592         * sysdeps/mach/hurd/configure: Regenerated.
13593         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13594         special-casing to...
13595         * sysdeps/gnu/configure.in: ... this new file.
13596         * sysdeps/unix/sysv/linux/configure: Regenerated.
13597         * sysdeps/gnu/configure: New generated file.
13599         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13600         for Linux: use nsec instead of usec, as well as:
13601         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13602         members of type struct timespec.
13603         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13604         New macros.
13605         (struct stat64): Likewise.
13606         (_STATBUF_ST_NSEC): New macro.
13607         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13609         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13610         __strtoul_internal rather than strtoul.
13612 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13614         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13615         and reject them.
13617 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13619         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13620         which preserves existing values.
13621         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13623 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13625         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13626         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13627         greater than FD_SETSIZE.
13629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13631         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13632         allocated, call __vm_protect to finish enabling the existing space, and
13633         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13634         allocate the remainder.
13636 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13638         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13639         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13643         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13644         sysdeps/mach/hurd/readlink.c.
13646         * posix/tst-sysconf.c (posix_options): Only use
13647         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13648         _POSIX_SYNCHRONIZED_IO when they are defined
13649         * sysdeps/mach/hurd/bits/posix_opt.h:
13650         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13651         (_XOPEN_REALTIME): Undefine macro.
13652         (_XOPEN_REALTIME_THREADS): Undefine macro.
13653         (_XOPEN_SHM): Undefine macro.
13654         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13655         macro to -1.
13656         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13657         macro to -1.
13658         (_POSIX_ASYNC_IO): Undefine macro.
13659         (_POSIX_PRIORITIZED_IO): Undefine macro.
13660         (_POSIX_SPIN_LOCKS): Define macro to -1.
13662         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13663         SA_NODEFER, SA_RESETHAND.
13664         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13665         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13666         F_DUPFD_CLOEXEC.
13668 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13670         * elf/Makefile (pldd-modules): Define unconditionally.
13672 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13674         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13676 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13678         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13679         Return ENOENT when name is empty.
13680         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13682 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13684         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13686         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13688 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13690         Fix mlock in all cases except non-readable pages.
13691         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13692         instead of VM_PROT_ALL as parameter to __vm_wire function.
13694         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13695         (__mkdir): When path is `/', just fail with EEXIST.
13696         * sysdeps/mach/hurd/mkdirat.c: Likewise.
13698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13700         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13701         <sys/uio.h> (for writev).
13702         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13703         and <sys/param.h> (for MIN).
13705 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13707         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13708         REQUESTED_TIME.  Properly set the remaining time and return EINTR
13709         if interrupted.
13711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13713         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13714         Depend on against $(link-rpcuserlibs).
13716 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13718         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13719         (__libc_stack_end): Do not use attribute_relro.
13720         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13721         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13722         to libthread-provided value.
13723         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13724         attribute_relro.
13726 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13728         [BZ #3748]
13729         * bits/libc-lock.h (__libc_once_get): New macro.
13730         * sysdeps/mach/bits/libc-lock.h: Likewise.
13731         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13732         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13733         instead of using implementation details.
13735         * libio/fileops.c: Unconditionally include <kernel-features.h>.
13736         * libio/freopen.c: Likewise.
13737         * libio/freopen64.c: Likewise.
13738         * misc/syslog.c: Likewise.
13739         * nscd/connections.c: Likewise.
13740         * nscd/netgroupcache.c: Likewise.
13741         * sysdeps/posix/getcwd.c: Likewise.
13743 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13745         * math/w_ilogbf.c: Add #include <limits.h>.
13747 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13749         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13750         path instead of returning without unlocking.
13752         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13753         immediate-write ioctls.
13754         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13756 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13758         * sysdeps/mach/hurd/i386/init-first.c (init): Use
13759         __builtin_frame_address instead of making assumptions about the
13760         location of the return address relative to DATA.  Force early load of
13761         the return address.
13762         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13763         __builtin_frame_address.
13765         dup3 for GNU Hurd.
13766         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13767         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
13768         implement dup3 and do some further code clean-ups.
13769         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13770         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13774         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13776         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13777         HURD_CRITICAL_END around holding _hurd_dtable_lock.
13778         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13779         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13780         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13781         d->port.lock.
13783         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13784         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
13785         when handler == SIG_ERR, not when handler != SIG_ERR.
13787 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13789         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13790         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13791         definitions.
13793         accept4 for GNU Hurd.
13794         * include/sys/socket.h (__libc_accept4): New prototype.
13795         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
13796         to implement __libc_accept4.
13797         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13798         __libc_accept4.
13799         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13801         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13802         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13803         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13804         signal-defines.sym.
13806 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13808         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13810 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13812         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13813         assertion on O_CLOEXEC flag.
13814         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13815         * hurd/intern-fd.c: Likewise.
13816         * hurd/port2fd.c: Likewise.
13818 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13820         [BZ #3906]
13821         * bits/in.h (IPV6_PKTINFO): Define new macro.
13822         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13824 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13826         [BZ #13954]
13827         [BZ #13955]
13828         [BZ #13956]
13829         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13830         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13831         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13832         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13833         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13834         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13835         * math/libm-test.inc (logb_test) : Additional logb tests.
13837 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
13838             Andreas Jaeger  <aj@suse.de>
13840         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13841         * configure: Regenerated.
13842         * config.h.in (LINK_OBSOLETE_RPC): New macro.
13843         * config.make.in (link-obsolete-rpc): New substituted variable.
13844         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13845         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13846         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13847         (shared-only-routines): Don't set it under [link-obsolete-rpc],
13848         so that libc.a contains the symbols.
13849         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13850         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13851         * sunrpc/auth_none.c: Likewise.
13852         * sunrpc/auth_unix.c: Likewise.
13853         * sunrpc/authdes_prot.c: Likewise.
13854         * sunrpc/authuxprot.c: Likewise.
13855         * sunrpc/clnt_gen.c: Likewise.
13856         * sunrpc/clnt_perr.c: Likewise.
13857         * sunrpc/clnt_raw.c: Likewise.
13858         * sunrpc/clnt_simp.c: Likewise.
13859         * sunrpc/clnt_tcp.c: Likewise.
13860         * sunrpc/clnt_udp.c: Likewise.
13861         * sunrpc/clnt_unix.c: Likewise.
13862         * sunrpc/des_crypt.c: Likewise.
13863         * sunrpc/des_soft.c: Likewise.
13864         * sunrpc/get_myaddr.c: Likewise.
13865         * sunrpc/key_call.c: Likewise.
13866         * sunrpc/key_prot.c: Likewise.
13867         * sunrpc/netname.c: Likewise.
13868         * sunrpc/pm_getmaps.c: Likewise.
13869         * sunrpc/pm_getport.c: Likewise.
13870         * sunrpc/pmap_clnt.c: Likewise.
13871         * sunrpc/pmap_prot.c: Likewise.
13872         * sunrpc/pmap_prot2.c: Likewise.
13873         * sunrpc/pmap_rmt.c: Likewise.
13874         * sunrpc/publickey.c: Likewise.
13875         * sunrpc/rpc_cmsg.c: Likewise.
13876         * sunrpc/rpc_common.c: Likewise.
13877         * sunrpc/rpc_dtable.c: Likewise.
13878         * sunrpc/rpc_prot.c: Likewise.
13879         * sunrpc/rpc_thread.c: Likewise.
13880         * sunrpc/rtime.c: Likewise.
13881         * sunrpc/svc.c: Likewise.
13882         * sunrpc/svc_auth.c: Likewise.
13883         * sunrpc/svc_raw.c: Likewise.
13884         * sunrpc/svc_run.c: Likewise.
13885         * sunrpc/svc_tcp.c: Likewise.
13886         * sunrpc/svc_udp.c: Likewise.
13887         * sunrpc/svc_unix.c: Likewise.
13888         * sunrpc/svcauth_des.c: Likewise.
13889         * sunrpc/xcrypt.c: Likewise.
13890         * sunrpc/xdr.c: Likewise.
13891         * sunrpc/xdr_array.c: Likewise.
13892         * sunrpc/xdr_float.c: Likewise.
13893         * sunrpc/xdr_intXX_t.c: Likewise.
13894         * sunrpc/xdr_mem.c: Likewise.
13895         * sunrpc/xdr_rec.c: Likewise.
13896         * sunrpc/xdr_ref.c: Likewise.
13897         * sunrpc/xdr_sizeof.c: Likewise.
13898         * sunrpc/xdr_stdio.c: Likewise.
13900 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13902         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13903         change.  Update copyright years.
13905 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13907         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13909 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
13910             Joseph Myers  <joseph@codesourcery.com>
13911             Paul Pluzhnikov  <ppluzhnikov@google.com>
13913         [BZ #14012]
13914         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13915         requiring rpcgen.
13916         [cross-compiling] (extra-libs): Likewise.
13917         [cross-compiling] (extra-libs-others): Likewise.
13918         [cross-compiling] (librpcsvc-routines): Likewise.
13919         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13920         [cross-compiling] (omit-deps): Likewise.
13921         (sunrpc-CPPFLAGS): New variable.
13922         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13923         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13924         (cross-rpcgen-objs): New variable.
13925         (extra-objs): Append $(cross-rpcgen-objs).
13926         ($(cross-rpcgen-objs)): New rule.
13927         ($(objpfx)cross-rpcgen): Likewise.
13928         (rpcgen-cmd): Define to use $(built-program-file).  Expand
13929         comment.
13930         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13931         ($(objpfx)x%.stmp): Likewise.
13932         * sunrpc/proto.h [IS_IN_build] (_): Define.
13933         [IS_IN_build] (_libc_intl_domainname): Likewise.
13935 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13937         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13938         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13939         and R_X86_64_TPOFF64.
13941 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13943         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13944         sysdeps/unix/sysv/syscalls.list.
13945         (stime): Likewise.
13946         (utime): Likewise.
13947         * sysdeps/unix/sysv/syscalls.list: Remove file.
13949 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
13951         [BZ #3440]
13952         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13953         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13954         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13955         (__LC_IDENTIFICATION): Make these macros useful in #if
13956         expressions, as required by C99.
13958 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
13960         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13961         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
13962         after this.
13964 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
13966         * stdlib/longlong.h: Updated from GCC.
13968 2012-05-09  Andreas Jaeger  <aj@suse.de>
13970         * nscd/nscd.c (run_modes): Make named enum, reorder so that
13971         default is first entry.
13972         (run_mode): Set type.
13973         (main): Remove informal message about syslog.
13974         (options): Fix typo.
13976         [BZ #14053]
13977         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13978         to asm.
13979         (lrint): Likewise.
13980         (llrintf): Likewise.
13981         (llrint): Likewise.
13982         (rint): Likewise.
13983         (rintf): Likewise.
13984         (nearbyint): Likewise.
13985         (nearbyintf): Likewise.
13987 2012-05-09  Andreas Jaeger  <aj@suse.de>
13988             Pedro Alves  <palves@redhat.com>
13990         * nscd/nscd.c (run_mode): Use enum.
13991         (main): Cleanup coding style issue.
13993 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
13994             Andreas Jaeger  <aj@suse.de>
13996         * nscd/nscd.c (go_background): Replaced with...
13997         (run_mode): ... this.
13998         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13999         (options): Add -F --foreground.
14000         (main): Implement it.
14001         (parse_opt): Parse it.
14003 2012-05-09  Andreas Jaeger  <aj@suse.de>
14005         [BZ #14083]
14006         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14007         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14008         -Wconversion warning.
14009         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14010         Likewise.
14012 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14014         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14015         == 0.
14016         (LC_ALL): Use macro-int-constant.
14017         (LC_COLLATE): Likewise.
14018         (LC_CTYPE): Likewise.
14019         (LC_MESSAGES): Likewise.
14020         (LC_MONETARY): Likewise.
14021         (LC_NUMERIC): Likewise.
14022         (LC_TIME): Likewise.
14023         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14024         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14025         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14026         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14027         Specify type.
14028         [C99-based standards] (float_t): Expect type.
14029         [C99-based standards] (double_t): Expect type.
14030         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14031         type.
14032         [C99-based standards] (HUGE_VALL): Likewise.
14033         [C99-based standards] (INFINITY): Likewise.
14034         [C99-based standards] (NAN): Likewise.
14035         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14036         [C99-based standards] (FP_NAN): Likewise.
14037         [C99-based standards] (FP_NORMAL): Likewise.
14038         [C99-based standards] (FP_SUBNORMAL): Likewise.
14039         [C99-based standards] (FP_ZERO): Likewise.
14040         [C99-based standards] (FP_FAST_FMA): Use
14041         optional-macro-int-constant.  Specify type.  Require == 1.
14042         [C99-based standards] (FP_FAST_FMAF): Likewise.
14043         [C99-based standards] (FP_FAST_FMAL): Likewise.
14044         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14045         [C99-based standards] (FP_ILOGBNAN): Likewise.
14046         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14047         Specify type.
14048         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14049         [C99-based standards] (math_errhandling): Specify type.
14050         [ISO99 || ISO11] (signgam): Do not allow.
14051         [non-C99-based standards] (copysignf): Do not allow.
14052         [non-C99-based standards] (exp2f): Likewise.
14053         [non-C99-based standards] (log2f): Likewise.
14054         [non-C99-based standards] (modff): Allow.
14055         [non-C99-based standards] (erff): Do not allow.
14056         [non-C99-based standards] (erfcf): Likewise.
14057         [non-C99-based standards] (gammaf): Likewise.
14058         [non-C99-based standards] (hypotf): Likewise.
14059         [non-C99-based standards] (j0f): Likewise.
14060         [non-C99-based standards] (j1f): Likewise.
14061         [non-C99-based standards] (jnf): Likewise.
14062         [non-C99-based standards] (lgammaf): Likewise.
14063         [non-C99-based standards] (tgammaf): Likewise.
14064         [non-C99-based standards] (y0f): Likewise.
14065         [non-C99-based standards] (y1f): Likewise.
14066         [non-C99-based standards] (ynf): Likewise.
14067         [non-C99-based standards] (isnanf): Likewise.
14068         [non-C99-based standards] (acoshf): Likewise.
14069         [non-C99-based standards] (asinhf): Likewise.
14070         [non-C99-based standards] (atanhf): Likewise.
14071         [non-C99-based standards] (cbrtf): Likewise.
14072         [non-C99-based standards] (expm1f): Likewise.
14073         [non-C99-based standards] (ilogbf): Likewise.
14074         [non-C99-based standards] (log1pf): Likewise.
14075         [non-C99-based standards] (logbf): Likewise.
14076         [non-C99-based standards] (nextafterf): Likewise.
14077         [non-C99-based standards] (remainderf): Likewise.
14078         [non-C99-based standards] (rintf): Likewise.
14079         [non-C99-based standards] (scalbf): Likewise.
14080         [non-C99-based standards] (copysignl): Likewise.
14081         [non-C99-based standards] (exp2l): Likewise.
14082         [non-C99-based standards] (log2l): Likewise.
14083         [non-C99-based standards] (modfl): Allow.
14084         [non-C99-based standards] (erfl): Do not allow.
14085         [non-C99-based standards] (erfcl): Likewise.
14086         [non-C99-based standards] (gammal): Likewise.
14087         [non-C99-based standards] (hypotl): Likewise.
14088         [non-C99-based standards] (j0l): Likewise.
14089         [non-C99-based standards] (j1l): Likewise.
14090         [non-C99-based standards] (jnl): Likewise.
14091         [non-C99-based standards] (lgammal): Likewise.
14092         [non-C99-based standards] (tgammal): Likewise.
14093         [non-C99-based standards] (y0l): Likewise.
14094         [non-C99-based standards] (y1l): Likewise.
14095         [non-C99-based standards] (ynl): Likewise.
14096         [non-C99-based standards] (isnanl): Likewise.
14097         [non-C99-based standards] (acoshl): Likewise.
14098         [non-C99-based standards] (asinhl): Likewise.
14099         [non-C99-based standards] (atanhl): Likewise.
14100         [non-C99-based standards] (cbrtl): Likewise.
14101         [non-C99-based standards] (expm1l): Likewise.
14102         [non-C99-based standards] (ilogbl): Likewise.
14103         [non-C99-based standards] (log1pl): Likewise.
14104         [non-C99-based standards] (logbl): Likewise.
14105         [non-C99-based standards] (nextafterl): Likewise.
14106         [non-C99-based standards] (remainderl): Likewise.
14107         [non-C99-based standards] (rintl): Likewise.
14108         [non-C99-based standards] (scalbl): Likewise.
14109         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14110         [non-C99-based standards] (FP_*): Do not allow.
14111         [C99-based standards] (FP_*): Change to
14112         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14113         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14114         allow.
14115         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14116         (SIG_ERR): Likewise.
14117         [X/Open-based standards] (SIG_HOLD): Likewise.
14118         (SIG_IGN): Likewise.
14119         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14120         positive value.
14121         (SIGFPE): Likewise.
14122         (SIGILL): Likewise.
14123         (SIGINT): Likewise.
14124         (SIGSEGV): Likewise.
14125         (SIGTER): Likewise.
14126         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14127         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14128         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14129         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14130         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14131         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14132         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14133         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14134         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14135         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14136         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14137         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14138         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14139         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14140         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14141         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14142         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14143         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14144         [X/Open-based standards] (SIGTRAP): Likewise.
14145         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14146         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14147         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14148         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14149         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14150         allow.
14152 2012-05-08  Ian Wienand  <ianw@vmware.com>
14154         [BZ #14080]
14155         * time/tzset.c (__tzset_parse_tz): Update default rules for
14156         daylight time changes in the Energy Policy Act of 2005.
14158 2012-05-09  Andreas Jaeger  <aj@suse.de>
14160         [BZ #13983]
14161         * elf/ldconfig.c (parse_conf): Change string to make clear that
14162         ldconfig only issued a warning if ld.so.conf does not exist.
14164 2012-05-08  David S. Miller  <davem@davemloft.net>
14166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14167         movxtod instead of popping the value on the stack.
14169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14171 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14173         * config.h.in: Add HAVE_ARM_PCS_VFP.
14175 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14177         [BZ #13979]
14178         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14179         checking but the checks are disabled for any reason.
14181 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14183         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14184         and ELF64_R_TYPE with ELFW(R_TYPE).
14186 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14188         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14189         (ulimit): Likewise.
14191         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14192         (settimeofday): Likewise.
14194 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14196         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14197         a struct th_u2 inside the union, and move tu_block/tu_code into
14198         a new th_u3 union of tu_block/tu_code inside of that.  Move
14199         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14200         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14201         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14202         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14203         (th_stuff): Change to th_u1.tu_stuff.
14204         (th_data): Define.
14205         (th_msg): Change to th_u1.th_u2.tu_data.
14207 2012-05-07  David S. Miller  <davem@davemloft.net>
14209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14211         [BZ #14074]
14212         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14213         (SETUP_PIC_REG): Use it.
14214         (SETUP_PIC_REG_LEAF): Use it.
14216 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14218         [BZ #13885]
14219         [BZ #13923]
14220         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14221         USE_AS_EXPM1L.
14222         (EXPL_FINITE): Likewise.
14223         (FLDLOG): Likewise.
14224         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14225         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14226         e_expl.S.
14227         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14228         USE_AS_EXPM1L.
14229         (EXPL_FINITE): Likewise.
14230         (FLDLOG): Likewise.
14231         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14232         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14233         e_expl.S.
14234         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14235         test of -max_value argument for long double.
14236         * sysdeps/i386/fpu/libm-test-ulps: Update.
14237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14239 2012-05-06  David S. Miller  <davem@davemloft.net>
14241         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14242         quad soft-float symbols whose references which are compiler
14243         generated.
14244         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14246 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14248         [BZ #13884]
14249         [BZ #13914]
14250         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14251         USE_AS_EXP10L.
14252         (EXPL_FINITE): Likewise.
14253         (FLDLOG): Likewise.
14254         (c0): Likewise.
14255         (c1): Likewise.
14256         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14257         Adjust comments for base varying.
14258         (__expl_finite): Change alias to EXPL_FINITE.
14259         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14260         e_expl.S.
14261         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14262         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14263         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14264         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14265         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14266         USE_AS_EXP10L.
14267         (EXPL_FINITE): Likewise.
14268         (FLDLOG): Likewise.
14269         (c0): Likewise.
14270         (c1): Likewise.
14271         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14272         Adjust comments for base varying.
14273         (__expl_finite): Change alias to EXPL_FINITE.
14274         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14275         tests for bugs.
14276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14278         [BZ #14064]
14279         * math/libm-test.inc (check_float_internal): Correct ulp
14280         calculation for subnormal expected results.
14282 2012-05-06  Andreas Jaeger  <aj@suse.de>
14284         * Makeconfig (+math-flags): New, set to -frounding-math.
14285         (+cflags): Add +math-flags so that all of glibc gets compiled with
14286         it.
14288         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14290 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14292         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14293         Disable one test.
14295         [BZ #13787]
14296         [BZ #13922]
14297         [BZ #14036]
14298         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14299         (__ieee754_expl): Allow for and saturate large arguments.
14300         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14301         (u_threshold): Likewise.
14302         (__exp): Call __ieee754_exp before checking for overflow and
14303         underflow.
14304         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14305         (u_threshold): Likewise.
14306         (__expf): Call __ieee754_expf before checking for overflow and
14307         underflow.
14308         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14309         (u_threshold): Likewise.
14310         (__expl): Call __ieee754_expl before checking for overflow and
14311         underflow.
14312         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14313         (__ieee754_expl): Allow for and saturate large arguments.
14314         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14315         missing overflow exception on overflow.
14316         (expm1_test): Do not allow missing overflow exception on overflow.
14318         * sysdeps/i386/fpu/e_expl.c: Move to ...
14319         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14320         rather than using inline asm.
14321         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14322         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14323         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14325         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14326         (nice): Likewise.
14327         (poll): Likewise.
14328         (signal): Likewise.
14329         (time): Likewise.
14330         (times): Likewise.
14332 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14334         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14335         sysdeps/unix/common/syscalls.list.
14336         (fchmod): Likewise.
14337         (fchown): Likewise.
14338         (ftruncate): Likewise.
14339         (getrusage): Likewise.
14340         (gettimeofday): Likewise.
14341         (setpgid): Likewise.
14342         (setregid): Likewise.
14343         (setreuid): Likewise.
14344         (sigaction): Likewise.
14345         (truncate): Likewise.
14346         (vhangup): Likewise.
14347         * sysdeps/unix/common/syscalls.list: Remove file.
14348         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14349         * sysdeps/unix/sysv/linux/Implies: Likewise.
14351 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14353         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14355         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14356         Moved to ...
14357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14358         Here.
14359         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14360         to ...
14361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14362         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14363         to ...
14364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14365         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14366         to ...
14367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14368         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14369         to ...
14370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14371         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14372         to ...
14373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14374         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14375         to ...
14376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14377         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14378         to ...
14379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14380         Here.
14381         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14382         to ...
14383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14384         Here.
14385         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14386         to ...
14387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14388         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14389         Moved to ...
14390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14391         Here.
14392         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14393         to ...
14394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14396 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14398         * sysdeps/unix/common/bits/dirent.h: Remove file.
14399         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14401         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14402         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14403         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14404         * sysdeps/unix/bsd/isatty.c: Likewise.
14405         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14406         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14407         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14409 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14411         [BZ #13563]
14412         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14413         long double comparison inaccuracies.
14414         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14417 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14419         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14420         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14422 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14424         [BZ #14049]
14425         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14426         nonzero digits before rounding a hex value.
14427         * stdlib/tst-strtod.c (tests): Add another test.
14429 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14431         * sysdeps/s390/fpu/libm-test-ulps: Update.
14433 2012-05-03  Andreas Jaeger  <aj@suse.de>
14435         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14436         does not get optimized out.
14437         (malloc_opt_barrier): New.
14439 2012-05-03  Andreas Jaeger  <aj@suse.de>
14440             Roland McGrath  <roland@hack.frob.com>
14442         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14443         intermediate file deletion.
14444         (generated): Add .symlist files.
14446 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14448         [BZ #13775]
14449         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14450         Redirect under this condition.
14451         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14452         [__USE_GNU] (__dprintf_chk): Not under this condition.
14453         [__USE_GNU] (__vdprintf_chk): Likewise.
14454         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14455         under this condition.
14456         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14457         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14458         [__USE_XOPEN2K8] (vdprintf): Likewise.
14459         [__USE_GNU] (__dprintf_chk): Not under this condition.
14460         [__USE_GNU] (__vdprintf_chk): Likewise.
14461         [__USE_GNU] (dprintf): Likewise.
14462         [__USE_GNU] (vdprintf): Likewise.
14464 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14466         * elf/Makefile (common-generated): Set this instead of generated for
14467         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14468         $(all-built-dso)-derived lists.
14470 2012-05-03  Andreas Jaeger  <aj@suse.de>
14472         * sysdeps/i386/fpu/libm-test-ulps: Update.
14474         * FAQ: Removed.
14475         * FAQ.in: Likewise.
14476         * scripts/gen-FAQ.pl: Likewise.
14477         * manual/install.texi (Installation): Point to online location of
14478         FAQ.
14479         * Makefile (files-for-dist): Remove FAQ.
14480         (FAQ): Remove.
14482 2012-05-02  Allan McRae  <allan@archlinux.org>
14484         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14485         (LDFLAGS-reldepmod5.so): Likewise.
14486         (LDFLAGS-reldep6mod1.so): Likewise.
14487         (LDFLAGS-reldep6mod4.so): Likewise.
14488         (LDFLAGS-reldep8mod3.so): Likewise.
14489         (LDFLAGS-unload4mod1.so): Likewise.
14490         (LDFLAGS-unload4mod2.so): Likewise.
14491         (LDFLAGS-tst-initorder): Likewise.
14492         (LDFLAGS-tst-initordera2.so): Likewise.
14493         (LDFLAGS-tst-initordera3.so): Likewise.
14494         (LDFLAGS-tst-initordera4.so): Likewise.
14495         (LDFLAGS-tst-initorderb2.so): Likewise.
14496         (LDFLAGS-noload): Likewise.
14497         (LDFLAGS-next): Likewise.
14498         (LDFLAGS-order2mod1.so): Likewise.
14499         (LDFLAGS-order2mod2.so): Likewise.
14500         (LDFLAGS-tst-initorder2): Likewise.
14501         (LDFLAGS-tst-initorder2a.so): Likewise.
14502         (LDFLAGS-tst-initorder2b.so): Likewise.
14503         (LDFLAGS-tst-initorder2c.so): Likewise.
14504         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14506 2012-05-02  David S. Miller  <davem@davemloft.net>
14508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14510 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14512         [BZ #14055]
14513         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14515 2012-05-02  Andreas Jaeger  <aj@suse.de>
14517         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14518         since we manipulate rounding mode.
14519         (CPPFLAGS-test-idouble.c): Likewise.
14520         (CPPFLAGS-test-ifloat.c): Likewise.
14521         (CFLAGS-test-ldouble.c): Likewise.
14522         (CFLAGS-test-double.c): Likewise.
14523         (CFLAGS-test-float.c): Likewise.
14524         (CFLAGS-test-misc.c): Likewise.
14525         (CFLAGS-test-test-fenv.c): Likewise.
14527 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14529         [BZ #2550]
14530         [BZ #2570]
14531         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14532         comparisons to determine direction to adjust input.
14534 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14536         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14537         output to the target.
14539         * scripts/localplt.awk: New file.
14540         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14541         (check-localplt-CFLAGS): Variable removed.
14542         ($(all-built-dso:=.jmprel)): New static pattern rule.
14543         (generated): Add those targets.
14544         (localplt-built-dso): New variable.
14545         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14547         * elf/check-localplt.c: File removed.
14549         * scripts/check-execstack.awk: New file.
14550         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14551         (check-execstack-CFLAGS): Variable removed.
14552         ($(objpfx)check-execstack.h): Target removed.
14553         ($(objpfx)execstack-default): New target.
14554         (generated): Add that instead of check-execstack.h.
14555         ($(all-built-dso:=.phdr)): New static pattern rule.
14556         (generated): Add those targets.
14557         * elf/check-execstack.c: File removed.
14559         * scripts/check-textrel.awk: New file.
14560         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14561         (check-textrel-CFLAGS): Variable removed.
14562         (all-built-dso): Use := to define.o
14563         ($(all-built-dso:=.dyn)): New static pattern rule.
14564         (generated): Add those targets.
14565         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14566         * config.make.in (READELF): New substituted variable.
14567         * elf/check-textrel.c: File removed.
14569 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14571         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14572         allow.
14573         * conform/data/ctype.h-data [C99-based standards] (isblank):
14574         Expect function.
14575         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14576         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14577         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14578         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14579         Specify type.  Require positive value.
14580         (EILSEQ): Likewise.
14581         (ERANGE): Likewise.
14582         [ISO || POSIX] (EILSEQ): Do not expect.
14583         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14584         Specify type.  Require positive value.
14585         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14586         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14587         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14588         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14589         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14590         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14591         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14592         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14593         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14594         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14595         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14596         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14597         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14598         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14599         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14600         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14601         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14602         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14603         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14604         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14605         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14606         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14607         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14608         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14609         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14610         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14611         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14612         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14613         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14614         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14615         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14616         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14617         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14618         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14619         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14620         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14621         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14622         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14623         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14624         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14625         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14626         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14627         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14628         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14629         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14630         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14631         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14632         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14633         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14634         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14635         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14636         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14637         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14638         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14639         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14640         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14641         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14642         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14643         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14644         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14645         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14646         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14647         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14648         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14649         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14650         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14651         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14652         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14653         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14654         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14655         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14656         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14657         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14658         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14659         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14660         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14661         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14662         Require >= 2.
14663         (FLT_ROUNDS): Expect as macro, not constant.
14664         (FLT_MANT_DIG): Use macro-int-constant.
14665         (DBL_MANT_DIG): Likewise.
14666         (LDBL_MANT_DIG): Likewise.
14667         (FLT_DIG): Likewise.
14668         (DBL_DIG): Likewise.
14669         (LDBL_DIG): Likewise.
14670         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
14671         (DBL_MIN_EXP): Likewise.
14672         (LDBL_MIN_EXP): Likewise.
14673         (FLT_MAX_EXP): Use macro-int-constant.
14674         (DBL_MAX_EXP): Likewise.
14675         (LDBL_MAX_EXP): Likewise.
14676         (FLT_MAX_10_EXP): Likewise.
14677         (DBL_MAX_10_EXP): Likewise.
14678         (LDBL_MAX_10_EXP): Likewise.
14679         (FLT_MAX): Use macro-constant.
14680         (DBL_MAX): Likewise.
14681         (LDBL_MAX): Likewise.
14682         (FLT_EPSILON): Use macro-constant.  Give upper bound.
14683         (DBL_EPSILON): Likewise.
14684         (LDBL_EPSILON): Likewise.
14685         (FLT_MIN): Likewise.
14686         (DBL_MIN): Likewise.
14687         (LDBL_MIN): Likewise.
14688         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14689         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14690         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14691         [ISO11] (FLT_HAS_SUBNORM): Likewise.
14692         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14693         [ISO11] (DBL_DECIMAL_DIG): Likewise.
14694         [ISO11] (FLT_DECIMAL_DIG): Likewise.
14695         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14696         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14697         [ISO11] (FLT_TRUE_MIN): Likewise.
14698         [ISO11] (LDBL_TRUE_MIN): Likewise.
14699         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14700         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14701         (SCHAR_MIN): Use macro-int-constant.  Specify type.
14702         (SCHAR_MAX): Likewise.
14703         (UCHAR_MAX): Likewise.
14704         (CHAR_MIN): Likewise.
14705         (CHAR_MAX): Likewise.
14706         (MB_LEN_MAX): Use macro-int-constant.
14707         (SHRT_MIN): Use macro-int-constant.  Specify type.
14708         (SHRT_MAX): Likewise.
14709         (USHRT_MAX): Likewise.
14710         (INT_MAX): Likewise.
14711         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
14712         bound negative.
14713         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14714         bound with "U".
14715         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14716         bound with "L".
14717         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
14718         bound negative.  Suffix upper bound with "L".
14719         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14720         bound with "UL".
14721         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14722         Specify type.
14723         [C99-based standards] (LLONG_MAX): Likewise.
14724         [C99-based standards] (ULLONG_MAX): Likewise.
14725         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
14726         == 0.
14727         [ISO11] (max_align_t): Require type.
14728         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14730         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14731         from $CFLAGS, without defining away __attribute__ calls.
14732         (checknamespace): Use $CFLAGS_namespace.
14734         * conform/conformtest.pl (@keywords): Only include C99 keywords
14735         for standards based on C99 or C11.
14737         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14738         Disable tests.
14739         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14740         UNIX98]: Likewise.
14742         * conform/conformtest.pl: Handle "macro-int-constant" and test for
14743         usability of symbols in #if.
14745         * conform/conformtest.pl: If macro or constant types start
14746         "promoted:", expect the symbol to be of the following type
14747         promoted by the integer promotions.
14749         * conform/conformtest.pl: Parse all "constant" and "macro" lines
14750         in one place.  Also handle "macro-constant".
14752         * conform/conformtest.pl: Only accept expected macro values with
14753         "==".  Parse all "macro" lines in one place.
14754         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14756         * conform/conformtest.pl: Handle braced types on "constant" lines
14757         instead of handling "typed-constant".
14758         * conform/data/signal.h-data: Use "constant" instead of
14759         "typed-constant".
14761         * conform/conformtest.pl: Handle "optional-" at start of lines in
14762         one place rather than duplicating several cases.  Handle each
14763         format of "macro" line with initial "optional-".
14765         * conform/conformtest.pl: Only accept expected constant or
14766         optional-constant values with "==".  Parse all "constant" lines in
14767         one place.  Parse all "optional-constant" lines in one place.
14768         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14769         * conform/data/fmtmsg.h-data: Likewise.
14770         * conform/data/netinet/in.h-data: Likewise.
14771         * conform/data/tar.h-data: Likewise.
14772         * conform/data/limits.h-data: Use "==" form on "constant" and
14773         "optional-constant" lines.
14775         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14776         Use -std=c99 for XOPEN2K.
14777         (@knownproblems): Remove.
14778         (newtoken): Don't check %isknown.
14780         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14781         Do not expect macro.
14782         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14783         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14784         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14785         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14786         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14787         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14788         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14789         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14790         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14791         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14792         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14793         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14794         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14795         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14796         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14797         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14798         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14799         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14800         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14801         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14802         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14803         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14804         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14805         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14806         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14807         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14808         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14809         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14810         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14811         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14812         [XPG3] (acosh): Likewise.
14813         [XPG3] (asinh): Likewise.
14814         [XPG3] (atanh): Likewise.
14815         [XPG3] (cbrt): Likewise.
14816         [XPG3] (expm1): Likewise.
14817         [XPG3] (ilogb): Likewise.
14818         [XPG3] (log1p): Likewise.
14819         [XPG3] (logb): Likewise.
14820         [XPG3] (nextafter): Likewise.
14821         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14822         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14823         [XPG3] (remainder): Likewise.
14824         [XPG3] (rint): Likewise.
14825         [XPG3 || XPG4 || UNIX98] (round): Likewise.
14826         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14827         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14828         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14829         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14830         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14831         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14832         [UNIX98 || XOPEN2K] (scalb): Expect.
14833         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14834         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14835         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14836         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14837         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14838         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14839         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14840         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14841         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14842         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14843         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14844         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14845         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14846         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14847         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14848         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14849         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14850         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14851         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14852         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14853         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14854         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14855         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14856         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14857         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14858         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14859         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14860         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14861         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14862         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14863         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14864         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14865         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14866         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14867         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14868         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14869         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14870         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14871         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14872         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14873         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14874         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14875         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14876         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14877         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14878         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14879         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14880         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14881         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14882         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14883         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14884         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14885         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14886         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14887         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14888         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14889         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14890         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14891         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14892         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14893         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14894         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14895         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14896         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14897         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14898         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14899         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14900         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14901         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14902         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14903         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14904         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14905         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14906         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14907         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14908         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14909         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14910         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14911         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14912         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14913         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14914         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14915         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14916         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14917         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14918         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14919         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14920         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14921         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14922         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14923         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14924         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14925         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14926         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14927         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14928         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14929         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14930         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14931         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14932         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14933         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14934         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14935         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14936         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14937         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14938         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14939         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14940         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14941         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14942         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14943         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14944         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14945         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14946         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14947         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14948         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14949         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14950         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14951         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14952         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14953         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14954         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14955         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14956         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14957         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14958         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14959         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14960         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14961         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14962         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14963         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14964         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14965         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14966         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14967         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14968         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14969         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14971         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14972         _XOPEN_SOURCE_EXTENDED for XPG4.
14974         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14976         * Makeconfig (localtime): Remove variable.
14977         (inst_localtime-file): Likewise.
14979 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14982         Update.
14983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14984         Update.
14985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14986         Update.
14987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14988         Update.
14989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14990         Update.
14991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14992         Update.
14993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14994         Update.
14995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14996         Update.
14997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14998         Update.
15000 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15002         [BZ #2550]
15003         [BZ #2570]
15004         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15005         comparisons to determine direction to adjust input.
15006         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15007         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15008         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15009         Likewise.
15010         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15011         Likewise.
15012         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15013         Likewise.
15014         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15015         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15016         Likewise.
15017         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15018         Likewise.
15019         * math/libm-test.inc (nexttoward_test): Add more tests.
15021 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15023         [BZ #14040]
15024         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15025         in version GLIBC_2.1, not GLIBC_2.0.
15026         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15027         Likewise.
15029 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15031         [BZ #13942]
15032         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15033         (1 - x) * (1 + x).
15034         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15035         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15036         * math/libm-test.inc (acos_test): Add more tests.
15037         (asin_test): Likewise.
15038         * sysdeps/i386/fpu/libm-test-ulps: Update.
15039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15041         [BZ #14034]
15042         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15043         of square root.
15044         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15045         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15046         * math/libm-test.inc (acos_test_tonearest): New function.
15047         (acos_test_towardzero): Likewise.
15048         (acos_test_downward): Likewise.
15049         (acos_test_upward): Likewise.
15050         (asin_test_tonearest): Likewise.
15051         (asin_test_towardzero): Likewise.
15052         (asin_test_downward): Likewise.
15053         (asin_test_upward): Likewise.
15054         (main): Call the new functions.
15055         * sysdeps/i386/fpu/libm-test-ulps: Update.
15056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15058         [BZ #13884]
15059         [BZ #13924]
15060         * math/e_exp10.c: Include <float.h>.
15061         (__ieee754_exp10): Handle underflow here rather than multiplying
15062         large negative argument by M_LN10.
15063         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15064         of __ieee754_expf.
15065         * math/e_exp10l.c: Include <float.h>.
15066         (__ieee754_exp10l): Handle underflow here rather than multiplying
15067         large negative argument by M_LN10l.
15068         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15069         spurious overflow exception on underflow.
15071 2012-04-29  Marek Polacek  <polacek@redhat.com>
15073         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15074         (__fortify_function): New macro.
15075         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15076         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15077         __extern_always_inline.
15078         * libio/bits/stdio2.h: Likewise.
15079         * libio/bits/stdio.h: Likewise.
15080         * string/string.h: Likewise.
15081         * string/bits/string3.h: Likewise.
15082         * include/stdio.h: Likewise.
15083         * stdlib/bits/stdlib.h: Likewise.
15084         * stdlib/stdlib.h: Likewise.
15085         * rt/bits/mqueue2.h: Likewise.
15086         * rt/mqueue.h: Likewise.
15087         * posix/bits/unistd.h: Likewise.
15088         * posix/unistd.h: Likewise.
15089         * io/bits/poll2.h: Likewise.
15090         * io/bits/fcntl2.h: Likewise.
15091         * io/fcntl.h: Likewise.
15092         * io/sys/poll.h: Likewise.
15093         * misc/bits/syslog.h: Likewise.
15094         * misc/bits/syslog-ldbl.h: Likewise.
15095         * misc/sys/syslog.h: Likewise.
15096         * socket/bits/socket2.h: Likewise.
15097         * socket/sys/socket.h: Likewise.
15098         * debug/tst-chk1.c: Likewise.
15099         * wcsmbs/bits/wchar2.h: Likewise.
15100         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15101         * wcsmbs/wchar.h: Likewise.
15103 2012-04-29  Andreas Jaeger  <aj@suse.de>
15105         * Makerules (tests): Remove enable-check-abi protection.
15106         (check-abi-warn): Remove.
15107         (check-abi-%): Remove check-abi-warn usage.
15109         * configure.in: Remove check-abi configure option.
15110         * configure: Regenerated.
15111         * config.make.in (enable-check-abi): Remove.
15113 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15115         [BZ #14033]
15116         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15117         double functions to double *_finite functions.
15119         [BZ #13941]
15120         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15121         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15122         LDBL_MIN_EXP.
15123         * stdio-common/Makefile (tests): Add tst-sprintf3.
15124         * stdio-common/tst-sprintf3.c: New file.
15126         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15127         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15129 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15131         * conform/conformtest.pl: Remove duplicate typed-constant
15132         handling.
15134 2012-04-28  David S. Miller  <davem@davemloft.net>
15136         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15137         (check-abi-%): Remove AWK script prerequisite and explicit
15138         abilist directory.
15139         (check-abi): Rewrite to just diff the symlist with the abilist.
15140         (config-tls, config-abi-config): Delete, no longer used.
15141         (update-abi-%): Remove AWK script and explicit abilist directory.
15142         (update-abi): Rewrite to simply compare and conditionally copy the
15143         symlist and the sysdep abilist file.  Remove update-abi-config
15144         checks.
15145         * abilist/ld.abilist: Remove.
15146         * abilist/libBrokenLocale.abilist: Remove.
15147         * abilist/libanl.abilist: Remove.
15148         * abilist/libcrypt.abilist: Remove.
15149         * abilist/libdl.abilist: Remove.
15150         * abilist/librt.abilist: Remove.
15151         * abilist/libthread_db.abilist: Remove.
15152         * abilist/libutil.abilist: Remove.
15153         * scripts/extract-abilist.awk: Remove.
15154         * scripts/merge-abilist.awk: Remove.
15155         * sysdeps/generic/libcidn.abilist: New file.
15156         * sysdeps/generic/libnss_compat.abilist: New file.
15157         * sysdeps/generic/libnss_db.abilist: New file.
15158         * sysdeps/generic/libnss_dns.abilist: New file.
15159         * sysdeps/generic/libnss_files.abilist: New file.
15160         * sysdeps/generic/libnss_hesiod.abilist: New file.
15161         * sysdeps/generic/libnss_nis.abilist: New file.
15162         * sysdeps/generic/libnss_nisplus.abilist: New file.
15163         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15164         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15165         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15166         file.
15167         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15168         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15169         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15170         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15171         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15172         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15173         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15174         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15175         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15176         file.
15177         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15178         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15179         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15180         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15181         file.
15182         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15183         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15184         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15185         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15186         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15187         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15188         file.
15189         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15190         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15191         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15192         file.
15193         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15195         New file.
15196         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15197         New file.
15198         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15199         New file.
15200         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15201         New file.
15202         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15203         New file.
15204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15205         New file.
15206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15207         New file.
15208         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15209         New file.
15210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15211         New file.
15212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15213         New file.
15214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15215         New file.
15216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15217         New file.
15218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15219         New file.
15220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15221         file.
15222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15223         New file.
15224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15225         New file.
15226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15227         file.
15228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15229         New file.
15230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15231         New file.
15232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15233         file.
15234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15235         New file.
15236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15237         New file.
15238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15239         New file.
15240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15241         New file.
15242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15243         New file.
15244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15245         New file.
15246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15248         file.
15249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15250         New file.
15251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15252         file.
15253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15254         file.
15255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15256         file.
15257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15258         file.
15259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15260         file.
15261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15262         New file.
15263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15264         file.
15265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15266         file.
15267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15268         New file.
15269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15270         file.
15271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15273         file.
15274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15275         New file.
15276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15277         file.
15278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15279         file.
15280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15281         file.
15282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15283         file.
15284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15285         file.
15286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15287         New file.
15288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15289         file.
15290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15291         file.
15292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15293         New file.
15294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15295         file.
15296         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15297         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15298         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15299         file.
15300         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15301         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15302         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15303         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15304         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15305         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15306         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15307         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15308         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15309         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15312         file.
15313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15314         New file.
15315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15316         file.
15317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15318         file.
15319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15320         file.
15321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15322         file.
15323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15324         file.
15325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15326         New file.
15327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15328         New file.
15329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15330         file.
15331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15332         New file.
15333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15334         file.
15335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15337         file.
15338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15339         New file.
15340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15341         file.
15342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15343         file.
15344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15345         file.
15346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15347         file.
15348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15349         file.
15350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15351         New file.
15352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15353         New file.
15354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15355         file.
15356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15357         New file.
15358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15359         file.
15361 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15363         * conform/conformtest.pl: Fix typo in handling typed-constant from
15364         allow-header.
15366 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15368         * README: Cut down references to pre-2.6 Linux kernels and
15369         Linuxthreads.  Update lists of configurations in libc and ports
15370         and sort alphabetically.  Say "or newer" with Linux kernel version
15371         requirements.
15373         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15375 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15377         [BZ #887]
15378         * math/libm-test.inc (logb_test_downward): New test to expose
15379         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15380         rounding mode.
15382 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15384         [BZ #14027]
15385         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15386         to be done.
15387         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15388         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15390 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15392         * sysdeps/unix/i386/brk.S: Remove file.
15393         * sysdeps/unix/i386/dl-brk.S: Likewise.
15394         * sysdeps/unix/i386/pipe.S: Likewise.
15395         * sysdeps/unix/i386/sigreturn.S: Likewise.
15396         * sysdeps/unix/i386/syscall.S: Likewise.
15397         * sysdeps/unix/i386/vfork.S: Likewise.
15398         * sysdeps/unix/i386/wait.S: Likewise.
15400         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15401         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15403         * configure.in (arm*-none*): Do not allow without
15404         --enable-hacker-mode.
15405         (netbsd*): Remove case setting base_os.
15406         (386bsd*): Likewise.
15407         (freebsd*): Likewise.
15408         (bsdi*): Likewise.
15409         (osf*): Likewise.
15410         (sunos*): Likewise.
15411         (ultrix*): Likewise.
15412         (newsos*): Likewise.
15413         (dynix*): Likewise.
15414         (*bsd*): Likewise.
15415         (sysv*): Likewise.
15416         (isc*): Likewise.
15417         (esix*): Likewise.
15418         (sco*): Likewise.
15419         (minix*): Likewise.
15420         (irix4*): Likewise.
15421         (irix6*): Likewise.
15422         (solaris[2-9]*): Likewise.
15423         (none): Likewise.
15424         * configure: Regenerated.
15426 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15428         [BZ #11521]
15429         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15430         overflow or cancellation in calculating denominator.
15431         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15432         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15433         down expression to avoid unexpected rounding in newer GCCs.
15434         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15436 2012-04-26  David S. Miller  <davem@davemloft.net>
15438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15439         long-double compat symbols.
15440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15454 2012-04-25  David S. Miller  <davem@davemloft.net>
15456         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15457         HWCAP_* values only after the memory barriers have been defined.
15458         (atomic_full_barrier): Define.
15459         (atomic_read_barrier): Define.
15460         (atomic_write_barrier): Define.
15462 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15464         * shlib-versions: Add libgcc_s version information.
15465         * sysdeps/generic/libgcc_s.h: Remove.
15466         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15467         libgcc_s.h.
15468         * sysdeps/gnu/unwind-resume.c: Likewise.
15469         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15471 2012-04-25  David S. Miller  <davem@davemloft.net>
15473         * sysdeps/unix/sparc/brk.S: Delete.
15474         * sysdeps/unix/sparc/dl-brk.S: Delete.
15475         * sysdeps/unix/sparc/pipe.S: Delete.
15476         * sysdeps/unix/sparc/sysdep.S: Delete.
15477         * sysdeps/unix/sparc/sysdep.h: Delete.
15478         * sysdeps/unix/sparc/vfork.S: Delete.
15479         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15480         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15481         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15482         ret_ERRVAL, r0, r1, MOVE): Define.
15483         (JUMPTARGET): Remove.
15484         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15485         sysdeps/unix/sparc/sysdep.h
15486         (ENTRY, END): Remove.
15487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15489 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15491         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15492         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15493         -DIS_IN_build.
15495         * timezone/README: Update upstream location and email address for
15496         tzcode and tzdata.
15497         * timezone/zdump.c: Update from tzcode 2012b.
15498         * timezone/zic.c: Likewise.
15500         * configure.in (libc_cv_as_needed): Remove test.
15501         * configure: Regenerated.
15502         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15503         conditional definition.
15504         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15505         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15506         * config.make.in (have-as-needed): Remove variable.
15508 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15509             Paul Pluzhnikov  <ppluzhnikov@google.com>
15511         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15512         strings correctly.
15514 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15516         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15517         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15518         * sysdeps/sh/strlen.S: Likewise.
15520 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15522         * sysdeps/unix/fork.S: Remove file.
15523         * sysdeps/unix/i386/fork.S: Likewise.
15524         * sysdeps/unix/sparc/fork.S: Likewise.
15526         * sysdeps/unix/system.c: Remove file.
15527         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15529         * sysdeps/unix/getegid.S: Remove file.
15530         * sysdeps/unix/geteuid.S: Likewise.
15532 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15534         * scripts/check-localplt.awk: New file.
15535         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15536         of diff.
15537         * scripts/data/localplt-generic.data: Add a comment.
15539         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15540         NODE when __dir_mkfile failed.
15541         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15542         Reported by Ludovic Courtès <ludo@gnu.org>.
15544 2012-04-24  Andreas Jaeger  <aj@suse.de>
15546         * Makerules (common-clean): Also remove gen-as-const-headers
15547         files.
15549 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15551         * Makerules (native-compile): Do not change working directory for
15552         build.  Use $(OUTPUT_OPTION) in command.
15553         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15555 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15557         [BZ #13886]
15558         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15559         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15560         * math/libm-test.inc (floor_test): Add more tests.
15561         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15563 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15565         * sysdeps/unix/getdents.c: Remove file.
15566         * sysdeps/unix/sysv/getdents.c: Likewise.
15567         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15569         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15570         sysdeps/unix/mman/syscalls.list.
15571         (mmap): Likewise.
15572         (mprotect): Likewise.
15573         (msync): Likewise.
15574         (munmap): Likewise.
15575         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15576         * sysdeps/unix/mman/syscalls.list: Remove.
15577         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15579         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15580         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15581         * configure: Regenerated.
15582         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15583         $(libgcc_s_suffix).
15584         * config.make.in (libgcc_s_suffix): Remove variable.
15586 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15588         * sysdeps/unix/sysv/gethostname.c: Move to ...
15589         * sysdeps/posix/gethostname.c: ... here.
15591         * sysdeps/unix/execve.S: Remove file.
15593         * sysdeps/unix/_exit.S: Remove file.
15595 2012-04-23  Andreas Jaeger  <aj@suse.de>
15597         [BZ #13739]
15598         * manual/Makefile: Remove make dist support, there's no
15599         need for a stand-alone documentation tar ball.
15600         (TEXI2DVI): Define always, it's not in Makeconfig.
15601         (dist): Removed.
15602         (tar-it): Removed.
15603         (edition): Removed.
15604         (glibc-doc-$(edition).tar): Removed
15605         (%.Z): Removed.
15606         (%.gz): Removed.
15607         (%.uu): Removed.
15608         (ETAGS): Remove, it's in Makeconfig.
15609         (move-if-change): Remove, it's in Makeconfig.
15611 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15613         [BZ #13970]
15614         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15615         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15616         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15617         (strtod_l, strtof_l, strtold_l): Remove __wur.
15618         It is not necessarily an error to ignore strtol's return value.
15619         One can reliably look at the stored endptr to decide whether
15620         the number had valid syntax.
15622 2012-04-21  Andreas Jaeger  <aj@suse.de>
15624         [BZ #13739]
15625         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15627 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15629         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15630         * sysdeps/unix/sysv/Versions: Remove file.
15632 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15634         [BZ #13927]
15635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15637 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15639         [BZ #7064]
15640         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15641         version from __vm86.
15643 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15645         * sysdeps/unix/common/lxstat.c: Remove file.
15646         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15648         * sysdeps/unix/sysv/Makefile: Remove file.
15650         * sysdeps/unix/sysv/direct.h: Remove file.
15652         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15653         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15654         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15655         * sysdeps/unix/sysv/bits/signum.h: Likewise.
15656         * sysdeps/unix/sysv/bits/stat.h: Likewise.
15657         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15658         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15660         * sysdeps/unix/sysv/setrlimit.c: Remove file.
15662         * sysdeps/unix/xmknod.c: Remove file.
15663         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15665         * sysdeps/unix/sysv/settimeofday.c: Remove file.
15667         * sysdeps/unix/sysv/i386/time.S: Remove file.
15669         * sysdeps/unix/fxstat.c: Remove file.
15670         * sysdeps/unix/xstat.c: Likewise.
15671         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15673         * sysdeps/unix/sysv/sigaction.c: Remove file.
15675         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15676         (sysdep_headers): Remove variable.
15677         [termio.h not in sysdep_headers] (generated): Likewise.
15678         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15679         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15680         * sysdeps/unix/sysv/tcdrain.c: Likewise.
15681         * sysdeps/unix/sysv/tcflow.c: Likewise.
15682         * sysdeps/unix/sysv/tcflush.c: Likewise.
15683         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15684         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15685         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15686         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15687         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15689         * sysdeps/unix/siglist.c: Remove file.
15691         * sysdeps/unix/getppid.S: Remove file.
15693         * sysdeps/unix/mkdir.c: Remove file.
15694         * sysdeps/unix/rmdir.c: Likewise.
15696 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
15698         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15699         ERR_MAX value.
15700         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15701         errlist-compat value.
15703 2012-04-18  David S. Miller  <davem@davemloft.net>
15705         * sysdeps/generic/memcopy.h (reg_char): Delete.
15706         * debug/strcat_chk.c: Use char, not reg_char.
15707         * debug/strcpy_chk.c: Likewise.
15708         * debug/strncat_chk.c: Likewise.
15709         * debug/strncpy_chk.c: Likewise.
15710         * string/memchr.c: Likewise.
15711         * string/memrchr.c: Likewise.
15712         * string/rawmemchr.c: Likewise.
15713         * string/strcat.c: Likewise.
15714         * string/strchr.c: Likewise.
15715         * string/strchrnul.c: Likewise.
15716         * string/strcmp.c: Likewise.
15717         * string/strcpy.c: Likewise.
15718         * string/strncat.c: Likewise.
15719         * string/strncmp.c: Likewise.
15720         * string/strncpy.c: Likewise.
15722 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15724         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15725         __builtin_memcopy is called when src and dest ranges are known to not
15726         overlap.
15728 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15730         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15731         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15732         fwd_align_merge macro call.
15733         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15734         bwd_align_merge macro call.
15735         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15737 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15739         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15740         bwd_align_merge macros.
15741         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15742         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15743         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15745 2012-04-18  David S. Miller  <davem@davemloft.net>
15747         * sysdeps/sparc/sparc64/memcopy.h: Delete.
15749 2012-04-18  Andreas Jaeger  <aj@suse.de>
15751         [BZ# 6794]
15752         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15753         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15754         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15756         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15757         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15758         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15760         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15761         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15762         Adjust for changed ldbl-128 files.
15764         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15765         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15766         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15768 2012-04-17  David S. Miller  <davem@davemloft.net>
15770         * sysdeps/sparc/sparc32/memcopy.h: Delete.
15772 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
15774         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15775         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15776         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15777         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15778         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15779         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15781 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15783         [BZ #6794]
15784         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15785         * math/libm-test.inc: Add ilogb errno and exception tests.
15786         * math/w_ilogb.c: New file: ilogb wrapper.
15787         * math/w_ilogbf.c: New file: ilogbf wrapper.
15788         * math/w_ilogbl.c: New file: ilogbl wrapper.
15789         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15790         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15791         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15792         exception being thrown with 0.0 as argument.
15793         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15794         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15795         exception being thrown with 0.0 as argument.
15796         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15797         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15798         exception being thrown with 0.0 as argument.
15799         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15800         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15801         exception being thrown with 0.0 as argument.
15802         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15803         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15804         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15805         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15806         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15807         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15808         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15809         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15810         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15812 2012-04-17  Petr Baudis  <pasky@ucw.cz>
15814         * include/sys/uio.h: Change __vector to __iovec to avoid clash
15815         with altivec.
15817 2012-04-16  Marek Polacek  <polacek@redhat.com>
15819         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15821 2012-04-16  Marek Polacek  <polacek@redhat.com>
15823         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15824         operands of fdivp instruction.
15826 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15828         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15829         * elf/tst-auditmod3b.c: Likewise.
15830         * elf/tst-auditmod4b.c: Likewise.
15831         * elf/tst-auditmod5b.c: Likewise.
15832         * elf/tst-auditmod6b.c: Likewise.
15833         * elf/tst-auditmod6c.c: Likewise.
15834         * elf/tst-auditmod7b.c: Likewise.
15835         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15836         * sysdeps/x86_64/preconfigure.in: Likewise.
15837         * sysdeps/x86_64/preconfigure: Regenerated.
15839 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15841         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15842         __ILP32__.
15844 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
15846         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15847         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15849 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
15851         [BZ #13973]
15852         * locale/iso-639.def: Fix gl language name. Spotted by
15853         Yaron Shahrabani.
15855 2012-04-12  Roland McGrath  <roland@hack.frob.com>
15857         [BZ #2074]
15858         * libio/libio.h (__io_write_fn): Update comment.
15860 2012-04-12  Petr Baudis  <pasky@ucw.cz>
15862         [BZ #2074]
15863         * stdio.texi (Hook Functions): The user provided writer function
15864         is not allowed to return -1.
15866 2012-04-11  David S. Miller  <davem@davemloft.net>
15868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15870 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
15872         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15873         Add a leading slash to rtkaio.
15875 2012-04-11  Jim Meyering  <meyering@redhat.com>
15877         [BZ #11959]
15878         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15879         It is not necessarily an error to ignore fwrite's return
15880         value.  One can reliably use ferror to test for errors after
15881         the fact.
15883 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15885         * bits/types.h (__snseconds_t): New type.
15886         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15888         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15889         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15890         (__SNSECONDS_T_TYPE): Likewise.
15891         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15892         (__SNSECONDS_T_TYPE): Likewise.
15893         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15894         (__SNSECONDS_T_TYPE): Likewise.
15896 2012-04-10  Andreas Jaeger  <aj@suse.de>
15898         [BZ #2636]
15899         * manual/time.texi (Processor Time): Return type of times is
15900         elapsed real time since an arbitrary point in the past.
15901         (CPU Time): Move CLK_TCK from here...
15902         (Processor Time): ...to here.  Correct description.
15903         * manual/conf.texi (Constants for Sysconf): Correct description of
15904         _SC_CLK_TCK.
15906 2012-04-10  David S. Miller  <davem@davemloft.net>
15908         [BZ #13967]
15909         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15910         where the is a gap between DT_REL(A) and DT_JMPREL.
15912 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15914         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15915         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15916         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15918 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15920         * elf/dl-support.c (_dl_inhibit_cache): New variable.
15921         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15922         (dl_main): Handle --inhibit-cache.
15923         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15924         _dl_inhibit_cache.
15925         * elf/dl-load.c (_dl_map_object): Use it.
15926         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15928 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15930         [BZ #13872]
15931         * sysdeps/i386/fpu/e_powl.S (p78): New object.
15932         (__ieee754_powl): Saturate large exponents rather than testing for
15933         overflow of y*log2(x).
15934         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15935         * math/libm-test.inc (pow_test): Do not permit spurious overflow
15936         exceptions.
15938         [BZ #11521]
15939         * math/s_ctan.c: Include <float.h>.
15940         (__ctan): Avoid internal overflow or cancellation in calculating
15941         denominator.
15942         * math/s_ctanf.c: Likewise.
15943         * math/s_ctanl.c: Likewise.
15944         * math/s_ctanh.c: Likewise.
15945         * math/s_ctanhf.c: Likewise.
15946         * math/s_ctanhl.c: Likewise.
15947         * math/libm-test.inc (ctan_test): Add more tests.
15948         (ctanh_test): Likewise.
15949         * sysdeps/i386/fpu/libm-test-ulps: Update.
15950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15952 2012-04-09  Andreas Jaeger  <aj@suse.de>
15954         [BZ #6894]
15955         * manual/filesys.texi (Directory Entries): Mention that d_namlen
15956         is an optional BSD extension.
15958         [BZ #10254]
15959         * manual/stdio.texi (Opening Streams): Document additional fopen
15960         parameters.
15962 2012-04-09  Roland McGrath  <roland@hack.frob.com>
15964         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15965         %eax without telling the compiler.
15967 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
15969         [BZ # 13963]
15970         * manual/install.texi: Use sourceware.org.
15972 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15974         [BZ #13873]
15975         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15976         (__ieee754_pow): Generate overflow and underflow using huge*huge
15977         and tiny*tiny rather than just returning constant infinity or zero
15978         for large exponents.
15979         * math/libm-test.inc (pow_test): Require overflow exceptions for
15980         applicable cases of large exponents.
15982         [BZ #706]
15983         * sysdeps/i386/fpu/e_pow.S (p10): New object.
15984         (__ieee754_pow): Use iterative multiplication algorithm only for
15985         integer exponents with absolute value below 1024.  Check for odd
15986         integer exponents when using algorithm for real exponents.
15987         * math/libm-test.inc (pow_test): Add more tests.
15988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15990 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
15992         [BZ #13705]
15993         * math/libm-test.inc (exp_test): Do not allow overflow exception
15994         on underflow test.
15996 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
15998         [BZ #13705]
15999         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16000         instead of __kernel_standard_f.
16002 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16004         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16005         * sysdeps/x86_64/memset_chk.S: Likewise.
16007 2012-04-08  Andreas Jaeger  <aj@suse.de>
16009         [BZ #10153]
16010         * manual/startup.texi (Environment Access): Describe return value
16011         for putenv and setenv.
16013         [BZ #6895]
16014         * manual/filesys.texi (Directory Entries): Add description for
16015         DT_LNK.
16017         [BZ #6890]
16018         * manual/filesys.texi (Directory Entries): Clarify that it's file
16019         system not operating system in the description of DT_UNKNOWN.
16021         [BZ #6578]
16022         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16024 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16026         [BZ #6649]
16027         * manual/llio.texi (Opening and Closing Files): Add cross
16028         reference to explain mode argument.
16030 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16032         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16033         * sysdeps/x86_64/memset_chk.S: Likewise.
16035 2012-04-07  David S. Miller  <davem@davemloft.net>
16037         * elf/elf.h (R_SPARC_WDISP10): Define.
16038         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16039         R_SPARC_SIZE32.
16040         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16041         R_SPARC_SIZE64 and R_SPARC_H34.
16043 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16045         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16046         conditions and remove no longer applicable assertion.
16048 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16050         * bits/byteswap.h: Include <features.h>.
16051         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16052         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16054 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16056         * bits/byteswap.h (__bswap_16): Removed.
16057         Include <bits/byteswap-16.h> to get __bswap_16.
16058         * sysdeps/i386/bits/byteswap.h: Likewise.
16059         * sysdeps/s390/bits/byteswap.h: Likewise.
16060         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16061         * bits/byteswap-16.h: New file.
16062         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16063         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16064         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16065         * string/Makefile (headers): Add bits/byteswap-16.h.
16067 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16069         [BZ #13895]
16070         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16071         extra indirection.
16072         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16073         * nss/tst-nss-static.c: New.
16075 2012-04-06  Robert Millan  <rmh@gnu.org>
16077         [BZ #6486]
16078         * manual/llio.texi (File Position Primitive): lseek
16079         refers to WHENCE when it really means OFFSET.
16081 2012-04-06  Andreas Jaeger  <aj@suse.de>
16083         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16084         strncmp declarations.
16086         * abilist/libc.abilist: Add __poll and __ppoll.
16088 2012-04-05  David S. Miller  <davem@davemloft.net>
16090         * scripts/check-local-headers.sh: Accept a host triplet in the
16091         path matched by the exclude regexp.
16093         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16094         definition.
16095         * sysdeps/powerpc/powerpc32/dl-machine.h
16096         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16097         * sysdeps/s390/s390-32/dl-machine.h
16098         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16099         * sysdeps/sparc/sparc32/dl-machine.h
16100         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16101         * sysdeps/sparc/sparc64/dl-machine.h
16102         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16104         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16105         lazy binding.
16106         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16107         undefined symbol errors.
16109         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16110         DT_NEEDED entries.
16112 2012-04-05  Michael Matz  <matz@suse.de>
16114         [BZ #13592]
16115         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16117 2012-04-05  Andreas Jaeger  <aj@suse.de>
16119         [BZ #13908]
16120         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16121         comment.
16123 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16125         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16126         which ROUND is no valid rounding mode.
16128 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16130         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16131         read again.
16132         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16134 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16136         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16137         an exception using FPU order intentionally.
16139 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16141         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16142         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16143         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16144         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16146 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16148         [BZ #12340]
16149         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16150         EINVAL when BUFLEN is too smal.
16152 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16154         [BZ #13553]
16155         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16156         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16158 2012-04-03  Andreas Jaeger  <aj@suse.de>
16160         [BZ #13938]
16161         * manual/setjmp.texi (System V contexts): Fix sentence.
16163         [BZ #13926]
16164         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16165         New macro for this case.
16166         [!__GNUC__] (__bswap_64): New inline function for this case.
16167         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16168         * bits/byteswap.h: Likewise.
16169         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16170         ull, guard with __GLIBC_HAVE_LONG_LONG.
16172         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16173         __GLIBC_HAVE_LONG_LONG.
16175         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16176         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16178 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16180         [BZ #13691]
16181         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16182         inptr and inend, rather than using last_ch.
16184 2012-04-02  David S. Miller  <davem@davemloft.net>
16186         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16187         * stdio-common/printf-parse.h (read_int): Change return type to
16188         'int', return -1 on INT_MAX overflow.
16189         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16190         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16191         overflows INT_MAX.  Check for overflow of in-format-string precision
16192         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16193         SIZE_MAX not INT_MAX for integer overflow test.
16194         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16195         skip the construct in the format string but do not record anything.
16196         * stdio-common/bug22.c: Adjust to test both width/prevision
16197         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16198         explicitly for proper errno values.
16200 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16202         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16203         CHAR_MAX.
16204         * string/test-strcmp.c [! WIDE]: Likewise.
16205         * time/tst-mktime2.c: Likewise for INT_MAX.
16206         * string/test-string.h: #include <sys/param.h> for MIN.
16208         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16209         * sysdeps/i386/init-first.c (init): Likewise.
16210         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16211         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16212         * sysdeps/sh/init-first.c (init): Likewise.
16214 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16216         * po/ru.po: Update from translation team.
16217         * po/vi.po: Likewise.
16219 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16221         * resolv/nss_dns/dns-host.c: Merge copyright years.
16223 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16225         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16226         Optimize memcpy with prefetch if
16227         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16228         src, dst pointers have unequal 16 byte alignments.
16230 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16232         [BZ #13928]
16233         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16234         from a CNAME entry and return the minimum ttl for the query.
16235         (gaih_getanswer_slice): Likewise.
16237 2012-03-30  Jeff Law  <law@redhat.com>
16239         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16240         due to long keys.
16241         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16242         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16244         * resolv/nss_dns/dns-host.c: Update copyright year.
16246 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16248         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16249         requests to save a system call.  Fix check that all bytes are sent.
16251         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16252         comments for sendmmsg.
16254 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16256         [BZ #13691]
16257         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16258         with only 1 character between 0x0041 and 0x01b0.
16259         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16260         * wcsmbs/tst-mbsnrtowcs.c: New file.
16262 2012-03-29  David S. Miller  <davem@davemloft.net>
16264         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16265         small copies by hand.
16267 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16269         [BZ #13761]
16270         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16271         _nss_compat_initgroups_dyn): Fall back to malloc/free
16272         for large group memberships.
16274 2012-03-28  David S. Miller  <davem@davemloft.net>
16276         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16277         that branches into memcpy.
16278         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16279         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16280         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16281         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16282         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16283         bits.
16284         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16285         implementation too.
16286         * sysdeps/sparc/mempcpy.S: New file.
16288         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16289         the IFUNC routine in the libc case.
16290         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16292         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16293         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16294         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16295         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16296         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16297         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16298         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16299         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16301         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16302         loop to 256 bytes instead of 64 bytes and fix test signedness.
16304         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16305         * sysdeps/sparc/sparc32/Makefile: rather than here...
16306         * sysdeps/sparc/sparc64/Makefile: and here.
16308 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16310         * malloc/mallocbug.c: Avoid warnings about unused variables.
16312 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16314         [BZ #13760]
16315         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16316         in the right place. Discard and retry query if response is
16317         larger than input buffer size.
16319 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16321         [BZ #369]
16322         [BZ #2678]
16323         [BZ #3866]
16324         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16325         x for large integer exponent.
16326         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16327         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16328         sign of result as needed afterwards.
16329         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16330         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16331         result for underflowing pow the same as for overflow.
16332         (__kernel_standard_l): Handle powl overflow and underflow here
16333         rather than calling __kernel_standard.
16334         * math/libm-test.inc (pow_test): Add more tests.
16336         [BZ #3868]
16337         [BZ #13879]
16338         [BZ #13910]
16339         [BZ #13911]
16340         [BZ #13912]
16341         [BZ #13913]
16342         [BZ #13915]
16343         [BZ #13916]
16344         [BZ #13917]
16345         [BZ #13918]
16346         [BZ #13919]
16347         [BZ #13920]
16348         [BZ #13921]
16349         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16350         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16351         (__kernel_standard_l): New function.
16352         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16353         __kernel_standard.
16354         * math/w_acosl.c (__acosl): Likewise.
16355         * math/w_asinl.c (__asinl): Likewise.
16356         * math/w_atan2l.c (__atan2l): Likewise.
16357         * math/w_atanhl.c (__atanhl): Likewise.
16358         * math/w_coshl.c (__coshl): Likewise.
16359         * math/w_exp10l.c (__exp10l): Likewise.
16360         * math/w_exp2l.c (__exp2l): Likewise.
16361         * math/w_fmodl.c (__fmodl): Likewise.
16362         * math/w_hypotl.c (__hypotl): Likewise.
16363         * math/w_j0l.c (__j0l, __y0l): Likewise.
16364         * math/w_j1l.c (__j1l, __y1l): Likewise.
16365         * math/w_jnl.c (__jnl, __ynl): Likewise.
16366         * math/w_lgammal.c (__lgammal): Likewise.
16367         * math/w_log10l.c (__log10l): Likewise.
16368         * math/w_log2l.c (__log2l): Likewise.
16369         * math/w_logl.c (__logl): Likewise.
16370         * math/w_powl.c (__powl): Likewise.
16371         * math/w_remainderl.c (__remainderl): Likewise.
16372         * math/w_scalbl.c (sysv_scalbl): Likewise.
16373         * math/w_sinhl.c (__sinhl): Likewise.
16374         * math/w_sqrtl.c (__sqrtl): Likewise.
16375         * math/w_tgammal.c (__tgammal): Likewise.
16376         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16377         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16378         * math/libm-test.inc (acos_test): Add more tests.
16379         (acosh_test): Likewise.
16380         (asin_test): Likewise.
16381         (atanh_test): Likewise.
16382         (exp_test): Likewise.
16383         (exp10_test): Likewise.
16384         (exp2_test): Likewise.
16385         (expm1_test): Likewise.
16386         (lgamma_test): Likewise.
16387         (log_test): Likewise.
16388         (log10_test): Likewise.
16389         (log1p_test): Likewise.
16390         (log2_test): Likewise.
16391         (pow_test): Do not allow some spurious overflow exceptions.
16392         (sqrt_test): Add more tests.
16393         (tgamma_test): Likewise.
16394         (y0_test): Likewise.
16395         (y1_test): Likewise.
16396         (yn_test): Likewise.
16398 2012-03-27  Anton Blanchard  <anton@samba.org>
16400         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16401         MAP_HUGETLB.
16402         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16403         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16404         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16406 2012-03-27  David S. Miller  <davem@davemloft.net>
16408         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16410         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16411         have-as-vis3 check.
16413 2012-03-27  Andreas Jaeger  <aj@suse.de>
16415         * sysdeps/x86_64/elf/configure.in: Moved to ...
16416         * sysdeps/x86_64/configure.in: ... here.
16417         * sysdeps/x86_64/elf/start.S: Moved to ...
16418         * sysdeps/x86_64/start.S: ... here.
16419         * sysdeps/x86_64/elf/configure: Delete.
16421         * sysdeps/x86_64/configure.in: Merge contents from
16422         sysdeps/i386/configure.in (without i686 check).
16424         * sysdeps/i386/elf/Versions: Merge into ...
16425         * sysdeps/i386/Versions: ... this.
16426         * sysdeps/i386/elf/Versions: Delete file.
16427         * sysdeps/i386/elf/start.S: Moved to ...
16428         * sysdeps/i386/start.S: ...here.
16429         * sysdeps/i386/elf/configure.in: Merge into...
16430         * sysdeps/i386/configure.in: ...here.
16431         * sysdeps/i386/elf/configure.in: Delete file.
16432         * sysdeps/i386/elf/configure: Delete file.
16434         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16435         * debug/backtracesyms.c: ... here.
16436         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16437         * debug/backtracesymsfd.c: ... here.
16438         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16439         * sysdeps/generic/ifunc-sel.h: ... here.
16441         * sysdeps/unix/i386/start.c: Delete file.
16442         * sysdeps/unix/sparc/start.c: Delete file.
16443         * sysdeps/unix/start.c: Delete file.
16445         * sysdeps/sh/elf/configure.in: Moved to ...
16446         * sysdeps/sh/configure.in: ... here.
16447         * sysdeps/sh/elf/start.S: Moved to ...
16448         * sysdeps/sh/start.S: ... here.
16449         * sysdeps/sh/elf/configure: Delete file.
16451         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16452         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16453         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16454         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16455         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16456         * sysdeps/powerpc/powerpc64/start.S: here.
16457         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16458         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16459         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16460         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16461         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16463         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16464         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16465         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16466         * sysdeps/powerpc/powerpc32/start.S: ... here.
16467         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16468         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16469         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16471         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16472         * sysdeps/powerpc/ifunc-sel.h: ... here.
16473         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16474         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16476         * sysdeps/sparc/elf/configure.in: Moved to ...
16477         * sysdeps/sparc/configure.in: ... here.
16478         * sysdeps/sparc/elf/configure: Delete file.
16479         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16480         * sysdeps/sparc/sparc32/start.S: ... here.
16481         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16482         * sysdeps/sparc/sparc64/start.S: ... here.
16483         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16484         * sysdeps/sparc/sparc32/Makefile: ... this.
16485         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16486         * sysdeps/sparc/sparc64/Makefile: ... this.
16488         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16489         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16490         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16491         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16492         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16493         * sysdeps/s390/s390-32/setjmp.S: ... here.
16494         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16495         * sysdeps/s390/s390-32/configure.in: ... here.
16496         * sysdeps/s390/s390-32/elf/configure: Delete file.
16497         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16498         * sysdeps/s390/s390-32/start.S: ... here.
16500         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16501         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16502         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16503         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16504         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16505         * sysdeps/s390/s390-64/setjmp.S: ... here.
16506         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16507         * sysdeps/s390/s390-64/configure.in: ... here
16508         * sysdeps/s390/s390-64/elf/configure: Delete file.
16509         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16510         * sysdeps/s390/s390-64/start.S: ... here.
16511         * sysdeps/s390/s390-64/elf/configure: Delete.
16513         * configure.in: Remove support for elf directories in sysdeps.
16515         * configure: Regenerated.
16516         * sysdeps/i386/configure: Regenerated.
16517         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16518         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16519         * sysdeps/s390/s390-32/configure: Regenerated.
16520         * sysdeps/s390/s390-64/configure: Regenerated.
16521         * sysdeps/sh/configure: Regenerated.
16522         * sysdeps/sparc/configure: Regenerated.
16523         * sysdeps/x86_64/configure: Regenerated.
16525 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16529         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16530         denormal result into account.
16532 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16534         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16535         Reported by Allan McRae <allan@archlinux.org>.
16537 2012-03-23  Jeff Law  <law@redhat.com>
16539         * nss/getnssent.c (__nss_getent): Fix typo.
16541 2012-03-23  David S. Miller  <davem@davemloft.net>
16543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16545 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16547         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16548         to pad to uint64_t for each field.
16549         (dl_tls_index): Replace unsigned long with uint64_t.
16551 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16552         Paul Pluzhnikov  <ppluzhnikov@google.com>
16554         [BZ #6528]
16555         * grp/Makefile (otherlibs): Don't set it.
16556         * inet/Makefile (otherlibs): Likewise.
16557         * login/Makefile (otherlibs): Likewise.
16558         * nscd/Makefile (otherlibs): Likewise.
16559         * posix/Makefile (otherlibs): Likewise.
16560         * pwd/Makefile (otherlibs): Likewise.
16561         * rt/Makefile (otherlibs): Likewise.
16562         * sunrpc/Makefile (otherlibs): Likewise.
16563         * nss/Makefile (otherlibs): Likewise.
16564         Add libnss_files to routines and static-only-routines.
16565         ($(objpfx)getent): Remove rule.
16566         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16567         static-only-routines.
16569 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16571         [BZ #13892]
16572         * math/s_cexp.c: Include <float.h>.
16573         (__cexp): Handle exp result overflowing not necessarily
16574         overflowing both real and imaginary parts of result.
16575         * math/s_cexpf.c: Likewise.
16576         * math/s_cexpl.c: Likewise.
16577         * math/libm-test.inc (cexp_test): Add more tests.
16578         * sysdeps/i386/fpu/libm-test-ulps: Update.
16579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16581 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16583         * include/link.h (ELFW): New macro.
16584         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16585         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16587 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16589         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16590         with uint64_t.
16592 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16594         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16595         declaration.
16596         (struct La_x32_retval): Likewise.
16598 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16600         * sysdeps/x86_64/preconfigure.in: New file.
16601         * sysdeps/x86_64/preconfigure: New generated file.
16603 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16605         [BZ #13824]
16606         * math/e_exp2l.c: Include <float.h>.
16607         (__ieee754_exp2l): Handle overflow and underflow cases
16608         separately.  Only pass fractional part of argument to
16609         __ieee754_expl.
16610         * math/libm-test.inc (exp2_test): Add more tests.
16612         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16613         negating x to take absolute value.
16614         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16615         Likewise.
16616         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16617         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16618         Likewise.
16619         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16620         computing low part if x was negated.
16621         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16623 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16625         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16626         la_x32_gnu_pltexit.
16627         (pltexit): Cast int_retval to ptrdiff_t.
16628         * elf/tst-auditmod3b.c: Likewise.
16629         * elf/tst-auditmod4b.c: Likewise.
16630         * elf/tst-auditmod5b.c: Likewise.
16631         * elf/tst-auditmod6b.c: Likewise.
16632         * elf/tst-auditmod6c.c: Likewise.
16633         * elf/tst-auditmod7b.c: Likewise.
16635         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16636         and x32_gnu_pltexit.
16638         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16639         __ELF_NATIVE_CLASS.
16640         (La_x32_regs): New macro.
16641         (La_x32_retval): Likewise.
16642         (la_x32_gnu_pltenter): New function prototype.
16643         (la_x32_gnu_pltexit): Likewise.
16645 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
16647         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16648         exponent.
16650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16652         * configure.in (libc_cv_cc_nofma): Check for option to disable
16653         generation of FMA instructions.
16654         * configure: Regenerate.
16655         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16656         * sysdeps/ieee754/dbl-64/Makefile: New file.
16657         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16658         Remove brandred-fma4.
16659         (CFLAGS-brandred-fma4.c): Remove.
16660         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16661         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16662         define.
16663         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16664         define.
16666 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16668         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16669         LLONG_MAX != LONG_MAX.
16670         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16671         (_fitoa_word): Likewise.
16672         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16673         LLONG_MAX != LONG_MAX.
16674         * stdio-common/_itowa.h: Include <_itoa.h>.
16675         (_itowa_word): Use _ITOA_WORD_TYPE on value.
16676         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
16677         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
16678         only if not defined.
16679         (_ITOA_WORD_TYPE): Likewise.
16680         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16681         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16683 2012-03-21  David S. Miller  <davem@davemloft.net>
16685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16687 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16689         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16690         of x86_64 when setting libc_cv_slibdir, libdir and
16691         libc_cv_localedir.
16692         * sysdeps/unix/sysv/linux/configure: Regenerated.
16694 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16696         * manual/lang.texi (Old Varargs): Remove section.
16697         (How Variadic): Update menu.
16698         (va_start): Do not mention varargs.h.
16700 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16701             Joseph Myers  <joseph@codesourcery.com>
16703         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16704         link test.
16705         * configure: Regenerated.
16707 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16709         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16710         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16711         conformtest.pl
16713 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16715         * NOTES: Remove.
16716         * Makefile (files-for-dist): Remove NOTES.
16717         (NOTES): Remove rule.
16718         * README: Don't refer to NOTES.
16719         * manual/creature.texi: Don't include macros.texi.
16720         * manual/intro.texi (creature.texi): Remove comment referring to
16721         NOTES.
16723         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16724         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16725         * configure: Regenerated.
16726         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16727         LIBC_TRY_CC_OPTION.
16728         (libc_cv_as_i686): Likewise.
16729         (libc_cv_cc_avx): Likewise.
16730         (libc_cv_cc_sse2avx): Likewise.
16731         (libc_cv_cc_fma4): Likewise.
16732         (libc_cv_cc_novzeroupper): Likewise.
16733         * sysdeps/i386/configure: Regenerated.
16735         [BZ #13883]
16736         * sysdeps/i386/fpu/s_cexp.S: Remove.
16737         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16738         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16739         * math/libm-test.inc (cexp_test): Add more tests.
16740         * sysdeps/i386/fpu/libm-test-ulps: Update.
16741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16743 2012-03-21  Allan McRae  <allan@archlinux.org>
16745         * timezone/Makefile: Do not install iso3166.tab and zone.tab
16747 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16749         [BZ #13871]
16750         * math/w_exp2.c: Do not include <float.h>.
16751         (o_threshold, u_threshold): Remove.
16752         (__exp2): Calculate result before checking finiteness and calling
16753         __kernel_standard.
16754         * math/w_exp2f.c: Likewise.
16755         * math/w_exp2l.c: Likewise.
16756         * math/libm-test.inc (exp2_test): Require overflow exception for
16757         1e6 input.
16759         [BZ #3866]
16760         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16761         range of signed 64-bit integers before using fistpll.  Remove
16762         checks for whether integers fit in mantissa bits.
16763         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16764         the range of signed 32-bit integers before using fistpl.  Remove
16765         checks for whether integers fit in mantissa bits.
16766         * sysdeps/i386/fpu/e_powl.S (p64): New object.
16767         (__ieee754_powl): Test for y outside the range of signed 64-bit
16768         integers before using fistpll.  Reduce 64-bit values to 63-bit
16769         ones as needed.
16770         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16771         divide-by-zero is raised for zero to large negative powers.
16772         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16773         (__ieee754_powl): Test for y outside the range of signed 64-bit
16774         integers before using fistpll.  Reduce 64-bit values to 63-bit
16775         ones as needed.
16776         * math/libm-test.inc (pow_test): Add more tests.
16778 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16780         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16781         <stdio-common/_itoa.h>.
16782         * debug/segfault.c: Likewise.
16783         * elf/dl-cache.c: Likewise.
16784         * elf/dl-minimal.c: Likewise.
16785         * elf/dl-misc.c: Likewise.
16786         * elf/dl-sysdep.c: Likewise.
16787         * elf/dl-version.c: Likewise.
16788         * elf/rtld.c: Likewise.
16789         * hurd/hurdsock.c: Likewise.
16790         * hurd/lookup-retry.c: Likewise.
16791         * malloc/malloc.c: Likewise.
16792         * malloc/mtrace.c: Likewise.
16793         * nscd/nscd_getgr_r.c: Likewise.
16794         * nscd/nscd_getpw_r.c: Likewise.
16795         * nscd/nscd_getserv_r.c: Likewise.
16796         * posix/getopt_init.c: Likewise.
16797         * posix/wordexp.c: Likewise.
16798         * stdio-common/_itoa.c: Likewise.
16799         * stdio-common/printf_fphex.c: Likewise.
16800         * stdio-common/vfprintf.c: Likewise.
16801         * string/_strerror.c: Likewise.
16802         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16803         * sysdeps/i386/i686/hp-timing.h: Likewise.
16804         * sysdeps/mach/_strerror.c: Likewise.
16805         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16806         * sysdeps/mach/hurd/sethostid.c: Likewise.
16807         * sysdeps/mach/hurd/xmknodat.c: Likewise.
16808         * sysdeps/mach/xpg-strerror.c: Likewise.
16809         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16810         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16811         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16812         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16813         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16814         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16815         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16816         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16817         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16818         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16819         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16820         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16821         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16822         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16823         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16824         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16825         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16826         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16827         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16828         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16829         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16831         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16833         * stdio-common/_itoa.h: Moved to ...
16834         * sysdeps/generic/_itoa.h: Here.
16836         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16838         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16839         instead of "_itoa.h" and "_itowa.h".
16840         * stdio-common/vfprintf.: Likewise.
16842 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16844         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16845         <bits/wordsize.h>.
16846         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16847         (__signbit): Likwise.
16848         (llrintf): Likwise.
16849         (llrint): Likwise.
16851 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16853         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16854         __WORDSIZE != 64.
16856 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
16858         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16859         OVERFLOW_EXCEPTION_OK.
16860         * math/libm-test.inc ("Philosophy"): Update comment about
16861         exception testing.
16862         (OVERFLOW_EXCEPTION): Define.
16863         (OVERFLOW_EXCEPTION_OK): Likewise.
16864         (INVALID_EXCEPTION_OK): Renumber.
16865         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16866         (IGNORE_ZERO_INF_SIGN): Likewise.
16867         (test_exceptions): Handle FE_OVERFLOW.
16868         (exp10_test): Expect overflow exceptions.
16869         (exp2_test): Likewise.
16870         (expm1_test): Likewise.
16871         (nextafter_test): Likewise.
16872         (pow_test): Likewise.
16873         (scalbn_test): Likewise.
16874         (scalbln_test): Likewise.
16876 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16878         * sysdeps/x86_64/bits/atomic.h
16879         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16880         64bit integer.
16881         (atomic_exchange_acq): Likewise.
16882         (__arch_exchange_and_add_body): Likewise.
16883         (__arch_add_body): Likewise.
16884         (atomic_add_negative): Likewise.
16885         (atomic_add_zero): Likewise.
16887 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16889         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16890         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16892 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16894         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16895         Check __x86_64__ instead of __WORDSIZE.
16897 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16899         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16901 2012-03-19  David S. Miller  <davem@davemloft.net>
16903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16905         * sysdeps/sparc/fpu/fenv_private.h: New file.
16906         * sysdeps/sparc/fpu/math_private.h: Use it.
16907         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16908         Remove.
16909         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16910         (libc_feholdexcept_setroundl): Remove.
16911         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16912         Remove.
16913         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16914         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16916 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16918         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16919         int64_t instead of long int.
16920         (INSERT_WORDS64): Likwise.
16922 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16924         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16925         _Unwind_GetCFA return to _Unwind_Ptr first.
16927 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
16929         [BZ #13629]
16930         * math/s_clog.c: Include <float.h>.
16931         (__clog): Scale large or subnormal inputs.
16932         * math/s_clogf.c: Likewise.
16933         * math/s_clogl.c: Likewise.
16934         * math/s_clog10.c: Include <float.h>.
16935         (M_LOG10_2): Define.
16936         (__clog10): Scale large or subnormal inputs.
16937         * math/s_clog10f.c: Likewise.
16938         * math/s_clog10l.c: Likewise.
16939         * math/libm-test.inc (clog_test): Add more tests.
16940         (clog10_test): Likewise.
16941         * sysdeps/i386/fpu/libm-test-ulps: Update.
16942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16944         [BZ #11451]
16945         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16946         x and y.
16947         * math/libm-test.inc (atan2_test): Add another test.
16949         * Makerules (common-objdir-compile): Remove.
16950         * sysdeps/unix/Makefile (config-generated): Do not add
16951         $(unix-generated) to variable.
16952         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16953         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16954         Remove rule.
16955         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16956         Likewise.
16957         [generic bits/local_lim.h] (before-compile): Do not append to
16958         variable.
16959         [generic bits/local_lim.h] (common-generated): Likewise.
16960         [generic sys/param.h] (before-compile): Do not append to variable.
16961         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16962         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16963         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16964         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16965         include.
16966         [generic sys/param.h] (sys/param.h-includes): Remove variable.
16967         [generic sys/param.h] (sys/param.h-includes): Remove rule.
16968         [generic sys/param.h] ($(addprefix
16969         $(common-objpfx),$(sys/param.h-includes))): Likewise.
16970         [generic sys/param.h] (common-generated): Do not append to
16971         variable.
16972         [generic sys/param.h] (sysdep_headers): Likewise.
16973         [generic bits/errno.h] (before-compile): Do not append to
16974         variable.
16975         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16976         rule.
16977         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16978         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16979         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16980         [generic bits/errno.h] (common-generated): Do not append to
16981         variable.
16982         [generic bits/ioctls.h] (before-compile): Do not append to
16983         variable.
16984         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16985         rule.
16986         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16987         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16988         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16989         rule.
16990         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16991         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16992         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16993         [generic bits/ioctls.h] (common-generated): Do not append to
16994         variable.
16995         [generic sys/syscall.h] (syscall.h): Remove variable.
16996         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16997         rule.
16998         [generic sys/syscall.h] (before-compile): Do not append to
16999         variable.
17000         [generic sys/syscall.h] (common-generated): Likewise.
17001         * sysdeps/unix/errnos-tmpl.c: Remove file.
17002         * sysdeps/unix/errnos.awk: Likewise.
17003         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17004         * sysdeps/unix/ioctls.awk: Likewise.
17005         * sysdeps/unix/mk-local_lim.c: Likewise.
17006         * sysdeps/unix/snarf-ioctls: Likewise.
17008 2012-03-19  Richard Henderson  <rth@twiddle.net>
17010         * sysdeps/i386/fpu/fenv_private.h: New file.
17011         * sysdeps/i386/fpu/math_private.h: Use it.
17012         (math_opt_barrier, math_force_eval): Remove.
17013         (libc_feholdexcept_setround_53bit): Remove.
17014         (libc_feupdateenv_53bit): Remove.
17015         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17016         (math_opt_barrier, math_force_eval): Remove.
17017         (libc_feholdexcept): Remove.
17018         (libc_feholdexcept_setround): Remove.
17019         (libc_fetestexcept, libc_fesetenv): Remove.
17020         (libc_feupdateenv_test): Remove.
17021         (libc_feupdateenv, libc_feholdsetround): Remove.
17022         (libc_feresetround): Remove.
17024         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17025         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17027         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17028         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17029         (libc_feupdateenv_testl): New.
17030         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17031         (libc_feupdateenv_testf): New.
17032         (libc_feupdateenv): Use libc_feupdateenv_test.
17033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17034         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17036         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17037         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17038         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17039         (libc_feresetround_noex): New.
17040         (libc_feresetround_noexf): New.
17041         (libc_feresetround_noexl): New.
17042         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17043         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17044         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17045         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17046         SET_RESTORE_ROUND.
17047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17048         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17049         (__cos): Likewise.
17050         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17051         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17052         SET_RESTORE_ROUND_NOEX.
17053         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17054         SET_RESTORE_ROUND_NOEXF.
17055         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17056         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17057         (libc_feholdsetroundf): New.
17058         (libc_feresetround, libc_feresetroundf): New.
17060         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17061         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17062         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17064         * sysdeps/generic/math_private.h: Include <fenv.h>.
17065         (default_libc_feholdexcept): New.
17066         (default_libc_feholdexcept_setround): New.
17067         (default_libc_fesetenv, default_libc_feupdateenv): New.
17068         (libc_feholdexcept): Only define if undefined.
17069         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17070         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17071         (libc_feholdexcept_setroundl): Likewise.
17072         (libc_feholdexcept_setround_53bit): Likewise.
17073         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17074         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17075         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17076         (libc_feupdateenv_53bit): Likewise.
17077         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17078         (libc_feholdexcept): Convert from macro to inline function.
17079         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17080         (libc_fesetenv, libc_feupdateenv): Likewise.
17082         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17083         not previously defined.
17084         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17085         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17086         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17087         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17088         * sysdeps/ieee754/flt-32/math_private.h: New file.
17089         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17090         math_private.h below SET_FLOAT_WORD.
17091         (__isnan, __isinf_ns, __finite): Remove.
17092         (__isnanf, __isinf_nsf, __finitef): Remove.
17094 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17098 2012-03-17  David S. Miller  <davem@davemloft.net>
17100         [BZ #6471]
17101         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17102         for 2.16.
17104 2012-03-16  David S. Miller  <davem@davemloft.net>
17106         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17107         warnings.
17109         [BZ #6471]
17110         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17111         properly.
17112         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17113         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17114         sysdep_routines when subdir is sysvipc.
17115         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17116         __getshmlba helper.
17118         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17120 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17122         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17123         [__LP64__].
17125 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17127         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17128         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17129         (__lround): Renamed to ...
17130         (__llround): This.  Replace long int with long long int.
17131         Define lround functions as aliases of llround functions.
17132         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17134 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17136         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17137         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17138         adresses to uintptr_t.  Replace "long int" and "unsigned long
17139         int" with "greg_t" on va_arg.
17141 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17143         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17144         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17146         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17147         Move e_machine check before EI_CLASS check.  Handle x32
17148         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17149         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17150         SKIP_EM_IA_64 and include
17151         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17153         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17154         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17155         (add_system_dir): New macro.
17157         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17158         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17160 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17162         [BZ #2551]
17163         [BZ #2552]
17164         [BZ #2553]
17165         [BZ #2554]
17166         [BZ #2562]
17167         [BZ #2563]
17168         [BZ #2565]
17169         [BZ #2566]
17170         [BZ #2576]
17171         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17172         (y0): Likewise.
17173         * math/w_j0f.c (j0f): Likewise.
17174         (y0f): Likewise.
17175         * math/w_j0l.c (__j0l): Likewise.
17176         (__y0l): Likewise.
17177         * math/w_j1.c (j1): Likewise.
17178         (y1): Likewise.
17179         * math/w_j1f.c (j1f): Likewise.
17180         (y1f): Likewise.
17181         * math/w_j1l.c (__j1l): Likewise.
17182         (__y1l): Likewise.
17183         * math/w_jn.c (jn): Likewise.
17184         (yn): Likewise.
17185         * math/w_jnf.c (jnf): Likewise.
17186         (ynf): Likewise.
17187         * math/w_jnl.c (__jnl): Likewise.
17188         (__ynl): Likewise.
17189         * math/libm-test.inc (j0_test): Add more tests.
17190         (j1_test): Likewise.
17191         (jn_test): Likewise.  Add trailing semicolon to existing test.
17192         (y0_test): Likewise.
17193         (y1_test): Likewise.
17194         * sysdeps/i386/fpu/libm-test-ulps: Update.
17195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17197         [BZ #13851]
17198         [BZ #13854]
17199         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17200         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17201         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17202         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17203         (__tanl): Set errno for infinite argument.
17204         * sysdeps/i386/fpu/mptan.c: Remove.
17205         * sysdeps/i386/fpu/s_tan.S: Likewise.
17206         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17207         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17208         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17209         * math/libm-test.inc (tan_test): Add more tests and enable more
17210         tests for double and long double.
17211         * sysdeps/i386/fpu/libm-test-ulps: Update.
17212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17214 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17216         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17217         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17219 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17221         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17222         * configure.in: Use it for both main tree and add-ons.
17223         * configure: Regenerated.
17225 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17227         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17229 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17231         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17232         in comment.
17234         [BZ #13851]
17235         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17236         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17237         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17238         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17239         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17240         infinite argument.
17241         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17242         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17243         != 0 for prec == 2.
17244         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17245         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17246         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17247         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17248         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17249         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17250         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17251         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17252         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17253         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17254         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17255         * math/libm-test.inc (cos_test): Add more tests and enable more
17256         tests for long double.
17257         (sin_test): Likewise.
17258         (sincos_test): Likewise.
17259         * sysdeps/i386/fpu/libm-test-ulps: Update.
17260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17262 2012-03-16  David S. Miller  <davem@davemloft.net>
17264         * sysdeps/sparc/fpu/math_private.h: New file.
17266 2012-03-15  David S. Miller  <davem@davemloft.net>
17268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17269         file.
17270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17272         file.
17273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17278         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17279         sysdep routines.
17280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17282         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17283         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17285         * sysdeps/sparc/sparc-ifunc.h: New file.
17286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17287         sparc-ifunc.h
17288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17290         Likewise.
17291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17292         Likewise.
17293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17297         Likewise.
17298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17303         Likewise.
17304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17305         Likewise.
17306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17311         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17312         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17313         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17323         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17324         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17325         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17326         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17327         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17329         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17331 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17333         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17334         scaling.
17335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17337 2012-03-15  Andreas Jaeger  <aj@suse.de>
17339         [BZ #13852]
17340         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17341         ieee754/flt-32 implementation for sin, cos and sincos.
17342         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17343         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17344         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17345         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17346         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17347         ieee754/flt-32 implementation for tan.
17349         * math/libm-test.inc (cos_test): Enable some large input tests for
17350         float as well
17351         (sin_test): Likewise.
17352         (sincos_test): Likewise.
17353         (tan_test): Add tests for large input.
17355         * sysdeps/i386/fpu/libm-test-ulps: Update.
17357 2012-03-15  Andreas Jaeger  <aj@suse.de>
17359         [BZ #13658]
17360         * math/libm-test.inc (cos_test): Add more test cases.
17361         (sin_test): Likewise.
17362         (sincos_test): Likewise.
17364 2012-03-15  Andreas Jaeger  <aj@suse.de>
17366         [BZ #13837]
17367         * math/libm-test.inc (cos_test): Add a test case for large input
17368         value.
17369         (sin_test): Likewise.
17370         (sincos_test): Likewise.
17372 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17373         Joseph Myers  <joseph@codesourcery.com>
17375         [BZ #13658]
17376         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17377         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17378         * sysdeps/i386/fpu/branred.c: Likewise.
17379         * sysdeps/i386/fpu/dosincos.c: Likewise.
17380         * sysdeps/i386/fpu/mpa.c: Likewise.
17381         * sysdeps/i386/fpu/s_cos.S: Likewise.
17382         * sysdeps/i386/fpu/s_sin.S: Likewise.
17383         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17384         * sysdeps/i386/fpu/sincos32.c: Likewise.
17386         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17387         Define.
17388         (libc_feupdateenv_53bit): Define.
17389         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17390         Define.
17391         (libc_feupdateenv_53bit): Define.
17393         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17394         53 bit (without extend i386 double precision).
17396         * math/libm-test.inc (sincos_test): Add tests for large input.
17397         (sin): Likewise.
17398         (cos): Likewise.
17400         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17402 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17406 2012-03-15  David S. Miller  <davem@davemloft.net>
17408         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17409         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17410         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17411         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17424         file.
17425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17427         file.
17428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17430         file.
17431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17433         file.
17434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17435         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17436         fmin/fmax sysdep routines.
17437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17439 2012-03-14  David S. Miller  <davem@davemloft.net>
17441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17445         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17447         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17448         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17452         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17459         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17460         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17461         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17463         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17464         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17465         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17468         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17469         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17470         routines.
17471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17472         file.
17473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17475         file.
17476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17478         file.
17479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17481         file.
17482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17484         file.
17485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17487         file.
17488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17489         file.
17490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17491         file.
17492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17493         file.
17494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17495         New file.
17496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17497         file.
17498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17499         file.
17500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17502         file.
17503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17505         file.
17506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17508         file.
17509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17511         VIS3 routines.
17513         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17514         New file.
17516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17518         * sysdeps/sparc/configure.in: New file.
17519         * sysdeps/sparc/configure: Generate.
17520         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17521         * configure: Regenerate.
17522         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17523         * config.make.in (have-as-vis3): New.
17524         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17525         available use -Av9d instead of -Av9a.
17526         * sysdeps/sparc/sparc64/Makefile: Likewise.
17527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17529         New file.
17530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17531         file.
17532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17533         New file.
17534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17535         file.
17536         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17537         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17538         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17539         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17540         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17542         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17543         fzeros/fnegs to load 0x80000000 into a float register instead of
17544         using the stack.
17545         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17547 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17550         bits/syscall.h.
17551         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17552         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17553         ($(inst_includedir)/bits/syscall.h): Remove rule.
17554         ($(objpfx)bits/syscall.d): Include instead of
17555         $(objpfx)syscall-list.d.
17556         (generated): Change syscall-list.h and syscall-list.d to
17557         bits/syscall.h and bits/syscall.d.
17559 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17561         [BZ #13846]
17562         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17564 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17566         [BZ #13841]
17567         * math/s_csqrt.c: Include <float.h>.
17568         (__csqrt): Scale large or subnormal inputs.
17569         * math/s_csqrtf.c: Likewise.
17570         * math/s_csqrtl.c: Likewise.
17571         * math/libm-test.inc (csqrt_test): Add more tests.
17572         * sysdeps/i386/fpu/libm-test-ulps: Update.
17573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17575         [BZ #13840]
17576         * math/libm-test.inc (hypot_test): Add more tests.
17578 2012-03-13  David S. Miller  <davem@davemloft.net>
17580         [BZ #13840]
17581         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17582         double-precision for the calculation instead of scaling.
17584 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17586         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17587         manipulate bits before adding and subtracting TWO52[sx].
17588         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17589         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17590         Likewise.
17591         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17593 2012-03-13  David S. Miller  <davem@davemloft.net>
17595         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17596         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17597         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17598         rtld-global-offsets.h
17599         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17601         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17602         large parameters.
17604         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17606         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17607         'err' in the ifdef scope in which it is actually used.
17609         * nss/nss_db/db-init.c: Include string.h
17611 2012-03-12  David S. Miller  <davem@davemloft.net>
17613         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17614         masking out of the most significant byte of random value used.
17615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17616         Fix coding style in previous change.
17618         * sysdeps/unix/sysv/linux/kernel-features.h
17619         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17620         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17621         expression.
17622         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17623         later.
17625 2012-03-11  David S. Miller  <davem@davemloft.net>
17627         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17628         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17629         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17630         for 'resultvar' otherwise things get truncated on 64-bit.
17632         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17633         Fix masking out of the most significant byte of random value used.
17635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17637 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17641 2012-03-09  David S. Miller  <davem@davemloft.net>
17643         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17644         variables with appropriate CPP guards.
17645         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17646         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
17647         on resulting framesize and the management of the outregs buffer for pltexit.
17648         Preserve floating point return values across _dl_call_pltexit call.
17649         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17650         framesize and the management of the outregs buffer for pltexit.
17651         Preserve floating point return values across _dl_call_pltexit
17652         call.
17653         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17654         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17655         (print_exit): Fix format string for return register value.
17657 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
17659         * sunrpc/Makefile (others): Add rpcgen.
17660         ($(objpfx)rpcgen): Remove special build rule and dependency on
17661         libc.
17662         * sunrpc/rpcgen.c: New file.
17664 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
17666         [BZ #13673]
17667         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17668         * stdio-common/bug-vfprintf-nargs.c: Likewise.
17669         * sysdeps/i386/crti.S: Likewise.
17670         * sysdeps/i386/crtn.S: Likewise.
17671         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17672         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17673         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17674         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17675         * sysdeps/sh/crti.S: Likewise.
17676         * sysdeps/sh/crtn.S: Likewise.
17677         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17679         [BZ #13673]
17680         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17681         with URL.
17682         * locale/programs/locfile-kw.gperf: Likewise.
17683         * locale/programs/charmap-kw.h: Regenerated.
17684         * locale/programs/locfile-kw.h: Likewise.
17686         [BZ #13673]
17687         * intl/plural.y: Replace FSF snail mail address with URL.
17688         * intl/plural.c: Regenerated.
17690 2012-03-09  Richard Henderson  <rth@twiddle.net>
17692         * include/math_private.h: Remove file.
17693         * math/math_private.h: Move file ...
17694         * sysdeps/generic/math_private.h: ... here.
17696         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17697         * sysdeps/powerpc/fpu/math_private.h: Likewise.
17698         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17700         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17701         and <math_private.h>.
17702         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17703         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17704         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17705         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17706         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17707         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17708         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17710         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17711         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17712         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17713         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17714         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17715         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17716         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17717         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17718         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17719         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17720         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17721         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17722         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17723         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17724         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17725         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17726         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17727         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17728         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17729         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17730         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17731         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17732         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17733         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17734         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17735         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17736         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17737         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17738         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17739         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17740         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17741         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17742         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17743         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17744         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17745         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17746         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17747         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17748         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17749         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17750         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17751         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17752         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17753         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17754         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17755         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17756         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17757         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17758         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17759         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17760         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17761         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17762         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17763         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17764         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17765         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17766         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17767         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17768         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17769         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17770         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17771         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17772         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17773         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17774         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17775         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17776         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17777         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17780         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17781         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17782         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17783         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17784         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17785         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17786         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17787         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17789         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17790         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17791         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17792         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17793         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17794         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17795         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17796         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17797         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17798         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17799         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17800         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17801         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17802         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17803         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17804         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17805         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17806         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17807         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17808         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17809         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17810         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17811         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17812         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17813         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17814         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17815         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17816         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17817         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17818         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17819         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17820         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17821         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17822         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17823         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17824         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17825         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17826         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17827         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17828         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17829         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17830         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17831         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17832         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17833         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17834         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17835         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17836         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17837         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17838         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17839         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17840         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17841         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17842         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17843         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17844         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17845         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17846         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17847         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17848         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17849         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17850         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17851         * sysdeps/ieee754/k_standard.c: Likewise.
17852         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17853         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17854         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17855         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17856         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17857         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17858         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17859         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17860         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17861         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17862         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17863         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17864         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17865         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17866         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17867         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17868         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17869         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17870         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17871         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17872         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17873         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17874         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17875         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17876         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17877         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17878         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17879         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17880         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17881         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17882         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17883         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17884         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17885         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17886         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17887         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17888         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17889         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17890         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17891         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17892         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17893         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17894         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17895         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17896         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17897         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17898         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17899         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17900         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17901         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17902         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17903         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17904         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17905         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17906         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17907         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17908         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17909         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17910         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17911         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17912         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17913         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17914         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17915         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17916         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17917         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17918         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17919         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17920         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17921         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17922         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17923         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17924         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17925         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17926         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17927         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17928         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17929         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17930         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17931         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17932         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17933         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17934         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17935         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17936         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17937         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17938         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17939         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17940         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17941         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17942         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17943         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17944         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17945         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17946         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17947         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17948         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17949         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17950         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17951         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17952         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17953         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17954         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17955         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17956         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17957         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17958         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17959         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17960         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17961         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17962         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17963         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17964         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17965         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17966         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17967         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17968         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17969         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17970         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17971         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17972         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17973         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17974         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17975         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17976         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17977         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17978         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17979         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17980         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17981         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17982         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17983         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17984         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17985         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17986         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17987         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17988         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17989         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17990         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17991         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17992         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17993         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17994         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17995         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17996         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17997         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17998         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17999         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18000         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18001         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18002         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18003         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18004         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18005         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18006         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18007         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18008         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18009         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18010         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18011         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18012         * sysdeps/ieee754/s_lib_version.c: Likewise.
18013         * sysdeps/ieee754/s_matherr.c: Likewise.
18014         * sysdeps/ieee754/s_signgam.c: Likewise.
18015         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18016         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18017         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18018         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18019         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18020         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18021         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18022         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18023         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18024         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18025         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18026         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18027         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18028         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18029         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18030         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18031         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18032         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18033         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18034         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18035         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18037 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18039         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18040         * sunrpc/rpc_main.c: Likewise.
18041         * sunrpc/rpc_svcout.c: Likewise.
18043 2012-03-09  David S. Miller  <davem@davemloft.net>
18045         * include/math_private.h: New file.
18047 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18049         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18050         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18051         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18052         from <bits/socket_type.h>.
18053         (enum __socket_type): Don't define here.
18054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18055         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18056         bits/socket_type.h.
18058         [BZ #13566]
18059         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18060         checking __USE_GNU.
18062         * Makerules ($(inst_includedir)/%.h): New rule.
18063         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18064         (install-others): Remove variable setting.
18065         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18067 2012-03-08  Richard Henderson  <rth@twiddle.net>
18069         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18070         from macro to inline function; merge with the
18071         !__LIBC_INTERNAL_MATH_INLINES version.
18072         (__ieee754_sqrtf): Likewise.
18074         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18075         to inline function.
18076         (__rintf, __floor, __floorf): Likewise.
18078         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18079         macro to inline function.
18080         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18082         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18083         not <math/math_private.h>.
18085 2012-03-08  David S. Miller  <davem@davemloft.net>
18087         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18088         copyright year.
18089         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18091 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18093         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18094         normalization.
18095         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18096         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18098 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18100         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18101         be defined individually, they must be defined as a block.  Define
18102         S for printing a string instead of hidint the different by using a
18103         macro for adding the 'l'.
18104         * stdio-common/tst-fphex-wide.c: Adjust.
18106 2012-03-07  Marek Polacek  <polacek@redhat.com>
18108         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18110 2012-03-08  Marek Polacek  <polacek@redhat.com>
18112         [BZ #13806]
18113         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18114         * stdio-common/tst-fphex.c: Define a few macros to make the
18115         test reusable.  Use them.
18116         * stdio-common/tst-fphex-wide.c: New file.
18118 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18120         [BZ #6911]
18121         * manual/macros.texi (gnusystems): New macro.
18122         (nongnusystems): Likewise.
18123         (gnulinuxhurdsystems): Likewise.
18124         (gnuhurdsystems): Likewise..
18125         (gnulinuxsystems): Likewise.
18126         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18127         variants of the GNU system, not "GNU system".
18128         * manual/conf.texi: Likewise.
18129         * manual/errno.texi: Likewise.  Update example of errno macro
18130         expansion.
18131         * manual/filesys.texi: Likewise.
18132         (getumask): Document as specific to GNU/Hurd.
18133         * manual/install.texi: Likewise.  Reword some references to
18134         GNU/Linux.
18135         * manual/intro.texi: Likewise.
18136         * manual/io.texi: Likewise.
18137         (File Name Portability): Detail which constraints are inapplicable
18138         to all GNU systems and which are only inapplicable to GNU/Hurd.
18139         * manual/job.texi: Likewise.
18140         * manual/llio.texi: Likewise.
18141         (O_NOCTTY): Document as present on GNU/Linux.
18142         * manual/maint.texi: Likewise.
18143         * manual/memory.texi: Likewise.
18144         * manual/pattern.texi: Likewise.
18145         * manual/pipe.texi: Likewise.
18146         * manual/process.texi: Likewise.
18147         * manual/resource.texi: Likewise.
18148         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18149         child on GNU/Hurd.
18150         * manual/setjmp.texi: Likewise.
18151         * manual/signal.texi: Likewise.
18152         * manual/startup.texi: Likewise.
18153         * manual/stdio.texi: Likewise.
18154         * manual/terminal.texi: Likewise.
18155         (ONLCR): Document as POSIX.
18156         (OXTABS): Document availability on GNU/Linux as XTABS.
18157         (ONOEOT): Document availability separately from other bits.
18158         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18159         * manual/time.texi: Likewise.
18160         * manual/users.texi: Likewise.
18161         * INSTALL: Regenerated.
18162         * sysdeps/gnu/errlist.c: Regenerated.
18164         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18165         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18166         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18167         puts.
18168         * configure: Regenerated.
18170 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18172         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18173         default includes instead of AC_HEADER_CHECK.
18174         * sysdeps/i386/configure: Regenerated.
18176         [BZ #10716]
18177         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18178         * math/s_cacoshf.c (__cacoshf): Likewise.
18179         * math/s_cacoshl.c (__cacoshl): Likewise.
18180         * math/s_casinh.c (__casinh): Set signs of result from argument.
18181         * math/s_casinhf.c (__casinhf): Likewise.
18182         * math/s_casinhl.c (__casinhl): Likewise.
18183         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18184         (casinh_test): Add more tests.
18185         * sysdeps/i386/fpu/libm-test-ulps: Update.
18186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18188 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18190         * po/zh_TW.po: Update from translation team.
18192         * login/Makefile (distribute): Remove variable.
18193         * catgets/Makefile: Likewise.
18194         * mach/Makefile: Likewise.
18195         * malloc/Makefile: Likewise.
18196         * misc/Makefile: Likewise.
18197         * iconv/Makefile: Likewise.
18198         * nscd/Makefile: Likewise.
18199         * hurd/Makefile: Likewise.
18200         * manual/Makefile: Likewise.
18201         * locale/Makefile: Likewise.
18202         * intl/Makefile: Likewise.
18203         * conform/Makefile: Likewise.
18204         * nss/Makefile: Likewise.
18205         * time/Makefile: Likewise.
18206         * soft-fp/Makefile: Likewise.
18207         * dirent/Makefile: Likewise.
18208         * gmon/Makefile: Likewise.
18209         * po/Makefile: Likewise.
18210         * rt/Makefile: Likewise.
18211         * socket/Makefile: Likewise.
18212         * math/Makefile: Likewise.
18213         * signal/Makefile: Likewise.
18214         * debug/Makefile: Likewise.
18215         * elf/Makefile: Likewise.
18216         * timezone/Makefile: Likewise.
18217         * stdlib/Makefile: Likewise.
18218         * iconvdata/Makefile: Likewise.
18219         * sunrpc/Makefile: Likewise.
18220         * io/Makefile: Likewise.
18221         * argp/Makefile: Likewise.
18222         * inet/Makefile: Likewise.
18223         * hesiod/Makefile: Likewise.
18224         * grp/Makefile: Likewise.
18225         * csu/Makefile: Likewise.
18226         * wctype/Makefile: Likewise.
18227         * crypt/Makefile: Likewise.
18228         * libio/Makefile: Likewise.
18229         * string/Makefile: Likewise.
18230         * nis/Makefile: Likewise.
18231         * resolv/Makefile: Likewise.
18232         * stdio-common/Makefile: Likewise.
18233         * wcsmbs/Makefile: Likewise.
18234         * dlfcn/Makefile: Likewise.
18235         * posix/Makefile: Likewise.
18237         [BZ #6959]
18238         * timezone/Makefile: Don't install timezone files, just the programs
18239         and scripts.
18241 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18243         * nss/databases.def: Add missing gshadow entry.
18245         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18247 2012-03-06  Marek Polacek  <polacek@redhat.com>
18249         [BZ #13726]
18250         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18251         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18252         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18253         * stdio-common/tst-long-dbl-fphex.c: New file.
18255 2012-03-06  David S. Miller  <davem@davemloft.net>
18257         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18258         (set_obp_int): New function.
18259         (get_obp_int): New function.
18260         (__get_clockfreq_via_dev_openprom): Likewise.
18261         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18262         Avoid unused variable warnings on 'val' and use builtin_expect.
18263         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18264         __builtin_expect.
18265         (INLINE_CLONE_SYSCALL): Likewise.
18267 2012-03-05  David S. Miller  <davem@davemloft.net>
18269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18271 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18275         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18276         only for |x| >= 40.
18277         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18279 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18282         Replace gettimeofday with __vdso_gettimeofday.
18284         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18285         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18286         __vdso_clock_gettime and __vdso_getcpu.
18288         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18289         time with __vdso_time.
18291 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18293         * manual/lang.texi (size_t): Note types to which size_t may be
18294         equivalent with the GNU C Library, but do not describe when
18295         differences between them are significant.
18297 2012-03-05  Andreas Jaeger  <aj@suse.de>
18299         * sysdeps/i386/fpu/libm-test-ulps: Update.
18301 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18303         [BZ #3976]
18304         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18305         (__ieee754_pow): Save and restore rounding mode and use
18306         round-to-nearest for main computations.
18307         * math/libm-test.inc (pow_test_tonearest): New function.
18308         (pow_test_towardzero): Likewise.
18309         (pow_test_downward): Likewise.
18310         (pow_test_upward): Likewise.
18311         (main): Call the new functions.
18312         * sysdeps/i386/fpu/libm-test-ulps: Update.
18313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18315         [BZ #3976]
18316         * math/libm-test.inc (cosh_test_tonearest): New function.
18317         (cosh_test_towardzero): Likewise.
18318         (cosh_test_downward): Likewise.
18319         (cosh_test_upward): Likewise.
18320         (sinh_test_tonearest): Likewise.
18321         (sinh_test_towardzero): Likewise.
18322         (sinh_test_downward): Likewise.
18323         (sinh_test_upward): Likewise.
18324         (main): Call the new functions.
18325         * sysdeps/i386/fpu/libm-test-ulps: Update.
18326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18328 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18330         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18331         default stack guard is set in last bytes.
18332         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18334 2012-03-05  Kees Cook  <keescook@chromium.org>
18336         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18338         [BZ #13656]
18339         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18340         possibly allocate from heap instead of stack.
18341         * stdio-common/bug-vfprintf-nargs.c: New file.
18342         * stdio-common/Makefile (tests): Add nargs overflow test.
18344 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18348 2012-03-03  Marek Polacek  <polacek@redhat.com>
18350         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18351         * math/math_private.h: Likewise.
18352         * stdlib/tst-strtod.c: Likewise.
18353         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18354         * sysdeps/x86_64/bits/atomic.h: Likewise.
18356 2012-03-02  David S. Miller  <davem@davemloft.net>
18358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18362         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18363         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18364         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18365         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18367 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18369         [BZ #13792]
18370         * manual/examples/README: New file, says the example source files
18371         can be used under GPL>=2.
18372         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18373         line containing just "*/".
18374         * manual/examples/add.c: Add copyright header (GPL>=2).
18375         * manual/examples/argp-ex1.c: Likewise.
18376         * manual/examples/argp-ex2.c: Likewise.
18377         * manual/examples/argp-ex3.c: Likewise.
18378         * manual/examples/argp-ex4.c: Likewise.
18379         * manual/examples/atexit.c: Likewise.
18380         * manual/examples/db.c: Likewise.
18381         * manual/examples/dir.c: Likewise.
18382         * manual/examples/dir2.c: Likewise.
18383         * manual/examples/execinfo.c: Likewise.
18384         * manual/examples/filecli.c: Likewise.
18385         * manual/examples/filesrv.c: Likewise.
18386         * manual/examples/fmtmsgexpl.c: Likewise.
18387         * manual/examples/genpass.c: Likewise.
18388         * manual/examples/inetcli.c: Likewise.
18389         * manual/examples/inetsrv.c: Likewise.
18390         * manual/examples/isockad.c: Likewise.
18391         * manual/examples/longopt.c: Likewise.
18392         * manual/examples/memopen.c: Likewise.
18393         * manual/examples/memstrm.c: Likewise.
18394         * manual/examples/mkfsock.c: Likewise.
18395         * manual/examples/mkisock.c: Likewise.
18396         * manual/examples/mygetpass.c: Likewise.
18397         * manual/examples/pipe.c: Likewise.
18398         * manual/examples/popen.c: Likewise.
18399         * manual/examples/rprintf.c: Likewise.
18400         * manual/examples/search.c: Likewise.
18401         * manual/examples/select.c: Likewise.
18402         * manual/examples/setjmp.c: Likewise.
18403         * manual/examples/sigh1.c: Likewise.
18404         * manual/examples/sigusr.c: Likewise.
18405         * manual/examples/stpcpy.c: Likewise.
18406         * manual/examples/strdupa.c: Likewise.
18407         * manual/examples/strftim.c: Likewise.
18408         * manual/examples/strncat.c: Likewise.
18409         * manual/examples/subopt.c: Likewise.
18410         * manual/examples/swapcontext.c: Likewise.
18411         * manual/examples/termios.c: Likewise.
18412         * manual/examples/testopt.c: Likewise.
18413         * manual/examples/testpass.c: Likewise.
18414         * manual/examples/timeval_subtract.c: Likewise.
18416         [BZ #13792]
18417         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18418         function to ...
18419         * manual/timeval_subtract.c.texi: ... here, new file.
18421 2012-03-02  David S. Miller  <davem@davemloft.net>
18423         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18425 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18427         [BZ #3976]
18428         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18429         (__sin): Save and restore rounding mode and use round-to-nearest
18430         for all computations.
18431         (__cos): Save and restore rounding mode and use round-to-nearest
18432         for all computations.
18433         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18434         <fenv.h>.
18435         (tan): Save and restore rounding mode and use round-to-nearest for
18436         all computations.
18437         * math/libm-test.inc (cos_test_tonearest): New function.
18438         (cos_test_towardzero): Likewise.
18439         (cos_test_downward): Likewise.
18440         (cos_test_upward): Likewise.
18441         (sin_test_tonearest): Likewise.
18442         (sin_test_towardzero): Likewise.
18443         (sin_test_downward): Likewise.
18444         (sin_test_upward): Likewise.
18445         (tan_test_tonearest): Likewise.
18446         (tan_test_towardzero): Likewise.
18447         (tan_test_downward): Likewise.
18448         (tan_test_upward): Likewise.
18449         (main): Call the new functions.
18450         * sysdeps/i386/fpu/libm-test-ulps: Update.
18451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18453         [BZ #10135]
18454         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18455         small n, then large n, before computing and testing k+n.
18456         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18457         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18458         Likewise.
18459         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18460         Likewise.
18461         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18462         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18463         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18464         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18465         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18466         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18467         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18468         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18469         * math/libm-test.inc (scalbn_test): Add more tests.
18470         (scalbln_test): Likewise.
18472         * manual/filesys.texi (mode_t): Describe constraints on size and
18473         signedness, not exact equivalence to a particular type.
18474         (ino_t): Likewise.
18475         (ino64_t): Likewise.
18476         (dev_t): Likewise.
18477         (nlink_t): Likewise.
18478         (blkcnt_t): Likewise.
18479         (blkcnt64_t): Likewise.
18480         * manual/llio.texi (off_t): Likewise.
18482         [BZ #3976]
18483         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18484         (__ieee754_exp): Save and restore rounding mode and use
18485         round-to-nearest for all computations.
18486         * math/libm-test.inc (exp_test_tonearest): New function.
18487         (exp_test_towardzero): Likewise.
18488         (exp_test_downward): Likewise.
18489         (exp_test_upward): Likewise.
18490         (main): Call the new functions.
18491         * sysdeps/i386/fpu/libm-test-ulps: Update.
18492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18494 2012-03-01  Chris Demetriou  <cgd@google.com>
18496         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18497         have predictable order.
18499 2012-03-01  David S. Miller  <davem@davemloft.net>
18501         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18503         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18504         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18505         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18506         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18508         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18509         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18510         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18512         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18513         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18514         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18515         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18516         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18520         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18521         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18522         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18524         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18525         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18526         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18527         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18528         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18529         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18530         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18531         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18532         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18533         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18534         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18535         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18536         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18537         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18538         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18539         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18540         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18541         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18542         * sysdeps/sparc/elf/configure: Regenerated.
18544 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18546         * configure.in (AS, LD): Require binutils 2.20 or later.
18547         * configure: Regenerated.
18548         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18549         as required minimum version.
18550         * INSTALL: Regenerated.
18552         [BZ #2541]
18553         [BZ #4108]
18554         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18555         before squaring exponent.
18556         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18557         bottom long double and 27 bits of top long double before squaring
18558         exponent.
18559         * math/libm-test.inc (erfc_test): Add more tests.
18560         * sysdeps/i386/fpu/libm-test-ulps: Update.
18561         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18564 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18566         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18567         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18568         containing bit-fields.
18569         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18570         * soft-fp/single.h (_FP_UNION_S): Likewise.
18571         * soft-fp/double.h (_FP_UNION_D): Likewise.
18573 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18575         [BZ #13786]
18576         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18577         not include ../strcmp.S.
18578         [USE_AS_STRNCASECMP_L]: Likewise.
18579         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18580         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18581         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18582         (__strncasecmp_l_ia32): Define as alias to
18583         __strncasecmp_l_nonascii.
18585         [BZ #5794]
18586         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18587         * sysdeps/i386/fpu/libm-test-ulps: Update.
18588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18590         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18593 2012-02-29  Jeff Law  <law@redhat.com>
18595         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18596         out of bounds read.
18598 2012-02-29  Marek Polacek  <polacek@redhat.com>
18600         [BZ #13706]
18601         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18602         * elf/Makefile: Add rules to run tst-unused-dep.out.
18604 2012-02-28  David S. Miller  <davem@davemloft.net>
18606         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18607         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18608         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18610         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18611         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18613 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18615         * math/libm-test.inc (llround_test): Move one test from
18616         lround_test.  Use TEST_f_L in moved test.
18617         (lround_test): Move misplaced test to llround_test.  Add testcase
18618         from bug 2561.
18620 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18622         * sysdeps/x86_64/fpu/e_expf.S: New file.
18623         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18625 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18627         [BZ #13637]
18628         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18629         of remain_len that may cause incomplete multi-byte character and
18630         false match.
18631         * posix/bug-regex33.c: New file.
18632         * posix/Makefile (tests): Add bug-regex33.
18634 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18636         * manual/macros.texi: New file.
18637         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18638         * manual/libc.texinfo: Include macros.texi.
18639         * manual/creatute.texi: Likewise.
18640         * manual/install.texi: Likewise.
18641         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18642         @glibcadj{} in references to the GNU C Library.
18643         * manual/charset.texi: Likewise.
18644         * manual/conf.texi: Likewise.
18645         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18646         when not using those macros.
18647         * manual/creature.texi: Likewise.
18648         * manual/crypt.texi: Likewise.
18649         * manual/errno.texi: Likewise.
18650         * manual/filesys.texi: Likewise.
18651         * manual/header.texi: Likewise.
18652         * manual/install.texi: Likewise.
18653         * manual/intro.texi: Likewise.
18654         * manual/io.texi: Likewise.
18655         * manual/job.texi: Likewise.
18656         * manual/lang.texi: Likewise.
18657         * manual/libc.texiinfo: Likewise.
18658         * manual/llio.texi: Likewise.
18659         * manual/locale.texi: Likewise.
18660         * manual/maint.texi: Likewise.
18661         * manual/math.texi: Likewise.
18662         * manual/memory.texi: Likewise.
18663         * manual/message.texi: Likewise.
18664         * manual/nss.texi: Likewise.
18665         * manual/pattern.texi: Likewise.
18666         * manual/process.texi: Likewise.
18667         * manual/resource.texi: Likewise.
18668         * manual/search.texi: Likewise.
18669         * manual/setjmp.texi: Likewise.
18670         * manual/signal.texi: Likewise.
18671         * manual/socket.texi: Likewise.
18672         * manual/startup.texi: Likewise.
18673         * manual/stdio.texi: Likewise.
18674         * manual/string.texi: Likewise.
18675         * manual/sysinfo.texi: Likewise.
18676         * manual/syslog.texi: Likewise.
18677         * manual/terminal.texi: Likewise.
18678         * manual/time.texi: Likewise.
18679         * manual/users.texi: Likewise.
18680         * INSTALL: Regenerated.
18681         * NOTES: Regenerated.
18682         * sysdeps/gnu/errlist.c: Regenerated.
18684 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
18686         * include/dirent.h: Include <dirstream.h> before
18687         <dirent/dirent.h>.
18689 2012-02-28  David S. Miller  <davem@davemloft.net>
18691         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18692         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18693         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18694         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18696 2012-02-27  David S. Miller  <davem@davemloft.net>
18698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18700         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18701         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18704         frame pointer instead of stack pointer relative arg slot.
18705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18706         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18707         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18709 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
18711         [BZ #3992]
18712         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18714 2012-02-27  David S. Miller  <davem@davemloft.net>
18716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18720         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18721         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18722         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18723         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18725 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18727         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18728         later.  Allow versions 5-9.
18729         * configure: Regenerated.
18730         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18731         required minimum version and 4.6 as recommended version.  Do not
18732         mention bugs in GCC 2.7 and 2.8.
18733         * INSTALL: Regenerated.
18735 2012-02-27  David S. Miller  <davem@davemloft.net>
18737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18741         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18742         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18743         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18744         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18746         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18747         manipulate bits before adding and subtracting TWO112[sx].
18748         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18750 2012-02-27  Roland McGrath  <roland@hack.frob.com>
18752         [BZ #13775]
18753         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18754         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18755         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18756         being in POSIX, because they are in 1003.1-2008.
18758         * rt/tst-aio.c: Include <fcntl.h>.
18759         * rt/tst-aio7.c: Likewise.
18760         * rt/tst-aio64.c: Likewise.
18762         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18764 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18766         * manual/install.texi (--with-headers): Describe headers as
18767         interface headers, not private headers.
18768         (Specific advice for GNU/Linux systems): Describe use of headers
18769         from "make headers_install", not private headers from older
18770         kernels.
18771         * INSTALL: Regenerated.
18772         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18773         Change to 2.6.19.
18774         * sysdeps/unix/sysv/linux/configure: Regenerated.
18776         * manual/llio.texi (fclean): Remove documentation.
18778         * manual/Makefile (libc-texi-generated): New variable.  Include
18779         version.texi.
18780         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18781         $(libc-texi-generated), not duplicated list of files.
18782         (version.texi, stamp-version): New rules.
18783         (realclean): Remove $(libc-texi-generated), not individual files
18784         from that list.  Do not remove dir-add.texinfo.
18785         * manual/libc.texinfo: Comment out uses of edition numbers and
18786         references to printed manual.  Remove last-updated dates.
18787         (EDITION): Comment out.
18788         (ISBN): Likewise.
18789         (VERSION, UPDATED): Remove.
18790         (version.texi): Include.
18792 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
18794         * sysdeps/posix/spawni.c: Include <signal.h>.
18795         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18796         * sysdeps/pthread/aio_fsync.c: Likewise.
18798 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
18800         * conform/Makefile (tests): Run only when not cross-compiling and
18801         when fast-check is not defined.
18803         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18804         * conform/data/limits.h-data: Fixes for POSIX2008.
18805         * conform/run-conformtest.sh: Run all tests.
18806         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18807         headers.
18808         * include/bits/dlfcn.h: Likewise.
18809         * include/langinfo.h: Likewise.
18810         * include/monetary.h: Likewise.
18811         * include/sys/poll.h: Likewise.
18813         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18814         for __USE_GNU.
18815         * posix/spawn.h: Define __need_sigset_t.
18816         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18817         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18818         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
18819         to get sigevent_t only.
18820         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18821         only for __USE_GNU.
18822         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18823         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18824         process_vm_writev only for __USE_GNU.
18825         * termios/termios.h: Declare tcgetsid also for POSIX2008.
18827         * conform/Makefile: For now ignore errors from run-conformtest.
18828         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
18829         POSIX to avoid namespace pollution.  Don't prepend headers.
18830         * conform/data/aio.h-data: Fixes for POSIX testing.
18831         * conform/data/fcntl.h-data: Likewise.
18832         * conform/data/glob.h-data: Likewise.
18833         * conform/data/grp.h-data: Likewise.
18834         * conform/data/pthread.h-data: Likewise.
18835         * conform/data/pwd.h-data: Likewise.
18836         * conform/data/signal.h-data: Likewise.
18837         * conform/data/spawn.h-data: Likewise.
18838         * conform/data/stdio.h-data: Likewise.
18839         * conform/data/stdlib.h-data: Likewise.
18840         * conform/data/stropts.h-data: Likewise.
18841         * conform/data/sys/mman.h-data: Likewise.
18842         * conform/data/sys/stat.h-data: Likewise.
18843         * conform/data/sys/types.h-data: Likewise.
18844         * conform/data/sys/wait.h-data: Likewise.
18845         * conform/data/time.h-data: Likewise.
18846         * conform/data/unistd.h-data: Likewise.
18847         * conform/data/utime.h-data: Likewise.
18849         * io/sys/stat.h: fchmod was always in POSIX.
18850         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18851         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18852         * rt/aio.h: Define __need_timespec before including <time.h>.
18853         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18854         struct.  Add forward declaration of pthread_attr_t and use it in
18855         sigevent.
18856         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18857         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18858         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18859         always remove CLK_TCK definition.
18861 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
18863         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18865 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
18867         * conform/run-conformtest.sh: New file.
18868         * conform/Makefile: Run run-conformtest for tests.
18869         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
18870         support.
18872         * conform/data/uchar.h-data: New file.
18873         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18874         * conform/data/arpa/inet.h-data: Likewise.
18875         * conform/data/assert.h-data: Likewise.
18876         * conform/data/complex.h-data: Likewise.
18877         * conform/data/cpio.h-data: Likewise.
18878         * conform/data/ctype.h-data: Likewise.
18879         * conform/data/dirent.h-data: Likewise.
18880         * conform/data/dlfcn.h-data: Likewise.
18881         * conform/data/errno.h-data: Likewise.
18882         * conform/data/fcntl.h-data: Likewise.
18883         * conform/data/float.h-data: Likewise.
18884         * conform/data/fmtmsg.h-data: Likewise.
18885         * conform/data/fnmatch.h-data: Likewise.
18886         * conform/data/ftw.h-data: Likewise.
18887         * conform/data/glob.h-data: Likewise.
18888         * conform/data/grp.h-data: Likewise.
18889         * conform/data/iconv.h-data: Likewise.
18890         * conform/data/inttypes.h-data: Likewise.
18891         * conform/data/langinfo.h-data: Likewise.
18892         * conform/data/libgen.h-data: Likewise.
18893         * conform/data/limits.h-data: Likewise.
18894         * conform/data/locale.h-data: Likewise.
18895         * conform/data/math.h-data: Likewise.
18896         * conform/data/monetary.h-data: Likewise.
18897         * conform/data/mqueue.h-data: Likewise.
18898         * conform/data/ndbm.h-data: Likewise.
18899         * conform/data/net/if.h-data: Likewise.
18900         * conform/data/netdb.h-data: Likewise.
18901         * conform/data/netinet/in.h-data: Likewise.
18902         * conform/data/nl_types.h-data: Likewise.
18903         * conform/data/poll.h-data: Likewise.
18904         * conform/data/pthread.h-data: Likewise.
18905         * conform/data/pwd.h-data: Likewise.
18906         * conform/data/regex.h-data: Likewise.
18907         * conform/data/sched.h-data: Likewise.
18908         * conform/data/search.h-data: Likewise.
18909         * conform/data/semaphore.h-data: Likewise.
18910         * conform/data/setjmp.h-data: Likewise.
18911         * conform/data/signal.h-data: Likewise.
18912         * conform/data/spawn.h-data: Likewise.
18913         * conform/data/stdarg.h-data: Likewise.
18914         * conform/data/stdio.h-data: Likewise.
18915         * conform/data/stdlib.h-data: Likewise.
18916         * conform/data/string.h-data: Likewise.
18917         * conform/data/strings.h-data: Likewise.
18918         * conform/data/stropts.h-data: Likewise.
18919         * conform/data/sys/ipc.h-data: Likewise.
18920         * conform/data/sys/mman.h-data: Likewise.
18921         * conform/data/sys/msg.h-data: Likewise.
18922         * conform/data/sys/resource.h-data: Likewise.
18923         * conform/data/sys/select.h-data: Likewise.
18924         * conform/data/sys/sem.h-data: Likewise.
18925         * conform/data/sys/shm.h-data: Likewise.
18926         * conform/data/sys/socket.h-data: Likewise.
18927         * conform/data/sys/stat.h-data: Likewise.
18928         * conform/data/sys/statvfs.h-data: Likewise.
18929         * conform/data/sys/time.h-data: Likewise.
18930         * conform/data/sys/timeb.h-data: Likewise.
18931         * conform/data/sys/times.h-data: Likewise.
18932         * conform/data/sys/types.h-data: Likewise.
18933         * conform/data/sys/uio.h-data: Likewise.
18934         * conform/data/sys/un.h-data: Likewise.
18935         * conform/data/sys/utsname.h-data: Likewise.
18936         * conform/data/sys/wait.h-data: Likewise.
18937         * conform/data/syslog.h-data: Likewise.
18938         * conform/data/tar.h-data: Likewise.
18939         * conform/data/termios.h-data: Likewise.
18940         * conform/data/utime.h-data: Likewise.
18941         * conform/data/utmpx.h-data: Likewise.
18942         * conform/data/varargs.h-data: Likewise.
18943         * conform/data/wchar.h-data: Likewise.
18944         * conform/data/wctype.h-data: Likewise.
18945         * conform/data/wordexp.h-data: Likewise.
18947         * include/stropts.h: New file.
18948         * include/uchar.h: New file.
18949         * include/aio.h: Changes to allow conformtest.pl to use the headers.
18950         * include/assert.h: Likewise.
18951         * include/ctype.h: Likewise.
18952         * include/dirent.h: Likewise.
18953         * include/dlfcn.h: Likewise.
18954         * include/fcntl.h: Likewise.
18955         * include/fnmatch.h: Likewise.
18956         * include/glob.h: Likewise.
18957         * include/grp.h: Likewise.
18958         * include/libio.h: Likewise.
18959         * include/locale.h: Likewise.
18960         * include/math.h: Likewise.
18961         * include/net/if.h: Likewise.
18962         * include/netdb.h: Likewise.
18963         * include/netinet/in.h: Likewise.
18964         * include/pthread.h: Likewise.
18965         * include/pwd.h: Likewise.
18966         * include/regex.h: Likewise.
18967         * include/sched.h: Likewise.
18968         * include/search.h: Likewise.
18969         * include/setjmp.h: Likewise.
18970         * include/signal.h: Likewise.
18971         * include/stdio.h: Likewise.
18972         * include/stdlib.h: Likewise.
18973         * include/string.h: Likewise.
18974         * include/sys/cdefs.h: Likewise.
18975         * include/sys/mman.h: Likewise.
18976         * include/sys/msg.h: Likewise.
18977         * include/sys/resource.h: Likewise.
18978         * include/sys/select.h: Likewise.
18979         * include/sys/socket.h: Likewise.
18980         * include/sys/stat.h: Likewise.
18981         * include/sys/statvfs.h: Likewise.
18982         * include/sys/time.h: Likewise.
18983         * include/sys/times.h: Likewise.
18984         * include/sys/uio.h: Likewise.
18985         * include/sys/utsname.h: Likewise.
18986         * include/sys/wait.h: Likewise.
18987         * include/termios.h: Likewise.
18988         * include/time.h: Likewise.
18989         * include/ulimit.h: Likewise.
18990         * include/unistd.h: Likewise.
18991         * include/utime.h: Likewise.
18992         * include/wchar.h: Likewise.
18993         * include/wctype.h: Likewise.
18994         * include/wordexp.h: Likewise.
18996         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18998         * time/time.h: TIME_UTC must be a macro.
18999         Make timespec_get available for ISO C11 only as well.
19001 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19003         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19004         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19006 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19008         * configure.in: Use -o not -a in test for unsupported multi-arch.
19010 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19012         * manual/texinfo.tex: Update to version 2012-01-19.16.
19014 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19016         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19018 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19020         [BZ #13738]
19021         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19022         * manual/fdl-1.3.texi: New file.
19023         * manual/fdl-1.1.texi: File removed.
19025         [BZ #13738]
19026         * manual/libc.texinfo (FDL_VERSION): New @set.
19027         Use it for mention of FDL in cover text.
19028         (Documentation License): Use it in @include file name.
19030 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19031             Roland McGrath  <roland@hack.frob.com>
19033         [BZ #5461]
19034         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19035         not LONG_LONG_MAX and LONG_LONG_MIN.
19036         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19037         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19038         name.
19039         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19041 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19043         [BZ #2547]
19044         [BZ #11365]
19045         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19046         manipulate bits before adding and subtracting TWO23[sx].
19047         * math/libm-test.inc (nearbyint_test): Add more tests.
19049 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19051         [BZ #2548]
19052         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19053         bits before adding and subtracting TWO23[sx].
19054         * math/libm-test.inc (rint_test): Add more tests.
19055         (rint_test_tonearest): Likewise.
19056         (rint_test_towardzero): Likewise.
19057         (rint_test_downward): Likewise.
19058         (rint_test_upward: Likewise.
19060 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19062         [BZ #10110]
19063         * include/stdc-predef.h: New file.  Extracted from features.h.
19064         * include/features.h: Include stdc-predef.h.
19065         * Makefile (headers): Add stdc-predef.h.
19066         * CONFORMANCE (Compiler limitations): Update.
19068 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19070         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19072 2012-02-21  David S. Miller  <davem@davemloft.net>
19074         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19075         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19077 2012-02-20  David S. Miller  <davem@davemloft.net>
19079         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19080         using a normal save/restore sequence, rather than allocating a
19081         dummy stack frame just to store a frame pointer and restore.
19082         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19084 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19086         * manual/install.texi: Fix stray word in line-wrapped comment.
19088 2012-02-20  David S. Miller  <davem@davemloft.net>
19090         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19091         both binutils and gcc support GOTDATA.
19093         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19094         "rd %pc" in the PIC register setup sequences.
19096         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19097         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19098         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19099         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19100         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19101         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19102         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19103         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19104         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19105         (SYSCALL_ERROR_HANDLER): Likewise.
19106         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19107         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19108         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19109         (SYSCALL_ERROR_HANDLER): Likewise.
19111         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19112         (HAVE_GCC_GOTDATA): New.
19113         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19114         relocation support in both binutils and gcc.
19115         * sysdeps/sparc/elf/configure: Regenerate.
19117         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19118         * sysdeps/sparc/sparc32/elf/configure: Delete.
19119         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19120         * sysdeps/sparc/sparc64/elf/configure: Delete.
19121         * sysdeps/sparc/elf/configure.in: New file.
19122         * sysdeps/sparc/elf/configure: Generate.
19124         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19125         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19126         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19127         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19128         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19130 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19132         * manual/install.texi: Do not mention specific glibc version
19133         numbers.
19134         * manual/libc.texinfo (VERSION, UPDATED): Update.
19135         (@copying): Use @copyright{} and range of years.
19137 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19139         [BZ #13695]
19140         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19141         [crti.S not in sysdirs] (generated): Do not append.
19142         [crti.S not in sysdirs] (omit-deps): Likewise.
19143         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19144         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19145         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19146         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19147         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19148         Likewise.
19149         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19150         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19151         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19152         * csu/defs.awk: Remove file.
19153         * sysdeps/generic/initfini.c: Likewise.
19154         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19155         variable.
19156         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19157         Likewise.
19159 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19161         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19162         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19163         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19164         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19165         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19166         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19167         <bits/epoll.h>.
19168         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19169         (__EPOLL_PACKED): Define to empty if not defined by
19170         <bits/epoll.h>.
19171         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19172         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19173         bits/epoll.h.
19175 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19177         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19178         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19179         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19180         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19181         <bits/timerfd.h>.
19182         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19183         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19184         bits/timerfd.h.
19186 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19188         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19189         in C locale.
19190         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19191         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19192         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19195 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19197         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19198         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19200 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19202         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19203         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19204         defined.
19205         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19206         Likewise.
19207         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19208         entry for 2.16.
19210 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19212         * math/w_acos.c: Use non-signaling floating-point comparisons.
19213         * math/w_acosf.c: Likewise.
19214         * math/w_acosh.c: Likewise.
19215         * math/w_acoshf.c: Likewise.
19216         * math/w_acoshl.c: Likewise.
19217         * math/w_acosl.c: Likewise.
19218         * math/w_asin.c: Likewise.
19219         * math/w_asinf.c: Likewise.
19220         * math/w_asinl.c: Likewise.
19221         * math/w_atanh.c: Likewise.
19222         * math/w_atanhf.c: Likewise.
19223         * math/w_atanhl.c: Likewise.
19224         * math/w_exp2.c: Likewise.
19225         * math/w_exp2f.c: Likewise.
19226         * math/w_exp2l.c: Likewise.
19227         * math/w_j0.c: Likewise.
19228         * math/w_j0f.c: Likewise.
19229         * math/w_j0l.c: Likewise.
19230         * math/w_j1.c: Likewise.
19231         * math/w_j1f.c: Likewise.
19232         * math/w_j1l.c: Likewise.
19233         * math/w_jn.c: Likewise.
19234         * math/w_jnf.c: Likewise.
19235         * math/w_log.c: Likewise.
19236         * math/w_log10.c: Likewise.
19237         * math/w_log10f.c: Likewise.
19238         * math/w_log10l.c: Likewise.
19239         * math/w_log2.c: Likewise.
19240         * math/w_log2f.c: Likewise.
19241         * math/w_log2l.c: Likewise.
19242         * math/w_logf.c: Likewise.
19243         * math/w_logl.c: Likewise.
19244         * math/w_sqrt.c: Likewise.
19245         * math/w_sqrtf.c: Likewise.
19246         * math/w_sqrtl.c: Likewise.
19247         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19248         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19249         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19250         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19251         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19253 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19255         [BZ #9739]
19256         * manual/string.texi (strnlen): Use correct parameter name in
19257         equivalent expression.
19259 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19261         [BZ #11174]
19262         * manual/users.texi (seteuid): Consistently use neweuid for
19263         argument name.
19265 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19267         [BZ #13704]
19268         * manual/nss.texi (Services in the NSS configuration): Correct
19269         list of services in example configuration file.
19271 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19273         [BZ #11322]
19274         * manual/arith.texi: Remove statements about negative zero
19275         behaving identically to zero.
19277 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19279         [BZ #5993]
19280         * manual/install.texi: Do not document upgrading from libc5.
19282 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19284         [BZ #4596]
19285         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19287 2012-02-18  David S. Miller  <davem@davemloft.net>
19289         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19290         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19291         %o7 across the call.
19292         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19293         instead.
19294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19295         SETUP_PIC_REG_LEAF.
19296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19297         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19298         * sysdeps/sparc/crtn.S: Likewise.
19300 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19302         * aout/Makefile: Remove.
19304 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19306         [BZ #13058]
19307         * manual/examples/argp-ex1.c (main): Format definition in GNU
19308         style.
19309         * manual/examples/argp-ex2.c (main): Likewise.
19310         * manual/examples/argp-ex3.c (main): Likewise.
19311         * manual/examples/argp-ex4.c (main): Likewise.
19312         * manual/examples/longopt.c (main): Use new-style prototype
19313         definition.
19314         * manual/examples/strncat.c (main): Specify return type and use
19315         (void) for arguments.
19316         * manual/examples/subopt.c (main): Use char **argv argument.
19318 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19320         [BZ #5077]
19321         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19322         rounding modes.
19324 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19326         [BZ #6907]
19327         * manual/string.texi (strchr): Change when strchrnul is
19328         recommended.
19330 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19332         [BZ #174]
19333         * manual/locale.texi (setlocale): Document LOCPATH.
19335 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19337         [BZ #10210]
19338         * manual/process.texi (execle): Move @dots{} before last argument.
19340 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19342         [BZ #12047]
19343         * manual/charset.texi (Generic Charset Conversion): Fix typo
19344         (LC_TYPE -> LC_CTYPE).
19346 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19348         [BZ #5805]
19349         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19350         (scalbnf): Likewise.
19351         (scalbnl): Likewise.
19352         (scalbln): Likewise.
19353         (scalblnf): Likewise.
19354         (scalblnl): Likewise.
19355         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19356         (vwarnx): Likewise.
19357         (verr): Likewise.
19358         (verrx): Likewise.
19359         * manual/filesys.texi (telldir): Use braces around return type.
19360         * manual/llio.texi (mmap): Add space after comma.
19361         (mmap64): Likewise.
19362         * manual/math.texi (jn): Use @var{} on parameter names.
19363         (jnf): Likewise.
19364         (jnl): Likewise.
19365         (yn): Likewise.
19366         (ynf): Likewise.
19367         (ynl): Likewise.
19368         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19369         line.
19370         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19371         "...".
19372         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19373         (sched_get_priority_max): Likewise.
19374         * manual/signal.texi (sigvec): Add space after comma.
19375         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19376         names.
19377         (if_indextoname): Likewise.
19378         (if_freenameindex): Likewise.
19379         (sendto): Use ',' instead of '.' in prototype.
19380         * manual/startup.texi (syscall): Use @dots{} instead of literal
19381         "...".
19382         * manual/stdio.texi (__fpending): Separate initial words of
19383         paragraph from @deftypefun line.
19384         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19385         "...".
19386         (vsyslog): Use @var{} on parameter names.
19387         * manual/terminal.texi (stty): Use @var{} on parameter names.
19388         * manual/users.texi (getutmp): Use @var{} on parameter names.
19389         (getutmpx): Likewise.
19391 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19393         [BZ #6884]
19394         * manual/stdio.texi (fopen): Fix typos in description of
19395         ",ccs=STRING".
19397 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19399         [BZ #4026]
19400         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19401         get clock_id definition.
19403 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19405         [BZ #4822]
19406         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19407         (madvise): Cast every argument to void on its own.
19409 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19411         [BZ #9902]
19412         * manual/startup.texi (Exit Status): Fix typo.
19414 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19416         [BZ #10140]
19417         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19418         * manual/examples/argp-ex2.c: Likewise.
19419         * manual/examples/argp-ex3.c: Likewise.
19421 2012-02-16  Richard Henderson  <rth@redhat.com>
19423         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19424         * sysdeps/s390/s390-32/initfini.c: Remove.
19425         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19426         * sysdeps/s390/s390-64/initfini.c: Remove.
19428 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19430         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19431         compiler output for sysdeps/generic/initfini.c.
19432         * sysdeps/sh/elf/initfini.c: Remove file.
19434 2012-02-16  David S. Miller  <davem@davemloft.net>
19436         [BZ #11494]
19437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19439         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19440         * sysdeps/sparc/crti.S: New file.
19441         * sysdeps/sparc/crtn.S: New file.
19442         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19443         * sysdeps/sparc/sparc64/Makefile: Likewise.
19445 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19447         [BZ #3335]
19448         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19450 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19452         [BZ #4822]
19453         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19455         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19456         (write, read, close): Likewise.
19457         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19459 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19461         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19462         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19463         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19464         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19465         <bits/signalfd.h>.
19466         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19468         bits/signalfd.h.
19470 2012-02-14  Marek Polacek  <polacek@redhat.com>
19472         * sysdeps/x86_64/crti.S: New file.
19473         * sysdeps/x86_64/crtn.S: New file.
19474         * sysdeps/x86_64/elf/initfini.c: Remove file.
19476 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19478         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19479         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19480         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19481         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19482         <bits/inotify.h>.
19483         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19484         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19485         bits/inotify.h.
19487 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19489         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19490         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19491         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19492         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19493         <bits/eventfd.h>.
19494         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19495         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19496         bits/eventfd.h.
19498 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19500         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19501         __feraiseexcept instead of feraiseexcept.
19503         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19504         nanosleep invocations.
19505         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19506         strings, and add error checking for a nanosleep invocations.
19508 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19510         Replace FSF snail mail address with URLs, as per GNU coding standards.
19511         Most of the snail mail addresses were wrong anyway, and omitting
19512         them makes the source code easier to maintain.  Almost all of the
19513         changes are to license notices and to locale LC_IDENTIFICATION
19514         addresses, except for this one:
19515         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19516         not its snail mail address.
19518 2012-02-09  Richard Henderson  <rth@twiddle.net>
19520         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19521         of kernel-features.h.
19523         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19525 2012-02-08  Marek Polacek  <polacek@redhat.com>
19527         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19528         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19529         * sysdeps/gnu/_G_config.h: Likewise.
19530         * sysdeps/generic/_G_config.h: Likewise.
19532 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19534         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19535         tests.
19536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19538         * sysdeps/powerpc/powerpc32/crti.S: New file.
19539         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19540         * sysdeps/powerpc/powerpc64/crti.S: New file.
19541         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19543         * Makeconfig (have-initfini): Don't set.
19544         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19545         * configure.in (nopic_initfini): Don't substitute.
19546         * config.h.in (HAVE_INITFINI): Don't #undef.
19547         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19548         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19550 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19552         Support crti.S and crtn.S provided directly by architectures.
19553         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19554         [crti.S in sysdirs] (omit-deps): Likewise.
19555         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19556         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19557         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19558         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19559         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19560         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19561         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19562         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19563         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19564         compiler output for sysdeps/generic/initfini.c.
19565         * sysdeps/i386/elf/Makefile: Remove file.
19566         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19568 2012-02-07  Marek Polacek  <polacek@redhat.com>
19570         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19571         * sysdeps/gnu/_G_config.h: Likewise.
19572         * sysdeps/mach/hurd/_G_config.h: Likewise.
19574 2012-02-07  Marek Polacek  <polacek@redhat.com>
19576         * math/Makefile (tests): Add tst-CMPLX2.
19577         * math/tst-CMPLX2.c: New file.
19579 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19581         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19583         * math/libm-test.inc (jn_test): Add missing L suffix.
19585 2012-02-06  Marek Polacek  <polacek@redhat.com>
19587         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19588         * sysdeps/i386/fpu/e_powf.S: Likewise.
19589         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19590         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19591         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19592         * sysdeps/i386/fpu/e_pow.S: Likewise.
19593         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19594         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19595         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19596         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19597         * sysdeps/i386/fpu/e_log2.S: Likewise.
19598         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19599         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19600         * sysdeps/i386/fpu/e_powl.S: Likewise.
19601         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19602         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19603         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19604         * sysdeps/i386/fpu/e_logl.S: Likewise.
19605         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19606         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19607         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19608         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19609         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19610         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19611         * sysdeps/i386/fpu/e_log.S: Likewise.
19612         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19613         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19614         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19615         * sysdeps/i386/fpu/e_logf.S: Likewise.
19616         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19617         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19618         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19619         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19620         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19621         * sysdeps/i386/fpu/e_log10.S: Likewise.
19622         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19623         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19624         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19625         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19626         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19627         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19628         * sysdeps/i386/asm-syntax.h: Likewise.
19629         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19630         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19631         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19632         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19633         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19634         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19635         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19636         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19637         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19638         * sysdeps/powerpc/sysdep.h: Likewise.
19639         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19640         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19642 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19644         [BZ #411]
19645         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19647 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19649         * sysdeps/i386/sysdep.h: Include <features.h>.
19650         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19651         version.
19653 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
19655         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19656         Define.
19657         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19658         LOAD_PIC_REG_STR.
19660 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19662         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19663         (SETUP_PIC_REG): Use GET_PC_THUNK.
19664         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19665         macro.
19667 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19669         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19670         for non-PIC compilation.
19671         (SETUP_PIC_REG): Add .p2align directive.
19672         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19673         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19674         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19675         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19676         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19677         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19678         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19679         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19680         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19681         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19682         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19683         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19684         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19685         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19686         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19687         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19688         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19689         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19690         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19691         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19692         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19693         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19694         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19695         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19696         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19697         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19698         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19699         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19700         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19701         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19702         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19703         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19704         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19705         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19706         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19707         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19708         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19709         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19710         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19711         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19712         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19714 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19716         * math/tst-CMPLX.c: Include <stdio.h>.
19718 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
19720         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19721         float.
19722         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19723         * sysdeps/sparc/bits/mathdef.h: Likewise.
19725 2012-01-31  Marek Polacek  <polacek@redhat.com>
19727         * libio/libio.h: Don't define _PARAMS.
19728         * locale/programs/config.h: Don't define PARAMS.
19729         * stdlib/strtol_l.c: Likewise.
19730         (__strtol_l): Remove PARAMS from the prototype.
19732 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
19734         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
19735         names.  Just use the correct names.  Remove unnecessary wrapper
19736         functions.
19737         * malloc/arena.c: Likewise.
19738         * malloc/hooks.c: Likewise.
19740         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19741         ARENA_TEST says not to.  Simplify test for creation of a new arena.
19742         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19744 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
19746         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19747         into tail calls.
19748         (update_get_addr): New function.
19749         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19750         GET_ADDR_MODULE parameter.
19752 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19754         * crypt/cert.c: Remove __STDC__ conditionals.
19755         * crypt/crypt-entry.c: Likewise.
19756         * crypt/crypt_util.c: Likewise.
19757         * libio/filedoalloc.c: Likewise.
19758         * libio/fileops.c: Likewise.
19759         * libio/genops.c: Likewise.
19760         * libio/iofclose.c: Likewise.
19761         * libio/iofdopen.c: Likewise.
19762         * libio/iofopen.c: Likewise.
19763         * libio/iofopen64.c: Likewise.
19764         * libio/iogetdelim.c: Likewise.
19765         * libio/iopopen.c: Likewise.
19766         * libio/obprintf.c: Likewise.
19767         * libio/oldfileops.c: Likewise.
19768         * libio/oldiofclose.c: Likewise.
19769         * libio/oldiofdopen.c: Likewise.
19770         * libio/oldiofopen.c: Likewise.
19771         * libio/oldiopopen.c: Likewise.
19772         * libio/wfiledoalloc.c: Likewise.
19773         * libio/wgenops.c: Likewise.
19774         * locale/programs/xmalloc.c: Likewise.
19775         * misc/syslog.c: Likewise.
19776         * stdio-common/xbug.c: Likewise.
19777         * string/memchr.c: Likewise.
19778         * string/memcmp.c: Likewise.
19779         * string/memrchr.c: Likewise.
19780         * string/rawmemchr.c: Likewise.
19781         * sysdeps/posix/getcwd.c: Likewise.
19782         * time/strftime_l.c: Likewise.
19784 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19786         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19787         * config.make.in (config-cflags-sse2avx): Define.
19788         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19789         Fix typo.
19791 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
19793         * scripts/config.guess: Update from upstream config git repository.
19794         * scripts/config.sub: Likewise.
19796 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
19798         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19799         (EM_NUM): Update.
19800         (R_TILEPRO_*, R_TILEGX_*): New macros.
19802         * scripts/firstversions.awk: Fix bug in version range handling.
19804         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19806         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19808         * include/sys/epoll.h: New file.
19809         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19810         libc_hidden_def.
19812 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
19814         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19815         Avoid unnecessary __WORDSIZE == 64 test.
19816         (fmaxf): Use VEX format if possible.
19817         (fmax): Likewise.
19818         (fminf): Likewise.
19819         (fmin): Likewise.
19821         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19822         * math/math_private.h: Remove libc_fegetround* and
19823         libc_fesetround*.
19824         * sysdeps/i386/configure.in: Check for -msse2avx.
19825         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19826         also if SSE2AVX is defined.
19827         Remove libc_fegetround* and libc_fesetround*.
19828         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19829         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
19830         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19831         of HAS_YMM_USABLE.
19832         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19833         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19834         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19835         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19836         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19838         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19840 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19842         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19843         size is not set.
19844         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19846 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
19848         [BZ #13618]
19849         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19850         relocation.
19851         * Makeconfig (libm): Define.
19852         * elf/Makefile: Add rules to build and run tst-relsort1.
19853         * elf/tst-relsort1.c: New file.
19854         * elf/tst-relsort1mod1.c: New file.
19855         * elf/tst-relsort1mod2.c: New file.
19857 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
19859         * math/s_ldexp.c: Remove __STDC__ conditionals.
19860         * math/s_ldexpf.c: Likewise.
19861         * math/s_ldexpl.c: Likewise.
19862         * math/s_nextafter.c: Likewise.
19863         * math/s_nexttowardf.c: Likewise.
19864         * math/s_significand.c: Likewise.
19865         * math/s_significandf.c: Likewise.
19866         * math/s_significandl.c: Likewise.
19867         * math/w_jnl.c: Likewise.
19868         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19869         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19870         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19871         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19872         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19873         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19874         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19875         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19876         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19877         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19878         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19879         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19880         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19881         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19882         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19883         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19884         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19885         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19886         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19887         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19888         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19889         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19890         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19891         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19892         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19893         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19894         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19895         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19896         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19897         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19898         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19899         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19900         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19901         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19902         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19903         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19904         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19905         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19906         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19907         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19908         * sysdeps/ieee754/k_standard.c: Likewise.
19909         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19910         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19911         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19912         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19913         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19914         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19915         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19916         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19917         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19918         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19919         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19920         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19921         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19922         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19923         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19924         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19925         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19926         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19927         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19928         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19929         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19930         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19931         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19932         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19933         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19934         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19935         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19936         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19937         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19938         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19939         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19940         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19941         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19942         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19943         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19944         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19945         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19946         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19947         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19948         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19949         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19950         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19951         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19952         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19953         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19954         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19955         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19956         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19957         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19958         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19959         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19960         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19961         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19962         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19964         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19965         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19967         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19968         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19969         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19970         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19971         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19972         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19973         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19974         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19975         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19976         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19977         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19978         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19979         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19980         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19981         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19982         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19983         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19984         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19985         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19986         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19987         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19988         * sysdeps/ieee754/s_matherr.c: Likewise.
19989         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19990         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19991         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19992         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19994 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19996         * crypt/md5.h: Remove __STDC__ conditionals.
19997         * libio/libioP.h: Likewise.
19998         * locale/programs/config.h: Likewise.
19999         * sysdeps/generic/sysdep.h: Likewise.
20000         * sysdeps/i386/asm-syntax.h: Likewise.
20001         * sysdeps/s390/asm-syntax.h: Likewise.
20002         * sysdeps/unix/sysdep.h: Likewise.
20003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20006 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20008         * libio/libio.h: Remove __STDC__ conditionals.
20009         * malloc/obstack.h: Likewise.
20010         * math/complex.h: Likewise.
20011         * math/math.h: Likewise.
20012         * sysdeps/generic/_G_config.h: Likewise.
20013         * sysdeps/gnu/_G_config.h: Likewise.
20014         * sysdeps/mach/hurd/_G_config.h: Likewise.
20015         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20016         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20017         * sysdeps/sparc/bits/mathdef.h: Likewise.
20019 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20021         [BZ #13583]
20022         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20023         Clean up HAS_* macros.
20024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20025         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20026         possible.
20027         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20028         HAS_AVX.
20029         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20030         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20031         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20032         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20033         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20035 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20037         * elf/tst-unique3.cc (gets): Remove declaration.
20038         * elf/tst-unique3lib.cc (gets): Likewise.
20039         * elf/tst-unique3lib2.cc (gets): Likewise.
20040         * elf/tst-unique4.cc (gets): Likewise.
20042 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20044         * include/stdio.h: Add C++ protection.  Add gets declarations and
20045         definitions.
20046         * debug/tst-chk1.c: Don't declare gets here.
20047         * stdio-common/tst-gets.c: Likewise.
20049 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20051         * posix/glob: Remove directory.
20053 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20055         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20057 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20059         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20060         of the non-standard EPFNOSUPPORT.
20062 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20064         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20065         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20066         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20068 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20070         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20072 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20074         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20075         transient errors.
20076         * nscd/grpcache.c (cache_addgr): Likewise.
20077         * nscd/hstcache.c (cache_addhst): Likewise.
20078         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20079         * nscd/pwdcache.c (cache_addpw): Likewise.
20080         * nscd/servicescache.c (cache_addserv): Likewise.
20082 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20084         * malloc/malloc.c: Various cleanups.
20085         * malloc/hooks.c: Likewise.
20087         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20088         * stdlib/bug-fmtmsg1.c: New file.
20090         * stdlib/fmtmsg.c (init): Add missing unlock.
20091         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20093 2012-01-12  Marek Polacek  <polacek@redhat.com>
20095         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20096         and _GNU_SOURCE.
20098 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20100         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20101         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20102         macro to ensure uniqueness of label name.
20103         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20104         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20106 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20108         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20110         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20111         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20112         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20113         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20115 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20117         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20119         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20120         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20121         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20123         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20125         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20126         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20127         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20128         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20130         * math/bits/math-finite.h: Add ldexp support.
20132 2012-01-10  Marek Polacek  <polacek@redhat.com>
20134         * locale/programs/localedef.h (show_archive_content): Add noreturn
20135         attribute.
20137 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20139         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20141 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20143         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20145         * io/Makefile (headers): Add bits/poll2.h.
20147 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20150         typo #include statement.
20152 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20154         * include/sys/cdefs.h: Define __attribute_alloc_size.
20155         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20156         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20157         * elf/pldd.c: Likewise.
20158         * iconv/iconv_charmap.c: Likewise.
20159         * iconv/iconvconfig.c: Likewise.
20160         * iconv/strtab.c: Likewise.
20161         * locale/programs/locale.c: Likewise.
20162         * locale/programs/localedef.h: Likewise.
20163         * locale/programs/simple-hash.c: Likewise.
20164         * nscd/nscd.h: Likewise.
20165         * nss/makedb.c: Likewise.
20166         * sysdeps/generic/ldconfig.h: Likewise.
20167         * locale/programs/localedef.c: Remove xmalloc prototype.
20168         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20170 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20172         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20173         appropriate.
20175 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20177         * math/Makefile (tests): Add tst-CMPLX.
20178         * math/tst-CMPLX.c: New file.
20180         * math/complex.h (CMPLXL): Fix typo.
20182         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20183         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20184         GLIBC_2.16.
20185         * debug/tst-chk1.c: Add poll and ppoll tests.
20186         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20187         * include/sys/poll.h: Add hidden proto for ppoll.
20188         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20189         * sysdeps/mach/hurd/ppoll.c: Likewise.
20190         * io/ppoll.c: Likewise.
20191         * debug/poll_chk.c: New file.
20192         * debug/ppoll_chk.c: New file.
20193         * include/bits/poll2.h: New file.
20194         * io/bits/poll2.h: New file.
20196         [BZ #1350]
20197         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20199         * configure.in: static is always set to yes.  Remove.
20200         * config.make.in: Don't set build-static.
20201         * Makeconfig: Remove use of build-static.
20202         * dlfcn/Makefile: Likewise.
20203         * elf/Makefile: Likewise.
20204         * math/Makefile: Likewise.
20205         * misc/Makefile: Likewise.
20206         * nptl/Makefile: Likewise.
20207         * sysdeps/mach/hurd/Makefile: Likewise.
20209         * configure.in: PWD_P is not used anymore.
20210         * config.make.in: Remove PWD_P entry.
20212         * configure.in: Remove last remnants of RANLIB.
20213         No need to check for signed size_t anymore.
20214         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20215         and IA-64.
20216         Remove __builtin_expect test because we require at least gcc 3.4.
20217         * aclocal.m4: Likewise.
20219         * wcsmbs/mbrtoc16.c: Implement using towc function.
20220         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20221         * wcsmbs/wcsmbsload.c: Likewise.
20222         * iconv/gconv_simple.c: Likewise.
20223         * iconv/gconv_int.h: Likewise.
20224         * iconv/gconv_builtin.h: Likewise.
20225         * iconv/iconv_prog.c: Remove CHAR16 handling.
20227         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20229         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20231         * configure.in: Remove --with-elf and --enable-bounded options.
20232         Dont set base_machine for ia64.  More non-ELF conditions removed.
20233         Remove testing and setting of leading underscore information.
20234         * config.make.in (build-bounded): Set to no.
20235         * config.h.in: Remove NO_UNDERSCORES entry.
20236         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20237         them.
20238         * csu/start.c: Remove !NO_UNDERSCORE code.
20239         * locale/localeinfo.h: Likewise.
20240         * sysdeps/generic/machine-gmon.h: Likewise.
20241         * sysdeps/generic/sysdep.h: Likewise.
20242         * sysdeps/i386/sysdep.h: Likewise.
20243         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20244         * sysdeps/mach/sysdep.h: Likewise.
20245         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20246         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20247         * sysdeps/sh/sysdep.h: Likewise.
20248         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20249         * sysdeps/unix/i386/sysdep.S: Likewise.
20250         * sysdeps/unix/sparc/start.c: Likewise.
20251         * sysdeps/unix/sparc/sysdep.S: Likewise.
20252         * sysdeps/unix/sparc/sysdep.h: Likewise.
20253         * sysdeps/unix/start.c: Likewise.
20254         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20255         * sysdeps/x86_64/sysdep.h: Likewise.
20257 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20259         [BZ #13553]
20260         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20261         for non-gcc.
20262         * argp/argp-fmtstream.h: Use const instead __const.
20263         * argp/argp.h: Likewise.
20264         * assert/assert.h: Likewise.
20265         * bits/fenv.h: Likewise.
20266         * bits/sched.h: Likewise.
20267         * bits/sigset.h: Likewise.
20268         * bits/sigthread.h: Likewise.
20269         * catgets/nl_types.h: Likewise.
20270         * conform/data/pthread.h-data: Likewise.
20271         * crypt/crypt-private.h: Likewise.
20272         * crypt/crypt.h: Likewise.
20273         * crypt/crypt_util.c: Likewise.
20274         * ctype/ctype.h: Likewise.
20275         * debug/execinfo.h: Likewise.
20276         * debug/mbsnrtowcs_chk.c: Likewise.
20277         * debug/mbsrtowcs_chk.c: Likewise.
20278         * debug/wcsnrtombs_chk.c: Likewise.
20279         * debug/wcsrtombs_chk.c: Likewise.
20280         * debug/wcstombs_chk.c: Likewise.
20281         * dirent/dirent.h: Likewise.
20282         * dlfcn/dlfcn.h: Likewise.
20283         * elf/neededtest4.c: Likewise.
20284         * grp/grp.h: Likewise.
20285         * gshadow/gshadow.h: Likewise.
20286         * iconv/gconv.h: Likewise.
20287         * iconv/gconv_int.h: Likewise.
20288         * iconv/gconv_simple.c: Likewise.
20289         * iconv/iconv.h: Likewise.
20290         * iconv/loop.c: Likewise.
20291         * iconv/skeleton.c: Likewise.
20292         * include/aio.h: Likewise.
20293         * include/aliases.h: Likewise.
20294         * include/argz.h: Likewise.
20295         * include/arpa/inet.h: Likewise.
20296         * include/assert.h: Likewise.
20297         * include/dirent.h: Likewise.
20298         * include/dlfcn.h: Likewise.
20299         * include/execinfo.h: Likewise.
20300         * include/fcntl.h: Likewise.
20301         * include/fenv.h: Likewise.
20302         * include/glob.h: Likewise.
20303         * include/grp.h: Likewise.
20304         * include/libintl.h: Likewise.
20305         * include/mntent.h: Likewise.
20306         * include/netdb.h: Likewise.
20307         * include/pwd.h: Likewise.
20308         * include/rpc/netdb.h: Likewise.
20309         * include/sched.h: Likewise.
20310         * include/search.h: Likewise.
20311         * include/shadow.h: Likewise.
20312         * include/signal.h: Likewise.
20313         * include/stdio.h: Likewise.
20314         * include/stdlib.h: Likewise.
20315         * include/string.h: Likewise.
20316         * include/sys/socket.h: Likewise.
20317         * include/sys/stat.h: Likewise.
20318         * include/sys/statfs.h: Likewise.
20319         * include/sys/statvfs.h: Likewise.
20320         * include/sys/syslog.h: Likewise.
20321         * include/sys/time.h: Likewise.
20322         * include/sys/uio.h: Likewise.
20323         * include/time.h: Likewise.
20324         * include/unistd.h: Likewise.
20325         * include/utmp.h: Likewise.
20326         * include/wchar.h: Likewise.
20327         * include/wctype.h: Likewise.
20328         * inet/aliases.h: Likewise.
20329         * inet/arpa/inet.h: Likewise.
20330         * inet/netinet/ether.h: Likewise.
20331         * inet/netinet/in.h: Likewise.
20332         * intl/libintl.h: Likewise.
20333         * io/bits/fcntl2.h: Likewise.
20334         * io/fcntl.h: Likewise.
20335         * io/ftw.h: Likewise.
20336         * io/sys/poll.h: Likewise.
20337         * io/sys/stat.h: Likewise.
20338         * io/sys/statfs.h: Likewise.
20339         * io/sys/statvfs.h: Likewise.
20340         * io/utime.h: Likewise.
20341         * libio/bits/stdio.h: Likewise.
20342         * libio/bits/stdio2.h: Likewise.
20343         * libio/libio.h: Likewise.
20344         * libio/libioP.h: Likewise.
20345         * libio/stdio.h: Likewise.
20346         * locale/lc-ctype.c: Likewise.
20347         * locale/locale.h: Likewise.
20348         * login/utmp.h: Likewise.
20349         * malloc/arena.c: Likewise.
20350         * malloc/malloc.c: Likewise.
20351         * malloc/malloc.h: Likewise.
20352         * malloc/mcheck.c: Likewise.
20353         * malloc/mtrace.c: Likewise.
20354         * math/bits/mathcalls.h: Likewise.
20355         * math/fenv.h: Likewise.
20356         * math/math_private.h: Likewise.
20357         * misc/bits/error.h: Likewise.
20358         * misc/bits/syslog.h: Likewise.
20359         * misc/err.h: Likewise.
20360         * misc/error.h: Likewise.
20361         * misc/fstab.h: Likewise.
20362         * misc/mntent.h: Likewise.
20363         * misc/regexp.h: Likewise.
20364         * misc/search.h: Likewise.
20365         * misc/sgtty.h: Likewise.
20366         * misc/sys/mman.h: Likewise.
20367         * misc/sys/syslog.h: Likewise.
20368         * misc/sys/uio.h: Likewise.
20369         * misc/sys/xattr.h: Likewise.
20370         * misc/ttyent.h: Likewise.
20371         * nis/rpcsvc/ypclnt.h: Likewise.
20372         * nss/nss.h: Likewise.
20373         * posix/bits/unistd.h: Likewise.
20374         * posix/fnmatch.h: Likewise.
20375         * posix/glob.h: Likewise.
20376         * posix/sched.h: Likewise.
20377         * posix/spawn.h: Likewise.
20378         * posix/sys/wait.h: Likewise.
20379         * posix/unistd.h: Likewise.
20380         * posix/wordexp.h: Likewise.
20381         * pwd/pwd.h: Likewise.
20382         * resolv/netdb.h: Likewise.
20383         * resource/sys/resource.h: Likewise.
20384         * rt/aio.h: Likewise.
20385         * rt/bits/mqueue2.h: Likewise.
20386         * rt/mqueue.h: Likewise.
20387         * shadow/shadow.h: Likewise.
20388         * signal/signal.h: Likewise.
20389         * socket/send.c: Likewise.
20390         * socket/sendto.c: Likewise.
20391         * socket/sys/socket.h: Likewise.
20392         * stdio-common/printf.h: Likewise.
20393         * stdlib/bits/stdlib.h: Likewise.
20394         * stdlib/fmtmsg.h: Likewise.
20395         * stdlib/monetary.h: Likewise.
20396         * stdlib/stdlib.h: Likewise.
20397         * stdlib/ucontext.h: Likewise.
20398         * streams/stropts.h: Likewise.
20399         * string/argz.h: Likewise.
20400         * string/bits/string2.h: Likewise.
20401         * string/string.h: Likewise.
20402         * string/strings.h: Likewise.
20403         * sunrpc/rpc/auth.h: Likewise.
20404         * sunrpc/rpc/auth_des.h: Likewise.
20405         * sunrpc/rpc/clnt.h: Likewise.
20406         * sunrpc/rpc/netdb.h: Likewise.
20407         * sunrpc/rpc/pmap_clnt.h: Likewise.
20408         * sunrpc/rpc/xdr.h: Likewise.
20409         * sysdeps/generic/inttypes.h: Likewise.
20410         * sysdeps/generic/net/if.h: Likewise.
20411         * sysdeps/generic/sys/swap.h: Likewise.
20412         * sysdeps/gnu/net/if.h: Likewise.
20413         * sysdeps/gnu/utmpx.h: Likewise.
20414         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20415         * sysdeps/i386/i486/bits/string.h: Likewise.
20416         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20417         * sysdeps/s390/bits/string.h: Likewise.
20418         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20419         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20420         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20421         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20422         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20423         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20424         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20425         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20426         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20427         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20428         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20429         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20430         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20431         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20432         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20433         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20434         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20435         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20436         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20437         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20438         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20439         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20440         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20441         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20442         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20443         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20444         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20445         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20446         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20447         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20448         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20449         * sysvipc/sys/ipc.h: Likewise.
20450         * sysvipc/sys/msg.h: Likewise.
20451         * sysvipc/sys/sem.h: Likewise.
20452         * sysvipc/sys/shm.h: Likewise.
20453         * termios/termios.h: Likewise.
20454         * time/sys/time.h: Likewise.
20455         * time/time.h: Likewise.
20456         * wcsmbs/bits/wchar2.h: Likewise.
20457         * wcsmbs/uchar.h: Likewise.
20458         * wcsmbs/wchar.h: Likewise.
20459         * wctype/wctype.h: Likewise.
20461         [BZ #13551]
20462         * Makeconfig: Remove all but ELF support including AIX support.
20463         * Makerules: Likewise.
20464         * config.h.in: Likewise.
20465         * config.make.in: Likewise.
20466         * configure: Likewise.
20467         * configure.in: Likewise.
20468         * csu/Makefile: Likewise.
20469         * csu/version.c: Likewise.
20470         * debug/Makefile: Likewise.
20471         * dlfcn/Makefile: Likewise.
20472         * elf/Makefile: Likewise.
20473         * extra-lib.mk: Likewise.
20474         * iconv/Makefile: Likewise.
20475         * include/libc-symbols.h: Likewise.
20476         * include/shlib-compat.h: Likewise.
20477         * resolv/Makefile: Likewise.
20478         * resolv/res_libc.c: Likewise.
20479         * rt/Makefile: Likewise.
20480         * sysdeps/i386/asm-syntax.h: Likewise.
20481         * sysdeps/i386/sysdep.h: Likewise.
20482         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20483         * sysdeps/mach/sysdep.h: Likewise.
20484         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20485         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20486         * sysdeps/s390/asm-syntax.h: Likewise.
20487         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20488         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20489         * sysdeps/sh/sysdep.h: Likewise.
20490         * sysdeps/unix/sparc/sysdep.h: Likewise.
20491         * sysdeps/wordsize-32/divdi3.c: Likewise.
20492         * sysdeps/x86_64/sysdep.h: Likewise.
20494         * argp/Versions: Remove _argp_unlock_xxx.
20496         [BZ #13559]
20497         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20498         * abilist/libBrokenLocale.abilist: Likewise.
20499         * abilist/libanl.abilist: Likewise.
20500         * abilist/libc.abilist: Likewise.
20501         * abilist/libcrypt.abilist: Likewise.
20502         * abilist/libdl.abilist: Likewise.
20503         * abilist/libm.abilist: Likewise.
20504         * abilist/libnsl.abilist: Likewise.
20505         * abilist/libpthread.abilist: Likewise.
20506         * abilist/libresolv.abilist: Likewise.
20507         * abilist/librt.abilist: Likewise.
20508         * abilist/libthread_db.abilist: Likewise.
20509         * abilist/libutil.abilist: Likewise.
20510         * abilist/libnss_db.abilist: New file.
20512         * scripts/abilist.awk: Add support for indirect functions.
20514         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20516         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20518         * shlib-versions: Remove entries for ports architectures.
20520         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20521         files in ports.
20522         * elf/stackguard-macros.h: Remove support for IA-64.
20523         * elf/tst-auditmod1.c: Likewise.
20524         * sysdeps/generic/ldsodefs.h: Likewise.
20526         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20527         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20528         configure files.
20530         [BZ #13552]
20531         * configure.in: Remove --enable-omitfp support.
20532         * FAQ.in: Adjust.
20533         * config.make.in: Likewise.
20534         * Makeconfig: Likewise.
20535         * manual/install.texi: Likewise.
20537         In case anyone cares, the IA-64 architecture could move to ports.
20538         * sysdeps/ia64/*: Removed.
20539         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20540         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20542         [BZ #13555]
20543         * configure.in: Remove entries for unsupported architectures.
20545         [BZ #13533]
20546         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20547         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20548         routines.
20549         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20550         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20551         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20552         fall back to using wcrtomb.
20553         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20554         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20555         renaming.
20556         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20557         * wcsmbs/tst-c16c32-1.c: New file.
20559         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20560         local variable.
20562         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20564         * elf/tst-unique3.cc: Add explicit declaration of gets.
20565         * elf/tst-unique3lib.cc: Likewise.
20566         * elf/tst-unique3lib2.cc: Likewise.
20567         * elf/tst-unique4.cc: Likewise.
20569         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20571 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20573         [BZ #13566]
20574         * assert/assert.h (static_assert): Don't define for C++.
20575         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20576         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20578 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20580         * iconv/loop.c (single loop): Fix assertion in storing of
20581         remaining bytes.
20583         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20585 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20587         * posix/getconf.c: Update copyright year.
20588         * nss/getent.c: Likewise.
20589         * nss/makedb.c: Likewise.
20590         * iconv/iconvconfig.c: Likewise.
20591         * iconv/iconv_prog.c: Likewise.
20592         * elf/ldconfig.c: Likewise.
20593         * elf/pldd.c: Likewise.
20594         * elf/sotruss.ksh: Likewise.
20595         * catgets/gencat.c: Likewise.
20596         * csu/version.c: Likewise.
20597         * elf/ldd.bash.in: Likewise.
20598         * elf/sprof.c (print_version): Likewise.
20599         * locale/programs/locale.c: Likewise.
20600         * locale/programs/localedef.c: Likewise.
20601         * login/programs/pt_chown.c: Likewise.
20602         * nscd/nscd.c (print_version): Likewise.
20603         * debug/xtrace.sh: Likewise.
20604         * malloc/memusage.sh: Likewise.
20605         * malloc/mtrace.pl: Likewise.
20606         * debug/catchsegv.sh: Likewise.
20608 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20610         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20611         pure attribute.
20613 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20615         [BZ #13533]
20616         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20617         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20618         transformations.
20619         * iconv/gconv_int.h: Likewise.
20620         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20621         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20622         from libc for GLIBC_2.16.
20623         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20624         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20625         * wcsmbs/uchar.h: Really define mbstate_t.
20626         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20627         * wcsmbs/c16rtomb.c: New file.
20628         * wcsmbs/mbrtoc16.c: New file.
20629         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20630         for C/POSIX locale.
20631         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20632         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20634         * wcsmbs/wchar.h: Add missing __restrict.
20636 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20638         [BZ #13532]
20639         * time/Makefile (routines): Add timespec_get.
20640         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20641         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20642         timespec for ISO C11.
20643         * time/timespec_get.c: New file.
20644         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20645         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20647         [BZ #13531]
20648         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20649         * stdlib/stdlib.h: Declare aligned_alloc.
20650         * Versions.def: Add GLIBC_2.16 for libc.
20651         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20653         [BZ 13527]
20654         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20655         ISO C11.
20657         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20658         code.
20660         [BZ #13528]
20661         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20663         [BZ #13529]
20664         * assert/assert.h (static_assert): Define.
20666         * version.h: Update for 2.16 development version.
20668         [BZ #13526]
20669         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20670         _ISOC11_SOURCE.
20672         * version.h (RELEASE): Bump for 2.15 release.
20673         * include/features.h (__GLIBC_MINOR__): Bump to 15.
20675         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20676         Patch by Marek Polacek <mpolacek@redhat.com>.
20678         * bits/byteswap.h: Protect long long constants with __extension__.
20679         * sysdeps/i386/bits/byteswap.h: Likewise.
20680         * sysdeps/ia64/bits/byteswap.h: Likewise.
20681         * sysdeps/s390/bits/byteswap.h: Likewise.
20682         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20684 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20686         [BZ #13540]
20687         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20688         destination buffer.
20689         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20691 2011-12-23  Marek Polacek  <polacek@redhat.com>
20693         * elf/dl-addr.c (determine_info): Add inline keyword.
20694         * elf/tst-auditmod4b.c (check_avx): Likewise.
20695         * elf/tst-auditmod6b.c (check_avx): Likewise.
20696         * elf/tst-auditmod6c.c (check_avx): Likewise.
20697         * elf/tst-auditmod7b.c (check_avx): Likewise.
20699 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20701         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20702         !__SSE_MATH__.
20704 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20706         [BZ #13540]
20707         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20708         processing for last bytes.
20710 2011-08-06  Bruno Haible  <bruno@clisp.org>
20712         [BZ #13061]
20713         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20714         U+0385, not to U+1FEE.
20716         [BZ #13062]
20717         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20718         entry for U+00A5 U+0301.
20720 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20722         [BZ #13166]
20723         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20724         buffer for the output is too small.
20726         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20727         optimization.
20729         [BZ #13185]
20730         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20731         SSE flags if possible.
20733 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20735         [BZ #13540]
20736         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20737         processing for last bytes.
20739 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
20741         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20742         (syscall-list-default-options, syscall-list-default-condition)
20743         (syscall-list-includes): Define.
20744         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20745         list of ABIs and options and #if conditions for each ABI.  Do not
20746         handle common syscalls between ABIs specially.
20747         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20748         Remove.
20749         (syscall-list-variants, syscall-list-32bit-options)
20750         (syscall-list-32bit-condition, syscall-list-64bit-options)
20751         (syscall-list-64bit-condition): Define.
20752         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20753         (syscall-list-variants, syscall-list-32bit-options)
20754         (syscall-list-32bit-condition, syscall-list-64bit-options)
20755         (syscall-list-64bit-condition): Define.
20756         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20757         Remove.
20758         (syscall-list-variants, syscall-list-32bit-options)
20759         (syscall-list-32bit-condition, syscall-list-64bit-options)
20760         (syscall-list-64bit-condition): Define.
20761         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20762         Remove.
20763         (syscall-list-variants, syscall-list-32bit-options)
20764         (syscall-list-32bit-condition, syscall-list-64bit-options)
20765         (syscall-list-64bit-condition): Define.
20767 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20769         * locale/iso-639.def: Add brx entry.
20771         [BZ #13328]
20772         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20773         Proposed by Mariusz_Cukr <marcukr@op.pl>.
20775         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20776         __feraiseexcept_renamed.
20778 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20780         [BZ #13538]
20781         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20782         EPOLLET with unsigned values.
20783         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20784         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20786         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20787         to large cancellation.
20788         * math/s_cacoshf.c: Likewise.
20789         * math/s_cacoshl.c: Likewise.
20791 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
20793         [BZ #13305]
20794         [BZ #12786]
20795         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20796         * math/s_cacoshf.c: Likewise.
20797         * math/s_cacoshl.c: Likewise.
20799 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20801         [BZ #13439]
20802         * iconv/gconv.h: Define __GCONV_SWAP.
20803         * iconvdata/unicode.c: The swap bit must be stored in __flags.
20804         * iconvdata/utf-16.c: Likewise.
20805         * iconvdata/utf-32.c: Likewise.
20807 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20809         [BZ #13524]
20810         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20811         numerator after shifting it by one limb.
20813 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
20815         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20816         under [__USE_EXTERN_INLINES].
20818 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20820         [BZ #13446]
20821         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20823 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20825         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20826         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20827         optimized code.
20828         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20829         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20830         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20831         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20832         for strncasecmp/strncasecmp_l compilation.
20833         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20834         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20836 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
20838         [BZ #13484]
20839         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20840         of __asm__.
20842 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20844         [BZ #13506]
20845         * time/tzfile.c (__tzfile_read): Check values from file header.
20847 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20849         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20850         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20851         * powerpc/powerpc32/dl-start.S: Likewise.
20852         * powerpc/powerpc32/elf/start.S: Likewise.
20853         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20854         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20855         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20856         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20857         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20858         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20859         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20860         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20861         * powerpc/powerpc32/fpu/s_round.S: Likewise.
20862         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20863         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20864         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20865         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20866         * powerpc/powerpc32/memset.S: Likewise.
20867         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20868         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20869         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20870         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20871         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20872         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20873         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20874         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20875         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20876         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20877         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20878         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20879         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20881 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20883         * math/libm-test.inc: Added more nearbyint tests.
20884         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20885         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20886         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20889 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
20891         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20892         FD_CLOEXEC.
20894 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20896         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20897         Add wcscpy-ssse3 wcscpy-c.
20898         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20899         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20900         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20901         * sysdeps/x86_64/wcschr.S: New file.
20902         * sysdeps/x86_64/wcsrchr.S: New file.
20903         * string/test-strcmp.c: Remove checking of wcscmp function for
20904         wrong alignments.
20905         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20906         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20907         wcsrchr-sse2 wcsrchr-c.
20908         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20909         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20910         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20911         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20912         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20913         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20914         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20915         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20916         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20917         * wcsmbc/wcschr.c (WCSCHR): New macro.
20919 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20921         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20922         * wcsmbs/test-wcsrchr.c: New file.
20923         * string/test-strrchr.c: Add wcsrchr support.
20924         (WIDE): New macro.
20925         * wcsmbs/test-wcscpy.c: New file.
20926         * string/test-strcpy.c: Add wcscpy support.
20927         (WIDE): New macro.
20929 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
20931         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20932         the inner loop.
20934 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
20936         [BZ #13472]
20937         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20939 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
20941         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20942         Minor optimizations.
20944         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20945         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20946         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20948 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
20950         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20951         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20952         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20953         for gcc to avoid warnings.
20954         * inet/Makefile (tests): Add tst-checks.
20955         * inet/tst-checks.c: New file.
20957         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20958         warning.
20960         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20961         __wmemcmp_sse2.
20963         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20964         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20966         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20968 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
20970         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20971         problem.
20973         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20975 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
20977         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20978         conditional on GCC version.
20979         (__arch_compare_and_exchange_val_8_acq)
20980         (__arch_compare_and_exchange_val_16_acq)
20981         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20982         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20983         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20985 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
20987         * sysdeps/sh/backtrace.c: New file.
20989 2011-12-02  Andreas Schwab  <schwab@redhat.com>
20991         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
20992         parenthesis.
20994 2011-12-01  Andreas Schwab  <schwab@redhat.com>
20996         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20997         falling back to utime.
20999 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21001         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21002         expectations for float.
21004 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21006         * locale/weight.h (findidx): Add parameter len.
21007         * locale/weightwc.h (findidx): Likewise.
21008         * posix/fnmatch_loop.c (FCT): Adjust caller.
21009         * posix/regcomp.c (build_equiv_class): Likewise.
21010         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21011         * posix/regexec.c (check_node_accept_bytes): Likewise.
21012         * string/strcoll_l.c (STRCOLL): Likewise.
21013         * string/strxfrm_l.c (STRXFRM): Likewise.
21015 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21017         * Makefile.in: Remove CVSOPT handling.
21018         * configure.in: Remove use of AC_REVISION.
21019         * iconvdata/Makefile (distribute): No need to filter out CVS.
21020         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21021         handling.
21023 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21025         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21026         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21027         [USE_AS_STRNCASECMP_L]: Likewise.
21028         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21029         NO_TLS_DIRECT_SEG_REFS.
21030         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21031         Fix argument offsets for non-PIC.
21032         [USE_AS_STRNCASECMP_L]: Likewise.
21033         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21034         NO_TLS_DIRECT_SEG_REFS.
21036 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21038         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21039         O_CLOEXEC.
21040         * locale/loadlocale.c (_nl_load_locale): Likewise.
21042 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21044         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21045         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21046         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21047         (SYSCALL_GETTIME): Set errno on error.
21049         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21050         count references to noai6ai_cached.
21052 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21054         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21056         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21057         FD_CLOEXEC for /proc/self/maps.
21059         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21060         FD_CLOEXEC for /proc/meminfo.
21062         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21063         gai.conf.
21065         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21066         FD_CLOEXEC for given file.
21068         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21070         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21071         FD_CLOEXEC for /etc/hosts.
21072         (_gethtent): Likewise.
21074         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21076         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21077         cancellation and set FD_CLOEXEC for /etc/netgroup.
21079         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21080         reading /etc/publickey.
21082         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21083         allow cancellation when reading /etc/group.
21085         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21086         cancellation.
21087         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21089         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21090         when using data file.
21092         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21094         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21095         (write_nis_obj): Use "c" and "e" in fopen.
21097         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21099         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21101         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21103         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21105         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21106         locale.alias.
21108         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21110         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21112         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21114         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21115         file parsing and set FD_CLOEXEC.
21117 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21119         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21121 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21123         * malloc/arena.c (arena_get2): Don't call reused_arena when
21124         _int_new_arena failed.
21126 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21128         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21129         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21130         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21131         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21132         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21133         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21134         to compile strcasecmp and strncasecmp.
21135         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21136         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21138         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21140 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21142         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21143         locale-defines.sym to gen-as-const-headers.
21144         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21145         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21146         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21147         to compile strcasecmp and strncasecmp.
21148         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21149         strcasecmp_l and strncasecmp_l.
21150         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21151         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21152         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21153         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21154         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21155         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21156         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21157         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21158         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21159         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21160         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21162 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21164         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21165         result of SYSDEP_GETTIME_CPU to retval.
21166         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21167         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21169         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21170         variable.
21172         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21173         mantissa words.
21174         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21176         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21177         from unused variable.
21179         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21180         DWARF definitions.
21181         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21182         for assembling.
21184         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21185         over namespaces.
21187         * sunrpc/rpc_prot.c (rejected): Fix case value.
21189         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21190         unsigned long long int to avoid warnings in shift.
21192         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21193         of use of trans.
21194         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21195         variable tmp.
21197         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21198         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21199         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21201         * nis/nis_table.c (nis_list): Use variable of correct type for
21202         result of __follow_path call.
21204 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21206         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21207         of math functions ceil, trunc, floor, round, and sqrt, when
21208         avaliable on the platform.
21209         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21210         name clash.
21211         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21212         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21213         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21215 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21217         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21218         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21220 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21222         * include/unistd.h: Fix __readlink return type.
21223         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21225 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21227         * stdlib/ucontext.h: Undo last change for makecontext.
21229 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21231         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21233         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21234         * setjmp/setjmp.h: Mark functions as non-leaf.
21235         * setjmp/bits/setjmp2.h: Likewise.
21236         * stdlib/ucontext.h: Likewise.
21238 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21240         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21241         (reused_arena): Don't check arena limit.
21242         (arena_get2): Atomically check arena limit.
21244 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21246         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21247         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21249         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21250         instructions.
21252 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21254         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21255         handler when locking.
21257         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21258         Fix size of allocated buffer.
21260 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21262         [BZ #10103]
21263         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21264         declarations for long double functions.
21265         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21267         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21269 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21271         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21272         installed.
21274         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21275         is disabled.
21277 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21279         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21281 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21283         * include/alloca.h (stackinfo_alloca_round): Define.
21284         (extend_alloca): Use it.
21285         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21286         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21287         here.
21289         * scripts/check-local-headers.sh: Ignore libaudit.h.
21291         * nscd/Makefile (extra-objs): Make recursively expanded.
21293 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21295         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21296         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21298         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21299         * posix/tst-rfc3484-2.c: Likewise.
21300         * posix/tst-rfc3484-3.c: Likewise.
21302         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21303         process_vm_writev.
21304         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21305         process_vm_writev.
21306         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21307         process_vm_writev from libc using GLIBC_2.15 version.
21309         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21311 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21313         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21314         stack usage.
21316 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21318         [BZ #13367]
21319         * nss/getent.c (initgroups_keys): Show error message in case no group
21320         names are given.
21322         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21323         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21324         __bump_nl_timestamp.
21325         * nscd/connections (nscd_init): When host database is served open
21326         netlink socket and request notification about configuration changes.
21327         (main_loop_poll): Track netlink file descriptor and bump timestamp
21328         in case data becomes available.
21329         (main_loop_epoll): Likewise.
21330         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21331         (database_pers_head): Add extra_data fileds.
21332         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21333         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21334         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21335         Adjust caller.
21336         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21337         in6ai data, call __free_in6ai.
21338         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21339         Add -DHAVE_NETLINK.
21340         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21341         interface information.  Reuse previous data if netlink timestamp
21342         is not changed.
21343         (__bump_nl_timestamp): New function.
21344         (__free_in6ai): New function.
21346 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21348         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21349         close_not_cancel_no_status here.
21350         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21352 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21354         [BZ #13276]
21355         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21356         return value.
21358         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21359         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21360         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21362 2011-07-03  Andreas Jaeger  <aj@suse.de>
21364         [BZ #10709]
21365         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21366         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21367         * math/libm-test.inc (sin_test): Add test case.
21369 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21371         [BZ #13337]
21372         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21373         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21375         * elf/chroot_canon.c (chroot_canon): Cleanups.
21377         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21379         [BZ #13335]
21380         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21381         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21383         * string/test-strchr.c: Make usable for strchrnul testing.
21384         * string/test-strchrnul.c: New file.
21385         * string/Makefile (strop-tests): Add strchrnul.
21387         * po/it.po: Update from translation team.
21388         * po/es.po: Likewise.
21390 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21392         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21393         the three constants needed as parameters.  Drop the others.
21394         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21395         __m128i_strloadu_tolower.
21396         Create and initialize variable zero and use it in all the places
21397         where _mm_setzero_si128 was used.
21399         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21400         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21401         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21402         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21403         anymore.
21404         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21405         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21406         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21407         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21408         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21409         __mpranred, __mptan.
21410         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21411         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21412         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21413         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21414         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21415         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21416         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21417         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21418         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21420 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21422         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21423         redefine if SHARED.
21424         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21427         wide char related routines to wcsmbs subdir.
21429 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21431         [BZ #13344]
21432         * misc/sys/cdefs.h (__THROWNL): Define.
21433         * posix/unistd.h: Use __THREADNL instead of __THREAD
21434         for memory synchronization functions.
21436 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21438         [BZ #13349]
21439         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21440         doesn't exist.
21441         * manual/stdio.texi (Obstack Streams): Node removed.
21443 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21445         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21446         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21447         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21449         * math/math_private.h (math_force_eval): Allow non-addressable
21450         arguments.
21451         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21453 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21455         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21456         file is not needed.
21458         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21459         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21460         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21461         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21462         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21463         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21464         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21465         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21466         Add AVX variants.
21467         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21468         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21469         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21470         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21471         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21472         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21473         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21474         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21475         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21476         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21477         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21478         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21479         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21480         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21481         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21482         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21483         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21484         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21485         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21487         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21488         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21490         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21491         place.  Use VEX encoding when compiling for AVX.
21493 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21495         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21496         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21498         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21500 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21502         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21503         useless if() expression.
21504         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21505         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21506         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21507         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21508         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21509         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21510         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21511         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21512         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21513         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21514         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21515         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21516         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21517         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21518         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21519         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21520         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21521         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21522         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21524         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21526 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21528         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21529         condition.
21530         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21532 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21534         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21535         .text section.  Avoid duplicate constants.
21536         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21537         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21538         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21539         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21540         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21541         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21542         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21543         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21544         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21545         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21546         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21547         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21548         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21549         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21550         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21551         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21552         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21553         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21554         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21555         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21556         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21557         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21558         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21559         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21560         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21561         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21562         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21563         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21564         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21565         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21566         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21567         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21568         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21569         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21570         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21571         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21572         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21573         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21574         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21575         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21576         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21577         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21578         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21579         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21580         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21582 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21584         * sysdeps/x86_64/dla.h: Move to ...
21585         * sysdeps/x86_64/fpu/dla.h: ...here.
21586         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21587         situations.  Use __builtin_fma only for gcc 4.6 and up.
21589         * config.make.in: Add have-mfma4 entry.
21590         * configure.in: Substitute libc_cv_cc_fma4.
21591         * math/Makefile (dbl-only-routines): Add sincostab.
21592         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21593         Use __sincostab not sincos.
21594         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21595         name is a macro.
21596         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21599         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21600         using __copysign.
21601         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21602         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21603         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21604         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21605         and __inv.
21606         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21607         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21608         __copysign.
21609         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21610         define aliases when function name is a macro.
21611         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21612         sysdeps/ieee754/dbl-64/sincos.tbl.
21613         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21614         fma4-enabled routines.
21615         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21616         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21617         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21618         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21619         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21620         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21621         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21622         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21623         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21624         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21625         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21626         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21627         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21628         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21629         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21630         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21631         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21632         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21633         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21634         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21635         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21636         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21637         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21638         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21639         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21640         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21641         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21642         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21643         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21644         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21646         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21647         rename.
21648         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21650         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21651         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21652         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21653         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21654         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21655         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21657 2011-10-24  Andreas Schwab  <schwab@redhat.com>
21659         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21661 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21663         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21665         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21666         prediction.
21667         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21669         * string/strnlen.c: Don't define STRNLEN, reverse logic.
21670         Remove unused variable magic_bits.
21671         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21673         * string/strnlen.c: Define and use STRNLEN macro.
21674         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21675         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21676         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21677         * wcsmbs/wcslen.c: Define and use WCSLEN.
21678         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21679         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21680         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21681         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21682         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21683         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21684         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21686 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21689         strnlen-sse2-no-bsf.
21690         Rename strlen-no-bsf to strlen-sse2-no-bsf.
21691         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21692         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21693         Add strnlen support.
21694         (USE_AS_STRNLEN): New macro.
21695         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21696         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21697         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21698         * sysdeps/x86_64/wcslen.S: New file.
21700 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
21702         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21703         XMM-moves are used for copying on small sizes.
21705 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21707         * wcsmbs/Makefile (strop-tests): Add wcschr.
21708         * wcsmbs/test-wcschr.c: New file.
21709         * string/test-strchr.c: Update.
21710         Add wcschr support.
21711         (WIDE): New macro.
21713 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21715         * wcsmbs/Makefile (strop-tests): Add wcslen.
21716         * wcsmbs/test-wcslen.c: New file.
21717         * string/test-strlen.c: Update.
21718         Add wcslen support.
21719         (WIDE): New macro.
21721 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21723         * po/it.po: Update from translation team.
21725 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21727         * sysdeps/x86_64/wcscmp.S: Update.
21728         Fix wrong comparison semantics.
21729         wcscmp shall use signed comparison not unsigned.
21730         Don't use substraction to avoid overflow bug.
21731         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21732         * wcsmbc/wcscmp.c: Likewise.
21733         * string/test-strcmp.c: Likewise.
21734         Add new tests to check cases with negative values.
21736 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21738         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21739         * sysdeps/x86_64/dla.h: ...here.  New file.
21740         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21741         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21743         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21744         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21745         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21746         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21747         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21748         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21750 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
21752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21753         __ynl_finite aliases.
21755 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21759         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21760         define DLA_FMA.
21761         [DLA_FMA] (EMULV): Use DLA_FMA.
21762         [DLA_FMA] (MUL12): Use EMULV.
21763         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21764         that are not needed.
21765         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21766         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21767         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21768         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21769         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21770         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21771         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21773 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
21775         * math/s_nan.c: Undef __nan.
21776         * math/s_nanf.c: Undef __nanf.
21777         * math/s_nanl.c: Undef __nanl.
21778         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21779         "math_private.h".
21781 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21783         * math/s_catan.c: Add branch predictions.
21784         * math/s_catanf.c: Likewise.
21785         * math/s_catanh.c: Likewise.
21786         * math/s_catanhf.c: Likewise.
21787         * math/s_catanhl.c: Likewise.
21788         * math/s_catanl.c: Likewise.
21789         * math/s_cexp.c: Likewise.
21790         * math/s_cexpf.c: Likewise.
21791         * math/s_cexpl.c: Likewise.
21792         * math/s_clog.c: Likewise.
21793         * math/s_clog10.c: Likewise.
21794         * math/s_clog10f.c: Likewise.
21795         * math/s_clog10l.c: Likewise.
21796         * math/s_clogf.c: Likewise.
21797         * math/s_clogl.c: Likewise.
21798         * math/s_csqrt.c: Likewise.
21799         * math/s_csqrtf.c: Likewise.
21800         * math/s_csqrtl.c: Likewise.
21801         * math/s_ctanf.c: Likewise.
21802         * math/s_ctanh.c: Likewise.
21803         * math/s_ctanhf.c: Likewise.
21804         * math/s_ctanhl.c: Likewise.
21805         * math/s_ctanl.c: Likewise.
21807         * math/math_private.h: Define __nan, __nanf, __nanl.
21808         * math/s_cacosh.c: Include <math_private.h>.
21809         * math/s_cacoshl.c: Likewise.
21810         * math/s_casinh.c: Likewise.
21811         * math/s_casinhf.c: Likewise.
21812         * math/s_casinhl.c: Likewise.
21813         * math/s_ccos.c: Rely entire on ccosh.
21814         * math/s_ccosf.c: Rely entire on ccoshf.
21815         * math/s_ccosl.c: Rely entirely on ccoshl.
21816         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
21817         Remove tests for FE_INVALID.
21818         * math/s_ccoshf.c: Likewise.
21819         * math/s_ccoshl.c: Likewise.
21820         * math/s_csin.c: Likewise.
21821         * math/s_csinf.c: Likewise.
21822         * math/s_csinh.c Likewise.
21823         * math/s_csinhf.c: Likewise.
21824         * math/s_csinhl.c: Likewise.
21825         * math/s_csinl.c: Likewise.
21826         * math/s_ctan.c: Likewise.
21827         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21828         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21829         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21831 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
21833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21834         compilation problems.
21836         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21837         __builtin_expect.
21839 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
21841         * sysdeps/i386/configure.in: Test for -mfma4 option.
21842         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21843         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21844         COMMON_CPUID_INDEX_80000001.
21845         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21846         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21847         use it if FMA3 is not supported.
21848         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21850         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21851         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21853 2011-10-20  Andreas Schwab  <schwab@redhat.com>
21855         [BZ #12892]
21856         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21857         it would create a cycle with a link time dependency.
21859 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
21861         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21862         instruction.
21863         * string/Makefile (strop-tests): Add rawmemchr.
21864         * string/test-rawmemchr.c: New file.
21866         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21867         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
21868         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
21869         when compiling str{,n}casecmp and when AVX is available.  Hook up
21870         new optimized code in initializers.
21872 2011-10-19  Andreas Schwab  <schwab@redhat.com>
21874         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21875         __feraiseexcept instead of feraiseexcept.
21877 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
21879         * math/math_private.h: Define defaults for libc_fetestexcept and
21880         libc_feupdateenv.
21881         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21882         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21883         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21884         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21885         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21886         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21887         libc_fetestexcept and libc_feupdateenv.
21889         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21890         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21891         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21892         * sysdeps/x86_64/fpu/math_private.h: Define special version of
21893         libc_feholdexcept_setround.
21895         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21896         Add s_nearbyint-c and s_nearbyintf-c.
21897         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21898         nearbyintf inlines.
21899         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21900         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21901         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21902         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21904         * math/math_private.h: Define defaults for libc_fegetround,
21905         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21906         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21907         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21908         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21909         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21910         standard functions.
21911         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21912         Remove comments and hacks for old compiler versions.
21913         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21914         libc_fegetround, libc_fesetround, libc_feholdexcept, and
21915         libc_feholdexceptl.
21917 2011-10-18  Andreas Schwab  <schwab@redhat.com>
21919         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21920         (__feraiseexcept_renamed): Add __NTH.
21921         (feraiseexcept): Add __NTH.  Rename local variables to fix
21922         namespace violations.
21924 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
21926         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21928         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21930         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21931         recently added interfaces.
21932         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21934         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21935         about macro parameter expansion.
21937         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21938         __NO_MATH_INLINES is defined.  Cleanups.
21940         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21941         and __floorf is target has SSE4.1.
21942         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21943         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21944         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21945         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21947         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21948         name.
21949         (floorf): Likewise.
21951         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21953 2011-10-17  Andreas Schwab  <schwab@redhat.com>
21955         * misc/sys/cdefs.h: Fix last change.
21957         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21958         database lookup.
21960 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
21962         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21964         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21965         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21966         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21967         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21968         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21969         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21970         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21971         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21972         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21973         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21974         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21975         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21976         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21977         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21978         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21979         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21980         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21981         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21982         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21983         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21984         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21985         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21987         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21988         ceil, ceilf, floor, floorf.
21990         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21991         Perform IRELATIVE relocations last.
21993         * elf/do-rel.h: Add another parameter nrelative, replacing the
21994         local variable with the same name.  Change name of the function
21995         to end in Rel or Rela (uppercase).
21996         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21997         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
21998         elf_dynamic_do_##reloc function.
22000 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22002         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22003         is sufficient, at least on modern CPUs.
22005         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22007         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22008         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22010         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22011         __expl_finite.
22012         * math/bits/math-finite.h: Add entries for exp.
22013         * math/e_expl.c: Add __*_finite alias.
22014         * sysdeps/i386/fpu/e_exp.S: Likewise.
22015         * sysdeps/i386/fpu/e_expf.S: Likewise.
22016         * sysdeps/i386/fpu/e_expl.c: Likewise.
22017         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22018         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22019         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22020         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22021         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22022         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22023         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22025         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22026         is sufficient, at least on modern CPUs.
22028         * ctype/ctype-info.c (__ctype_init): Define.
22029         * include/ctype.h (__ctype_init): Declare.
22030         (__ctype_b_loc): The variable is always initialized.
22031         (__ctype_toupper_loc): Likewise.
22032         (__ctype_tolower_loc): Likewise.
22033         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22034         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22036 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22038         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22040         * configure.in: Also look in $cxxmachine/include for C++ system
22041         headers.
22043 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22045         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22046         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22047         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22048         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22049         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22050         (USE_AS_WMEMCMP): New macro.
22051         Fixing indents.
22052         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22053         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22054         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22055         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22056         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22057         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22058         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22059         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22060         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22061         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22062         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22063         (USE_AS_WMEMCMP): New macro.
22064         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22065         * sysdeps/string/test-memcmp.c: Update.
22066         Fix simple_wmemcmp.
22067         Add new tests.
22068         * wcsmbs/wmemcmp.c: Update.
22069         (WMEMCMP): New macro.
22070         Fix overflow bug.
22072 2011-10-12  Andreas Jaeger  <aj@suse.de>
22074         [BZ #13268]
22075         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22077 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22079         * libio/iofwide.c (do_length): Avoid warning.
22081         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22083 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22085         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22087         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22088         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22089         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22090         * sysdeps/i386/i686/fpu/e_log.S: New file.
22091         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22092         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22094         * ctype/ctype.h: Add support for inlined isXXX functions when
22095         compiling C++ code.
22097 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22099         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22101         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22103 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22105         [BZ #13291]
22106         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22108 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22110         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22111         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22112         feraiseexcept.
22114         * sysdeps/x86_64/memrchr.S: Check for zero size.
22116         * string/stratcliff.c: Add memrchr tests.
22118 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22120         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22121         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22122         rawmemchr-sse2 rawmemchr-sse2-bsf.
22123         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22124         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22125         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22126         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22127         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22128         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22129         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22130         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22131         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22132         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22133         * string/memrchr.c (MEMRCHR): New macro.
22135 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22137         Add integration with gcc's -ffinite-math-only and optimize wrapper
22138         functions in libm.
22139         * Versions.def: Define GLIBC_2.15 version for libm.
22140         * math/Makefile (headers): Add bits/math-finite.h.
22141         * math/bits/math-finite.h: New file.
22142         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22143         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22144         * math/e_acoshl.c: Add __*_finite alias.
22145         * math/e_acosl.c: Likewise.
22146         * math/e_asinl.c: Likewise.
22147         * math/e_atan2l.c: Likewise.
22148         * math/e_atanhl.c: Likewise.
22149         * math/e_coshl.c: Likewise.
22150         * math/e_exp10.c: Likewise.
22151         * math/e_exp10f.c: Likewise.
22152         * math/e_exp10l.c: Likewise.
22153         * math/e_exp2l.c: Likewise.
22154         * math/e_fmodl.c: Likewise.
22155         * math/e_gammal_r.c: Likewise.
22156         * math/e_hypotl.c: Likewise.
22157         * math/e_j0l.c: Likewise.
22158         * math/e_j1l.c: Likewise.
22159         * math/e_jnl.c: Likewise.
22160         * math/e_lgammal_r.c: Likewise.
22161         * math/e_log10l.c: Likewise.
22162         * math/e_log2l.c: Likewise.
22163         * math/e_logl.c: Likewise.
22164         * math/e_powl.c: Likewise.
22165         * math/e_sinhl.c: Likewise.
22166         * math/e_sqrtl.c: Likewise.
22167         * math/e_scalb.c: Completely rewritten and optimized.
22168         * math/e_scalbf.c: Likewise.
22169         * math/e_scalbl.c: Likewise.
22170         * math/w_acos.c: Likewise.
22171         * math/w_acosf.c: Likewise.
22172         * math/w_acosl.c: Likewise.
22173         * math/w_acosh.c: Likewise.
22174         * math/w_acoshf.c: Likewise.
22175         * math/w_acoshl.c: Likewise.
22176         * math/w_asin.c: Likewise.
22177         * math/w_asinf.c: Likewise.
22178         * math/w_asinl.c: Likewise.
22179         * math/w_atan2.c: Likewise.
22180         * math/w_atan2f.c: Likewise.
22181         * math/w_atan2l.c: Likewise.
22182         * math/w_atanh.c: Likewise.
22183         * math/w_atanhf.c: Likewise.
22184         * math/w_atanhl.c: Likewise.
22185         * math/w_exp10.c: Likewise.
22186         * math/w_exp10f.c: Likewise.
22187         * math/w_exp10l.c: Likewise.
22188         * math/w_fmod.c: Likewise.
22189         * math/w_fmodf.c: Likewise.
22190         * math/w_fmodl.c: Likewise.
22191         * math/w_j0.c: Likewise.
22192         * math/w_j0f.c: Likewise.
22193         * math/w_j0l.c: Likewise.
22194         * math/w_j1.c: Likewise.
22195         * math/w_j1f.c: Likewise.
22196         * math/w_j1l.c: Likewise.
22197         * math/w_jn.c: Likewise.
22198         * math/w_jnf.c: Likewise.
22199         * math/w_log.c: Likewise.
22200         * math/w_logf.c: Likewise.
22201         * math/w_logl.c: Likewise.
22202         * math/w_log10.c: Likewise.
22203         * math/w_log10f.c: Likewise.
22204         * math/w_log10l.c: Likewise.
22205         * math/w_log2.c: Likewise.
22206         * math/w_log2f.c: Likewise.
22207         * math/w_log2l.c: Likewise.
22208         * math/w_pow.c: Likewise.
22209         * math/w_powf.c: Likewise.
22210         * math/w_powl.c: Likewise.
22211         * math/w_remainder.c: Likewise.
22212         * math/w_remainderf.c: Likewise.
22213         * math/w_remainderl.c: Likewise.
22214         * math/w_scalb.c: Likewise.
22215         * math/w_scalbf.c: Likewise.
22216         * math/w_scalbl.c: Likewise.
22217         * math/w_sqrt.c: Likewise.
22218         * math/w_sqrtf.c: Likewise.
22219         * math/w_sqrtl.c: Likewise.
22220         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22221         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22222         used.
22223         * math/math_private.h: Declare __kernel_standard_f.
22224         * math/w_cosh.c: Remove cruft and optimize a bit.
22225         * math/w_coshf.c: Likewise.
22226         * math/w_coshl.c: Likewise.
22227         * math/w_exp2.c: Likewise.
22228         * math/w_exp2f.c: Likewise.
22229         * math/w_exp2l.c: Likewise.
22230         * math/w_hypot.c: Likewise.
22231         * math/w_hypotf.c: Likewise.
22232         * math/w_hypotl.c: Likewise.
22233         * math/w_lgamma.c: Likewise.
22234         * math/w_lgamma_r.c: Likewise.
22235         * math/w_lgammaf.c: Likewise.
22236         * math/w_lgammaf_r.c: Likewise.
22237         * math/w_lgammal.c: Likewise.
22238         * math/w_lgammal_r.c: Likewise.
22239         * math/w_sinh.c: Likewise.
22240         * math/w_sinhf.c: Likewise.
22241         * math/w_sinhl.c: Likewise.
22242         * math/w_tgamma.c: Likewise.
22243         * math/w_tgammaf.c: Likewise.
22244         * math/w_tgammal.c: Likewise.
22245         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22246         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22247         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22248         Minor optimizations.  Pretty printing.  Remove cruft.
22249         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22250         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22251         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22252         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22253         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22254         * sysdeps/i386/fpu/e_asin.S: Likewise.
22255         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22256         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22257         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22258         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22259         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22260         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22261         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22262         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22263         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22264         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22265         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22266         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22267         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22268         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22269         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22270         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22271         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22272         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22273         * sysdeps/i386/fpu/e_log.S: Likewise.
22274         * sysdeps/i386/fpu/e_log10.S: Likewise.
22275         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22276         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22277         * sysdeps/i386/fpu/e_log2.S: Likewise.
22278         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22279         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22280         * sysdeps/i386/fpu/e_logf.S: Likewise.
22281         * sysdeps/i386/fpu/e_logl.S: Likewise.
22282         * sysdeps/i386/fpu/e_pow.S: Likewise.
22283         * sysdeps/i386/fpu/e_powf.S: Likewise.
22284         * sysdeps/i386/fpu/e_powl.S: Likewise.
22285         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22286         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22287         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22288         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22289         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22290         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22291         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22292         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22293         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22294         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22295         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22296         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22297         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22298         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22299         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22300         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22301         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22302         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22303         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22304         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22305         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22306         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22307         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22308         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22309         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22310         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22311         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22312         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22313         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22314         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22315         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22316         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22317         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22318         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22319         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22320         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22321         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22322         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22323         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22324         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22325         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22326         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22327         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22328         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22329         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22330         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22331         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22332         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22333         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22334         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22335         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22336         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22337         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22338         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22339         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22340         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22341         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22342         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22343         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22344         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22345         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22346         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22347         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22348         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22349         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22350         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22351         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22352         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22353         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22354         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22355         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22356         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22357         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22358         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22359         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22360         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22361         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22362         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22363         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22364         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22365         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22366         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22367         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22368         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22369         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22370         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22371         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22372         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22373         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22374         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22375         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22376         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22377         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22378         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22379         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22380         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22381         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22382         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22383         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22384         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22385         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22386         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22387         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22388         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22389         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22390         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22391         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22392         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22393         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22394         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22395         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22396         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22397         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22398         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22399         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22400         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22401         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22402         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22403         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22404         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22405         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22406         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22407         (__isnanf): Likewise.
22408         (__isinf_ns): Likewise.
22409         (__isinf_nsf): Likewise.
22410         (__finite): Likewise.
22411         (__finitef): Likewise.
22412         (__ieee754_sqrt): Define as macro.
22413         (__ieee754_sqrtf): Define as macro.
22414         (__ieee754_sqrtl): Define as macro.
22415         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22416         inlined copy.
22417         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22418         __FINITE_MATH_ONLY__ consistent.
22419         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22421 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22423         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22424         of rawmemchr.
22426         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22428 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22430         * po/ja.po: Update from translation team.
22432 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22434         * locale/programs/locarchive.c (prepare_address_space): New function.
22435         (create_archive, enlarge_archive, open_archive): Use it.
22437         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22438         inside [SHARED], where it is used.
22440         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22442         * nss/getent.c (netgroup_keys): Remove unused variable.
22443         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22445 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22447         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22448         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22450         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22451         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22452         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22453         * math/Makefile (libm-calls): Add s_isinf_ns.
22454         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22455         * math/multc3.c: Likewise.
22456         * math/s_casin.c: Likewise.
22457         * math/s_casinf.c: Likewise.
22458         * math/s_casinl.c: Likewise.
22459         * math/s_ccos.c: Likewise.
22460         * math/s_ccosf.c: Likewise.
22461         * math/s_ccosl.c: Likewise.
22462         * math/s_ctan.c: Likewise.
22463         * math/s_ctanf.c: Likewise.
22464         * math/s_ctanh.c: Likewise.
22465         * math/s_ctanhf.c: Likewise.
22466         * math/s_ctanhl.c: Likewise.
22467         * math/s_ctanl.c: Likewise.
22468         * math/w_fmod.c: Likewise.
22469         * math/w_fmodf.c: Likewise.
22470         * math/w_fmodl.c: Likewise.
22471         * math/w_remainder.c: Likewise.
22472         * math/w_remainderf.c: Likewise.
22473         * math/w_remainderl.c: Likewise.
22474         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22475         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22476         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22478         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22479         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22480         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22481         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22483         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22484         of the number.
22485         * stdio-common/printf_fphex.c: Likewise.
22486         * stdio-common/printf_size.c: Likewise.
22488         * math/e_exp10.c: Include math_private.h using <...> not "...".
22489         * math/e_exp10f.c: Likewise.
22490         * math/e_exp10l.c: Likewise.
22491         * math/e_exp2l.c: Likewise.
22492         * math/e_j0l.c: Likewise.
22493         * math/e_j1l.c: Likewise.
22494         * math/e_jnl.c: Likewise.
22495         * math/e_lgammal_r.c: Likewise.
22496         * math/e_rem_pio2l.c: Likewise.
22497         * math/e_scalb.c: Likewise.
22498         * math/e_scalbf.c: Likewise.
22499         * math/e_scalbl.c: Likewise.
22500         * math/k_cosl.c: Likewise.
22501         * math/k_sinl.c: Likewise.
22502         * math/k_tanl.c: Likewise.
22503         * math/s_cacoshf.c: Likewise.
22504         * math/s_catan.c: Likewise.
22505         * math/s_catanf.c: Likewise.
22506         * math/s_catanh.c: Likewise.
22507         * math/s_catanhf.c: Likewise.
22508         * math/s_catanhl.c: Likewise.
22509         * math/s_catanl.c: Likewise.
22510         * math/s_ccosh.c: Likewise.
22511         * math/s_ccoshf.c: Likewise.
22512         * math/s_ccoshl.c: Likewise.
22513         * math/s_cexp.c: Likewise.
22514         * math/s_cexpf.c: Likewise.
22515         * math/s_cexpl.c: Likewise.
22516         * math/s_clog.c: Likewise.
22517         * math/s_clog10.c: Likewise.
22518         * math/s_clog10f.c: Likewise.
22519         * math/s_clog10l.c: Likewise.
22520         * math/s_clogf.c: Likewise.
22521         * math/s_clogl.c: Likewise.
22522         * math/s_csin.c: Likewise.
22523         * math/s_csinf.c: Likewise.
22524         * math/s_csinh.c: Likewise.
22525         * math/s_csinhf.c: Likewise.
22526         * math/s_csinhl.c: Likewise.
22527         * math/s_csinl.c: Likewise.
22528         * math/s_csqrt.c: Likewise.
22529         * math/s_csqrtf.c: Likewise.
22530         * math/s_csqrtl.c: Likewise.
22531         * math/s_ctan.c: Likewise.
22532         * math/s_ctanf.c: Likewise.
22533         * math/s_ctanh.c: Likewise.
22534         * math/s_ctanhf.c: Likewise.
22535         * math/s_ctanhl.c: Likewise.
22536         * math/s_ctanl.c: Likewise.
22537         * math/s_ldexp.c: Likewise.
22538         * math/s_ldexpf.c: Likewise.
22539         * math/s_ldexpl.c: Likewise.
22540         * math/s_significand.c: Likewise.
22541         * math/s_significandf.c: Likewise.
22542         * math/s_significandl.c: Likewise.
22543         * math/w_acos.c: Likewise.
22544         * math/w_acosf.c: Likewise.
22545         * math/w_acosh.c: Likewise.
22546         * math/w_acoshf.c: Likewise.
22547         * math/w_acoshl.c: Likewise.
22548         * math/w_acosl.c: Likewise.
22549         * math/w_asin.c: Likewise.
22550         * math/w_asinf.c: Likewise.
22551         * math/w_asinl.c: Likewise.
22552         * math/w_atan2.c: Likewise.
22553         * math/w_atan2f.c: Likewise.
22554         * math/w_atan2l.c: Likewise.
22555         * math/w_atanh.c: Likewise.
22556         * math/w_atanhf.c: Likewise.
22557         * math/w_atanhl.c: Likewise.
22558         * math/w_cosh.c: Likewise.
22559         * math/w_coshf.c: Likewise.
22560         * math/w_coshl.c: Likewise.
22561         * math/w_dremf.c: Likewise.
22562         * math/w_exp10.c: Likewise.
22563         * math/w_exp10f.c: Likewise.
22564         * math/w_exp10l.c: Likewise.
22565         * math/w_exp2.c: Likewise.
22566         * math/w_exp2f.c: Likewise.
22567         * math/w_fmod.c: Likewise.
22568         * math/w_fmodf.c: Likewise.
22569         * math/w_fmodl.c: Likewise.
22570         * math/w_hypot.c: Likewise.
22571         * math/w_hypotf.c: Likewise.
22572         * math/w_hypotl.c: Likewise.
22573         * math/w_j0.c: Likewise.
22574         * math/w_j0f.c: Likewise.
22575         * math/w_j0l.c: Likewise.
22576         * math/w_j1.c: Likewise.
22577         * math/w_j1f.c: Likewise.
22578         * math/w_j1l.c: Likewise.
22579         * math/w_jn.c: Likewise.
22580         * math/w_jnf.c: Likewise.
22581         * math/w_jnl.c: Likewise.
22582         * math/w_lgamma.c: Likewise.
22583         * math/w_lgamma_r.c: Likewise.
22584         * math/w_lgammaf.c: Likewise.
22585         * math/w_lgammaf_r.c: Likewise.
22586         * math/w_lgammal.c: Likewise.
22587         * math/w_lgammal_r.c: Likewise.
22588         * math/w_log.c: Likewise.
22589         * math/w_log10.c: Likewise.
22590         * math/w_log10f.c: Likewise.
22591         * math/w_log10l.c: Likewise.
22592         * math/w_log2.c: Likewise.
22593         * math/w_log2f.c: Likewise.
22594         * math/w_log2l.c: Likewise.
22595         * math/w_logf.c: Likewise.
22596         * math/w_logl.c: Likewise.
22597         * math/w_pow.c: Likewise.
22598         * math/w_powf.c: Likewise.
22599         * math/w_powl.c: Likewise.
22600         * math/w_remainder.c: Likewise.
22601         * math/w_remainderf.c: Likewise.
22602         * math/w_remainderl.c: Likewise.
22603         * math/w_scalb.c: Likewise.
22604         * math/w_scalbf.c: Likewise.
22605         * math/w_scalbl.c: Likewise.
22606         * math/w_sinh.c: Likewise.
22607         * math/w_sinhf.c: Likewise.
22608         * math/w_sinhl.c: Likewise.
22609         * math/w_sqrt.c: Likewise.
22610         * math/w_sqrtf.c: Likewise.
22611         * math/w_sqrtl.c: Likewise.
22612         * math/w_tgamma.c: Likewise.
22613         * math/w_tgammaf.c: Likewise.
22614         * math/w_tgammal.c: Likewise.
22616         * po/ja.po: Update from translation team.
22618 2011-09-29  Andreas Jaeger  <aj@suse.de>
22620         [BZ #13179]
22621         * sunrpc/netname.c (netname2host): Fix logic.
22623         [BZ #6779]
22624         [BZ #6783]
22625         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22626         correctly.
22627         * math/w_remainder.c (__remainder): Likewise.
22628         * math/w_remainderf.c (__remainderf): Likewise.
22629         * math/libm-test.inc (remainder_test): Add test cases.
22631 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22633         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22634         sdiv_qrnnd.
22636 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22638         * string/test-memcmp.c: Avoid unncessary #defines.
22639         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22641 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22643         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22644         Use new sse2 version for core i3 - i7 as it's faster
22645         than sse42 version.
22646         (bit_Prefer_PMINUB_for_stringop): New.
22647         * sysdeps/x86_64/rawmemchr.S: Update.
22648         Replace with faster SSE2 version.
22649         * sysdeps/x86_64/memrchr.S: New file.
22650         * sysdeps/x86_64/memchr.S: Update.
22651         Replace with faster SSE2 version.
22653 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
22655         * elf/dl-load.c (lose): Add cast to avoid warning.
22657 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22659         * po/ca.po: Update from translation team.
22661         * inet/getnetgrent_r.c: Hook up nscd.
22662         * nscd/Makefile (routines): Add nscd_netgroup.
22663         (nscd-modules): Add netgroupcache.
22664         (CFLAGS-netgroupcache.c): Define.
22665         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22666         (cache_search): Add const to second parameter.
22667         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22668         INNETGR.
22669         (dbs): Add netgrdb entry.
22670         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22671         (verify_persistent_db): Handle netgrdb.
22672         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22673         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22674         GETFDNETGR.
22675         (netgroup_response_header): Define.
22676         (innetgroup_response_header): Define.
22677         (datahead): Add netgroup_response_header and innetgroup_response_header
22678         elements.
22679         * nscd/nscd.conf: Add entries for netgroup cache.
22680         * nscd/nscd.h (dbtype): Add netgrdb.
22681         (_PATH_NSCD_NETGROUP_DB): Define.
22682         (netgroup_iov_disabled): Declare.
22683         (xmalloc, xcalloc, xrealloc): Move declarations here.
22684         (cache_search): Adjust prototype.
22685         Add netgroup-related prototypes.
22686         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22687         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22688         (__nscd_innetgr): Declare.
22689         * nscd/selinux.c (perms): Use access_vector_t as element type and
22690         add netgroup-related initializers.
22691         * nscd/netgroupcache.c: New file.
22692         * nscd/nscd_netgroup.c: New file.
22693         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22694         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22695         For four parameters use innetgr.
22696         * nss/nss_files/files-init.c: Add definition and callback for netgr.
22697         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22698         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22699         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22701         * nscd/connections.c (register_traced_file): Don't register file
22702         for disabled databases.
22704 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
22706         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22708         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22709         from tree and freeing node.
22711 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
22713         * nss/nsswitch.c (__nss_database_lookup): Handle
22714         nss_parse_service_list out of memory case.
22716 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
22718         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22719         out of memory case.
22721 2011-10-04  Andreas Schwab  <schwab@redhat.com>
22723         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22724         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22725         pass it down.
22726         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22727         elf_machine_rela, elf_machine_lazy_rel.
22728         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22729         (ELF_DYNAMIC_DO_REL): Likewise.
22730         (ELF_DYNAMIC_DO_RELA): Likewise.
22731         (ELF_DYNAMIC_RELOCATE): Likewise.
22732         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22733         to ELF_DYNAMIC_DO_REL.
22734         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22735         (dl_main): In trace mode always set __RTLD_NOIFUNC.
22736         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22737         elf_machine_rela.
22738         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22739         skip_ifunc, don't call ifunc function if non-zero.
22740         (elf_machine_rela): Likewise.
22741         (elf_machine_lazy_rel): Likewise.
22742         (elf_machine_lazy_rela): Likewise.
22743         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22744         (elf_machine_lazy_rel): Likewise.
22745         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22746         Likewise.
22747         (elf_machine_lazy_rel): Likewise.
22748         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22749         Likewise.
22750         (elf_machine_lazy_rel): Likewise.
22751         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22752         (elf_machine_lazy_rel): Likewise.
22753         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22754         (elf_machine_lazy_rel): Likewise.
22755         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22756         (elf_machine_lazy_rel): Likewise.
22757         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22758         (elf_machine_lazy_rel): Likewise.
22759         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22760         (elf_machine_lazy_rel): Likewise.
22761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22762         (elf_machine_lazy_rel): Likewise.
22764 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
22766         * nss/nss_files/files-init.c (_nss_files_init): Use static
22767         initialization for all the *_traced_file variables.
22769 2011-09-28  Andreas Schwab  <schwab@redhat.com>
22771         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22773 2011-09-27  Roland McGrath  <roland@hack.frob.com>
22775         [BZ #13226]
22776         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22778 2011-09-27  Andreas Schwab  <schwab@redhat.com>
22780         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22781         Reread the line before reparsing it.
22783 2011-09-26  Andreas Schwab  <schwab@redhat.com>
22785         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22787 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
22788             Maxim Kuvyrkov  <maxim@codesourcery.com>
22789             Joseph Myers  <joseph@codesourcery.com>
22791         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22792         if needed for __stack_chk_guard.
22794 2011-09-19  Roland McGrath  <roland@hack.frob.com>
22796         * sysdeps/posix/spawni.c (script_execute): Always define it.
22797         It will be optimized away if unused.
22798         (maybe_script_execute): New function.
22799         (__spawni): Call it.
22801         * Makerules: Don't include tls.make.
22802         (config-tls): Always set to thread.
22803         * tls.make.c: File removed.
22805 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
22807         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22808         * config.make.in (CPPFLAGS-config): New substituted variable.
22810 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22812         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22814         [BZ #13192]
22815         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22816         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22818 2011-09-15  Roland McGrath  <roland@hack.frob.com>
22820         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22821         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22822         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22823         (CALL_FAIL): Likewise.
22824         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22825         (CALL_FAIL): Macro removed.
22826         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22828 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22830         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22831         for __FINITE_MATH_ONLY__ == 1.
22833 2011-09-15  Andreas Schwab  <schwab@redhat.com>
22835         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22836         __ieee754_sqrt instead of sqrt.
22837         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22838         __ieee754_sqrtf instead of sqrtf.
22839         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22840         __floorf instead of floorf.
22841         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22842         __floorf, __truncf instead of floorf, truncf.
22844 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
22846         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22848         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22849         __extern_always_inline.
22850         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22851         32-bit.
22853 2011-09-14  Andreas Schwab  <schwab@redhat.com>
22855         * elf/rtld.c (dl_main): Also relocate in dependency order when
22856         doing symbol dependency testing.
22858 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
22860         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22861         Always define `refsym'.
22863 2011-09-13  Andreas Schwab  <schwab@redhat.com>
22865         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22866         (__FD_ELT): Renamed from __FDELT.
22867         * misc/bits/select2.h (__FD_ELT): Likewise.
22868         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22869         __FD_MASK instead of __FDELT, __FDMASK.
22870         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22871         Likewise.
22872         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22873         Likewise.
22875         * elf/Makefile (gen-ldd): Fix pattern.
22877         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22878         (init_tls): Likewise.
22880 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
22882         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22884 2011-09-12  Andreas Schwab  <schwab@redhat.com>
22886         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22887         `struct cmsghdr *' instead of `void *'.
22888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22889         Likewise.
22891 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
22893         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22894         if non-absolute.
22895         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22896         ldd_rewrite_script.
22898 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
22900         * configure.in: Remove --with-tls option.
22901         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22902         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22903         out in case it is missing.
22904         * sysdeps/ia64/elf/configure.in: Likewise.
22905         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22906         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22907         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22908         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22909         * sysdeps/sh/elf/configure.in: Likewise.
22910         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22911         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22912         * sysdeps/x86_64/elf/configure.in: Likewise.
22913         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22914         * sysdeps/mach/hurd/tls.h: Likewise.
22916         [BZ #13067]
22917         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22919         [BZ #13090]
22920         * configure.in: Fix use of AC_INIT.
22922         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22924 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
22926         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22927         __set_errno.
22928         * malloc/hooks.c: Likewise.
22930         [BZ #11929]
22931         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
22932         variables statically.
22933         (narenas): Initialize.
22934         (list_lock): Initialize.
22935         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
22936         initializtion of main_arena and list_lock.  Small cleanups.
22937         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22938         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
22939         Add initializers to main_arena and mp_.
22940         (malloc_state): Remove pagesize member.  Change all users to use
22941         GLRO(dl_pagesize).
22943         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22944         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
22945         is always initialized.
22947         * malloc/malloc.c: Removed unused configurations and dead code.
22948         * malloc/arena.c: Likewise.
22949         * malloc/hooks.c: Likewise.
22950         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22952         * include/tls.h: Removed.  USE___THREAD must always be defined.
22953         * bits/libc-tsd.h: Don't handle !USE___THREAD.
22954         * elf/dl-libc.c: Likewise.
22955         * elf/dl-tsd.c: Likewise.
22956         * include/errno.h: Likewise.
22957         * include/netdb.h: Likewise.
22958         * include/resolv.h: Likewise.
22959         * inet/herrno-loc.c: Likewise.
22960         * inet/herrno.c: Likewise.
22961         * malloc/arena.c: Likewise.
22962         * malloc/hooks.c: Likewise.
22963         * malloc/malloc.c: Likewise.
22964         * resolv/res-state.c: Likewise.
22965         * resolv/res_libc.c: Likewise.
22966         * sysdeps/i386/dl-machine.h: Likewise.
22967         * sysdeps/ia64/dl-machine.h: Likewise.
22968         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22969         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22970         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22971         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22972         * sysdeps/sh/dl-machine.h: Likewise.
22973         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22974         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22975         * sysdeps/unix/i386/sysdep.S: Likewise.
22976         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22977         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22978         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22980         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22982         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22984         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22985         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22986         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22987         * sysdeps/x86_64/dl-machine.h: Likewise.
22988         * tls.make.c: Likewise.
22990         * configure.in: Remove --with-__thread option.  Make tests for
22991         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22992         tls_model attribute fail if no support is available.  Remove
22993         USE_IN_LIBIO.
22994         * Makeconfig: Adjust for dropped configure option.  All features are
22995         now mandatory.
22996         * Makerules: Likewise.
22997         * Versions.def: Likewise.
22998         * argp/argp-fmtstream.c: Likewise.
22999         * argp/argp-fmtstream.h: Likewise.
23000         * argp/argp-help.c: Likewise.
23001         * assert/assert.c: Likewise.
23002         * config.h.in: Likewise.
23003         * config.make.in: Likewise.
23004         * configure: Likewise.
23005         * configure.in: Likewise.
23006         * csu/Versions: Likewise.
23007         * csu/init.c: Likewise.
23008         * elf/tst-audit2.c: Likewise.
23009         * elf/tst-tls10.c: Likewise.
23010         * elf/tst-tls10.h: Likewise.
23011         * elf/tst-tls11.c: Likewise.
23012         * elf/tst-tls12.c: Likewise.
23013         * elf/tst-tls14.c: Likewise.
23014         * elf/tst-tlsmod11.c: Likewise.
23015         * elf/tst-tlsmod12.c: Likewise.
23016         * elf/tst-tlsmod13.c: Likewise.
23017         * elf/tst-tlsmod13a.c: Likewise.
23018         * elf/tst-tlsmod14a.c: Likewise.
23019         * elf/tst-tlsmod15b.c: Likewise.
23020         * elf/tst-tlsmod16a.c: Likewise.
23021         * elf/tst-tlsmod16b.c: Likewise.
23022         * elf/tst-tlsmod7.c: Likewise.
23023         * elf/tst-tlsmod8.c: Likewise.
23024         * elf/tst-tlsmod9.c: Likewise.
23025         * gmon/gmon.c: Likewise.
23026         * grp/fgetgrent_r.c: Likewise.
23027         * grp/putgrent.c: Likewise.
23028         * hurd/fopenport.c: Likewise.
23029         * include/libc-symbols.h: Likewise.
23030         * include/tls.h: Likewise.
23031         * intl/gettextP.h: Likewise.
23032         * intl/loadinfo.h: Likewise.
23033         * locale/global-locale.c: Likewise.
23034         * locale/localeinfo.h: Likewise.
23035         * mach/devstream.c: Likewise.
23036         * malloc/arena.c: Likewise.
23037         * malloc/set-freeres.c: Likewise.
23038         * misc/err.c: Likewise.
23039         * misc/getttyent.c: Likewise.
23040         * misc/mntent_r.c: Likewise.
23041         * posix/getopt.c: Likewise.
23042         * posix/wordexp.c: Likewise.
23043         * pwd/fgetpwent_r.c: Likewise.
23044         * resolv/Versions: Likewise.
23045         * resolv/res_hconf.c: Likewise.
23046         * shadow/fgetspent_r.c: Likewise.
23047         * shadow/putspent.c: Likewise.
23048         * stdio-common/printf_fphex.c: Likewise.
23049         * stdio-common/tmpfile.c: Likewise.
23050         * stdlib/abort.c: Likewise.
23051         * stdlib/fmtmsg.c: Likewise.
23052         * sunrpc/auth_unix.c: Likewise.
23053         * sunrpc/clnt_perr.c: Likewise.
23054         * sunrpc/clnt_tcp.c: Likewise.
23055         * sunrpc/clnt_udp.c: Likewise.
23056         * sunrpc/clnt_unix.c: Likewise.
23057         * sunrpc/openchild.c: Likewise.
23058         * sunrpc/svc_simple.c: Likewise.
23059         * sunrpc/svc_tcp.c: Likewise.
23060         * sunrpc/svc_udp.c: Likewise.
23061         * sunrpc/svc_unix.c: Likewise.
23062         * sunrpc/xdr.c: Likewise.
23063         * sunrpc/xdr_array.c: Likewise.
23064         * sunrpc/xdr_rec.c: Likewise.
23065         * sunrpc/xdr_ref.c: Likewise.
23066         * sunrpc/xdr_stdio.c: Likewise.
23068 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23070         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23072 2011-07-03  Andreas Jaeger  <aj@suse.de>
23074         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23075         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23076         regenerate with gen-libm-tests.pl.
23078 2010-05-12  Petr Baudis  <pasky@suse.cz>
23080         [BZ #11589]
23081         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23082         around j0() zero points by switching to j1().
23083         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23084         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23085         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23086         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23088 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23090         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23091         instead of 0.
23092         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23093         instead of 0.
23094         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23095         Patch in part by Pavel Roskin <proski@gnu.org>.
23097         [BZ #13138]
23098         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23099         realloc.
23100         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23101         Free memory block if necessary.
23103         [BZ #12847]
23104         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23105         be NULL.  Don't lock in this case.
23107 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23109         * elf/elf.h (ELFOSABI_GNU): New macro.
23110         (ELFOSABI_LINUX): Define to that.
23112 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23114         * string/strncat.c (strncat): Undef the symbol in case it has been
23115         defined in bits/string.h.
23117 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23119         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23121         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23122         link map.
23124 2011-08-17  Andreas Jaeger  <aj@suse.de>
23126         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23128 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23129             Ian Lance Taylor  <iant@google.com>
23131         * math/libm-test.inc (lround_test): New testcase.
23132         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23134 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23136         * Makefile: Remove support for automatic cvs check-ins.
23137         * Makerules: Likewise.
23138         * config.make.in: Likewise.
23139         * configure.in: Likewise.
23140         * intl/Makefile: Likewise.
23141         * locale/Makefile: Likewise.
23142         * po/Makefile: Likewise.
23143         * posix/Makefile: Likewise.
23144         * sysdeps/gnu/Makefile: Likewise.
23145         * sysdeps/mach/hurd/Makefile: Likewise.
23146         * sysdeps/sparc/sparc32/Makefile: Likewise.
23148         [BZ #13118]
23149         * posix/Makefile (bug-regex32-ENV): Define.
23150         Patch by John Stanley <jpsinthemix@verizon.net>.
23152         * misc/Makefile (headers): Add bits/select2.h.
23153         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23154         * misc/bits/select2.h: New file.
23155         * include/bits/select2.h: New file.
23156         * debug/Makefile (routines): Add fdelt_chk.
23157         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23158         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23159         FD_ISSET.
23160         * debug/fdelt_chk.c: New file.
23162         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23163         * wcsmbs/test-wmemcmp.c: Likewise.
23164         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23165         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23167 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23169         * string/Makefile (strop-tests): Add memcmp.
23170         * string/test-wmemcmp.c: New file.
23171         * string/test-memcmp.c: Add wmemcmp support.
23173 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23175         [BZ #13153]
23176         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23177         2011-07-19 change.
23179         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23180         garbage value in a __mach_port_mod_refs call in the cases of the
23181         task-self and thread-self ports.
23183 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23185         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23187 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23189         * elf/dl-load.c (lose): Check for non-null L.
23191 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23193         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23195         * elf/dl-libc.c (dlerror_run): Pass back error code from
23196         dl_catch_error.
23198         [BZ #13123]
23199         * elf/dl-load.c (lose): Free l_origin if it is valid.
23201         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23202         names.
23203         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23204         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23205         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23206         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23207         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23208         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23210 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23212         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23213         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23214         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23215         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23216         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23217         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23218         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23219         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23220         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23221         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23223 2011-08-15  Alan Modra  <amodra@gmail.com>
23225         [BZ #13092]
23226         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23227         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23228         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23229         ppc_mcount to static-only-routines.
23230         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23231         __mcount_internal.
23232         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23233         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23235 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23237         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23238         for finite and infinity parameters.
23240 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23242         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23243         and add nop instructions for throughput optimization.
23244         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23246 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23248         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23249         aligned copy for power7 with vector-scalar instructions.
23250         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23252 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23254         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23255         AVX check.
23257 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23259         [BZ #13144]
23260         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23261         last change.
23263 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23265         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23266         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23267         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23268         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23269         clock_gettime.
23271 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23273         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23274         Forgot to demangle the pointer.
23276         * sysdeps/i386/sysdep.h: Define atom_text_section.
23277         * sysdeps/x86_64/sysdep.h: Likewise.
23278         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23279         section with atom_text_section.
23280         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23281         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23282         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23283         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23284         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23286         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23287         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23288         already be defined.  Change to take two parameters and don't assign
23289         result to variable.  Adjust all users.
23290         Define INTERNAL_GETTIME if not already defined.
23291         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23292         call.
23293         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23294         HAVE_CLOCK_GETTIME_VSYSCALL.
23295         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23297         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23298         gettimeofday vsyscall, just use time.
23300 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23302         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23303         <errno.h>.
23305 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23307         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23308         syscall on x86-64.
23309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23310         syscall.
23311         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23312         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23313         syscall if possible.
23315 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23317         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23318         e_ident.  Don't pass to find_mapsXX.
23319         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23321 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23324         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23325         * sysdeps/x86_64/multiarch/strchr.S: Update.
23326         Check bit_slow_BSF bit.
23327         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23328         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23329         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23331 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23333         [BZ #13134]
23334         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23335         before glibc 2.15.
23336         (tryshell): Define.
23337         (__spawni): Change last parameter to be flag.  Test
23338         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23339         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23340         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23341         * posix/spawni.c: Likewise.
23342         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23343         * posix/spawnp.c: Likewise.  Change normal version to use
23344         SPAWN_XFLAGS_USE_PATH.
23345         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23346         SPAWN_XFLAGS_TRY_SHELL.
23348         [BZ #13150]
23349         * posix/glob.h: Remove gcc 1.x support.
23351         [BZ #13068]
23352         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23354 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23356         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23357         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23358         strrchr-sse2-bsf
23359         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23360         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23361         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23362         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23363         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23364         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23366 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23368         * sysdeps/x86_64/wcscmp.S: New file.
23370         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23371         wcscmp-c wcscmp-sse2
23372         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23373         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23374         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23375         * wcsmbs/wcscmp.c: Allow renaming.
23377 2011-09-05  David S. Miller  <davem@davemloft.net>
23379         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23380         stack slot, rather than the struct return pointer slot.
23381         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23382         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23384         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23386 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23388         * po/ja.po: Update from translation team.
23390         [BZ #13144]
23391         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23392         kernel in 64-bit binaries.
23394 2011-09-01  David S. Miller  <davem@davemloft.net>
23396         * elf/elf.h (HWCAP_SPARC_*): Move to..
23397         * sysdeps/sparc/sysdep.h: this new file and add new values.
23398         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23399         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23400         _DL_HWCAP_COUNT to 24.
23401         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23402         entries.
23403         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23404         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23405         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23406         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23407         instead of magic constants.
23408         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23410 2011-08-31  David S. Miller  <davem@davemloft.net>
23412         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23413         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23414         Reimplement to do errno handling inline.
23415         (SYSCALL_ERROR_HANDLER): New macro.
23416         (__SYSCALL_STRING): Do not do errno handling in asm.
23417         (__CLONE_SYSCALL_STRING): Delete.
23418         (__INTERNAL_SYSCALL_STRING): Delete.
23419         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23420         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23421         (PSEUDO): Reimplement to do errno handling inline.
23422         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23423         (SYSCALL_ERROR_HANDLER): New macro.
23424         (__SYSCALL_STRING): Do not do errno handling in asm.
23425         (__CLONE_SYSCALL_STRING): Delete.
23426         (__INTERNAL_SYSCALL_STRING): Delete.
23427         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23428         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23429         i386.
23430         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23431         (inline_syscall*): Add 'err' argument.
23432         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23433         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23434         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23435         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23437         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23438         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23440 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23442         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23444 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23446         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23447         directive.
23449 2011-08-24  David S. Miller  <davem@davemloft.net>
23451         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23453 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23455         * elf/Makefile: Add rules to build and run unload8 test.
23456         * elf/unload8.c: New file.
23457         * elf/unload8mod1.c: New file.
23458         * elf/unload8mod1x.c: New file.
23459         * elf/unload8mod2.c: New file.
23460         * elf/unload8mod3.c: New file.
23462         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23463         it wasn't used.
23465 2011-08-23  David S. Miller  <davem@davemloft.net>
23467         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23468         subtract stack bias.
23469         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23470         %sp not %fp in calculations.
23471         (_JMPBUF_UNWINDS_ADJ): Likewise.
23473         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23474         (aio_suspend): Call it to force an exception region around the
23475         AIO_MISC_WAIT() invocation.
23477 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23479         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23480         backslash.
23482 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23484         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23485         protection macro.
23486         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23487         and <dl-machine.h>.
23488         (Elf64_FuncDesc): Remove.
23490 2011-08-22  David S. Miller  <davem@davemloft.net>
23492         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23493         sigaltstack check, add missing cfi directives.
23494         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23495         missing cfi directives, and sigaltstack handling.
23497 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23499         [BZ #11724]
23500         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23501         object is seen twice.
23502         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23504         * elf/Makefile (distribute): Add tst-initorder2.c.
23505         (tests): Add tst-initorder2.
23506         (modules-names): Add tst-initorder2a tst-initorder2b
23507         tst-initorder2c tst-initorder2d.  Add rules to build them.
23508         ($(objpfx)tst-initorder2.out): New rule.
23509         * elf/tst-initorder2.c: New file.
23510         * elf/tst-initorder2.exp: New file.
23512 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23514         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23516         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23517         dependencies back to end of function.
23519         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23520         $(elfobjdir)/ld.so.
23522 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23524         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23525         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23526         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23527         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23528         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23529         of __vdso_gettimeofday.
23530         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23531         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23532         attribute_hidden.
23533         (_libc_vdso_platform_setup): Remove initialization of
23534         __vdso_gettimeofday and __vdso_time.
23536 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23538         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23539         and fgetc_unlocked.
23540         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23541         getc_unlocked.
23543         * elf/dl-open.c (add_to_global): Report additions to the global scope
23544         for LD_DEBUG=scopes.
23545         (dl_open_worker): Also print scope of newly loaded dependencies.
23546         (_dl_show_scope): Indicate if there is no scope.
23548         [BZ #13114]
23549         * stdio-common/Makefile (tests): Add bug24.
23550         * stdio-common/bug24.c: New file.
23552 2011-08-19  Andreas Jaeger  <aj@suse.de>
23554         [BZ #13114]
23555         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23556         non-existant file when using close-on-exec mode.
23558 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23560         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23561         the very first instruction.
23563         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23564         the CFI state in the end.
23565         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23566         inclusion of dl-trampoline.h.
23567         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23569 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23571         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23572         expectations for long double.
23574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23575         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23577 2011-08-14  David S. Miller  <davem@davemloft.net>
23579         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23580         artificual limit depends upon the system page size.
23582 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23584         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23585         * resolv/Makefile: Define CFLAGS-libresolv.
23587 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23589         * nss/makedb.c (compute_tables): Make variables used in nested
23590         function static.
23592 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23594         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23595         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23596         if buffer was too small.
23598         * elf/pldd.c (main): Attach to all threads in the process.
23599         Rewrite /proc handling to use *at functions.
23601 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23603         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23604         specifies first scope to show.
23605         (dl_open_worker): Update callers.  Move printing scope of new
23606         object to before the relocation.
23607         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23608         * sysdeps/generic/ldsodefs.h: Update declaration.
23610         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23611         string for the scope number.
23613 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23615         * nscd/servicescache.c (cache_addserv): Make sure written is always
23616         initialized.
23618 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23620         * sysdeps/i386/i486/bits/atomic.h
23621         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23622         statement expression, so as to suppress "set but not used" warning.
23623         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23625         * string/strncat.c (STRNCAT): Use prototype definition.
23627         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23628         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23629         -Iprograms here.
23630         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23631         (localedef-modules): Add localedef.
23632         (locale-modules): Add locale.
23634         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23635         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23636         to avoid a warning.
23638 2011-08-14  David S. Miller  <davem@davemloft.net>
23640         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23641         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23643 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23645         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23646         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23647         * elf/rtld.c (dl_main): Set l_name of vDSO.
23648         Call _dl_show_scope when DL_DEBUG_SCOPES.
23649         (process_dl_debug): Recognize scopes flag and also set it for all.
23650         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23651         Declare _dl_show_scope.
23653         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23654         (do_dlopen): Pass caller_dlopen to dl_open.
23655         (__libc_dlopen_mode): Initialize caller_dlopen.
23657         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23658         of libc.  Make tolower call locale-independent.  Optimize a bit by
23659         using isdigit instead of isalnum.
23660         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23662 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
23664         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23665         was a dependency or dynamically loaded.
23667 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
23669         * intl/l10nflist.c: Allow architecture-specific pop function.
23670         * sysdeps/x86_64/l10nflist.c: New file.
23672         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23673         classification.
23675 2011-08-10  Andreas Schwab  <schwab@redhat.com>
23677         * include/dirent.h: Add libc_hidden_proto for scandirat and
23678         scandirat64.  Don't declare __scandirat64.
23679         * dirent/scandirat.c: Add libc_hidden_def.
23680         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23681         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23683 2011-08-10  David S. Miller  <davem@davemloft.net>
23685         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23686         enum.
23687         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23688         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23689         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23691 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
23693         * Versions.def [libc]: Add GLIBC_2.15.
23694         * dirent/Makefile (routines): Add scandirat and scandirat64.
23695         * dirent/Versions [libc]: Export scandirat and scandirat64 for
23696         GLIBC_2.15.
23697         * dirent/dirent.h: Declare scandirat and scandirat64.
23698         * dirent/scandirat.c: New file.
23699         * dirent/scandirat64.c: New file.
23700         * sysdeps/wordsize-64/scandirat.c: New file.
23701         * sysdeps/wordsize-64/scandirat64.c: New file.
23702         * dirent/opendir.c: Define opendirat.
23703         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
23704         using scandirat.
23705         * dirent/scandir64.c: Adjust for scandir.c change.
23706         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
23707         __scandirat64, and __scandir_cancel_handler.
23708         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
23709         additional parameter and use openat instead of open (outside of ld.so).
23710         Add new __opendir as wrapper around __opendirat.
23711         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23712         here without requiring old scandirat implementation.
23714 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
23716         * dirent/scandir.c (cancel_handler): Renamed to
23717         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
23718         defined.  Adjust users.
23719         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23720         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23722 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
23724         * string/test-string.h (IMPL): Use __STRING to expand name and then
23725         stringify it.
23727         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
23728         of cleanups.
23730 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23732         * string/Makefile: Update.
23733         (strop-tests): Append strncat.
23734         * string/test-wcscmp.c: New file.
23735         New comprehensive test for wcscmp.
23736         * string/test-strcmp.c: Update.
23737         (WIDE): New define.
23739 2011-07-22  Andreas Schwab  <schwab@redhat.com>
23741         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23742         line.
23744 2011-07-26  Andreas Schwab  <schwab@redhat.com>
23746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23747         encoding to ACE if AI_IDN.
23749 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
23751         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23752         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23754 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23756         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23757         Fix overflow bug in strncat.
23758         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23760         * string/test-strncat.c: Update.
23761         Add new tests for checking overflow bugs.
23763 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23766         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23767         * sysdeps/i386/i686/multiarch/strcat.S: New file.
23768         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23769         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23770         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23771         * sysdeps/i386/i686/multiarch/strncat.S: New file.
23772         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23773         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23775         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23776         (USE_AS_STRCAT): Define.
23777         Add strcat and strncat support.
23778         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23780 2011-07-25  Andreas Schwab  <schwab@redhat.com>
23782         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23783         __n bigger than INT_MAX+1.
23784         (__strncmp_g): Likewise.
23786 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
23788         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23789         * libio/stido.h: Likewise.
23791         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23792         (AF_NFC): Define.
23793         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23794         (AF_NFC): Define.
23796         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23797         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23798         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23799         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23800         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23802         [BZ #13021]
23803         * scripts/test-installation.pl: Don't expect libnss_test1 to be
23804         installed.
23806         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23807         typo.
23808         (_dl_x86_64_save_sse): Likewise.
23810 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
23812         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23813         OSXSAVE.
23814         (_dl_x86_64_save_sse): Likewise.
23816         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23818         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23820 2011-07-21  Andreas Schwab  <schwab@redhat.com>
23822         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23823         change.
23824         (_dl_x86_64_save_sse): Use correct AVX check.
23826 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23828         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23829         bug in strncpy/strncat.
23830         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23832 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
23834         * string/tester.c (test_strcat): Add tests for different alignments
23835         of source and destination.
23836         (test_strncat): Likewise.
23838 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23840         [BZ #12852]
23841         * posix/glob.c (glob): Check passed in values before using them in
23842         expressions to avoid some overflows.
23843         (glob_in_dir): Likewise.
23845         [BZ #13007]
23846         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23847         check for AVX enablement so that we don't crash with old kernels and
23848         new hardware.
23849         * elf/tst-audit4.c: Add same checks here.
23850         * elf/tst-audit6.c: Likewise.
23852         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23854 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
23856         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23858 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23860         * po/cs.po: Update from translation team.
23861         * po/bg.po: Likewise.
23863 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
23865         * misc/sys/cdefs.h: Add support for const attribute.
23866         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23867         to gnu_dev_{major,minor,makedev} functions.
23869 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
23871         * intl/dcigettext.c (get_output_charset): Add missing bracket.
23873 2011-07-20  Andreas Schwab  <schwab@redhat.com>
23875         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23876         strlen results.
23878 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23881         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23882         register in order to avoid conflicts with the soft frame pointer
23883         being held in r11 when necessary.
23884         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23885         (INTERNAL_VSYSCALL_NCS): Likewise.
23887 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
23889         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23890         * elf/dl-fini.c (_dl_fini): Adjust caller.
23891         * elf/dl-close.c (_dl_close_worker): Likewise.
23892         * sysdeps/generic/ldsodefs.h: Adjust declaration.
23894 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23896         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23897         "aux_cache->nlibs < 0".
23899         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23900         in the reload-count case.
23902 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23905         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23906         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23907         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23908         * sysdeps/x86_64/multiarch/strcat.S: New file.
23909         * sysdeps/x86_64/multiarch/strncat.S: New file.
23910         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23911         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23912         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23913         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23914         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23915         (USE_AS_STRCAT): Define.
23916         Add strcat and strncat support.
23917         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23918         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23919         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23920         * string/strncat.c: Update.
23921         (USE_AS_STRNCAT): Define.
23922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23923         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23924         and i7.
23925         * sysdeps/x86_64/multiarch/init-arch.h
23926         (bit_Prefer_PMINUB_for_stringop): New.
23927         (index_Prefer_PMINUB_for_stringop): Likewise.
23928         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23929         bit_Prefer_PMINUB_for_stringop.
23931 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23933         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23934         buffer64.
23935         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23936         of casting of buffer.
23937         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23938         buffer32 and buffer64.
23939         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23940         writes instead of casting of buffer.
23941         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23942         buffer32.
23943         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23944         casting of buffer.
23946 2011-07-19  Andreas Schwab  <schwab@redhat.com>
23948         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23950 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23952         * nscd/nscd.c (termination_handler): Don't do anything for a database
23953         if it has not yet been initialized.
23955 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23957         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23959 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23961         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23963 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23965         * po/nl.po: Update from translation team.
23966         * po/sv.po: Likewise.
23968 2011-07-16  Roland McGrath  <roland@hack.frob.com>
23970         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23971         now disallowed by GCC.
23973         * configure.in (use-default-link): Default to yes if a test -shared
23974         link meets our qualifications.
23975         * configure: Regenerated.
23977         * config.make.in (output-format): New variable.
23978         * configure.in: Check for ld --print-output-format support.
23979         * configure: Regenerated.
23980         * Makerules ($(common-objpfx)format.lds)
23981         [$(output-format) != unknown]: Just use $(output-format),
23982         instead of the linker-script munging.
23984 2011-07-14  Roland McGrath  <roland@hack.frob.com>
23986         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23987         of $(common-objpfx)shlib.lds.
23988         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23990         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23991         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23993         * configure.in (-z relro check): Adjust test code to add a large
23994         writable data section after it.
23995         * configure: Regenerated.
23997 2011-07-11  Roland McGrath  <roland@hack.frob.com>
23999         * configure.in (-z relro check): Fix test code to make the variable
24000         truly const.
24001         * configure: Regenerated.
24003 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24005         * nscd/nscd.h (struct traced_file): Define.
24006         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24007         elements.  Add traced_files.
24008         (inotify_fd): Declare.
24009         (register_traced_file): Declare.
24010         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24011         (inotify_fd): Export.
24012         (resolv_conf_descr): Remove.
24013         (nscd_init): Move inotify descriptor creation to main.
24014         Don't register files for notification here.
24015         (register_traced_file): New function.
24016         (invalidate_cache): Don't use reset_res to determine whether to call
24017         res_init, go through the list of registered files.
24018         (main_loop_poll): The inotify descriptors are now stored in the
24019         structures for the traced files.
24020         (main_loop_epoll): Likewise
24021         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24022         to __nss_disable_nscd.
24023         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24024         for a database anymore.  Check the records for all the registered
24025         files instead.
24026         * nss/Makefile (libnss_files-routines): Add files-init.
24027         (libnss_db-routines): Add db-init.
24028         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24029         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24030         * nss/nss_db/db-init.c: New file.
24031         * nss/nss_files/files-init.c: New file.
24032         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24033         __nss_lookup_function.
24034         (__nss_lookup_function): Call nss_load_library.
24035         (nss_load_all_libraries): New function.
24036         (__nss_disable_nscd): Take parameter with callback function for files
24037         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24038         used for the cached services.
24039         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24040         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24041         options for features to all the files in nscd.
24043         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24045 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24047         * csu/elf-init.c (__libc_csu_init): Comment typo.
24049 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24051         * po/pl.po: Update from translation team.
24052         * po/ja.po: Likewise.
24053         * po/ru.po: Likewise.
24054         * po/ko.po: Likewise.
24055         * po/fr.po: Likewise.
24057 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24059         * configure.in (.ctors/.dtors header and trailer check):
24060         Use an empirical test on a built program.
24061         * configure: Regenerated.
24063         * configure.in (-z relro check): Use an empirical test on a built DSO.
24064         Detect, but do not require, on ia64.
24065         * configure: Regenerated.
24067         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24068         Update tests that use readelf to use $READELF instead.
24069         * configure: Regenerated.
24071 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24073         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24074         if the result is not used.
24076 2011-07-05  Andreas Jaeger  <aj@suse.de>
24078         [BZ#9696]
24079         * stdlib/tst-strtod.c: Add testcase.
24081 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24083         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24084         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24085         The latter has a higher limit.  Take additional parameter to pass to
24086         the new function.
24087         (__pathconf): Pass file to __statfs_link_max.
24088         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24089         __statfs_link_max.
24090         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24091         __statfs_link_max.
24093         [BZ #12868]
24094         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24095         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24096         Handle Lustre.
24097         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24098         (__statfs_filesize_max): Likewise.
24099         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24101 2011-07-05  Andreas Jaeger  <aj@suse.de>
24103         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24105 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24107         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24108         `status' variable.
24109         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24110         Likewise.
24112 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24114         * Makefile (strop-tests): Add strncat.
24115         * string/test-strncat.c: New file.
24117 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24119         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24121 2011-06-21  Andreas Jaeger  <aj@suse.de>
24123         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24124         Copy rule from iconvdata/Makefile.
24126 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24128         [BZ #12922]
24129         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24130         but no long options are defined, just return 'W'.
24132 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24134         [BZ #9696]
24135         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24137 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24139         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24140         netgroups to read.
24141         (innetgr): Likewise.
24143 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24145         * config.make.in (install_root): Default to $(DESTDIR).
24147 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24149         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24151 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24153         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24155         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24156         containing directory rather than embedding absolute directory names.
24158         * scripts/check-local-headers.sh: Rewritten using awk.
24159         Match by word, not by line.  Print error messages for matches.
24160         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24162         * Makerules [shlib-lds-flags empty]:
24163         ($(common-objpfx)libc_pic.opts): New target.
24164         ($(common-objpfx)libc_pic.os.clean): New target.
24165         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24167         * config.make.in (OBJCOPY): New variable.
24168         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24169         * configure: Regenerated.
24171         * config.make.in (use-default-link): New variable.
24172         * configure.in (use_default_link): Grok --with-default-link to set it.
24173         * configure: Regenerated.
24174         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24175         (shlib-lds, shlib-lds-flags): Define to empty.
24177         * Makerules (shlib-lds): New variable.
24178         (shlib-lds-flags): New variable.
24179         (build-shlib, build-moduile, build-module-asneeded): Use it.
24180         ($(common-objpfx)libc.so): Use $(shlib-lds).
24181         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24182         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24184         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24185         DT_FLAGS/DT_FLAGS_1 with zero flags.
24187         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24188         linker script munging.
24190 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24192         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24193         as 128-bit value.
24194         * crypt/sha512.c (sha512_process_block): Perform total addition using
24195         128-bit if possible.
24196         (__sha512_finish_ctx): Likewise.
24197         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24198         as 64-bit value.
24199         * crypt/sha256.c (SWAP64): Define.
24200         (sha256_process_block): Perform total addition using 64-bit if
24201         possible.
24202         (__sha256_finish_ctx): Likewise.
24204 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24206         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24207         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24208         * nscd/hstcache.c (cache_addhst): Likewise.
24209         * nscd/grpcache.c (cache_addgr): Likewise.
24210         * nscd/aicache.c (addhstaiX): Likewise
24211         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24213 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24215         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24216         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24217         * nscd/hstcache.c (cache_addhst): Likewise.
24218         * nscd/grpcache.c (cache_addgr): Likewise.
24219         * nscd/aicache.c (addhstaiX): Likewise
24221 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24223         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24224         domain only when needed.
24226 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24229         is always restored.
24231 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24233         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24234         are re-adding the entry.
24235         * nscd/servicescache.c (cache_addserv): Likewise.
24237 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24239         * sysdeps/generic/dl-irel.h: fix protection against multiple
24240         inclusions.
24241         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24243 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24245         [BZ #12935]
24246         * malloc/memusage.sh: Fix quoting in message.
24247         * debug/xtrace.sh: Likewise.
24249         * configure.in: Remove support for --experimental-malloc option, make
24250         it the default.
24251         * config.make.in: Likewise.
24252         * malloc/Makefile: Likewise.
24254 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24256         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24257         two-byte characters.
24259 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24261         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24262         AC_CACHE_CHECK invocation.
24263         * configure: Regenerated.
24265         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24267 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24269         [BZ #12350]
24270         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24271         bit from old_res_options.
24273         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24275         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24276         value type for setfct.
24278 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24280         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24281         __gettimeofday instead of gettimeofday.
24283 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24285         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24287 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24289         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24291         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24292         info.
24294 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24297         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24298         strcpy-sse2-unaligned strncpy-sse2-unaligned
24299         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24300         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24301         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24302         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24303         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24304         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24305         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24306         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24307         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24308         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24309         (STRCPY): Support SSE2 and SSSE3 versions.
24311 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24313         [BZ #12874]
24314         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24315         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24316         kernels which artificially limit size of requests.
24318 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24320         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24321         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24322         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24323         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24324         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24325         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24326         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24327         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24328         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24329         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24330         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24331         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24332         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24333         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24334         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24336         Enable unaligned load optimization for Intel Core i3, i5 and i7
24337         processors.
24338         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24339         Define.
24340         (index_Fast_Unaligned_Load): Define.
24341         (HAS_FAST_UNALIGNED_LOAD): Define.
24343 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24345         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24347 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24349         [BZ #12907]
24350         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24351         until it is clear that the information is realy needed.
24352         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24354 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24358 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24361         /sys/devices/system/cpu/online if it is usable.
24363         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24364         reading the information from the /proc filesystem to once a second.
24366 2011-06-21  Andreas Jaeger  <aj@suse.de>
24368         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24369         NULL after inclusion of kernel headers.
24371 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24373         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24374         calls to internal_setent.
24376         [BZ #12885]
24377         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24378         addresses using gethostbyname4_r ignore IPv4 addresses.
24380         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24381         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24383         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24385 2011-06-20  David S. Miller  <davem@davemloft.net>
24387         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24388         inclusions.
24389         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24391         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24392         (elf_irel): Use it.
24393         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24394         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24395         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24396         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24397         * sysdeps/x86_64/dl-irel.h: Likewise.
24399         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24400         * elf/dl-sym.c: Likewise.
24402 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24404         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24405         need to dereference resplen2.
24407 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24409         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24411 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24413         * Makeconfig: Define vardbdir and inst_vardbdir.
24414         * nss/Makefile: Add rules to install db-Makefile.
24416         * nss/nss_db/db-XXX.c: Cleanup.
24418         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24419         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24420         GLIBC_PRIVATE.
24421         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24422         * nss/makedb.c: Implement -g option to specify that value strings
24423         are generated and should not be added to table iterated over for
24424         get*ent calls.
24425         * nss/nss_db/db-initgroups.c: New file.
24427         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24428         interface.
24430         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24431         (internal_getgrouplist): Adjust to name change.
24432         Update use_initgroups_entry if this is not the first call.
24433         * nss/databases.def: Add initgroups entry.
24435         * nss/makedb.c (compute_tables): Check result of multiple hash table
24436         sizes to minimize maximum chain length.
24438 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24440         * Versions.def: Add entry for libnss_db.
24441         * shlib-versions: Likewise.
24442         * nss/Makefile: Add rules to build libnss_db.
24443         * nss/Versions: Add libnss_db information.  Organize libnss_files
24444         entries better.
24445         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24446         makedb progra.  Some minor improvements to generate smaller files.
24447         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24448         here from...
24449         * nss/makedb.c: ...here.
24450         Improve database format to be smaller and require less memory at
24451         runtime.
24452         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24453         db anymore.
24454         * nss/nss_db/db-netgrp.c: Likewise.
24455         * nss/nss_db/db-open.c: Likewise.
24456         * nss/nss_files/flies-XXX.x: Adjust comments.
24457         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24458         * nss/nss_files/files-grp.c: Likewise.
24459         * nss/nss_files/files-hosts.c: Likewise.
24460         * nss/nss_files/files-network.c: Likewise.
24461         * nss/nss_files/files-proto.c: Likewise.
24462         * nss/nss_files/files-pwd.c: Likewise.
24463         * nss/nss_files/files-rpc.c: Likewise.
24464         * nss/nss_files/files-service.c: Likewise.
24465         * nss/nss_files/files-sgrp.c: Likewise.
24466         * nss/nss_files/files-spwd.c: Likewise.
24467         * nss/nss_db/db-alias.c: Removed.
24468         * nss/nss_db/dummy-db.h: Removed.
24470 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24472         * nss/makedb.c: Rewritten to not use database library.
24473         * nss/Makefile: Update to build new makedb program.
24475 2011-06-14  Andreas Jaeger  <aj@suse.de>
24477         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24478         memset declaration.
24480 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24483         tmpbuf.
24485 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24487         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24488         * elf/Makefile ($(objpfx)ld.so): Likewise.
24490         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24491         Don't list ld.so twice in dependencies.
24493         * posix/bug-regex31.c: Include <stdlib.h>.
24495         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24497         * nis/nss_compat/compat-spwd.c
24498         (getspent_next_nss_netgr): Remove unused variable.
24499         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24501         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24502         nonmembers" output to use the right array.
24504         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24506         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24508         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24509         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24510         * catgets/gencat.c (read_input_file): Likewise.
24511         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24513         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24514         variable definition inside #if's controlling its use.
24516         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24518         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24520         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24522         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24523         unreachable code.
24525         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24527         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24528         * configure: Regenerated.
24530         * Makerules: Revert last change.
24531         * elf/Makefile: Likewise.
24533 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24535         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24536         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24537         (reloc-link): Likewise.
24539 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24541         * elf/Makefile: Add rules to build pldd.
24542         * elf/pldd.c: New file.
24543         * elf/pldd-xx.c: New file.
24545 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24547         * version.h: Update for 2.15 development version.
24549 2011-06-07  David S. Miller  <davem@davemloft.net>
24551         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24552         ifuncs.
24553         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24554         elf_machine_lazy_rel): Likewise.
24555         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24556         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24557         elf_machine_lazy_rel): Likewise.
24558         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24559         dl_hwcap via passed in argument.
24560         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24561         Likewise.
24563 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24565         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24567 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24569         [BZ #12849]
24570         * manual/fdl-1.1.texi: New file, verbatim from:
24571         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24572         * manual/lgpl-2.1.texi: New file, verbatim from:
24573         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24574         * manual/Makefile (licenses): New variable, list those new file names.
24575         (texis): Use it.
24576         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24578         * manual/fdl.texi: File removed.
24579         * manual/lesser.texi: File removed.
24580         * manual/libc.texinfo (Copying, Documentation License):
24581         Use new @include file names, put @appendix directive before @include.
24583 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24585         [BZ #12841]
24586         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24587         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24588         (mq_open): Add __NTH.
24590 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24593         Assume Intel Core i3/i5/i7 processor if AVX is available.
24595 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24598         typo.
24600 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24602         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24603         memory.  Use alloca_account.  Fix memory leak when retrying.
24605 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24607         * version.h (RELEASE): Bump for 2.14 release.
24608         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24610         * config.make.in (RANLIB): Remove entry.
24612 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24614         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24615         (libc.pot): Work around missing support for .ksh extension in xgettext.
24617         [BZ #12684]
24618         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24619         if both request failed.
24620         (send_dg): In case of server errors clear resplen or *resplen2.
24622         [BZ #12454]
24623         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24624         when there are multiple maps.
24625         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24626         (_dl_fini): Remove test here.
24628         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24630 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24632         [BZ #12350]
24633         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24634         bit from old_res_options.
24635         (gaih_inet): Likewise.
24637         [BZ #11099]
24638         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24639         as signed.
24641         * resolv/res_init.c (res_setoptions): Make the code more compact.
24643         [BZ #11558]
24644         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24645         set RES_USEVC.
24647         [BZ #11634]
24648         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24650         * malloc/malloc.h: Mark malloc hook variables as deprecated.
24652         [BZ #11781]
24653         * malloc/malloc.h: Declare malloc hook variables as volatile.
24655         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24656         in last patch.
24658         [BZ #11799]
24659         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24660         raise in the comment.
24661         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24662         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24663         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24665 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
24667         [BZ #12811]
24668         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24669         grow the buffers more if it already has to be sufficient.
24670         (build_wcs_upper_buffer): Likewise.
24671         * posix/regexec.c (check_matching): Likewise.
24672         (clean_state_log_if_needed): Likewise.
24673         (extend_buffers): Don't enlarge buffers beyond size of the input
24674         buffer.
24675         Patches mostly by Emil Wojak <emil@wojak.eu>.
24676         * posix/bug-regex32.c: New file.
24677         * posix/Makefile (tests): Add bug-regex32.
24679         * locale/findlocale.c (_nl_find_locale): Return right away if
24680         _nl_explode_name failed.
24681         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24683         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24685         * debug/xtrace.sh: Unify messages.
24686         * malloc/memusage.sh: Likewise.
24688         [BZ #12813]
24689         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24690         time symbol from vDSO.  Substitute with vsyscall if not available.
24691         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24692         __vdso_time.
24694         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24695         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24696         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24697         Add sendmmsg and internal_sendmmsg.
24698         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24699         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24700         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24702         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24703         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24704         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24706 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
24708         [BZ #12813]
24709         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24710         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
24711         available.
24712         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24713         __vdso_getcpu.
24715         [BZ #12814]
24716         * iconvdata/Makefile (tests): Add bug-iconv9.
24717         * iconvdata/bug-iconv9.c: New file.
24719 2011-05-27  Andreas Schwab  <schwab@redhat.com>
24721         [BZ #12814]
24722         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24724 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
24726         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24727         (struct user_regs_struct): Change intcs field back to cs.
24729 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
24731         * po/ja.po: Update from translation team.
24733 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
24735         [BZ #12795]
24736         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24737         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24739 2011-05-20  Andreas Schwab  <schwab@redhat.com>
24741         * stdlib/longlong.h: Update from GCC.
24743 2011-05-23  Andreas Schwab  <schwab@redhat.com>
24745         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24746         parameter name.
24747         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24748         Add parameter name.
24749         (__sysconf): Pass it down.
24751 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
24753         [BZ #12671]
24754         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24755         some situations.
24756         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24757         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24758         add in in __libc_use_alloca calls.  Adjust callers.
24759         (glob): Use malloc in some situations.
24761         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24762         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24763         pltexit.
24765 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
24767         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24768         and CLOCK_BOOTTIME_ALARM.
24770         [BZ #12782]
24771         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24772         is returned.
24774         * string/_strerror.c (__strerror_r): Print negative errors as signed
24775         numbers.
24777         [BZ #12777]
24778         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24779         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24780         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24782         * configure.in: Fix typo in redirection and correct removal of test
24783         files in two cases.
24785         [BZ #12788]
24786         * locale/setlocale.c (new_composite_name): Fix test to check for
24787         identical name of all categories.
24789         [BZ #12792]
24790         * libio/filedoalloc.c (local_isatty): New function.
24791         (_IO_file_doallocate): Use local_isatty.
24792         * stdio-common/perror.c (perror): In case a new stream is used
24793         forward the stream error.
24794         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24795         error flag.
24797 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
24799         [BZ #11869]
24800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24801         alloca.
24802         * include/alloca.h (extend_alloca_account): Define.
24804         [BZ #11857]
24805         * posix/regex.h: Fix comments with documentation of user-accessible
24806         fields after compilation and describe correct free'ing of pattern
24807         after re_compile_pattern.
24808         Patch by Reuben Thomas <rrt@sc3d.org>.
24810 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
24812         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24813         and -mno-altivec to prevent the compiler from using Altivec and/or
24814         VSX instructions when the corresponding registers are not available.
24816 2011-05-19  Andreas Schwab  <schwab@redhat.com>
24818         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24820 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
24822         * libio/freopen.c (freopen): Use __dup2, not dup2.
24823         * libio/freopen64.c (freopen64): Likewise.
24825 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24827         [BZ #12775]
24828         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24829         * math/Makefile (tests): Add test-powl.
24830         (CFLAGS-test-powl.c): Define.
24831         * math/test-powl.c: New file.
24833 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24835         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24837 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
24839         [BZ #11837]
24840         * iconvdata/gb18030.c: Update to GB18020-2005.
24842 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
24844         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24845         RE_SYNTAX_POSIX_AWK): Update to match recent development.
24846         Patch by Aharon Robbins <arnold@skeeve.com>.
24848         [BZ #11892]
24849         * stdlib/putenv.c (putenv): Don't always create copy of the variable
24850         on the stack.
24852         [BZ #11895]
24853         * misc/pselect.c (__pselect): Handle timeout value errors hidden
24854         through underflows.
24856         [BZ #12766]
24857         * misc/error.c (error_at_line): Ensure file_name and old_file_name
24858         point to strings before performing equality test for error_one_per_line
24859         mode.
24861         [BZ #11697]
24862         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24864         [BZ #11820]
24865         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24866         (struct user_fpregs_struct): Avoid __uint*_t types.
24868         [BZ #6420]
24869         * malloc/mtrace.c (tr_where): Add additional parameter to point to
24870         symbol info.  Use it instead of calling _dl_addr locally.
24871         (lock_and_info): New function.
24872         (tr_freehook): Call lock_and_info and pass symbol info as additional
24873         parameter to tr_where.
24874         (tr_mallochook): Likewise.
24875         (tr_reallochook): Likewise.
24876         (tr_memalignhook): Likewise.
24878         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
24879         used and couldn't be at all thread-safe.
24881 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
24883         * libio/freopen.c (freopen): Don't close old file descriptor
24884         before the new one is opened.  Instead dup the new file descriptor
24885         to the old one after the new stream is created.
24886         * libio/freopen64.c (freopen64): Likewise.
24887         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24888         * libio/fileops.c (_IO_new_file_close_it): Handle new
24889         _IO_FLAGS2_NOCLOSE flag.
24890         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24891         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24892         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24893         _IO_FLAGS2_NOCLOSE flag.
24894         * include/unistd.h: Add hidden_proto for dup3.
24895         Define __have_dup3.
24896         * io/dup3.c: Define hidden symbol.
24897         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24899         [BZ #7101]
24900         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24901         when an incomplete long option is used.
24902         * posix/tst-getopt_long1.c: New file.
24903         * posix/Makefile (tests): Add tst-getopt_long1.
24905         [BZ #10138]
24906         * scripts/config.guess: Update from autoconf-2.68.
24907         * scripts/config.sub: Likewise.
24909         [BZ #10157]
24910         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24911         tests into ...
24912         (has_cpuclock): ...this.  New function.
24913         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24914         macro here based on has_cpuclock code.
24916         [BZ #10149]
24917         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24918         First byte (not low byte) is now always NUL.
24919         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24921         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24922         Use non-cancelable interfaces.
24924         [BZ #9809]
24925         * locale/iso-639.def: Add entry for Sorani.
24927         [BZ #11901]
24928         * include/stdlib.h: Move include protection to the right place.
24929         Define abort_msg_s.  Declare __abort_msg with it.
24930         * stdlib/abort.c (__abort_msg): Adjust type.
24931         * assert/assert.c (__assert_fail_base): New function.  Majority
24932         of code from __assert_fail.  Allocate memory for __abort_msg with
24933         mmap.
24934         (__assert_fail): Now call __assert_fail_base.
24935         * assert/assert-perr.c: Remove bulk of implementation.  Use
24936         __assert_fail_base.
24937         * include/assert.hL Declare __assert_fail_base.
24938         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24939         mmap.
24940         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24942 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
24944         [BZ #11952]
24945         [BZ #12453]
24946         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24947         until all modules are registered in the DTV.
24948         * elf/Makefile: Add rules to build and run tst-tls19.
24949         * elf/tst-tls19.c: New file.
24950         * elf/tst-tls19mod1.c: New file.
24951         * elf/tst-tls19mod2.c: New file.
24952         * elf/tst-tls19mod3.c: New file.
24953         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24955         [BZ #12083]
24956         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24957         correctly.
24959         [BZ #12601]
24960         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24961         two-byte sequence errors.
24962         * iconvdata/Makefile (tests): Add bug-iconv8.
24963         * iconvdata/bug-iconv8.c: New file.
24965         [BZ #12626]
24966         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24967         buf2 definition.
24969         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24971         [BZ #12432]
24972         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24973         (dummy_getcfa): New function.
24974         (init): Get _Unwind_GetCFA address, use dummy if not found.
24975         (backtrace_helper): In recursion check, also check whether CFA changes.
24976         (__backtrace): Completely initialize arg.
24978         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24979         storing incomplete byte sequence in state object.  Avoid testing for
24980         guaranteed too small input if we know there is enough data available.
24982 2011-05-11  Andreas Schwab  <schwab@redhat.com>
24984         * Makeconfig (+link-pie): Indent.
24985         * Rules (binaries-pie): Define if $(have-fpie) and
24986         $(build-shared).
24987         (binaries-shared): Also filter out $(binaries-pie).
24988         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24989         * nscd/Makefile (others-pie): Add nscd.
24990         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24991         ($(objpfx)nscd): Remove command override.
24992         * login/Makefile (others-pie): Add pt_chown.
24993         ($(objpfx)pt_chown): Remove command override.
24994         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24995         remove command overrides.
24997 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
24999         * libio/tst_putwc.c: Fix error messages.
25001         [BZ #12724]
25002         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25003         currently writing and seek to current position when not.
25004         * libio/Makefile (tests): Add bug-fclose1.
25005         * libio/bug-fclose1.c: New file.
25007 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25009         [BZ #12511]
25010         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25011         don't set DF_1_NODELETE here.
25012         (do_lookup_x): When entering new entry test for copy relocation
25013         and if necessary set DF_1_NODELETE flag.
25014         * elf/tst-unique4.cc: New file.
25015         * elf/tst-unique4.h: New file.
25016         * elf/tst-unique4lib.cc: New file.
25017         * elf/Makefile: Add rules to build and run tst-unique4.
25018         Patch by Piotr Bury <pbury@goahead.com>.
25020 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25022         [BZ #12052]
25023         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25025         [BZ #12625]
25026         * misc/mntent_r.c (addmntent): Flush the stream after the output
25028         [BZ #12393]
25029         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25030         (is_trusted_path_normalize): Skip initial colon.  Append slash
25031         to empty buffer.  Duplicate is_trusted_path code but allow
25032         constructed patch to be prefix.
25033         (is_dst): Allow $ORIGIN followed by /.
25034         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25035         Correct testing of result of is_trusted_path_normalize
25036         (decompose_rpath): Fix warning.
25038 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25040         [BZ #11257]
25041         * grp/initgroups.c (internal_getgrouplist): When we found the service
25042         list through the initgroups entry in nsswitch.conf do not always
25043         continue on a successful lookup.  Don't always use the
25044         __nss_group_database value if it is set.
25045         * nss/nsswitch.conf (initgroups): Change action for successful db
25046         lookup to continue for compatibility.
25048 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25050         [BZ #11532]
25051         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25052         and CP774 modules.
25053         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25054         and CP774 modules.
25055         * iconvdata/tst-tables.sh: Likewise.
25056         * iconvdata/cp770.c: New file.
25057         * iconvdata/cp771.c: New file.
25058         * iconvdata/cp772.c: New file.
25059         * iconvdata/cp773.c: New file.
25060         * iconvdata/cp774.c: New file.
25061         * iconvdata/testdata/CP770: New file.
25062         * iconvdata/testdata/CP770..UTF8: New file.
25063         * iconvdata/testdata/CP771: New file.
25064         * iconvdata/testdata/CP771..UTF8: New file.
25065         * iconvdata/testdata/CP772: New file.
25066         * iconvdata/testdata/CP772..UTF8: New file.
25067         * iconvdata/testdata/CP773: New file.
25068         * iconvdata/testdata/CP773..UTF8: New file.
25069         * iconvdata/testdata/CP774: New file.
25070         * iconvdata/testdata/CP774..UTF8: New file.
25072         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25073         END CHARMAP line.
25074         * iconvdata/gen-8bit-gap.sh: Likewise.
25075         * iconvdata/gen-8bit.sh: Likewise.
25077         * locale/iso-639.def: Add ary entry.
25079         [BZ #11258]
25080         * locale/C-translit.h.in: Add U20A1 transliteration.
25082         [BZ #12178]
25083         * locale/iso-639.def: Add wae entry.
25084         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25086         [BZ #12545]
25087         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25088         for n.
25090         [BZ #12711]
25091         * locale/C-translit.h.in: Add entry for U20B9.
25092         Patch by pravin.d.s@gmail.com.
25094 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25096         [BZ #12713]
25097         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25098         ENAMETOOLONG use generic getcwd.
25099         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25100         in rtld.  Use *stat64.
25101         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25102         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25103         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25104         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25105         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25106         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25107         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25108         __fstatat64 macros.
25109         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25110         * dirent/rewinddir.c: Add libc_hidden_def.
25111         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25112         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25114         * include/dirent.h (__alloc_dir): Add flags parameter.
25115         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25116         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25117         __alloc_dir.
25118         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25119         from fdopendir if O_CLOEXEC is already set.
25121 2011-03-15  Alan Modra  <amodra@gmail.com>
25123         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25124         l_tls_firstbyte_offset non-zero.  Save padding offset in
25125         l_tls_firstbyte_offset for later use.
25126         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25127         freeing static tls block.
25129 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25131         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25132         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25133         being defined by the kernel headers.
25135 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25137         [BZ #12734]
25138         * resolv/resolv.h: Define RES_NOTLDQUERY.
25139         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25140         no-tld-query and set RES_NOTLDQUERY.
25141         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25142         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25143         modern BIND to search name as TLD unless forbidden.
25145 2011-05-07  Petr Baudis  <pasky@suse.cz>
25146             Ulrich Drepper  <drepper@gmail.com>
25148         [BZ #12393]
25149         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25150         (is_trusted_path): ...to here.
25151         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25152         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25153         using is_trusted_path_normalize() in setuid scripts.
25155 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25157         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25158         __BEGIN/__END_DECLS.
25160 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25162         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25163         NSS_STATUS_NOTFOUND if no record was found.
25165 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25167         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25168         (headers-not-in-tirpc): Remove rpc/netdb.h
25169         * resolv/netdb.h: Revert last change.
25171 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25173         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25174         circular dependency between libgcc.a and libc.a.
25176 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25178         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25179         * nis/Makefile: Don't install rpcsvc/*.
25180         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25181         instead of <rpc/types.h>.
25182         (MAXHOSTNAMELEN): Define.
25184 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25186         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25188 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25190         [BZ #12714]
25191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25192         gethostbyname4_r when IPv6 results are possible.
25194 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25196         [BZ #12723]
25197         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25198         _PC_PIPE_BUF handling.
25200 2011-04-30  Bruno Haible  <bruno@clisp.org>
25202         [BZ #12717]
25203         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25204         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25205         to 'int'.
25206         * inet/getnameinfo.c (getnameinfo): Likewise.
25208 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25210         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25211         to groups setting in database lookup.
25212         * nss/nsswitch.conf: Add initgroups entry.
25214 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25216         [BZ #12685]
25217         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25218         mode string.
25219         Patch by Eric Blake <eblake@redhat.com>.
25221 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25223         * sunrpc/Makefile (need-export-routines): Add svc_run.
25224         (routines): Remove svc_run.
25225         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25226         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25227         * sunrpc/svc_run.c (svc_run): Likewise.
25228         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25230 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25232         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25233         problem in reallocation in last patch.
25235 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25237         * sunrpc/Makefile: Move inclusion of Rules.
25239 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25241         * nss/nss_files/files-initgroups.c: New file.
25242         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25243         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25244         _nss_files_initgroups_dyn.
25246 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25248         * elf/elf.h (R_ARM_IRELATIVE): Define.
25250 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25252         * po/ru.po: Update from translation team.
25254 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25256         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25257         dependencies.
25259 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25261         [BZ #12653]
25262         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25263         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25264         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25265         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25266         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25268 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25270         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25271         differing bytes.
25272         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25273         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25274         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25276 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25278         [BZ #12420]
25279         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25280         storing it.
25281         * stdlib/bug-getcontext.c: New file.
25282         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25284 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25286         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25287         instructions into .machine "z9-109".
25288         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25289         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25291 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25293         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25294         between environment variables and auxiliary vector.
25296 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25298         * Makefile: Add rules to build linkobj/libc.so.
25299         * include/libc-symbols.h: Define libc_hidden_nolink.
25300         * include/rpc/auth.h: Mark functions which are to be hidden.
25301         * include/rpc/auth_des.h: Likewise.
25302         * include/rpc/auth_unix.h: Likewise.
25303         * include/rpc/clnt.h: Likewise.
25304         * include/rpc/des_crypt.h: Likewise.
25305         * include/rpc/key_prot.h: Likewise.
25306         * include/rpc/pmap_clnt.h: Likewise.
25307         * include/rpc/pmap_prot.h: Likewise.
25308         * include/rpc/pmap_rmt.h: Likewise.
25309         * include/rpc/rpc_msg.h: Likewise.
25310         * include/rpc/svc.h: Likewise.
25311         * include/rpc/svc_auth.h: Likewise.
25312         * include/rpc/xdr.h: Likewise.
25313         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25314         * nss/Makefile: Likewise.
25315         * sunrpc/Makefile: Don't install headers.  Build library with normal
25316         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25317         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25318         for the compat linking library.  Remove use of INTDEF/INTUSE.
25319         * sunrpc/auth_none.c: Likewise.
25320         * sunrpc/auth_unix.c: Likewise.
25321         * sunrpc/authdes_prot.c: Likewise.
25322         * sunrpc/authuxprot.c: Likewise.
25323         * sunrpc/clnt_gen.c: Likewise.
25324         * sunrpc/clnt_perr.c: Likewise.
25325         * sunrpc/clnt_raw.c: Likewise.
25326         * sunrpc/clnt_simp.c: Likewise.
25327         * sunrpc/clnt_tcp.c: Likewise.
25328         * sunrpc/clnt_udp.c: Likewise.
25329         * sunrpc/clnt_unix.c: Likewise.
25330         * sunrpc/des_crypt.c: Likewise.
25331         * sunrpc/des_soft.c: Likewise.
25332         * sunrpc/get_myaddr.c: Likewise.
25333         * sunrpc/key_call.c: Likewise.
25334         * sunrpc/key_prot.c: Likewise.
25335         * sunrpc/netname.c: Likewise.
25336         * sunrpc/pm_getmaps.c: Likewise.
25337         * sunrpc/pm_getport.c: Likewise.
25338         * sunrpc/pmap_clnt.c: Likewise.
25339         * sunrpc/pmap_prot.c: Likewise.
25340         * sunrpc/pmap_prot2.c: Likewise.
25341         * sunrpc/pmap_rmt.c: Likewise.
25342         * sunrpc/publickey.c: Likewise.
25343         * sunrpc/rpc_cmsg.c: Likewise.
25344         * sunrpc/rpc_common.c: Likewise.
25345         * sunrpc/rpc_dtable.c: Likewise.
25346         * sunrpc/rpc_prot.c: Likewise.
25347         * sunrpc/rpc_thread.c: Likewise.
25348         * sunrpc/rtime.c: Likewise.
25349         * sunrpc/svc.c: Likewise.
25350         * sunrpc/svc_auth.c: Likewise.
25351         * sunrpc/svc_authux.c: Likewise.
25352         * sunrpc/svc_raw.c: Likewise.
25353         * sunrpc/svc_run.c: Likewise.
25354         * sunrpc/svc_simple.c: Likewise.
25355         * sunrpc/svc_tcp.c: Likewise.
25356         * sunrpc/svc_udp.c: Likewise.
25357         * sunrpc/svc_unix.c: Likewise.
25358         * sunrpc/svcauth_des.c: Likewise.
25359         * sunrpc/xcrypt.c: Likewise.
25360         * sunrpc/xdr.c: Likewise.
25361         * sunrpc/xdr_array.c: Likewise.
25362         * sunrpc/xdr_float.c: Likewise.
25363         * sunrpc/xdr_intXX_t.c: Likewise.
25364         * sunrpc/xdr_mem.c: Likewise.
25365         * sunrpc/xdr_rec.c: Likewise.
25366         * sunrpc/xdr_ref.c: Likewise.
25367         * sunrpc/xdr_sizeof.c: Likewise.
25368         * sunrpc/xdr_stdio.c: Likewise.
25370 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25372         [BZ #12650]
25373         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25374         * sysdeps/ia64/dl-tls.h: Likewise.
25375         * sysdeps/powerpc/dl-tls.h: Likewise.
25376         * sysdeps/s390/dl-tls.h: Likewise.
25377         * sysdeps/sh/dl-tls.h: Likewise.
25378         * sysdeps/sparc/dl-tls.h: Likewise.
25379         * sysdeps/x86_64/dl-tls.h: Likewise.
25380         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25382 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25384         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25385         rpath element also skip the following colon.
25386         (expand_dynamic_string_token): Add is_path parameter and pass
25387         down to DL_DST_REQUIRED and _dl_dst_substitute.
25388         (decompose_rpath): Call expand_dynamic_string_token with
25389         non-zero is_path.  Ignore empty rpaths.
25390         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25391         with zero is_path.
25393 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25396         Make cancelable.
25398 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25400         [BZ #12655]
25401         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25402         Patch by Filipe David Manana <fdmanana@apache.org>.
25404 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25406         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25407         Maintain aligned stack.
25408         (CHECK_RSP): Remove unused macro.
25410 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25412         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25413         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25415 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25417         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25419         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25421 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25423         [BZ #12518]
25424         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25425         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25426         * sysdeps/x86_64/memmove.c: New file.
25427         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25428         (memcpy): Renamed to ...
25429         (__new_memcpy): This.
25430         (memcpy): Provide GLIBC_2_14 memcpy.
25431         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25432         (memcpy): Provide GLIBC_2_2_5 memcpy.
25434 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25436         [BZ #12631]
25437         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25439 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25441         * misc/syncfs.c: New file.
25442         * misc/Makefile (routines): Add syncfs.
25443         * posix/unistd.h: Declare syncfs.
25444         * sysdeps/unix/syscalls.list: Add syncfs.
25446 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25448         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25449         open_by_handle_at.
25450         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25451         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25453         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25454         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25455         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25456         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25458 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25460         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25461         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25462         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25464         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25466         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25468         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25469         sync_file_range.c with -fexceptions.
25470         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25471         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25472         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25473         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25474         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25475         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25476         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25477         sync_file_range as cancellation point
25478         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25479         now a wrapper around __call_sync_file_range with cancellation handling.
25480         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25481         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25482         function name to __call_sync_file_range.
25483         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25484         Add call_sync_file_range.
25486 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25488         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25489         bits/timex.h.
25491 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25493         * iconv/iconv.h: Fix typo in comment.
25494         * io/fcntl.h: Likewise.
25495         * libio/stdio.h: Likewise.
25496         * posix/spawn.h: Likewise.
25497         * posix/unistd.h: Likewise.
25498         * stdlib/stdlib.h: Likewise.
25499         * time/time.h: Likewise.
25500         * wcsmbs/wchar.h: Likewise.
25502         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25503         open_by_handle): Add.
25504         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25505         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25506         Augment a few comments.
25507         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25508         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25509         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25510         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25511         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25512         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25513         open_by_handle.
25515         * io/fcntl.h (AT_EMPTY_PATH): Define.
25517 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25519         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25520         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25521         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25522         to...
25523         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25524         * Versions.def: Add GLIBC_2.14.
25525         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25526         Export.
25528 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25530         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25531         round counter.
25532         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25534 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25536         [BZ #12597]
25537         * string/test-strncmp.c (do_page_test): New function.
25538         (check2): Likewise.
25539         (test_main): Call check2.
25540         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25542 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25544         [BZ #12587]
25545         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25546         Handle cache information in CPU leaf 4.
25547         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25549 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25551         [BZ #12583]
25552         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25553         character representation.
25554         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25556 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25558         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25559         END(__isnan) to END(__isnanf) to match function entry point/label
25560         EALIGN(__isnanf,...).
25562 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25564         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25566 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25568         [BZ #12510]
25569         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25570         copy from the symbol referenced in the relocation to initialize the
25571         used variable.
25572         Patch by Piotr Bury <pbury@goahead.com>.
25573         * elf/Makefile: Add rules to build and tst-unique3.
25574         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25575         * elf/tst-unique3.cc: New file.
25576         * elf/tst-unique3.h: New file.
25577         * elf/tst-unique3lib.cc: New file.
25578         * elf/tst-unique3lib2.cc: New file.
25580         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25582 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25584         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25585         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25586         to _start.
25588 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25590         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25591         to-be-loaded object along a path to loader is ld.so.
25593 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25594             Ulrich Drepper  <drepper@gmail.com>
25596         * sysdeps/x86_64/memset.S: After aligning destination, code
25597         branches to different locations depending on the value of
25598         misalignment, when multiarch is enabled. Fix this.
25600 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25602         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25603         Set _x86_64_preferred_memory_instruction for AMD processsors.
25604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25605         Set bit_Prefer_SSE_for_memop for AMD processors.
25607 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25609         * libio/fmemopen.c (fmemopen): Optimize a bit.
25611 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25613         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25615 2011-03-03  Roland McGrath  <roland@redhat.com>
25617         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25619 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25621         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25622         __bzero_ultra1 instead of __memset_ultra1.
25624 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25625             Ulrich Drepper  <drepper@gmail.com>
25627         [BZ #12509]
25628         * include/link.h (struct link_map): Add l_orig_initfini.
25629         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25630         returning unsuccessfully.
25631         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25632         close of a file loaded at startup, restore the original l_initfini
25633         list.
25634         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25635         list, store the pointer.
25636         * elf/Makefile ($(objpfx)noload-mem): New rule.
25637         (noload-ENV): Define.
25638         (tests): Add $(objpfx)noload-mem.
25639         * elf/noload.c: Include <memcheck.h>.
25640         (main): Call mtrace.  Close all opened handles.
25642 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25644         [BZ #12454]
25645         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25646         dependencies are missing.
25648 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25650         Fix __if_freereq crash: Unlike the generic version which uses free,
25651         Hurd needs munmap.
25652         * sysdeps/mach/hurd/ifreq.h: New file.
25654 2011-01-27  Petr Baudis  <pasky@suse.cz>
25655             Ulrich Drepper  <drepper@gmail.com>
25657         [BZ 12445]#
25658         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25659         to extend_alloca().
25660         * stdio-common/bug23.c: New file.
25661         * stdio-common/Makefile (tests): Add bug23.
25663 2010-09-28  Andreas Schwab  <schwab@redhat.com>
25664             Ulrich Drepper  <drepper@gmail.com>
25666         [BZ #12489]
25667         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25668         before performing relro protection.  At old place add assertion
25669         to make sure nothing changed.
25671 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
25672             Glauber de Oliveira Costa  <glommer@gmail.com>
25674         * elf/elf.h: Add new ARM TLS relocs.
25676 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
25678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25679         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25680         cast from r3.
25681         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
25682         'tests' variable.
25683         * sysdeps/wordsize-64/tst-writev.c: New file.
25685 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
25687         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25688         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25689         insns in _dl_start to prevent a TOC reference before relocs are
25690         resolved.
25692 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
25694         [BZ #12469]
25695         * Makeconfig: Remove RANLIB definition.
25696         * Makerules: Don't use RANLIB.
25697         * aclocal.m4: Remove ranlib test.
25698         * configure.in: No need to check for ranlib.
25699         * elf/rtld-Rules: Don't use RANLIB.
25701 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25703         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25704         protection macro.
25705         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25706         inclusion protection macro.
25708         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25709         SIGRTMIN and SIGRTMAX and print information in that case only when
25710         SIGRTMIN is defined.
25712 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
25714         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25715         arginfo fn returning -1.
25717         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25718         and thousands string is zero terminated.
25720 2011-02-03  Andreas Schwab  <schwab@redhat.com>
25722         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25723         sysdeps/unix/sysv/linux/bits/socket.h.
25725 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25727         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25728         (__CPU_COUNT): Remove old macros.
25729         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25730         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25731         (__CPU_ALLOC, __CPU_FREE): Add macros.
25732         (__sched_cpualloc, __sched_cpufree): Add declarations.
25734 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
25736         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25737         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25738         * nscd/aicache.c (addhstaiX): Return timeout of added value.
25739         (readdhstai): Return value of addhstaiX call.
25740         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25741         (addgrbyX): Return value returned by cache_addgr.
25742         (readdgrbyname): Return value returned by addgrbyX.
25743         (readdgrbygid): Likewise.
25744         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25745         (addpwbyX): Return value returned by cache_addpw.
25746         (readdpwbyname): Return value returned by addhstbyX.
25747         (readdpwbyuid): Likewise.
25748         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25749         (addservbyX): Return value returned by cache_addserv.
25750         (readdservbyname): Return value returned by addservbyX:
25751         (readdservbyport): Likewise.
25752         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25753         (addhstbyX): Return value returned by cache_addhst.
25754         (readdhstbyname): Return value returned by addhstbyX.
25755         (readdhstbyaddr): Likewise.
25756         (readdhstbynamev6): Likewise.
25757         (readdhstbyaddrv6): Likewise.
25758         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25759         (readdinitgroups): Return value returned by addinitgroupsX.
25760         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25761         (prune_cache): Keep track of timeout value of re-added entries.
25762         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25763         * nscd/nscd.h: Adjust prototypes of readd* functions.
25765 2011-02-04  Roland McGrath  <roland@redhat.com>
25767         * nis/nis_server.c (nis_servstate): Use the right name for 0.
25768         (nis_stats): Likewise.
25769         * nis/nis_modify.c (nis_modify): Likewise.
25770         * nis/nis_remove.c (nis_remove): Likewise.
25771         * nis/nis_add.c (nis_add): Likewise.
25773         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25775         * posix/fnmatch_loop.c: Add some consts.
25777         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25779 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
25781         [BZ #12460]
25782         * config.make.in (config-cflags-novzeroupper): Define.
25783         * configure.in: Substitute libc_cv_cc_novzeroupper.
25784         * elf/Makefile (AVX-CFLAGS): Define.
25785         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25786         (CFLAGS-tst-auditmod4a.c): Likewise.
25787         (CFLAGS-tst-auditmod4b.c): Likewise.
25788         (CFLAGS-tst-auditmod6b.c): Likewise.
25789         (CFLAGS-tst-auditmod6c.c): Likewise.
25790         (CFLAGS-tst-auditmod7b.c): Likewise.
25791         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25793 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
25795         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25796         function to the callback.
25797         Patch partly by Jiri Olsa <jolsa@redhat.com>.
25799 2011-02-02  Andreas Schwab  <schwab@redhat.com>
25801         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25802         of errno.
25804 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
25806         [BZ #11724]
25807         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25808         of constructors.
25809         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25810         of destructors.
25811         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25813         [BZ #11724]
25814         * elf/Makefile: Add rules to build and run new test.
25815         * elf/tst-initorder.c: New file.
25816         * elf/tst-initorder.exp: New file.
25817         * elf/tst-initordera1.c: New file.
25818         * elf/tst-initordera2.c: New file.
25819         * elf/tst-initordera3.c: New file.
25820         * elf/tst-initordera4.c: New file.
25821         * elf/tst-initorderb1.c: New file.
25822         * elf/tst-initorderb2.c: New file.
25823         * elf/tst-order-a1.c: New file.
25824         * elf/tst-order-a2.c: New file.
25825         * elf/tst-order-a3.c: New file.
25826         * elf/tst-order-a4.c: New file.
25827         * elf/tst-order-b1.c: New file.
25828         * elf/tst-order-b2.c: New file.
25829         * elf/tst-order-main.c: New file.
25830         New test case by George Gensure <werkt0@gmail.com>.
25832 2010-10-01  Andreas Schwab  <schwab@redhat.com>
25834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25835         decoding ACE if AI_CANONIDN.
25837 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
25839         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25841 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
25843         * version.h (RELEASE): Bump for 2.13 release.
25844         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25846         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25848         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25849         MADV_NOHUGEPAGE.
25850         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25851         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25852         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25853         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25854         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25855         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25857         * posix/getconf.c: Update copyright year.
25858         * catgets/gencat.c: Likewise.
25859         * csu/version.c: Likewise.
25860         * debug/catchsegv.sh: Likewise.
25861         * debug/xtrace.sh: Likewise.
25862         * elf/ldconfig.c: Likewise.
25863         * elf/ldd.bash.in: Likewise.
25864         * elf/sprof.c (print_version): Likewise.
25865         * iconv/iconv_prog.c: Likewise.
25866         * iconv/iconvconfig.c: Likewise.
25867         * locale/programs/locale.c: Likewise.
25868         * locale/programs/localedef.c: Likewise.
25869         * malloc/memusage.sh: Likewise.
25870         * malloc/mtrace.pl: Likewise.
25871         * nscd/nscd.c (print_version): Likewise.
25872         * nss/getent.c: Likewise.
25874         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25875         PF_CAIF, and PF_ALG.
25876         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25878 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
25880         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25881         (modules-names): Use them.
25882         (ifunc-test-modules, ifunc-pie-tests): Define.
25883         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25884         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25885         (test-extras): Likewise.
25886         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25887         $(compile-command.c).
25888         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25889         (all-built-dso): Define.
25890         (check-textrel.out, check-execstack.out): Depend on it.
25892         * configure.in: Don't override --enable-multi-arch.
25894 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
25896         [BZ #6812]
25897         * nscd/hstcache.c (tryagain): Define.
25898         (cache_addhst): Return tryagain not notfound for temporary errors.
25899         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25900         failed.
25902 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
25904         [BZ #10563]
25905         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25906         to make the syscall.
25907         * sysdeps/unix/sysv/linux/setgroups.c: New file.
25909         [BZ #12378]
25910         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25911         and fall back to matching as normal character if the string ends before
25912         the matching ']' is found.  This is what POSIX requires.
25913         * posix/testfnm.c: Adjust test result.
25914         * posix/globtest.sh: Adjust test result.  Add new test.
25915         * posix/tst-fnmatch.input: Likewise.
25916         * posix/tst-fnmatch2.c: Add new test.
25918 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
25920         * elf/Makefile (check-execstack): Revert last change.  Depend on
25921         check-execstack.h.
25922         (check-execstack.h): New target.
25923         (generated): Add check-execstack.h.
25924         * elf/check-execstack.c: Include "check-execstack.h".
25925         (main): Revert last change.
25926         (handle_file): Return zero if GNU_STACK is absent and
25927         DEFAULT_STACK_PERMS doesn't include PF_X.
25929 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
25931         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25932         in child fails because the descriptor is already closed.
25933         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25934         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25935         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25937         [BZ #12397]
25938         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25939         syscall.
25941         [BZ #10484]
25942         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25943         temporary buffer used to handle multi lookups locally.
25944         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25946 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25948         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25949         loader is ld.so.
25951 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
25953         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25954         alignment for SSE2.
25956 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25958         [BZ #12394]
25959         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25960         characters.  When rounding increased number of integer digits recompute
25961         number of groups.
25962         * stdio-common/tst-grouping.c: New file.
25963         * stdio-common/Makefile: Add rules to build and run tst-grouping.
25965 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
25967         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25968         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
25970         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25971         void.
25972         * bits/select.h: Likewise.
25974 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
25976         * po/ja.po: Update from translation team.
25978 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
25980         [BZ #11155]
25981         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25982         implementation just like for lxstat, fxstatat, et al.
25984 2010-12-27  Jim Meyering  <meyering@redhat.com>
25986         [BZ #12348]
25987         * posix/regexec.c (build_trtable): Return failure indication upon
25988         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
25990 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
25992         [BZ #12201]
25993         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25994         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25995         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25996         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25998         [BZ #12207]
25999         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26001         [BZ #12204]
26002         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26003         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26005 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26007         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26008         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26009         script has SORT_BY_INIT_PRIORITY.
26010         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26011         NO_CTORS_DTORS_SECTIONS is defined.
26012         * elf/soinit.c: Likewise.
26013         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26014         NO_CTORS_DTORS_SECTIONS is defined.
26015         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26016         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26017         * sysdeps/sh/init-first.c: Likewise.
26018         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26020 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26022         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26023         always use the slow path.
26025 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26027         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26028         similar rule which adds the sysdep directories to the header search in
26029         order to pick up the correct platform stackinfo.h.
26030         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26031         perform test if it is, otherwise return successfully without testing.
26032         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26033         DEFAULT_STACK_PERMS define in stackinfo.h.
26034         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26035         defined in stackinfo.h.
26036         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26037         DEFAULT_STACK_PERMS defined in stackinfo.h.
26038         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26039         * sysdeps/ia64/stackinfo.h: Likewise.
26040         * sysdeps/s390/stackinfo.h: Likewise.
26041         * sysdeps/sh/stackinfo.h: Likewise.
26042         * sysdeps/sparc/stackinfo.h: Likewise.
26043         * sysdeps/x86_64/stackinfo.h: Likewise.
26044         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26045         PF_X for powerpc64.  Retain PF_X for powerpc32.
26047 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26049         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26050         accurately.
26051         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26052         GETDENTS_64BIT_ALIGNED.
26054 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26056         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26058 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26060         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26061         _GNU_SOURCE.
26063         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26064         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26065         Remove __restrict.
26066         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26067         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26069 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26071         [BZ #11655]
26072         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26073         are initialized.
26075 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26077         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26079 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26081         * po/it.po: Update from translation team.
26083 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26085         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26086         unused codes.
26088 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26090         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26092 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26094         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26095         specially.
26096         (gaih_getanswer_slice): Likewise.
26098 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26100         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26102 2010-05-31  Petr Baudis  <pasky@suse.cz>
26104         [BZ #11149]
26105         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26106         silently even in the chroot mode.
26108 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26110         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26111         last patch a bit.  Pretty printing
26113 2010-05-31  Petr Baudis <pasky@suse.cz>
26115         [BZ #10085]
26116         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26117         initialization of skip_initgroups_dyn.
26119 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26121         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26122         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26124 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26126         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26128 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26130         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26131         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26132         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26133         ($(objpfx)tst-fnmatch-mem): New rule.
26134         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26135         * posix/tst-fnmatch.c (main): Call mtrace.
26137 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26140         Support Intel processor model 6 and model 0x2c.
26142 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26144         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26145           signed comparison.
26147 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26149         [BZ #12205]
26150         * string/test-strncasecmp.c (check_result): New function.
26151         (do_one_test): Use it.
26152         (check1): New function.
26153         (test_main): Use it.
26154         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26155         Support strcasecmp and strncasecmp.
26157 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26159         [BZ #12194]
26160         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26161         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26163 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26165         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26166         IFUNC support.
26167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26168         memset-x86-64.
26169         * sysdeps/x86_64/multiarch/bzero.S: New file.
26170         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26171         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26172         * sysdeps/x86_64/multiarch/memset.S: New file.
26173         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26175         Set bit_Prefer_SSE_for_memop for Intel processors.
26176         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26177         Define.
26178         (index_Prefer_SSE_for_memop): Define.
26179         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26181 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26183         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26184         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26186 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26188         [BZ #12191]
26189         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26190         (__x86_64_raw_data_cache_size_half): Likewise.
26191         (__x86_64_raw_shared_cache_size): Likewise.
26192         (__x86_64_raw_shared_cache_size_half): Likewise.
26194         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26195         (__x86_64_raw_data_cache_size_half): Likewise.
26196         (__x86_64_raw_shared_cache_size): Likewise.
26197         (__x86_64_raw_shared_cache_size_half): Likewise.
26198         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26199         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26200         and __x86_64_raw_shared_cache_size_half.  Round
26201         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26202         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26203         to multiple of 256 bytes.
26205 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26207         [BZ #12167]
26208         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26209         of inacessible symlinks.  Verify result of symlink before returning it.
26210         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26211         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26213 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26215         * math/math.h (isinf): Fix typo in comment.
26217 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26219         * po/da.po: Update from translation team.
26221 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26223         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26224         is added to the list.
26226 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26227             Ulrich Drepper  <drepper@gmail.com>
26229         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26230         the global list here.  Move code to...
26231         (_dl_add_to_namespace_list): ...here.  New function.
26232         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26233         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26234         * elf/dl-load.c (lose): Don't remove the element from the list.
26235         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26236         (_dl_map_object): Likewise.
26238 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26240         [BZ #12159]
26241         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26242         into all bytes of SSE register.
26243         Patch by Richard Li <richardpku@gmail.com>.
26245 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26247         [BZ #12140]
26248         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26249         perturbing.
26251 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26253         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26254         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26255         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26256         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26258         submachine.
26259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26261 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26263         * include/dlfcn.h (__RTLD_SECURE): Define.
26264         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26265         mode & __RTLD_SECURE instead.
26266         (open_path): Rename preloaded parameter to secure.
26267         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26268         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26269         * elf/dl-deps.c (openaux): Likewise.
26270         * elf/rtld.c (struct map_args): Remove is_preloaded.
26271         (map_doit): Don't use it.
26272         (dl_main): Likewise.
26273         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26274         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26276 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26278         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26279         (sysd-rules-targets): Remove duplicates.
26280         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26281         rtld-%.$o dependency.
26283 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26285         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26286         _dl_map_object do it.
26288 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26290         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26291         fast fma builtins, define the macros in the C99 standard.
26292         (FP_FAST_FMAF): Likewise.
26293         (FP_FAST_FMAL): Likewise.
26294         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26296         * bits/mathdef.h: Update copyright year.
26297         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26299 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26301         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26302         builtins, define the macros in the C99 standard.
26303         (FP_FAST_FMAF): Likewise.
26304         (FP_FAST_FMAL): Likewise.
26305         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26306         multiply/add.
26307         (FP_FAST_FMAF): Likewise.
26309 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26311         [BZ #3268]
26312         * math/libm-test.inc (fma_test): Some new testcases.
26313         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26314         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26315         y and infinite z.  Do multiplication by C already in long double.
26316         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26318         y and infinite z.  Do bitwise or of inexact bit into u.d.
26319         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26320         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26321         * sysdeps/i386/fpu/s_fma.S: Removed.
26322         * sysdeps/i386/fpu/s_fmal.S: Removed.
26324 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26326         [BZ #3268]
26327         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26328         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26329         computation is not scheduled after fetestexcept.  Fix value
26330         of minimum denormal long double.
26332 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26334         [BZ #3268]
26335         * math/libm-test.inc (fma_test): Add some more tests.
26336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26337         correctly.
26339 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26341         * scripts/data/localplt-s390-linux-gnu.data: New file.
26342         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26344 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26346         [BZ #3268]
26347         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26348         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26349         instead of dbl-64.
26350         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26351         inlines.
26352         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26354         if one of x and y is very large and the other is subnormal.
26355         * sysdeps/s390/fpu/s_fmaf.c: New file.
26356         * sysdeps/s390/fpu/s_fma.c: New file.
26357         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26358         * sysdeps/powerpc/fpu/s_fma.S: New file.
26359         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26360         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26361         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26363 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26365         [BZ #3268]
26366         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26367         fma tests.
26368         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26369         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26370         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26371         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26372         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26373         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26374         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26376 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26378         [BZ #12078]
26379         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26380         * posix/bug-regex31.input: Add test case.
26382 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26384         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26385         * posix/bug-regex31.input: New file.
26387         [BZ #12078]
26388         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26389         (parse_sub_exp): Fix last change, use postorder.
26391         * posix/bug-regex31.c: New file.
26392         * posix/Makefile: Add rules to build and run bug-regex31.
26394         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26396         [BZ #12078]
26397         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26399         [BZ #12108]
26400         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26401         to have entries in sys_siglist.
26403         [BZ #12093]
26404         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26405         be NULL.
26407 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26409         [BZ #3268]
26410         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26411         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26412         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26413         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26414         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26415         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26416         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26417         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26418         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26419         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26420         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26421         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26422         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26423         * math/ftestexcept.c (fetestexcept): Likewise.
26424         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26425         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26426         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26427         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26428         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26429         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26430         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26432 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26434         [BZ #12107]
26435         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26436         newline.
26438 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26440         * string/bug-strstr1.c: New file.
26441         * string/Makefile: Add rules to build and run bug-strstr1.
26443 2010-10-05  Eric Blake  <eblake@redhat.com>
26445         [BZ #12092]
26446         * string/str-two-way.h (two_way_long_needle): Always clear memory
26447         when skipping input due to the shift table.
26449 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26451         [BZ #12005]
26452         * malloc/mcheck.c: Handle large requests.
26454         [BZ #12077]
26455         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26456         for strncmp and strncasecmp.
26457         * string/stratcliff.c: Add tests for strcmp and strncmp.
26458         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26460 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26462         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26463         __set_fpscr.
26465 2010-09-30  Andreas Jaeger  <aj@suse.de>
26467         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26468         (CGROUP_SUPER_MAGIC): Define.
26469         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26470         Handle btrfs and cgroup file systems.
26471         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26472         Likewise.
26474 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26476         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26477         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26479 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26481         [BZ #12067]
26482         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26483         trying to locate the ELF header.
26485 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26487         [BZ #11611]
26488         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26489         Mask out sign-bit copies when constructing f_fsid.
26491 2010-09-24  Petr Baudis <pasky@suse.cz>
26493         * debug/stack_chk_fail_local.c: Add missing licence exception.
26494         * debug/warning-nop.c: Likewise.
26496 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26498         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26499         implementing getdents64 using getdents syscall, set d_type if
26500         __ASSUME_GETDENTS32_D_TYPE.
26502 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26504         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26505         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26507 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26509         [BZ #12037]
26510         * posix/unistd.h: Undo change of feature selection for ftruncate from
26511         2010-01-11.
26513 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26515         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26516         detection.
26518 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26520         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26521         fanotify_mark.
26522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26524 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26526         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26527         variables after CHECK_SP call.
26528         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26530 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26531             Ulrich Drepper  <drepper@redhat.com>
26533         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26534         re-relocationg ld.so.
26535         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26536         _dl_init_paths call.
26537         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26538         here anymore.
26540 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26542         * resolv/res_init.c (__res_vinit): Count the default server we added.
26544 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26545             Ulrich Drepper  <drepper@redhat.com>
26547         [BZ #11968]
26548         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26549         (____longjmp_chk): Use %ebx for saving value across system call.
26550         Add unwind info.
26552 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26554         * manual/Makefile: Don't mix pattern rules with normal rules.
26556 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26558         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26559         operation.
26560         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26561         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26562         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26563         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26564         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26565         Likewise.
26567 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26569         [BZ #11979]
26570         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26571         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26573 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26575         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26576         * sysdeps/x86_64/addmul_1.S: Likewise.
26577         * sysdeps/x86_64/lshift.S: Likewise.
26578         * sysdeps/x86_64/mul_1.S: Likewise.
26579         * sysdeps/x86_64/rshift.S: Likewise.
26580         * sysdeps/x86_64/sub_n.S: Likewise.
26581         * sysdeps/x86_64/submul_1.S: Likewise.
26583 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26585         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26586         Define __sched_param instead of SCHED_* and sched_param when
26587         <bits/sched.h> is included with __need_schedparam defined.
26588         * bits/sched.h [__need_schedparam]
26589         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26590         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26591         (__defined_schedparam): Define to 1.
26592         (__sched_param): New structure, identical to sched_param.
26593         (__need_schedparam): Undefine.
26595 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26597         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26598         (epoll_create1): Declare.
26600         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26602 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26604         [BZ #7066]
26605         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26606         shifting retval into place.
26608 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26610         * nis/rpcsvc/nis.h: Update copyright notice.
26611         * nis/rpcsvc/nis.x: Likewise.
26612         * nis/rpcsvc/nis_callback.h: Likewise.
26613         * nis/rpcsvc/nis_callback.x: Likewise.
26614         * nis/rpcsvc/nis_object.x: Likewise.
26615         * nis/rpcsvc/nis_tags.h: Likewise.
26616         * nis/rpcsvc/yp.h: Likewise.
26617         * nis/rpcsvc/yp.x: Likewise.
26618         * nis/rpcsvc/ypupd.h: Likewise.
26619         * nis/yp_xdr.c: Likewise.
26620         * nis/ypupdate_xdr.c: Likewise.
26622         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26623         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26624         (pmap_getport): Use __libc_rpc_getport.
26625         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26626         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26627         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26629 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26632         fanotify_mark.
26634 2010-08-27  Roland McGrath  <roland@redhat.com>
26636         * sysdeps/i386/i686/multiarch/Makefile
26637         (CFLAGS-varshift.c): New variable.
26639 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26641         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26642         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26644         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26646         * sysdeps/x86_64/strlen.S: Minimal code improvement.
26648 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26650         * sysdeps/x86_64/strlen.S: Unroll the loop.
26651         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26652         strlen-sse2 strlen-sse2-bsf.
26653         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26654         __strlen_no_bsf if bit_Slow_BSF is set.
26655         (__strlen_sse42): Removed.
26656         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26657         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26659 2010-08-25  Roland McGrath  <roland@redhat.com>
26661         * sysdeps/x86_64/multiarch/varshift.S: File removed.
26662         * sysdeps/x86_64/multiarch/varshift.c: New file.
26663         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26664         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26665         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26666         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26668 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26670         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26671         strlen-sse2 strlen-sse2-bsf.
26672         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26673         __strlen_sse2_bsf if bit_Slow_BSF is unset.
26674         (__strlen_sse2): Removed.
26675         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26676         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26678         bit_Slow_BSF for Atom.
26679         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26680         (index_Slow_BSF): Define.
26681         (HAS_SLOW_BSF): Define.
26683 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
26685         [BZ #10851]
26686         * resolv/res_init.c (__res_vinit): When no server address at all
26687         is given default to loopback.
26689 2010-08-24  Roland McGrath  <roland@redhat.com>
26691         * configure.in: Remove config-name.h generation.
26692         * configure: Regenerated.
26693         * config-name.in: File removed.
26694         * scripts/config-uname.sh: New file.
26695         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26696         ($(objdir)config-name.h): New target.
26698         * sunrpc/rpc_parse.h: Avoid nested comment.
26700 2010-08-24  Richard Henderson  <rth@redhat.com>
26701             Ulrich Drepper  <drepper@redhat.com>
26702             H.J. Lu  <hongjiu.lu@intel.com>
26704         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26706         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26707         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
26708         _mm_alignr_epi8 with _mm_loadu_si128.
26709         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26710         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26711         (__m128i_shift_right): Removed.
26712         * sysdeps/i386/i686/multiarch/varshift.h: New file.
26713         * sysdeps/i386/i686/multiarch/varshift.S: New file.
26714         * sysdeps/x86_64/multiarch/varshift.h: New file.
26715         * sysdeps/x86_64/multiarch/varshift.S: New file.
26717 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
26719         * configure.in: Move assembler checks to before sysdep dir checking.
26721 2010-08-20  Petr Baudis  <pasky@suse.cz>
26723         * LICENSES: Sync the sunrpc license.
26725 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
26727         * sunrpc/auth_des.c: Update copyright notice once again.
26728         * sunrpc/auth_none.c: Likewise.
26729         * sunrpc/auth_unix.c: Likewise.
26730         * sunrpc/authdes_prot.c: Likewise.
26731         * sunrpc/authuxprot.c: Likewise.
26732         * sunrpc/bindrsvprt.c: Likewise.
26733         * sunrpc/clnt_gen.c: Likewise.
26734         * sunrpc/clnt_perr.c: Likewise.
26735         * sunrpc/clnt_raw.c: Likewise.
26736         * sunrpc/clnt_simp.c: Likewise.
26737         * sunrpc/clnt_tcp.c: Likewise.
26738         * sunrpc/clnt_udp.c: Likewise.
26739         * sunrpc/clnt_unix.c: Likewise.
26740         * sunrpc/des_crypt.c: Likewise.
26741         * sunrpc/des_soft.c: Likewise.
26742         * sunrpc/get_myaddr.c: Likewise.
26743         * sunrpc/getrpcport.c: Likewise.
26744         * sunrpc/key_call.c: Likewise.
26745         * sunrpc/key_prot.c: Likewise.
26746         * sunrpc/openchild.c: Likewise.
26747         * sunrpc/pm_getmaps.c: Likewise.
26748         * sunrpc/pm_getport.c: Likewise.
26749         * sunrpc/pmap_clnt.c: Likewise.
26750         * sunrpc/pmap_prot.c: Likewise.
26751         * sunrpc/pmap_prot2.c: Likewise.
26752         * sunrpc/pmap_rmt.c: Likewise.
26753         * sunrpc/rpc/auth.h: Likewise.
26754         * sunrpc/rpc/auth_unix.h: Likewise.
26755         * sunrpc/rpc/clnt.h: Likewise.
26756         * sunrpc/rpc/des_crypt.h: Likewise.
26757         * sunrpc/rpc/key_prot.h: Likewise.
26758         * sunrpc/rpc/netdb.h: Likewise.
26759         * sunrpc/rpc/pmap_clnt.h: Likewise.
26760         * sunrpc/rpc/pmap_prot.h: Likewise.
26761         * sunrpc/rpc/pmap_rmt.h: Likewise.
26762         * sunrpc/rpc/rpc.h: Likewise.
26763         * sunrpc/rpc/rpc_des.h: Likewise.
26764         * sunrpc/rpc/rpc_msg.h: Likewise.
26765         * sunrpc/rpc/svc.h: Likewise.
26766         * sunrpc/rpc/svc_auth.h: Likewise.
26767         * sunrpc/rpc/types.h: Likewise.
26768         * sunrpc/rpc/xdr.h: Likewise.
26769         * sunrpc/rpc_clntout.c: Likewise.
26770         * sunrpc/rpc_cmsg.c: Likewise.
26771         * sunrpc/rpc_common.c: Likewise.
26772         * sunrpc/rpc_cout.c: Likewise.
26773         * sunrpc/rpc_dtable.c: Likewise.
26774         * sunrpc/rpc_hout.c: Likewise.
26775         * sunrpc/rpc_main.c: Likewise.
26776         * sunrpc/rpc_parse.c: Likewise.
26777         * sunrpc/rpc_parse.h: Likewise.
26778         * sunrpc/rpc_prot.c: Likewise.
26779         * sunrpc/rpc_sample.c: Likewise.
26780         * sunrpc/rpc_scan.c: Likewise.
26781         * sunrpc/rpc_scan.h: Likewise.
26782         * sunrpc/rpc_svcout.c: Likewise.
26783         * sunrpc/rpc_tblout.c: Likewise.
26784         * sunrpc/rpc_util.c: Likewise.
26785         * sunrpc/rpc_util.h: Likewise.
26786         * sunrpc/rpcinfo.c: Likewise.
26787         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26788         * sunrpc/rpcsvc/key_prot.x: Likewise.
26789         * sunrpc/rpcsvc/klm_prot.x: Likewise.
26790         * sunrpc/rpcsvc/mount.x: Likewise.
26791         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26792         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26793         * sunrpc/rpcsvc/rex.x: Likewise.
26794         * sunrpc/rpcsvc/rstat.x: Likewise.
26795         * sunrpc/rpcsvc/rusers.x: Likewise.
26796         * sunrpc/rpcsvc/sm_inter.x: Likewise.
26797         * sunrpc/rpcsvc/spray.x: Likewise.
26798         * sunrpc/rpcsvc/yppasswd.x: Likewise.
26799         * sunrpc/rtime.c: Likewise.
26800         * sunrpc/svc.c: Likewise.
26801         * sunrpc/svc_auth.c: Likewise.
26802         * sunrpc/svc_authux.c: Likewise.
26803         * sunrpc/svc_raw.c: Likewise.
26804         * sunrpc/svc_run.c: Likewise.
26805         * sunrpc/svc_simple.c: Likewise.
26806         * sunrpc/svc_tcp.c: Likewise.
26807         * sunrpc/svc_udp.c: Likewise.
26808         * sunrpc/svc_unix.c: Likewise.
26809         * sunrpc/svcauth_des.c: Likewise.
26810         * sunrpc/xcrypt.c: Likewise.
26811         * sunrpc/xdr.c: Likewise.
26812         * sunrpc/xdr_array.c: Likewise.
26813         * sunrpc/xdr_float.c: Likewise.
26814         * sunrpc/xdr_mem.c: Likewise.
26815         * sunrpc/xdr_rec.c: Likewise.
26816         * sunrpc/xdr_ref.c: Likewise.
26817         * sunrpc/xdr_sizeof.c: Likewise.
26818         * sunrpc/xdr_stdio.c: Likewise.
26820         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26821         handling.
26823 2010-08-19  Andreas Schwab  <schwab@redhat.com>
26825         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26827 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
26829         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26830         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26831         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26832         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26833         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26834         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26835         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26836         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26837         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26838         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26839         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26840         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26841         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26842         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26844 2010-07-26  Anton Blanchard  <anton@samba.org>
26846         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26847         * malloc/arena.c (heap_trim): Likewise.
26849 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
26851         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26852         here.  Not...
26853         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26854         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26856 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26858         * sysdeps/i386/elf/Makefile: New file.
26860 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26862         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26863         from fanotify_init.
26864         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26865         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26867 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
26869         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26870         of strncasecmp_l.
26871         * sysdeps/multiarch/strcmp.S: Likewise.
26873 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
26875         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26876         strncase_l-nonascii.
26877         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26878         Add strncase_l-ssse3.
26879         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26880         * sysdeps/x86_64/strcmp.S: Likewise.
26881         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26882         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26883         * sysdeps/x86_64/strncase.S: New file.
26884         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26885         * sysdeps/x86_64/strncase_l.S: New file.
26886         * string/Makefile (strop-tests): Add strncasecmp.
26887         * string/test-strncasecmp.c: New file.
26889         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26890         warning.
26892         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26893         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26895 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26897         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26899 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
26901         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26902         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26903         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26905 2010-05-01  Alan Modra  <amodra@gmail.com>
26907         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26908         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26909         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26910         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26911         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26912         tidying.  Don't tail-call __sigjmp_save for static lib.
26913         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26914         save location.
26915         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26916         (CALL_MCOUNT): Add eh info, and nop after bl.
26917         (TAIL_CALL_SYSCALL_ERROR): New macro.
26918         (PSEUDO_RET): Use it.
26919         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26920         Correct save location of integer regs and cr.
26921         (_dl_profile_resolve): Correct cr save location.  Delete nops
26922         after bl when SHARED.  Reduce cfi size a little by better
26923         placement of cfi directives.
26924         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26925         make a stack frame.  Instead use parm save area as a temp.
26926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26927         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
26928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26929         Don't make a stack frame for parent, use parm save area.
26930         Increase child stack frame to 112 bytes.  Don't save unused reg,
26931         and adjust reg usage.  Set up cfi on error recovery and
26932         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26934         (__makecontext): Add dummy nop after jump to exit.
26935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26936         Use correct parm save area and cr save, reduce stack frame.
26937         Correct cfi for possible PSEUDO_RET frame setup.
26938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26939         Branch to local label emitted by PSEUDO_RET rather than
26940         __syscall_error.
26942 2010-08-12  Andreas Schwab  <schwab@redhat.com>
26944         [BZ #11904]
26945         * locale/programs/locale.c (print_assignment): New function.
26946         (show_locale_vars): Use it.
26948 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
26950         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26951         field.
26952         (struct statfs64): Likewise.
26953         (_STATFS_F_FLAGS): Define.
26954         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26955         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26956         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26957         (ST_VALID): Define locally.
26958         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26959         __statvfs_getflags, use the provided value.
26960         * sysdeps/unix/sysv/linux/kernel-features.h: Define
26961         __ASSUME_STATFS_F_FLAGS.
26963         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26965         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26966         Add sys/fanotify.h.
26967         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26968         fanotify_mask for GLIBC_2.13.
26969         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26970         fanotify_init and fanotify_mark.
26971         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26972         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26974         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26975         Add prlimit.
26976         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26977         prlimit64 for GLIBC_2.13.
26978         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26979         prlimit64.
26980         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26981         syscall.
26982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26983         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26984         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26985         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26986         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
26987         add prlimit alias.
26988         * sysdeps/unix/sysv/linux/prlimit.c: New file.
26990         [BZ #11903]
26991         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26992         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26994         * nss/Makefile: Add rules to build and run tst-nss-test1.
26995         * shlib-versions: Add entry for libnss_test1.
26996         * nss/nss_test1.c: New file.
26997         * nss/tst-nss-test1.c: New file.
26999         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27000         (__nss_configure_lookup): Set appropriate entry in
27001         __nss_configure_lookup to true.
27002         * nss/nsswitch.h: Define enum with indeces of databases in
27003         databases and __nss_database_custom arrays.  Declare
27004         __nss_database_custom.
27005         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27006         to avoid using nscd when custom rules are installed.
27007         * nss/getXXbyYY_r.c: Likewise.
27008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27010         * nss/nss_files/files-parse.c: Whitespace fixes.
27012 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27014         [BZ #11883]
27015         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27016         * posix/fnmatch_loop.c: Likewise.
27018 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27020         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27021         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27022         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27023         * Versions.def [GLIBC_2.13]: Add.
27025 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27027         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27028         Also fail if tpwd after pwuid call is NULL.
27030 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27032         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27033         when converting to ms.
27035 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27037         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27038         EOPNOTSUPP errors with ENOTTY.
27039         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27040         EOPNOTSUPP errors with ENOTTY.
27042 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27044         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27045         Add strcasecmp_l-ssse3.
27046         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27047         strcasecmp.
27048         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27049         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27050         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27052 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27054         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27056         * string/Makefile (strop-tests): Add strcasecmp.
27057         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27058         strcasecmp_l-nonascii.
27059         (gen-as-const-headers): Add locale-defines.sym.
27060         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27061         * sysdeps/x86_64/strcasecmp.S: New file.
27062         * sysdeps/x86_64/strcasecmp_l.S: New file.
27063         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27064         * sysdeps/x86_64/locale-defines.sym: New file.
27065         * string/test-strcasecmp.c: New file.
27067         * string/test-strcasestr.c: Test both ends of the range of characters.
27068         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27070 2010-07-29  Roland McGrath  <roland@redhat.com>
27072         [BZ #11856]
27073         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27075 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27077         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27078         for ld.so.
27080 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27082         * manual/memory.texi (Malloc Tunable Parameters): Document
27083         M_PERTURB.
27085 2010-07-26  Roland McGrath  <roland@redhat.com>
27087         [BZ #11840]
27088         * configure.in (-fgnu89-inline check): Set and substitute
27089         gnu89_inline, not libc_cv_gnu89_inline.
27090         * configure: Regenerated.
27091         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27093 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27095         * string/test-strnlen.c: New file.
27096         * string/Makefile (strop-tests): Add strnlen.
27097         * string/tester.c (test_strnlen): Add a few more test cases.
27098         * string/tst-strlen.c: Better error reporting.
27100         * sysdeps/x86_64/strnlen.S: New file.
27102 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27104         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27105         lower-latency instructions.
27107 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27109         * string/test-strcasestr.c: New file.
27110         * string/test-strstr.c: New file.
27111         * string/Makefile (strop-tests): Add strstr and strcasestr.
27112         * string/str-two-way.h: Don't undefine MAX.
27113         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27115 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27117         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27118         strcasestr-nonascii.
27119         (CFLAGS-strcasestr-nonascii.c): Define.
27120         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27121         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27122         Remove unused attribute.
27124 2010-07-20  Roland McGrath  <roland@redhat.com>
27126         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27127         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27128         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27129         like LD_HWCAP_MASK can disable hwcaps.
27131 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27133         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27135 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27137         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27138         call in strcasestr.
27139         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27140         __strcasestr_sse42_nonascii.
27141         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27142         strcasestr-nonascii.c.
27143         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27145 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27147         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27148         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27149         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27150         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27152 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27154         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27155         fcntl.
27157 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27159         [BZ #11577]
27160         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27161         dl_signal_cerror.
27163 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27165         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27166         _PC_PIPE_BUF using F_GETPIPE_SZ.
27168 2010-07-05  Roland McGrath  <roland@redhat.com>
27170         * manual/arith.texi (Rounding Functions): Fix rint description
27171         implicit in round description.
27173 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27175         * elf/Makefile: Fix linking for a few tests to make recent linker
27176         happy.
27178 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27180         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27181         $(common-objpfx)libc_nonshared.a.
27183 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27185         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27186         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27187         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27188         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27189         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27190         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27191         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27192         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27207         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27208         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27209         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27210         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27211         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27212         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27213         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27214         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27215         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27216         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27217         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27218         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27234 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27236         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27237         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27238         * string/memmove.c (memmove): Renamed to ...
27239         (MEMMOVE): ...this.  Default to memmove.
27240         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27241         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27242         (END_CHK): Define.
27243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27244         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27245         mempcpy-ssse3-back memmove-ssse3-back.
27246         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27247         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27248         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27249         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27250         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27251         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27252         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27253         * sysdeps/x86_64/multiarch/memmove.c: New file.
27254         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27255         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27256         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27257         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27258         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27259         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27260         Define.
27261         (index_Fast_Copy_Backward): Define.
27262         (HAS_ARCH_FEATURE): Define.
27263         (HAS_FAST_REP_STRING): Define.
27264         (HAS_FAST_COPY_BACKWARD): Define.
27266 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27268         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27269         Restore proper fallback handling.
27271 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27273         [BZ #11701]
27274         * posix/group_member.c (__group_member): Correct checking loop.
27276         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27277         OOM in getpwuid_r correctly.  Return error number when the caller
27278         should return, otherwise -1.
27279         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27280         call returning > 0 value.
27281         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27283 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27285         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27286         libc_nonshared.a from targets in modules-names.
27288 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27290         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27291         requires it.
27293 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27295         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27296         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27297         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27298         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27300 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27302         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27304 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27306         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27307         and F_GETPIPE_SZ.
27308         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27309         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27310         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27311         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27312         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27313         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27315 2010-06-14  Roland McGrath  <roland@redhat.com>
27317         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27319 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27321         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27322         __REDIRECT followed by __THROW.
27323         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27324         * posix/getopt.h (getopt): Likewise.
27326 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27328         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27329         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27330         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27331         in AT_FLAGS.
27332         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27333         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27335 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27337         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27339 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27341         [BZ #11640]
27342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27343         Properly check family and model.
27345 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27347         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27349 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27351         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27353 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27355         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27356         symbol reference.
27358 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27360         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27361         symbol reference.
27363 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27365         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27366         and internal_recvmmsg.
27367         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27368         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27369         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27370         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27372         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27373         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27374         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27376 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27378         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27380 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27382         POWER7 optimizations.
27383         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27384         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27386 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27388         * version.h: Update for 2.13 development version.
27390 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27392         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27393         exceptions.  Return 0.
27395 2010-05-07  Roland McGrath  <roland@redhat.com>
27397         * elf/ldconfig.c (main): Add a const.
27399 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27401         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27402         (args_options): Add no-idn option.
27403         (ahosts_keys_int): Add idn_flags to ai_flags.
27404         (parse_option): Handle 'i' option to clear idn_flags.
27406         * malloc/malloc.c (_int_free): Possible race in the most recently
27407         added check.  Only act on the data if no current modification
27408         happened.
27410 See ChangeLog.17 for earlier changes.