Consolidate declarations of _dl_phdr, _dl_phnum.
[glibc.git] / ChangeLog
blob26898849518d0aeb94f6a358a2e8942c77f07b71
1 2013-03-28  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4         Declare them here.
5         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6         * csu/libc-tls.c: Nor here.
7         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10         (__libc_message): Never call vsyslog.
12 2013-03-28  Alan Modra  <amodra@gmail.com>
14         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15         Define as empty.
16         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17         Likewise.
19 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21         [BZ #15214]
22         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23         underflow.
24         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28         [BZ #15304]
29         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30         Don't add gid passed as argument.
32         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36         [BZ #15307]
37         * math/k_casinh.c (__kernel_casinh): Handle arguments with
38         imaginary part between 1.0 and 1.5 and real part less than 0.5
39         specially.
40         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42         * math/libm-test.inc (cacos_test): Add more tests.
43         (casin_test): Likewise.
44         (casinh_test): Likewise.
45         * sysdeps/i386/fpu/libm-test-ulps: Update.
46         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51         constants.
52         (norm): Likewise.
53         (denorm): Likewise.
54         (__dbl_mp): Likewise.
55         (add_magnitudes): Likewise.
56         (sub_magnitudes): Likewise.
57         (__add): Likewise.
58         (__sub): Likewise.
59         (__mul): Likewise.
60         (__sqr): Likewise.
61         (__inv): Likewise.
62         (__dvd): Likewise.
64         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
65         commented code.
66         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
67         (__dubcos): Likewise.
68         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69         (__ieee754_acos): Likewise.
70         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
71         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
72         (__exp1): Likewise.
73         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
74         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75         (log1): Likewise.
76         (my_log2): Likewise.
77         (checkint): Likewise.
78         * sysdeps/ieee754/dbl-64/e_remainder.c
79         (__ieee754_remainder): Likewise.
80         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
81         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
82         (bsloww): Likewise.
83         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
85         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
86         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
87         MANTISSA_STORE_T to store computations on mantissa.  Use
88         macros for rounding and division.
89         (denorm): Likewise.
90         (__dbl_mp): Likewise.
91         (add_magnitudes): Likewise.
92         (sub_magnitudes): Likewise.
93         (__mul): Likewise.
94         (__sqr): Likewise.
95         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
96         powers of two in terms of TWOPOW macro.
97         (mp_no): Make type of mantissa as MANTISSA_T.
98         [!RADIXI]: Define RADIXI.
99         [!TWO52]: Define TWO52.
100         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
102 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
104         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
105         llroundl symbol when building for PPC32.
107 2013-03-24  Mark H Weaver  <mhw@netris.org>
109         * manual/arith.texi (Normalization Functions): Fix prototypes for
110         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
112 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
114         [BZ #13889]
115         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
116         high value to check if expl overflow.
117         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
118         to check for underflow and overflow.
119         * math/libm-test.inc: Add exp test.
121 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
123         [BZ #11120]
124         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
125         with NOT_IN_libc.
127 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
129         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
130         symbol.
132 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
134         * math/gen-libm-test.pl (parse_args, special_functions): Properly
135         wrap blocks consisting of several statements.
137         * sysdeps/generic/math-tests.h: New file.
138         * sysdeps/i386/fpu/math-tests.h: Likewise.
139         * math/test-snan.c: Include it.
140         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
142 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
144         [BZ #15285]
145         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
146         (__ieee754_j0l): Do not improve calculations using cos of twice
147         input for inputs above LDBL_MAX / 2.0L.
148         (__ieee754_y0l): Likewise.
149         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
150         (__ieee754_j1l): Do not improve calculations using cos of twice
151         input for inputs above LDBL_MAX / 2.0L.
152         (__ieee754_y1l): Likewise.
153         * math/libm-test.inc (j0_test): Add another test.
154         (j1_test): Likewise.
155         (y0_test): Likewise.
156         (y1_test): Likewise.
157         * sysdeps/i386/fpu/libm-test-ulps: Update.
159 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
161         * Rules ($(objpfx)bench-%.c): Include code from a C source
162         file.
164 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
166         [BZ #15287]
167         * math/k_casinh.c (__kernel_casinh): Handle arguments with
168         imaginary part 1.0 and real part less than 0.5 specially.
169         * math/k_casinhf.c (__kernel_casinhf): Likewise.
170         * math/k_casinhl.c (__kernel_casinhl): Likewise.
171         * math/libm-test.inc (cacos_test): Add more tests.
172         (casin_test): Likewise.
173         (casinh_test): Likewise.
174         * sysdeps/i386/fpu/libm-test-ulps: Update.
175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
177 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
179         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
180         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
182 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
184         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
185         * config.make.in (config-cflags-sse4): Remove variable.
186         (config-cflags-avx): Likewise.
187         (config-cflags-sse2avx): Likewise.
188         (config-cflags-novzeroupper): Likewise.
189         (config-asflags-i686): Likewise.
190         (have-mfma4): Likewise.
191         (have-as-vis3): Likewise.
192         (MIG): Likewise.
193         * configure.in (MIG): Do not AC_SUBST.
194         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
195         (libc_cv_cc_sse4): Do not AC_SUBST.
196         (libc_cv_cc_avx): Likewise.
197         (libc_cv_cc_sse2avx): Likewise.
198         (libc_cv_cc_novzeroupper): Likewise.
199         (libc_cv_cc_fma4): Likewise.
200         (libc_cv_as_i686): Likewise.
201         (libc_cv_sparc_as_vis3): Likewise.
202         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
203         LIBC_CONFIG_VAR.
204         (config-asflags-i686): Likewise.
205         (config-cflags-avx): Likewise.
206         (config-cflags-sse2avx): Likewise.
207         (have-mfma4): Likewise.
208         (config-cflags-novzeroupper): Likewise.
209         * sysdeps/mach/configure.in (MIG): Likewise.
210         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
211         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
212         LIBC_CONFIG_VAR.
213         (config-cflags-avx): Likewise.
214         (config-cflags-sse2avx): Likewise.
215         (have-mfma4): Likewise.
216         (config-cflags-novzeroupper): Likewise.
217         * configure: Regenerated.
218         * sysdeps/i386/configure: Likewise.
219         * sysdeps/mach/configure: Likewise.
220         * sysdeps/sparc/configure: Likewise.
221         * sysdeps/x86_64/configure: Likewise.
223 2013-03-20  Roland McGrath  <roland@hack.frob.com>
225         [BZ #14812]
226         * locale/programs/localedef.c (options): Put N_ translation marker
227         on argument names, not just descriptions.
229 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
231         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
233 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
235         [BZ #14176]
236         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
238 2013-03-19  Roland McGrath  <roland@hack.frob.com>
240         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
241         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
242         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
243         [!BEFORE_ABORT] (before_abort): New function.
244         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
245         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
246         (writev_for_fatal): New function.
247         (WRITEV_FOR_FATAL): New macro; call that.
248         (backtrace_and_maps): New function.
249         (BEFORE_ABORT): New macro; call that.
250         (struct str_list): Type removed.
251         (__libc_message, __libc_fatal): Functions removed.
252         Include <sysdeps/posix/libc_fatal.c> instead.
254 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
256         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
257         constants.
258         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
259         double constants.
261 2013-03-19  Andreas Schwab  <schwab@suse.de>
263         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
264         * sysdeps/gnu/configure: Regenerate.
266         * configure.in: Substitute libc_cv_rtlddir.
267         * configure: Regenerate.
268         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
269         * Makeconfig (rtlddir, inst_rtlddir): New variables.
270         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
271         * elf/Makefile (install-others, CFLAGS-interp.c)
272         (ldso_install, common-ldd-rewrite): Likewise.
273         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
274         $(inst_slibdir)/$(rtld-installed-name).
275         * scripts/rellns-sh: Add -p option.
276         * Makerules (make-shlib-link): Use rellns-sh to get relative name
277         for source.
279 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
281         * manual/nptl.texi: Renamed to ...
282         * manual/threads.texi: ... this.
283         * manual/Makefile (chapters): Update.
285 2013-03-18  Roland McGrath  <roland@hack.frob.com>
287         [BZ #14812]
288         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
289         on argument names, not just descriptions.
290         * malloc/memusagestat.c (options): Likewise.
291         * nss/getent.c (options): Likewise.
293 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
295         [BZ #14812]
296         * iconv/iconv_prog.c (options): Put N_ translation marker
297         on argument names, not just descriptions.
298         * iconv/iconvconfig.c (options): Likewise.
300 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
302         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
303         implementation which is faster on all x86_64 architectures.
304         Tested on AMD, Intel Nehalem, SNB, IVB.
305         * sysdeps/x86_64/strnlen.S: Likewise.
307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
308         Remove all multiarch strlen and strnlen versions.
309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
310         Remove strlen and strnlen related parts.
312         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
313         Inline strlen part.
314         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
316         * sysdeps/x86_64/multiarch/strlen.S: Remove.
317         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
318         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
319         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
320         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
321         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
323 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
325         * manual/memory.texi (Malloc Tunable Parameters):
326         Sort parameters alphabetically. Add comments for missing entries.
328 2013-03-17  David S. Miller  <davem@davemloft.net>
330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
332 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
334         [BZ #15283]
335         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
336         for arguments at most half maximum finite value.
337         * math/libm-test.inc (j0_test): Add more tests.
338         (j1_test): Likewise.
339         (y0_test): Likewise.
340         (y1_test): Likewise.
341         * sysdeps/i386/fpu/libm-test-ulps: Update.
342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
344         [BZ #14155]
345         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
346         1 / x and functions P and Q for arguments above 0x1p256L.
347         (__ieee754_y0l): Likewise.
348         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
349         (__ieee754_y1l): Likewise.
350         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
351         (j1_test): Likewise.
352         (y0_test): Likewise.
353         (y1_test): Likewise.
355 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
357         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
358         variable.
360 2013-03-15  Roland McGrath  <roland@hack.frob.com>
362         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
363         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
364         zero since it's initialized to EXEC_PAGESIZE.
366         * sysdeps/unix/sysv/linux/ldsodefs.h
367         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
368         * sysdeps/generic/ldsodefs.h: ... here.
370 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
372         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
374         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
375         math/test-snan.c.
376         * math/test-snan.c: Renamed from
377         sysdeps/powerpc/fpu/test-powerpc-snan.c.
378         * math/Makefile (tests): Add test-snan.
379         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
380         test-powerpc-snan.
382         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
383         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
384         functions.
385         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
386         __builtin_nan family of functions.
387         * math/libm-test.inc (initialize): Initialize qnan_value with
388         __builtin_nan family of functions.
389         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
390         Remove variables.
391         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
392         Remove functions.
393         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
394         storage class.  Initialize qNaN_var and sNaN_var with
395         __builtin_nan and __builtin_nans families of functions,
396         respectively.
398         * math/libm-test.inc (acosh_test): Also test with qNaN input.
399         (sqrt_test): Remove duplicate test with qNaN input.
400         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
401         (round_test, signbit_test, significand_test): Note missing +/-Inf
402         as well as qNaN tests.
404         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
405         qNaN_var.  Fix a few strings, too.
406         * math/libm-test.inc (nan_value): Rename to qnan_value.
407         * math/gen-libm-test.pl (%beautify): Adjust to that.
408         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
409         * math/test-misc.c (main): Likewise.
410         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
411         to __qnan_bytes, and __qnan_union, respectively.
412         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
413         Likewise.
414         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
415         and lqnanval, respectively.
416         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
417         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
418         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
419         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
421         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
422         * math/test-misc.c (main) [__x86_64__]: Enable test for long
423         doubles.
425         * math/test-misc.c (main): Fix copy'n'pastos.
426         * misc/tst-efgcvt.c (special): Likewise.
428         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
429         Remove declarations.
431 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
433         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
434         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
435         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
436         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
438 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
440         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
441         macro to return vdso values correctly in IFUNC implementations.
442         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
443         Optimization by using IFUNC.
445 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
446             Richard Henderson  <rth@redhat.com>
447             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
449         * Makefile.in (bench): New target.
450         * NEWS: Mention the benchmark framework.
451         * Rules (bench): Likewise.
452         (binaries-bench): Generate binaries for functions to
453         benchmark.
454         * benchtests/Makefile: New makefile for benchmark tests.
455         * benchtests/bench-skeleton.c: New skeleton file for benchmark
456         programs.
457         * benchtests/exp-inputs: New input file for EXP function.
458         * benchtests/pow-inputs: New input file for POW function.
459         * scripts/bench.pl: New script to generate source files for
460         benchmark programs.
462 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
464         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
465         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
466         computations on mantissa.  Use macros for rounding and
467         division.
468         (denorm): Likewise.
469         (__dbl_mp): Likewise.
470         (add_magnitudes): Likewise.
471         (sub_magnitudes): Likewise.
472         (__mul): Likewise.
473         (__sqr): Likewise.
474         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
475         powers of two in terms of TWOPOW macro.
476         (mp_no): Make type of mantissa as MANTISSA_T.
477         [!RADIXI]: Define RADIXI.
478         [!TWO52]: Define TWO52.
479         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
481         * manual/nptl.texi (cindex): Modify threads to pthreads.
483 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
485         * sysdeps/x86_64/preconfigure: Regenerated.
487 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
489         [BZ #14155]
490         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
491         0x1p28 and above.
492         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
493         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
494         0x1p28 and above.
495         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
496         * math/libm-test.inc (j0_test): Do not allow one spurious
497         underflow exception.
498         (y1_test): Likewise.
500 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
502         * manual/Makefile (chapters): Add nptl.
503         * manual/debug.texi (Debugging Support): Add link to Threads
504         chapter.
505         * manual/nptl.texi: New file.
507         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
509 2013-03-14  Petr Baudis  <pasky@ucw.cz>
511         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
512         for non-NULL pointer before the memory validity test. Pointed
513         out by Holger Brunck <holger.brunck@keymile.com>.
515 2013-03-13  Andreas Schwab  <schwab@suse.de>
517         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
518         instead of .os.
520 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
522         * timezone/zic.c: Update from tzcode 2013b.
524 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
526         * manual/install.texi (Configuring and compiling):
527         Mention i686 and i586.
528         * INSTALL: Regenerate.
530 2013-03-12  Roland McGrath  <roland@hack.frob.com>
532         * sysdeps/init_array/elf-init.c: New file.
533         * csu/elf-init.c
534         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
535         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
537         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
538         __gmon_start__ as global, but as static with a .preinit_array pointer.
539         * sysdeps/init_array/gmon-start.c: New file.  Use that.
540         * sysdeps/init_array/crti.S: New file, empty except for comments.
541         * sysdeps/init_array/crtn.S: Likewise.
543 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
545         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
546         definining bcopy.
547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
548         Remove Prefer_SSE_for_memop.
549         * sysdeps/x86_64/multiarch/init-arch.h: Remove
550         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
551         HAS_PREFER_SSE_FOR_MEMOP.
552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
553         memset-x86-64.
554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
555         Remove bzero, memset ifunc support.
556         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
557         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
558         * sysdeps/x86_64/multiarch/memset.S: Likewise.
559         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
561 2013-03-11  Andreas Schwab  <schwab@suse.de>
563         [BZ #15234]
564         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
565         by SHLIB_COMPAT.
566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
567         (GLIBC_2.16): Remove pthread_atfork.
569 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
571         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
572         (ptestcases.h): Likewise.
574 2013-03-08  Roland McGrath  <roland@hack.frob.com>
576         * Makeconfig ($(common-objpfx)config.status): Depend on
577         sysdeps/*/preconfigure{,.in} too.
579 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
581         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
582         (__free_hook): Use void * instead of __malloc_ptr_t.
583         (__malloc_hook): Likewise.
584         (__realloc_hook): Likewise.
585         (__memalign_hook): Likewise.
586         (__after_morecore_hook): Likewise.
587         * malloc/arena.c (save_malloc_hook): Likewise.
588         (save_free_hook): Likewise.
589         * malloc/hooks.c (malloc_hook_ini): Likewise.
590         (realloc_hook_ini): Likewise.
591         (memalign_hook_ini): Likewise.
592         * malloc/malloc.c (malloc_hook_ini): Likewise.
593         (realloc_hook_ini): Likewise.
594         (memalign_hook_ini): Likewise.
595         (__free_hook): Likewise.
596         (__malloc_hook): Likewise.
597         (__realloc_hook): Likewise.
598         (__memalign_hook): Likewise.
599         (__libc_malloc): Likewise.
600         (__libc_free): Likewise.
601         (__libc_realloc): Likewise.
602         (__libc_memalign): Likewise.
603         (__libc_valloc): Likewise.
604         (__libc_pvalloc): Likewise.
605         (__libc_calloc): Likewise.
606         (__posix_memalign): Likewise.
607         * malloc/morecore.c (__sbrk): Likewise.
608         (__default_morecore): Likewise.
610         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
612         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
613         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
614         __malloc_ptrdiff_t.
616         * malloc/malloc.h (__malloc_size_t): Remove macro.
617         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
618         __malloc_size_t.
619         (old_memalign_hook): Likewise.
620         (old_realloc_hook): Likewise.
621         (struct hdr): Likewise.
622         (flood): Likewise.
623         (mallochook): Likewise.
624         (memalignhook): Likewise.
625         (reallochook): Likewise.
626         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
627         (tr_old_realloc_hook): Likewise.
628         (tr_old_memalign_hook): Likewise.
629         (tr_mallochook): Likewise.
630         (tr_reallochook): Likewise.
631         (tr_memalignhook): Likewise.
633 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
635         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
636         default_ldbl_pack and using as default implementation.
637         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
638         implementation.
639         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
640         redundant definition.
641         (ldbl_insert_mantissa): Likewise.
642         (ldbl_canonicalize): Likewise.
643         (ldbl_nearbyint): Likewise.
644         (ldbl_pack): Rename to ldbl_pack_ppc.
645         (ldbl_unpack): Rename to ldbl_unpack_ppc.
646         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
647         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
649 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
652         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
653         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
654         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
656         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
657         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
658         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
660 2013-03-07  Andreas Jaeger  <aj@suse.de>
662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
663         bits/mman-linux.h.
665 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
667         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
668         Include mpa.h and declare __MPEXP.
669         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
670         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
671         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
672         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
673         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
674         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
675         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
677         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
678         (__slowpow): Use long double EXPL and LOGL functions to
679         compute POW.
680         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
681         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
682         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
683         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
684         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
685         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
688         intermediate variable to calculate exponent.
689         (__sqr): Likewise.
690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
691         Likewise.
692         (__sqr): Likewise.
694         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
695         [!NO__SQR]: Define __sqr.
696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
697         and NO__SQR.  Remove all code except __mul and __sqr.  Include
698         sysdeps/ieee754/dbl-64/mpa.c.
699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
701         [BZ #12723]
702         * posix/Makefile (tests): Add tst-pathconf.
703         * posix/tst-pathconf.c: New test case.
704         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
705         _PC_PIPE_BUF.
706         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
708 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
710         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
712 2013-03-06  Andreas Jaeger  <aj@suse.de>
714         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
715         definition via __MAP_ANONYMOUS.
717         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
718         it's not part of Linux headers.
720         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
721         (MAP_HUGE_MASK): Define.
723         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
724         Define.
725         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
726         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
727         Define.
728         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
729         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
730         Define.
731         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
732         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
733         Define.
734         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
736         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
737         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
738         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
739         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
740         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
741         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
743         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
744         Handle f2fs.
746         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
747         Handle f2fs and efivarfs.
749         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
750         f2fs.
752         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
753         (EFIVARFS_MAGIC): Add.
754         (F2FS_LINK_MAX): Add.
756 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
758         * stdio-common/vfprintf.c: Replace __builtin_expect with
759         __glibc_unlikely.
761 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
763         [BZ #13550]
764         * sysdeps/generic/bp-sym.h: Remove file.
765         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
766         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
767         <bp-sym.h> and <bp-asm.h>.
768         (__longjmp): Don't use BP_SYM.
769         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
770         and <bp-asm.h>.
771         (memcpy): Don't use BP_SYM.
772         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
773         <bp-sym.h> and <bp-asm.h>.
774         (memcpy): Don't use BP_SYM.
775         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
776         <bp-asm.h>.
777         (memcpy): Don't use BP_SYM.
778         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
779         <bp-asm.h>.
780         (memset): Don't use BP_SYM.
781         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
782         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
783         (__bzero): Don't use BP_SYM.
784         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
785         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
786         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
787         <bp-sym.h> and <bp-asm.h>.
788         (memcmp): Don't use BP_SYM.  Remove comment about bounded
789         pointers.
790         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
791         <bp-sym.h> and <bp-asm.h>.
792         (memcpy): Don't use BP_SYM.
793         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
794         <bp-sym.h> and <bp-asm.h>.
795         (memset): Don't use BP_SYM.
796         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
797         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
798         (__bzero): Don't use BP_SYM.
799         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
800         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
801         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
802         <bp-sym.h> and <bp-asm.h>.
803         (strncmp): Don't use BP_SYM.  Remove comment about bounded
804         pointers.
805         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
806         <bp-sym.h> and <bp-asm.h>.
807         (memcpy): Don't use BP_SYM.
808         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
809         <bp-sym.h> and <bp-asm.h>.
810         (memset): Don't use BP_SYM.
811         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
812         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
813         (__bzero): Don't use BP_SYM.
814         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
815         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
816         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
817         <bp-sym.h> and <bp-asm.h>.
818         (__memchr): Don't use BP_SYM.
819         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
820         <bp-sym.h> and <bp-asm.h>.
821         (memcmp): Don't use BP_SYM.  Remove comment about bounded
822         pointers.
823         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
824         <bp-sym.h> and <bp-asm.h>.
825         (memcpy): Don't use BP_SYM.
826         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
827         <bp-sym.h> and <bp-asm.h>.
828         (__mempcpy): Don't use BP_SYM.
829         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
830         <bp-sym.h> and <bp-asm.h>.
831         (__memrchr): Don't use BP_SYM.
832         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
833         <bp-sym.h> and <bp-asm.h>.
834         (memset): Don't use BP_SYM.
835         (__bzero): Likewise.
836         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
837         <bp-sym.h> and <bp-asm.h>.
838         (__rawmemchr): Don't use BP_SYM.
839         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
840         <bp-sym.h> and <bp-asm.h>.
841         (__STRCMP): Don't use BP_SYM.
842         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
843         <bp-sym.h> and <bp-asm.h>.
844         (strchr): Don't use BP_SYM.
845         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
846         <bp-sym.h> and <bp-asm.h>.
847         (__strchrnul): Don't use BP_SYM.
848         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
849         <bp-sym.h> and <bp-asm.h>.
850         (strlen): Don't use BP_SYM.
851         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
852         <bp-sym.h> and <bp-asm.h>.
853         (strncmp): Don't use BP_SYM.  Remove comment about bounded
854         pointers.
855         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
856         <bp-sym.h> and <bp-asm.h>.
857         (__strnlen): Don't use BP_SYM.
858         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
859         <bp-sym.h> and <bp-asm.h>.
860         (__GI__setjmp): Don't use BP_SYM.
861         (_setjmp): Likewise.
862         (__sigsetjmp): Likewise.
863         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
864         (L(start_addresses)): Don't use BP_SYM.
865         (_start): Likewise.
866         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
867         <bp-asm.h>.
868         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
869         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
870         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
871         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
872         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
873         <bp-asm.h>.
874         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
875         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
876         about bounded pointers.
877         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
878         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
879         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
880         <bp-asm.h>.
881         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
882         about bounded pointers.  Remove GKM FIXME comments.
883         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
884         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
885         <bp-asm.h>.
886         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
887         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
888         Remove GKM FIXME comments.
889         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
890         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
891         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
892         <bp-asm.h>.
893         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
894         about bounded pointers.  Remove GKM FIXME comment.
895         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
896         and <bp-asm.h>.
897         (strncmp): Don't use BP_SYM.  Remove comment about bounded
898         pointers.
899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
900         <bp-sym.h> and <bp-asm.h>.
901         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
903         <bp-sym.h> and <bp-asm.h>.
904         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
905         comment.
907 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
909         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
910         call free(NULL).
912 2013-03-05  David S. Miller  <davem@davemloft.net>
914         * po/es.po: Update from translation team.
916 2013-03-05  Andreas Jaeger  <aj@suse.de>
918         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
919         <bits/mman-linux.h>.
920         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
921         is fine.
922         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
923         <bits/mman-linux.h> to end of file.
924         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
925         is fine.
926         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
927         <bits/mman-linux.h> to end of file.
928         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
929         is fine.
930         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
931         <bits/mman-linux.h> to end of file.
933         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
934         (MCL_CURRENT, MCL_FUTURE): Define here.
936 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
938         [BZ #15232]
939         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
940         attribute_hidden.
941         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
943 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
945         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
946         fourth parameter needed for rt_sigprocmask syscall.
947         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
948         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
949         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
950         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
951         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
952         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
954 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
956         [BZ #13550]
957         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
958         comment about bounded pointers.
959         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
960         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
962 2013-03-04  Andreas Jaeger  <aj@suse.de>
964         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
965         common definitions.
967         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
968         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
969         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
970         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
971         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
972         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
974 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
976         [BZ #15055]
977         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
978         __ieee754_sqrl instead of __sqrl.
980 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
982         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
983         * sysdeps/powerpc/fpu_control.h: ... here.
984         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
985         * sysdeps/powerpc/bits/fenvinline.h: ... here.
986         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
987         * sysdeps/powerpc/bits/mathinline.h: ... here.
989 2013-03-01  Roland McGrath  <roland@hack.frob.com>
991         * elf/dl-hwcaps.c (_dl_important_hwcaps):
992         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
993         to just [NEED_DL_SYSINFO_DSO].
994         * elf/dl-support.c: Likewise.
995         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
996         * elf/rtld.c (dl_main): Likewise.
997         * elf/setup-vdso.h (setup_vdso): Likewise.
998         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
999         * sysdeps/unix/sysv/linux/dl-sysdep.c
1000         (_dl_discover_osversion): Likewise.
1002 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1004         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1005         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1007 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1009         * NEWS: Mention libm performance improvements and non-x86 PI
1010         futex support.
1012         * csu/libc-start.c (__pthread_initialize_minimal): Change
1013         function arguments.
1014         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1016 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1018         [BZ #13550]
1019         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1020         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1021         <bp-sym.h> and <bp-asm.h>.
1022         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1023         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1024         and <bp-asm.h>.
1025         (memcpy): Don't use BP_SYM.
1026         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1027         <bp-asm.h>.
1028         (__mpn_add_n): Don't use BP_SYM.
1029         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1030         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1031         and <bp-asm.h>.
1032         (__mpn_addmul_1): Don't use BP_SYM.
1033         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1034         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1035         <bp-sym.h>.
1036         (_setjmp): Don't use BP_SYM.
1037         (__novmx_setjmp): Likewise.
1038         (__GI__setjmp): Likewise.
1039         (__vmx_setjmp): Likewise.
1040         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1041         <bp-sym.h>.
1042         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1043         (__bzero): Don't use BP_SYM.
1044         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1045         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1046         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1047         <bp-sym.h> and <bp-asm.h>.
1048         (memcpy): Don't use BP_SYM.
1049         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1050         <bp-sym.h> and <bp-asm.h>.
1051         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1052         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1053         <bp-sym.h> and <bp-asm.h>.
1054         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1055         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1056         <bp-asm.h>.
1057         (__mpn_lshift): Don't use BP_SYM.
1058         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1059         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1060         <bp-asm.h>.
1061         (memset): Don't use BP_SYM.
1062         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1063         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1064         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1065         <bp-asm.h>.
1066         (__mpn_mul_1): Don't use BP_SYM.
1067         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1068         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1069         <bp-sym.h> and <bp-asm.h>.
1070         (memcmp): Don't use BP_SYM.
1071         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1072         <bp-sym.h> and <bp-asm.h>.
1073         (memcpy): Don't use BP_SYM.
1074         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1075         <bp-sym.h> and <bp-asm.h>.
1076         (memset): Don't use BP_SYM.
1077         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1078         <bp-sym.h> and <bp-asm.h>.
1079         (strncmp): Don't use BP_SYM.
1080         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1081         <bp-sym.h> and <bp-asm.h>.
1082         (memcpy): Don't use BP_SYM.
1083         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1084         <bp-sym.h> and <bp-asm.h>.
1085         (memset): Don't use BP_SYM.
1086         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1087         <bp-sym.h> and <bp-asm.h>.
1088         (__memchr): Don't use BP_SYM.
1089         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1090         <bp-sym.h> and <bp-asm.h>.
1091         (memcmp): Don't use BP_SYM.
1092         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1093         <bp-sym.h> and <bp-asm.h>.
1094         (memcpy): Don't use BP_SYM.
1095         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1096         <bp-sym.h> and <bp-asm.h>.
1097         (__mempcpy): Don't use BP_SYM.
1098         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1099         <bp-sym.h> and <bp-asm.h>.
1100         (__memrchr): Don't use BP_SYM.
1101         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1102         <bp-sym.h> and <bp-asm.h>.
1103         (memset): Don't use BP_SYM.
1104         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1105         <bp-sym.h> and <bp-asm.h>.
1106         (__rawmemchr): Don't use BP_SYM.
1107         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1108         <bp-sym.h> and <bp-asm.h>.
1109         (__STRCMP): Don't use BP_SYM.
1110         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1111         <bp-sym.h> and <bp-asm.h>.
1112         (strchr): Don't use BP_SYM.
1113         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1114         <bp-sym.h> and <bp-asm.h>.
1115         (__strchrnul): Don't use BP_SYM.
1116         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1117         <bp-sym.h> and <bp-asm.h>.
1118         (strlen): Don't use BP_SYM.
1119         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1120         <bp-sym.h> and <bp-asm.h>.
1121         (strncmp): Don't use BP_SYM.
1122         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1123         <bp-sym.h> and <bp-asm.h>.
1124         (__strnlen): Don't use BP_SYM.
1125         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1126         <bp-asm.h>.
1127         (__mpn_rshift): Don't use BP_SYM.
1128         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1129         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1130         <bp-sym.h> and <bp-asm.h>.
1131         (__sigsetjmp): Don't use BP_SYM.
1132         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1133         (L(start_addresses)): Don't use BP_SYM.
1134         (_start): Likewise.
1135         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1136         <bp-asm.h>.
1137         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1138         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1139         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1140         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1141         <bp-asm.h>.
1142         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1143         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1144         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1145         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1146         <bp-asm.h>.
1147         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1148         comments.
1149         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1150         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1151         <bp-asm.h>.
1152         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1153         FIXME comments.
1154         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1155         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1156         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1157         <bp-asm.h>.
1158         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1159         comment.
1160         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1161         and <bp-asm.h>.
1162         (strncmp): Don't use BP_SYM,
1163         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1164         <bp-asm.h>.
1165         (__mpn_sub_n): Don't use BP_SYM.
1166         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1167         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1168         and <bp-asm.h>.
1169         (__mpn_submul_1): Don't use BP_SYM.
1170         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1172         <bp-sym.h> and <bp-asm.h>.
1173         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1175         <bp-sym.h> and <bp-asm.h>.
1176         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1177         comment.
1179 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1182         Use ZK to minimize writes to Z.
1183         (sub_magnitudes): Simplify code a bit.
1184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1185         Use ZK to minimize writes to Z.
1186         (sub_magnitudes): Simplify code a bit.
1188 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1190         * csu/gmon-start.c: Add special exception to license text.
1192 2013-02-27  Richard Henderson  <rth@redhat.com>
1194         * scripts/config.guess: Update from config.git.
1195         * scripts/config.sub: Likewise.
1197 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1199         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1201         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1203         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1205         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1207         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1209 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1211         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1212         [$(build-shared = yes].
1214 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1216         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1217         (__mul): Reduce iterations for calculating mantissa.
1219         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1220         MPTWO.
1221         (__mpranred): Likewise.
1223         [BZ #15160]
1224         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1225         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1227 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1229         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1230         Define __attribute__.
1232 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1234         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1235         unused.
1236         * posix/regex_internal.h (__attribute): Remove.
1237         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1238         (re_string_context_at): Likewise.
1239         (bitset_not): Use __attribute__ and mark function as possibly
1240         unused.
1241         (bitset_merge): Likewise.
1242         (bitset_mask): Likewise.
1243         (re_string_char_size_at): Likewise.
1244         (re_string_wchar_at): Likewise.
1245         (re_string_elem_size_at): Likewise.
1247 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1249         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1250         code.
1251         (cc32): Likewise.
1253         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1254         (__acr): Likewise.
1255         (__cpy): Likewise.
1256         (norm): Likewise.
1257         (denorm): Likewise.
1258         (__dbl_mp): Likewise.
1259         (add_magnitudes): Likewise.
1260         (sub_magnitudes): Likewise.
1261         (__mul): Likewise.
1262         (__inv): Likewise.
1264         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1265         style.
1267         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1268         style.
1270         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1271         code.
1273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1274         up changes with default code.
1275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1276         Likewise.
1278 2013-02-24  Allan McRae  <allan@archlinux.org>
1280         * manual/socket.texi (The Internet Namespace): Order menu items
1281         to match that in the file.
1283         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1284         node listing of the info page menu.
1286 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1288         [BZ #13550]
1289         * sysdeps/i386/bp-asm.h: Remove file.
1290         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1291         (PARMS): Do not use macros from bp-asm.h.
1292         (S1): Likewise.
1293         (S2): Likewise.
1294         (SIZE): Likewise.
1295         (__mpn_add_n): Do not use BP_SYM
1296         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1297         "bp-asm.h".
1298         (PARMS): Do not use macros from bp-asm.h.
1299         (S1): Likewise.
1300         (SIZE): Likewise.
1301         (__mpn_addmul_1): Do not use BP_SYM
1302         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1303         "bp-asm.h".
1304         (PARMS): Do not use macros from bp-asm.h.
1305         (SIGMSK): Likewise.
1306         (_setjmp): Likewise.  Do not use BP_SYM.
1307         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1308         "bp-asm.h".
1309         (PARMS): Do not use macros from bp-asm.h.
1310         (SIGMSK): Likewise.
1311         (setjmp): Likewise.  Do not use BP_SYM.
1312         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1313         "bp-asm.h".
1314         (PARMS): Do not use macros from bp-asm.h.
1315         (__frexp): Do not use BP_SYM.
1316         (frexp): Likewise.
1317         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1318         "bp-asm.h".
1319         (PARMS): Do not use macros from bp-asm.h.
1320         (__frexpf): Do not use BP_SYM.
1321         (frexpf): Likewise.
1322         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1323         "bp-asm.h".
1324         (PARMS): Do not use macros from bp-asm.h.
1325         (__frexpl): Do not use BP_SYM.
1326         (frexpl): Likewise.
1327         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1328         "bp-asm.h".
1329         (PARMS): Do not use macros from bp-asm.h.
1330         (__remquo): Do not use BP_SYM.
1331         (remquo): Likewise.
1332         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1333         "bp-asm.h".
1334         (PARMS): Do not use macros from bp-asm.h.
1335         (__remquof): Do not use BP_SYM.
1336         (remquof): Likewise.
1337         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1338         "bp-asm.h".
1339         (PARMS): Do not use macros from bp-asm.h.
1340         (__remquol): Do not use BP_SYM.
1341         (remquol): Likewise.
1342         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1343         "bp-asm.h".
1344         (PARMS): Do not use macros from bp-asm.h.
1345         (DEST): Likewise.
1346         (SRC): Likewise.
1347         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1348         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1349         "bp-asm.h".
1350         (PARMS): Do not use macros from bp-asm.h.
1351         (strlen): Do not use BP_SYM.
1352         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1353         "bp-asm.h".
1354         (PARMS): Do not use macros from bp-asm.h.
1355         (S1): Likewise.
1356         (S2): Likewise.
1357         (SIZE): Likewise.
1358         (__mpn_add_n): Do not use BP_SYM.
1359         * sysdeps/i386/i586/addmul_1.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         (SIZE): Likewise.
1364         (__mpn_addmul_1): Do not use BP_SYM.
1365         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1366         weak_alias.
1367         (bzero): Likewise.
1368         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1369         "bp-asm.h".
1370         (PARMS): Do not use macros from bp-asm.h.
1371         (S): Likewise.
1372         (SIZE): Likewise.
1373         (__mpn_lshift): Do not use BP_SYM.
1374         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1375         "bp-asm.h".
1376         (PARMS): Do not use macros from bp-asm.h.
1377         (DEST): Likewise.
1378         (SRC): Likewise.
1379         (LEN): Likewise.
1380         (memcpy): Likewise.  Do not use BP_SYM.
1381         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1382         libc_hidden_def and weak_alias.
1383         (mempcpy): Do not use BP_SYM in weak_alias.
1384         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1385         "bp-asm.h".
1386         (PARMS): Do not use macros from bp-asm.h.
1387         (DEST): Likewise.
1388         (LEN): Likewise.
1389         [!BZERO_P] (CHR): Likewise.
1390         (memset): Likewise.  Do not use BP_SYM.
1391         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1392         "bp-asm.h".
1393         (PARMS): Do not use macros from bp-asm.h.
1394         (S1): Likewise.
1395         (SIZE): Likewise.
1396         (__mpn_mul_1): Do not use BP_SYM.
1397         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1398         "bp-asm.h".
1399         (PARMS): Do not use macros from bp-asm.h.
1400         (S): Likewise.
1401         (SIZE): Likewise.
1402         (__mpn_rshift): Do not use BP_SYM.
1403         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1404         "bp-asm.h".
1405         (PARMS): Do not use macros from bp-asm.h.
1406         (STR): Likewise.
1407         (CHR): Likewise.
1408         (strchr): Likewise.  Do not use BP_SYM.
1409         (index): Do not use BP_SYM in weak_alias.
1410         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1411         "bp-asm.h".
1412         (PARMS): Do not use macros from bp-asm.h.
1413         (DEST): Likewise.
1414         (SRC): Likewise.
1415         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1416         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1417         "bp-asm.h".
1418         (PARMS): Do not use macros from bp-asm.h.
1419         (strlen): Do not use BP_SYM.
1420         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1421         "bp-asm.h".
1422         (PARMS): Do not use macros from bp-asm.h.
1423         (S1): Likewise.
1424         (S2): Likewise.
1425         (SIZE): Likewise.
1426         (__mpn_sub_n): Do not use BP_SYM.
1427         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1428         "bp-asm.h".
1429         (PARMS): Do not use macros from bp-asm.h.
1430         (S1): Likewise.
1431         (SIZE): Likewise.
1432         (__mpn_submul_1): Do not use BP_SYM.
1433         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1434         "bp-asm.h".
1435         (PARMS): Do not use macros from bp-asm.h.
1436         (S1): Likewise.
1437         (S2): Likewise.
1438         (SIZE): Likewise.
1439         (__mpn_add_n): Do not use BP_SYM.
1440         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1441         weak_alias.
1442         (bzero): Likewise.
1443         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1444         "bp-asm.h".
1445         (PARMS): Do not use macros from bp-asm.h.
1446         (BLK2): Likewise.
1447         (LEN): Likewise.
1448         (memcmp): Do not use BP_SYM.
1449         (bcmp): Do not use BP_SYM in weak_alias.
1450         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1451         "bp-asm.h".
1452         (PARMS): Do not use macros from bp-asm.h.
1453         (DEST): Likewise.
1454         (SRC): Likewise.
1455         (LEN): Likewise.
1456         (memcpy): Likewise.  Do not use BP_SYM.
1457         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1458         "bp-asm.h".
1459         (PARMS): Do not use macros from bp-asm.h.
1460         (DEST): Likewise.
1461         (SRC): Likewise.
1462         (LEN): Likewise.
1463         (memmove): Likewise.  Do not use BP_SYM.
1464         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1465         "bp-asm.h".
1466         (PARMS): Do not use macros from bp-asm.h.
1467         (DEST): Likewise.
1468         (SRC): Likewise.
1469         (LEN): Likewise.
1470         (__mempcpy): Likewise.  Do not use BP_SYM.
1471         (mempcpy): Do not use BP_SYM in weak_alias.
1472         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1473         "bp-asm.h".
1474         (PARMS): Do not use macros from bp-asm.h.
1475         (DEST): Likewise.
1476         (LEN): Likewise.
1477         [!BZERO_P] (CHR): Likewise.
1478         (memset): Likewise.  Do not use BP_SYM.
1479         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1480         "bp-asm.h".
1481         (PARMS): Do not use macros from bp-asm.h.
1482         (STR2): Likewise.
1483         (strcmp): Do not use BP_SYM.
1484         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1485         "bp-asm.h".
1486         (PARMS): Do not use macros from bp-asm.h.
1487         (STR): Likewise.
1488         (DELIM): Likewise.
1489         [USE_AS_STRTOK_R] (SAVE): Likewise.
1490         (FUNCTION): Likewise.  Do not use BP_SYM.
1491         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1492         aliases.
1493         (strtok_r): Likewise.
1494         (__GI___strtok_r): Likewise.
1495         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1496         (PARMS): Do not use macros from bp-asm.h.
1497         (S): Likewise.
1498         (SIZE): Likewise.
1499         (__mpn_lshift): Do not use BP_SYM.
1500         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1501         (PARMS): Do not use macros from bp-asm.h.
1502         (STR): Likewise.
1503         (CHR): Likewise.
1504         (__memchr): Do not use BP_SYM.
1505         (memchr): Do not use BP_SYM in weak_alias.
1506         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1507         (PARMS): Do not use macros from bp-asm.h.
1508         (BLK2): Likewise.
1509         (LEN): Likewise.
1510         (memcmp): Do not use BP_SYM.
1511         (bcmp): Do not use BP_SYM in weak_alias.
1512         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1513         (PARMS): Do not use macros from bp-asm.h.
1514         (S1): Likewise.
1515         (SIZE): Likewise.
1516         (__mpn_mul_1): Do not use BP_SYM.
1517         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1518         "bp-asm.h".
1519         (PARMS): Do not use macros from bp-asm.h.
1520         (STR): Likewise.
1521         (CHR): Likewise.
1522         (__rawmemchr): Do not use BP_SYM.
1523         (rawmemchr): Do not use BP_SYM in weak_alias.
1524         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1525         (PARMS): Do not use macros from bp-asm.h.
1526         (S): Likewise.
1527         (SIZE): Likewise.
1528         (__mpn_rshift): Do not use BP_SYM.
1529         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1530         (PARMS): Do not use macros from bp-asm.h.
1531         (SIGMSK): Likewise.
1532         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1533         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1534         (_start): Do not use BP_SYM.
1535         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1536         (PARMS): Do not use macros from bp-asm.h.
1537         (DEST): Likewise.
1538         (SRC): Likewise.
1539         (__stpcpy): Likewise.  Do not use BP_SYM.
1540         (stpcpy): Do not use BP_SYM in weak_alias.
1541         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1542         "bp-asm.h".
1543         (PARMS): Do not use macros from bp-asm.h.
1544         (DEST): Likewise.
1545         (SRC): Likewise.
1546         (LEN): Likewise.
1547         (__stpncpy): Likewise.  Do not use BP_SYM.
1548         (stpncpy): Do not use BP_SYM in weak_alias.
1549         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1550         (PARMS): Do not use macros from bp-asm.h.
1551         (STR): Likewise.
1552         (CHR): Likewise.
1553         (strchr): Likewise.  Do not use BP_SYM.
1554         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1555         "bp-asm.h".
1556         (PARMS): Do not use macros from bp-asm.h.
1557         (STR): Likewise.
1558         (CHR): Likewise.
1559         (__strchrnul): Likewise.  Do not use BP_SYM.
1560         (strchrnul): Do not use BP_SYM in weak_alias.
1561         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1562         "bp-asm.h".
1563         (PARMS): Do not use macros from bp-asm.h.
1564         (STOP): Likewise.
1565         (strcspn): Do not use BP_SYM.
1566         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1567         "bp-asm.h".
1568         (PARMS): Do not use macros from bp-asm.h.
1569         (STR): Likewise.
1570         (STOP): Likewise.
1571         (strpbrk): Likewise.  Do not use BP_SYM.
1572         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1573         "bp-asm.h".
1574         (PARMS): Do not use macros from bp-asm.h.
1575         (STR): Likewise.
1576         (CHR): Likewise.
1577         (strrchr): Likewise.  Do not use BP_SYM.
1578         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1579         (PARMS): Do not use macros from bp-asm.h.
1580         (SKIP): Likewise.
1581         (strspn): Do not use BP_SYM.
1582         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1583         (PARMS): Do not use macros from bp-asm.h.
1584         (STR): Likewise.
1585         (DELIM): Likewise.
1586         (SAVE): Likewise.
1587         (FUNCTION): Likewise.  Do not use BP_SYM.
1588         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1589         aliases.
1590         (strtok_r): Likewise.
1591         (__GI___strtok_r): Likewise.
1592         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1593         (PARMS): Do not use macros from bp-asm.h.
1594         (S1): Likewise.
1595         (S2): Likewise.
1596         (SIZE): Likewise.
1597         (__mpn_sub_n): Do not use BP_SYM.
1598         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1599         "bp-asm.h".
1600         (PARMS): Do not use macros from bp-asm.h.
1601         (S1): Likewise.
1602         (SIZE): Likewise.
1603         (__mpn_submul_1): Do not use BP_SYM.
1604         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1605         <bp-sym.h>.
1606         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1607         and <bp-asm.h>.
1608         (PARMS): Do not use macros from bp-asm.h.
1609         (FLAGS): Likewise.
1610         (PTID): Likewise.
1611         (TLS): Likewise.
1612         (CTID): Likewise.
1613         (__clone): Do not use BP_SYM.
1614         (clone): Do not use BP_SYM in weak_alias.
1615         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1616         and <bp-asm.h>.
1617         (PARMS): Do not use macros from bp-asm.h.
1618         (LEN): Likewise.
1619         (__mmap64): Do not use BP_SYM.
1620         (mmap64): Do not use BP_SYM in weak_alias.
1621         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1622         <bp-sym.h> and <bp-asm.h>.
1623         (PARMS): Do not use macros from bp-asm.h.
1624         (__posix_fadvise64_l64): Do not use BP_SYM.
1625         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1626         (PARMS): Do not use macros from bp-asm.h.
1627         (NSOPS): Likewise.
1628         (semtimedop): Do not use BP_SYM.
1629         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1630         and <bp-asm.h>.
1632 2013-02-21  Allan McRae  <allan@archlinux.org>
1634         * manual/message.texi (Charset conversion in gettext):
1635         Move @end statement to beginning of line.
1637 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1640         static.
1641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1642         Likewise.
1644         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1645         (denorm): Likewise.
1646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1649 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1651         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1652         tail-call to the resolved function if pltexit isn't needed.
1654 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1657         or Y being zero as being unlikely.
1658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1659         Likewise.
1661 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1663         * manual/nss.texi (System Databases and Name Service Switch):
1664         Remove frobnicate @pxref.
1666 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1668         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1669         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1671 2013-02-20  Petr Machata  <pmachata@redhat.com>
1673         * elf/elf.h (R_ARM_TARGET1): New macro.
1674         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1675         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1676         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1677         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1678         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1679         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1680         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1681         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1682         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1683         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1684         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1685         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1686         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1687         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1688         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1689         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1690         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1691         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1692         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1693         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1694         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1695         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1696         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1697         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1698         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1699         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1700         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1701         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1702         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1703         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1704         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1705         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1706         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1707         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1708         (R_ARM_THM_GOT_BREL12): Likewise.
1709         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1710         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1711         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1712         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1713         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1714         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1715         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1716         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1717         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1719 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1721         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1722         __attribute_used__ to __attribute__ ((unused)).
1724 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1726         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1727         powerpc mpa.c.
1728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1729         comment formatting.
1730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1732 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
1734         [BZ #13550]
1735         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1736         Remove macro.
1737         (ENTER): Remove both macro definitions.
1738         (LEAVE): Likewise.
1739         (CHECK_BOUNDS_LOW): Likewise.
1740         (CHECK_BOUNDS_HIGH): Likewise.
1741         (CHECK_BOUNDS_BOTH): Likewise.
1742         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1743         (RETURN_BOUNDED_POINTER): Likewise.
1744         (RETURN_NULL_BOUNDED_POINTER): Likewise.
1745         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1746         (POP_ERRNO_LOCATION_RETURN): Likewise.
1747         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1748         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1749         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1750         macros.
1751         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1752         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1753         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1754         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1755         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1756         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1757         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1758         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1759         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1760         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1761         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1762         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1763         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1764         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1765         removed macros.
1766         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1767         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1768         macros.
1769         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1770         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1771         * sysdeps/i386/i586/memset.S (memset): Likewise.
1772         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1773         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1774         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1775         macros.
1776         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1777         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1778         Change uses of L(2) to L(out).
1779         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1780         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1781         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1782         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1783         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1784         removed macros.
1785         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1786         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1787         macros.
1788         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1789         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1790         (RETURN): Do not use macro LEAVE.
1791         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1792         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1793         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1794         * sysdeps/i386/i686/memset.S (memset): Likewise.
1795         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1796         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1797         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1798         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1799         Likewise.
1800         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1801         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
1802         L(1_2) and L(1_3) into L(1).
1803         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1804         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1805         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1806         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1807         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1808         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1809         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1810         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1811         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1812         macros.
1813         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1814         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1815         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1816         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1817         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1818         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1819         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1820         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1821         * sysdeps/i386/strcspn.S (strcspn): Likewise.
1822         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1823         * sysdeps/i386/strrchr.S (strrchr): Likewise.
1824         * sysdeps/i386/strspn.S (strspn): Likewise.
1825         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1826         conditional code.
1827         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1828         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1829         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1830         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
1831         L(1_3) into L(1_1).
1832         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1833         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1834         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1835         macros.
1836         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1838 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
1840         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1841         macro.
1843 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1845         * math/atest-exp.c (exp_mpn): Remove ROUND.
1846         * math/atest-exp2.c (exp_mpn): Likewise.
1847         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1849         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1850         * stdlib/tst-tls-atexit-lib.c: Likewise.
1851         * stdlib/tst-tls-atexit.c: Likewise.
1853 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1855         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1856         and __attribute_alloc_size__.
1858 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1860         * include/programs/xmalloc.h: Change __attribute_alloc_size to
1861         __attribute_alloc_size__.
1862         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1863         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1865 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1867         * include/programs/xmalloc.h: New file.
1868         * catgets/gencat.c: Include it.
1869         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1870         * elf/pldd.c: Likewise.
1871         * iconv/iconv_charmap.c: Likewise.
1872         * iconv/iconvconfig.c: Likewise.
1873         * iconv/strtab.c: Likewise.
1874         * locale/programs/locale.c: Likewise.
1875         * locale/programs/localedef.h: Likewise.
1876         * locale/programs/simple-hash.c: Likewise.
1877         * nscd/nscd.h: Likewise.
1878         * nss/makedb.c: Likewise.
1879         * sysdeps/generic/ldconfig.h: Likewise.
1881 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1883         * Versions.def: Add GLIBC_2.18.
1884         * include/link.h (struct link_map): New member l_tls_dtor_count.
1885         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1886         (__call_tls_dtors): Likewise.
1887         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1888         __cxa_thread_atexit_impl.
1889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1890         Likewise.
1891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1892         Likewise.
1893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1894         Likewise.
1895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1896         Likewise.
1897         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1899         Likewise.
1900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1901         Likewise.
1902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1904         Likewise.
1905         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1906         (tests): Add test case tst-tls-atexit.
1907         (modules-names): Add shared library for tst-tls-atexit.
1908         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1909         (GLIBC_PRIVATE): Add __call_tls_dtors.
1910         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1911         for libstdc++.
1912         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1913         * stdlib/tst-tls-atexit.c: New test case.
1914         * stdlib/tst-tls-atexit-lib.c: New test case.
1916         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1918         * elf/Versions (ld): Add _dl_find_dso_for_object.
1919         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1920         * elf/dl-open.c (_dl_find_dso_for_object): New function.
1921         (dl_open_worker): Use _dl_find_dso_for_object.
1922         * elf/dl-sym.c (do_sym): Likewise.
1923         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1925 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1927         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1928         Syntactic changes only.
1929         (_dl_runtime_profile): Do a tail-call to the resolved function.
1931 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
1933         [BZ #13550]
1934         * sysdeps/x86_64/bp-asm.h: Remove file.
1935         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1936         <bp-sym.h> and <bp-asm.h>.
1937         (__clone): Do not use BP_SYM.
1938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1939         <bp-sym.h> and <bp-asm.h>.
1940         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1941         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1942         "bp-asm.h".
1943         (_setjmp): Do not use BP_SYM.
1944         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1945         "bp-asm.h".
1946         (setjmp): Do not use BP_SYM.
1947         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1948         libc_hidden_def.
1949         (mempcpy): Do not use BP_SYM in weak_alias.
1950         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1951         "bp-asm.h".
1952         (strchr): Do not use BP_SYM.
1953         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1954         "bp-asm.h".
1955         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1956         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1957         (_start): Do not use BP_SYM.
1958         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1959         "bp-asm.h".
1960         (strcat): Do not use BP_SYM.
1961         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1962         "bp-asm.h".
1963         (STRCMP): Do not use BP_SYM.
1964         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1965         "bp-asm.h".
1966         (STRCPY): Do not use BP_SYM.
1967         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1968         "bp-asm.h".
1969         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1970         "bp-asm.h".
1971         (FUNCTION): Do not use BP_SYM.
1972         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1973         weak_alias.
1974         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1976 2013-02-17  Andreas Jaeger  <aj@suse.de>
1978         * time/Versions: Sort entries.
1979         * string/Versions: Likewise.
1980         * resolv/Versions: Likewise.
1981         * posix/Versions: Likewise.
1982         * iconv/Versions: Likewise.
1983         * elf/Versions: Likewise.
1984         * wcsmbs/Versions: Likewise.
1986 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1988         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1989         loop termination condition.
1991         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1992         variable to calculate EZ.
1993         (__sqr): Likewise.
1995         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1996         the lower precision input.
1998 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2000         [BZ #13550]
2001         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2002         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2003         (run-via-rtld-prefix): Do not handle %-bp tests.
2004         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2005         (all-object-suffixes): Remove .ob.
2006         (bppfx): Remove variable.
2007         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2008         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2009         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2010         [$(build-bounded) = yes] (libtype.ob): Likewise.
2011         * Makerules (elide-routines.ob): Remove variable.
2012         (do-tests-clean): Do not handle *-bp.out.
2013         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2014         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2015         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2016         (tests): Do not include $(tests-bp.out).
2017         (xtests): Do not include $(xtests-bp.out).
2018         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2019         [$(build-bounded) = yes] ($(addprefix
2020         $(objpfx),$(binaries-bounded))): Remove rule.
2021         ($(objpfx)%-bp.out): Remove rule.
2022         * config.make.in (build-bounded): Remove variable.
2023         * crypt/Makefile [$(build-bounded) = yes]
2024         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2025         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2026         append to variable.
2027         [$(build-bounded) = yes] (install-lib): Likewise.
2028         [$(build-bounded) = yes] (generated): Likewise.
2029         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2030         Remove rule.
2031         * intl/Makefile [$(build-bounded) = yes]
2032         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2033         * math/Makefile [$(build-bounded) = yes]
2034         ($(tests:%=$(objpfx)%-bp): Likewise.
2035         * misc/Makefile [$(build-bounded) = yes]
2036         ($(objpfx)tst-tsearch-bp): Likewise.
2037         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2038         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2039         Remove dependency.
2040         * string/Makefile (o-objects.ob): Remove variable.
2041         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2042         (CFLAGS-.ob): Remove variable.
2043         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2044         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2045         both definitions of variable.
2046         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2047         (ASFLAGS-.ob): Remove variable.
2049 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2051         [BZ #13550]
2052         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2053         Remove __BOUNDED_POINTERS__ from condition.
2054         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2055         * string/bits/string2.h [!__NO_STRING_INLINES &&
2056         !__BOUNDED_POINTERS__]: Likewise.
2057         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2058         Likewise.
2059         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2060         Remove conditional code.
2061         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2062         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2063         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2064         condition.
2066         [BZ #13550]
2067         * csu/libc-start.c: Do not include <bp-sym.h>.
2068         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2069         * elf/dl-open.c: Do not include <bp-sym.h>.
2070         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2071         * math/fegetenv.c: Do not include <bp-sym.h>.
2072         (fegetenv): Do not use BP_SYM in versioned symbols.
2073         * nptl/sysdeps/pthread/bits/libc-lockP.h
2074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2075         <bp-sym.h>.
2076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2077         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2079         (__pthread_mutex_destroy): Likewise.
2080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2081         (__pthread_mutex_lock): Likewise.
2082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2083         (__pthread_mutex_trylock): Likewise.
2084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2085         (__pthread_mutex_unlock): Likewise.
2086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2087         (__pthread_mutexattr_init): Likewise.
2088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2089         (__pthread_mutexattr_destroy): Likewise.
2090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2091         (__pthread_mutexattr_settype): Likewise.
2092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2093         (__pthread_rwlock_init): Likewise.
2094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2095         (__pthread_rwlock_destroy): Likewise.
2096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2097         (__pthread_rwlock_rdlock): Likewise.
2098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2099         (__pthread_rwlock_tryrdlock): Likewise.
2100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2101         (__pthread_rwlock_wrlock): Likewise.
2102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2103         (__pthread_rwlock_trywrlock): Likewise.
2104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2105         (__pthread_rwlock_unlock): Likewise.
2106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2107         (__pthread_key_create): Likewise.
2108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2109         (__pthread_setspecific): Likewise.
2110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2111         (__pthread_getspecific): Likewise.
2112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2113         Likewise.
2114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2115         (_pthread_cleanup_push_defer): Likewise.
2116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2117         (_pthread_cleanup_pop_restore): Likewise.
2118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2119         (pthread_setcancelstate): Likewise.
2120         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2121         <bp-sym.h>.
2122         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2123         (memchr): Do not use BP_SYM in weak_alias.
2124         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2125         (fegetenv): Do not use BP_SYM in versioned symbols.
2126         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2127         (fesetenv): Do not use BP_SYM in versioned symbols.
2128         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2129         (feupdateenv): Do not use BP_SYM in versioned symbols.
2130         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2131         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2132         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2133         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2134         (open64): Do not use BP_SYM in weak_alias.
2135         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2136         (fegetenv): Do not use BP_SYM in versioned symbols.
2137         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2138         (fesetenv): Do not use BP_SYM in versioned symbols.
2139         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2140         (feupdateenv): Do not use BP_SYM in versioned symbols.
2141         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2142         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2143         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2144         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2145         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2146         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2147         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2148         <bp-sym.h>.
2149         (__libc_start_main): Do not use BP_SYM.
2151 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2154         redundant return line.
2155         (norm): Likewise.
2156         (denorm): Likewise.
2157         (dbl_mp): Likewise.
2158         (sub_magnitudes): Likewise.
2159         (__add): Likewise.
2160         (__sub): Likewise.
2161         (__mul): Likewise.
2162         (__inv): Likewise.
2163         (__dvd): Likewise.
2164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2165         (norm): Likewise.
2166         (denorm): Likewise.
2167         (dbl_mp): Likewise.
2168         (sub_magnitudes): Likewise.
2169         (__add): Likewise.
2170         (__sub): Likewise.
2171         (__mul): Likewise.
2172         (__inv): Likewise.
2173         (__dvd): Likewise.
2175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2176         instead of __mul.
2177         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2178         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2179         (cc32): Likewise.
2181         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2182         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2184         of __mul for squares.
2185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2186         function
2187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2188         Likewise.
2189         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2190         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2192 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2194         [BZ #13550]
2195         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2196         code.
2197         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2198         prototype or function definition.  Rename ubp_* variables and
2199         parameters.  Remove argv definitions conditional on
2200         [__BOUNDED_POINTERS__].
2201         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2202         * elf/dl-runtime.c (_dl_fixup): Likewise.
2203         * include/set-hooks.h (RUN_HOOK): Likewise.
2204         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2205         definition.
2206         * string/strcpy.c (strcpy): Do not use __unbounded.
2207         * sysdeps/generic/frame.h (struct layout): Likewise.
2208         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2209         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2210         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2211         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2212         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2213         (__backtrace): Likewise.
2214         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2215         use __ptrvalue.
2216         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2217         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2218         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2219         Likewise.
2220         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2221         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2222         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2223         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2224         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2225         Do not use __unbounded.
2226         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2227         Rename __unboundedrlimits parameter to rlimits in prototype.
2228         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2229         Do not use __unbounded.
2230         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2231         not use __ptrvalue.
2232         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2233         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2234         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2235         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2236         __ptrvalue or __unbounded.
2237         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2238         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2239         use __unbounded.
2240         (__new_msgctl): Do not use __ptrvalue.
2241         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2242         __unbounded.
2243         (__libc_msgrcv): Do not use __ptrvalue.
2244         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2245         startup_info): Do not use __unbounded.
2246         (__libc_start_main): Likewise.  Rename ubp_* variables and
2247         parameters.  Remove argv definitions conditional on
2248         [__BOUNDED_POINTERS__].
2249         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2250         __ptrvalue.
2251         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2252         use __unbounded.
2253         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2254         or __ptrvalue.
2255         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2256         use __unbounded.
2257         (__new_shmctl): Do not use __ptrvalue.
2258         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2259         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2260         Likewise.
2261         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2262         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2263         (__libc_sigaction): Likewise.
2264         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2265         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2266         Likewise.
2267         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2269 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2271         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2273         * string/mempcpy.c: Implement by calling memcpy.
2275 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2277         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2279         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2280         evaluation.
2282         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2283         values in the mantissa.
2285         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2286         minimize writes to Z.
2287         (sub_magnitudes): Simplify code a bit.
2289 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2291         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2292         from the message.  The linker prefixes all warnings with that already.
2294 2013-02-12  Andreas Schwab  <schwab@suse.de>
2296         [BZ #15078]
2297         * posix/regexec.c (extend_buffers): Add parameter min_len.
2298         (check_matching): Pass minimum needed length.
2299         (clean_state_log_if_needed): Likewise.
2300         (get_subexp): Likewise.
2301         * posix/Makefile (tests): Add bug-regex34.
2302         (bug-regex34-ENV): Define.
2303         * posix/bug-regex34.c: New file.
2305         [BZ #11561]
2306         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2307         elements compare against the byte sequence of it, not its name.
2308         * posix/Makefile (tests): Add bug-regex35.
2309         (bug-regex35-ENV): Define.
2310         * posix/bug-regex35.c: New file.
2312 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2314         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2315         comment.
2316         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2317         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2318         (CHECK_EOL): Add undef.
2320 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2322         * bits/stdlib-bsearch.h: New file.
2323         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2324         * stdlib/stdlib.h: Likewise.
2326 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2328         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2329         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2330         declaration.
2331         * manual/search.texi (Array Search Function): Add missing const in
2332         lfind prototype.
2333         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2334         declaration to use rlim_t.
2335         (Basic Scheduling Functions): Remove erroneous const from
2336         sched_getparam prototype.  Remove erroneous * from
2337         sched_get_priority_max and sched_get_priority_min prototypes.
2338         (Resource Usage): Fix summary @comment on vtimes to refer to
2339         sys/vtimes.h rather than vtimes.h.
2340         Add missing *s in vtimes prototype.
2341         (Limits on Resources): Fix ulimit prototype to return long int.
2342         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2343         prototypes to use long int rather than double.
2344         (BSD Random): Fix initstate and setstate to use char *, not void *.
2345         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2346         prototype to make second argument 'struct aiocb64 *const[]'.
2347         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2348         (Status of AIO Operations): Remove erroneous const in aio_return and
2349         aio_return64 prototypes.
2350         (Synchronizing I/O): Fix sync prototype to return void.
2351         * manual/startup.texi (Suboptions): Remove an erroneous const in
2352         getsubopt prototype.
2353         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2354         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2355         use size_t rather than int.
2356         (Scanning All Users): Likewise for getpwent_r.
2357         (Setting Groups): Add missing const to setgroups prototype.
2358         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2359         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2360         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2361         'const void *' rather than 'const char *'.
2362         (Host Address Functions): Likewise for inet_ntop.
2363         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2364         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2365         ssize_t for return value.
2366         (Sending Data): Likewise for send, sendto, sendmsg.
2367         (Socket Option Functions): Add a missing const in setsockopt prototype.
2368         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2369         use wchar_t for the argument.
2370         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2371         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2372         take no arguments.
2373         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2374         double/float/long double for second argument.
2375         Fix return types of significand, significandf, significandl.
2376         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2377         argument in fchmod prototype.
2378         (File Owner): Use uid_t and gid_t in fchown prototype.
2379         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2380         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2381         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2382         use 'const struct dirent **' as argument types to CMP function pointer
2383         argument.
2384         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2385         (File Times): Fix summary magic @comment for struct utimbuf and utime
2386         to refer to utime.h, not time.h.
2387         * manual/string.texi (Argz Functions): Add missing const in
2388         argz_extract and argz_next prototypes.
2389         (Finding Tokens in a String): Likewise for basename.
2390         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2391         (Copying and Concatenation): Fix typo in wmemmove prototype.
2392         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2393         (Signal Stack): Remove erroneous const in sigstack prototype.
2394         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2395         prototype.
2396         (Simple Calendar Time): Likewise for stime.
2397         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2398         prototype.
2399         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2400         say sys/sysctl.h instead.
2401         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2402         and vsyslog prototypes.
2404 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2406         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2407         Remove.
2409 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2411         * misc/sys/mman.h: Fix typo in mremap comment.
2413 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2415         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2416         the '\0' terminator.
2418 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2420         [BZ #13550]
2421         * debug/segfault.c: Don't include <bp-checks.h>.
2422         * sysdeps/generic/bp-checks.h: Remove file.
2423         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2424         (__GETDENTS): Don't use CHECK_N.
2425         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2426         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2427         (__getgroups): Don't use CHECK_N.
2428         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2429         (setgroups): Don't use CHECK_N.
2430         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2431         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2432         (__libc_msgrcv): Don't use CHECK_N.
2433         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2434         (__libc_msgsnd): Don't use CHECK_N.
2435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2436         <bp-checks.h>.
2437         (__libc_pread): Don't use CHECK_N.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2439         include <bp-checks.h>.
2440         (__libc_pread64): Don't use CHECK_N.
2441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2442         include <bp-checks.h>.
2443         (__libc_pwrite): Don't use CHECK_N.
2444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2445         include <bp-checks.h>.
2446         (__libc_pwrite64): Don't use CHECK_N.
2447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2448         <bp-checks.h>.
2449         (__libc_pread): Don't use CHECK_N.
2450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2451         include <bp-checks.h>.
2452         (__libc_pread64): Don't use CHECK_N.
2453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2454         include <bp-checks.h>.
2455         (__libc_pwrite): Don't use CHECK_N.
2456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2457         include <bp-checks.h>.
2458         (__libc_pwrite64): Don't use CHECK_N.
2459         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2460         (do_pread): Don't use CHECK_N.
2461         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2462         (do_pread64): Don't use CHECK_N.
2463         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2464         (do_pwrite): Don't use CHECK_N.
2465         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2466         (do_pwrite64): Don't use CHECK_N.
2467         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2468         (__libc_readv): Don't use CHECK_N.
2469         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2470         (semop): Don't use CHECK_N.
2471         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2472         <bp-checks.h>.
2473         (semtimedop): Don't use CHECK_N.
2474         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2475         (__libc_pread): Don't use CHECK_N.
2476         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2477         <bp-checks.h>.
2478         (__libc_pread64): Don't use CHECK_N.
2479         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2480         <bp-checks.h>.
2481         (__libc_pwrite): Don't use CHECK_N.
2482         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2483         <bp-checks.h>.
2484         (__libc_pwrite64): Don't use CHECK_N.
2485         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2486         <bp-checks.h>.
2487         (__libc_msgrcv): Don't use CHECK_N.
2488         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2489         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2490         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2491         (__libc_writev): Don't use CHECK_N.
2493 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2495         * string/strcpy.c: Removed unused variable.
2497         * Makeconfig (+sysdep-includes): Define with := rather than =.
2498         Use an existing include/ subdir of each sysdeps dir before it.
2500 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2502         * nscd/connection.c (register_traced_file): Comment function.
2503         [HAVE_INOTIFY] (union __inev): Define.
2504         [HAVE_INOTIFY] (inotify_check_files): New function.
2505         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2506         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2507         clear_db_cache.
2508         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2510 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2512         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2513         loaded if not already and that a failure is permanent.
2515 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2517         [BZ #15006]
2518         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2519         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2521 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2523         [BZ #13550]
2524         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2525         (CHECK_1_NULL_OK): Likewise.
2526         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2527         (__fxstat): Do not use CHECK_1.
2528         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2529         <bp-checks.h>.
2530         (___fxstat64): Do not use CHECK_1.
2531         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2532         <bp-checks.h>.
2533         (__fxstatat): Do not use CHECK_1.
2534         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2535         <bp-checks.h>.
2536         (__fxstatat64): Do not use CHECK_1.
2537         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2538         <bp-checks.h>.
2539         (__fxstat): Do not use CHECK_1.
2540         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2541         <bp-checks.h>.
2542         (__fxstatat): Do not use CHECK_1.
2543         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2544         <bp-checks.h>.
2545         (__getresgid): Do not use CHECK_1.
2546         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2547         <bp-checks.h>.
2548         (__getresuid): Do not use CHECK_1.
2549         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2550         <bp-checks.h>.
2551         (__lxstat): Do not use CHECK_1.
2552         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2553         <bp-checks.h>.
2554         (__old_msgctl): Do not use CHECK_1.
2555         (__new_msgctl): Likewise.
2556         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2557         <bp-checks.h>.
2558         (__new_setrlimit): Do not use CHECK_1.
2559         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2560         <bp-checks.h>.
2561         (__old_shmctl): Do not use CHECK_1.
2562         (__new_shmctl): Likewise.
2563         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2564         <bp-checks.h>.
2565         (__xstat): Do not use CHECK_1.
2566         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2567         (__lxstat): Do not use CHECK_1.
2568         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2569         <bp-checks.h>.
2570         (___lxstat64): Do not use CHECK_1.
2571         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2572         (__old_msgctl): Do not use CHECK_1.
2573         (__new_msgctl): Likewise.
2574         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2575         <bp-checks.h>.
2576         (__gettimeofday): Do not use CHECK_1.
2577         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2578         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2579         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2580         <bp-checks.h>.
2581         (__gettimeofday): Do not use CHECK_1.
2582         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2583         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2584         (__new_shmctl): Do not use CHECK_1.
2585         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2586         <bp-checks.h>.
2587         (do_sigtimedwait): Do not use CHECK_1.
2588         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2589         <bp-checks.h>.
2590         (do_sigwaitinfo): Do not use CHECK_1.
2591         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2592         <bp-checks.h>.
2593         (msgctl): Do not use CHECK_1.
2594         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2595         <bp-checks.h>.
2596         (shmctl): Do not use CHECK_1.
2597         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2598         (ustat): Do not use CHECK_1.
2599         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2600         <bp-checks.h>.
2601         (__fxstat): Do not use CHECK_1.
2602         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2603         <bp-checks.h>.
2604         (__fxstatat): Do not use CHECK_1.
2605         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2606         <bp-checks.h>.
2607         (__lxstat): Do not use CHECK_1.
2608         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2609         <bp-checks.h>.
2610         (__xstat): Do not use CHECK_1.
2611         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2612         (__xstat): Do not use CHECK_1.
2613         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2614         (___xstat64): Do not use CHECK_1.
2616         [BZ #13550]
2617         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2618         definitions.
2619         (CHECK_BOUNDS_HIGH): Likewise.
2620         * string/strcpy.c: Do not include <bp-checks.h>.
2621         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2623 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2625         * nscd/nscd-client.h (__nscd_drop_map_ref):
2626         Add __attribute__ ((unused)).
2627         * nis/nss-nisplus.h (niserr2nss): Likewise.
2629         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2630         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2632         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2633         Remove inline keyword.
2634         * include/rounding-mode.h (round_away): Likewise.
2635         * libio/wfileops.c (adjust_wide_data): Likewise.
2636         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2637         (__m128i_strloadu_tolower): Likewise.
2638         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2639         (__m128i_strloadu_tolower): Likewise.
2640         * time/mktime.c (ydhms_diff): Likewise.
2641         * locale/elem-hash.h (elem_hash): Likewise.
2642         * locale/setlocale.c (setdata): Likewise.
2643         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2644         (re_string_wchar_at): Likewise.
2645         (bitset_not, bitset_merge, bitset_mask): Likewise.
2646         [!(__GNUC__ > 3)] (inline): Remove macro.
2647         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2648         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2649         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2650         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2651         * string/memcmp.c (memcmp_bytes): Likewise.
2652         * locale/programs/locarchive.c (compute_hashval): Likewise.
2653         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2654         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2655         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2656         * nss/getent.c (print_rpc, print_protocols): Likewise.
2657         (print_passwd, print_group, print_aliases): Likewise.
2658         * nis/nss-nisplus.h (niserr2nss): Likewise.
2659         * nscd/connections.c (restart_p): Likewise.
2660         Change return type to bool.
2662 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2664         * Makeconfig (all-Depend-files): Add existing
2665         $(sorted-subdirs:=/Depend) files.
2666         (all-subdirs): Remove nss.
2667         * sysdeps/unix/inet/Subdirs: Add it here instead.
2668         * hesiod/Depend: New file.
2670         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2671         instead of calling alloca.
2673         * io/lseek.c (__lseek): Rename to __libc_lseek.
2674         Define __lseek as an alias.
2676         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2678 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2680         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2681         else clause and remove check for non-standard endianness.
2683 2013-02-04  David S. Miller  <davem@davemloft.net>
2685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2687 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2689         [BZ #13550]
2690         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2691         (__ubp_memchr): Remove prototype.
2692         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2693         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2694         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2695         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2696         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2697         Remove alias.
2698         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2699         (__ubp_memchr): Likewise.
2700         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2701         (__ubp_memchr): Likewise.
2702         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2703         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2704         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2705         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2706         CHECK_STRING.
2707         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2708         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2709         (__getcwd): Do not use CHECK_STRING.
2710         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2711         <bp-checks.h>.
2712         (__real_chown): Do not use CHECK_STRING.
2713         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2714         <bp-checks.h>.
2715         (fchownat): Do not use CHECK_STRING.
2716         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2717         CHECK_STRING.
2718         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2719         <bp-checks.h>.
2720         (__lchown): Do not use CHECK_STRING.
2721         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2722         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2723         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2724         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2726         include <bp-checks.h>.
2727         (truncate64): Do not use CHECK_STRING.
2728         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2729         <bp-checks.h>.
2730         (__real_chown): Do not use CHECK_STRING.
2731         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2732         <bp-checks.h>.
2733         (__lchown): Do not use CHECK_STRING.
2734         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2735         <bp-checks.h>.
2736         (__chown): Do not use CHECK_STRING.
2737         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2738         <bp-checks.h>.
2739         (truncate64): Do not use CHECK_STRING.
2740         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2741         Likewise.
2742         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2743         (__xmknod): Do not use CHECK_STRING.
2744         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2745         <bp-checks.h>.
2746         (__xmknodat): Do not use CHECK_STRING.
2747         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2748         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2750 2013-02-04  Andreas Schwab  <schwab@suse.de>
2752         [BZ #14142]
2753         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2754         * include/netdb.h: Likewise for h_errno.
2755         * elf/tst-stackguard1.c: Include <tls.h>.
2757 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2759         * elf/link.h (struct link_map): Extend the l_addr comment.
2760         * include/link.h (struct link_map): Likewise.
2762 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
2764         [BZ #13550]
2765         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2766         (BOUNDED_1): Remove macro.
2767         * debug/backtrace.c: Don't include <bp-checks.h>.
2768         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2769         (__backtrace): Likewise.
2770         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2771         <bp-checks.h>.
2772         (__backtrace): Don't use BOUNDED_1.
2773         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2774         <bp-checks.h>.
2775         (__backtrace): Don't use BOUNDED_1.
2776         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2777         (__backtrace): Don't use BOUNDED_1.
2778         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2779         (shmat): Don't use BOUNDED_N.
2781 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
2783         [BZ #13550]
2784         * sysdeps/generic/bp-start.h: Remove file.
2785         * csu/libc-start.c: Don't include <bp-start.h>.
2786         (LIBC_START_MAIN): Set up __environ directly instead of using
2787         INIT_ARGV_and_ENVIRON.
2788         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2789         <bp-start.h>.
2791         [BZ #13550]
2792         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2793         definitions.
2794         (CHECK_FCNTL): Likewise.
2795         (CHECK_N_PAGES): Likewise.
2797         [BZ #13550]
2798         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2799         definitions.
2800         (CHECK_SIGSET_NULL_OK): Likewise.
2801         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2802         <bp-checks.h>.
2803         (sigpending): Don't use CHECK_SIGSET.
2804         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2805         <bp-checks.h>.
2806         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2807         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2808         <bp-checks.h>.
2809         (do_sigsuspend): Don't use CHECK_SIGSET.
2810         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2811         use CHECK_SIGSET.
2812         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2813         (do_sigwait): Don't use CHECK_SIGSET.
2814         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2815         use CHECK_SIGSET.
2816         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2817         include <bp-checks.h>.
2818         (sigpending): Don't use CHECK_SIGSET.
2819         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2820         include <bp-checks.h>.
2821         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2822         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2823         <bp-checks.h>.
2824         (sigpending): Don't use CHECK_SIGSET.
2825         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2826         <bp-checks.h>.
2827         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2829         [BZ #13550]
2830         * sysdeps/generic/bp-semctl.h: Remove file.
2831         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2832         <bp-checks.h> and <bp-semctl.h>.
2833         (__old_semctl): Don't use CHECK_SEMCTL.
2834         (__new_semctl): Likewise.
2835         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2836         and <bp-semctl.h>.
2837         (__old_semctl): Don't use CHECK_SEMCTL.
2838         (__new_semctl): Likewise.
2839         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2840         <bp-checks.h> and <bp-semctl.h>.
2841         (__old_semctl): Don't use CHECK_SEMCTL.
2842         (__new_semctl): Likewise.
2843         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2844         <bp-checks.h> and <bp-semctl.h>.
2845         (semctl): Don't use CHECK_SEMCTL.
2847         [BZ #13550]
2848         * Makerules (elide-bp-thunks): Remove variable.
2849         (elide-routines.oS): Don't use $(elide-bp-thunks).
2850         (elide-routines.os): Likewise.
2851         (elide-routines.o): Likewise.
2852         (elide-routines.op): Likewise.
2853         (elide-routines.og): Likewise.
2854         (objects): Don't use $(bp-thunks).
2855         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2856         include.
2857         (common-generated): Do not add s-proto-bp.d.
2858         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2859         (int): Likewise.
2860         (typ): Likewise.
2861         Do not generate makefile rules for bounded-pointer thunks.
2862         * sysdeps/generic/bp-thunks.h: Remove file.
2863         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2864         * sysdeps/unix/s-proto-bp.S: Likewise.
2866         [BZ #15062]
2867         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2868         parts of result separately when argument is not close to line from
2869         -i to i and one part of argument is small.
2870         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2871         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2872         * math/libm-test.inc (cacos_test): Add more tests.
2873         (casin_test): Likewise.
2874         (casinh_test): Likewise.
2875         * sysdeps/i386/fpu/libm-test-ulps: Update.
2876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2878 2013-01-31  David S. Miller  <davem@davemloft.net>
2880         * po/de.po: Update from translation team.
2882 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
2884         * time/tzfile.c: Include stdint.h for SIZE_MAX.
2886 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
2888         * configure.in (_AC_PROG_CC_C89): New definition.
2889         * configure: Regenerate.
2891         * configure.in (AC_PROG_CPP): New definition.
2892         * configure: Regenerate.
2894 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2896         * debug/tst-backtrace.h: New file.
2897         * debug/tst-backtrace2.c: Include tst-backtrace.h.
2898         (ret): Remove variable.
2899         (x): Likewise.
2900         (FAIL): Remove macro.
2901         (NO_INLINE): Likewise.
2902         (fn1): Use match function instead of strstr.
2903         * debug/tst-backtrace3.c: Include tst-backtrace.h.
2904         (ret): Remove variable.
2905         (x): Likewise.
2906         (FAIL): Remove macro.
2907         (NO_INLINE): Likewise.
2908         (fn): Use match function instead of strstr.
2909         * debug/tst-backtrace4.c: Include tst-backtrace.h.
2910         (ret): Remove variable.
2911         (x): Likewise.
2912         (FAIL): Remove macro.
2913         (NO_INLINE): Likewise.
2914         (handle_signal): Use match function instead of strstr.
2915         * debug/tst-backtrace5.c: Include tst-backtrace.h.
2916         (ret): Remove variable.
2917         (x): Likewise.
2918         (FAIL): Remove macro.
2919         (NO_INLINE): Likewise.
2920         (handle_signal): Use match function instead of strstr.
2922 2013-01-23  Roland McGrath  <roland@hack.frob.com>
2924         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2926 2013-01-23  David S. Miller  <davem@davemloft.net>
2928         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2929         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2930         argument of CAS if possible.
2931         * sysdeps/sparc/sparc64/bits/atomic.h
2932         (__arch_compare_and_exchange_val_32_acq): Likewise.
2933         (__arch_compare_and_exchange_val_64_acq): Likewise.
2935 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
2937         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2938         * sysdeps/posix/ulimit.c: ... this.
2939         Include <limits.h>.
2940         * sysdeps/unix/bsd/ulimit.c: Remove file.
2942 2013-01-23  Adam Conrad  <adconrad@0c3.net>
2944         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2945         (LDFLAGS-tst-array5): Likewise.
2947 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2949         [BZ #15036]
2950         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2951         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2952         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2953         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2955 2013-01-21  David S. Miller  <davem@davemloft.net>
2957         * sysdeps/sparc/backtrace.c: New file.
2958         * sysdeps/sparc/sparc32/backtrace.h: New file.
2959         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2960         * sysdeps/sparc/sparc64/backtrace.h: New file.
2961         * sysdeps/sparc/sparc64/backtrace.c: Delete.
2962         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2963         -funwind-tables.
2965 2013-01-21  Andreas Schwab  <schwab@suse.de>
2967         [BZ #15020]
2968         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2969         closed its stdout.
2971 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
2973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2974         "mpa2.h".
2975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2977 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
2978             Mark Mitchell  <mark@codesourcery.com>
2979             Tom de Vries  <tom@codesourcery.com>
2980             Paul Pluzhnikov  <ppluzhnikov@google.com>
2982         * debug/tst-backtrace2.c: New file.
2983         * debug/tst-backtrace3.c: Likewise.
2984         * debug/tst-backtrace4.c: Likewise.
2985         * debug/tst-backtrace5.c: Likewise.
2986         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2987         (CFLAGS-tst-backtrace3.c): Likewise.
2988         (CFLAGS-tst-backtrace4.c): Likewise.
2989         (CFLAGS-tst-backtrace5.c): Likewise.
2990         (LDFLAGS-tst-backtrace2): Likewise.
2991         (LDFLAGS-tst-backtrace3): Likewise.
2992         (LDFLAGS-tst-backtrace4): Likewise.
2993         (LDFLAGS-tst-backtrace5): Likewise.
2994         (tests): Add new tests tst-backtrace2, tst-backtrace3,
2995         tst-backtrace4 and tst-backtrace5.
2997 2013-01-18  Anton Blanchard  <anton@samba.org>
2998             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3000         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3001         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3002         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3003         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3005         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3006         "+r" and remove output regs list as redundant.  Add explicit inline
3007         asm to specify register of return val to work around compiler codegen
3008         bug.  Remove (int) cast on return value.  Add return type parameter to
3009         use in macro so that this macro does not truncate return value for
3010         64-bit values.
3011         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3012         pass to INTERNAL_VSYSCALL_NCS.
3013         (INLINE_VSYSCALL): Add 'long int' as return type to
3014         INTERNAL_VSYSCALL_NCS macro invocation.
3015         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3016         INTERNAL_VSYSCALL_NCS macro invocation.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3019 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3021         [BZ #14496]
3022         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3023         Fix application of SIMD FP exception mask.
3025         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3026         mp_no from a power of two.
3027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3028         __mpexp_twomm1.  Use __pow_mp.
3030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3031         multiplication.
3033 2013-01-17  David S. Miller  <davem@davemloft.net>
3035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3037 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3039         [BZ #15023]
3040         * include/complex.h: Condition contents on [!_COMPLEX_H].
3041         (__kernel_casinhf): New prototype.
3042         (__kernel_casinh): Likewise.
3043         (__kernel_casinhl): Likewise.
3044         * math/Makefile (libm_calls): Add k_casinh.
3045         * math/k_casinh.c: New file.
3046         * math/k_casinhf.c: Likewise.
3047         * math/k_casinhl.c: Likewise.
3048         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3049         finite nonzero arguments.
3050         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3051         finite nonzero arguments.
3052         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3053         finite nonzero arguments.
3054         * math/s_casinh.c: Do not include <float.h>.
3055         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3056         * math/s_casinhf.c: Do not include <float.h>.
3057         (__casinhf): Move code for finite nonzero arguments to
3058         k_casinhf.c.
3059         * math/s_casinhl.c: Do not include <float.h>.
3060         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3061         redefine.
3062         (__casinhl): Move code for finite nonzero arguments to
3063         k_casinhl.c.
3064         * math/libm-test.inc (cacos_test): Add more tests.
3065         * sysdeps/i386/fpu/libm-test-ulps: Update.
3066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3068 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3070         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3071         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3072         [!HAVE_MREMAP]: Remove [defined linux] case.
3073         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3075 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3077         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3079 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3081         * elf/elf.h (R_386_SIZE32): New relocation.
3082         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3083         R_386_SIZE32.
3084         (elf_machine_rela): Likewise.
3085         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3086         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3088 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3090         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3091         (FP_FAST_FMA): Do not define.
3092         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3093         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3094         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3095         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3096         !_SOFT_FLOAT]: Likewise.
3097         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3098         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3099         value.
3100         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3101         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3102         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3103         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3104         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3105         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3106         file.
3108 2013-01-16  Andreas Schwab  <schwab@suse.de>
3110         [BZ #14327]
3111         * include/stdlib.h (__mktemp): Add declaration.
3112         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3113         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3115 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3117         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3118         definitions.
3119         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3120         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3121         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3122         definitions here.
3123         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3124         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3125         definitions.
3126         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3127         and ONE.
3128         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3129         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3130         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3131         definitions.
3132         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3133         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3134         definitions.
3135         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3137         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3139 2013-01-15  David S. Miller  <davem@davemloft.net>
3141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3142         trunc{,f} to libm-sysdep_routes.
3143         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3145         file.
3146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3148         file.
3149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3150         file.
3151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3153         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3154         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3155         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3156         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3157         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3158         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3161         nearbyint{,f} to libm-sysdep_routes.
3162         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3164         New file.
3165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3166         file.
3167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3168         New file.
3169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3170         file.
3171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3173         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3174         file.
3175         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3176         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3177         file.
3178         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3179         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3180         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3182         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3183         libc_feholdexcept and libc_fesetenv.
3185 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3187         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3189 2013-01-14  David S. Miller  <davem@davemloft.net>
3191         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3192         (SPARC_ASM_VIS2_IFUNC): Likewise.
3193         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3195         use of 'siam' instruction.
3196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3197         Likewise.
3198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3199         Likewise.
3200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3201         Likewise.
3202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3207         file.
3208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3209         file.
3210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3211         file.
3212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3213         file.
3214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3216         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3217         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3219         new VIS2 routines.
3220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3223         Likewise.
3224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3229         routines to libm-sysdep_routines.
3230         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3233         fdim/fdimf to libm-sysdep_routines.
3234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3235         file.
3236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3238         file.
3239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3242         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3243         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3244         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3245         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3247 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3249         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3250         to optimize copies.
3252         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3257         local variable MPTWO.
3258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3259         Likewise.
3261 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3263         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3264         GLOB_NOESCAPE.
3266 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3268         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3270 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3272         * manual/pattern.texi (glob_t): Document gl_flags.
3273         (glob64_t): Likewise.
3275 2013-01-11  David S. Miller  <davem@davemloft.net>
3277         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3278         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3279         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3280         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3281         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3282         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3283         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3284         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3285         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3286         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3287         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3288         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3289         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3291         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3292         sparc V9 rather than using V8 code.
3293         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3294         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3296         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3297         Move to...
3298         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3299         Here.
3301 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3303         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3304         not in the main loop.
3305         * configure: Regenerated.
3307 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3309         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3310         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3311         to just #else.
3312         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3313         [!__GLIBC_HAVE_LONG_LONG] case.
3314         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3315         condition to just #else.
3316         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3317         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3318         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3319         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3320         unconditional.
3321         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3322         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3323         #elif condition to just #else.
3324         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3325         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3326         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3327         #elif condition to just #else.
3329 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3331         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3332         (EF_MIPS_ARCH_64): Fix value.
3333         (EF_MIPS_ARCH_32R2): New.
3334         (EF_MIPS_ARCH_64R2): New.
3336 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3338         * Makeconfig (+link-pie-before-libc): New.
3339         (+link-pie-after-libc): Likewise.
3340         (+link-pie-tests): Likewise.
3341         (+link-pie): Rewritten.
3342         (link-before-libc): Remove $(config-LDFLAGS).
3343         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3344         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3345         (config-LDFLAGS): Renamed to ...
3346         (rtld-LDFLAGS): This.
3347         (rtld-tests-LDFLAGS): New macro.
3348         (link-libc-rpath-link): Likewise.
3349         (link-libc-tests-rpath-link): Likewise.
3350         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3351         (link-libc): Prepand $(link-libc-rpath-link).
3352         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3353         (test-program-prefix): New macro.
3354         (test-via-rtld-prefix): Likewise.
3355         (test-program-cmd): Likewise.
3356         (host-test-program-cmd): Likewise.
3357         * Makefile ($(common-objpfx)testrun.sh): Replace
3358         $(run-program-prefix) with $(test-program-prefix).
3359         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3360         $(rtld-LDFLAGS).
3361         ($(common-objpfx)shlib.lds): Likewise.
3362         (build-module-helper): Likewise.
3363         ($(common-objpfx)format.lds): Likewise.
3364         * Rules (binaries-pie-tests): New.
3365         (binaries-pie-notests): Likewise.
3366         (binaries-pie): Rewritten.
3367         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3368         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3369         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3370         (make-test-out): Replace $(host-built-program-cmd) with
3371         $(host-test-program-cmd).
3372         * config.make.in (build-hardcoded-path-in-tests): New variable.
3373         * configure.in (--enable-hardcoded-path-in-tests): New configure
3374         option.
3375         (hardcoded_path_in_tests): New AC_SUBST.
3376         * configure: Regenerated.
3377         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3378         $(built-program-cmd) with $(test-program-cmd).
3379         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3380         (test_program_cmd): This.
3381         * elf/Makefile ($(objpfx)order.out): Run test with
3382         $(test-program-prefix).
3383         ($(objpfx)order2.out): Likewise.
3384         ($(objpfx)tst-initorder.out): Likewise.
3385         ($(objpfx)tst-initorder2.out): Likewise.
3386         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3387         $(test-program-cmd).
3388         ($(objpfx)tst-array1-static.out): Likewise.
3389         ($(objpfx)tst-array2.out): Likewise.
3390         ($(objpfx)tst-array3.out): Likewise.
3391         ($(objpfx)tst-array4.out): Likewise.
3392         ($(objpfx)tst-array5.out): Likewise.
3393         ($(objpfx)tst-array5-static.out): Likewise.
3394         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3395         $(test-program-cmd).
3396         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3397         $(run-program-prefix) with $(test-program-prefix).
3398         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3399         (test_program_prefix): This.
3400         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3401         $(run-program-prefix) with $(test-program-prefix).
3402         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3403         (test_program_prefix): This.
3404         * iconvdata/tst-tables.sh: Likewise.
3405         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3406         $(run-program-prefix) with $(test-program-prefix).
3407         ($(objpfx)tst-translit.out): Likewise.
3408         ($(objpfx)tst-gettext2.out): Likewise.
3409         ($(objpfx)tst-gettext4.out): Likewise.
3410         ($(objpfx)tst-gettext6.out): Likewise.
3411         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3412         (test_program_prefix): This.
3413         * intl/tst-gettext2.sh: Likewise.
3414         * intl/tst-gettext4.sh  Likewise.
3415         * intl/tst-gettext6.sh: Likewise.
3416         * intl/tst-translit.sh: Likewise.
3417         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3418         with $(test-program-cmd).
3419         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3420         $(run-program-prefix) with $(test-program-prefix).
3421         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3422         (test_program_prefix): This.
3423         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3424         $(run-program-prefix) with $(test-program-prefix).
3425         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3426         (test_program_prefix): This.
3427         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3428         * posix/Makefile ($(objpfx)globtest.out): Replace
3429         $(run-via-rtld-prefix) and $(test-wrapper) with
3430         $(test-program-prefix) and $(test-via-rtld-prefix).
3431         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3432         $(test-program-prefix).
3433         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3434         $(host-test-program-cmd).
3435         (tst-spawn-ARGS): Likewise.
3436         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3437         $(test-program-prefix).
3438         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3439         (test_via_rtld_prefix): This.
3440         (test_wrapper): Renamed to ...
3441         (test_program_prefix): This.
3442         (run_program_prefix): Replaced by test_program_prefix.
3443         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3444         (test_program_prefix): This.
3445         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3446         with $(host-test-program-cmd).
3447         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3448         $(run-program-prefix) with $(test-program-prefix).
3449         ($(objpfx)tst-printf.out): Likewise.
3450         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3451         $(test-program-cmd).
3452         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3453         (test_program_prefix): This.
3454         * stdio-common/tst-unbputc.sh: Likewise.
3455         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3456         $(run-program-prefix) with $(test-program-prefix).
3457         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3458         (test_program_prefix): This.
3459         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3460         $(built-program-cmd) with $(test-program-cmd).
3462 2013-01-11  Andreas Jaeger  <aj@suse.de>
3464         [BZ #15003]
3465         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3466         value. Sync with Linux 3.7.
3468 2013-01-10  David S. Miller  <davem@davemloft.net>
3470         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3471         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3472         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3474 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3476         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3477         never set.
3478         * configure: Regenerated.
3480 2013-01-10  David S. Miller  <davem@davemloft.net>
3482         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3483         sparc V9 rather than using V8 code.
3484         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3485         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3487 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3489         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3490         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3491         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3492         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3493         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3494         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3495         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3496         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3497         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3498         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3499         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3500         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3501         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3502         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3503         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3504         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3505         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3506         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3507         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3508         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3509         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3510         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3511         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3512         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3513         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3514         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3515         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3517 2013-01-10  David S. Miller  <davem@davemloft.net>
3519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3521 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3523         * posix/Makefile (tests-static): New variable.
3524         (tests): Add $(tests-static).
3525         (tst-exec-static-ARGS): New variable.
3526         (tst-spawn-static-ARGS): Likewise.
3527         * posix/tst-exec-static.c: New file.
3528         * posix/tst-spawn-static.c: Likewise.
3529         * posix/tst-exec.c: Support run directly.
3530         * posix/tst-spawn.c: Likewise.
3532 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3534         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3535         long.
3536         * math/bits/mathcalls.h (llrint): Likewise.
3537         (llround): Likewise.
3538         * stdlib/stdlib.h (struct drand48_data): Likewise.
3539         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3540         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3541         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3542         Likewise.
3543         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3544         Likewise.
3545         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3546         (elf_greg_t): Likewise.
3547         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3548         (__jmp_buf): Likewise.
3549         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3550         definitions.
3551         (llrint): Likewise, for all definitions.
3552         (llrintl): Likewise.
3554         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3555         Remove [__GNUC__] condition.
3556         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3557         condition to just [__USE_ISOC99].
3558         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3560 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3562         [BZ #14200]
3563         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3564         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3565         defined.
3566         (_POSIX_V6_ILP32_OFF32): Likewise.
3567         (_XBS5_ILP32_OFF32): Likewise.
3568         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3569         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3571 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3573         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3575         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3576         doubles __mpexp_twomm1.  Adjust usage.
3577         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3578         Remove.
3580 2013-01-10  Andreas Schwab  <schwab@suse.de>
3582         [BZ #14964]
3583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3584         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3586 2013-01-09  David S. Miller  <davem@davemloft.net>
3588         [BZ #15003]
3589         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3590         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3591         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3592         TCP_FASTOPEN): Define.
3593         (tcp_repair_opt): New structure.
3594         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3595         enum values.
3596         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3597         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3598         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3599         (tcp_cookie_transactions): New structure.
3601 2013-01-09  Anton Blanchard  <anton@samba.org>
3603         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3604         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3605         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3606         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3608 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3610         * include/features.h (__USE_ANSI): Remove.
3612 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3614         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3616         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3618 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3620         * sysdeps/s390/fpu/libm-test-ulps: Update.
3622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3624         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3625         (__acr): Likewise.
3626         (__cpy): Likewise.
3627         (norm): Likewise.
3628         (denorm): Likewise.
3629         (__mp_dbl): Likewise.
3630         (__dbl_mp): Likewise.
3631         (add_magnitudes): Likewise.
3632         (sub_magnitudes): Likewise.
3633         (__add): Likewise.
3634         (__sub): Likewise.
3635         (__mul): Likewise.
3636         (__inv): Likewise.
3637         (__dvd): Likewise.
3638         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3639         (__acr): Likewise.
3640         (__cpy): Likewise.
3641         (norm): Likewise.
3642         (denorm): Likewise.
3643         (__mp_dbl): Likewise.
3644         (__dbl_mp): Likewise.
3645         (add_magnitudes): Likewise.
3646         (sub_magnitudes): Likewise.
3647         (__add): Likewise.
3648         (__sub): Likewise.
3649         (__mul): Likewise.
3650         (__inv): Likewise.
3651         (__dvd): Likewise.
3652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3653         (__acr): Likewise.
3654         (__cpy): Likewise.
3655         (norm): Likewise.
3656         (denorm): Likewise.
3657         (__mp_dbl): Likewise.
3658         (__dbl_mp): Likewise.
3659         (add_magnitudes): Likewise.
3660         (sub_magnitudes): Likewise.
3661         (__add): Likewise.
3662         (__sub): Likewise.
3663         (__mul): Likewise.
3664         (__inv): Likewise.
3665         (__dvd): Likewise.
3667 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3669         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3670         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3671         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3672         2 && __USE_EXTERN_INLINES]: Likewise.
3674 2013-01-08  Andreas Jaeger  <aj@suse.de>
3676         [BZ# 14985]
3677         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3678         Remove.
3679         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3680         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3682 2013-01-07  Anton Blanchard  <anton@samba.org>
3684         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3685         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3686         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3687         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3688         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3689         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3690         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3691         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3693         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3694         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3695         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3696         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3697         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3698         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3699         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3700         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3701         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3702         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3703         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3704         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3705         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3707         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3708         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3709         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3710         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3711         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3712         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3713         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3714         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3716         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3717         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3718         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3719         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3720         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3721         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3722         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3723         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3724         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3725         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3726         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3728 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
3730         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3731         (__MALLOC_PMT): Likewise.
3732         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3733         [__GNUC__], only on [_LIBC].
3734         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3735         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3736         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3737         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3738         forward declaration.
3739         (realloc_hook_ini): Likewise.
3740         (memalign_hook_ini): Likewise.
3741         (__libc_memalign): Do not use __MALLOC_PMT in variable
3742         declaration.
3743         (__libc_valloc): Likewise.
3744         (__libc_pvalloc): Likewise.
3745         (__libc_calloc): Likewise.
3746         (__posix_memalign): Likewise.
3748         [BZ #14996]
3749         * math/s_casinh.c: Include <float.h>.
3750         (__casinh): Do not do computation with squaring and square root
3751         for large arguments.
3752         * math/s_casinhf.c: Include <float.h>.
3753         (__casinhf): Do not do computation with squaring and square root
3754         for large arguments.
3755         * math/s_casinhl.c: Include <float.h>.
3756         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3757         (__casinhl): Do not do computation with squaring and square root
3758         for large arguments.
3759         * math/libm-test.inc (casin_test): Add more tests.
3760         (casinh_test): Likewise.
3761         * sysdeps/i386/fpu/libm-test-ulps: Update.
3762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3764 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3766         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3767         (__x86_64_raw_data_cache_size): Likewise.
3768         (__x86_64_data_cache_size_half): Likewise.
3769         (__x86_64_raw_data_cache_size_half): Likewise.
3770         (__x86_64_shared_cache_size): Likewise.
3771         (__x86_64_raw_shared_cache_size): Likewise.
3772         (__x86_64_shared_cache_size_half): Likewise.
3773         (__x86_64_raw_shared_cache_size_half): Likewise.
3774         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3775         to ...
3776         (__x86_data_cache_size): This.
3777         (__x86_64_raw_data_cache_size): Renamed to ...
3778         (__x86_raw_data_cache_size): This.
3779         (__x86_64_data_cache_size_half): Renamed to ...
3780         (__x86_data_cache_size_half): This.
3781         (__x86_64_raw_data_cache_size_half): Renamed to ...
3782         (__x86_raw_data_cache_size_half): This.
3783         (__x86_64_shared_cache_size): Renamed to ...
3784         (__x86_shared_cache_size): This.
3785         (__x86_64_raw_shared_cache_size): Renamed to ...
3786         (__x86_raw_shared_cache_size): This.
3787         (__x86_64_shared_cache_size_half): Renamed to ...
3788         (__x86_shared_cache_size_half): This.
3789         (__x86_64_raw_shared_cache_size_half): Renamed to ...
3790         (__x86_raw_shared_cache_size_half): This.
3791         * sysdeps/x86_64/memcpy.S: Updated.
3792         * sysdeps/x86_64/memset.S: Likewise.
3793         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3794         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3795         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3797 2013-01-04  David S. Miller  <davem@davemloft.net>
3799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3801 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3803         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3804         1 to avoid redefinition warning.
3805         (__USE_GNU): Don't define.
3806         (init_signaling_nan): Protoize.
3808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3810 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3812         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3814         (__cpymn): Likewise.
3815         (norm): Remove commented code.
3816         (denorm): Likewise.
3817         (__mp_dbl): Likewise.
3818         (__inv): Likewise.
3819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3820         (__cpymn): Likewise.
3821         (norm): Remove commented code.
3822         (denorm): Likewise.
3823         (__mp_dbl): Likewise.
3824         (__inv): Likewise.
3826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3827         mp_no value for 1.0 and 2.0.
3828         (norm): Use RADIXI instead of radixi.d.
3829         (denorm): Likewise.
3830         (__mul): Use 0.0 instead of zero.d.
3831         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3832         mp_no value for 1.0 and 2.0.
3833         (norm): Use RADIXI instead of radixi.d.
3834         (denorm): Likewise.
3835         (__mul): Use 0.0 instead of zero.d.
3837 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
3839         [BZ #14994]
3840         * math/s_casinh.c (__casinh): Reduce finite argument to first
3841         quadrant then set signs of results at the end.
3842         * math/s_casinhf.c (__casinhf): Likewise.
3843         * math/s_casinhl.c (__casinhl): Likewise.
3844         * math/libm-test.inc (casin_test): Add more tests.
3845         (casinh_test): Likewise.
3846         * sysdeps/i386/fpu/libm-test-ulps: Update.
3847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3849 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3851         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3853         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3855         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3856         declarations.
3857         (denorm): Likewise.
3858         (__mp_dbl): Likewise.
3859         (__inv): Likewise.
3861         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3862         and adjust the header comment.
3864         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3865         variable name from declaration.
3867 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
3869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3870         Initialize COMMON_CPUID_INDEX_7 element.
3871         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3872         (CPUID_RTM): Likewise.
3873         (HAS_RTM): Likewise.
3874         (COMMON_CPUID_INDEX_7): New enum.
3876 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
3878         [BZ #14981]
3879         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3880         size is zero, record memory as freed.
3882 2013-01-03  Andreas Jaeger  <aj@suse.de>
3884         * po/ia.po: Add new Interlingua translation.
3886 2012-01-03  Allan McRae  <allan@archlinux.org>
3888         * locale/programs/localedef.c: Fix description of '--posix' flag.
3890 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
3892         * NEWS: Update dates in second copyright notice.
3893         * README: Update copyright dates in example.
3894         * manual/libc.texinfo: Update copyright dates.
3895         * scripts/test-installation.pl: Update copyright date in --version
3896         output.
3898         * hurd/ctty-input.c: Fix copyright notice formatting.
3899         * hurd/ctty-output.c: Likewise.
3900         * hurd/dtable.c: Likewise.
3901         * hurd/hurd-raise.c: Likewise.
3902         * hurd/hurdprio.c: Likewise.
3903         * hurd/msgportdemux.c: Likewise.
3904         * misc/sys/file.h: Likewise.
3905         * misc/sys/ioctl.h: Likewise.
3906         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3907         * sysdeps/mach/hurd/chdir.c: Likewise.
3908         * sysdeps/mach/hurd/fchdir.c: Likewise.
3909         * sysdeps/mach/hurd/rename.c: Likewise.
3910         * sysdeps/mach/hurd/rmdir.c: Likewise.
3911         * sysdeps/mach/hurd/seekdir.c: Likewise.
3912         * sysdeps/mach/hurd/setsid.c: Likewise.
3913         * sysdeps/posix/wait3.c: Likewise.
3915         * All files with FSF copyright notices: Update copyright dates
3916         using scripts/update-copyrights.
3917         * intl/plural.c: Regenerated.
3918         * locale/programs/charmap-kw.h: Likewise.
3919         * locale/programs/locfile-kw.h: Likewise.
3921 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3923         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3924         four values.
3926         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3927         calculation loop and add branch prediction.
3929         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3930         check access beyond bounds of m1np.
3932         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3933         MPTWO.
3934         (__inv): Remove local variable MPTWO to use the global
3935         constant.
3936         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3937         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3938         variable MPTWO.
3939         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3940         MP3HALFS static const.
3942 2013-01-01  David S. Miller  <davem@davemloft.net>
3944         * po/ca.po: Update from translation team.
3946 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
3948         * scripts/update-copyrights: New file.
3949         * Makeconfig: Reformat copyright notice.
3950         * ctype/ctype.h: Likewise.
3951         * debug/swprintf_chk.c: Likewise.
3952         * elf/dl-cache.c: Likewise.
3953         * elf/dl-debug.c: Likewise.
3954         * elf/dl-object.c: Likewise.
3955         * grp/initgroups.c: Likewise.
3956         * hurd/Makefile: Likewise.
3957         * hurd/hurd/signal.h: Likewise.
3958         * hurd/hurdfault.c: Likewise.
3959         * hurd/hurdioctl.c: Likewise.
3960         * hurd/hurdlookup.c: Likewise.
3961         * hurd/intr-msg.c: Likewise.
3962         * iconv/gconv_open.c: Likewise.
3963         * libio/swprintf.c: Likewise.
3964         * locale/lc-ctype.c: Likewise.
3965         * locale/nl_langinfo.c: Likewise.
3966         * mach/Machrules: Likewise.
3967         * mach/Makefile: Likewise.
3968         * malloc/obstack.h: Likewise.
3969         * manual/Makefile: Likewise.
3970         * manual/tsort.awk: Likewise.
3971         * misc/bits/stab.def: Likewise.
3972         * nis/nis_print_group_entry.c: Likewise.
3973         * nis/nis_table.c: Likewise.
3974         * nis/nss_compat/compat-pwd.c: Likewise.
3975         * nis/nss_compat/compat-spwd.c: Likewise.
3976         * po/Makefile: Likewise.
3977         * posix/fnmatch.c: Likewise.
3978         * posix/regex.h: Likewise.
3979         * resolv/Makefile: Likewise.
3980         * resolv/nss_dns/dns-network.c: Likewise.
3981         * resolv/res_hconf.c: Likewise.
3982         * scripts/gen-sorted.awk: Likewise.
3983         * soft-fp/soft-fp.h: Likewise.
3984         * stdio-common/printf.h: Likewise.
3985         * stdlib/monetary.h: Likewise.
3986         * stdlib/random.c: Likewise.
3987         * stdlib/random_r.c: Likewise.
3988         * sysdeps/generic/Makefile: Likewise.
3989         * sysdeps/gnu/Makefile: Likewise.
3990         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3991         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3992         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3993         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3994         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3995         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3996         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3997         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3998         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3999         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4000         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4001         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4002         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4003         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4004         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4005         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4006         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4007         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4008         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4009         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4010         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4011         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4012         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4013         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4014         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4015         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4016         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4017         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4018         * sysdeps/mach/hurd/errnos.awk: Likewise.
4019         * sysdeps/mach/hurd/fork.c: Likewise.
4020         * sysdeps/mach/hurd/getcwd.c: Likewise.
4021         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4022         * sysdeps/mach/hurd/mmap.c: Likewise.
4023         * sysdeps/mach/hurd/utimes.c: Likewise.
4024         * sysdeps/mach/hurd/xmknod.c: Likewise.
4025         * sysdeps/posix/profil.c: Likewise.
4026         * sysdeps/posix/readdir_r.c: Likewise.
4027         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4028         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4029         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4030         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4032         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4033         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4034         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4036         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4037         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4038         * sysdeps/pthread/lio_listio.c: Likewise.
4039         * sysdeps/sparc/dl-procinfo.h: Likewise.
4040         * sysdeps/unix/i386/sysdep.S: Likewise.
4041         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4042         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4043         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4044         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4046         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4047         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4048         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4049         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4050         * sysdeps/wordsize-32/divdi3.c: Likewise.
4051         * time/sys/time.h: Likewise.
4052         * wcsmbs/Makefile: Likewise.
4054 2013-01-01  David S. Miller  <davem@davemloft.net>
4056         * po/fr.po: Update from translation team.
4058         * catgets/gencat.c: Update copyright year.
4059         * csu/version.c: Likewise.
4060         * debug/catchsegv.sh: Likewise.
4061         * debug/pcprofiledump.c: Likewise.
4062         * debug/xtrace.sh: Likewise.
4063         * elf/ldconfig.c: Likewise.
4064         * elf/ldd.bash.in: Likewise.
4065         * elf/pldd.c: Likewise.
4066         * elf/sotruss.ksh: Likewise.
4067         * elf/sprof.c: Likewise.
4068         * iconv/iconv_prog.c: Likewise.
4069         * iconv/iconvconfig.c: Likewise.
4070         * locale/programs/locale.c: Likewise.
4071         * locale/programs/localedef.c: Likewise.
4072         * login/programs/pt_chown.c: Likewise.
4073         * malloc/memusage.sh: Likewise.
4074         * malloc/memusagestat.c: Likewise.
4075         * malloc/mtrace.pl: Likewise.
4076         * nscd/nscd.c: Likewise.
4077         * nss/getent.c: Likewise.
4078         * nss/makedb.c: Likewise.
4079         * posix/getconf.c: Likewise.
4081 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4083         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4084         numbers.
4086 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4088         * math/bits/mathcalls.h (modf): Use __nonnull.
4090 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4092         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4093         (split): Use macro CN instead of the bare value.
4094         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4095         could be used.
4096         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4097         instead of the bare value.
4098         (power1): Likewise.
4100 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4102         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4103         __ATAN_TWOM.
4104         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4106         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4107         their values.
4108         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4109         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4110         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4111         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4113 2012-12-28  Andreas Jaeger  <aj@suse.de>
4115         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4116         values are from Linux 3.7.
4118         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4119         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4121 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4123         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4124         TRUE case.
4126         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4127         (norm): Likewise.
4128         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4129         variables with preprocessor constants.
4130         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4131         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4132         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4134 2012-12-27  Bruno Haible  <bruno@clisp.org>
4136         [BZ #14317]
4137         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4138         only if needed.
4140 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4142         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4143         and use variable directly.
4144         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4146         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4147         MPONE.
4148         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4149         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4150         variable MPONE.
4151         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4152         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4153         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4154         include directive.  Remove local variable MPONE.
4155         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4156         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4157         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4159 2012-12-25  David S. Miller  <davem@davemloft.net>
4161         * version.h (RELEASE): Set to "development".
4162         (VERSION): Set to "2.17.90".
4163         * NEWS: Add 2.18 section.
4165 2012-12-21  David S. Miller  <davem@davemloft.net>
4167         * po/hr.po: Update from translation team.
4169 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4171         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4173 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4175         * NEWS:  Mention new memcpy for MIPS.
4177 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4179         * manual/contrib.texi (Contributors): Spelling correction.
4181 2012-12-15  David S. Miller  <davem@davemloft.net>
4183         * po/ru.po: Update from translation team.
4185 2012-12-13  David S. Miller  <davem@davemloft.net>
4187         * NEWS: Mention IFUNC testsuite enhancements.
4189         * po/pl.po: Update from translation team.
4190         * po/bg.po: Likewise.
4192         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4193         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4195 2012-12-11  David S. Miller  <davem@davemloft.net>
4197         * po/sv.po: Update from translation team.
4199         * po/vi.po: Update from translation team.
4201         * po/cs.po: Update from translation team.
4203         * po/de.po: Update from translation team.
4204         * po/eo.po: Likewise.
4205         * po/nl.po: Likewise.
4207 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4209         [BZ #14246]
4210         * manual/argp.texi (Argp Helper Functions): Move node to follow
4211         Argp Parsing State.
4213         [BZ #14872]
4214         * manual/conf.texi (Limits on File System Capacity): Mention if
4215         terminating null is included in the max size.
4217 2012-12-10  Andreas Jaeger  <aj@suse.de>
4219         * po/cs.po: Update from translation team.
4221 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4223         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4224         void pointer and cast to uintptr_t.
4225         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4226         path.
4227         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4228         * sysdeps/s390/s390-64/memset.S: Likewise.
4230 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4232         [BZ #14833]
4233         * menual/message.texi (Message Translation): Fix typos.
4234         (Helper programs for gettext): Likewise.
4236 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4238         [BZ #14898]
4239         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4240         Change to -1.
4242 2012-12-07  David S. Miller  <davem@davemloft.net>
4244         * po/libc.pot: Update.
4246 2012-12-07  Richard Henderson  <rth@redhat.com>
4248         [BZ #10114]
4249         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4250         normal/normal case to before the switch.
4251         (_FP_DIV): Likewise.
4253 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4254             Mike Frysinger  <vapier@gentoo.org>
4256         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4257         check for __NR_fadvise64_64.
4259 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4261         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4262         0, not just to plain "0" as a statement.
4263         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4264         with cw.
4266 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4268         * NEWS: Use sourceware.org in Bugzilla URL.
4270 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4273         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4275         * stdio-common/tst-put-error.c (do_test): Add newline to the
4276         padded test to ensure flush.
4278 2012-12-05  Jeff Law  <law@redhat.com>
4280         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4282 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4284         * README: Don't refer to ports add-on as distributed separately.
4285         Mention AArch64 in list of systems supported in the ports add-on.
4287         * LICENSES: Add more non-FSF copyright and license notices.
4289         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4290         ((unused)).
4292         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4294         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4295         10000 as width of padded output.
4297 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4299         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4301         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4302         variable LX with __attribute__ ((unused)).
4303         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4304         Likewise.
4305         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4306         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4307         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4308         with __attribute__ ((unused)).
4310 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4312         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4314 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4316         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4317         (CFLAGS-nldbl-acos.c): New variable.
4318         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4319         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4320         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4321         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4322         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4323         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4324         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4325         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4326         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4327         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4328         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4329         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4330         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4331         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4332         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4333         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4334         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4335         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4336         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4337         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4338         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4339         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4340         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4341         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4342         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4343         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4344         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4345         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4346         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4347         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4348         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4349         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4350         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4351         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4352         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4353         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4354         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4355         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4356         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4357         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4358         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4359         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4360         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4361         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4362         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4363         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4364         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4365         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4366         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4367         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4368         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4369         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4370         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4371         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4372         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4373         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4374         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4375         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4376         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4377         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4378         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4379         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4380         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4381         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4382         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4383         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4384         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4385         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4386         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4387         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4388         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4389         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4390         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4391         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4392         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4393         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4394         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4395         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4396         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4397         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4398         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4399         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4400         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4401         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4402         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4403         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4404         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4405         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4406         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4407         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4408         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4409         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4410         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4411         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4412         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4413         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4414         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4417         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4419         [BZ #14914]
4420         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4421         whole low double instead of just low 47 bits when splitting values
4422         into two parts.
4424 2012-12-03  Allan McRae  <allan@archlinux.org>
4426         * manual/stdio.texi (Predefined Printf Handlers): Remove
4427         @hsep and @vsep usage.
4429 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4431         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4432         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4434 2012-12-03  Jeff Law  <law@redhat.com>
4436         * time/sys/time.h (settimeofday): Do not mark TV argument
4437         as __nonnull.
4439 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4441         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4442         when currently writing and seek to current position when not.
4443         * libio/Makefile (tests): Remove bug-fclose1.
4444         * libio/bug-fclose1.c: Delete.
4446 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4448         * manual/arith.texi (feenableexcept): Fix typo.
4449         (fedisableexcept): Likewise.
4451 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4453         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4454         second, differently-typed declaration, rather than a cast.
4456 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4458         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4459         * include/rpc/svc.h: ... here.
4461 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4463         [BZ #13013]
4464         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4465         depending n and resplen2 to catch cases where answer
4466         equals answerp2.
4468 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4470         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4471         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4473 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4475         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4477 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4479         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4481 2012-11-28  Jeff Law  <law@redhat.com>
4483         [BZ #13761]
4484         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4485         dataset_temporary.  Track alloca usage into alloca_used.
4486         If dataset is large allocate and release it via malloc/free.
4488 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4490         [BZ #14197]
4491         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4493 2012-11-28  David S. Miller  <davem@davemloft.net>
4495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4497 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4499         [BZ #14803]
4500         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4501         of pi/2 rounded to nearest to 64 bits.
4502         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4503         nearest to 64 bits.
4504         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4505         bits.
4507 2012-11-28  Jeff Law <law@redhat.com>
4508             Martin Osvald <mosvald@redhat.com>
4510         [BZ #14889]
4511         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4512         * sunrpc/svc.c: Include time.h.
4513         (__svc_accept_failed): New function.
4514         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4515         any reason other than EINTR, call __svc_accept_failed.
4516         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4517         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4519 2012-11-28  Andreas Schwab  <schwab@suse.de>
4521         * scripts/abilist.awk: Also handle indirect functions in .opd
4522         section.
4524 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4526         [BZ #13881]
4527         * sysdeps/x86/fpu/powl_helper.c: New file.
4528         * sysdeps/x86/fpu/Makefile: Likewise.
4529         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4530         (p3): New object.
4531         (__ieee754_powl): Use __powl_helper for finite arguments except
4532         integer exponents below 8.
4533         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4534         (p3): New object.
4535         (__ieee754_powl): Use __powl_helper for finite arguments except
4536         integer exponents below 8.
4537         * math/libm-test.inc (pow_test): Add more tests and enable some
4538         previously disabled tests.
4539         * sysdeps/i386/fpu/libm-test-ulps: Update.
4540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4542 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4543             Carlos O'Donell  <carlos_odonell@mentor.com>
4545         * nss/makedb.c (is_prime): Assert that input is odd and greater
4546         than 4.  Note that fact in a comment too.
4547         (next_prime): Add 4 to input.
4549 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4551         [BZ #11741]
4552         * libio/Makefile (tests): Add test case tst-fwrite-error.
4553         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4554         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4555         * libio/tst-fwrite-error.c: New test case.
4557 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4559         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4560         before casting to void *.
4561         * include/libc-internal.h (__pointer_type): New macro.
4562         (__integer_if_pointer_type_sub): Likewise.
4563         (__integer_if_pointer_type): Likewise.
4564         (cast_to_integer): Likewise.
4565         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4566         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4567         before casting to atomic64_t.
4568         (atomic_exchange_acq): Likewise.
4569         (__arch_exchange_and_add_body): Likewise.
4570         (__arch_add_body): Likewise.
4571         (atomic_add_negative): Likewise.
4572         (atomic_add_zero): Likewise.
4574 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4576         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4577         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4578         (add_fdes): Likewise.
4579         (linear_search_fdes): Likewise.
4580         (binary_search_unencoded_fdes): Likewise.
4582 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4584         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4586 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4588         * configure.in: Autodetect C++ header directories.
4589         * configure: Regenerated.
4591 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4593         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4595 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4599 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4601         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4602         LDBL_MANT_DIG == 106]: Disable some tests.
4603         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4604         Likewise.
4605         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4606         Likewise.
4608         [BZ #14871]
4609         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4610         input for small inputs.  Return +/- pi/2 for large inputs.
4611         * math/libm-test.inc (atan_test): Add more tests.
4613         * sysdeps/generic/unwind-dw2-fde-glibc.c
4614         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4615         __attribute__ ((unused)).
4617         [BZ #14645]
4618         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4619         x * y if x and y are nonzero and z is zero.
4621         [BZ #14811]
4622         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4623         nonzero exponents with absolute value below 0x1p-117 to +/-
4624         0x1p-117.
4626         [BZ #14869]
4627         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4628         up arguments below 2**-450, not just those below 2**-500.
4629         * math/libm-test.inc (hypot_test): Add another test.
4631         [BZ #14868]
4632         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4633         Return a+b for ratio over 2**120, not 2**60.
4634         * math/libm-test.inc (hypot_test): Add another test.
4636         * math/libm-test.inc (clog_test): Use
4637         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4638         (clog10_test): Likewise.
4640         [BZ #6778]
4641         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4643 2012-11-22  Andreas Schwab  <schwab@suse.de>
4645         * sysdeps/i386/fpu/libm-test-ulps: Update.
4647 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4649         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4650         printf output with newline.
4652 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4654         [BZ #14865]
4655         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4656         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4657         -z nodlopen, -z initfirst and -z execstack support.
4658         * configure: Regenerated.
4660         * elf/elf.h (DF_1_NODIRECT): New macro.
4661         (DF_1_IGNMULDEF): Likewise.
4662         (DF_1_NOKSYMS): Likewise.
4663         (DF_1_NOHDR): Likewise.
4664         (DF_1_EDITED): Likewise.
4665         (DF_1_NORELOC): Likewise.
4666         (DF_1_SYMINTPOSE): Likewise.
4667         (DF_1_GLOBAUDIT): Likewise.
4668         (DF_1_SINGLETON): Likewise.
4669         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4670         DT_1_SUPPORTED_MASK bits.
4671         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4673 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4675         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4677 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4679         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4680         macro.
4682         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4683         (sendmmsg): Move declarations...
4684         * socket/sys/socket.h: ... here.
4685         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4686         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4687         include it from...
4688         * socket/recvmmsg.c: ... this new file.
4689         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4690         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4691         definition of __sendmmsg hidden.
4692         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4693         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4694         Move ENOSYS stub into and include it from...
4695         * socket/sendmmsg.c: ... this new file.
4696         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4697         (sysdep_routines): Move recvmmsg and sendmmsg...
4698         * socket/Makefile (routines): ... here.
4699         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4700         (GLIBC_PRIVATE): Add __sendmmsg.
4701         * include/sys/socket.h (__sendmmsg): Add declarations.
4702         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4703         sendmmsg.
4705 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4707         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4708         variable I1 with __attribute__ ((unused)).
4709         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4711 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4713         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4714         DUMMY variables with __attribute__ ((unused)).
4716         * bits/byteswap.h: Include <bits/types.h>.
4717         (__bswap_64): Use __uint64_t instead of unsigned long long int.
4719 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4721         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4722         string_t.  Do not manually set errno.
4723         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4724         length with __strnlen.  Make sure to both set errno and return it on
4725         failure.
4727 2012-11-19  David S. Miller  <davem@davemloft.net>
4729         With help from Joseph Myers.
4730         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4731         very large arguments properly.
4732         * math/libm-test.inc (atan_test): New tests.
4733         (atan2_test): New tests.
4734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4737 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4739         [BZ #14856]
4740         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4741         Define to 3.
4743         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4744         [POSIX] (EADDRNOTAVAIL): Likewise.
4745         [POSIX] (EAFNOSUPPORT): Likewise.
4746         [POSIX] (EALREADY): Likewise.
4747         [POSIX] (ECONNABORTED): Likewise.
4748         [POSIX] (ECONNREFUSED): Likewise.
4749         [POSIX] (ECONNRESET): Likewise.
4750         [POSIX] (EDESTADDRREQ): Likewise.
4751         [POSIX] (EDQUOT): Likewise.
4752         [POSIX] (EHOSTUNREACH): Likewise.
4753         [POSIX] (EIDRM): Likewise.
4754         [POSIX] (EISCONN): Likewise.
4755         [POSIX] (ELOOP): Likewise.
4756         [POSIX] (EMULTIHOP): Likewise.
4757         [POSIX] (ENETDOWN): Likewise.
4758         [POSIX] (ENETUNREACH): Likewise.
4759         [POSIX] (ENOBUFS): Likewise.
4760         [POSIX] (ENODATA): Likewise.
4761         [POSIX] (ENOLINK): Likewise.
4762         [POSIX] (ENOMSG): Likewise.
4763         [POSIX] (ENOPROTOOPT): Likewise.
4764         [POSIX] (ENOSR): Likewise.
4765         [POSIX] (ENOSTR): Likewise.
4766         [POSIX] (ENOTCONN): Likewise.
4767         [POSIX] (ENOTSOCK): Likewise.
4768         [POSIX] (EOPNOTSUPP): Likewise.
4769         [POSIX] (EOVERFLOW): Likewise.
4770         [POSIX] (EPROTO): Likewise.
4771         [POSIX] (EPROTONOSUPPORT): Likewise.
4772         [POSIX] (EPROTOTYPE): Likewise.
4773         [POSIX] (ESTALE): Likewise.
4774         [POSIX] (ETIME): Likewise.
4775         [POSIX] (ETXTBSY): Likewise.
4776         [POSIX] (EWOULDBLOCK): Likewise.
4777         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4778         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4779         [POSIX] (SEEK_CUR): Likewise.
4780         [POSIX] (SEEK_END): Likewise.
4781         [POSIX || UNIX98] (mode_t): Do not require.
4782         [POSIX] (off_t): Likewise.
4783         [POSIX] (pid_t): Likewise.
4784         [POSIX] (sys/stat.h): Do not allow header.
4785         [POSIX] (unistd.h): Likewise.
4786         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4787         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4788         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4789         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4790         require.
4791         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4792         sigevent): Specify elements.
4793         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4794         entry.
4795         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4796         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4798         * conform/data/cpio.h-data [POSIX]: Disable whole file.
4799         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4800         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4801         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4802         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4803         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4804         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4805         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4806         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4807         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4808         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4809         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4810         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4811         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4812         Likewise.
4813         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4814         Likewise.
4815         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4816         Likewise.
4817         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4818         Likewise.
4819         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4820         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4821         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4822         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4823         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4824         Specify lower bound on value.
4825         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4826         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4827         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4828         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4829         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4830         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4831         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4832         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4833         value.
4834         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4835         as optional.
4836         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4837         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4838         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4839         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4840         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4841         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4842         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4843         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4844         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4845         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4846         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4847         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4848         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4849         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4850         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4851         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4852         entry.
4853         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4854         optional.
4855         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4856         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4857         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4858         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4859         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4860         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4861         Likewise.
4862         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4863         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4864         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4865         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4866         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
4867         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4868         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4869         as optional.
4870         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4871         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4872         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4873         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4874         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4875         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4876         specify as optional.
4877         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4878         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4879         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4880         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4881         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4882         [XPG3] (NL_LANGMAX): Likewise.
4883         [POSIX || XPG3] (NL_MSGMAX): Likewise.
4884         [POSIX || XPG3] (NL_NMAX): Likewise.
4885         [POSIX || XPG3] (NL_SETMAX): Likewise.
4886         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4887         [XPG3] (NZERO): Likewise.
4888         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4889         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4890         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4891         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4892         (REG_ERANGE): Expect.
4893         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4894         optional-constant.
4895         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4896         Use (void) in prototype.
4897         [POSIX] (*_t): Allow.
4898         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4899         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4900         (WRDE_BADVAL): Expect.
4902         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4903         expect.
4904         [XPG3 || XPG4] (O_RSYNC): Likewise.
4905         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4906         Likewise.
4907         [XPG3 || XPG4] (pthread_sigmask): Likewise.
4908         [XPG3 || XPG4] (sigqueue): Likewise.
4909         [XPG3 || XPG4] (sigtimedwait): Likewise.
4910         [XPG3 || XPG4] (sigwaitinfo): Likewise.
4911         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4912         [XPG3 || XPG4] (vsnprintf): Likewise.
4913         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4914         Likewise.
4915         [XPG3 || XPG4] (blksize_t): Likewise.
4916         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4917         Likewise.
4918         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4919         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4920         [XPG3 || XPG4] (struct itimerspec): Likewise.
4921         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4922         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4923         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4924         [XPG3 || XPG4] (clockid_t): Likewise.
4925         [XPG3 || XPG4] (timer_t): Likewise.
4926         [XPG3 || XPG4] (clock_getres): Likewise.
4927         [XPG3 || XPG4] (clock_gettime): Likewise.
4928         [XPG3 || XPG4] (clock_settime): Likewise.
4929         [XPG3 || XPG4] (nanosleep): Likewise.
4930         [XPG3 || XPG4] (timer_create): Likewise.
4931         [XPG3 || XPG4] (timer_delete): Likewise.
4932         [XPG3 || XPG4] (timer_gettime): Likewise.
4933         [XPG3 || XPG4] (timer_getoverrun): Likewise.
4934         [XPG3 || XPG4] (timer_settime): Likewise.
4935         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4936         [XPG3 || XPG4] (getlogin_r): Likewise.
4937         [XPG3 || XPG4] (pread): Likewise.
4938         [XPG3 || XPG4] (pthread_atfork): Likewise.
4939         [XPG3 || XPG4] (pwrite): Likewise.
4941         [BZ #14835]
4942         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4943         <bits/siginfo.h>.
4945 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4947         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4948         finalizing MALLSTREAM.
4950         * sysdeps/mach/hurd/syncfs.c: New file.
4952 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4954         [BZ #14719]
4955         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4956         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4957         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4958         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4959         (_nss_dns_gethostbyname4_r): Likewise.
4960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4961         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4963 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
4965         [BZ #13763]
4966         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4968 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
4970         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4971         * elf/cache.c (print_entry): Print ",AArch64" for
4972         FLAG_AARCH64_LIB64
4974         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4975         * elf/cache.c (print_entry): Print ",hard-float" for
4976         FLAG_ARM_LIBHF.
4978 2012-11-18  David S. Miller  <davem@davemloft.net>
4980         With help from Joseph Myers.
4981         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4982         cutoff to 2**-13.
4983         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4984         cutoff to 2**-25.
4985         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4986         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4987         small.
4988         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4989         * math/libm-test.inc (y0_test): New tests.
4990         (y1_test): New tests.
4991         * sysdeps/i386/fpu/libm-test-ulps: Update.
4992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4995 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
4997         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4998         64-bit targets.
4999         * configure: Regenerated.
5001 2012-11-17  David S. Miller  <davem@davemloft.net>
5003         [BZ #14811]
5004         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5005         nonzero exponents with absolute value below 0x1p-128 to +/-
5006         0x1p-128.
5008 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5010         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5012         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5014         * posix/getconf-speclist.c: New file.
5015         * posix/posix-envs.def: Likewise.
5016         * posix/confstr.c (START_ENV_GROUP): New macro.
5017         (END_ENV_GROUP): Likewise.
5018         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5019         (KNOWN_PRESENT_ENV_STRING): Likewise.
5020         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5021         (UNKNOWN_ENVIRONMENT): Likewise.
5022         (confstr): Include posix-envs.def instead of handling
5023         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5024         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5025         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5026         (END_ENV_GROUP): Likewise.
5027         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5028         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5029         (UNKNOWN_ENVIRONMENT): Likewise.
5030         (__sysconf): Include posix-envs.def instead of handling associated
5031         cases directly here.
5032         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5033         preprocessing getconf-speclist.c rather than running getconf or
5034         generating empty file.
5036 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5038         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5040 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5042         [BZ #14672]
5043         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5045 2012-11-16  David S. Miller  <davem@davemloft.net>
5047         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5048         smaller than LDBL_EPSILON/2.0L, just return xm1.
5050 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5052         * elf/tst-array1.c (init): Set constructor priority to 1000.
5053         (fini): Set destructor priority to 1000.
5054         * elf/tst-array2dep.c: Likewise.
5056 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5058         [BZ #11741]
5059         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5060         (_IO_new_file_xsputn): Also return EOF if none of the input
5061         data was written when overflow failed.
5062         * libio/iopadn.c (_IO_padn): Likewise.
5063         * libio/iowpadn.c (_IO_wpadn): Likewise.
5064         * stdio-common/tst-put-error.c: Add copyright notice.
5065         (do_test): Add case for printing padded string.
5066         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5067         _IO_padn returned error.
5068         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5069         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5070         return EOF.
5072 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5074         * libio/libioP.h: Add comment note that the references to C++
5075         bits are now obsolete.
5077 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5079         * math/libm-test.inc (check_complex): Use asprintf.
5081 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5083         * debug/pcprofiledump.c (print_version): Update copyright year.
5084         * malloc/memusagestat.c (print_version): Likewise.
5086 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5088         [BZ #14831]
5089         * elf/Makefile (tests): Add tst-audit8.
5090         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5091         ($(objpfx)tst-audit8.out): New target.
5092         (tst-audit8-ENV): New variable.
5093         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5094         audit if l_reloc_result is NULL.
5095         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5096         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5097         * elf/tst-audit8.c: New file.
5099 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5101         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5102         * misc/Makefile (CFLAGS-select.c): Define.
5103         * posix/Makefile (CFLAGS-pause.c): Define.
5105 2012-11-13  David S. Miller  <davem@davemloft.net>
5107         * crypt/Makefile: Move test targets after toplevel Rules
5108         inclusion.  Grab any necessary sysdep routines when linking.
5109         * crypt/md5.c (md5_process_block): Remove define, we will always
5110         name it __md5_process_block.
5111         (md5_finish_ctx): Update md5_process_block call.
5112         (md5_stream): Likewise.
5113         (md5_process_bytes): Likewise.
5114         (md5_process_block): Rename to __md5_process_block and move to ...
5115         * crypt/md5-block.c: ... here.
5116         * crypt/sha256.c (sha256_process_block): Move to ...
5117         * crypt/sha256-block.c: ... here.
5118         * crypt/sha512.c (sha512_process_block): Move to ...
5119         * crypt/sha512-block.c: ... here.
5120         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5121         path.
5122         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5123         * sysdeps/sparc/sparc64/multiarch/Makefile
5124         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5125         crypt subdir.
5126         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5127         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5128         multiarch changes.
5129         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5130         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5131         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5132         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5133         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5134         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5135         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5136         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5137         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5138         file.
5139         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5140         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5141         file.
5142         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5144 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5146         * timezone/tzselect.ksh: Update from tzcode git revision
5147         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5148         * timezone/zdump.c: Likewise.
5149         * timezone/zic.c: Likewise.
5150         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5151         in TZVERSION setting, not $(PKGVERSION).
5152         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5153         REPORT_BUGS_TO settings.
5155         [BZ #14838]
5156         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5157         macro.
5159 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5161         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5162         detection to immediately after _FP_ROUND().
5163         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5164         bits are 0.
5166 2012-11-11  David S. Miller  <davem@davemloft.net>
5168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5169         inttypes.h
5170         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5171         __close rather than their public counterparts.
5173 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5175         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5176         file.
5177         [UNIX98] (sem_timedwait): Do not expect.
5178         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5179         [XPG4 || UNIX98] (sockatmark): Do not expect.
5180         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5181         (clock_getcpuclockid): Do not expect.
5182         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5183         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5184         Do not expect.
5185         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5186         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5187         [UNIX98] (vwscanf): Likewise.
5188         [UNIX98] (vswscanf): Likewise.
5190 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5192         * timezone/version.h: Remove file.
5193         * timezone/README: Do not refer to version.h.
5194         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5195         $(objpfx)version.h.
5196         ($(objpfx)zdump.o): Likewise.
5197         ($(objpfx)version.h): New target.
5199         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5200         2012i.
5201         * timezone/README: Don't mention modification to tzselect.ksh.
5202         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5203         work on unmodified tzselect.ksh.  Substitute version numbers in
5204         tzselect.ksh.
5206         * Makefile (format-me): Remove.
5207         (INSTALL): Adjust indentation.  Use commands directly instead of
5208         using $(format-me).
5210         * aclocal.m4 (ACX_PKGVERSION): New macro.
5211         (ACX_BUGURL): Likewise.
5212         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5213         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5214         (REPORT_BUGS_TO): Likewise.
5215         * configure: Regenerated.
5216         * config.h.in (PKGVERSION): New macro.
5217         (REPORT_BUGS_TO): Likewise.
5218         * config.make.in (PKGVERSION): New variable.
5219         (PKGVERSION_TEXI): Likewise.
5220         (REPORT_BUGS_TO): Likewise.
5221         (REPORT_BUGS_TEXI): Likewise.
5222         * Makefile (format-me): Use -I$(common-objpfx)manual.
5223         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5224         ($(common-objpfx)manual/%): New target.
5225         (manual/%): Remove target.
5226         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5227         (print_version): Use PKGVERSION.
5228         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5229         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5230         and REPORT_BUGS_TO.
5231         ($(objpfx)xtrace): Likewise.
5232         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5233         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5234         (print_version): Use PKGVERSION.
5235         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5236         (do_version): Use PKGVERSION.
5237         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5238         REPORT_BUGS_TO.
5239         (common-ldd-rewrite): Likewise.
5240         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5241         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5242         (print_version): Use PKGVERSION.
5243         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5244         * elf/pldd.c (argp_program_bug_address): Remove variable.
5245         (more_help): New function.
5246         (argp): Use more_help.
5247         (print_version): Use PKGVERSION.
5248         * elf/sln.c (main): Use PKGVERSION.
5249         (usage): Use REPORT_BUGS_TO.
5250         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5251         (top level): Use PKGVERSION.
5252         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5253         (print_version): Use PKGVERSION.
5254         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5255         (print_version): Use PKGVERSION.
5256         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5257         (print_version): Use PKGVERSION.
5258         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5259         (print_version): Use PKGVERSION.
5260         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5261         (print_version): Use PKGVERSION.
5262         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5263         (print_version): Use PKGVERSION.
5264         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5265         and BUGURL.
5266         ($(objpfx)memusage): Likewise.
5267         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5268         (do_version): Use PKGVERSION.
5269         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5270         (print_version): Use PKGVERSION.
5271         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5272         ($PKGVERSION): New variable.
5273         ($REPORT_BUGS_TO): Likewise.
5274         (usage): Use $REPORT_BUGS_TO.
5275         (top level): Use $PKGVERSION.
5276         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5277         ($(objpfx)pkgvers.texi): New rule.
5278         ($(objpfx)stamp-pkgvers): Likewise.
5279         * manual/install.texi: Include pkgvers.texi.
5280         (--with-pkgversion): Document new configure option.
5281         (--with-bugurl): Likewise.
5282         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5283         than necessarily for this particular distribution.  Use
5284         REPORT_BUGS_TO for where to report bugs.
5285         * INSTALL: Regenerated.
5286         * manual/libc.texinfo: Include pkgvers.texi.
5287         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5288         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5289         (print_version): Use PKGVERSION.
5290         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5291         (print_version): Use PKGVERSION.
5292         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5293         (print_version): Use PKGVERSION.
5294         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5295         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5296         macro.
5297         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5298         (print_version): Use PKGVERSION.
5299         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5300         (print_version): Use PKGVERSION.
5301         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5302         and PKGVERSION.
5304         * timezone/checktab.awk: Update from tzcode 2012i.
5305         * timezone/ialloc.c: Likewise.
5306         * timezone/private.h: Likewise.
5307         * timezone/scheck.c: Likewise.
5308         * timezone/tzfile.h: Likewise.
5309         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5310         (TZVERSION): Hardcode tzcode version number.
5311         * timezone/zdump.c: Update from tzcode 2012i.
5312         * timezone/zic.c: Likewise.
5313         * timezone/version.h: New file.
5314         * timezone/README: Describe version.h.  Update upstream location.
5316         [BZ #14824]
5317         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5318         (mktemp): Enable declaration.
5319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5320         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5322         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5323         Likewise.
5324         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5325         Likewise.
5326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5327         Likewise.
5328         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5329         Likewise.
5330         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5331         Likewise.
5332         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5333         Likewise.
5335         [BZ #14821]
5336         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5337         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5338         for copies of such integer values.
5339         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5340         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5342 2012-11-09  Andreas Jaeger  <aj@suse.de>
5344         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5345         definitions and declarations that are provided by
5346         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5348 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5350         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5351         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5352         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5353         definition.
5355 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5357         * elf/elf.h: Update comment before AArch64 relocations.
5359 2012-11-07  David S. Miller  <davem@davemloft.net>
5361         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5362         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5363         (__start_context): Declare.
5364         (__makecontext_ret): Delete.
5365         (__makecontext): Hook up __start_context instead of
5366         __makecontext_ret.
5367         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5368         (sysdep_routines): Add __start_context when in stdlib.
5370 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5372         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5373         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5374         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5375         hardcoded "nm".
5376         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5377         (READELF): New variable.  Use it instead of hardcoded "readelf".
5379 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5381         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5382         * sysdeps/x86/Makefile: Here.
5383         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5384         * sysdeps/x86/tst-xmmymm.sh: This.
5386 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5388         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5389         expectations.
5390         [UNIX98] (pthread_barrier_t): Do not expect.
5391         [UNIX98] (pthread_barrierattr_t): Likewise.
5392         [UNIX98] (pthread_spinlock_t): Likewise.
5393         [UNIX98] (pthread_barrier_destroy): Likewise.
5394         [UNIX98] (pthread_barrier_init): Likewise.
5395         [UNIX98] (pthread_barrier_wait): Likewise.
5396         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5397         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5398         [UNIX98] (pthread_barrierattr_init): Likewise.
5399         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5400         [UNIX98] (pthread_getcpuclockid): Likewise.
5401         [UNIX98] (pthread_mutex_timedlock): Likewise.
5402         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5403         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5404         [UNIX98] (pthread_sigmask): Likewise.
5405         [UNIX98] (pthread_spin_destroy): Likewise.
5406         [UNIX98] (pthread_spin_init): Likewise.
5407         [UNIX98] (pthread_spin_lock): Likewise.
5408         [UNIX98] (pthread_spin_trylock): Likewise.
5409         [UNIX98] (pthread_spin_unlock): Likewise.
5410         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5411         Do not expect.
5412         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5413         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5414         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5415         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5416         [XPG3 || XPG4] (pthread_key_t): Likewise.
5417         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5418         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5419         [XPG3 || XPG4] (pthread_once_t): Likewise.
5420         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5421         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5422         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5423         [XPG3 || XPG4] (pthread_t): Likewise.
5425         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5426         not expect.
5427         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5429         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5430         Change function return type to int.
5432         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5433         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5434         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5435         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5436         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5437         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5438         [!POSIX] (posix_madvise): Likewise.
5439         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5440         && !UNIX98].
5441         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5442         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5443         (mode_t): Likewise.
5444         (posix_mem_offset): Likewise.
5445         (posix_typed_mem_get_info): Likewise.
5446         (posix_typed_mem_open): Likewise.
5448         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5449         Change condition to [XOPEN2K8].
5451         * conform/conformtest.pl: Preprocess allow-header data with -x c
5452         instead of from stdin.
5453         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5454         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5455         [C99-based standards] (cerfc): Likewise.
5456         [C99-based standards] (cexp2): Likewise.
5457         [C99-based standards] (cexpm1): Likewise.
5458         [C99-based standards] (clog10): Likewise.
5459         [C99-based standards] (clog1p): Likewise.
5460         [C99-based standards] (clog2): Likewise.
5461         [C99-based standards] (clgamma): Likewise.
5462         [C99-based standards] (ctgamma): Likewise.
5463         [C99-based standards] (cerff): Likewise.
5464         [C99-based standards] (cerfcf): Likewise.
5465         [C99-based standards] (cexp2f): Likewise.
5466         [C99-based standards] (cexpm1f): Likewise.
5467         [C99-based standards] (clog10f): Likewise.
5468         [C99-based standards] (clog1pf): Likewise.
5469         [C99-based standards] (clog2f): Likewise.
5470         [C99-based standards] (clgammaf): Likewise.
5471         [C99-based standards] (ctgammaf): Likewise.
5472         [C99-based standards] (cerfl): Likewise.
5473         [C99-based standards] (cerfcl): Likewise.
5474         [C99-based standards] (cexp2l): Likewise.
5475         [C99-based standards] (cexpm1l): Likewise.
5476         [C99-based standards] (clog10l): Likewise.
5477         [C99-based standards] (clog1pl): Likewise.
5478         [C99-based standards] (clog2l): Likewise.
5479         [C99-based standards] (clgammal): Likewise.
5480         [C99-based standards] (ctgammal): Likewise.
5481         * conform/data/inttypes.h-data [C99-based standards]: Include
5482         stdint.h-data.  Remove all expectations for stdint.h contents.
5483         [C99-based standards] (PRI*): Do not allow.
5484         [C99-based standards] (SCN*): Likewise.
5485         [C99-based standards] (*_t): Likewise.
5486         [C99-based-standards] (PRId8): Expect macro.
5487         [C99-based-standards] (PRIi8): Likewise.
5488         [C99-based-standards] (PRIo8): Likewise.
5489         [C99-based-standards] (PRIu8): Likewise.
5490         [C99-based-standards] (PRIx8): Likewise.
5491         [C99-based-standards] (PRIX8): Likewise.
5492         [C99-based-standards] (SCNd8): Likewise.
5493         [C99-based-standards] (SCNi8): Likewise.
5494         [C99-based-standards] (SCNo8): Likewise.
5495         [C99-based-standards] (SCNu8): Likewise.
5496         [C99-based-standards] (SCNx8): Likewise.
5497         [C99-based-standards] (PRIdLEAST8): Likewise.
5498         [C99-based-standards] (PRIiLEAST8): Likewise.
5499         [C99-based-standards] (PRIoLEAST8): Likewise.
5500         [C99-based-standards] (PRIuLEAST8): Likewise.
5501         [C99-based-standards] (PRIxLEAST8): Likewise.
5502         [C99-based-standards] (PRIXLEAST8): Likewise.
5503         [C99-based-standards] (SCNdLEAST8): Likewise.
5504         [C99-based-standards] (SCNiLEAST8): Likewise.
5505         [C99-based-standards] (SCNoLEAST8): Likewise.
5506         [C99-based-standards] (SCNuLEAST8): Likewise.
5507         [C99-based-standards] (SCNxLEAST8): Likewise.
5508         [C99-based-standards] (PRIdFAST8): Likewise.
5509         [C99-based-standards] (PRIiFAST8): Likewise.
5510         [C99-based-standards] (PRIoFAST8): Likewise.
5511         [C99-based-standards] (PRIuFAST8): Likewise.
5512         [C99-based-standards] (PRIxFAST8): Likewise.
5513         [C99-based-standards] (PRIXFAST8): Likewise.
5514         [C99-based-standards] (SCNdFAST8): Likewise.
5515         [C99-based-standards] (SCNiFAST8): Likewise.
5516         [C99-based-standards] (SCNoFAST8): Likewise.
5517         [C99-based-standards] (SCNuFAST8): Likewise.
5518         [C99-based-standards] (SCNxFAST8): Likewise.
5519         [C99-based-standards] (PRId16): Likewise.
5520         [C99-based-standards] (PRIi16): Likewise.
5521         [C99-based-standards] (PRIo16): Likewise.
5522         [C99-based-standards] (PRIu16): Likewise.
5523         [C99-based-standards] (PRIx16): Likewise.
5524         [C99-based-standards] (PRIX16): Likewise.
5525         [C99-based-standards] (SCNd16): Likewise.
5526         [C99-based-standards] (SCNi16): Likewise.
5527         [C99-based-standards] (SCNo16): Likewise.
5528         [C99-based-standards] (SCNu16): Likewise.
5529         [C99-based-standards] (SCNx16): Likewise.
5530         [C99-based-standards] (PRIdLEAST16): Likewise.
5531         [C99-based-standards] (PRIiLEAST16): Likewise.
5532         [C99-based-standards] (PRIoLEAST16): Likewise.
5533         [C99-based-standards] (PRIuLEAST16): Likewise.
5534         [C99-based-standards] (PRIxLEAST16): Likewise.
5535         [C99-based-standards] (PRIXLEAST16): Likewise.
5536         [C99-based-standards] (SCNdLEAST16): Likewise.
5537         [C99-based-standards] (SCNiLEAST16): Likewise.
5538         [C99-based-standards] (SCNoLEAST16): Likewise.
5539         [C99-based-standards] (SCNuLEAST16): Likewise.
5540         [C99-based-standards] (SCNxLEAST16): Likewise.
5541         [C99-based-standards] (PRIdFAST16): Likewise.
5542         [C99-based-standards] (PRIiFAST16): Likewise.
5543         [C99-based-standards] (PRIoFAST16): Likewise.
5544         [C99-based-standards] (PRIuFAST16): Likewise.
5545         [C99-based-standards] (PRIxFAST16): Likewise.
5546         [C99-based-standards] (PRIXFAST16): Likewise.
5547         [C99-based-standards] (SCNdFAST16): Likewise.
5548         [C99-based-standards] (SCNiFAST16): Likewise.
5549         [C99-based-standards] (SCNoFAST16): Likewise.
5550         [C99-based-standards] (SCNuFAST16): Likewise.
5551         [C99-based-standards] (SCNxFAST16): Likewise.
5552         [C99-based-standards] (PRId32): Likewise.
5553         [C99-based-standards] (PRIi32): Likewise.
5554         [C99-based-standards] (PRIo32): Likewise.
5555         [C99-based-standards] (PRIu32): Likewise.
5556         [C99-based-standards] (PRIx32): Likewise.
5557         [C99-based-standards] (PRIX32): Likewise.
5558         [C99-based-standards] (SCNd32): Likewise.
5559         [C99-based-standards] (SCNi32): Likewise.
5560         [C99-based-standards] (SCNo32): Likewise.
5561         [C99-based-standards] (SCNu32): Likewise.
5562         [C99-based-standards] (SCNx32): Likewise.
5563         [C99-based-standards] (PRIdLEAST32): Likewise.
5564         [C99-based-standards] (PRIiLEAST32): Likewise.
5565         [C99-based-standards] (PRIoLEAST32): Likewise.
5566         [C99-based-standards] (PRIuLEAST32): Likewise.
5567         [C99-based-standards] (PRIxLEAST32): Likewise.
5568         [C99-based-standards] (PRIXLEAST32): Likewise.
5569         [C99-based-standards] (SCNdLEAST32): Likewise.
5570         [C99-based-standards] (SCNiLEAST32): Likewise.
5571         [C99-based-standards] (SCNoLEAST32): Likewise.
5572         [C99-based-standards] (SCNuLEAST32): Likewise.
5573         [C99-based-standards] (SCNxLEAST32): Likewise.
5574         [C99-based-standards] (PRIdFAST32): Likewise.
5575         [C99-based-standards] (PRIiFAST32): Likewise.
5576         [C99-based-standards] (PRIoFAST32): Likewise.
5577         [C99-based-standards] (PRIuFAST32): Likewise.
5578         [C99-based-standards] (PRIxFAST32): Likewise.
5579         [C99-based-standards] (PRIXFAST32): Likewise.
5580         [C99-based-standards] (SCNdFAST32): Likewise.
5581         [C99-based-standards] (SCNiFAST32): Likewise.
5582         [C99-based-standards] (SCNoFAST32): Likewise.
5583         [C99-based-standards] (SCNuFAST32): Likewise.
5584         [C99-based-standards] (SCNxFAST32): Likewise.
5585         [C99-based-standards] (PRId64): Likewise.
5586         [C99-based-standards] (PRIi64): Likewise.
5587         [C99-based-standards] (PRIo64): Likewise.
5588         [C99-based-standards] (PRIu64): Likewise.
5589         [C99-based-standards] (PRIx64): Likewise.
5590         [C99-based-standards] (PRIX64): Likewise.
5591         [C99-based-standards] (SCNd64): Likewise.
5592         [C99-based-standards] (SCNi64): Likewise.
5593         [C99-based-standards] (SCNo64): Likewise.
5594         [C99-based-standards] (SCNu64): Likewise.
5595         [C99-based-standards] (SCNx64): Likewise.
5596         [C99-based-standards] (PRIdLEAST64): Likewise.
5597         [C99-based-standards] (PRIiLEAST64): Likewise.
5598         [C99-based-standards] (PRIoLEAST64): Likewise.
5599         [C99-based-standards] (PRIuLEAST64): Likewise.
5600         [C99-based-standards] (PRIxLEAST64): Likewise.
5601         [C99-based-standards] (PRIXLEAST64): Likewise.
5602         [C99-based-standards] (SCNdLEAST64): Likewise.
5603         [C99-based-standards] (SCNiLEAST64): Likewise.
5604         [C99-based-standards] (SCNoLEAST64): Likewise.
5605         [C99-based-standards] (SCNuLEAST64): Likewise.
5606         [C99-based-standards] (SCNxLEAST64): Likewise.
5607         [C99-based-standards] (PRIdFAST64): Likewise.
5608         [C99-based-standards] (PRIiFAST64): Likewise.
5609         [C99-based-standards] (PRIoFAST64): Likewise.
5610         [C99-based-standards] (PRIuFAST64): Likewise.
5611         [C99-based-standards] (PRIxFAST64): Likewise.
5612         [C99-based-standards] (PRIXFAST64): Likewise.
5613         [C99-based-standards] (SCNdFAST64): Likewise.
5614         [C99-based-standards] (SCNiFAST64): Likewise.
5615         [C99-based-standards] (SCNoFAST64): Likewise.
5616         [C99-based-standards] (SCNuFAST64): Likewise.
5617         [C99-based-standards] (SCNxFAST64): Likewise.
5618         [C99-based-standards] (PRIdMAX): Likewise.
5619         [C99-based-standards] (PRIiMAX): Likewise.
5620         [C99-based-standards] (PRIoMAX): Likewise.
5621         [C99-based-standards] (PRIuMAX): Likewise.
5622         [C99-based-standards] (PRIxMAX): Likewise.
5623         [C99-based-standards] (PRIXMAX): Likewise.
5624         [C99-based-standards] (SCNdMAX): Likewise.
5625         [C99-based-standards] (SCNiMAX): Likewise.
5626         [C99-based-standards] (SCNoMAX): Likewise.
5627         [C99-based-standards] (SCNuMAX): Likewise.
5628         [C99-based-standards] (SCNxMAX): Likewise.
5629         [C99-based-standards] (PRIdPTR): Likewise.
5630         [C99-based-standards] (PRIiPTR): Likewise.
5631         [C99-based-standards] (PRIoPTR): Likewise.
5632         [C99-based-standards] (PRIuPTR): Likewise.
5633         [C99-based-standards] (PRIxPTR): Likewise.
5634         [C99-based-standards] (PRIXPTR): Likewise.
5635         [C99-based-standards] (SCNdPTR): Likewise.
5636         [C99-based-standards] (SCNiPTR): Likewise.
5637         [C99-based-standards] (SCNoPTR): Likewise.
5638         [C99-based-standards] (SCNuPTR): Likewise.
5639         [C99-based-standards] (SCNxPTR): Likewise.
5640         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5641         allow.
5642         * conform/data/stdint.h-data: Update comments to clarify
5643         requirements.
5644         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5645         type.
5646         [C99-based standards] (INT8_MAX): Likewise.
5647         [C99-based standards] (INT16_MIN): Likewise.
5648         [C99-based standards] (INT16_MAX): Likewise.
5649         [C99-based standards] (INT32_MIN): Likewise.
5650         [C99-based standards] (INT32_MAX): Likewise.
5651         [C99-based standards] (INT64_MIN): Likewise.
5652         [C99-based standards] (INT64_MAX): Likewise.
5653         [C99-based standards] (UINT8_MAX): Likewise.
5654         [C99-based standards] (UINT16_MAX): Likewise.
5655         [C99-based standards] (UINT32_MAX): Likewise.
5656         [C99-based standards] (UINT64_MAX): Likewise.
5657         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5658         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5659         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5660         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5661         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5662         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5663         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5664         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5665         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5666         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5667         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5668         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5669         [C99-based standards] (INT_FAST8_MIN): Likewise.
5670         [C99-based standards] (INT_FAST8_MAX): Likewise.
5671         [C99-based standards] (INT_FAST16_MIN): Likewise.
5672         [C99-based standards] (INT_FAST16_MAX): Likewise.
5673         [C99-based standards] (INT_FAST32_MIN): Likewise.
5674         [C99-based standards] (INT_FAST32_MAX): Likewise.
5675         [C99-based standards] (INT_FAST64_MIN): Likewise.
5676         [C99-based standards] (INT_FAST64_MAX): Likewise.
5677         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5678         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5679         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5680         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5681         [C99-based standards] (INTPTR_MIN): Likewise.
5682         [C99-based standards] (INTPTR_MAX): Likewise.
5683         [C99-based standards] (UINTPTR_MAX): Likewise.
5684         [C99-based standards] (INTMAX_MIN): Likewise.
5685         [C99-based standards] (INTMAX_MAX): Likewise.
5686         [C99-based standards] (UINTMAX_MAX): Likewise.
5687         [C99-based standards] (PTRDIFF_MIN): Likewise.
5688         [C99-based standards] (PTRDIFF_MAX): Likewise.
5689         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5690         [C99-based standards] (SIZE_MAX): Likewise.
5691         [C99-based standards] (WCHAR_MAX): Likewise.
5692         [C99-based standards] (WINT_MAX): Likewise.
5693         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5694         constraint on value.
5695         [C99-based standards] (WCHAR_MIN): Likewise.
5696         [C99-based standards] (WINT_MIN): Likewise.
5697         [C99-based standards] (*_t): Allow.
5698         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5699         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5700         Include math.h-data and complex.h-data.  Remove all expectations
5701         of math.h and complex.h contents.
5702         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5703         at end of line.
5704         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5705         (struct tm): Expect tag.
5706         [C99-based-standards] (wcstof): Expect function.
5707         [C99-based-standards] (wcstold): Likewise.
5708         [C99-based-standards] (wcstoll): Likewise.
5709         [C99-based-standards] (wcstoull): Likewise.
5710         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5711         macro-int-constant.  Specify type.
5712         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
5713         constraint on value.
5714         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5715         Specify type.
5716         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5717         Specify value.
5718         [ISO C standards]: Do not allow headers.
5719         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5720         wcs[abcdefghijklmnopqrstuvwxyz]*.
5721         [ISO C standards] (*_t): Do not allow.
5722         * conform/data/wctype.h-data [C99-based standards] (iswblank):
5723         Expect function.
5724         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5725         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5726         Specify type.
5727         [ISO C standards]: Do not allow headers.
5728         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5729         is[abcdefghijklmnopqrstuvwxyz]*.
5730         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5731         to[abcdefghijklmnopqrstuvwxyz]*.
5732         [ISO C standards] (*_t): Do not allow.
5733         * conform/data/stdalign.h-data: New file.
5734         * conform/data/stdbool.h-data: Likewise.
5735         * conform/data/stdnoreturn.h-data: Likewise.
5737 2012-11-07  Roland McGrath  <roland@hack.frob.com>
5739         [BZ #14815]
5740         * manual/filesys.texi (Directory Entries): Typo fix.
5741         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5743 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5745         * elf/elf.h (EM_AARCH64): New macro.
5746         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5747         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5748         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5749         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5750         (R_AARCH64_TLSDESC): Likewise.
5751         (NT_ARM_TLS): Likewise.
5752         (NT_ARM_HW_BREAK): Likewise.
5753         (NT_ARM_HW_WATCH): Likewise.
5755 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5757         [BZ #14811]
5758         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5759         (__ieee754_powl): Saturate nonzero exponents with absolute value
5760         below 0x1p-79 to +/- 0x1p-79.
5761         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5762         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5763         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5764         nonzero exponents with absolute value below 0x1p-32 to +/-
5765         0x1p-32.
5766         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5767         (__ieee754_powl): Saturate nonzero exponents with absolute value
5768         below 0x1p-79 to +/- 0x1p-79.
5769         * math/libm-test.inc (pow_test): Add more tests.
5771 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5773         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5774         _dl_s390_cap_flags with kernel. Increase string length.
5775         (_dl_s390_platforms): Add z196 and zEC12.
5777 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5779         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5780         Change XOPEN21K to XOPEN2K.
5782 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
5784         * string/memmove.c: Use memcpy when possible.
5786 2012-11-06  Andreas Jaeger  <aj@suse.de>
5788         * po/eo.po: Update from translation team.
5790 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
5792         [BZ #14793]
5793         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5794         exponent and small x and y exponents, scale x or y up.  Increase
5795         by 2 the exponent used in scaling up.
5796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5798         * math/libm-test.inc (fma_test): Add more tests.
5799         (fma_test_towardzero): Likewise.
5800         (fma_test_downward): Likewise.
5801         (fma_test_upward): Likewise.
5803 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
5805         [BZ #14805]
5806         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5807         fenv_t *.
5809         [BZ #14801]
5810         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5811         namespace for names of struct fields.
5812         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5813         fenv_t fields.
5814         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5815         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5817 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5819         [BZ #3665]
5820         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5822 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5824         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5825         PTR_DEMANGLE.
5827         [BZ #5246]
5828         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5829         PTR_DEMANGLE.
5831 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
5833         [BZ #14797]
5834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5835         definitely overflow as x * y not x * y + z.
5836         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5837         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5838         * math/libm-test.inc (fma_test): Add more tests.
5839         (fma_test_towardzero): Likewise.
5840         (fma_test_downward): Likewise.
5841         (fma_test_upward): Likewise.
5843 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5845         [BZ #157]
5847         * include/stub-tag.h: Remove file.
5848         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5849         '#include' of it.
5850         * manual/maint.texi (Porting): Don't reference it.
5851         * Makerules ($(objpfx)stubs): Likewise.
5852         * dirent/closedir.c: Don't include <stub-tag.h>.
5853         * dirent/dirfd.c: Likewise.
5854         * dirent/fdopendir.c: Likewise.
5855         * dirent/getdents.c: Likewise.
5856         * dirent/getdents64.c: Likewise.
5857         * dirent/opendir.c: Likewise.
5858         * dirent/readdir.c: Likewise.
5859         * dirent/readdir64.c: Likewise.
5860         * dirent/readdir64_r.c: Likewise.
5861         * dirent/readdir_r.c: Likewise.
5862         * dirent/rewinddir.c: Likewise.
5863         * dirent/seekdir.c: Likewise.
5864         * dirent/telldir.c: Likewise.
5865         * gmon/profil.c: Likewise.
5866         * grp/setgroups.c: Likewise.
5867         * inet/if_index.c: Likewise.
5868         * io/access.c: Likewise.
5869         * io/chdir.c: Likewise.
5870         * io/chmod.c: Likewise.
5871         * io/chown.c: Likewise.
5872         * io/close.c: Likewise.
5873         * io/dup.c: Likewise.
5874         * io/dup2.c: Likewise.
5875         * io/dup3.c: Likewise.
5876         * io/euidaccess.c: Likewise.
5877         * io/faccessat.c: Likewise.
5878         * io/fchdir.c: Likewise.
5879         * io/fchmod.c: Likewise.
5880         * io/fchmodat.c: Likewise.
5881         * io/fchown.c: Likewise.
5882         * io/fchownat.c: Likewise.
5883         * io/fcntl.c: Likewise.
5884         * io/flock.c: Likewise.
5885         * io/fstatfs.c: Likewise.
5886         * io/fstatfs64.c: Likewise.
5887         * io/fstatvfs.c: Likewise.
5888         * io/fstatvfs64.c: Likewise.
5889         * io/futimens.c: Likewise.
5890         * io/fxstat.c: Likewise.
5891         * io/fxstat64.c: Likewise.
5892         * io/fxstatat.c: Likewise.
5893         * io/fxstatat64.c: Likewise.
5894         * io/getcwd.c: Likewise.
5895         * io/isatty.c: Likewise.
5896         * io/lchmod.c: Likewise.
5897         * io/lchown.c: Likewise.
5898         * io/link.c: Likewise.
5899         * io/linkat.c: Likewise.
5900         * io/lseek.c: Likewise.
5901         * io/lseek64.c: Likewise.
5902         * io/lxstat64.c: Likewise.
5903         * io/mkdir.c: Likewise.
5904         * io/mkdirat.c: Likewise.
5905         * io/mkfifo.c: Likewise.
5906         * io/mkfifoat.c: Likewise.
5907         * io/open.c: Likewise.
5908         * io/open64.c: Likewise.
5909         * io/openat.c: Likewise.
5910         * io/openat64.c: Likewise.
5911         * io/pipe.c: Likewise.
5912         * io/pipe2.c: Likewise.
5913         * io/poll.c: Likewise.
5914         * io/posix_fadvise.c: Likewise.
5915         * io/posix_fadvise64.c: Likewise.
5916         * io/posix_fallocate.c: Likewise.
5917         * io/posix_fallocate64.c: Likewise.
5918         * io/read.c: Likewise.
5919         * io/readlink.c: Likewise.
5920         * io/readlinkat.c: Likewise.
5921         * io/rmdir.c: Likewise.
5922         * io/sendfile.c: Likewise.
5923         * io/sendfile64.c: Likewise.
5924         * io/statfs.c: Likewise.
5925         * io/statfs64.c: Likewise.
5926         * io/statvfs.c: Likewise.
5927         * io/statvfs64.c: Likewise.
5928         * io/symlink.c: Likewise.
5929         * io/symlinkat.c: Likewise.
5930         * io/ttyname.c: Likewise.
5931         * io/ttyname_r.c: Likewise.
5932         * io/umask.c: Likewise.
5933         * io/unlink.c: Likewise.
5934         * io/unlinkat.c: Likewise.
5935         * io/utime.c: Likewise.
5936         * io/utimensat.c: Likewise.
5937         * io/write.c: Likewise.
5938         * io/xmknod.c: Likewise.
5939         * io/xmknodat.c: Likewise.
5940         * io/xstat.c: Likewise.
5941         * io/xstat64.c: Likewise.
5942         * login/getpt.c: Likewise.
5943         * login/grantpt.c: Likewise.
5944         * login/unlockpt.c: Likewise.
5945         * math/e_acoshl.c: Likewise.
5946         * math/e_acosl.c: Likewise.
5947         * math/e_asinl.c: Likewise.
5948         * math/e_atan2l.c: Likewise.
5949         * math/e_atanhl.c: Likewise.
5950         * math/e_coshl.c: Likewise.
5951         * math/e_expl.c: Likewise.
5952         * math/e_fmodl.c: Likewise.
5953         * math/e_gammal_r.c: Likewise.
5954         * math/e_hypotl.c: Likewise.
5955         * math/e_j0l.c: Likewise.
5956         * math/e_j1l.c: Likewise.
5957         * math/e_jnl.c: Likewise.
5958         * math/e_lgammal_r.c: Likewise.
5959         * math/e_log10l.c: Likewise.
5960         * math/e_log2l.c: Likewise.
5961         * math/e_logl.c: Likewise.
5962         * math/e_powl.c: Likewise.
5963         * math/e_rem_pio2l.c: Likewise.
5964         * math/e_sinhl.c: Likewise.
5965         * math/e_sqrtl.c: Likewise.
5966         * math/fclrexcpt.c: Likewise.
5967         * math/fedisblxcpt.c: Likewise.
5968         * math/feenablxcpt.c: Likewise.
5969         * math/fegetenv.c: Likewise.
5970         * math/fegetexcept.c: Likewise.
5971         * math/fegetround.c: Likewise.
5972         * math/feholdexcpt.c: Likewise.
5973         * math/fesetenv.c: Likewise.
5974         * math/fesetround.c: Likewise.
5975         * math/feupdateenv.c: Likewise.
5976         * math/fgetexcptflg.c: Likewise.
5977         * math/fraiseexcpt.c: Likewise.
5978         * math/fsetexcptflg.c: Likewise.
5979         * math/ftestexcept.c: Likewise.
5980         * math/k_cosl.c: Likewise.
5981         * math/k_rem_pio2l.c: Likewise.
5982         * math/k_sinl.c: Likewise.
5983         * math/k_tanl.c: Likewise.
5984         * math/s_asinhl.c: Likewise.
5985         * math/s_atanl.c: Likewise.
5986         * math/s_cbrtl.c: Likewise.
5987         * math/s_erfl.c: Likewise.
5988         * math/s_expm1l.c: Likewise.
5989         * math/s_log1pl.c: Likewise.
5990         * math/s_tanhl.c: Likewise.
5991         * misc/acct.c: Likewise.
5992         * misc/brk.c: Likewise.
5993         * misc/chflags.c: Likewise.
5994         * misc/chroot.c: Likewise.
5995         * misc/fchflags.c: Likewise.
5996         * misc/fgetxattr.c: Likewise.
5997         * misc/flistxattr.c: Likewise.
5998         * misc/fremovexattr.c: Likewise.
5999         * misc/fsetxattr.c: Likewise.
6000         * misc/fsync.c: Likewise.
6001         * misc/ftruncate.c: Likewise.
6002         * misc/futimes.c: Likewise.
6003         * misc/futimesat.c: Likewise.
6004         * misc/getdomain.c: Likewise.
6005         * misc/getdtsz.c: Likewise.
6006         * misc/gethostid.c: Likewise.
6007         * misc/gethostname.c: Likewise.
6008         * misc/getloadavg.c: Likewise.
6009         * misc/getpagesize.c: Likewise.
6010         * misc/getsysstats.c: Likewise.
6011         * misc/getxattr.c: Likewise.
6012         * misc/gtty.c: Likewise.
6013         * misc/ioctl.c: Likewise.
6014         * misc/lgetxattr.c: Likewise.
6015         * misc/listxattr.c: Likewise.
6016         * misc/llistxattr.c: Likewise.
6017         * misc/lremovexattr.c: Likewise.
6018         * misc/lsetxattr.c: Likewise.
6019         * misc/lutimes.c: Likewise.
6020         * misc/madvise.c: Likewise.
6021         * misc/mincore.c: Likewise.
6022         * misc/mlock.c: Likewise.
6023         * misc/mlockall.c: Likewise.
6024         * misc/mmap.c: Likewise.
6025         * misc/mprotect.c: Likewise.
6026         * misc/msync.c: Likewise.
6027         * misc/munlock.c: Likewise.
6028         * misc/munlockall.c: Likewise.
6029         * misc/munmap.c: Likewise.
6030         * misc/preadv.c: Likewise.
6031         * misc/preadv64.c: Likewise.
6032         * misc/ptrace.c: Likewise.
6033         * misc/pwritev.c: Likewise.
6034         * misc/pwritev64.c: Likewise.
6035         * misc/readv.c: Likewise.
6036         * misc/reboot.c: Likewise.
6037         * misc/remap_file_pages.c: Likewise.
6038         * misc/removexattr.c: Likewise.
6039         * misc/revoke.c: Likewise.
6040         * misc/select.c: Likewise.
6041         * misc/setdomain.c: Likewise.
6042         * misc/setegid.c: Likewise.
6043         * misc/seteuid.c: Likewise.
6044         * misc/sethostid.c: Likewise.
6045         * misc/sethostname.c: Likewise.
6046         * misc/setregid.c: Likewise.
6047         * misc/setreuid.c: Likewise.
6048         * misc/setxattr.c: Likewise.
6049         * misc/sstk.c: Likewise.
6050         * misc/stty.c: Likewise.
6051         * misc/swapoff.c: Likewise.
6052         * misc/swapon.c: Likewise.
6053         * misc/sync.c: Likewise.
6054         * misc/syncfs.c: Likewise.
6055         * misc/syscall.c: Likewise.
6056         * misc/truncate.c: Likewise.
6057         * misc/ualarm.c: Likewise.
6058         * misc/usleep.c: Likewise.
6059         * misc/ustat.c: Likewise.
6060         * misc/utimes.c: Likewise.
6061         * misc/vhangup.c: Likewise.
6062         * misc/writev.c: Likewise.
6063         * posix/_exit.c: Likewise.
6064         * posix/alarm.c: Likewise.
6065         * posix/execve.c: Likewise.
6066         * posix/fexecve.c: Likewise.
6067         * posix/fork.c: Likewise.
6068         * posix/fpathconf.c: Likewise.
6069         * posix/getaddrinfo.c: Likewise.
6070         * posix/getegid.c: Likewise.
6071         * posix/geteuid.c: Likewise.
6072         * posix/getgid.c: Likewise.
6073         * posix/getgroups.c: Likewise.
6074         * posix/getlogin.c: Likewise.
6075         * posix/getlogin_r.c: Likewise.
6076         * posix/getpgid.c: Likewise.
6077         * posix/getpid.c: Likewise.
6078         * posix/getppid.c: Likewise.
6079         * posix/getresgid.c: Likewise.
6080         * posix/getresuid.c: Likewise.
6081         * posix/getsid.c: Likewise.
6082         * posix/getuid.c: Likewise.
6083         * posix/glob64.c: Likewise.
6084         * posix/nanosleep.c: Likewise.
6085         * posix/pathconf.c: Likewise.
6086         * posix/pause.c: Likewise.
6087         * posix/posix_madvise.c: Likewise.
6088         * posix/pread.c: Likewise.
6089         * posix/pread64.c: Likewise.
6090         * posix/pwrite.c: Likewise.
6091         * posix/pwrite64.c: Likewise.
6092         * posix/sched_getaffinity.c: Likewise.
6093         * posix/sched_getp.c: Likewise.
6094         * posix/sched_gets.c: Likewise.
6095         * posix/sched_primax.c: Likewise.
6096         * posix/sched_primin.c: Likewise.
6097         * posix/sched_rr_gi.c: Likewise.
6098         * posix/sched_setaffinity.c: Likewise.
6099         * posix/sched_setp.c: Likewise.
6100         * posix/sched_sets.c: Likewise.
6101         * posix/sched_yield.c: Likewise.
6102         * posix/setgid.c: Likewise.
6103         * posix/setlogin.c: Likewise.
6104         * posix/setpgid.c: Likewise.
6105         * posix/setresgid.c: Likewise.
6106         * posix/setresuid.c: Likewise.
6107         * posix/setsid.c: Likewise.
6108         * posix/setuid.c: Likewise.
6109         * posix/sleep.c: Likewise.
6110         * posix/spawni.c: Likewise.
6111         * posix/sysconf.c: Likewise.
6112         * posix/times.c: Likewise.
6113         * posix/wait.c: Likewise.
6114         * posix/wait3.c: Likewise.
6115         * posix/wait4.c: Likewise.
6116         * posix/waitpid.c: Likewise.
6117         * resolv/gai_sigqueue.c: Likewise.
6118         * resource/getpriority.c: Likewise.
6119         * resource/getrlimit.c: Likewise.
6120         * resource/getrusage.c: Likewise.
6121         * resource/nice.c: Likewise.
6122         * resource/setpriority.c: Likewise.
6123         * resource/setrlimit.c: Likewise.
6124         * resource/ulimit.c: Likewise.
6125         * rt/aio_cancel.c: Likewise.
6126         * rt/aio_fsync.c: Likewise.
6127         * rt/aio_read.c: Likewise.
6128         * rt/aio_sigqueue.c: Likewise.
6129         * rt/aio_suspend.c: Likewise.
6130         * rt/aio_write.c: Likewise.
6131         * rt/clock_getres.c: Likewise.
6132         * rt/clock_gettime.c: Likewise.
6133         * rt/clock_nanosleep.c: Likewise.
6134         * rt/clock_settime.c: Likewise.
6135         * rt/lio_listio.c: Likewise.
6136         * rt/mq_close.c: Likewise.
6137         * rt/mq_getattr.c: Likewise.
6138         * rt/mq_notify.c: Likewise.
6139         * rt/mq_open.c: Likewise.
6140         * rt/mq_receive.c: Likewise.
6141         * rt/mq_send.c: Likewise.
6142         * rt/mq_setattr.c: Likewise.
6143         * rt/mq_timedreceive.c: Likewise.
6144         * rt/mq_timedsend.c: Likewise.
6145         * rt/mq_unlink.c: Likewise.
6146         * rt/shm_open.c: Likewise.
6147         * rt/shm_unlink.c: Likewise.
6148         * rt/timer_create.c: Likewise.
6149         * rt/timer_delete.c: Likewise.
6150         * rt/timer_getoverr.c: Likewise.
6151         * rt/timer_gettime.c: Likewise.
6152         * rt/timer_settime.c: Likewise.
6153         * setjmp/__longjmp.c: Likewise.
6154         * setjmp/setjmp.c: Likewise.
6155         * signal/kill.c: Likewise.
6156         * signal/killpg.c: Likewise.
6157         * signal/raise.c: Likewise.
6158         * signal/sigaction.c: Likewise.
6159         * signal/sigaltstack.c: Likewise.
6160         * signal/sigblock.c: Likewise.
6161         * signal/sigignore.c: Likewise.
6162         * signal/sigintr.c: Likewise.
6163         * signal/signal.c: Likewise.
6164         * signal/sigpause.c: Likewise.
6165         * signal/sigpending.c: Likewise.
6166         * signal/sigqueue.c: Likewise.
6167         * signal/sigreturn.c: Likewise.
6168         * signal/sigset.c: Likewise.
6169         * signal/sigsetmask.c: Likewise.
6170         * signal/sigstack.c: Likewise.
6171         * signal/sigsuspend.c: Likewise.
6172         * signal/sigtimedwait.c: Likewise.
6173         * signal/sigvec.c: Likewise.
6174         * signal/sigwait.c: Likewise.
6175         * signal/sigwaitinfo.c: Likewise.
6176         * signal/sysv_signal.c: Likewise.
6177         * socket/accept.c: Likewise.
6178         * socket/accept4.c: Likewise.
6179         * socket/bind.c: Likewise.
6180         * socket/connect.c: Likewise.
6181         * socket/getpeername.c: Likewise.
6182         * socket/getsockname.c: Likewise.
6183         * socket/getsockopt.c: Likewise.
6184         * socket/isfdtype.c: Likewise.
6185         * socket/listen.c: Likewise.
6186         * socket/recv.c: Likewise.
6187         * socket/recvfrom.c: Likewise.
6188         * socket/recvmsg.c: Likewise.
6189         * socket/send.c: Likewise.
6190         * socket/sendmsg.c: Likewise.
6191         * socket/sendto.c: Likewise.
6192         * socket/setsockopt.c: Likewise.
6193         * socket/shutdown.c: Likewise.
6194         * socket/sockatmark.c: Likewise.
6195         * socket/socket.c: Likewise.
6196         * socket/socketpair.c: Likewise.
6197         * stdio-common/ctermid.c: Likewise.
6198         * stdio-common/cuserid.c: Likewise.
6199         * stdio-common/remove.c: Likewise.
6200         * stdio-common/rename.c: Likewise.
6201         * stdio-common/renameat.c: Likewise.
6202         * stdio-common/tempname.c: Likewise.
6203         * stdlib/getcontext.c: Likewise.
6204         * stdlib/makecontext.c: Likewise.
6205         * stdlib/setcontext.c: Likewise.
6206         * stdlib/swapcontext.c: Likewise.
6207         * stdlib/system.c: Likewise.
6208         * streams/fattach.c: Likewise.
6209         * streams/fdetach.c: Likewise.
6210         * streams/getmsg.c: Likewise.
6211         * streams/getpmsg.c: Likewise.
6212         * streams/putmsg.c: Likewise.
6213         * streams/putpmsg.c: Likewise.
6214         * sysdeps/unix/bsd/getpt.c: Likewise.
6215         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6216         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6217         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6219         Likewise.
6220         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6221         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6222         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6223         * sysvipc/msgctl.c: Likewise.
6224         * sysvipc/msgget.c: Likewise.
6225         * sysvipc/msgrcv.c: Likewise.
6226         * sysvipc/msgsnd.c: Likewise.
6227         * sysvipc/semctl.c: Likewise.
6228         * sysvipc/semget.c: Likewise.
6229         * sysvipc/semop.c: Likewise.
6230         * sysvipc/semtimedop.c: Likewise.
6231         * sysvipc/shmat.c: Likewise.
6232         * sysvipc/shmctl.c: Likewise.
6233         * sysvipc/shmdt.c: Likewise.
6234         * sysvipc/shmget.c: Likewise.
6235         * termios/tcdrain.c: Likewise.
6236         * termios/tcflow.c: Likewise.
6237         * termios/tcflush.c: Likewise.
6238         * termios/tcgetattr.c: Likewise.
6239         * termios/tcgetpgrp.c: Likewise.
6240         * termios/tcsendbrk.c: Likewise.
6241         * termios/tcsetattr.c: Likewise.
6242         * termios/tcsetpgrp.c: Likewise.
6243         * time/adjtime.c: Likewise.
6244         * time/clock.c: Likewise.
6245         * time/getitimer.c: Likewise.
6246         * time/gettimeofday.c: Likewise.
6247         * time/setitimer.c: Likewise.
6248         * time/settimeofday.c: Likewise.
6249         * time/stime.c: Likewise.
6250         * time/time.c: Likewise.
6252 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6254         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6255         /usr/old/bin.
6257         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6258         instead of spaces.
6259         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6261 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6263         [BZ #14796]
6264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6265         FE_TONEAREST before applying Dekker multiplication and Knuth
6266         addition.  Clear inexact exceptions and check for exact zero
6267         results afterwards.
6268         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6269         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6271         * math/libm-test.inc (fma_test): Add more tests.
6272         (fma_test_towardzero): Likewise.
6273         (fma_test_downward): Likewise.
6274         (fma_test_upward): Likewise.
6275         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6276         function.
6277         (libc_fesetround): New macro.
6278         (libc_fesetroundf): Likewise.
6279         (libc_fesetroundl): Likewise.
6280         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6281         function.
6282         (libc_fesetround_387): Likewise.
6283         (libc_fesetroundf): New macro.
6284         (libc_fesetround): Likewise.
6285         (libc_fesetroundl): Likewise.
6286         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6287         function.
6288         (libc_fesetroundf): New macro.
6289         (libc_fesetround): Likewise.
6290         (libc_fesetroundl): Likewise.
6291         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6292         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6293         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6294         libm_hidden_ver.
6295         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6296         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6297         libm_hidden_def.
6298         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6299         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6300         libm_hidden_ver.
6301         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6302         libm_hidden_def.
6304         [BZ #3439]
6305         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6306         integer constant usable in #if and use that to give value to enum
6307         constant.
6308         (FE_DIVBYZERO): Likewise.
6309         (FE_UNDERFLOW): Likewise.
6310         (FE_OVERFLOW): Likewise.
6311         (FE_INVALID): Likewise.
6312         (FE_INVALID_SNAN): Likewise.
6313         (FE_INVALID_ISI): Likewise.
6314         (FE_INVALID_IDI): Likewise.
6315         (FE_INVALID_ZDZ): Likewise.
6316         (FE_INVALID_IMZ): Likewise.
6317         (FE_INVALID_COMPARE): Likewise.
6318         (FE_INVALID_SOFTWARE): Likewise.
6319         (FE_INVALID_SQRT): Likewise.
6320         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6321         (FE_TONEAREST): Likewise.
6322         (FE_TOWARDZERO): Likewise.
6323         (FE_UPWARD): Likewise.
6324         (FE_DOWNWARD): Likewise.
6325         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6326         (FE_DIVBYZERO): Likewise.
6327         (FE_OVERFLOW): Likewise.
6328         (FE_UNDERFLOW): Likewise.
6329         (FE_INEXACT): Likewise.
6330         (FE_TONEAREST): Likewise.
6331         (FE_DOWNWARD): Likewise.
6332         (FE_UPWARD): Likewise.
6333         (FE_TOWARDZERO): Likewise.
6334         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6335         (FE_UNDERFLOW): Likewise.
6336         (FE_OVERFLOW): Likewise.
6337         (FE_DIVBYZERO): Likewise.
6338         (FE_INVALID): Likewise.
6339         (FE_TONEAREST): Likewise.
6340         (FE_TOWARDZERO): Likewise.
6341         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6342         (FE_OVERFLOW): Likewise.
6343         (FE_UNDERFLOW): Likewise.
6344         (FE_DIVBYZERO): Likewise.
6345         (FE_INEXACT): Likewise.
6346         (FE_TONEAREST): Likewise.
6347         (FE_TOWARDZERO): Likewise.
6348         (FE_UPWARD): Likewise.
6349         (FE_DOWNWARD): Likewise.
6350         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6351         (FE_DIVBYZERO): Likewise.
6352         (FE_OVERFLOW): Likewise.
6353         (FE_UNDERFLOW): Likewise.
6354         (FE_INEXACT): Likewise.
6355         (FE_TONEAREST): Likewise.
6356         (FE_DOWNWARD): Likewise.
6357         (FE_UPWARD): Likewise.
6358         (FE_TOWARDZERO): Likewise.
6360 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6362         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6364 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6366         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6367         commands.  Quote $PWD.
6368         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6369         -x" by "export".
6370         (remove_newlines): Remove.
6372 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6374         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6375         * stdlib/stdlib.h (atof): Moved to ...
6376         * include/bits/stdlib-float.h: Here.  New file.
6377         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6378         * stdlib/bits/stdlib-float.h: New file.
6379         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6380         -mno-sse -mno-mmx.
6381         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6382         <xmmintrin.h>.
6384 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6386         * conform/conformtest.pl (@headers): Add fenv.h.
6387         * conform/data/fenv.h-data: New file.
6388         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6389         include of <math/fenv.h>.
6391         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6392         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6393         && !UNIX98].  Enables tests for XOPEN2K8.
6394         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6395         POSIX2008]: Likewise.
6397         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6398         (struct rusage): Do not expect type or its members.
6400         [BZ #3439]
6401         * math/math.h (FP_NAN): Define macro to integer constant usable in
6402         #if and use that to give value to enum constant.
6403         (FP_INFINITE): Likewise.
6404         (FP_ZERO): Likewise.
6405         (FP_SUBNORMAL): Likewise.
6406         (FP_NORMAL): Likewise.
6408 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6410         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6411         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6412         arguments.
6414 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6416         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6417         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6418         autoconf-time if not.
6419         * configure.in: Remove AC_PREREQ.
6421 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6423         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6424         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6425         of the internal implementation.
6427 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6429         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6430         except include of <misc/sys/syslog.h>.
6432 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6435         function returns with a NULL context exit with zero.
6437 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6439         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6441 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6443         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6444         (run_program_cmd): This.
6445         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6446         (tst_langinfo): New variable.  Use it.
6448 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6450         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6451         floating point opcodes.
6453 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6455         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6456         variable.
6458         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6460         * sysdeps/mach/hurd/powerpc: Remove directory.
6461         * sysdeps/mach/powerpc: Likewise.
6463 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6465         * scripts/check-local-headers.sh: Ignore c++ headers.
6467 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6469         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6470         __libc_cleanup_region_start argument.
6472 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6474         [BZ #14784]
6475         [BZ #14785]
6476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6477         x * y using scaling, not as x * y + z.
6478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6480         * math/libm-test.inc (fma_test): Add more tests.
6481         (fma_test_towardzero): Likewise.
6482         (fma_test_downward): Likewise.
6483         (fma_test_upward): Likewise.
6485 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6487         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6489 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6491         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6492         New variable.
6494 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6496         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6498 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6501         Fix sort order.
6502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6503         Likewise.
6505 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6508         Fix the order of the list for glibc 2.17.
6509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6510         Likewise.
6512 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6516 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6518         [BZ #14610]
6519         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6520         for low part of x being zero before using __atanl (y).
6521         * math/libm-test.inc (atan2_test): Add another test.
6523         * manual/install.texi (Configuring and compiling): Document
6524         general use of test-wrapper and test-wrapper-env.
6525         * INSTALL: Regenerated.
6527         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6528         (__fma): Do not extract and scale down low bits on after-rounding
6529         systems when result rounded to normal precision would have normal
6530         exponent.
6531         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6532         (__fmal): Do not extract and scale down low bits on after-rounding
6533         systems when result rounded to normal precision would have normal
6534         exponent.
6535         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6536         (__fmal): Do not extract and scale down low bits on after-rounding
6537         systems when result rounded to normal precision would have normal
6538         exponent.
6539         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6540         macro.
6541         (fma_test): Add more tests.
6542         (fma_test_towardzero): Likewise.
6543         (fma_test_downward): Likewise.
6544         (fma_test_upward): Likewise.
6546 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6548         * sysdeps/i386/tininess.h: Renamed to ...
6549         * sysdeps/x86/tininess.h: This.
6550         * sysdeps/x86_64/tininess.h: Removed.
6552 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6554         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6555         input.  Use $(build-program-cmd).
6556         ($(objpfx)tst-array1-static.out): Likewise.
6557         ($(objpfx)tst-array2.out): Likewise.
6558         ($(objpfx)tst-array3.out): Likewise.
6559         ($(objpfx)tst-array4.out): Likewise.
6560         ($(objpfx)tst-array5.out): Likewise.
6561         ($(objpfx)tst-array5-static.out): Likewise.
6563 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6565         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6566         if defined.
6568         * nss/nsswitch.h (nss_interface_function): Provide new
6569         macro for use with NSS functions.
6570         * grp/initgroups.c: Use new macro.
6571         * nss/getXXbyYY.c: Likewise.
6572         * nss/getXXbyYY_r.c: Likewise.
6573         * nss/getXXent.c: Likewise.
6574         * nss/getXXent_r.c: Likewise.
6575         * sysdeps/posix/getaddrinfo.c: Likewise.
6577 2012-10-30  Andreas Jaeger  <aj@suse.de>
6579         * po/ru.po: Update Russion translation from translation project.
6581 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6583         [BZ #14152]
6584         [BZ #14783]
6585         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6586         result and shift together with sticky bit instead of replicating
6587         round-to-nearest rounding.
6588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6590         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6591         missing underflow exceptions.
6592         (fma_test_towardzero): Add more tests.
6593         (fma_test_downward): Likewise.
6594         (fma_test_upward): Likewise.
6596         [BZ #14047]
6597         * sysdeps/generic/tininess.h: New file.
6598         * sysdeps/i386/tininess.h: Likewise.
6599         * sysdeps/sh/tininess.h: Likewise.
6600         * sysdeps/x86_64/tininess.h: Likewise.
6601         * stdlib/tst-strtod-underflow.c: Likewise.
6602         * stdlib/tst-tininess.c: Likewise.
6603         * stdlib/strtod_l.c: Include <tininess.h>.
6604         (round_and_return): Do not set errno for exact underflow cases.
6605         Force an underflow exception when setting errno for underflow.
6606         Determine underflow based on rounding to normal precision if
6607         TININESS_AFTER_ROUNDING.
6608         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6609         ERANGE for exact underflow cases.
6610         * stdlib/Makefile (tests): Add tst-tininess and
6611         tst-strtod-underflow.
6612         ($(objpfx)tst-tininess): Use $(link-libm).
6613         ($(objpfx)tst-strtod-underflow): Likewise.
6615 2012-10-30  Andreas Jaeger  <aj@suse.de>
6617         [BZ#14767]
6618         * elf/Makefile (tests): Remove conditional for have-initfini-array
6619         since this is now always required and the variable does not exist
6620         anymore.
6621         (tests-static): Likewise.
6622         (modules-names): Likewise.
6624         * po/eo.po: Add Esperanto translation from translation project.
6626         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6627         merged with constructor/destructor.
6628         (init_array): Likewise.
6629         * elf/tst-array2dep.c (fini_array): Likewise.
6630         (init_array): Likewise.
6632 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6634         * manual/message.texi: Delete @cartouche tags.
6636 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6638         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6639         EOPNOTSUPP.
6640         * sysdeps/mach/hurd/fsync.c: Likewise.
6642         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6643         [_POSIX_REALTIME_SIGNALS]: Change condition to
6644         [_POSIX_REALTIME_SIGNALS > 0].
6646 2012-10-27  Andreas Jaeger  <aj@suse.de>
6648         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6649         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6650         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6651         [__WORDSIZE != 64]: Likewise.
6653 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6655         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6656         *  iconvdata/tst-tables.sh: Likewise.
6658 2012-10-25  David S. Miller  <davem@davemloft.net>
6660         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6661         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6662         of strtoull.
6664         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6665         ifunc-impl-list.c
6666         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6667         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6668         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6669         file.
6671 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6673         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6674         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6675         __getdirentries.
6677 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6678             Jim Blandy  <jimb@codesourcery.com>
6680         * scripts/cross-test-ssh.sh: New file.
6681         * manual/install.texi (Configuring and compiling): Document use of
6682         cross-test-ssh.sh.
6683         * INSTALL: Regenerated.
6685 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6687         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6688         EOPNOTSUPP.
6690 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6692         * Makeconfig (run-program-prefix): Fix comment.
6694 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6695             Jim Blandy  <jimb@codesourcery.com>
6697         * Makeconfig (test-wrapper): New variable,
6698         (test-wrapper-env): Likewise.
6699         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6700         (run-built-tests): Define to yes.
6701         (run-program-prefix): Use $(test-wrapper).
6702         (built-program-cmd): Likewise.
6703         * Rules (make-test-out): Use $(test-wrapper-env) and
6704         $(host-built-program-cmd).
6705         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6706         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6707         tst-pathopt.sh.
6708         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6709         $(test-wrapper-env) to tst-rtld-load-self.sh.
6710         ($(objpfx)order2.out): Use $(test-wrapper).
6711         ($(objpfx)tst-initorder.out): Likewise.
6712         ($(objpfx)tst-initorder2.out): Likewise.
6713         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6714         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6715         (test_wrapper_env): New variable.  Use it to run ld.so.
6716         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6717         Use it to run ld.so.
6718         (test_wrapper_env): Likewise.
6719         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6720         $(test-wrapper) to run-iconv-test.sh.
6721         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6722         (ICONV): Use $test_wrapper.
6723         * posix/Makefile ($(objpfx)globtest.out): Pass
6724         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6725         globtest.sh, not $(run-program-prefix).
6726         * posix/globtest.sh (run_via_rtld_prefix): New variable.
6727         (test_wrapper): Likewise.
6728         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
6729         set together with run_via_rtld_prefix.
6730         (run_program_prefix): Define in terms of test_wrapper and
6731         run_via_rtld_prefix.
6733 2012-10-24  Roland McGrath  <roland@hack.frob.com>
6735         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6736         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6737         Targets removed.
6739         [BZ #14743]
6740         * include/time.h: Remove librt_hidden_proto (clock_gettime).
6741         Declare __clock_getres, __clock_gettime, __clock_settime,
6742         __clock_nanosleep, and __clock_getcpuclockid.
6743         * rt/clock_gettime.c: Define __clock_gettime as an alias.
6744         Remove librt_hidden_def (clock_gettime).
6745         * sysdeps/unix/clock_gettime.c: Likewise.
6746         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6747         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6748         * rt/clock_getres.c: Define __clock_getres as an alias.
6749         * sysdeps/posix/clock_getres.c: Likewise.
6750         * rt/clock_settime.c: Define __clock_settime as an alias.
6751         * sysdeps/unix/clock_settime.c: Likewise.
6752         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6753         * sysdeps/unix/clock_nanosleep.c: Likewise.
6754         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6755         * rt/clock-compat.c: New file.
6756         * rt/Makefile (librt-routines): Add clock-compat and move
6757         $(clock-routines) to ...
6758         (routines): ... here, new variable.
6759         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6760         Don't add get_clockfreq here.
6761         * rt/Versions (libc: GLIBC_2.17): New version set.
6762         Add clock_* symbols here.
6763         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
6764         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6765         (GLIBC_2.17): Add clock_* symbols.
6766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6768         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6770         Likewise.
6771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6772         Likewise.
6773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6777         * NEWS: Mention the move.
6779         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6780         Use __open, __read, __close rather than their public counterparts.
6781         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6782         (__get_clockfreq_via_cpuinfo): Likewise.
6783         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6784         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6786         * config.h.in (HAVE_IFUNC): New #undef.
6787         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6788         was successful.
6789         * configure: Regenerated.
6791 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6793         * configure.in: Move READELF check to start of file.
6794         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6795         libc_cv_asm_gnu_indirect_function in the process.
6796         * configure: Regenerated.
6798 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6800         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6801         send the output to /dev/null.
6802         (libc_cv_cc_with_libunwind): Likewise.
6803         (libc_cv_as_noexecstack): Likewise.
6804         * configure: Regenerate.
6806 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6808         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6810         * posix/globtest.sh (TMPDIR): Do not set.
6811         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6812         (testout): Likewise.
6814 2012-10-24  Andreas Jaeger  <aj@suse.de>
6816         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6817         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6818         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6819         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6820         posix_fadvise64, posix_fallocate64.
6822         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6823         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6824         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6825         Likewise.
6826         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6827         Likewise.
6828         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6830         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6831         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6832         <bits/fcntl-linux.h>.
6833         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6835         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6836         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6837         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6838         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6839         [__WORDSIZE != 64]: Likewise.
6841 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6843         * Makeconfig (run-built-tests): New variable.
6844         * Rules [$(cross-compiling) = yes]: Change condition to
6845         [$(run-built-tests) = no].
6846         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6847         to [$(run-built-tests) = yes].
6848         * elf/Makefile [$(cross-compiling) = no]: Likewise
6849         * grp/Makefile [$(cross-compiling) = no]: Likewise.
6850         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6851         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6852         * intl/Makefile [$(cross-compiling) = no]: Likewise.
6853         * io/Makefile [$(cross-compiling) = no]: Likewise.
6854         * libio/Makefile [$(cross-compiling) = no]: Likewise.
6855         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6856         * misc/Makefile [$(cross-compiling) = no]: Likewise.
6857         * posix/Makefile [$(cross-compiling) = no]: Likewise.
6858         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6859         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6860         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6861         * string/Makefile [$(cross-compiling) = no]: Likewise.
6863         * posix/Makefile ($(objpfx)globtest.out): Pass
6864         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6865         $(rtld-installed-name).
6866         * posix/globtest.sh (elf_objpfx): Remove variable.
6867         (rtld_installed_name): Likewise.
6868         (library_path): Likewise.
6869         (run_program_prefix): New variable.  Use for running globtest
6870         binary.
6872 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
6873             Joseph Myers  <joseph@codesourcery.com>
6875         * Makeconfig (host-built-program-cmd): New variable.
6876         * elf/Makefile (tst-stackguard1-ARGS): Use
6877         $(host-built-program-cmd).
6878         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6879         (tst-spawn-ARGS): Likewise.
6880         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6882 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6883             Jim Blandy  <jimb@codesourcery.com>
6885         * Makeconfig (run-via-rtld-prefix): New variable.
6886         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6887         (built-program-cmd): Likewise.
6889 2012-10-22  Andreas Jaeger  <aj@suse.de>
6891         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6892         __O_RSYNC if it exists, otherwise to O_SYNC.
6894 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
6895             Joseph Myers  <joseph@codesourcery.com>
6897         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6898         /dev/null.
6899         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6900         from /dev/null
6901         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6902         /dev/null.
6904 2012-10-22  Andreas Jaeger  <aj@suse.de>
6906         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6907         Define always.
6908         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6910         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6911         bits/fcntl-linux.h.
6913         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6914         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6917         to __O_LARGEFILE.
6918         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6919         to __O_LARGEFILE.
6921 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
6922             Joseph Myers  <joseph@codesourcery.com>
6924         * config.make.in (NM): New variable.
6926 2012-10-21  Andreas Jaeger  <aj@suse.de>
6928         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6929         definitions and declarations that are provided by
6930         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6932 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6934         [BZ #14683]
6935         * elf/Makefile (tests-static): Add tst-leaks1-static.
6936         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6937         ($(objpfx)tst-leaks1-static): New rule.
6938         ($(objpfx)tst-leaks1-static-mem): Likewise.
6939         (tst-leaks1-static-ENV): New macro.
6940         * elf/dl-open.c (dl_open_worker): Check the main application
6941         only if SHARED is defined.
6942         * elf/tst-leaks1-static.c: New file.
6944 2012-10-20  Andreas Jaeger  <aj@suse.de>
6946         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6947         generic values for Linux.
6948         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6949         and declarations that are provided by <bits/fcntl-linux.h> and
6950         include <bits/fcntl-linux.h>.
6951         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6952         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6954 2012-10-20  Roland McGrath  <roland@hack.frob.com>
6956         * io/fcntl.h: Move include of <bits/types.h> to the top and
6957         include it unconditionally.
6959 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6961         * wcsmbs/Makefile (tests-ifunc): New variable.
6962         (tests): Add $(tests-ifunc).
6963         * wcsmbs/test-wcschr-ifunc.c: New file.
6964         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6965         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6966         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6967         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6968         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6970         * string/Makefile (tests-ifunc): New variable.
6971         (tests): Add $(tests-ifunc).
6972         * string/test-memccpy.c (TEST_NAME): New macro.
6973         * string/test-memchr.c (TEST_NAME): Likewise.
6974         * string/test-memcmp.c (TEST_NAME): Likewise.
6975         * string/test-memcpy.c (TEST_NAME): Likewise.
6976         * string/test-memmem.c (TEST_NAME): Likewise.
6977         * string/test-memmove.c (TEST_NAME): Likewise.
6978         * string/test-memset.c (TEST_NAME): Likewise.
6979         * string/test-rawmemchr.c (TEST_NAME): Likewise.
6980         * string/test-stpcpy.c (TEST_NAME): Likewise.
6981         * string/test-stpncpy.c (TEST_NAME): Likewise.
6982         * string/test-strcasecmp.c (TEST_NAME): Likewise.
6983         * string/test-strcasestr.c (TEST_NAME): Likewise.
6984         * string/test-strcat.c (TEST_NAME): Likewise.
6985         * string/test-strchr.c (TEST_NAME): Likewise.
6986         * string/test-strcmp.c(TEST_NAME): Likewise.
6987         * string/test-strcpy.c (TEST_NAME): Likewise.
6988         * string/test-strcspn.c (TEST_NAME): Likewise.
6989         * string/test-strlen.c (TEST_NAME): Likewise.
6990         * string/test-strncasecmp.c (TEST_NAME): Likewise.
6991         * string/test-strncmp.c (TEST_NAME): Likewise.
6992         * string/test-strncpy.c (TEST_NAME): Likewise.
6993         * string/test-strnlen.c (TEST_NAME): Likewise.
6994         * string/test-strpbrk.c (TEST_NAME): Likewise.
6995         * string/test-strrchr.c (TEST_NAME): Likewise.
6996         * string/test-strspn.c (TEST_NAME): Likewise.
6997         * string/test-strstr.c (TEST_NAME): Likewise.
6998         * string/test-bcopy-ifunc.c: New file.
6999         * string/test-bzero-ifunc.c: Likewise.
7000         * string/test-memccpy-ifunc.c: Likewise.
7001         * string/test-memchr-ifunc.c: Likewise.
7002         * string/test-memcmp-ifunc.c: Likewise.
7003         * string/test-memcpy-ifunc.c: Likewise.
7004         * string/test-memmem-ifunc.c: Likewise.
7005         * string/test-memmove-ifunc.c: Likewise.
7006         * string/test-mempcpy-ifunc.c: Likewise.
7007         * string/test-memset-ifunc.c: Likewise.
7008         * string/test-rawmemchr-ifunc.c: Likewise.
7009         * string/test-stpcpy-ifunc.c: Likewise.
7010         * string/test-stpncpy-ifunc.c: Likewise.
7011         * string/test-strcasecmp-ifunc.c: Likewise.
7012         * string/test-strcasestr-ifunc.c: Likewise.
7013         * string/test-strcat-ifunc.c: Likewise.
7014         * string/test-strchr-ifunc.c: Likewise.
7015         * string/test-strchrnul-ifunc.c: Likewise.
7016         * string/test-strcmp-ifunc.c: Likewise.
7017         * string/test-strcpy-ifunc.c: Likewise.
7018         * string/test-strcspn-ifunc.c: Likewise.
7019         * string/test-strlen-ifunc.c: Likewise.
7020         * string/test-strncasecmp-ifunc.c: Likewise.
7021         * string/test-strncat-ifunc.c: Likewise.
7022         * string/test-strncmp-ifunc.c: Likewise.
7023         * string/test-strncpy-ifunc.c: Likewise.
7024         * string/test-strnlen-ifunc.c: Likewise.
7025         * string/test-strpbrk-ifunc.c: Likewise.
7026         * string/test-strrchr-ifunc.c: Likewise.
7027         * string/test-strspn-ifunc.c: Likewise.
7028         * string/test-strstr-ifunc.c: Likewise.
7030         * debug/Makefile (tests-ifunc): New variable.
7031         (tests): Add $(tests-ifunc).
7032         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7033         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7034         * debug/test-stpcpy_chk-ifunc.c: New file.
7035         * debug/test-strcpy_chk-ifunc.c: Likewise.
7037 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7039         [BZ #13601]
7040         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7041         header is not read in.
7043 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7045         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7046         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7047         directly.  Pass built executable to script as
7048         $(built-program-cmd).
7049         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7050         $testprogram without using LD_LIBRARY_PATH and $ldso.
7052         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7053         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7054         $(rtld-installed-name).
7055         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7056         (rtld_installed_name): Likewise.
7057         (library_path): Likewise.
7058         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7059         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7060         $(run-program-prefix) to tst-tables.sh.
7061         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7062         it to run tst-table-from and tst-table-to.
7063         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7064         Pass it to tst-table.sh.
7065         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7066         $(run-program-prefix) to tst-gettext.sh.
7067         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7068         tst-translit.sh.
7069         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7070         tst-gettext2.sh.
7071         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7072         to run tst-gettext.
7073         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7074         to run tst-gettext2.
7075         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7076         to run tst-translit.
7077         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7078         $(run-program-prefix) to tst-mtrace.sh.
7079         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7080         to run tst-mtrace.
7081         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7082         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7083         $(rtld-installed-name).
7084         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7085         (rtld_installed_name): Likewise.
7086         (run_program_prefix): New variable.  Use it to run wordexp-test.
7088         * Makeconfig (ARCH): Remove all definitions.
7089         (machine): Likewise.
7090         [ARCH]: Remove conditional code.
7091         [!objdir]: Give error.
7092         [!objdir] (objpfx): Remove.
7093         [!objdir] (common-objpfx): Likewise.
7094         [!objdir] (common-objdir): Likewise.
7095         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7096         AC_CONFIG_FILES call.
7097         * configure: Regenerated.
7099         [BZ #13888]
7100         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7101         or TMPDIR.
7102         (testout): Likewise.
7104         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7105         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7106         $(rtld-installed-name).
7107         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7108         (rtld_installed_name): Likwise.
7109         (runit): Remove function.
7110         (run_getconf): New variable,  Use it for running getconf binary.
7112 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7114         [BZ #14716]
7115         * string/test-memmem.c (check_result): New function.
7116         (do_one_test): Use it.
7117         (check1): New function.
7118         (test_main): Use it.
7120 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7122         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7124 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7126         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7127         (_G_LSEEK64): Likewise.
7128         (_G_MMAP64): Likewise.
7129         (_G_FSTAT64): Likewise.
7130         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7131         (_G_LSEEK64): Likewise.
7132         (_G_MMAP64): Likewise.
7133         (_G_FSTAT64): Likewise.
7134         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7135         unconditional.  Call __mmap64 directly.
7136         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7137         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7138         __lseek64 directly.
7139         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7140         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7141         __mmap64 directly.
7142         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7143         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7144         __lseek64 directly.
7145         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7146         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7147         __lseek64 directly.
7148         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7149         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7150         __lseek64 directly.
7151         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7152         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7153         __fxstat64 directly.
7154         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7155         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7156         unconditional.
7157         (freopen64) [!_G_OPEN64]: Remove conditional code.
7158         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7159         unconditional.
7160         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7161         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7162         unconditional.
7163         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7164         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7165         unconditional.
7166         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7167         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7168         unconditional.
7169         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7170         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7171         unconditional.
7172         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7173         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7174         unconditional.
7175         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7176         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7177         unconditional.
7178         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7180 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7182         [BZ #12140]
7183         * manual/memory.texi (Malloc Tunable Parameters): Add note
7184         about free list pointers overwriting some perturb bytes.
7185         Wording suggested by Roland McGrath.
7187 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7189         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7190         (lgamma_test): Likewise.
7191         (tgamma_test): Likewise.
7193 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7195         [BZ #14700]
7196         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7197         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7199 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7201         * NEWS: Mention BZ #14716.
7202         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7203         when removing AVAILABLE1_USES_J macro.
7205 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7207         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7208         (__bswap_64): __uint64_t for unsigned 64-bit int.
7210 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7212         * include/string.h (memmem): Declare libc hidden alias.
7213         * string/memmem.c (memmem): Define libc hidden alias.
7214         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7215         __read, __close instead of open, read, close.
7217 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7220         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7221         global and hidden.
7222         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7223         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7224         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7225         Likewise.
7226         (__rawmemchr_sse2): Likewise.
7227         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7228         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7229         (__strchr_sse2): Likewise.
7230         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7231         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7232         (__strcasecmp_sse2): Likewise.
7233         (__strncasecmp_sse2): Likewise.
7234         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7235         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7236         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7237         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7238         (__strrchr_sse2): Likewise.
7239         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7240         ifunc-impl-list.c.
7241         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7242         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7243         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7244         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7245         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7246         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7247         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7248         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7249         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7250         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7251         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7252         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7253         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7254         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7255         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7256         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7257         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7258         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7259         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7260         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7261         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7262         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7263         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7264         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7265         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7266         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7267         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7268         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7269         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7270         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7272         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7273         global and hidden.
7274         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7275         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7276         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7277         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7278         Likewise.
7279         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7280         Likewise.
7281         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7282         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7283         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7284         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7285         ifunc-impl-list.c.
7286         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7287         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7288         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7289         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7290         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7291         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7292         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7293         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7294         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7295         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7296         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7297         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7298         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7299         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7300         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7301         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7302         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7303         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7304         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7305         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7306         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7307         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7308         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7309         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7310         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7311         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7312         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7313         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7314         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7315         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7316         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7317         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7318         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7319         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7320         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7321         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7322         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7323         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7324         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7325         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7326         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7328         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7329         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7330         * include/ifunc-impl-list.h: New file.
7331         * misc/ifunc-impl-list.c: Likewise.
7332         * misc/Makefile (routines): Add ifunc-impl-list.
7333         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7334         * string/test-string.h: Include <ifunc-impl-list.h>.
7335         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7336         impl_array): New variables.
7337         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7338         are defined.
7339         (test_init): Call __libc_ifunc_impl_list to initialize
7340         func_list if TEST_IFUNC and TEST_NAME are defined.
7342         * string/Makefile (strop-tests): Add bcopy and bzero.
7343         * string/test-bcopy.c: New file.
7344         * string/test-bzero.c: Likewise.
7345         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7346         defined.
7347         * string/test-memset.c: Support bzero test if TEST_BZERO is
7348         defined.
7349         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7350         __libc_memmove.
7351         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7352         __libc_memset.
7353         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7354         of memset.
7356 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7358         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7359         * configure: Regenerated.
7361         * Makeconfig (+link-static-before-libc): Don't include
7362         $(link-static-libc).
7364         * libio/libio.h (_IO_pos_t): Remove.
7366 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7368         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7369         McGrath.
7371 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7373         * crypt/crypt-entry.c: Include fips-private.h.
7374         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7375         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7376         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7377         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7379 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7381         * crypt/crypt-private.h: Include stdbool.h.
7382         (_ufc_setup_salt_r): Return bool.
7383         * crypt/crypt-entry.c: Include errno.h.
7384         (__crypt_r): Return NULL with EINVAL for bad salt.
7385         * crypt/crypt_util.c (bad_for_salt): New.
7386         (_ufc_setup_salt_r): Check that salt is long enough and within
7387         the specified alphabet.
7388         * crypt/badsalttest.c: New file.
7389         * crypt/Makefile (tests): Add it.
7390         ($(objpfx)badsalttest): New.
7392 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7394         * NEWS: Add entry for BZ #14602.
7396 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7398         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7399         type-generic.
7400         * math/libm-test.inc: Update comment listing what functions and
7401         macros are tested.
7402         (isgreater_test): New function.
7403         (isgreaterequal_test): Likewise.
7404         (isless_test): Likewise.
7405         (islessequal_test): Likewise.
7406         (islessgreater_test): Likewise.
7407         (isunordered_test): Likewise.
7408         (main): Call the new functions.
7410 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7412         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7413         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7414         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7415         * sysdeps/i386/configure: Regenerated.
7416         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7417         * sysdeps/mach/configure: Regenerated.
7418         * sysdeps/mach/hurd/configure: Regenerated.
7419         * sysdeps/powerpc/configure: Regenerated.
7420         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7421         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7422         * sysdeps/s390/s390-32/configure: Regenerated.
7423         * sysdeps/s390/s390-64/configure: Regenerated.
7424         * sysdeps/sh/configure: Regenerated.
7425         * sysdeps/sparc/configure: Regenerated.
7426         * sysdeps/unix/sysv/linux/configure: Regenerated.
7427         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7428         * sysdeps/x86_64/configure: Regenerated.
7430         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7431         defined.  Don't check if MAP is NULL.
7433 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7435         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7436         (_G_stat64): Likewise.
7437         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7438         (_G_stat64): Likewise.
7439         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7440         instead of struct _G_stat64.
7441         * libio/fileops.c (mmap_remap_check): Likewise.
7442         (decide_maybe_mmap): Likewise.
7443         (_IO_new_file_seekoff): Likewise.
7444         (_IO_file_stat): Likewise.
7445         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7446         _G_off64_t.
7447         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7448         instead of struct _G_stat64.
7449         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7451 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7453         [BZ #14602]
7454         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7455         Replace with ...
7456         (CHECK_EOL): New macro.
7457         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7458         CHECK_EOL.
7459         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7460         Replace with CHECK_EOL.
7461         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7462         Replace with CHECK_EOL.
7464 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7466         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7467         type-generic.
7468         * math/libm-test.inc: Update comment listing what functions and
7469         macros are tested.
7470         (finite_test): New function.
7471         (isinf_test): Likewise.
7472         (isnan_test): Likewise.
7473         (fpclassify_test): Test subnormal input.
7474         (isfinite_test): Likewise.
7475         (isnormal_test): Likewise.
7476         (main): Call the new functions.
7478 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7480         [BZ #14660]
7481         * Makerules (%.dynsym): Force C locale when running
7482         $(OBJDUMP) --dynamic-syms.
7484 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7486         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7487         <stdint.h>.
7489 2012-10-06  David S. Miller  <davem@davemloft.net>
7491         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7492         upper 32-bits of the length value in %o2 since we use branch-on-register
7493         tests which consider the entire 64-bit register.
7495 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7497         * string/test-strstr.c (check2): Add a test for page boundary.
7499 2012-10-05  David S. Miller  <davem@davemloft.net>
7501         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7502         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7503         file.
7504         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7505         sysdep_routines.
7506         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7507         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7508         and bzero when HWCAP_SPARC_CRYPTO is present.
7510 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7512         [BZ #14602]
7513         * string/test-strstr.c (check2): New function.
7514         (test_main): Call check2.
7516         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7517         and bug-strchr1.
7518         * string/bug-strcasestr1.c (do_test): Moved to ...
7519         * string/test-strcasestr.c (check1): Here.  New function.
7520         (do_one_test): Break out result checking code into ...
7521         (check_result): This.  New function.
7522         (do_one_test): Call check_result.
7523         (test_main): Call check1.
7524         * string/bug-strchr1.c (do_test): Moved to ...
7525         * string/test-strchr.c (check1): Here.  New function.
7526         (do_one_test): Break out result checking code into ...
7527         (check_result): This.  New function.
7528         (do_one_test): Call check_result.
7529         (test_main): Call check1.
7530         * string/bug-strstr1.c (main): Moved to ...
7531         * string/test-strstr.c (check1): Here.  New function.
7532         (do_one_test): Break out result checking code into ...
7533         (check_result): This.  New function.
7534         (do_one_test): Call check_result.
7535         (test_main): Call check1.
7536         * string/bug-strcasestr1.c: Removed.
7537         * string/bug-strchr1.c: Likewise.
7538         * string/bug-strstr1.c: Likewise.
7540         * elf/Makefile (dl-routines): Add hwcaps.
7541         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7542         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7543         (_dl_important_hwcaps): Moved to ...
7544         * elf/dl-hwcaps.c: Here.  New file.
7545         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7547         [BZ #14557]
7548         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7549         if IS_IN_rtld isn't defined.
7551         * elf/dl-support.c (_dl_sysinfo_map): New.
7552         Include "get-dynamic-info.h" and "setup-vdso.h".
7553         (_dl_non_dynamic_init): Call setup_vdso.
7554         * elf/dynamic-link.h: Don't include <assert.h>.
7555         (elf_get_dynamic_info): Moved to ...
7556         * elf/get-dynamic-info.h: Here.  New file.
7557         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7558         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7559         * elf/setup-vdso.h: Here.  New file.
7560         * elf/rtld.c: Include "setup-vdso.h".
7561         (dl_main): Call setup_vdso.
7563 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7565         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7566         creal in comment listing functions tested.  List finite, isinf,
7567         isnan, isless, islessequal, isgreater, isgreaterequal,
7568         islessgreater, isunordered, lgamma_r and pow10 as functions and
7569         macros not tested.  Mention which functions not tested are aliases
7570         for other functions.  Fix typo.  Note that signs of NaNs are not
7571         tested.
7573         * scripts/config.guess: Update from config.git.
7574         * scripts/config.sub: Likewise.
7576 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7578         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7579         * misc/madvise.c (madvise): Renamed to __madvise.
7580         Make madvise a weak alias.
7581         * include/sys/mman.h: Declare __madvise.
7582         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7583         * sysdeps/unix/syscalls.list
7584         (madvise): Make __madvise the strong name, and madvise a weak alias.
7585         * sysdeps/unix/sysv/linux/syscalls.list
7586         (madvise, mmap): Remove redundant entries.
7587         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7588         * malloc/malloc.c (mtrim): Likewise.
7589         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7591 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7593         * sysdeps/mach/hurd/dl-cache.c: File removed.
7594         * config.h.in (USE_LDCONFIG): New #undef.
7595         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7596         * configure: Regenerated.
7597         * elf/Makefile (dl-routines): Add dl-cache only under
7598         [$(use-ldconfig) = yes].
7599         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7600         cache on [USE_LDCONFIG].
7601         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7602         [USE_LDCONFIG].
7603         * elf/rtld.c (dl_main): Likewise.
7605 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7607         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7608         _SC_LEVEL4_CACHE_LINESIZE.
7610 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7612         * sysdeps/unix/bsd/confstr.h: File removed.
7614 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7616         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7617         sys/sdt-config.h.
7619 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7621         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7622         Make 'mapoff' field ElfW(Off) rather than off_t.
7624 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7626         * nscd/Makefile: Remove nscd-cflags and all its users.
7627         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7628         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7630         [BZ #10631]
7631         * malloc.c (malloc_printerr): Clarify error message.
7633 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7635         [BZ #14648]
7636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7637         Set bit_FMA_Usable if FMA is supported.
7638         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7639         macro.
7640         (bit_FMA4_Usable): Updated.
7641         (index_FMA_Usable): New macro.
7642         (CPUID_FMA): Likewise
7643         (HAS_FMA): Defined with bit_FMA_Usable.
7645 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7647         * bits/types.h (__swblk_t): Type removed.
7648         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7649         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7650         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7651         (__SWBLK_T_TYPE): Likewise.
7652         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7653         (__SWBLK_T_TYPE): Likewise.
7654         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7655         (__SWBLK_T_TYPE): Likewise.
7656         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7657         (__SWBLK_T_TYPE): Likewise.
7659 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7660             Honza Horak <hhorak@redhat.com>
7662         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7663         (xdr_mapname): Use YPMAXMAP as maxsize.
7664         (xdr_peername): Use YPMAXPEER as maxsize.
7665         (xdr_keydat): Use YPAXRECORD as maxsize.
7666         (xdr_valdat): Use YPMAXRECORD as maxsize.
7668 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7670         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7672         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7673         * csu/init-first.c: ... here.
7674         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7675         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7676         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7677         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7678         * sysdeps/i386/init-first.c: File removed.
7679         * sysdeps/sh/init-first.c: File removed.
7681 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7683         [BZ #14645]
7684         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7685         if x * y might underflow to zero and z is zero.
7686         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7687         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7688         * math/libm-test.inc (min_subnorm_value): New variable.
7689         (fma_test): Add more tests.
7690         (fma_test_towardzero): Likewise.
7691         (fma_test_downward): Likewise
7692         (fma_test_upward): Likewise.
7693         (initialize): Set min_subnorm_value.
7695 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7697         [BZ #14638]
7698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7699         0 + 0.
7700         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7701         mode for addition resulting in exact zero.
7702         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7703         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7704         exact 0 + 0.
7705         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7706         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7707         * math/libm-test.inc (fma_test): Add more tests.
7708         (fma_test_towardzero): New function.
7709         (fma_test_downward): Likewise.
7710         (fma_test_upward): Likewise.
7711         (main): Call the new functions.
7713 2012-09-28  David S. Miller  <davem@davemloft.net>
7715         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7717 2012-09-28  Roland McGrath  <roland@hack.frob.com>
7719         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7720         instead of SIGALRM.
7722         * sysdeps/gnu/_G_config.h: Moved to ...
7723         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7724         * sysdeps/mach/hurd/_G_config.h: Moved to ...
7725         * sysdeps/generic/_G_config.h: ... here.
7727         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
7729         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7731         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7732         Conditionalize target on [libnss_test1.so-version].
7734         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7736         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7737         (elfobjdir): Move out of conditionals.
7739         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7740         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7741         (__nss_lookup_function): Conditionalize label remove_from_tree on
7742         [!DO_STATIC_NSS || SHARED], matching its only use.
7744 2012-09-28  David S. Miller  <davem@davemloft.net>
7746         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7747         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7748         file.
7749         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7750         sysdep_routines.
7751         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7752         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7753         when HWCAP_SPARC_CRYPTO is present.
7755 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7757         * io/tst-mknodat.c: Create a FIFO instead of a socket.
7759 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
7761         [BZ #6530]
7762         * stdio-common/vfprintf.c (process_string_arg): Revert
7763         2000-07-22 change.
7765 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
7767         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7768         for testcase.
7769         * stdio-common/tst-sprintf.c: Include <locale.h>
7770         (main): Test sprintf's handling of incomplete multibyte
7771         characters.
7773 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7775         * elf/dl-runtime.c (VERSYMIDX): Removed.
7776         * elf/dl-version.c (VERSYMIDX): Likewise.
7777         * elf/do-rel.h (VERSYMIDX): Likewise.
7778         (VALIDX): Likewise.
7779         * elf/dynamic-link.h (VERSYMIDX): Likewise.
7780         * elf/rtld.c (VALIDX): Likewise.
7781         (ADDRIDX): Likewise.
7782         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7783         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7784         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7785         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7786         (VALIDX): Likewise.
7787         (ADDRIDX): Likewise.
7789 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7791         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7793 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
7795         [BZ #11438]
7796         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7797         to global scope.
7798         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7799         addresses are in the same scope as 192.0.2/24.
7800         * posix/gai.conf: Document new scope table defaults.
7802 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7804         [BZ #5298]
7805         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7806         for ftell.  Compute offsets from write pointers instead.
7807         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7809 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7811         [BZ #14543]
7812         * libio/Makefile (tests): New test case tst-fseek.
7813         * libio/tst-fseek.c: New test case to verify that fseek/ftell
7814         combination works in wide mode.
7815         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7816         state when the external buffer state changes.
7818 2012-09-27  David S. Miller  <davem@davemloft.net>
7820         [BZ #14376]
7821         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7822         pass reloc->r_addend in as the 'high' argument to
7823         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7827 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7829         * rt/tst-aio2.c: Include <pthread.h>.
7830         * rt/tst-aio3.c: Likewise.
7832 2012-09-27  Steve Ellcey  <sellcey@mips.com>
7834         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7836 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7838         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7839         contents on [SHARED].
7841 2012-09-26  Marek Polacek  <polacek@redhat.com>
7843         [BZ #14530]
7844         [BZ #13741]
7845         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7846         for C++ and GCC <4.3 as well as for non GCC compilers.
7848 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7850         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7852 2012-09-25  Roland McGrath  <roland@hack.frob.com>
7854         * Makefile.in (all, install): Declare with .PHONY.
7855         Reported by Michael Hope <michael.hope@linaro.org>.
7857 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7859         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7860         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7861         system header.
7862         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7863         Likewise.
7864         (sydep_routines): Add the new and the internal functions.
7865         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7866         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7868         (GLIBC_2.17): Add the new function.
7869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7870         (GLIBC_2.17): Likewise.
7871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7872         (GLIBC_2.17): Likewise.
7873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7874         (GLIBC_2.17): Likewise.
7875         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7877 2012-09-25  Alan Modra  <amodra@gmail.com>
7879         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7880         Add release barrier before setting once_control to say
7881         initialisation is done.  Add hints on lwarx.  Use macro in
7882         place of isync.
7883         (clear_once_control): Add release barrier.
7885 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7887         [BZ #13629]
7888         * math/s_clog.c (__clog): Handle more values close to |z| = 1
7889         specially.
7890         * math/s_clog10.c (__clog10): Likewise.
7891         * math/s_clog10f.c (__clog10f): Likewise.
7892         * math/s_clog10l.c (__clog10l): Likewise.
7893         * math/s_clogf.c (__clogf): Likewise.
7894         * math/s_clogl.c (__clogl): Likewise.
7895         * math/Makefile (libm-calls): Add x2y2m1.
7896         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7897         (__x2y2m1): Likewise.
7898         (__x2y2m1l): Likewise.
7899         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7900         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7901         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7902         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7903         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7904         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7905         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7906         * sysdeps/i386/fpu/libm-test-ulps: Update.
7907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7909         [BZ #14621]
7910         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7911         int as type of variable DEPTH.
7912         (glob): Use size_t instead of int as type of variables NEWCOUNT
7913         and OLD_PATHC.
7915 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7917         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7918         Add s_sincosf-sse2.
7919         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7920         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7921         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7922         macros for using routine as __sincosf_ia32.
7923         Use macro for function declaration and weak_alias.
7924         * sysdeps/i386/fpu/libm-test-ulps: Update.
7926         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7929         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7930         subnormal argument.
7931         * math/s_cexpf.c (__cexpf): Likewise.
7932         * math/s_csinf.c (__csinf): Likewise.
7933         * math/s_csinhf.c (__csinhf): Likewise.
7934         * math/s_ctanf.c (__ctanf): Likewise.
7935         * math/s_ctanhf.c (__ctanhf): Likewise.
7936         * math/s_ccosh.c (__ccoshf): Likewise.
7937         * math/s_cexp.c (__cexpl): Likewise.
7938         * math/s_csin.c (__csin): Likewise.
7939         * math/s_csinh.c (__csinh): Likewise.
7940         * math/s_ctan.c (__ctan): Likewise.
7941         * math/s_ctanh.c (ctanh): Likewise.
7942         * math/s_ccoshl.c (__ccoshl): Likewise.
7943         * math/s_cexpl.c (__cexpl): Likewise.
7944         * math/s_csinl.c (__csinl): Likewise.
7945         * math/s_csinhl.c (__csinhl): Likewise.
7946         * math/s_ctanl.c (__ctanl): Likewise.
7947         * math/s_ctanhl.c (__ctanhl): Likewise.
7949 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7951         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7952         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7953         (_IO_off_t): Define to __off_t, not _G_off_t.
7954         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7955         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7956         (_IO_wint_t): Define to wint_t, not _G_wint_t.
7957         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7958         type of __dummy and __dummy2 fields.
7959         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7960         (_G_ssize_t): Likewise.
7961         (_G_off_t): Likewise.
7962         (_G_pid_t): Likewise.
7963         (_G_uid_t): Likewise.
7964         (_G_wchar_t): Likewise.
7965         (_G_wint_t): Likewise.
7966         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7967         (_G_ssize_t): Likewise.
7968         (_G_off_t): Likewise.
7969         (_G_pid_t): Likewise.
7970         (_G_uid_t): Likewise.
7971         (_G_wchar_t): Likewise.
7972         (_G_wint_t): Likewise.
7973         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7974         (_G_ssize_t): Likewise.
7975         (_G_off_t): Likewise.
7976         (_G_pid_t): Likewise.
7977         (_G_uid_t): Likewise.
7978         (_G_wchar_t): Likewise.
7979         (_G_wint_t): Likewise.
7981 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7983         * malloc/arena.c: Include malloc-sysdep.h.
7984         (shrink_heap): Use check_may_shrink_heap to decide if madvise
7985         is sufficient to shrink the heap or an unmap is needed.
7986         * sysdeps/generic/malloc-sysdep.h: New file.  Define
7987         new function check_may_shrink_heap.
7988         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
7989         new function check_may_shrink_heap.
7991 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7993         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7994         comments.
7996 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
7998         * catgets/test-gencat.sh: Add "set -e".
7999         * elf/tst-pathopt.sh: Likewise.
8000         * grp/tst_fgetgrent.sh: Likewise.
8001         * iconvdata/run-iconv-test.sh: Likewise.
8002         * intl/tst-gettext.sh: Likewise.
8003         * intl/tst-gettext2.sh: Likewise.
8004         * intl/tst-gettext4.sh: Likewise.
8005         * intl/tst-gettext6.sh: Likewise.
8006         * intl/tst-translit.sh: Likewise.
8007         * io/ftwtest-sh: Likewise.
8008         * libio/test-freopen.sh: Likewise.
8009         * malloc/tst-mtrace.sh: Likewise.
8010         * posix/globtest.sh: Likewise.
8011         * posix/tst-getconf.sh: Likewise.
8012         * posix/wordexp-tst.sh: Likewise.
8013         * stdio-common/tst-printf.sh: Likewise.
8014         * stdio-common/tst-unbputc.sh: Likewise.
8015         * stdlib/tst-fmtmsg.sh: Likewise.
8016         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8017         * catgets/Makefile: Do not specify -e option when running
8018         testsuite shell scripts.
8019         * elf/Makefile: Likewise.
8020         * grp/Makefile: Likewise.
8021         * iconvdata/Makefile: Likewise.
8022         * intl/Makefile: Likewise.
8023         * io/Makefile: Likewise.
8024         * libio/Makefile: Likewise.
8025         * malloc/Makefile: Likewise.
8026         * posix/Makefile: Likewise.
8027         * stdio-common/Makefile: Likewise.
8028         * stdlib/Makefile: Likewise.
8029         * sysdeps/x86_64/Makefile: Likewise.
8031         * io/ftwtest-sh: Add copyright header.
8032         * posix/globtest.sh: Likewise.
8033         * posix/tst-getconf.sh: Likewise.
8034         * posix/wordexp-tst.sh: Likewise.
8035         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8037 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8039         [BZ #13679]
8040         * Makeconfig (+link): Defined as $(+link-static) if
8041         $(build-shared) isn't yes.
8042         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8043         isn't yes.
8044         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8046         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8048         [BZ #14562]
8049         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8050         new chunk size with MALLOC_ALIGN_MASK.
8052 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8054         [BZ #5044]
8055         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8056         <rounding-mode.h>.
8057         (__printf_fphex): Determine rounding using get_rounding_mode and
8058         round_away.
8059         * stdio-common/tst-printf-round.c (struct hex_test): New
8060         structure.
8061         (hex_tests): New variable.
8062         (test_hex_in_one_mode): New function.
8063         (do_test): Also run tests for hex float output.
8065 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8067         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8068         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8069         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8070         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8071         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8072         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8073         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8074         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8076 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8078         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8079         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8080         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8081         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8083 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8085         [BZ #14579]
8086         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8087         mode only.
8088         * elf/tst-rtld-load-self.sh: New test.
8089         * elf/Makefile: Run it.
8091 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8093         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8094         (tst-writev-ENV): Remove.
8095         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8097 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8099         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8101 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8103         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8104         unconditional.
8105         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8106         Likewise.
8107         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8108         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8109         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8110         Likewise.
8112 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8114         [BZ #14587]
8115         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8116         * config.make.in (have-cpp-asm-debuginfo): Removed.
8117         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8118         * configure: Regenerated.
8120 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8122         [BZ #5044]
8123         * stdio-common/printf_fp.c: Include <stdbool.h> and
8124         <rounding-mode.h>.
8125         (___printf_fp): Determine rounding using get_rounding_mode and
8126         round_away.
8127         * stdio-common/tst-printf-round.c: New file.
8128         * stdio-common/Makefile (tests): Add tst-printf-round.
8129         (link-libm): New variable.
8130         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8132 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8134         [BZ #14576]
8135         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8136         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8137         Likewise.
8138         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8139         Likewise.
8141 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8143         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8144         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8145         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8146         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8148 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8150         [BZ #14518]
8151         * include/rounding-mode.h: New file.
8152         * sysdeps/generic/get-rounding-mode.h: Likewise.
8153         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8154         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8155         (MAX_VALUE): New macro.
8156         (MIN_VALUE): Likewise.
8157         (overflow_value): New function.
8158         (underflow_value): Likewise.
8159         (round_and_return): Use overflow_value and underflow_value to
8160         determine return values in overflow and underflow cases.  Use
8161         round_away to determine rounding depending on rounding mode.
8162         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8163         determine return values in overflow and underflow cases.
8164         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8165         (struct test_results): New structure.
8166         (struct test): Use struct test_results to store expected results
8167         for all rounding modes.
8168         (TEST): Include expected results for all rounding modes.
8169         (test_in_one_mode): New function.
8170         (do_test): Use test_in_one_mode to compute and check results.
8171         Check results for all rounding modes.
8172         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8173         $(link-libm).
8175 2012-12-09  Allan McRae  <allan@archlinux.org>
8177         * sysdeps/i386/fpu/libm-test-ulps: Update
8179 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8181         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8182         (_G_int32_t): Likewise.
8183         (_G_uint16_t): Likewise.
8184         (_G_uint32_t): Likewise.
8185         (_G_HAVE_BOOL): Likewise.
8186         (_G_HAVE_ATEXIT): Likewise.
8187         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8188         (_G_HAVE_IO_FILE_OPEN): Likewise.
8189         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8190         (_G_int32_t): Likewise.
8191         (_G_uint16_t): Likewise.
8192         (_G_uint32_t): Likewise.
8193         (_G_HAVE_BOOL): Likewise.
8194         (_G_HAVE_ATEXIT): Likewise.
8195         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8196         (_G_HAVE_IO_FILE_OPEN): Likewise.
8197         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8198         (_G_int32_t): Likewise.
8199         (_G_uint16_t): Likewise.
8200         (_G_uint32_t): Likewise.
8201         (_G_HAVE_BOOL): Likewise.
8202         (_G_HAVE_ATEXIT): Likewise.
8203         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8204         (_G_HAVE_IO_FILE_OPEN): Likewise.
8206 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8208         * csu/libc-tls.c: Update copyright years.
8210 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8212         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8213         [!_G_USING_THUNKS]: Remove conditional code.
8214         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8215         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8217         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8218         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8219         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8220         (_G_VTABLE_LABEL_PREFIX): Likewise.
8221         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8222         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8223         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8224         (_G_VTABLE_LABEL_PREFIX): Likewise.
8225         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8226         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8227         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8228         (_G_VTABLE_LABEL_PREFIX): Likewise.
8229         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8231 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8233         * libio/Makefile: Include ../Makeconfig before tests.
8234         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8235         only if $(build-shared) is yes.
8237         * iconv/gconv_db.c: Update copyright years.
8239 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8241         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8242         unwind info if defined PIC. Fix special cases description.
8243         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8245         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8246         DP_HI_MASK entry.
8247         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8249 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8251         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8253         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8254         is NULL.
8256         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8257         (LDLIBS-tst-chk4): This.
8258         (LDFLAGS-tst-chk5): Renamed to ...
8259         (LDLIBS-tst-chk5): This.
8260         (LDFLAGS-tst-chk6): Renamed to ...
8261         (LDLIBS-tst-chk6): This.
8262         (LDFLAGS-tst-lfschk4): Renamed to ...
8263         (LDLIBS-tst-lfschk4): This.
8264         (LDFLAGS-tst-lfschk5): Renamed to ...
8265         (LDLIBS-tst-lfschk5): This.
8266         (LDFLAGS-tst-lfschk6): Renamed to ...
8267         (LDLIBS-tst-lfschk6): This.
8269         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8270         on $(common-objpfx)soversions.mk.
8272 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8274         [BZ #10014]
8275         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8276         example host name.
8278 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8280         * malloc/arena.c (arena_get_retry): New function that gets
8281         another arena for the caller to try its request on.
8282         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8283         current arena cannot fulfill the request.
8284         (__libc_memalign): Likewise.
8285         (__libc_memalign): Likewise.
8286         (__libc_pvalloc): Likewise.
8287         (__libc_calloc): Likewise.
8289 2012-09-05  John Tobey  <john.tobey@gmail.com>
8291         [BZ #13542]
8292         * manual/arith.texi (Operations on Complex): Fix description
8293         of carg branch cut.
8295 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8297         [BZ #10014]
8298         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8299         host name.
8301         [BZ #10038]
8302         * manual/memory.texi (Memory): Make order of menu items match
8303         order of sections.
8305 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8307         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8308         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8309         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8311 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8313         * csu/libc-tls.c (static_dtv): Renamed to ...
8314         (_dl_static_dtv): This.  Make it global.
8315         (_dl_initial_dtv): Removed.
8316         (__libc_setup_tls): Updated.
8317         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8318         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8319         DL_INITIAL_DTV.
8321 2012-09-06  Petr Machata  <pmachata@redhat.com>
8323         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8324         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8325         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8326         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8328 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8330         [BZ #14545]
8331         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8332         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8333         freeing dtv[-1].
8335 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8337         [BZ #14544]
8338         * Makeconfig (link-static-before-libc): Replace $(+prector)
8339         with $(+prectorT).
8340         (link-static-after-libc): Replace $(+postctor) with
8341         $(+postctorT).
8342         (link-bounded): Replace $(+prector)/$(+postctor) with
8343         $(+prectorT)/$(+postctorT).
8344         (+prectorT): New macro.
8345         (+postctorT): Likewise.
8347 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8349         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8350         (round_str): Handle values above the maximum for IBM long double
8351         as inexact.
8352         * stdlib/tst-strtod-round.c (tests): Regenerated.
8354 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8356         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8357         assembler flag.
8358         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8359         zarch_nohighgprs around the zarch optimized routines.
8360         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8361         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8362         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8363         for zarch.
8365 2012-09-05  David S. Miller  <davem@davemloft.net>
8367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8369         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8370         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8371         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8372         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8373         entries.
8375 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8377         * malloc/arena.c: Fold copyright years.
8378         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8380 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8382         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8384 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8386         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8388 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8390         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8391         change internal state upon failure.
8393 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8395         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8396         * malloc/memusage.c (mmap): Likewise.
8397         (mmap64, mremap): Likewise.  Adjust name in comment.
8399 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8401         * libio/fileops.c: Fix typos in comments.
8402         * libio/oldfileops.c: Likewise.
8403         * libio/wfileops.c: Likewise.
8405 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8407         [BZ #1349]
8408         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8409         (tst-malloc-usable-ENV): Set environment for test case.
8410         * malloc/hooks.c (malloc_check_get_size): New function to get
8411         requested size.
8412         * malloc/malloc.c (musable): Use malloc_check_get_size.
8413         * malloc/tst-malloc-usable.c: New test case.
8415 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8417         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8419 2012-09-05  Allan McRae  <allan@archlinux.org>
8421         [BZ #13966]
8422         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8423         determine header location.
8424         * configure: Regenerated.
8426 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8428         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8429         float format.
8430         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8431         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8432         format.
8433         (test): Regenerate.
8435 2012-09-04  David S. Miller  <davem@davemloft.net>
8437         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8438         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8439         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8441 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8443         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8444         failures.
8446         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8448 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8450         [BZ #9914]
8451         * libio/iogetdelim.c: Include <limits.h>.
8452         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8453         + len + 1 would overflow.
8455 2012-09-03  Andreas Jaeger  <aj@suse.de>
8457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8458         * sysdeps/i386/fpu/libm-test-ulps: Update.
8460 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8462         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8463         Add s_sinf-sse2, s_conf-sse2.
8465         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8466         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8467         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8468         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8470         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8471         for using routine as __sinf_ia32.
8472         Use macro for function declaration and weak_alias.
8473         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8474         for using routine as __cosf_ia32.
8475         Use macro for function declaration and weak_alias.
8477         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8478         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8480         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8481         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8484         * math/libm-test.inc (cos_test): Add more test cases.
8485         (sin_test): Likewise.
8486         (sincos_test): Likewise.
8488 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8490         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8491         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8492         hidden.
8493         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8495 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8497         [BZ #14538]
8498         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8499         first element of the GOT.
8500         (elf_machine_load_address): Return the difference between
8501         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8503 2012-09-01  Allan McRae  <allan@archlinux.org>
8505         [BZ #13412]
8506         * configure.in (AWK): Require gawk version 3.0 or later.
8507         * configure: Regenerated.
8509 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8511         * sysdeps/unix/sysv/linux/kernel-features.h
8512         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8513         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8514         [__NR_clock_getres]: Make code unconditional.
8515         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8516         (clock_getcpuclockid): Remove code left unreachable by removal of
8517         conditionals.
8518         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8519         code unconditional.
8520         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8521         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8522         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8523         Make code unconditional.
8524         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8525         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8526         * sysdeps/unix/sysv/linux/clock_settime.c
8527         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8528         conditional code.
8529         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8530         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8532 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8534         [BZ #14476]
8535         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8536         scripts/test-installation.pl.
8538         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8539         and $ld_so_version if it is set.
8541 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8543         [BZ #14516]
8544         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8545         failure if reading from procfs failed.
8546         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8548 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8550         * sysdeps/unix/sysv/linux/kernel-features.h
8551         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8552         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8553         Remove conditional code.
8554         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8555         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8556         Remove conditional code.
8557         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8558         * sysdeps/unix/sysv/linux/i386/fxstat.c
8559         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8560         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8561         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8562         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8563         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8564         * sysdeps/unix/sysv/linux/i386/lxstat.c
8565         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8566         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8567         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8568         Remove conditional code.
8569         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8570         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8571         Remove conditional code.
8572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8573         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8574         <kernel-features.h>.
8575         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8576         Remove.
8577         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8578         Remove conditional code.
8579         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8580         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8581         Remove conditional.
8583 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8585         [BZ #5400]
8586         * NEWS: Add fixed bug number.
8588 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8590         [BZ #14519]
8591         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8592         underflowing exponent in case of negative sign.
8593         * stdlib/tst-strtod-round-data: Add more tests.
8594         * stdlib/tst-strtod-round.c (tests): Regenerated.
8596         [BZ #3479]
8597         * stdlib/strtod_l.c (NDIG): Remove.
8598         (HEXNDIG): Likewise.
8599         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8600         smallest representable value.
8601         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8602         lie within an exact representation of 1/2 ulp of the result.
8603         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8604         unconditionally.
8605         (TENS_P9_IDX): Define unconditionally.
8606         (TENS_P9_SIZE): Likewise.
8607         (TENS_P10_IDX): Likewise.
8608         (TENS_P10_SIZE): Likewise.
8609         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8610         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8611         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8612         entries for 10^2^13 and 10^2^14.
8613         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8614         (TENS_P13_IDX): Define.
8615         (TENS_P13_SIZE): Likewise.
8616         (TENS_P14_IDX): Likewise.
8617         (TENS_P14_SIZE): Likewise.
8618         (_fpioconst_pow10): Change array size to
8619         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8620         unconditional.
8621         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8622         1024]: Add entries for 10^2^13 and 10^2^14.
8623         [LAST_POW10 > _LAST_POW10]: Remove #error.
8624         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8625         (_fpioconst_pow10): Change array size to
8626         FPIOCONST_POW10_ARRAY_SIZE.
8627         * stdlib/gen-fpioconst.c: New file.
8628         * stdlib/gen-tst-strtod-round.c: Likewise.
8629         * stdlib/tst-strtod-round-data: Likewise.
8630         * stdlib/tst-strtod-round.c: Likewise.
8631         * stdlib/Makefile (tests): Add tst-strtod-round.
8633         [BZ #14459]
8634         * stdlib/strtod_l.c: Include <stdint.h>.
8635         (NDEBUG): Do not define.
8636         (round_and_return): Change EXPONENT parameter to type intmax_t.
8637         Rearrange calculations to avoid internal overflow possibilities.
8638         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8639         Rearrange calculations to avoid internal overflow possibilities.
8640         Assert that number fits inside MPNSIZE limbs.
8641         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8642         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8643         calculations and add assertions to avoid internal overflow
8644         possibilities.  Add casts to avoid signed/unsigned operations.
8645         * stdlib/tst-strtod-overflow.c: New file.
8646         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8648 2012-08-25  Marek Polacek  <polacek@redhat.com>
8650         * time/time.h: Fix some typos in comments.
8652 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8654         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8655         * posix/tst-rfc3484-2.c: Likewise.
8656         * posix/tst-rfc3484-3.c: Likewise.
8658 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8660         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8661         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8663 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8665         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8666         #include of fxstatat64.c.
8668 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8670         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8671         * shadow/getspent_r.c: Likewise.
8672         * shadow/getspnam.c: Likewise.
8673         * shadow/getspnam_r.c: Likewise.
8674         * gshadow/getsgent.c: Likewise.
8675         * gshadow/getsgent_r.c: Likewise.
8676         * gshadow/getsgnam.c: Likewise.
8677         * gshadow/getsgnam_r.c: Likewise.
8678         * inet/getnetbyad.c: Likewise.
8679         * inet/getnetbyad_r.c: Likewise.
8680         * inet/getnetbynm.c: Likewise.
8681         * inet/getnetbynm_r.c: Likewise.
8682         * inet/getnetent.c: Likewise.
8683         * inet/getnetent_r.c: Likewise.
8684         * inet/getproto.c: Likewise.
8685         * inet/getproto_r.c: Likewise.
8686         * inet/getprtent.c: Likewise.
8687         * inet/getprtent_r.c: Likewise.
8688         * inet/getprtname.c: Likewise.
8689         * inet/getprtname_r.c: Likewise.
8690         * inet/getrpcbyname.c: Likewise.
8691         * inet/getrpcbyname_r.c: Likewise.
8692         * inet/getrpcbynumber.c: Likewise.
8693         * inet/getrpcbynumber_r.c: Likewise.
8694         * inet/getrpcent.c: Likewise.
8695         * inet/getrpcent_r.c: Likewise.
8696         * inet/getaliasent.c: Likewise.
8697         * inet/getaliasent_r.c: Likewise.
8698         * inet/getaliasname.c: Likewise.
8699         * inet/getaliasname_r.c: Likewise.
8700         * nscd/getgrgid_r.c: Likewise.
8701         * nscd/getgrnam_r.c: Likewise.
8702         * nscd/gethstbyad_r.c: Likewise.
8703         * nscd/gethstbynm3_r.c: Likewise.
8704         * nscd/getpwnam_r.c: Likewise.
8705         * nscd/getpwuid_r.c: Likewise.
8706         * nscd/getsrvbynm_r.c: Likewise.
8707         * nscd/getsrvbypt_r.c: Likewise.
8708         * nscd/gai.c: Likewise.
8710         * configure.in (build_nscd): New substituted variable, set
8711         by --disable-build-nscd and defaults to $use_nscd.
8712         * configure: Regenerated.
8713         * config.make.in (build-nscd): New substituted variable.
8714         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8715         Change conditional to require [$(build-nscd) = yes] as well.
8716         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8718         [BZ# 13696]
8719         * configure.in (use_nscd): New substituted variable, set by
8720         --disable-nscd.  If enabled, define USE_NSCD.
8721         * configure: Regenerated.
8722         * config.h.in: Add USE_NSCD.
8723         * config.make.in (use-nscd): New substituted variable.
8724         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8725         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8726         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8727         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8728         (CFLAGS-getgrnam_r.c): Likewise.
8729         (CFLAGS-initgroups.c): Likewise.
8730         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8731         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8732         Variables removed.
8733         * inet/getnetgrent_r.c
8734         (nscd_setnetgrent): New function, broken out of ...
8735         (setnetgrent): ... here.  Call it.
8736         (innetgr): Conditionalize nscd bits on [USE_NSCD].
8737         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8738         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8739         * nscd/Makefile (routines, aux): Move definitions after include of
8740         Makeconfig.  Conditionalize on [$(use-nscd) != no].
8741         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8742         Conditionalize on [USE_NSCD].
8743         (is_nscd, nscd_init_cb): Likewise.
8744         (nss_load_library): Conditionalize init callback on [USE_NSCD].
8745         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8746         * nss/nss_db/db-init.c: Likewise.
8747         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8748         [USE_NSCD].
8749         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8750         (make_request): Use it.
8751         (cache_valid_p): New function.
8752         (__check_pf): Use it.
8753         * NEWS: Add item for --disable-nscd.
8755 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
8757         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8758         to support sed >= 4.2.1-20-ga9bf076.
8759         * configure: Regenerated.
8761 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8763         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8764         Conditionalize whole body on [IREL].
8766 2012-08-22  Jeff Law <law@redhat.com>
8768         [BZ #14505]
8769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8770         if the family is PF_UNSPEC.
8772 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
8774         * Makerules (lib-version): Rename from V.
8775         (install-lib-nosubdir): Change V to lib-version.
8777 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
8779         [BZ #14252]
8780         * powerpc32/power6/wcschr.c: New file.
8781         * powerpc32/power6/wcscpy.c: New file.
8782         * powerpc32/power6/wcsrchr.c: New file.
8783         * powerpc64/power6/wcschr.c: New file.
8784         * powerpc64/power6/wcscpy.c: New file.
8785         * powerpc64/power6/wcsrchr.c: New file.
8787 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8789         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8790         (two_way_short_needle): Use it.
8791         * string/strstr.c (AVAILABLE1_USES_J): Define.
8792         * string/strcasestr.c: Likewise.
8794         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8795         array references.
8796         * string/strcasestr.c (TOLOWER): Make side-effect safe.
8798         [BZ #11607]
8799         * NEWS: Add an entry.
8800         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8801         define their defaults.
8802         (two_way_short_needle): Detect end-of-string on-the-fly.
8803         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8804         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8805         * string/bug-strcasestr1.c: New test.
8806         * string/Makefile: Run it.
8808 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8810         [BZ #11607]
8811         * string/str-two-way.h (two_way_short_needle): Optimize matching of
8812         the first character.
8814 2012-08-21  Roland McGrath  <roland@hack.frob.com>
8816         * csu/elf-init.c (__libc_csu_irel): Function removed.
8817         * csu/libc-start.c (apply_irel): New function.
8818         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8820 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
8822         * sysdeps/unix/sysv/linux/kernel-features.h
8823         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8824         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8825         <kernel-features.h>.
8826         [__NR_fadvise64_64]: Make code unconditional.
8827         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8828         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8829         !__NR_fadvise64_64)]: Likewise.
8830         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8831         !__NR_fadvise64_64))]: Likewise.
8832         [__NR_fadvise64]: Make code unconditional.
8833         [!__NR_fadvise64]: Remove conditional code.
8834         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8835         <kernel-features.h>.
8836         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8837         unconditional.
8838         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8839         conditional code.
8840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8841         not include <kernel-features.h>.
8842         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8843         unconditional.
8844         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8845         conditional code.
8846         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8847         include <kernel-features.h>.
8848         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8849         unconditional.
8850         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8851         conditional code.
8853 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8855         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8856         slight instruction rearrangements per scrollpipe analysis.
8857         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8859 2012-08-20  Roland McGrath  <roland@hack.frob.com>
8861         * manual/syslog.texi (syslog; vsyslog, closelog):
8862         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8863         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8865         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8866         DSOCAPS to match condition on defining it.
8868 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
8870         * sysdeps/unix/sysv/linux/kernel-features.h
8871         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8873         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8874         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8876         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8877         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8879         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8880         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8882         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8883         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8885         * sysdeps/unix/sysv/linux/kernel-features.h
8886         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8887         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8888         unconditional.
8889         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8890         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8891         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8892         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8893         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8894         Make code unconditional.
8895         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8896         (__mmap64) [!__NR_mmap2]: Likewise.
8897         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8898         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8899         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8900         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8901         [__NR_mmap2]: Make code unconditional.
8902         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8903         (__mmap64) [!__NR_mmap2]: Likewise.
8905 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8907         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8909 2012-08-18  Andreas Jaeger  <aj@suse.de>
8911         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8913 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8915         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8916         * include/unistd.h (__have_sock_cloexec): Likewise.
8917         (__have_pipe2): Likewise.
8918         (__have_dup3): Likewise.
8920 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8922         [BZ #9685]
8923         * include/unistd.h (__have_pipe2): Change define into an extern int.
8924         (__have_dup3): Likewise.
8925         * socket/have_sock_cloexec.c: Include fcntl.h.
8926         (__have_pipe2): New variable.
8927         (__have_dup3): Likewise.
8929 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
8931         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8933 2012-08-17  Marek Polacek  <polacek@redhat.com>
8935         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8936         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8938 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8940         * configure.in: Add AC_SUBST for sysheaders.
8941         * configure: Regenerated.
8942         * config.make.in (sysheaders): New substituted variable.
8944         * sysdeps/unix/mkfifo.c: Moved ...
8945         * sysdeps/posix/mkfifo.c: ... here.
8946         * sysdeps/unix/mkfifoat.c: Moved ...
8947         * sysdeps/posix/mkfifoat.c: ... here.
8949         * sysdeps/unix/utime.c: Moved ...
8950         * sysdeps/posix/utime.c: ... here.
8952         * sysdeps/unix/time.c: Moved ...
8953         * sysdeps/posix/time.c: ... here.
8954         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8955         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8957         * sysdeps/unix/nice.c: Moved ...
8958         * sysdeps/posix/nice.c: ... here.
8960         * sysdeps/unix/alarm.c: Moved ...
8961         * sysdeps/posix/alarm.c: ... here.
8963         * intl/Makefile ($(codeset_mo)): Depend on the input file.
8965 2012-08-17  Jeff Law <law@redhat.com>
8967         * intl/Makefile (codeset_mo): New variable.
8968         ($(codeset_mo)): New target.
8969         (tst-codeset.out): Depend on that.  Remove explicit rule.
8970         (tst-gettext3.out, tst-gettext5.out): Likewise.
8971         (LOCPATH-ENV, tst-codeset-ENV): New variables.
8972         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8973         * intl/tst-codeset.sh: Remove.
8974         * intl/tst-gettext3.sh: Likewise.
8975         * intl/tst-gettext5.sh: Likewise.
8977 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8979         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
8980         * sysdeps/unix/syscalls.list: ... here.
8982         * sysdeps/posix/getaddrinfo.c
8983         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8984         (gaiconf_init, gaiconf_reload): Use them.
8985         [!_STATBUF_ST_NSEC]
8986         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8987         Define using time_t rather than struct timespec.
8989         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8990         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8991         Macros removed.
8992         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8993         [!NO_THREADS].
8994         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8995         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8996         Likewise.
8998         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8999         __libc_cleanup_push argument.
9001         * bits/param.h: New file.
9002         * misc/sys/param.h: New file.
9003         * include/sys/param.h: New file.
9004         * misc/Makefile (headers): Add bits/param.h.
9005         * sysdeps/generic/sys/param.h: File removed.
9006         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9007         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9008         * sysdeps/mach/hurd/bits/param.h: New file.
9009         * sysdeps/mach/hurd/sys/param.h: File removed.
9011         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9012         last change.
9014         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9015         [_IO_MTSAFE_IO].
9016         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9017         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9018         New macros.
9020         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9021         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9022         rather than -D_IO_MTSAFE_IO conditionally.
9023         * stdio-common/Makefile (CPPFLAGS): Likewise.
9024         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9025         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9026         Use $(libio-mtsafe).
9027         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9028         of -D_IO_MTSAFE_IO.
9029         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9030         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9031         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9032         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9033         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9034         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9035         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9036         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9037         (CFLAGS-fread_u_chk.c): Likewise.
9038         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9039         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9040         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9041         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9042         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9043         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9044         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9045         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9046         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9048         * libio/Makefile: Test [$(libc-reentrant) = yes]
9049         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9051         * Makeconfig
9052         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9053         * sysdeps/pthread/configure: File removed.
9054         * sysdeps/pthread/Makeconfig: New file.
9055         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9056         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9058 2012-08-16  Gary Benson  <gbenson@redhat.com>
9060         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9061         unmapping the first object in a namespace.
9063 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9065         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9066         (__internal_setnetgrent): ... this.  Add internal_function to
9067         definition.  Add libc_hidden_def.
9068         (setnetgrent): Update caller.
9069         (internal_endnetgrent): Renamed to ...
9070         (__internal_endnetgrent): ... this.  Add internal_function to
9071         definition.  Add libc_hidden_def.
9072         (endnetgrent): Update caller.
9073         (internal_getnetgrent_r): Renamed to ...
9074         (__internal_getnetgrent_r): ... this.  Add internal_function to
9075         definition.  Add libc_hidden_def.
9076         (__getnetgrent_r): Update caller.
9077         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9079 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9081         * stdlib/longlong.h: Update from GCC.
9083 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9085         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9086         on _QL, which is set by umul_ppmm but never used.
9087         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9088         variables, which are set by GMP macros but never used.
9089         * stdio-common/_itowa.c (_itowa): Likewise.
9090         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9091         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9093 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9095         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9096         struct La_sh_regs is not constant.
9097         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9098         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9099         and struct La_sparc64_regs are not constant.
9101 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9103         * sysdeps/unix/sysv/linux/kernel-features.h
9104         (__ASSUME_POSIX_TIMERS): Remove.
9105         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9106         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9107         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9108         Make code unconditional.
9109         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9110         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9111         Make code unconditional.
9112         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9113         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9114         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9115         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9116         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9117         Make code unconditional.
9118         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9119         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9120         (__libc_missing_posix_timers): Remove.
9122 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9124         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9125         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9127         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9129         * elf/dl-sym.c: Include <stdlib.h>.
9131         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9132         constants, which avoids warnings in 32-bit builds.
9134         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9135         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9137         * misc/lseek.c: File moved to ...
9138         * io/lseek.c: ... here.
9140         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9142         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9143         shifting LEN more than 31 bits at once.
9145 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9147         [BZ #14195]
9148         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9149         segmentation fault for a case of two empty input strings.
9150         * string/test-strncasecmp.c (check1): Renamed to...
9151         (bz12205): ...this.
9152         (bz14195): Add new testcase for two empty input strings and N > 0.
9153         (test_main): Call new testcase, adapt for renamed function.
9155 2012-08-15  Andreas Jaeger  <aj@suse.de>
9157         [BZ #14090]
9158         * crypt/md5test2.c: New test, based on test supplied by Serge
9159         Belyshev <belyshev@depni.sinp.msu.ru>.
9160         * crypt/Makefile (xtests): Add md5test-giant..
9161         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9163 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9165         [BZ #14090]
9166         * crypt/md5.c (md5_process_block): Don't assume the buffer
9167         length is less than 2**32.
9168         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9169         length is less than 2**64.
9171 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9173         * string/str-two-way.h: Include <sys/param.h>.
9174         (MAX): Macro removed.
9176         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9177         Move #define and #undef of memmove to just before and after
9178         including <string.h>.
9180         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9181         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9182         and after including <string.h>.  Move declarations of
9183         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9184         to before #include "string/memmove.c".
9186         * include/dirent.h: Declare __getdirentries.
9188         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9189         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9191 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9193         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9194         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9195         * sysdeps/i386/configure: Regenerated.
9196         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9197         STABS_CURRENT_FILE, and STABS_FUN.
9198         (END): Remove call to STABS_FUN_END.
9199         (STABS_CURRENT_FILE1): Delete.
9200         (STABS_CURRENT_FILE): Likewise.
9201         (STABS_FUN): Likewise.
9202         (STABS_FUN_END): Likewise.
9203         (STABS_FUN2): Likewise.
9204         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9205         * sysdeps/x86_64/configure: Regenerated.
9207 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9209         * elf/dl-open.c: Include <atomic.h>.
9210         * elf/dl-lookup.c: Likewise.
9212 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9214         * sysdeps/unix/sysv/linux/kernel-features.h
9215         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9216         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9217         unconditionally.
9218         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9219         unconditionally.
9220         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9221         condition on __ASSUME_CLONE_THREAD_FLAGS.
9223 2012-08-14  Andreas Jaeger  <aj@suse.de>
9225         * sysdeps/i386/fpu/libm-test-ulps: Update.
9227 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9229         * include/atomic.h (atomic_exchange_and_add): Split into ...
9230         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9231         New atomic macros.
9233 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9235         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9237 2012-08-13  Jeff Law <law@redhat.com>
9239         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9240         null byte in the output string.
9242 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9244         * sysdeps/unix/sysv/linux/kernel-features.h
9245         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9246         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9247         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9248         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9249         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9250         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9251         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9253 2012-08-09  Jeff Law <law@redhat.com>
9255         [BZ #13939]
9256         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9257         When avoid_arena is set, don't retry in the that arena.  Pick the
9258         next one, whatever it might be.
9259         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9260         (arena_lock): Pass in new parameter to arena_get2.
9261         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9262         arena_get2.
9263         (__libc_malloc): Unify retrying after main arena failure with
9264         __libc_memalign version.
9265         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9267 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9269         [BZ #14166]
9270         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9271         to __redirect_strstr.
9272         (__strstr_sse42): Use typeof __redirect_strstr.
9273         (__strstr_ia32): Likewise.
9274         (__libc_strstr): New prototype.
9275         (strstr): Renamed to ...
9276         (__libc_strstr): This.
9277         (strstr): New strong alias of __libc_strstr.
9278         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9279         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9280         __redirect_time.
9281         Include <time.h>.
9282         (__libc_time): New prototype.
9283         (time_ifunc): Replace time with __libc_time.
9284         (time): New strong alias and hidden definition of __libc_time.
9285         (__GI_time): Remove strong alias.
9286         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9287         Include <stddef.h>.
9288         (memmove): Redefined to __redirect_memmove.
9289         (__memmove_sse2): Use typeof __redirect_memmove.
9290         (__memmove_ssse3): Likewise.
9291         (__memmove_ssse3_back): Likewise.
9292         (__libc_memmove): New prototype.
9293         (memmove): Renamed to ...
9294         (__libc_memmove): This.
9295         (memmove): New strong alias of __libc_memmove.
9297 2012-08-08  Mark Salter  <msalter@redhat.com>
9299         * elf/elf.h
9300         (R_MN10300_TLS_GD): Define.
9301         (R_MN10300_TLS_LD): Likewise.
9302         (R_MN10300_TLS_LDO): Likewise.
9303         (R_MN10300_TLS_GOTIE): Likewise.
9304         (R_MN10300_TLS_IE): Likewise.
9305         (R_MN10300_TLS_LE): Likewise.
9306         (R_MN10300_TLS_DTPMOD): Likewise.
9307         (R_MN10300_TLS_DTPOFF): Likewise.
9308         (R_MN10300_TLS_TPOFF): Likewise.
9309         (R_MN10300_SYM_DIFF): Likewise.
9310         (R_MN10300_ALIGN): Likewise.
9311         (R_MN10300_NUM): Update.
9313 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9315         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9316         Remove.
9318 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9320         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9322         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9323         sysdeps/unix -> sysdeps/posix move.
9324         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9326 2012-08-07      Allan McRae     <allan@archlinux.org>
9328         [BZ #14303]
9329         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9330         (SUNOS_CPP): Likewise.
9331         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9332         not found.
9333         (open_input): Call CPP using execvp.
9335 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9337         * sysdeps/unix/sysv/linux/kernel-features.h
9338         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9339         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9340         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9341         (__ASSUME_WAITID_SYSCALL): Likewise.
9342         * sysdeps/unix/sysv/linux/dl-execstack.c
9343         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9344         code unconditional.
9345         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9346         conditional code.
9347         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9348         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9349         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9350         code.
9351         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9352         unconditional.
9353         [__ASSUME_WAITID_SYSCALL]: Likewise.
9354         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9356 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9358         * sysdeps/unix/closedir.c: Renamed to ...
9359         * sysdeps/posix/closedir.c: ... here.
9360         * sysdeps/unix/dirfd.c: Renamed to ...
9361         * sysdeps/posix/dirfd.c: ... here.
9362         * sysdeps/unix/dirstream.h: Renamed to ...
9363         * sysdeps/posix/dirstream.h: ... here.
9364         * sysdeps/unix/fdopendir.c: Renamed to ...
9365         * sysdeps/posix/fdopendir.c: ... here.
9366         * sysdeps/unix/opendir.c: Renamed to ...
9367         * sysdeps/posix/opendir.c: ... here.
9368         * sysdeps/unix/readdir.c: Renamed to ...
9369         * sysdeps/posix/readdir.c: ... here.
9370         * sysdeps/unix/readdir_r.c: Renamed to ...
9371         * sysdeps/posix/readdir_r.c: ... here.
9372         * sysdeps/unix/rewinddir.c: Renamed to ...
9373         * sysdeps/posix/rewinddir.c: ... here.
9374         * sysdeps/unix/seekdir.c: Renamed to ...
9375         * sysdeps/posix/seekdir.c: ... here.
9376         * sysdeps/unix/telldir.c: Renamed to ...
9377         * sysdeps/posix/telldir.c: ... here.
9378         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9379         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9380         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9381         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9383         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9384         * bits/fcntl.h: ... here.
9386         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9387         not 0.
9388         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9389         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9390         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9391         (struct flock): Move l_start, l_len to the beginning.
9392         Use __pid_t for l_pid.
9393         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9394         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9395         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9396         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9397         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9398         [__USE_LARGEFILE64] (struct flock64): New type.
9399         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9401         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9402         * bits/dirent.h: ... here.
9404         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9405         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9407 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9409         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9410         Change from 2.6.0 to 2.6.16.
9411         * sysdeps/unix/sysv/linux/configure: Regenerated.
9412         * sysdeps/unix/sysv/linux/kernel-features.h
9413         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9414         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9415         version.
9416         (__ASSUME_UTIMES): Likewise.
9417         (__ASSUME_CLONE_STOPPED): Remove.
9418         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9419         architectures, not kernel version.
9420         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9421         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9422         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9423         (__ASSUME_WAITID_SYSCALL): Likewise.
9424         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9425         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9426         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9427         refer to older versions.
9429 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9431         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9432         Define alphasort64 as an alias.
9433         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9434         Define versionsort64 as an alias.
9435         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9436         Define scandir64 as an alias.
9437         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9438         Define scandirat64 as an alias.
9439         * dirent/alphasort64.c (alphasort64):
9440         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9441         * dirent/versionsort64.c: Likewise.
9442         * dirent/scandir64.c: Likewise.
9443         * dirent/scandirat64.c: Likewise.
9444         * sysdeps/wordsize-64/alphasort.c: File removed.
9445         * sysdeps/wordsize-64/alphasort64.c: File removed.
9446         * sysdeps/wordsize-64/scandir.c: File removed.
9447         * sysdeps/wordsize-64/scandir64.c: File removed.
9448         * sysdeps/wordsize-64/scandirat.c: File removed.
9449         * sysdeps/wordsize-64/scandirat64.c: File removed.
9450         * sysdeps/wordsize-64/versionsort.c: File removed.
9451         * sysdeps/wordsize-64/versionsort64.c: File removed.
9452         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9453         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9454         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9455         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9456         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9457         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9458         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9459         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9461         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9462         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9463         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9464         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9465         [defined __arch64__ || defined __sparcv9]
9466         (__INO_T_MATCHES_INO64_T): New macro.
9467         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9468         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9469         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9470         * sysdeps/unix/sysv/linux/bits/dirent.h
9471         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9472         (_DIRENT_MATCHES_DIRENT64): New macro.
9474         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9475         Define lockf64 as an alias.
9476         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9477         Define fseeko64 as an alias.
9478         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9479         Define ftello64 as an alias.
9480         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9481         Define _IO_fgetpos64 and fgetpos64 as aliases.
9482         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9483         Define _IO_fsetpos64 and fsetpos64 as aliases.
9484         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9485         Conditionalize body on this.
9486         * libio/fseeko64.c: Likewise.
9487         * libio/ftello64.c: Likewise.
9488         * libio/iofgetpos64.c: Likewise.
9489         * libio/iofsetpos64.c: Likewise.
9490         * sysdeps/wordsize-64/lockf.c: File removed.
9491         * sysdeps/wordsize-64/lockf64.c: File removed.
9492         * sysdeps/wordsize-64/fseeko.c: File removed.
9493         * sysdeps/wordsize-64/fseeko64.c: File removed.
9494         * sysdeps/wordsize-64/ftello.c: File removed.
9495         * sysdeps/wordsize-64/ftello64.c: File removed.
9496         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9497         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9498         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9499         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9500         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9501         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9502         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9503         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9504         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9505         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9506         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9507         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9508         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9509         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9511         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9512         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9513         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9514         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9515         [defined __arch64__ || defined __sparcv9]
9516         (__OFF_T_MATCHES_OFF64_T): New macro.
9517         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9518         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9519         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9520         (__OFF_T_MATCHES_OFF64_T): New macro.
9522 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9524         * stdlib/secure-getenv.c (__secure_getenv): Replace
9525         GLIBC_2_16 with GLIBC_2_17.
9527 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9529         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9530         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9532 2012-08-03  David S. Miller  <davem@davemloft.net>
9534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9536 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9538         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9539         Remove.
9540         (__ASSUME_CORRECT_SI_PID): Likewise.
9541         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9542         (__ASSUME_TMPFS_NAME): Likewise.
9543         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9544         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9545         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9546         (HAVE_AUX_SECURE): Make definition unconditional.
9547         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9548         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9550 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9552         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9553         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9554         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9555         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9556         __eloop_threshold instead of SYMLOOP_MAX.
9558         * sysdeps/generic/eloop-threshold.h: New file.
9559         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9560         of MAXSYMLINKS.
9561         * elf/chroot_canon.c (chroot_canon): Likewise.
9563 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9565         [BZ #13717]
9566         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9567         Change to 2.6.0 everywhere.
9568         * sysdeps/unix/sysv/linux/configure: Regenerated.
9569         * sysdeps/unix/sysv/linux/kernel-features.h
9570         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9571         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9572         kernel versions.
9573         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9574         (__ASSUME_FUTEX_REQUEUE): Remove.
9575         (__ASSUME_STATFS64): Define unconditionally.
9576         (__ASSUME_AT_SECURE): Likewise.
9577         (__ASSUME_CORRECT_SI_PID): Likewise.
9578         (__ASSUME_TGKILL): Define without depending on kernel version for
9579         i386.
9580         (__ASSUME_UTIMES): Likewise.
9581         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9582         kernel version.
9583         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9584         (__ASSUME_TMPFS_NAME): Likewise.
9585         * README: Update reference to Linux kernel versions.
9587 2012-08-02  Marek Polacek  <polacek@redhat.com>
9589         [BZ# 14150]
9590         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9591         libc_cv_asm_type_prefix with %.
9592         * configure: Regenerated.
9593         * include/libc-symbols.h: Remove comment about
9594         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9595         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9596         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9597         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9598         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9599         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9600         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9601         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9602         * elf/tst-unique2mod1.c: Likewise.
9603         * elf/tst-unique1mod2.c: Likewise.
9604         * elf/tst-unique1mod1.c: Likewise.
9605         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9606         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9607         Replace ASM_TYPE_DIRECTIVE with .type.
9608         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9609         * sysdeps/i386/sysdep.h: Likewise.
9610         * sysdeps/x86_64/sysdep.h: Likewise.
9611         * sysdeps/sh/sysdep.h: Likewise.
9612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9613         Do not define ASM_TYPE_DIRECTIVE.
9614         * sysdeps/powerpc/sysdep.h: Likewise.
9615         * sysdeps/powerpc/powerpc32/sysdep.h:
9616         Replace ASM_TYPE_DIRECTIVE with .type.
9617         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9618         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9619         * sysdeps/i386/fpu/e_powf.S: Likewise.
9620         * sysdeps/i386/fpu/e_expl.S: Likewise.
9621         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9622         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9623         * sysdeps/i386/fpu/e_pow.S: Likewise.
9624         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9625         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9626         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9627         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9628         * sysdeps/i386/fpu/e_log2.S: Likewise.
9629         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9630         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9631         * sysdeps/i386/fpu/e_powl.S: Likewise.
9632         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9633         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9634         * sysdeps/i386/fpu/e_logl.S: Likewise.
9635         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9636         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9637         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9638         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9639         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9640         * sysdeps/i386/fpu/e_log.S: Likewise.
9641         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9642         * sysdeps/i386/fpu/e_logf.S: Likewise.
9643         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9644         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9645         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9646         * sysdeps/i386/fpu/e_log10.S: Likewise.
9647         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9648         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9649         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9650         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9651         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9652         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9653         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9654         * sysdeps/i386/i686/strtok.S: Likewise.
9655         * sysdeps/i386/i386-mcount.S: Likewise.
9656         * sysdeps/i386/strtok.S: Likewise.
9657         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9658         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9659         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9660         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9661         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9662         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9663         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9664         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9665         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9666         * sysdeps/x86_64/_mcount.S: Likewise.
9667         * sysdeps/x86_64/strtok.S: Likewise.
9668         * sysdeps/sh/_mcount.S: Likewise.
9670 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9672         * libio/iofopen.c: Include <fcntl.h>.
9673         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9674         (_IO_fopen64, fopen64): Define as aliases.
9675         * libio/iofopen64.c: Include <fcntl.h>.
9676         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9677         Conditionalize body on this.
9678         * sysdeps/wordsize-64/iofopen.c: File removed.
9679         * sysdeps/wordsize-64/iofopen64.c: File removed.
9681 2012-08-01  Marek Polacek  <polacek@redhat.com>
9683         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9684         Use dlfcn directly instead of a variable.
9685         (binfmt-subdir): Do not define.
9686         (dlfcn): Likewise.
9688 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9690         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9691         Remove all definitions.
9692         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9693         <kernel-features.h>.
9694         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9695         (miss_F_GETOWN_EX): Remove all definitions.
9696         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9697         macro definition.
9698         [!__ASSUME_FCNTL64]: Remove conditional code.
9699         [__ASSUME_FCNTL64]: Make code unconditional.
9700         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9701         <kernel-features.h>.
9702         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9703         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9704         (lockf64) [__NR_fcntl64]: Make code unconditional.
9705         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9707         * sysdeps/unix/sysv/linux/kernel-features.h
9708         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9709         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9710         Make code unconditional.
9711         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9712         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9714         [__NR_vfork]: Make code unconditional.
9715         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9716         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9718         [__NR_vfork]: Make code unconditional.
9719         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9720         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9722 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9724         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9725         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9727         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9728         Define mkstemp64 as an alias.
9729         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9730         Define mkstemps64 as an alias.
9731         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9732         Define mkostemp64 as an alias.
9733         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9734         Define mkostemps64 as an alias.
9735         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9736         Conditionalize body on this.
9737         * misc/mkostemp64.c: Likewise.
9738         * misc/mkostemps64.c: Likewise.
9739         * misc/mkstemps64.c: Likewise.
9740         * sysdeps/wordsize-64/mkstemp64.c: File removed.
9741         * sysdeps/wordsize-64/mkostemp64.c: File removed.
9742         * sysdeps/wordsize-64/mkostemp.c: File removed.
9743         * sysdeps/wordsize-64/mkstemp.c: File removed.
9744         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9745         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9746         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9747         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9749         [BZ #14138]
9750         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9751         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9752         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9753         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9755         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9756         compat_symbol macros from <shlib-compat.h> rather than the underlying
9757         default_symbol_version and symbol_version macros, so that DEFAULT
9758         lines in shlib-versions are respected.
9759         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9761 2012-08-01  Florian Weimer  <fweimer@redhat.com>
9763         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9764         Declare with warn_unused_result.
9765         (setgid, setregid, setegid, setresgid): Likewise.
9766         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9767         Likewise.
9768         * WUR-REPORT: Remove set*id functions.
9770 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
9772         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9774 2012-07-31  Roland McGrath  <roland@hack.frob.com>
9776         * include/sys/socket.h (__libc_accept, __libc_accept4):
9777         Add attribute_hidden.
9778         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9780         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9781         use of PTR_MANGLE.
9782         * inet/getnetgrent_r.c (setup): Likewise.
9784         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9786 2012-07-31  David S. Miller  <davem@davemloft.net>
9788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9790 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
9792         [BZ #13629]
9793         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9794         value between 1.0 and 2.0 and smaller part has absolute value less
9795         than 1.0.
9796         * math/s_clog10.c (__clog10): Likewise.
9797         * math/s_clog10f.c (__clog10f): Likewise.
9798         * math/s_clog10l.c (__clog10l): Likewise.
9799         * math/s_clogf.c (__clogf): Likewise.
9800         * math/s_clogl.c (__clogl): Likewise.
9801         * math/libm-test.inc (clog_test): Add more tests.
9802         (clog10_test): Likewise.
9803         * sysdeps/i386/fpu/libm-test-ulps: Update.
9804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9806 2012-07-31  Florian Weimer  <fweimer@redhat.com>
9808         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9809         Exit with zero in case no suitable GID is found, and write a
9810         message to standard error.
9812 2012-07-30  Roland McGrath  <roland@hack.frob.com>
9814         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9815         rather than to 1.
9816         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9817         (MAXPATHLEN): Removed.
9818         (NOGROUP, NODEV): New macros.
9819         (setbit, clrbit, isset, isclr): New macros.
9820         (howmany, roundup, powerof2): New macros.
9821         (DEV_BSIZE): New macro.
9823         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9824         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9826         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9827         definition on [!__NO_LONG_DOUBLE_MATH].
9829         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9830         PTR_MANGLE and PTR_DEMANGLE.
9832         * socket/accept4.c (accept4): Rename to __libc_accept4.
9833         Define accept4 as a weak alias.
9835         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9836         on [_DIRENT_HAVE_D_TYPE].
9837         * io/ftw.c (ftw_dir): Likewise.
9839         * io/xmknod.c (__xmknod): Don't check PATH for being null.
9841         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9843         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9844         Use the BSD numbers rather than the arbitrary ones we had.
9845         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9846         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9847         (SIGXCPU, SIGXFSZ): New macros.
9848         (_NSIG): Now 32.
9850         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9851         initializer on [_LIBC_REENTRANT].
9853         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9854         definitions inside [_POSIX_MAPPED_FILES].
9856         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9858         * dirent/opendir.c: Include <fcntl.h>.
9860         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9861         (__libc_getspecific): Likewise.
9862         (__libc_key_create): Likewise.
9864         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9865         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9866         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9867         (tmpfile64): Define as alias.
9868         * sysdeps/wordsize-64/tmpfile.c: File removed.
9869         * sysdeps/wordsize-64/tmpfile64.c: File removed.
9870         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9871         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9873         * stdio-common/vfscanf.c: Include <stdbool.h>.
9874         * nss/makedb.c: Likewise.
9875         * stdio-common/_i18n_number.h: Likewise.
9876         * argp/argp-help.c: Likewise.
9877         * posix/wordexp.c: Likewise.
9878         * sysdeps/posix/spawni.c: Likewise.
9879         * nss/nss_files/files-initgroups.c: Likewise.
9880         * stdio-common/reg-modifier.c: Include <stdlib.h>.
9881         * nss/nss_files/files-initgroups.c: Likewise.
9882         * nss/nss_db/db-netgrp.c: Likewise.
9883         * nss/nss_db/db-initgroups.c: Likewise.
9884         * io/fchmodat.c: Include <sys/stat.h>.
9886         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9887         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9889         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9890         [HAVE_MMAP].
9892         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9893         Add multiple inclusion protection.
9895 2012-07-27  David S. Miller  <davem@davemloft.net>
9897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9899 2012-07-27  Gary Benson  <gbenson@redhat.com>
9901         [BZ #14298]
9902         * elf/rtld.c: Include <stap-probe.h>.
9903         (dl_main): Added static probes "init_start" and "init_complete".
9904         * elf/dl-load.c: Include <stap-probe.h>.
9905         (lose): Take new parameter "nsid".
9906         Added static probe "map_failed".
9907         (_dl_map_object_from_fd): Pass namespace id to lose.
9908         Added static probe "map_start".
9909         (open_verify): Pass namespace id to lose.
9910         * elf/dl-open.c: Include <stap-probe.h>.
9911         (dl_open_worker) Added static probes "map_complete", "reloc_start"
9912         and "reloc_complete".
9913         * elf/dl-close.c: Include <stap-probe.h>.
9914         (_dl_close_worker): Added static probes "unmap_start" and
9915         "unmap_complete".
9916         * elf/rtld-debugger-interface.txt: New file documenting the above.
9918 2012-07-26  Roland McGrath  <roland@hack.frob.com>
9920         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9921         rather than a string variable.
9922         * sunrpc/rpc_main.c (h_output): Likewise.
9923         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9925 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
9927         * inet/check_native.c: New file.
9929 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
9931         [BZ #13629]
9932         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9933         if larger part has absolute value 1.0.
9934         * math/s_clog10.c (__clog10): Likewise.
9935         * math/s_clog10f.c (__clog10f): Likewise.
9936         * math/s_clog10l.c (__clog10l): Likewise.
9937         * math/s_clogf.c (__clogf): Likewise.
9938         * math/s_clogl.c (__clogl): Likewise.
9939         * math/libm-test.inc (clog_test): Add more tests.
9940         (clog10_test): Likewise.
9941         * sysdeps/i386/fpu/libm-test-ulps: Update.
9942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9944         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9945         (pltexit): Likewise.
9946         (La_regs): Likewise.
9947         (La_retval): Likewise.
9948         (int_retval): Likewise.
9949         Update #error for removed macros to refer only to definitions in
9950         tst-audit.h.
9951         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9952         macro.
9953         (pltexit): Likewise.
9954         (La_regs): Likewise.
9955         (La_retval): Likewise.
9956         (int_retval): Likewise.
9957         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9958         macro.
9959         (pltexit): Likewise.
9960         (La_regs): Likewise.
9961         (La_retval): Likewise.
9962         (int_retval): Likewise.
9963         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9964         macro.
9965         (pltexit): Likewise.
9966         (La_regs): Likewise.
9967         (La_retval): Likewise.
9968         (int_retval): Likewise.
9969         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9970         macro.
9971         (pltexit): Likewise.
9972         (La_regs): Likewise.
9973         (La_retval): Likewise.
9974         (int_retval): Likewise.
9975         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9976         macro.
9977         (pltexit): Likewise.
9978         (La_regs): Likewise.
9979         (La_retval): Likewise.
9980         (int_retval): Likewise.
9981         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9982         macro.
9983         (pltexit): Likewise.
9984         (La_regs): Likewise.
9985         (La_retval): Likewise.
9986         (int_retval): Likewise.
9987         * sysdeps/generic/tst-audit.h: Update comment to refer only to
9988         macro definitions in tst-audit.h.
9989         * sysdeps/i386/tst-audit.h: New file.
9990         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9991         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9992         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9993         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9994         * sysdeps/sh/tst-audit.h: Likewise.
9995         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9996         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9997         * sysdeps/x86_64/tst-audit.h: Likewise.
9999 2012-07-26  Andreas Jaeger  <aj@suse.de>
10001         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10002         ptrace.
10004         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10005         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10006         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10007         PTRACE_O_MASK.
10008         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10009         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10010         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10012         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10013         value.
10015         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10016         _sigsys.
10017         (si_call_addr, si_syscall, si_arch): Define new macro.
10018         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10019         _sigsys.
10020         (si_call_addr, si_syscall, si_arch): Define new marcro.
10021         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10022         _sigsys.
10023         (si_call_addr, si_syscall, si_arch): Define new macro.
10024         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10025         _sigsys.
10026         (si_call_addr, si_syscall, si_arch): Define new macro.
10028 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10030         [BZ #13717]
10031         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10032         Change to 2.4.21 where previously 2.4.1.
10033         * sysdeps/unix/sysv/linux/configure: Regenerated.
10034         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10035         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10036         Linux kernel version.
10037         (__ASSUME_STD_AUXV): Remove.
10038         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10039         kernel version.
10040         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10041         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10042         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10043         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10044         (__ASSUME_NETLINK_SUPPORT): Likewise.
10045         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10046         (__no_netlink_support): Remove conditional definition.
10047         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10048         Remove.
10049         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10050         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10051         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10052         (if_nameindex_ioctl): Remove.
10053         (if_nameindex_netlink): Do not handle __no_netlink_support.
10054         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10055         code.
10056         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10057         Remove conditional code.
10058         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10059         code.
10060         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10061         unconditional.
10062         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10063         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10064         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10065         Remove.
10066         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10067         [!__ASSUME_STD_AUXV]: Remove conditional code.
10068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10069         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10070         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10072         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10073         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10074         code.
10075         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10077         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10078         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10079         conditional code.
10080         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10082         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10083         code.
10084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10085         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10086         conditional code.
10087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10088         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10089         code unconditional.
10090         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10091         conditional code.
10092         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10093         unconditional.
10094         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10095         conditional code.
10096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10097         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10098         unconditional.
10099         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10100         conditional code.
10101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10102         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10103         code unconditional.
10104         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10105         conditional code.
10106         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10107         unconditional.
10108         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10109         conditional code.
10110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10111         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10112         code unconditional.
10113         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10114         conditional code.
10115         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10116         unconditional.
10117         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10118         conditional code.
10120 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10122         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10123         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10124         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10125         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10126         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10127         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10128         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10129         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10130         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10131         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10132         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10133         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10134         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10135         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10136         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10137         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10138         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10139         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10140         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10141         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10142         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10143         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10144         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10146 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10148         * Versions.def: Add GLIBC_2.17.
10149         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10150         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10151         Introduce __libc_secure_getenv.
10152         * stdlib/Versions (2.17): Add secure_getenv
10153         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10154         * stdlib/secure-getenv.c: Rename __secure_getenv to
10155         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10156         symbol __secure_getenv for GLIBC_2.0.
10157         * stdlib/tst-secure-getenv.c: New.
10158         * stdlib/Makefile (tests): Add testcase.
10159         * manual/startup.texi (Environment Access): Document
10160         secure_getenv.
10161         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10162         __libc_secure_getenv.
10163         * inet/ruserpass.c (ruserpass): Likewise.
10164         * malloc/mtrace.c (mtrace): Likewise.
10165         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10166         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10167         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10168         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10169         HAVE_SECURE_GETENV.
10170         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10171         __secure_getenv to __libc_secure_getenv.
10172         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10174         Likewise.
10175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10176         Likewise.
10177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10179         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10185 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10187         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10188         (struct La_i86_retval): Likewise.
10189         (struct La_x86_64_regs): Likewise.
10190         (struct La_x86_64_retval): Likewise.
10191         (struct La_x32_regs): Likewise.
10192         (struct La_x32_retval): Likewise.
10193         (struct La_ppc32_regs): Likewise.
10194         (struct La_ppc32_retval): Likewise.
10195         (struct La_ppc64_regs): Likewise.
10196         (struct La_ppc64_retval): Likewise.
10197         (struct La_sh_regs): Likewise.
10198         (struct La_sh_retval): Likewise.
10199         (struct La_s390_32_regs): Likewise.
10200         (struct La_s390_32_retval): Likewise.
10201         (struct La_s390_64_regs): Likewise.
10202         (struct La_s390_64_retval): Likewise.
10203         (struct La_sparc32_regs): Likewise.
10204         (struct La_sparc32_retval): Likewise.
10205         (struct La_sparc64_regs): Likewise.
10206         (struct La_sparc64_retval): Likewise.
10207         (struct audit_ifaces): Remove architecture-specific pltenter and
10208         pltexit members.
10209         * sysdeps/i386/ldsodefs.h: New file.
10210         * sysdeps/powerpc/ldsodefs.h: Likewise.
10211         * sysdeps/s390/ldsodefs.h: Likewise.
10212         * sysdeps/sh/ldsodefs.h: Likewise.
10213         * sysdeps/sparc/ldsodefs.h: Likewise.
10214         * sysdeps/x86_64/ldsodefs.h: Likewise.
10216 2012-07-25  Marek Polacek  <polacek@redhat.com>
10218         [BZ #6808]
10219         * math/libm-test.inc (yn_test): Add another test.
10220         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10221         to ERANGE when the result is +-Inf.
10222         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10223         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10224         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10225         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10227 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10229         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10230         equal to 0.
10231         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10232         clock_t.
10233         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10235 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10237         * configure.in <sysdeps resolving>: Correct printing
10238         Implies_before.
10239         * configure: Regenerate.
10241 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10243         * math/w_ilogb.c: Include <limits.h>.
10244         * math/w_ilogbl.c: Likewise.
10246 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10248         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10249         va_copy.  Document allowing for unavailable va_copy only as
10250         pre-C99 compatibility.
10251         * manual/string.texi (Copying and Concatenation): Use va_copy
10252         instead of __va_copy in concat example.
10254 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10256         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10257         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10258         it if not null.
10260         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10261         with O_NOLINK passed to __file_name_lookup.
10263         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10264         with O_NOLINK passed to __file_name_lookup.
10266         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10267         negative N or less than NGIDS.
10269         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10270         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10271         enough.  Use memcpy instead of strncpy.
10273 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10275         * elf/Makefile (check-data): Remove.
10276         (localplt.data): New vpath directive.
10277         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10278         instead of $(check-data).
10279         * scripts/data/localplt-generic.data: Move to ...
10280         * sysdeps/generic/localplt.data: ... here.
10281         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10282         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10283         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10285         ... here.
10286         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10288         ... here.
10289         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10291         ... here.
10292         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10294         ... here.
10295         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10297         ... here.
10298         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10300         ... here.
10302 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10304         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10305         PPC32 and PPC64 files.
10306         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10307         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10309 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10311         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10312         __makecontext_ret to ...
10313         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10314         ... here and call exit if uc_link is NULL.  New file.
10315         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10316         __makecontext_ret.S.
10317         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10318         __makecontext_ret to ...
10319         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10320         ... here and call exit if uc_link is NULL.  New file.
10321         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10322         __makecontext_ret.S.
10324 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10326         * elf/elf.h (R_390_IRELATIVE): New definition.
10327         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10328         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10329         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10330         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10331         (elf_machine_lazy_rel): Likewise.
10332         * sysdeps/s390/dl-irel.h: New file.
10333         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10334         * sysdeps/s390/s390-64/memset.S: New asm code.
10335         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10336         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10337         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10338         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10339         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10340         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10342         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10343         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10344         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10345         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10346         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10347         * sysdeps/s390/s390-32/memset.S: New asm code.
10348         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10350 2012-07-17  Marek Polacek  <polacek@redhat.com>
10352         [BZ #14349]
10353         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10354         * sysdeps/s390/s390-64/configure.in: Likewise.
10355         * sysdeps/sparc/configure.in: Likewise.
10356         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10357         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10358         * sysdeps/i386/configure.in: Likewise.
10359         * sysdeps/x86_64/configure.in: Likewise.
10360         * sysdeps/sh/configure.in: Likewise.
10361         * sysdeps/s390/s390-32/configure: Regenerated.
10362         * sysdeps/s390/s390-64/configure: Likewise.
10363         * sysdeps/x86_64/configure: Likewise.
10364         * sysdeps/sh/configure: Likewise.
10365         * sysdeps/powerpc/powerpc64/configure: Likewise.
10366         * sysdeps/powerpc/powerpc32/configure: Likewise.
10367         * sysdeps/sparc/configure: Likwise.
10368         * sysdeps/i386/configure: Likewise.
10370         * elf/dl-open.c: Comment fixes.
10372 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10374         * Makefile [CXX] (check-data): Remove.
10375         [CXX] (c++-types.data): New vpath directive.
10376         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10377         vpath.  Do not allow for C++ type data being missing.
10378         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10379         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10380         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10381         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10382         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10383         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10384         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10386         ... here.
10387         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10389         ... here.
10390         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10392         ... here.
10393         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10395         ... here.
10396         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10398         ... here.
10399         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10401         ... here.
10402         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10404         ... here.
10405         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10408         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10409         definitions to architecture-specific files.
10410         (TLS_IE): Likewise.
10411         (TLS_LD): Likewise.
10412         (TLS_GD): Likewise.
10413         * sysdeps/i386/tls-macros.h: New file.
10414         * sysdeps/powerpc/tls-macros.h: Likewise.
10415         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10416         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10417         * sysdeps/sh/tls-macros.h: Likewise.
10418         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10419         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10420         * sysdeps/x86_64/tls-macros.h: Likewise.
10422 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10424         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10425         zero value for regular exit case.
10427         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10428         (__start_context): Preserve zero value for regular exit case.
10430 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10431             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10433         * manual/setjmp.texi (setcontext): Clarify normal process
10434         termination when uc_link is the null pointer.
10435         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10436         exit call.
10438 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10440         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10441         preprocessor.  Test for each exception mask separately.
10443 2012-07-16  Andreas Jaeger  <aj@suse.de>
10445         * po/ru.po: Update from translation team.
10447 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10449         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10450         equal to 0.
10451         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10452         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10453         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10454         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10455         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10457 2012-07-13  Andreas Jaeger  <aj@suse.de>
10459         * po/fr.po: Update from translation team.
10461 2012-07-12  Marek Polacek  <polacek@redhat.com>
10463         [BZ #14173]
10464         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10465         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10466         loop condition.
10468 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10470         [BZ #13717]
10471         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10472         Change to 2.4.1 where previously 2.4.0.
10473         * sysdeps/unix/sysv/linux/configure: Regenerated.
10474         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10475         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10476         version.
10477         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10478         (__ASSUME_AT_CLKTCK): Remove.
10479         (__ASSUME_AT_PAGESIZE): Likewise.
10480         (__ASSUME_AT_XID): Likewise.
10481         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10482         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10483         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10484         unconditionally.
10485         (HAVE_AUX_PAGESIZE): Likewise.
10486         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10487         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10488         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10490 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10492         [BZ #14307]
10493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10494         the temporary buffer used to invoke __gethostbyname2_r,
10495         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10496         host_data / struct gaih_addrtuple.
10497         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10498         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10499         header file nss/nsswitch.h.
10500         * nss/nsswitch.h (global scope): Add definition of implementation
10501         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10502         resolv/nss_dns/dns-host.c).
10504 2012-07-11  Andreas Jaeger  <aj@suse.de>
10506         * po/fr.po: Update from translation team.
10508         * po/sv.po: Update from translation team
10509         * po/fr.po: Another update from translation team.
10511 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10513         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10514         for subnormals or multiply small sinh result by itself.
10515         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10518 2012-07-11  David S. Miller  <davem@davemloft.net>
10520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10522 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10524         [BZ #14347]
10525         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10526         (INTERNAL_MARK): Shift it here.
10528 2012-07-10  Marek Polacek  <polacek@redhat.com>
10530         [BZ #14151]
10531         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10532         libc_cv_asm_global_directive with .globl.
10533         * configure: Regenerated.
10534         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10535         with .globl.
10536         * sysdeps/i386/configure: Regenerated.
10537         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10538         with .globl.
10539         * sysdeps/x86_64/configure: Regenerated.
10540         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10541         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10542         * elf/tst-unique2mod2.c: Likewise.
10543         * elf/tst-unique2mod1.c: Likewise.
10544         * elf/tst-unique1mod2.c: Likewise.
10545         * elf/tst-unique1mod1.c: Likewise.
10546         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10547         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10548         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10549         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10550         * sysdeps/mach/sysdep.h: Likewise.
10551         * sysdeps/i386/sysdep.h: Likewise.
10552         * sysdeps/i386/i386-mcount.S: Likewise.
10553         * sysdeps/x86_64/_mcount.S: Likewise.
10554         * sysdeps/x86_64/sysdep.h: Likewise.
10555         * sysdeps/sh/_mcount.S: Likewise.
10556         * sysdeps/sh/sysdep.h: Likewise.
10557         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10558         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10559         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10560         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10561         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10562         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10563         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10564         * locale/localeinfo.h: Likewise.
10565         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10566         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10568 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10570         [BZ #14336]
10571         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10572         system".
10573         * manual/message.texi (The Uniforum approach): Likewise.
10574         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10575         (glibc iconv Implementation): Likewise.
10577 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10579         [BZ #14337]
10580         * math/s_clog.c (__clog): Avoid scaling a value down where that
10581         could result in underflow.
10582         * math/s_clog10.c (__clog10): Likewise.
10583         * math/s_clog10f.c (__clog10f): Likewise.
10584         * math/s_clog10l.c (__clog10l): Likewise.
10585         * math/s_clogf.c (__clogf): Likewise.
10586         * math/s_clogl.c (__clogl): Likewise.
10587         * math/libm-test.inc (clog_test): Add more tests.
10588         (clog10_test): Likewise.
10589         * sysdeps/i386/fpu/libm-test-ulps: Update.
10590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10592 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10594         [BZ #14283]
10595         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10596         by 7 not 8 to examine high bit of fractional part.
10598         [BZ #14042]
10599         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10600         for call to __mcount_internal.
10601         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10602         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10603         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10605 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10607         [BZ #14154]
10608         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10609         approximation for values within 0x1p-13f of an odd multiple of
10610         pi/4.
10611         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10612         exception.  Add more tests.
10613         * sysdeps/i386/fpu/libm-test-ulps: Update.
10615         [BZ #6778]
10616         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10617         inputs and return -1 for them.  Do not check for +Inf in case not
10618         reachable for +Inf.
10619         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10620         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10621         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10622         and return -1 for them.  Do not check for +Inf in case not
10623         reachable for +Inf.
10624         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10625         define.
10626         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10627         and return -1 for them.  Do not check for +Inf in case not
10628         reachable for +Inf.
10629         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10630         spurious underflow.
10631         * sysdeps/i386/fpu/libm-test-ulps: Update.
10632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10634 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10636         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10638 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10640         [BZ #14157]
10641         [BZ #14331]
10642         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10643         could result in spurious underflow.  Scale down values above
10644         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10645         * math/s_csqrtf.c (__csqrtf): Likewise.
10646         * math/s_csqrtl.c (__csqrtl): Likewise.
10647         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10648         spurious underflow.
10649         * sysdeps/i386/fpu/libm-test-ulps: Update.
10650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10652 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10654         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10655         xopen-msg.sed.
10656         * catgets/xopen-msg.awk: New file.
10657         * catgets/xopen-msg.sed: Removed.
10659         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10660         po2text.sed.
10661         * intl/po2test.awk: New file.
10662         * intl/po2test.sed: Removed.
10664 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10666         [BZ #14328]
10667         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10668         or multiply small sinh result by itself.
10669         * math/s_ctanf.c (__ctanf): Likewise.
10670         * math/s_ctanh.c (__ctanh): Likewise.
10671         * math/s_ctanhf.c (__ctanhf): Likewise.
10672         * math/s_ctanhl.c (__ctanhl): Likewise.
10673         * math/s_ctanl.c (__ctanl): Likewise.
10674         * math/libm-test.inc (ctan_test_tonearest): New function.
10675         (ctan_test_towardzero): Likewise.
10676         (ctan_test_downward): Likewise.
10677         (ctan_test_upward): Likewise.
10678         (ctanh_test_tonearest): Likewise.
10679         (ctanh_test_towardzero): Likewise.
10680         (ctanh_test_downward): Likewise.
10681         (ctanh_test_upward): Likewise.
10682         (main): Call these new functions.
10683         * sysdeps/i386/fpu/libm-test-ulps: Update.
10684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10686 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10688         * .gitignore: Delete /ports entry.
10690 2012-07-03  Andreas Jaeger  <aj@suse.de>
10692         * po/bg.po: Update from translation team.
10693         * po/cs.po: Likewise.
10694         * po/de.po: Likewise.
10695         * po/hr.po: Likewise.
10696         * po/nl.pl: Likewise.
10697         * po/pl.po: Likewise.
10698         * po/vi.po: Likewise.
10700 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10702         * Makeconfig [!+link] (+link-before-libc): New variable.
10703         [!+link] (+link-after-libc): Likewise.
10704         [!+link] (+link-tests): Likewise.
10705         [!+link] (+link): Define in terms of $(+link-before-libc) and
10706         $(+link-after-libc).
10707         [!+link-static] (+link-static-before-libc): New variable.
10708         [!+link-static] (+link-static-after-libc): Likewise.
10709         [!+link-static] (+link-static-tests): Likewise.
10710         [!+link-static] (+link-static): Define in terms of
10711         $(+link-static-before-libc) and $(+link-static-after-libc).
10712         [build-shared] (link-libc-before-gnulib): New variable.
10713         [build-shared] (link-libc-tests): Likewise.
10714         [build-shared] (link-libc): Define in terms of
10715         $(link-libc-before-gnulib).
10716         [!build-shared] (link-libc-tests): New variable.
10717         (link-libc-static-tests): New variable.
10718         [!gnulib] (gnulib-arch): New variable.
10719         [!gnulib] (gnulib-tests): Likewise.
10720         [!gnulib] (static-gnulib-arch): Likewise.
10721         [!gnulib] (static-gnulib-tests): Likewise.
10722         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
10723         Define with "=" instead of ":=".
10724         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
10725         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
10726         * Rules (binaries-all-notests): New variable.
10727         (binaries-all-tests): Likewise.
10728         (binaries-static-notests): Likewise.
10729         (binaries-static-tests): Likewise.
10730         (binaries-all): Define using $(binaries-all-notests) and
10731         $(binaries-all-tests).
10732         (binaries-static): Define using $(binaries-static-notests) and
10733         $(binaries-static-tests).
10734         (binaries-shared-tests): New variable.
10735         (binaries-shared-notests): Likewise.
10736         (binaries-shared): Remove variable.
10737         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10738         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10739         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10740         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10741         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10742         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10743         * elf/Makefile (sln-modules): New variable.
10744         (extra-objs): Add $(sln-modules:=.o).
10745         (ldconfig-modules): Add static-stubs.
10746         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10747         * elf/static-stubs.c: New file.
10749         [BZ #14283]
10750         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10751         by 7 not 8 to examine high bit of fractional part.  Use volatile
10752         variables when splitting into final array of floats if
10753         __FLT_EVAL_METHOD__ != 0.
10754         * math/libm-test.inc (cos_test): Add another test.
10755         (sin_test): Likewise.
10756         * sysdeps/i386/fpu/libm-test-ulps: Update.
10758         [BZ #14273]
10759         * math/libm-test.inc (cosh_test): Add more tests.
10761         * version.h (RELEASE): Set to "development".
10762         (VERSION): Set to "2.16.90".
10764 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
10766         * NEWS: Update copyright. Remove last-updated date.
10767         Mention math library bug fixes and timezone data changes.
10768         * README: Mention GNU/Hurd, x32, and HPPA support status.
10770 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
10772         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10774 2012-06-27  Andreas Jaeger  <aj@suse.de>
10776         * manual/contrib.texi (Contributors): Add Samuel Thibault.
10778 2012-06-25  Andreas Jaeger  <aj@suse.de>
10780         * sysdeps/s390/fpu/libm-test-ulps: Update.
10782 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
10783             Thomas Schwinge  <thomas@codesourcery.com>
10785         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10786         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10787         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10788         fanotify_mark.
10790 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
10792         * sysdeps/mach/start.c: Remove file.
10793         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10794         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10795         * sysdeps/sh/init-first.c: Likewise.
10797         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10798         registers for frame unwinding purposes, add CFI directives.
10799         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10800         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10801         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10802         Likewise.
10804         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10805         __fortify_fail returning.
10806         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10808         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10809         sysdeps/sh/____longjmp_chk.S.
10810         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10811         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10812         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10813         (gen-as-const-headers): Append sigaltstack-offsets.sym.
10815         * sysdeps/sh/abort-instr.h: New file.
10816         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10817         process in case exit returns.
10819         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10820         initialize the GOT register before use.
10822         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10823         calculation of ARGC > 4.
10825         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10826         meaningful names to some local labels.
10828 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10829             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10831         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10832         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10833         (__arch_compare_and_exchange_val_16_acq): Likewise.
10834         (__arch_compare_and_exchange_val_32_acq): Likewise.
10835         (atomic_exchange_and_add): Fix gUSA sequence.
10836         (atomic_add): Likewise.
10837         (atomic_add_negative): Likewise.
10838         (atomic_add_zero): Likewise.
10839         (atomic_bit_test_set): Likewise.
10841 2012-06-22  Andreas Schwab  <schwab@redhat.com>
10843         [BZ #13579]
10844         * include/link.h (struct link_map): Add l_free_initfini.
10845         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10846         l_initfini.
10847         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10848         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10849         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10850         set.
10852 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
10854         * configure.in: Use AC_LANG_SOURCE.
10855         * configure: Regenerate.
10857 2012-06-22  Roland McGrath  <roland@hack.frob.com>
10859         * configure.in (libc_cv_localstatedir): New substituted variable.
10860         * configure: Regenerated.
10861         * config.make.in (localstatedir): New variable, substituted from
10862         libc_cv_localstatedir.
10863         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10864         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10865         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10866         * sysdeps/gnu/configure: Regenerated.
10868 2012-06-21  Jeff Law  <law@redhat.com>
10870         [BZ #14277]
10871         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10872         free.  Simplify list management for _LIBC case.
10874 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
10876         [BZ #14273]
10877         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10878         Clear sign bit of 64-bit integer value before comparing against
10879         overflow value.
10881         * sysdeps/mach/configure: Regenerated.
10883 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
10885         [BZ #14278]
10886         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10888 2012-06-21  Jeff Law  <law@redhat.com>
10890         [BZ #13882]
10891         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
10892         uint16_t for elements in the "seen" array to avoid char overflows.
10893         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10894         * elf/dl-open.c (dl_open_worker): Likewise.
10896 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
10898         * scripts/list-sources.sh: Scan PORTS for translations.
10899         * po/libc.pot: Regenerated.
10901 2012-06-21  Andreas Jaeger  <aj@suse.de>
10903         [BZ #12194]
10904         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10905         warning.
10906         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10907         * bits/byteswap-16.h (__bswap_16): Likewise.
10908         * bits/byteswap.h (__bswap_constant_16): Likewise.
10910 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
10912         [BZ #14117]
10913         * sysdeps/i386/fpu_control.h: Removed.
10914         * sysdeps/x86_64/fpu_control.h: Moved to ...
10915         * sysdeps/x86/fpu_control.h: Here.
10917         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10918         (_FPU_SETCW): Likewise.
10920 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
10922         [BZ #14117]
10923         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10924         * sysdeps/x86/fpu/bits/mathinline.h: This.
10925         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10927         [BZ #14050]
10928         [BZ #14117]
10929         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10930         functions if __x86_64__ is defined.
10932 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
10934         * string/endian.h: Add !__ASSEMBLER__ condition for including
10935         conversion interfaces.
10937 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
10939         [BZ #14241]
10940         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10941         of ABS(x) in calculating zero to negative powers other than odd
10942         integers.
10943         * math/libm-test.inc (pow_test): Add more tests.
10945 2012-06-15  Andreas Jaeger  <aj@suse.de>
10947         * manual/contrib.texi (Contributors): Update entry of Liubov
10948         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10949         Machado Filho.
10951 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
10953         * string/string.h: Add __wur to GNU version of strerror_r.
10955 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
10957         [BZ #14229]
10958         * string/Makefile (tests): Add tst-strtok_r.
10959         * string/tst-strtok_r.c: New file.
10960         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10961         RAX_LP/RDX_LP on SAVE_PTR.
10963 2012-06-14  Roland McGrath  <roland@hack.frob.com>
10965         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10967 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
10969         * libm_test.inc (csqrt_test): Allow more spurious underflow
10970         exceptions.
10971         (j0_test): Likewise.
10972         (j1_test): Likewise.
10973         (y0_test): Likewise.
10974         (y1_test): Likewise.
10976 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
10978         * po/Makefile (libc.pot): Use UTF-8 charset.
10980 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
10982         [BZ #14210]
10983         Suppress sign-conversion warning from FD_SET.
10984         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10985         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10986         not unsigned long int.
10987         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10989 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
10991         [BZ #14050]
10992         [BZ #14117]
10993         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10994         __extern_always_inline instead of __extern_inline.
10995         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10996         (__signbit): Likewise.
10997         (__signbitl): Support C++ namespace.
10998         (lrintf): New inline function.
10999         (lrint): Likewise.
11000         (llrintf): Likewise.
11001         (llrint): Likewise.
11002         (fmaxf): Likewise.
11003         (fmax): Likewise.
11004         (fminf): Likewise.
11005         (fmin): Likewise.
11006         (rint): Likewise.
11007         (rintf): Likewise.
11008         (ceil): Likewise.
11009         (ceilf): Likewise.
11010         (floor): Likewise.
11011         (floorf): Likewise.
11012         (nearbyint): Likewise.
11013         (nearbyintf): Likewise.
11015 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11017         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11018         non-default versions.
11020 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11022         [BZ #14218]
11023         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11025 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11027         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11028         (FE_UPWARD, FE_DOWNWARD): Don't define.
11029         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11030         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11032         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11033         reading it.
11034         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11035         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11037 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11039         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11040         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11041         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11042         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11044 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11046         [BZ #14117]
11047         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11048         * sysdeps/i386/fpu/Implies: New file.
11049         * sysdeps/x86_64/fpu/Implies: Likewise.
11050         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11051         * sysdeps/x86/fpu/bits/fenv.h: This.
11053         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11054         __SSE_MATH__.
11056 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11058         [BZ #14134]
11059         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11060         character 0xffff that matches the last element of the
11061         conversion table.
11063 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11065         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11066         fmodl commit.
11068 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11070         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11071         values higher than 25.6283.
11073 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11075         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11076         subnormal exponent extraction and add some __builtin_expect.
11077         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11078         Fix for subnormal mantissa calculation.
11080 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11082         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11083         cpu2 is -1 and errno is not ENOSYS.
11085 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11087         [BZ #14117]
11088         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11089         * sysdeps/x86/bits/string.h: This.
11090         * sysdeps/x86_64/bits/string.h: Removed.
11092         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11093         if not compiling for x86-64, but compiling for >= i486.
11095         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11096         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11098         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11099         New macro from Linux kernel 3.4.0.
11100         (FP_XSTATE_MAGIC2): Likewise.
11101         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11102         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11103         (struct _fpx_sw_bytes): New struct.
11104         (struct _xsave_hdr): Likewise.
11105         (struct _ymmh_state): Likewise.
11106         (struct _xstate): Likewise.
11108         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11109         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11110         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11111         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11112         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11113         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11115         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11116         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11117         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11118         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11119         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11120         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11122 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11124         [BZ #13743]
11125         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11126         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11127         (sysdep_headers): Include sys/platform/ppc.h.
11128         * sysdeps/powerpc/test-gettimebase.c: Test for
11129         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11130         * manual/Makefile (appendices): Include platform.texi.
11131         * manual/contrib.texi (Contributors): Update @node pointers.
11132         * manual/maint.texi (Maintenance): Likewise.
11133         (Platform): New node.
11134         * manual/platform.texi: New file.  Document the new features.
11136 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11137             Jakub Jelinek  <jakub@redhat.com>
11139         [BZ #14188]
11140         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11141         where __builtin_expect is unavailable.
11143 2012-06-03  David S. Miller  <davem@davemloft.net>
11145         * stdlib/longlong.h: Updated from GCC.
11147 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11149         [BZ #14042]
11150         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11151         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11152         __mcount_internal.
11153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11154         (GLIBC_2.16): Likewise.
11156 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11158         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11160 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11163         (default-abi): New variable.
11164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11165         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11166         variable.
11167         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11168         Likewise.
11169         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11170         Likewise.
11171         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11172         Likewise.
11174         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11175         definition.  Document in comment.
11177 2012-06-01  David S. Miller  <davem@davemloft.net>
11179         * stdlib/longlong.h: Updated from GCC.
11181 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11183         [BZ #14117]
11184         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11185         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11186         sys/debugreg.h sys/io.h here.
11187         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11188         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11189         sys/io.h.
11190         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11191         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11192         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11193         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11194         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11195         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11197         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11198         Define only if __x86_64__ is defined.
11200 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11202         [BZ #14048]
11203         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11204         Use int64_t for variable i.
11205         * math/libm-test.inc (fmod_test): Add more tests.
11207         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11208         z computation is not scheduled after fetestexcept.
11209         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11210         Use math_force_eval instead of asm to ensure calculation scheduled
11211         before exception test.
11212         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11213         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11215 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11218         computation is not scheduled after fetestexcept.
11220 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11222         [BZ #14117]
11223         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11224         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11226 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11228         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11229         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11231 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11233         [BZ #14117]
11234         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11235         <bits/wordsize.h>.
11236         (__WCHAR_MIN): Support __WORDSIZE == 64.
11237         (__WCHAR_MAX): Likewise.
11239         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11240         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11242         [BZ #14183]
11243         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11244         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11246         [BZ #14117]
11247         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11248         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11250         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11251         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11253         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11254         Defined to 1 if __x86_64__ isn't defined.
11255         (_STAT_VER_LINUX_OLD): New.
11256         (st_atime): Remove duplicate.
11257         (st_mtime): Likewise.
11258         (st_ctime): Likewise.
11260 2012-05-31  David S. Miller  <davem@davemloft.net>
11262         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11263         entries.
11265 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11267         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11268         gen-libm-test.pl.
11270         [BZ #14132]
11271         * elf/dl-reloc.c: Include <_itoa.h>.
11272         (_dl_reloc_bad_type): Remove use of INTUSE.
11273         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11274         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11275         * stdio-common/psiginfo.c (psiginfo): Likewise.
11276         * stdio-common/psignal.c (psignal): Likewise.
11277         * string/strsignal.c (strsignal): Likewise.
11278         * include/signal.h (_sys_siglist): Declare hidden proto.
11279         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11280         INTVARDEF with libc_hidden_data_def.
11281         * stdio-common/itoa-udigits.c: Likewise.
11282         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11283         (_itoa_lower_digits_internal): Remove declaration.
11284         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11285         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11286         (_sys_sigabbrev_internal): Remove aliases.
11287         (_sys_siglist): Define hidden alias.
11289 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11291         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11292         bits/sysctl.h.
11294 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11296         [BZ #14117]
11297         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11298         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11300         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11301         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11302         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11303         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11304         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11305         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11307         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11308         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11309         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11311         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11312         with __addr.
11313         (insw): Likewise.
11314         (insl): Likewise.
11315         (outsb): Likewise.
11316         (outsw): Likewise.
11317         (outsl): Likewise.
11319         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11320         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11321         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11323         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11324         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11325         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11326         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11327         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11328         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11330         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11331         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11333         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11334         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11336         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11338         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11340         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11341         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11342         to ...
11343         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11345         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11346         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11347         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11349         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11350         for x86-64.
11351         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11353 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11355         * math/math.h (M_El): Use two more decimal places.
11356         (M_LOG2El): Likewise.
11357         (M_LOG10El): Likewise.
11358         (M_LN2l): Likewise.
11359         (M_LN10l): Likewise.
11360         (M_PIl): Likewise.
11361         (M_PI_2l): Likewise.
11362         (M_PI_4l): Likewise.
11363         (M_1_PIl): Likewise.
11364         (M_2_PIl): Likewise.
11365         (M_2_SQRTPIl): Likewise.
11366         (M_SQRT2l): Likewise.
11367         (M_SQRT1_2l): Likewise.
11369 2012-05-31  David S. Miller  <davem@davemloft.net>
11371         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11372         values between float registers.
11373         * sysdeps/sparc/sparc64/memset.S: Likewise.
11374         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11376 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11378         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11379         -D_FORTIFY_SOURCE=1.
11380         (CPPFLAGS-tst-longjmp_chk.c): Define.
11381         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11382         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11383         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11384         CFLAGS-tst-wchar-h.c.
11386 2012-05-31  Marek Polacek  <polacek@redhat.com>
11388         [BZ #14132]
11389         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11390         __endmntent_internal): Remove declaration.
11391         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11392         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11393         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11395 2012-05-30  David S. Miller  <davem@davemloft.net>
11397         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11398         (___Q_simulate_exceptions): Use real FP ops rather than writing
11399         into the %fsr.
11400         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11401         Likewise.
11403 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11405         [BZ #14117]
11406         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11407         * sysdeps/x86/bits/xtitypes.h: This.
11409         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11410         * sysdeps/x86/bits/wordsize.h: This.
11412         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11413         * sysdeps/x86/bits/huge_vall.h: This.
11415         * sysdeps/i386/bits/select.h: Removed.
11416         * sysdeps/x86_64/bits/select.h: Renamed to ...
11417         * sysdeps/x86/bits/select.h: This.
11419         * sysdeps/i386/bits/setjmp.h: Removed.
11420         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11421         * sysdeps/x86/bits/setjmp.h: This.
11423         * sysdeps/i386/bits/mathdef.h: Removed.
11424         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11425         * sysdeps/x86/bits/mathdef.h: This.
11427 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11429         [BZ #14132]
11430         * include/sys/socket.h (__connect_internal)
11431         (__libc_sa_len_internal): Remove declaration.
11432         (__connect, __libc_sa_len): Declare hidden_proto.
11433         (SA_LEN): Remove use of INTUSE.
11434         * socket/connect.c: Add libc_hidden_def.
11435         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11436         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11437         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11438         alias.
11439         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11440         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11441         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11442         of adding _internal alias.
11444 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11446         [BZ #14117]
11447         * sysdeps/i386/bits/link.h: Removed.
11448         * sysdeps/i386/bits/linkmap.h: Likewise.
11449         * sysdeps/x86_64/bits/link.h: Renamed to ...
11450         * sysdeps/x86/bits/link.h: This.
11451         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11452         * sysdeps/x86/bits/linkmap.h: This.
11454         * sysdeps/i386/bits/endian.h: Removed.
11455         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11456         * sysdeps/x86/bits/endian.h: This.
11458         * sysdeps/i386/bits/byteswap.h: Removed.
11459         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11460         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11461         * sysdeps/x86/bits/byteswap.h: This.
11462         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11463         * sysdeps/x86/bits/byteswap-16.h: This.
11464         * sysdeps/i386/Implies: Add x86.
11465         * sysdeps/x86_64/Implies: Likewise.
11467 2012-05-30  David S. Miller  <davem@davemloft.net>
11469         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11470         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11471         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11472         (FP_TRAPPING_EXCEPTIONS): Define.
11473         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11474         (FP_TRAPPING_EXCEPTIONS): Define.
11475         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11476         subnormals only when inexact has been signalled or underflow
11477         exceptions are enabled.
11478         (_FP_PACK_CANONICAL): Likewise.
11480 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11482         [BZ #14183]
11483         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11484         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11486 2012-05-30  Richard Henderson  <rth@twiddle.net>
11488         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11489         with #ifndef NOT_IN_libc.
11491         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11492         marked to avoid plt entry.
11494 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11496         [BZ #14112]
11497         * Makeconfig (default-abi): New macro.
11498         (abi-includes): Likewise.
11499         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11500         $(abi-$(default-abi)-lib-soname) for soname if defined.
11501         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11502         abi-variants.
11503         * Makefile (installed-stubs): Likewise.
11504         * include/stubs-biarch.h: Removed.
11505         * scripts/lib-names.awk: Only handle one library at a time.
11506         * scripts/soversions.awk: Remove WORDSIZE support.
11507         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11508         entries.
11509         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11510         Removed.
11511         (syscall-list-default-condition): Likewise.
11512         (syscall-list-default-condition): Likewise.
11513         (syscall-list-includes): Likewise.
11514         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11515         syscall-list-* with abi-*.  Handle undefined abi-variants.
11516         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11517         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11518         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11519         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11520         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11521         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11522         Removed.
11523         (syscall-list-32-options): Likewise.
11524         (syscall-list-32-condition): Likewise.
11525         (syscall-list-64-options): Likewise.
11526         (syscall-list-64-condition): Likewise.
11527         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11528         macro.
11529         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11530         Renamed to ...
11531         (abi-*): This.
11532         (abi-64-ld-soname): New macro.
11533         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11534         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11535         Renamed to ...
11536         (abi-*): This.
11537         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11538         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11540 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11542         * sysdeps/unix/sysv/linux/kernel-features.h
11543         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11544         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11545         include <kernel-features.h>.
11546         [!__NR_ftruncate64]: Remove conditional code.
11547         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11548         [__NR_ftruncate64]: Make code unconditional.
11549         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11550         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11551         include <kernel-features.h>.
11552         [!__NR_ftruncate64]: Remove conditional code.
11553         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11554         [__NR_ftruncate64]: Make code unconditional.
11555         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11557         include <kernel-features.h>.
11558         [!__NR_ftruncate64]: Remove conditional code.
11559         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11560         [__NR_ftruncate64]: Make code unconditional.
11561         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11563         include <kernel-features.h>.
11564         [!__NR_ftruncate64]: Remove conditional code.
11565         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11566         [__NR_ftruncate64]: Make code unconditional.
11567         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11569         * configure.in (libc_cv_fpie): Weaken to a compile test using
11570         LIBC_TRY_CC_OPTION.
11571         * configure: Regenerated.
11573 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11579         Refreshed.
11580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11586         Refreshed.
11588 2012-05-27  David S. Miller  <davem@davemloft.net>
11590         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11591         (___Q_zero): New.
11592         (__Q_simulate_exceptions): Return void.  Change to simulate
11593         exceptions by writing into the %fsr.
11594         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11595         (__Qp_handle_exceptions): Likewise.
11596         (numbers): Delete.
11597         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11598         __Qp_handle_exceptions.
11599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11600         __Qp_handle_exceptions.
11601         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11602         as unused and give dummy FP_RND_NEAREST initializer.
11603         (FP_INHIBIT_RESULTS): Define.
11604         (___Q_simulate_exceptions): Update declaration.
11605         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11606         formatting.
11607         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11608         as unused and give dummy FP_RND_NEAREST initializer.
11609         (__Qp_handle_exceptions): Update declaration.
11610         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11611         formatting.
11613 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11615         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11616         the temporary FPU control word.
11617         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11618         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11619         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11620         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11621         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11622         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11623         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11624         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11625         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11626         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11627         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11629 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11631         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11632         fields.
11634 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11636         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11637         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11638         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11639         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11640         Likewise.
11641         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11642         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11643         Likewise.
11645 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11647         * po/h.po: Update from translation team.
11649 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11651         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11653         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11654         handling of denormals.
11655         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11656         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11657         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11658         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11659         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11660         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11661         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11662         Likewise.
11664 2012-05-26  Marek Polacek  <polacek@redhat.com>
11666         [BZ #14152]
11667         * math/libm-test.inc (fma_test): Don't always expect underflow
11668         exception.
11670 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11672         [BZ #12416]
11673         * elf/tst-execstack.c: Include stackinfo.h.
11674         (do_test): Adjust test case to ensure that pthread_getattr_np
11675         behaviour remains the same after marking stack executable.
11677 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11679         * sysdeps/unix/sysv/linux/kernel-features.h
11680         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11681         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11682         kernel-features.h.
11683         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11684         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11685         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11686         kernel-features.h.
11687         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11688         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11690 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11692         * configure.in: Define the default includes to being none.
11693         * configure: Regenerated.
11695 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11697         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11698         * sysdeps/x86_64/setjmp.S: Likewise.
11699         * sysdeps/i386/bsd-setjmp.S: Likewise.
11700         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11701         * sysdeps/i386/setjmp.S: Likewise.
11702         * sysdeps/i386/__longjmp.S: Likewise.
11703         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11704         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11706         * include/stap-probe.h: New file.
11707         * configure.in: Handle --enable-systemtap.
11708         * configure: Regenerated.
11709         * config.h.in (USE_STAP_PROBE): New #undef.
11710         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11711         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11712         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11714 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11716         [BZ #13717]
11717         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11718         to 2.4.0 where earlier.
11719         * sysdeps/unix/sysv/linux/configure: Regenerated.
11720         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
11729         [__ASSUME_32BITUIDS]: Make code unconditional.
11730         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11731         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11732         <kernel-features.h>.
11733         [__ASSUME_32BITUIDS]: Make code unconditional.
11734         [!__ASSUME_32BITUIDS]: Remove conditional code.
11735         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11736         <kernel-features.h>.
11737         [__ASSUME_32BITUIDS]: Make code unconditional.
11738         [!__ASSUME_32BITUIDS]: Remove conditional code.
11739         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11740         <kernel-features.h>.
11741         [__ASSUME_32BITUIDS]: Make code unconditional.
11742         [!__ASSUME_32BITUIDS]: Remove conditional code.
11743         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11744         <kernel-features.h>.
11745         [__ASSUME_32BITUIDS]: Make code unconditional.
11746         [!__ASSUME_32BITUIDS]: Remove conditional code.
11747         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11748         <kernel-features.h>.
11749         [__ASSUME_32BITUIDS]: Make code unconditional.
11750         [!__ASSUME_32BITUIDS]: Remove conditional code.
11751         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11752         <kernel-features.h>.
11753         [__ASSUME_32BITUIDS]: Make code unconditional.
11754         [!__ASSUME_32BITUIDS]: Remove conditional code.
11755         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11756         <kernel-features.h>.
11757         [__ASSUME_32BITUIDS]: Make code unconditional.
11758         [!__ASSUME_32BITUIDS]: Remove conditional code.
11759         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11760         <kernel-features.h>.
11761         [__ASSUME_32BITUIDS]: Make code unconditional.
11762         [!__ASSUME_32BITUIDS]: Remove conditional code.
11763         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11764         <kernel-features.h>.
11765         [__ASSUME_32BITUIDS]: Make code unconditional.
11766         [!__ASSUME_32BITUIDS]: Remove conditional code.
11767         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11768         <kernel-features.h>.
11769         [__ASSUME_32BITUIDS]: Make code unconditional.
11770         [!__ASSUME_32BITUIDS]: Remove conditional code.
11771         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11772         <kernel-features.h>.
11773         [__NR_setresgid] (__setresgid): Do not declare.
11774         [__ASSUME_32BITUIDS]: Make code unconditional.
11775         [!__ASSUME_32BITUIDS]: Remove conditional code.
11776         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11777         <kernel-features.h>.
11778         [__NR_setresuid] (__setresuid): Do not declare.
11779         [__ASSUME_32BITUIDS]: Make code unconditional.
11780         [!__ASSUME_32BITUIDS]: Remove conditional code.
11781         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11782         <kernel-features.h>.
11783         [__ASSUME_32BITUIDS]: Make code unconditional.
11784         [!__ASSUME_32BITUIDS]: Remove conditional code.
11785         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11786         <kernel-features.h>.
11787         [__ASSUME_32BITUIDS]: Make code unconditional.
11788         [!__ASSUME_32BITUIDS]: Remove conditional code.
11789         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11790         <kernel-features.h>.
11791         [__ASSUME_32BITUIDS]: Make code unconditional.
11792         [!__ASSUME_32BITUIDS]: Remove conditional code.
11793         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11794         <kernel-features.h>.
11795         [__ASSUME_32BITUIDS]: Make code unconditional.
11796         [!__ASSUME_32BITUIDS]: Remove conditional code.
11797         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11798         <kernel-features.h>.
11799         [__ASSUME_32BITUIDS]: Make code unconditional.
11800         [!__ASSUME_32BITUIDS]: Remove conditional code.
11801         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11802         <kernel-features.h>.
11803         [__ASSUME_32BITUIDS]: Make code unconditional.
11804         [!__ASSUME_32BITUIDS]: Remove conditional code.
11805         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11806         <kernel-features.h>.
11807         [__ASSUME_32BITUIDS]: Make code unconditional.
11808         [!__ASSUME_32BITUIDS]: Remove conditional code.
11809         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11810         <kernel-features.h>.
11811         [__ASSUME_32BITUIDS]: Make code unconditional.
11812         [!__ASSUME_32BITUIDS]: Remove conditional code.
11813         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11814         <kernel-features.h>.
11815         [__ASSUME_32BITUIDS]: Make code unconditional.
11816         [!__ASSUME_32BITUIDS]: Remove conditional code.
11817         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11818         <kernel-features.h>.
11819         [__ASSUME_32BITUIDS]: Make code unconditional.
11820         [!__ASSUME_32BITUIDS]: Remove conditional code.
11821         * sysdeps/unix/sysv/linux/kernel-features.h
11822         (__ASSUME_SETRESUID_SYSCALL): Remove.
11823         (__ASSUME_SETRESGID_SYSCALL): Likewise.
11824         (__ASSUME_32BITUIDS): Likewise.
11825         (__ASSUME_LDT_WORKS): Likewise.
11826         (__ASSUME_O_DIRECTORY): Likewise.
11827         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11828         architecture but not kernel version.
11829         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11830         (__ASSUME_MMAP2_SYSCALL): Likewise.
11831         (__ASSUME_STAT64_SYSCALL): Likewise.
11832         (__ASSUME_IPC64): Likewise.
11833         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11834         <kernel-features.h>.
11835         [__ASSUME_32BITUIDS]: Make code unconditional.
11836         [!__ASSUME_32BITUIDS]: Remove conditional code.
11837         * sysdeps/unix/sysv/linux/opendir.c: Do not include
11838         <kernel-features.h>.
11839         [__ASSUME_O_DIRECTORY]: Make code unconditional.
11840         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11841         132096]: Remove conditional code.
11842         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11843         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11844         <kernel-features.h>.
11845         [__ASSUME_32BITUIDS]: Make code unconditional.
11846         [!__ASSUME_32BITUIDS]: Remove conditional code.
11847         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11848         <kernel-features.h>.
11849         [__ASSUME_32BITUIDS]: Make code unconditional.
11850         [!__ASSUME_32BITUIDS]: Remove conditional code.
11851         * sysdeps/unix/sysv/linux/setegid.c: Do not include
11852         <kernel-features.h>.
11853         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11854         unconditional.
11855         (__setresgid): Do not declare.
11856         [__ASSUME_32BITUIDS]: Make code unconditional.
11857         [!__ASSUME_32BITUIDS]: Remove conditional code.
11858         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11859         <kernel-features.h>.
11860         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11861         unconditional.
11862         (__setresuid): Do not declare.
11863         [__ASSUME_32BITUIDS]: Make code unconditional.
11864         [!__ASSUME_32BITUIDS]: Remove conditional code.
11865         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11866         <kernel-features.h>.
11867         [__ASSUME_32BITUIDS]: Make code unconditional.
11868         [!__ASSUME_32BITUIDS]: Remove conditional code.
11869         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11870         <kernel-features.h>.
11871         [__ASSUME_32BITUIDS]: Make code unconditional.
11872         [!__ASSUME_32BITUIDS]: Remove conditional code.
11874 2012-05-25  Richard Henderson  <rth@twiddle.net>
11876         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11877         dl_hwcap to ifunc resolver.
11878         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11879         elf_ifunc_invoke.
11880         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11881         dl_hwcap to ifunc resolver.
11882         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11884 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11886         [BZ #14153]
11887         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11888         for |x| <= 2**-26, not 2**-57.
11889         * math/libm-test.inc (acos_test): Do not allow spurious underflow
11890         exception.
11892 2012-05-24  Jeff Law  <law@redhat.com>
11894         * stdio-common/Makefile (tests): Add bug25.
11895         * stdio-common/bug25.c: New test.
11897 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11899         [BZ #13576]
11900         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11901         multiple of MALLOC_ALIGNMENT in size.
11902         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11904 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11906         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11907         Require >= 256.
11908         (FILENAME_MAX): Use macro-int-constant.
11909         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
11910         (_IOFBF): Use macro-int-constant.
11911         (_IOLBF): Likewise.
11912         (_IONBF): Likewise.
11913         (SEEK_CUR): Likewise.
11914         (SEEK_END): Likewise.
11915         (SEEK_SET): Likewise.
11916         (TMP_MAX): Likewise.
11917         (EOF): Use macro-int-constant.  Require < 0.
11918         (NULL): Use macro-constant.  Require == 0.
11919         (stdin): Require type to be FILE *.
11920         (stdout): Likewise.
11921         (stderr): Likewise.
11922         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11923         macro-int-constant.
11924         (EXIT_SUCCESS): Likewise.
11925         (NULL): Use macro-constant.  Require == 0.
11926         (RAND_MAX): Use macro-int-constant.
11927         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11928         [C99-based standards] (strtof): Require function.
11929         [C99-based standards] (strtold): Likewise.
11930         [C99-based standards] (strtoll): Likewise.
11931         [C99-based standards] (strtoull): Likewise.
11932         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11933         [ISO || ISO99 || ISO11] (limits.h): Likewise.
11934         [ISO || ISO99 || ISO11] (math.h): Likewise.
11935         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11936         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11937         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11939 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
11941         [BZ #14132]
11942         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11943         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11944         * intl/dgettext.c (DCGETTEXT): Likewise.
11945         * intl/gettext.c (DCGETTEXT): Likewise.
11946         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11947         * posix/regex_internal.h (gettext): Likewise.
11948         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11949         Remove declaration.
11950         * include/argz.h (__argz_count_internal)
11951         (__argz_stringify_internal): Remove declaration.
11952         (__argz_count, __argz_stringify): Declare hidden proto.
11953         * intl/dcgettext.c: Remove use of INTDEF.
11954         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11955         * string/argz-stringify.c: Likewise.
11956         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11957         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11958         Declare hidden proto.
11959         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11960         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11961         Declare hidden proto.
11962         * include/stdio.h (__asprintf_internal): Don't declare.
11963         (__asprintf): Don't define as macro.  Declare hidden proto.
11964         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11965         (__fsetlocking): Declare hidden proto.
11966         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11967         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11968         hidden proto.
11969         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11970         (_IO_setlinebuf): Remove use of INTUSE.
11971         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11972         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11973         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11974         Remove declaration.
11975         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11976         (_IO_do_flush): Remove use of INTUSE.
11977         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11978         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11979         (_IO_adjust_column, _IO_least_wmarker)
11980         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11981         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11982         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11983         (_IO_default_doallocate, _IO_wdefault_doallocate)
11984         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11985         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11986         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11987         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11988         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11989         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11990         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11991         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11992         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11993         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11994         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11995         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11996         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11997         proto.
11998         (_IO_flush_all_internal, _IO_adjust_column_internal)
11999         (_IO_default_uflow_internal, _IO_default_finish_internal)
12000         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12001         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12002         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12003         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12004         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12005         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12006         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12007         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12008         (_IO_file_close_internal, _IO_file_close_it_internal)
12009         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12010         (_IO_file_init_internal, _IO_file_attach_internal)
12011         (_IO_file_fopen_internal, _IO_file_read_internal)
12012         (_IO_file_sync_internal, _IO_file_seek_internal)
12013         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12014         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12015         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12016         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12017         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12018         (_IO_list_all_internal, _IO_link_in_internal)
12019         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12020         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12021         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12022         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12023         (_IO_do_write_internal, _IO_padn_internal)
12024         (_IO_getline_info_internal, _IO_getline_internal)
12025         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12026         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12027         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12028         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12029         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12030         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12031         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12032         with libc_hidden_ver, remove use of INTUSE.
12033         * libio/genops.c: Likewise.
12034         * libio/freopen.c: Likewise.
12035         * libio/freopen64.c: Likewise.
12036         * libio/iofclose.c: Likewise.
12037         * libio/iofdopen.c: Likewise.
12038         * libio/iofflush.c: Likewise.
12039         * libio/iofflush_u.c: Likewise.
12040         * libio/iofgets.c: Likewise.
12041         * libio/iofgets_u.c: Likewise.
12042         * libio/iofopen.c: Likewise.
12043         * libio/iofopncook.c: Likewise.
12044         * libio/iofread.c: Likewise.
12045         * libio/iofread_u.c: Likewise.
12046         * libio/ioftell.c: Likewise.
12047         * libio/iofwrite.c: Likewise.
12048         * libio/iogetline.c: Likewise.
12049         * libio/iogets.c: Likewise.
12050         * libio/iogetwline.c: Likewise.
12051         * libio/iopadn.c: Likewise.
12052         * libio/iopopen.c: Likewise.
12053         * libio/ioseekoff.c: Likewise.
12054         * libio/ioseekpos.c: Likewise.
12055         * libio/iosetbuffer.c: Likewise.
12056         * libio/iosetvbuf.c: Likewise.
12057         * libio/ioungetc.c: Likewise.
12058         * libio/ioungetwc.c: Likewise.
12059         * libio/iovdprintf.c: Likewise.
12060         * libio/iovsprintf.c: Likewise.
12061         * libio/iovsscanf.c: Likewise.
12062         * libio/memstream.c: Likewise.
12063         * libio/obprintf.c: Likewise.
12064         * libio/oldfileops.c: Likewise.
12065         * libio/oldiofclose.c: Likewise.
12066         * libio/oldiofdopen.c: Likewise.
12067         * libio/oldiofopen.c: Likewise.
12068         * libio/oldiopopen.c: Likewise.
12069         * libio/oldstdfiles.c: Likewise.
12070         * libio/putc.c: Likewise.
12071         * libio/setbuf.c: Likewise.
12072         * libio/setlinebuf.c: Likewise.
12073         * libio/stdfiles.c: Likewise.
12074         * libio/strops.c: Likewise.
12075         * libio/vasprintf.c: Likewise.
12076         * libio/vscanf.c: Likewise.
12077         * libio/vsnprintf.c: Likewise.
12078         * libio/vswprintf.c: Likewise.
12079         * libio/wfiledoalloc.c: Likewise.
12080         * libio/wfileops.c: Likewise.
12081         * libio/wgenops.c: Likewise.
12082         * libio/wmemstream.c: Likewise.
12083         * libio/wstrops.c: Likewise.
12084         * libio/__fpurge.c: Likewise.
12085         * libio/__fsetlocking.c: Likewise.
12086         * assert/assert.c: Likewise.
12087         * debug/fgets_chk.c: Likewise.
12088         * debug/fgets_u_chk.c: Likewise.
12089         * debug/fread_chk.c: Likewise.
12090         * debug/fread_u_chk.c: Likewise.
12091         * debug/gets_chk.c: Likewise.
12092         * debug/obprintf_chk.c: Likewise.
12093         * debug/vasprintf_chk.c: Likewise.
12094         * debug/vdprintf_chk.c: Likewise.
12095         * debug/vsnprintf_chk.c: Likewise.
12096         * debug/vsprintf_chk.c: Likewise.
12097         * malloc/mtrace.c: Likewise.
12098         * misc/error.c: Likewise.
12099         * misc/syslog.c: Likewise.
12100         * stdio-common/asprintf.c: Likewise.
12101         * stdio-common/fxprintf.c: Likewise.
12102         * stdio-common/getw.c: Likewise.
12103         * stdio-common/isoc99_fscanf.c: Likewise.
12104         * stdio-common/isoc99_scanf.c: Likewise.
12105         * stdio-common/isoc99_vfscanf.c: Likewise.
12106         * stdio-common/isoc99_vscanf.c: Likewise.
12107         * stdio-common/isoc99_vsscanf.c: Likewise.
12108         * stdio-common/printf-prs.c: Likewise.
12109         * stdio-common/printf_fp.c: Likewise.
12110         * stdio-common/printf_fphex.c: Likewise.
12111         * stdio-common/printf_size.c: Likewise.
12112         * stdio-common/putw.c: Likewise.
12113         * stdio-common/scanf.c: Likewise.
12114         * stdio-common/sprintf.c: Likewise.
12115         * stdio-common/tmpfile.c: Likewise.
12116         * stdio-common/vfprintf.c: Likewise.
12117         * stdio-common/vfscanf.c: Likewise.
12118         * stdlib/strfmon_l.c: Likewise.
12119         * sunrpc/openchild.c: Likewise.
12120         * sunrpc/xdr_stdio.c: Likewise.
12121         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12122         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12124 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12126         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12128         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12129         in the third column, to generate for the shared library an IFUNC
12130         that uses _dl_vdso_vsym.
12131         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12132         * Makeconfig (object-suffixes-noshared): New variable.
12134         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12135         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12136         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12137         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12139         [BZ #14132]
12140         * include/sys/time.h (__gettimeofday): Remove macro.
12141         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12142         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12143         Remove INTDEF.
12144         (__gettimeofday): Add libc_hidden_def.
12145         (gettimeofday): Add libc_hidden_weak.
12146         * sysdeps/mach/gettimeofday.c: Likewise.
12147         * sysdeps/posix/gettimeofday.c: Likewise.
12148         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12149         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12150         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12151         (__gettimeofday_internal): Remove strong_alias.
12152         (__gettimeofday): Add libc_hidden_def.
12153         (gettimeofday): Add libc_hidden_weak.
12154         * sysdeps/unix/syscalls.list (gettimeofday):
12155         Remove __gettimeofday_internal alias.
12157 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12158             H.J. Lu  <hongjiu.lu@intel.com>
12160         [BZ #12495]
12161         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12162         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12163         (largebin_index_32_big): New.
12164         (largebin_index): Use it for 16-byte alignment.
12165         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12166         correction with front_misalign.
12168 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12172         Likewise.
12173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12174         Likewise.
12175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12176         Likewise.
12177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12178         Likewise.
12179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12180         Likewise.
12181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12182         Likewise.
12183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12184         Likewise.
12185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12186         Likewise.
12187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12188         Likewise.
12189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12190         Likewise.
12191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12192         Likewise.
12193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12194         Likewise.
12196         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12197         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12199 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12201         [BZ #10846]
12202         [BZ #14036]
12203         * math/libm-test.inc (exp_test): Add test from bug 14036.
12204         (pow_test): Add test from bug 10846.
12206         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12207         and other flags.
12208         (special_function): Do not include flags in test name.
12209         (parse_args): Likewise.
12210         * sysdeps/i386/fpu/libm-test-ulps: Update.
12211         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12212         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12213         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12216         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12217         exceptions.
12218         * math/libm-test.inc ("Philosophy"): Update comment about
12219         exception testing.
12220         (UNDERFLOW_EXCEPTION): New macro.
12221         (UNDERFLOW_EXCEPTION_OK): Likewise.
12222         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12223         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12224         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12225         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12226         (INVALID_EXCEPTION_OK): Update value.
12227         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12228         (OVERFLOW_EXCEPTION_OK): Likewise.
12229         (IGNORE_ZERO_INF_SIGN): Likewise.
12230         (test_exceptions): Handle underflow exceptions.
12231         (acos_test): Update for underflow exception expectations.
12232         (cexp_test): Likewise.
12233         (clog_test): Likewise.
12234         (clog10_test): Likewise.
12235         (csqrt_test): Likewise.
12236         (ctan_test): Likewise.
12237         (ctanh_test): Likewise.
12238         (exp_test): Likewise.
12239         (exp10_test): Likewise.
12240         (exp2_test): Likewise.
12241         (expm1_test): Likewise.
12242         (fma_test): Likewise.
12243         (j0_test): Likewise.
12244         (jn_test): Likewise.
12245         (nexttoward_test): Likewise.
12246         (pow_test): Likewise.
12247         (scalbn_test): Likewise.
12248         (scalbln_test): Likewise.
12249         (tan_test): Likewise.
12250         (y1_test): Likewise.
12251         * sysdeps/i386/fpu/libm-test-ulps: Update.
12252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12254 2012-05-23  David S. Miller  <davem@davemloft.net>
12256         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12257         (__libc_sigaction): Remove unused local variables.
12259 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12261         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12263 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12265         mktime: avoid signed integer overflow
12266         * time/mktime.c (__mktime_internal): Do not mishandle the case
12267         where diff == INT_MIN.
12269         mktime: simplify computation of average
12270         * time/mktime.c (ranged_convert): Use new time_t_avg function
12271         instead of rolling our own (probably-slower) code.
12273         mktime: do not assume signed right shift propagates sign bit
12274         * time/mktime.c (isdst_differ): New static function.
12275         (__mktime_internal): No need to normalize tm_isdst now.
12276         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12277         tm_isdst values.
12279         mktime: merge another wrapv change from gnulib
12280         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12281         from some compilers.
12283         mktime: remove incorrect attempt at unusual arithmetics
12284         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12285         The code didn't really work on such machines anyway.
12286         (TYPE_MINIMUM): Assume two's complement.
12287         (twos_complement_arithmetic): Verify that long_int and time_t
12288         are two's complement (or unsigned, in the latter case).
12290         mktime: check signed shifts on long_int and time_t, too
12291         * time/mktime.c (SHR): Check that shifts work as desired
12292         on the types long_int and time_t too, as SHR is used on
12293         such types.
12295         mktime: do not assume 'long' is wide enough
12296         * time/mktime.c (verify): Move decl up.
12297         (long_int): New type.
12298         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12299         to remove assumption in the code that 'long' is wide enough to
12300         store year values.  This assumption is not true on x32 and on
12301         some non-glibc platforms.
12303         mktime: merge wrapv change from gnulib
12304         * time/mktime.c (WRAPV): New macro.
12305         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12306         (guess_time_tm, __mktime_internal): Do not assume that signed
12307         integer overflow wraps around; modern compilers generate code
12308         where this assumption is no longer valid.
12310 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12312         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12313         Replace "jmp L(pseudo_end)" with "ret".
12314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12315         Likewise.
12317 2012-05-23  Andreas Jaeger  <aj@suse.de>
12319         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12320         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12322 2012-05-23  Andreas Jaeger  <aj@suse.de>
12323             Maximilian Attems  <max@stro.at>
12325         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12326         New macros.
12328 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12330         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12331         code so that pseudo_end is just ret and the stack pointer is
12332         correct also for static library in error case.
12334 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12336         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12337         move to syscalls.list.
12338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12343         * manual/install.texi (Running make install): Do not mention Linux
12344         kernel version for which pt_chown is not needed.
12345         (Linux): Do not mention problems with nscd with 2.0 kernels.
12346         * INSTALL: Regenerated.
12348 2012-05-23  Andreas Jaeger  <aj@suse.de>
12350         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12351         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12352         macro.
12353         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12354         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12355         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12356         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12357         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12358         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12359         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12360         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12361         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12362         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12363         * sysdeps/unix/sysv/linux/bits/in.h
12364         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12366 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12368         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12369         (PREPARE_VERSION): Just use assert instead, it will be elided
12370         under [NDEBUG] anyway.
12372 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12374         * sysdeps/unix/sysv/linux/Makefile: Include
12375         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12376         (sysdep_routines): Remove sysctl.
12377         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12378         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12379         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12380         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12381         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12383 2012-05-22  Andreas Jaeger  <aj@suse.de>
12385         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12386         that pseudo_end is just ret and the stack pointer is correct also
12387         for static library in error case.
12389 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12391         [BZ #14122]
12392         * nss/nsswitch.c (defconfig_entries): New variable.
12393         (__nss_database_lookup): Don't leak defconfig entries.
12394         (nss_parse_service_list): Don't leak on error paths.
12395         (free_database_entries): New function.
12396         (free_defconfig): New function.
12397         (free_mem): Move common code to free_database_entries.
12399 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12401         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12402         Add arch_prctl.
12403         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12405         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12406         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12408         New macro.
12409         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12410         (INTERNAL_SYSCALL_TYPES): Likewise.
12411         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12412         (LOAD_REGS_TYPES_[1-6]): Likewise.
12413         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12414         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12416 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12418         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12419         copysignl for GLIBC_2_0.
12420         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12421         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12423         logbl for GLIBC_2_0.
12424         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12425         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12427 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12429         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12430         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12432         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12433         Use "neg %eax".
12435         * time/mktime.c: Update copyright years.
12437 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12439         mktime: merge comment-quoting-style change from gnulib
12440         * time/mktime.c: Quote 'like this' in comments.
12441         The GNU coding standards suggest that we no longer quote `like this',
12442         as "`" and "'" are typically rendered asymmetrically nowadays.
12443         The typical gnulib style is to quote 'like this' when quoting
12444         code, and "like this" when quoting English.
12446         * time/mktime.c (compile-command): Add "-I.".
12448         mktime: merge mktime-internal.h change from gnulib
12449         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12451         mktime: merge time_r change from gnulib
12452         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12454         mktime: merge DEBUG change from gnulib
12455         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12456         case system <time.h> has a #define.
12458         mktime: merge <sys/types.h> change from gnulib
12459         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12460         since <time.t> is now guaranteed to define time_t.
12462         mktime: merge HAVE_CONFIG_H change from gnulib
12463         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12465 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12468         Use "neg %eax".
12470         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12471         __rlim_t cast.
12472         (struct rusage): Use anonymous union to pad each field to
12473         __syscall_slong_t.
12475 2012-05-21  David S. Miller  <davem@davemloft.net>
12477         * Makefules (o-iterator): Remove .s cases.
12478         (compile-command.s): Delete.
12479         (COMPILE.s): Delete.
12480         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12482 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12484         * configure.in (libc_cv_predef_stack_protector): Only consider
12485         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12486         * configure: Regenerated.
12488 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12491         New macro.  Use R*LP on int and pointer.
12492         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12493         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12494         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12495         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12497         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12498         [__WORDSIZE_TIME64_COMPAT32] instead of
12499         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12500         (struct utmp): Likewise.
12501         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12502         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12503         Renamed to ...
12504         (__WORDSIZE_TIME64_COMPAT32): This.
12505         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12506         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12507         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12508         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12509         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12510         (__WORDSIZE_TIME64_COMPAT32): New macro.
12512 2012-05-21  Andreas Jaeger  <aj@suse.de>
12514         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12515         only if [SHARED]. Add prototype for __wcschr_ia32.
12517 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12519         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12520         of %rbp unmolested in the jmp_buf while mangling the low bits.
12521         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12522         unmolested high bits of %rbp while demangling the low bits.
12523         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12525 2012-05-21  Andreas Jaeger  <aj@suse.de>
12527         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12528         * sunrpc/svc_simple.c: Use it for registerrpc.
12529         * sunrpc/xcrypt.c: Use it for passwd2des.
12531         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12533 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12535         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12536         Don't define if [__SYSCALL_WORDSIZE != 32].
12537         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12538         New macro.
12540 2012-05-21  Bruno Haible  <bruno@clisp.org>
12541             Andreas Jaeger  <aj@suse.de>
12543         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12544         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12545         inptr and inend for must_buffer_ch.
12546         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12547         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12548         * stdio-common/Makefile (tests): Remove bug15.
12549         (bug15-ENV): Remove macro.
12550         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12551         anymore.
12553 2012-05-19  Andreas Jaeger  <aj@suse.de>
12554             Roland McGrath  <roland@hack.frob.com>
12556         * manual/contrib.texi: Completely rewritten. It contains now an
12557         alphabetical list of contributors and their contributions.
12559 2012-05-21  Richard Henderson  <rth@twiddle.net>
12561         * misc/getauxval.c (__getauxval): Use unsigned long int.
12562         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12563         (getauxval): Use unsigned long int.
12565 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12567         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12569 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12571         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12572         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12573         __alignof__ (long double).
12575 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12579 2012-05-20  Richard Henderson  <rth@twiddle.net>
12581         * misc/getauxval.c: New file.
12582         * misc/sys/auxv.h: New file.
12583         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12584         (routines): Add getauxval.
12585         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12586         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12587         * elf/dl-sysdep.c (_dl_auxv): Remove.
12588         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12589         * elf/dl-support.c (_dl_auxv): New variable.
12590         (_dl_aux_init): Initialize it.
12591         * manual/startup.texi (Auxiliary Vector): New node.
12592         * sysdeps/generic/bits/hwcap.h: New file.
12593         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12594         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12595         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12596         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12597         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12598         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12600         Update.
12601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12604         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12610 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12614 2012-05-19  David S. Miller  <davem@davemloft.net>
12616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12618 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12620         [BZ #14123]
12621         * math/s_ccosh.c: Include <float.h>
12622         (__ccosh): Avoid internal overflow calculating sinh and cosh
12623         values before multiplying by sin and cos values.
12624         * math/s_ccoshf.c: Likewise.
12625         * math/s_ccoshl.c: Likewise.
12626         * math/s_csin.c: Likewise.
12627         * math/s_csinf.c: Likewise.
12628         * math/s_csinl.c: Likewise.
12629         * math/s_csinh.c: Likewise.
12630         * math/s_csinhf.c: Likewise.
12631         * math/s_csinhl.c: Likewise.
12632         * math/libm-test.inc (ccos_test): Add more tests.
12633         (ccosh_test): Likewise.
12634         (csin_test): Likewise.
12635         (csinh_test): Likewise.
12636         * sysdeps/i386/fpu/libm-test-ulps: Update.
12637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12639 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12641         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12642         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12644         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12646 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12648         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12649         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12650         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12651         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12652         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12653         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12654         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12655         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12656         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12657         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12658         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12659         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12660         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12661         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12662         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12663         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12664         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12665         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12666         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12667         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12668         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12669         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12670         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12671         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12672         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12673         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12674         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12675         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12676         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12677         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12678         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12680 2012-05-18  Andreas Jaeger  <aj@suse.de>
12682         * csu/.gitignore: Delete.
12684 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12686         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12687         (timex): Use __syscall_slong_t.
12689 2012-05-18  Andreas Jaeger  <aj@suse.de>
12690             Carlos O'Donell  <carlos_odonell@mentor.com>
12692         * manual/install.texi (Configuring and compiling): Update
12693         description about files modified in the source directory.
12694         * INSTALL: Regenerated.
12696 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12698         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12699         value.  Use "or" to set return value to -1.
12700         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12701         negate return value.
12703 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12705         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12706         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12707         failure if the compiler has Graphite support disabled.
12708         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12709         Likewise.
12710         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12711         CFLAGS-memmove.c): Likewise.
12712         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12713         Likewise.
12715 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12717         * sysdeps/x86_64/x32/_itoa.h: New file.
12719         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12720         getdents system call only if kernel and user dirents have the
12721         same d_ino and d_off.
12723         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12724         LLONG_MAX != LONG_MAX.
12725         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12726         (_fitoa_word): Likewise.
12728         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12729         years.
12730         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12731         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12732         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12734         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12735         include <bits/wordsize.h>.  Check __x86_64__ instead of
12736         __WORDSIZE.
12737         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12738         if __x86_64__ is defined.  Use anonymous union on fpstate.
12740         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12741         anonymous union.
12743 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
12745         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12746         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12747         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12748         Refer to _rtld_local_ro instead of _rtld_global_ro.
12749         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12750         Likewise.
12751         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12752         Likewise.
12753         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12754         Likewise.
12755         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12756         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12757         of _rtld_global, and rtld_progname instead of _dl_argv[0].
12759         * sysdeps/powerpc/powerpc32/dl-machine.c
12760         (__elf_machine_runtime_setup) [PROF]: Don't reference
12761         _dl_prof_resolve.
12763 2012-05-18  Andreas Jaeger  <aj@suse.de>
12765         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12766         function only available for GCCs before 3.4 since GCC 3.4
12767         introduced a builtin.
12768         (lrint): Likewise.
12769         (llrintf): Likewise.
12770         (llrint): Likewise.
12771         (fmaxf): Likewise.
12772         (fmax): Likewise.
12773         (fminf): Likewise.
12774         (fmin): Likewise.
12775         (rint): Likewise.
12776         (rintf): Likewise.
12777         (nearbyint): Likewise.
12778         (nearbyintf): Likewise.
12779         (ceil): Likewise.
12780         (ceilf): Likewise.
12781         (floor): Likewise.
12782         (floorf): Likewise.
12784 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12786         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12787         on both fields and cast pointer to __syscall_ulong_t.
12789         * bits/types.h (__fsword_t): New type.
12790         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12791         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12792         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12793         (__FSWORD_T_TYPE): Likewise.
12794         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12795         (__FSWORD_T_TYPE): Likewise.
12796         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12797         (__FSWORD_T_TYPE): Likewise.
12798         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12799         (__FSWORD_T_TYPE): Likewise.
12800         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12801         __SWORD_TYPE with __fsword_t.
12802         (statfs64): Likewise.
12804 2012-05-17  David S. Miller  <davem@davemloft.net>
12806         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12808 2012-05-17  Andreas Jaeger  <aj@suse.de>
12810         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12811         warning.
12813 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12815         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12817 2012-05-17  Andreas Jaeger  <aj@suse.de>
12819         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12820         when it is used.
12822 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12824         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12826 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12828         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12829         * sysdeps/x86_64/tst-mallocalign1.c: New file.
12831 2012-05-17  Andreas Jaeger  <aj@suse.de>
12832             Carlos O'Donell  <carlos_odonell@mentor.com>
12834         [BZ #14059]
12835         * sysdeps/x86_64/multiarch/init-arch.h
12836         (bit_YMM_Usable): Rename to...
12837         (bit_AVX_Usable): ... this.
12838         (bit_FMA4_Usable): New macro.
12839         (bit_XMM_state): New macro.
12840         (bit_YMM_state): New macro.
12841         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12842         [__ASSEMBLER__] (index_AVX_Usable): ... this.
12843         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12844         (CPUID_OSXSAVE): New macro.
12845         (CPUID_AVX): New macro.
12846         (CPUID_FMA4): New macro.
12847         (index_YMM_Usable): Rename to...
12848         (index_AVX_Usable): ... this.
12849         (HAS_AVX): Use HAS_ARCH_FEATURE.
12850         (HAS_FMA4): Likewise.
12851         (HAS_YMM_USABLE): Remove.
12852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12853         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12854         are present.
12855         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12856         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12857         * sysdeps/x86_64/multiarch/Makefile: Likewise.
12858         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12859         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12861 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12863         * math/libm-test.c: Support platforms without multiple rounding modes.
12864         * math/bug-nextafter.c: Support platforms without FP exceptions.
12865         * math/bug-nexttoward.c: Likewise.
12866         * math/test-fenv.c: Likewise.
12867         * math/test-misc.c: Likewise.
12868         * stdlib/bug-getcontext.c: Likewise.
12870 2012-05-17  Andreas Jaeger  <aj@suse.de>
12872         * manual/examples/search.c (critter_cmp): Change signature to
12873         avoid warnings.
12874         * manual/string.texi (Collation Functions): Likewise.
12876 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12878         * bits/types.h: Fold copyright years.
12879         * bits/typesizes.h: Likewise.
12880         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12881         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12882         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12883         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12884         * time/time.h: Likewise.
12886 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
12888         [BZ #208]
12889         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12890         in instead of returning them.  Return void.
12891         (__libc_mallinfo): Accumulate over all arenas.
12892         (__malloc_stats): Adjust for change in int_mallinfo interface.
12894 2012-05-16  Roland McGrath  <roland@hack.frob.com>
12896         [BZ #10375]
12897         * configure.in (NM): Add AC_CHECK_TOOL for it.
12898         (libc_extra_cflags): New substituted variable.
12899         Check for -fstack-protector being used implicitly.
12900         * configure: Regenerated.
12901         * config.make.in (config-extra-cflags): New variable,
12902         gets @libc_extra_cflags@.
12903         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12905         [BZ #10375]
12906         * configure.in: Check for _FORTIFY_SOURCE being predefined.
12907         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12908         * configure: Regenerated.
12909         * config.make.in (CPPUNDEFS): New substituted variable.
12910         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12911         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12912         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12914 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12916         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12917         (mq_attr): Use __syscall_slong_t.
12919 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12921         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12922         Check __x86_64__ instead of __WORDSIZE.
12923         (_STAT_VER_LINUX): Likewise.
12924         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
12925         __syscall_ulong_t and __syscall_slong_t.
12926         (stat64): Likewise.
12928 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12930         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12932 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12934         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12936 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12938         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12939         __syscall_ulong_t.
12941         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12942         include <bits/wordsize.h>.  Check __x86_64__ instead of
12943         __WORDSIZE.
12944         (greg_t): Use "__extension__ long long int" if __x86_64__ is
12945         defined.
12946         (mcontext_t): Replace "unsigned long" with "unsigned long long".
12948         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12949         include <bits/wordsize.h>.  Check __x86_64__ instead of
12950         __WORDSIZE.
12951         (user_regs_struct): Use "__extension__ unsigned long long"
12952         instead of "unsigned long" if __x86_64__ is defined.
12953         (user): Likewise.  Pad after pointer field if __ILP32__ is
12954         defined.
12956 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
12958         * configure.in (makeinfo): Require version 4.5 or later.  Allow
12959         versions 5 to 9.
12960         * configure: Regenerated.
12961         * manual/install.texi (texinfo): Increase version requirement to
12962         4.5 or later.
12963         * INSTALL: Regenerated.
12965         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12967 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12969         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12971         * sysdeps/x86_64/x32/ffs.c: New file.
12973         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12974         __syscall_ulong_t.
12975         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12976         defined.  Use __syscall_ulong_t.
12977         (shminfo): Use __syscall_ulong_t.
12978         (shm_info): Likewise.
12980         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12981         __syscall_ulong_t.
12983         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12984         <bits/wordsize.h>.
12985         (msgqnum_t): Use __syscall_ulong_t.
12986         (msglen_t): Likewise.
12987         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
12988         __syscall_ulong_t.
12990         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12991         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12993         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12995         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12996         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12998         * sysvipc/sys/msg.h (msgbuf): Replace long int with
12999         __syscall_slong_t.
13001         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13002         include <bits/wordsize.h>.  Check __x86_64__ instead of
13003         __WORDSIZE.
13005         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13006         "unsigned long long int" if __x86_64__ is defined.
13007         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13009         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13010         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13011         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13013         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13014         <stdint.h>.
13015         (GET_PC): Cast to uintptr_t first.
13016         (GET_FRAME): Likewise.
13017         (GET_STACK): Likewise.
13019         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13020         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13021         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13022         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13023         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13024         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13025         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13026         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13027         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13028         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13029         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13030         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13031         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13032         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13033         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13034         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13035         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13036         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13037         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13038         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13039         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13040         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13041         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13042         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13043         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13044         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13045         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13046         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13047         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13049 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13051         * Makerules (+depfiles): Also collect depfiles from .oS in
13052         $(extra-objs).
13053         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13054         .oS, $(libnldbl-routines)).
13056         * Makerules (native-compile-mkdep-flags): Define.
13057         * sunrpc/Makefile (extra-objs): Add $(addprefix
13058         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13059         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13060         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13061         calling $(make-target-directory).
13063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13065         * bits/types.h (__snseconds_t): Removed.
13066         * time/time.h (struct timespec): Replace __snseconds_t with
13067         __syscall_slong_t.
13068         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13069         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13070         Likewise.
13071         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13072         (__SNSECONDS_T_TYPE): Likewise.
13073         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13074         (__SNSECONDS_T_TYPE): Likewise.
13075         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13076         (__SNSECONDS_T_TYPE): Likewise.
13078 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13080         * sysdeps/mach/hurd/bits/typesizes.h
13081         (__SYSCALL_SLONG_TYPE): New macro.
13082         (__SYSCALL_ULONG_TYPE): Likewise.
13084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13086         * bits/types.h (__syscall_slong_t): New type.
13087         (__syscall_ulong_t): Likewise.
13089         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13090         (__SYSCALL_ULONG_TYPE): Likewise.
13091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13092         (__SYSCALL_SLONG_TYPE): Likewise.
13093         (__SYSCALL_ULONG_TYPE): Likewise.
13094         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13095         (__SYSCALL_SLONG_TYPE): Likewise.
13096         (__SYSCALL_ULONG_TYPE): Likewise.
13097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13098         (__SYSCALL_SLONG_TYPE): Likewise.
13099         (__SYSCALL_ULONG_TYPE): Likewise.
13101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13103         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13104         Add sigaltstack-offsets.sym.
13105         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13106         <sigaltstack-offsets.h>.
13107         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13108         longjmp_msg pointer.
13109         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13110         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13111         signal stack.
13112         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13114 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13116         * elf/stackguard-macros.h: Remove file.
13117         * sysdeps/generic/stackguard-macros.h: New file.
13118         * sysdeps/i386/stackguard-macros.h: Likewise.
13119         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13120         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13121         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13122         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13123         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13124         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13125         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13126         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13127         <elf/stackguard-macros.h>.
13129         [BZ #14109]
13130         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13131         __aligned__ in attribute.
13132         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13133         (gregset_t): Likewise.
13135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13137         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13138         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13139         * sysdeps/x86_64/x32/Implies-after: New file.
13141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13143         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13144         and access return value for _dl_profile_fixup.  Use R10_LP to
13145         load frame size.
13147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13149         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13153         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13154         * sysdeps/x86_64/x32/sysdep.h: New file.
13156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13158         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13159         * sysdeps/x86_64/setjmp.S: Likewise.
13161 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13163         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13164         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13165         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13166         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13167         remove unused global constant.
13169 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13171         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13172         include of <not-cancel.h>.
13174 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13176         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13178 2012-05-15  Jeff Law  <law@redhat.com>
13179             Andreas Jaeger  <aj@suse.de>
13181         [BZ #13594]
13182         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13183         out from...
13184         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13185         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13186         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13187         code changing __hst_map_handle.map.
13189 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13191         * configure.in (sysnames): Look for Implies-before and Implies-after
13192         files.
13193         * configure: Regenerated.
13195 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13197         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13198         8-byte data alignment with LP_SIZE alignment.
13200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13202         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13203         into R10_LP.
13205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13207         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13211         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13212         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13213         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13214         Likewise.
13215         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13219         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13220         (stackinfo_sub_sp): Likewise.
13222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13224         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13225         RAX_LP.
13227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13229         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13230         into R*_LP.
13232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13234         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13235         sizes into R*_LP.
13237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13239         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13243         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13244         into R11_LP and load __x86_64_shared_cache_size_half into
13245         R8_LP.
13247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13249         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13250         R8_LP.
13252 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13255         logb for POWER7.
13256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13257         logbf for POWER7.
13258         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13259         logbl for POWER7.
13260         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13261         powerpc32/power7/fpu/s_logb.c via #include.
13262         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13263         powerpc32/power7/fpu/s_logbf.c via #include.
13264         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13265         powerpc32/power7/fpu/s_logbl.c via #include.
13267 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13269         * README.libm: Remove file.
13271 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13273         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13274         count for x32.  Use R*_LP and omit operand-size suffix.
13276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13278         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13279         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13280         * sysdeps/x86_64/x32/shlib-versions: New file.
13282 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13284         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13285         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13286         Use _dl_fatal_printf instead.
13288 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13290         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13291         set if not set by the user.  Do not allow for being unset.
13292         * sysdeps/unix/sysv/linux/configure: Regenerated.
13294 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13296         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13297         the `q' suffix from lea and replace .quad with ASM_ADDR.
13299 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13302         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13303         instead of $17.
13304         (PTR_DEMANGLE): Likewise.
13306 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13308         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13309         (LP_OP): Likewise.
13310         (ASM_ADDR): Likewise.
13311         (RAX_LP): Likewise.
13312         (RBP_LP): Likewise.
13313         (RBX_LP): Likewise.
13314         (RCX_LP): Likewise.
13315         (RDI_LP): Likewise.
13316         (RSI_LP): Likewise.
13317         (RSP_LP): Likewise.
13318         (R8_LP): Likewise.
13319         (R9_LP): Likewise.
13320         (R10_LP): Likewise.
13321         (R10_LP): Likewise.
13322         (R11_LP): Likewise.
13323         (R12_LP): Likewise.
13324         (R13_LP): Likewise.
13325         (R14_LP): Likewise.
13326         (R15_LP): Likewise.
13328 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13330         * sysdeps/x86_64/x32/dl-machine.h: New file.
13332 2012-05-14  Andreas Jaeger  <aj@suse.de>
13334         * manual/Makefile (subdir): Remove export of subdir.
13335         (all): Remove target.
13336         (.PHONY): Remove all from list.
13337         (mkinstalldirs): Remove.
13338         (.PHONY): Remove installdirs from list.
13339         ($(inst_infodir)/libc.info): Use make-target-directory.
13340         (installdirs): Remove.
13341         (subdir_%): Remove.
13342         (glibc-targets): Remove.
13343         (lib): Remove.
13344         (stubs): Remove.
13345         ($(objpfx)stubs ../po/manual.pot): Remove.
13346         ($(objpfx)stamp%): Remove.
13347         (make-target-directory): Remove.
13348         (subdir_install): Remove.
13349         (routines): Remove.
13350         (aux): Remove.
13351         (sources): Remove.
13352         (objects): Remove.
13353         (headers): Remove.
13355         [BZ #13750]
13356         * manual/.gitignore: Remove, it's not needed anymore.
13357         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13358         all files in it.
13359         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13360         directory.
13361         (texis): Renamed to $(objpfx)texis.
13362         (texis-path): New, contains path to generated files.
13363         (chapters.%): Use texis-path for complete path, add extra argument
13364         libc-texinfo.sh.
13365         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13366         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13367         (summary,texi, stamp-summary): Use complete path of
13368         files. Generate files in build dir.
13369         (dir-add.texi): Build in build dir.
13370         (libm-err.texi,stamp-libm-err): Likewise.
13371         (version.texi, stamp-version): Likewise.
13372         (.%c.texi): Likewise.
13373         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13374         (mostlyclean): Remove target.
13375         (realclean): Remove target.
13376         (generated): Add new variable with contents from mostlyclean and
13377         realclean, remove entries duplicated in common-mostlyclean, add
13378         stamp-libm-err and stamp-version.
13379         (generated-dirs): Add libc directory.
13380         ($(inst_infodir)/libc.info): Install files from build dir.
13382         * manual/install.texi (Configuring and compiling): Adjust since
13383         the info files are not part of the tar ball anymore.
13385 2012-05-14  Andreas Jaeger  <aj@suse.de>
13387         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13388         variable.
13390 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13392         [BZ #13717]
13393         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13394         to 2.2.0 where earlier.
13395         * sysdeps/unix/sysv/linux/configure: Regenerated.
13396         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13397         Remove conditional code.
13398         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13399         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13400         Remove conditional code.
13401         [!__NR_lchown]: Likewise.
13402         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13403         [__NR_lchown]: Likewise.
13404         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13405         comment referencing __ASSUME_LCHOWN_SYSCALL.
13406         * sysdeps/unix/sysv/linux/i386/sigaction.c
13407         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13408         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13409         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13410         Remove conditional code.
13411         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13412         (__protocol_available): Remove #if 0 code.
13413         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13414         conditional code.
13415         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13416         * sysdeps/unix/sysv/linux/kernel-features.h
13417         (__ASSUME_GETCWD_SYSCALL): Don't define.
13418         (__ASSUME_REALTIME_SIGNALS): Likewise.
13419         (__ASSUME_PREAD_SYSCALL): Likewise.
13420         (__ASSUME_PWRITE_SYSCALL): Likewise.
13421         (__ASSUME_POLL_SYSCALL): Likewise.
13422         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13423         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13424         non-SPARC.
13425         (__ASSUME_SIOCGIFNAME): Don't define.
13426         (__ASSUME_MSG_NOSIGNAL): Likewise.
13427         (__ASSUME_SENDFILE): Define unconditionally.
13428         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13429         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13430         conditional code.
13431         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13432         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13433         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13434         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13435         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13436         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13437         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13439         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13440         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13442         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13443         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13445         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13446         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13448         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13449         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13451         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13452         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13454         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13455         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13457         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13458         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13460         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13461         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13462         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13463         Remove conditional code.
13464         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13465         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13466         Remove conditional code.
13467         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13468         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13469         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13470         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13471         Remove conditional code.
13472         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13473         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13474         Remove conditional code.
13475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13476         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13477         Remove conditional code.
13478         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13479         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13480         Remove conditional code.
13481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13482         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13483         Remove conditional code.
13484         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13485         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13486         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13487         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13488         * sysdeps/unix/sysv/linux/sigaction.c
13489         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13490         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13491         * sysdeps/unix/sysv/linux/sigpending.c
13492         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13493         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13494         * sysdeps/unix/sysv/linux/sigprocmask.c
13495         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13496         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13497         * sysdeps/unix/sysv/linux/sigsuspend.c
13498         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13499         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13500         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13501         (__libc_missing_rt_sigs): Remove.
13502         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13503         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13504         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13505         Remove conditional code.
13506         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13507         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13508         return 1.
13509         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13510         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13511         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13512         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13514 2012-05-14  Andreas Jaeger  <aj@suse.de>
13516         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13517         it's not used in glibc.
13518         (__coshm1): Likewise.
13519         (__acosh1p): Likewise.
13520         (__sgn): Likewise.
13522         * manual/string.texi (Copying and Concatenation): Add missing
13523         variable in concat example.
13524         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13526 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13528         [BZ #14103]
13529         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13530         __builtin_clzl with __builtin_clzll.
13532 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13534         [BZ #14104]
13535         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13536         libc_freeres_ptr.
13538 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13540         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13541         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13542         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13543         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13545 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13547         * NEWS: Update ia64 info.
13549 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13551         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13552         used as bcopy.
13554 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13556         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13557         * sysdeps/unix/syscalls.list (dup3): Likewise.
13558         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13559         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13561 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13563         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13564         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13566 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13568         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13569         thread pointer.
13570         (TLS_IE): Use mov/add instead of movq/addq to load thread
13571         pointer.
13572         (TLS_GD_PREFIX): New.
13573         (TLS_GD): Use it.
13575 2012-05-11  David S. Miller  <davem@davemloft.net>
13577         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13578         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13579         (_FPU_SETCW): Likewise.
13581 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13583         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13584         is 32-byte aligned.
13586 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13588         [BZ #11837]
13589         * iconvdata/gb18030.c: Update tables.
13590         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13591         characters specially.
13592         (BODY for TO_LOOP): Add encoding of missing ranges.
13594 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13596         [BZ #13673]
13597         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13598         * sysdeps/mach/hurd/dup3.c: Likewise.
13599         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13600         * sysdeps/powerpc/memmove.c:: Likewise.
13602 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13604         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13605         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13607 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13609         * elf/elf.h (R_X86_64_RELATIVE64): New.
13610         (R_X86_64_NUM): Updated.
13611         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13612         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13613         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13614         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13615         tst-quad1pie tst-quad2pie
13616         (modules-names): Add tst-quadmod1 tst-quadmod2.
13617         ($(objpfx)tst-quad1): New dependency.
13618         ($(objpfx)tst-quad2): Likewise.
13619         ($(objpfx)tst-quad1pie): Likewise.
13620         ($(objpfx)tst-quad2pie): Likewise.
13621         * sysdeps/x86_64/tst-quad1.c: New file.
13622         * sysdeps/x86_64/tst-quad1pie.c: New file.
13623         * sysdeps/x86_64/tst-quad2.c: Likewise.
13624         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13625         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13626         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13627         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13628         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13632         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13633         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13634         * streams/stropts.h (t_scalar_t): Define type.
13636         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13637         (_PATH_PRESERVE): Set to "/var/lib".
13638         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13640         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13641         instead of int.
13643         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13644         if __dir_mkfile succeeded.
13646         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13647         checking for _hurd_dtablesize.  Unlock it right after having
13648         finished _hurd_dtable allocation.
13650 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13652         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13653         * sysdeps/mach/hurd/configure: Regenerated.
13654         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13655         special-casing to...
13656         * sysdeps/gnu/configure.in: ... this new file.
13657         * sysdeps/unix/sysv/linux/configure: Regenerated.
13658         * sysdeps/gnu/configure: New generated file.
13660         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13661         for Linux: use nsec instead of usec, as well as:
13662         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13663         members of type struct timespec.
13664         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13665         New macros.
13666         (struct stat64): Likewise.
13667         (_STATBUF_ST_NSEC): New macro.
13668         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13670         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13671         __strtoul_internal rather than strtoul.
13673 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13675         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13676         and reject them.
13678 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13680         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13681         which preserves existing values.
13682         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13684 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13686         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13687         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13688         greater than FD_SETSIZE.
13690 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13692         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13693         allocated, call __vm_protect to finish enabling the existing space, and
13694         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13695         allocate the remainder.
13697 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13699         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13700         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13702 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13704         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13705         sysdeps/mach/hurd/readlink.c.
13707         * posix/tst-sysconf.c (posix_options): Only use
13708         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13709         _POSIX_SYNCHRONIZED_IO when they are defined
13710         * sysdeps/mach/hurd/bits/posix_opt.h:
13711         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13712         (_XOPEN_REALTIME): Undefine macro.
13713         (_XOPEN_REALTIME_THREADS): Undefine macro.
13714         (_XOPEN_SHM): Undefine macro.
13715         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13716         macro to -1.
13717         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13718         macro to -1.
13719         (_POSIX_ASYNC_IO): Undefine macro.
13720         (_POSIX_PRIORITIZED_IO): Undefine macro.
13721         (_POSIX_SPIN_LOCKS): Define macro to -1.
13723         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13724         SA_NODEFER, SA_RESETHAND.
13725         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13726         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13727         F_DUPFD_CLOEXEC.
13729 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13731         * elf/Makefile (pldd-modules): Define unconditionally.
13733 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13735         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13737 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13739         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13740         Return ENOENT when name is empty.
13741         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13743 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13745         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13747         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13749 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13751         Fix mlock in all cases except non-readable pages.
13752         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13753         instead of VM_PROT_ALL as parameter to __vm_wire function.
13755         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13756         (__mkdir): When path is `/', just fail with EEXIST.
13757         * sysdeps/mach/hurd/mkdirat.c: Likewise.
13759 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13761         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13762         <sys/uio.h> (for writev).
13763         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13764         and <sys/param.h> (for MIN).
13766 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13768         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13769         REQUESTED_TIME.  Properly set the remaining time and return EINTR
13770         if interrupted.
13772 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13774         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13775         Depend on against $(link-rpcuserlibs).
13777 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13779         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13780         (__libc_stack_end): Do not use attribute_relro.
13781         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13782         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13783         to libthread-provided value.
13784         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13785         attribute_relro.
13787 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13789         [BZ #3748]
13790         * bits/libc-lock.h (__libc_once_get): New macro.
13791         * sysdeps/mach/bits/libc-lock.h: Likewise.
13792         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13793         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13794         instead of using implementation details.
13796         * libio/fileops.c: Unconditionally include <kernel-features.h>.
13797         * libio/freopen.c: Likewise.
13798         * libio/freopen64.c: Likewise.
13799         * misc/syslog.c: Likewise.
13800         * nscd/connections.c: Likewise.
13801         * nscd/netgroupcache.c: Likewise.
13802         * sysdeps/posix/getcwd.c: Likewise.
13804 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13806         * math/w_ilogbf.c: Add #include <limits.h>.
13808 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13810         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13811         path instead of returning without unlocking.
13813         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13814         immediate-write ioctls.
13815         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13819         * sysdeps/mach/hurd/i386/init-first.c (init): Use
13820         __builtin_frame_address instead of making assumptions about the
13821         location of the return address relative to DATA.  Force early load of
13822         the return address.
13823         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13824         __builtin_frame_address.
13826         dup3 for GNU Hurd.
13827         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13828         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
13829         implement dup3 and do some further code clean-ups.
13830         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13831         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13835         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13837         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13838         HURD_CRITICAL_END around holding _hurd_dtable_lock.
13839         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13840         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13841         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13842         d->port.lock.
13844         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13845         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
13846         when handler == SIG_ERR, not when handler != SIG_ERR.
13848 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13850         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13851         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13852         definitions.
13854         accept4 for GNU Hurd.
13855         * include/sys/socket.h (__libc_accept4): New prototype.
13856         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
13857         to implement __libc_accept4.
13858         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13859         __libc_accept4.
13860         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13862         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13863         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13864         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13865         signal-defines.sym.
13867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13869         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13873         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13874         assertion on O_CLOEXEC flag.
13875         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13876         * hurd/intern-fd.c: Likewise.
13877         * hurd/port2fd.c: Likewise.
13879 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13881         [BZ #3906]
13882         * bits/in.h (IPV6_PKTINFO): Define new macro.
13883         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13885 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13887         [BZ #13954]
13888         [BZ #13955]
13889         [BZ #13956]
13890         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13891         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13892         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13893         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13894         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13895         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13896         * math/libm-test.inc (logb_test) : Additional logb tests.
13898 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
13899             Andreas Jaeger  <aj@suse.de>
13901         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13902         * configure: Regenerated.
13903         * config.h.in (LINK_OBSOLETE_RPC): New macro.
13904         * config.make.in (link-obsolete-rpc): New substituted variable.
13905         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13906         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13907         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13908         (shared-only-routines): Don't set it under [link-obsolete-rpc],
13909         so that libc.a contains the symbols.
13910         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13911         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13912         * sunrpc/auth_none.c: Likewise.
13913         * sunrpc/auth_unix.c: Likewise.
13914         * sunrpc/authdes_prot.c: Likewise.
13915         * sunrpc/authuxprot.c: Likewise.
13916         * sunrpc/clnt_gen.c: Likewise.
13917         * sunrpc/clnt_perr.c: Likewise.
13918         * sunrpc/clnt_raw.c: Likewise.
13919         * sunrpc/clnt_simp.c: Likewise.
13920         * sunrpc/clnt_tcp.c: Likewise.
13921         * sunrpc/clnt_udp.c: Likewise.
13922         * sunrpc/clnt_unix.c: Likewise.
13923         * sunrpc/des_crypt.c: Likewise.
13924         * sunrpc/des_soft.c: Likewise.
13925         * sunrpc/get_myaddr.c: Likewise.
13926         * sunrpc/key_call.c: Likewise.
13927         * sunrpc/key_prot.c: Likewise.
13928         * sunrpc/netname.c: Likewise.
13929         * sunrpc/pm_getmaps.c: Likewise.
13930         * sunrpc/pm_getport.c: Likewise.
13931         * sunrpc/pmap_clnt.c: Likewise.
13932         * sunrpc/pmap_prot.c: Likewise.
13933         * sunrpc/pmap_prot2.c: Likewise.
13934         * sunrpc/pmap_rmt.c: Likewise.
13935         * sunrpc/publickey.c: Likewise.
13936         * sunrpc/rpc_cmsg.c: Likewise.
13937         * sunrpc/rpc_common.c: Likewise.
13938         * sunrpc/rpc_dtable.c: Likewise.
13939         * sunrpc/rpc_prot.c: Likewise.
13940         * sunrpc/rpc_thread.c: Likewise.
13941         * sunrpc/rtime.c: Likewise.
13942         * sunrpc/svc.c: Likewise.
13943         * sunrpc/svc_auth.c: Likewise.
13944         * sunrpc/svc_raw.c: Likewise.
13945         * sunrpc/svc_run.c: Likewise.
13946         * sunrpc/svc_tcp.c: Likewise.
13947         * sunrpc/svc_udp.c: Likewise.
13948         * sunrpc/svc_unix.c: Likewise.
13949         * sunrpc/svcauth_des.c: Likewise.
13950         * sunrpc/xcrypt.c: Likewise.
13951         * sunrpc/xdr.c: Likewise.
13952         * sunrpc/xdr_array.c: Likewise.
13953         * sunrpc/xdr_float.c: Likewise.
13954         * sunrpc/xdr_intXX_t.c: Likewise.
13955         * sunrpc/xdr_mem.c: Likewise.
13956         * sunrpc/xdr_rec.c: Likewise.
13957         * sunrpc/xdr_ref.c: Likewise.
13958         * sunrpc/xdr_sizeof.c: Likewise.
13959         * sunrpc/xdr_stdio.c: Likewise.
13961 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13963         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13964         change.  Update copyright years.
13966 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13968         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13970 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
13971             Joseph Myers  <joseph@codesourcery.com>
13972             Paul Pluzhnikov  <ppluzhnikov@google.com>
13974         [BZ #14012]
13975         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13976         requiring rpcgen.
13977         [cross-compiling] (extra-libs): Likewise.
13978         [cross-compiling] (extra-libs-others): Likewise.
13979         [cross-compiling] (librpcsvc-routines): Likewise.
13980         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13981         [cross-compiling] (omit-deps): Likewise.
13982         (sunrpc-CPPFLAGS): New variable.
13983         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13984         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13985         (cross-rpcgen-objs): New variable.
13986         (extra-objs): Append $(cross-rpcgen-objs).
13987         ($(cross-rpcgen-objs)): New rule.
13988         ($(objpfx)cross-rpcgen): Likewise.
13989         (rpcgen-cmd): Define to use $(built-program-file).  Expand
13990         comment.
13991         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13992         ($(objpfx)x%.stmp): Likewise.
13993         * sunrpc/proto.h [IS_IN_build] (_): Define.
13994         [IS_IN_build] (_libc_intl_domainname): Likewise.
13996 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13998         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13999         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14000         and R_X86_64_TPOFF64.
14002 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14004         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14005         sysdeps/unix/sysv/syscalls.list.
14006         (stime): Likewise.
14007         (utime): Likewise.
14008         * sysdeps/unix/sysv/syscalls.list: Remove file.
14010 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14012         [BZ #3440]
14013         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14014         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14015         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14016         (__LC_IDENTIFICATION): Make these macros useful in #if
14017         expressions, as required by C99.
14019 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14021         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14022         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14023         after this.
14025 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14027         * stdlib/longlong.h: Updated from GCC.
14029 2012-05-09  Andreas Jaeger  <aj@suse.de>
14031         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14032         default is first entry.
14033         (run_mode): Set type.
14034         (main): Remove informal message about syslog.
14035         (options): Fix typo.
14037         [BZ #14053]
14038         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14039         to asm.
14040         (lrint): Likewise.
14041         (llrintf): Likewise.
14042         (llrint): Likewise.
14043         (rint): Likewise.
14044         (rintf): Likewise.
14045         (nearbyint): Likewise.
14046         (nearbyintf): Likewise.
14048 2012-05-09  Andreas Jaeger  <aj@suse.de>
14049             Pedro Alves  <palves@redhat.com>
14051         * nscd/nscd.c (run_mode): Use enum.
14052         (main): Cleanup coding style issue.
14054 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14055             Andreas Jaeger  <aj@suse.de>
14057         * nscd/nscd.c (go_background): Replaced with...
14058         (run_mode): ... this.
14059         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14060         (options): Add -F --foreground.
14061         (main): Implement it.
14062         (parse_opt): Parse it.
14064 2012-05-09  Andreas Jaeger  <aj@suse.de>
14066         [BZ #14083]
14067         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14068         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14069         -Wconversion warning.
14070         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14071         Likewise.
14073 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14075         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14076         == 0.
14077         (LC_ALL): Use macro-int-constant.
14078         (LC_COLLATE): Likewise.
14079         (LC_CTYPE): Likewise.
14080         (LC_MESSAGES): Likewise.
14081         (LC_MONETARY): Likewise.
14082         (LC_NUMERIC): Likewise.
14083         (LC_TIME): Likewise.
14084         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14085         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14086         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14087         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14088         Specify type.
14089         [C99-based standards] (float_t): Expect type.
14090         [C99-based standards] (double_t): Expect type.
14091         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14092         type.
14093         [C99-based standards] (HUGE_VALL): Likewise.
14094         [C99-based standards] (INFINITY): Likewise.
14095         [C99-based standards] (NAN): Likewise.
14096         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14097         [C99-based standards] (FP_NAN): Likewise.
14098         [C99-based standards] (FP_NORMAL): Likewise.
14099         [C99-based standards] (FP_SUBNORMAL): Likewise.
14100         [C99-based standards] (FP_ZERO): Likewise.
14101         [C99-based standards] (FP_FAST_FMA): Use
14102         optional-macro-int-constant.  Specify type.  Require == 1.
14103         [C99-based standards] (FP_FAST_FMAF): Likewise.
14104         [C99-based standards] (FP_FAST_FMAL): Likewise.
14105         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14106         [C99-based standards] (FP_ILOGBNAN): Likewise.
14107         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14108         Specify type.
14109         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14110         [C99-based standards] (math_errhandling): Specify type.
14111         [ISO99 || ISO11] (signgam): Do not allow.
14112         [non-C99-based standards] (copysignf): Do not allow.
14113         [non-C99-based standards] (exp2f): Likewise.
14114         [non-C99-based standards] (log2f): Likewise.
14115         [non-C99-based standards] (modff): Allow.
14116         [non-C99-based standards] (erff): Do not allow.
14117         [non-C99-based standards] (erfcf): Likewise.
14118         [non-C99-based standards] (gammaf): Likewise.
14119         [non-C99-based standards] (hypotf): Likewise.
14120         [non-C99-based standards] (j0f): Likewise.
14121         [non-C99-based standards] (j1f): Likewise.
14122         [non-C99-based standards] (jnf): Likewise.
14123         [non-C99-based standards] (lgammaf): Likewise.
14124         [non-C99-based standards] (tgammaf): Likewise.
14125         [non-C99-based standards] (y0f): Likewise.
14126         [non-C99-based standards] (y1f): Likewise.
14127         [non-C99-based standards] (ynf): Likewise.
14128         [non-C99-based standards] (isnanf): Likewise.
14129         [non-C99-based standards] (acoshf): Likewise.
14130         [non-C99-based standards] (asinhf): Likewise.
14131         [non-C99-based standards] (atanhf): Likewise.
14132         [non-C99-based standards] (cbrtf): Likewise.
14133         [non-C99-based standards] (expm1f): Likewise.
14134         [non-C99-based standards] (ilogbf): Likewise.
14135         [non-C99-based standards] (log1pf): Likewise.
14136         [non-C99-based standards] (logbf): Likewise.
14137         [non-C99-based standards] (nextafterf): Likewise.
14138         [non-C99-based standards] (remainderf): Likewise.
14139         [non-C99-based standards] (rintf): Likewise.
14140         [non-C99-based standards] (scalbf): Likewise.
14141         [non-C99-based standards] (copysignl): Likewise.
14142         [non-C99-based standards] (exp2l): Likewise.
14143         [non-C99-based standards] (log2l): Likewise.
14144         [non-C99-based standards] (modfl): Allow.
14145         [non-C99-based standards] (erfl): Do not allow.
14146         [non-C99-based standards] (erfcl): Likewise.
14147         [non-C99-based standards] (gammal): Likewise.
14148         [non-C99-based standards] (hypotl): Likewise.
14149         [non-C99-based standards] (j0l): Likewise.
14150         [non-C99-based standards] (j1l): Likewise.
14151         [non-C99-based standards] (jnl): Likewise.
14152         [non-C99-based standards] (lgammal): Likewise.
14153         [non-C99-based standards] (tgammal): Likewise.
14154         [non-C99-based standards] (y0l): Likewise.
14155         [non-C99-based standards] (y1l): Likewise.
14156         [non-C99-based standards] (ynl): Likewise.
14157         [non-C99-based standards] (isnanl): Likewise.
14158         [non-C99-based standards] (acoshl): Likewise.
14159         [non-C99-based standards] (asinhl): Likewise.
14160         [non-C99-based standards] (atanhl): Likewise.
14161         [non-C99-based standards] (cbrtl): Likewise.
14162         [non-C99-based standards] (expm1l): Likewise.
14163         [non-C99-based standards] (ilogbl): Likewise.
14164         [non-C99-based standards] (log1pl): Likewise.
14165         [non-C99-based standards] (logbl): Likewise.
14166         [non-C99-based standards] (nextafterl): Likewise.
14167         [non-C99-based standards] (remainderl): Likewise.
14168         [non-C99-based standards] (rintl): Likewise.
14169         [non-C99-based standards] (scalbl): Likewise.
14170         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14171         [non-C99-based standards] (FP_*): Do not allow.
14172         [C99-based standards] (FP_*): Change to
14173         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14174         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14175         allow.
14176         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14177         (SIG_ERR): Likewise.
14178         [X/Open-based standards] (SIG_HOLD): Likewise.
14179         (SIG_IGN): Likewise.
14180         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14181         positive value.
14182         (SIGFPE): Likewise.
14183         (SIGILL): Likewise.
14184         (SIGINT): Likewise.
14185         (SIGSEGV): Likewise.
14186         (SIGTER): Likewise.
14187         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14188         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14189         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14190         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14191         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14192         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14193         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14194         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14195         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14196         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14197         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14198         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14199         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14200         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14201         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14202         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14203         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14204         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14205         [X/Open-based standards] (SIGTRAP): Likewise.
14206         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14207         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14208         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14209         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14210         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14211         allow.
14213 2012-05-08  Ian Wienand  <ianw@vmware.com>
14215         [BZ #14080]
14216         * time/tzset.c (__tzset_parse_tz): Update default rules for
14217         daylight time changes in the Energy Policy Act of 2005.
14219 2012-05-09  Andreas Jaeger  <aj@suse.de>
14221         [BZ #13983]
14222         * elf/ldconfig.c (parse_conf): Change string to make clear that
14223         ldconfig only issued a warning if ld.so.conf does not exist.
14225 2012-05-08  David S. Miller  <davem@davemloft.net>
14227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14228         movxtod instead of popping the value on the stack.
14230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14232 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14234         * config.h.in: Add HAVE_ARM_PCS_VFP.
14236 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14238         [BZ #13979]
14239         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14240         checking but the checks are disabled for any reason.
14242 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14244         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14245         and ELF64_R_TYPE with ELFW(R_TYPE).
14247 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14249         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14250         (ulimit): Likewise.
14252         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14253         (settimeofday): Likewise.
14255 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14257         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14258         a struct th_u2 inside the union, and move tu_block/tu_code into
14259         a new th_u3 union of tu_block/tu_code inside of that.  Move
14260         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14261         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14262         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14263         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14264         (th_stuff): Change to th_u1.tu_stuff.
14265         (th_data): Define.
14266         (th_msg): Change to th_u1.th_u2.tu_data.
14268 2012-05-07  David S. Miller  <davem@davemloft.net>
14270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14272         [BZ #14074]
14273         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14274         (SETUP_PIC_REG): Use it.
14275         (SETUP_PIC_REG_LEAF): Use it.
14277 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14279         [BZ #13885]
14280         [BZ #13923]
14281         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14282         USE_AS_EXPM1L.
14283         (EXPL_FINITE): Likewise.
14284         (FLDLOG): Likewise.
14285         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14286         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14287         e_expl.S.
14288         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14289         USE_AS_EXPM1L.
14290         (EXPL_FINITE): Likewise.
14291         (FLDLOG): Likewise.
14292         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14293         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14294         e_expl.S.
14295         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14296         test of -max_value argument for long double.
14297         * sysdeps/i386/fpu/libm-test-ulps: Update.
14298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14300 2012-05-06  David S. Miller  <davem@davemloft.net>
14302         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14303         quad soft-float symbols whose references which are compiler
14304         generated.
14305         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14307 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14309         [BZ #13884]
14310         [BZ #13914]
14311         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14312         USE_AS_EXP10L.
14313         (EXPL_FINITE): Likewise.
14314         (FLDLOG): Likewise.
14315         (c0): Likewise.
14316         (c1): Likewise.
14317         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14318         Adjust comments for base varying.
14319         (__expl_finite): Change alias to EXPL_FINITE.
14320         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14321         e_expl.S.
14322         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14323         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14324         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14325         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14326         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14327         USE_AS_EXP10L.
14328         (EXPL_FINITE): Likewise.
14329         (FLDLOG): Likewise.
14330         (c0): Likewise.
14331         (c1): Likewise.
14332         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14333         Adjust comments for base varying.
14334         (__expl_finite): Change alias to EXPL_FINITE.
14335         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14336         tests for bugs.
14337         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14339         [BZ #14064]
14340         * math/libm-test.inc (check_float_internal): Correct ulp
14341         calculation for subnormal expected results.
14343 2012-05-06  Andreas Jaeger  <aj@suse.de>
14345         * Makeconfig (+math-flags): New, set to -frounding-math.
14346         (+cflags): Add +math-flags so that all of glibc gets compiled with
14347         it.
14349         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14351 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14353         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14354         Disable one test.
14356         [BZ #13787]
14357         [BZ #13922]
14358         [BZ #14036]
14359         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14360         (__ieee754_expl): Allow for and saturate large arguments.
14361         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14362         (u_threshold): Likewise.
14363         (__exp): Call __ieee754_exp before checking for overflow and
14364         underflow.
14365         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14366         (u_threshold): Likewise.
14367         (__expf): Call __ieee754_expf before checking for overflow and
14368         underflow.
14369         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14370         (u_threshold): Likewise.
14371         (__expl): Call __ieee754_expl before checking for overflow and
14372         underflow.
14373         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14374         (__ieee754_expl): Allow for and saturate large arguments.
14375         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14376         missing overflow exception on overflow.
14377         (expm1_test): Do not allow missing overflow exception on overflow.
14379         * sysdeps/i386/fpu/e_expl.c: Move to ...
14380         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14381         rather than using inline asm.
14382         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14383         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14384         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14386         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14387         (nice): Likewise.
14388         (poll): Likewise.
14389         (signal): Likewise.
14390         (time): Likewise.
14391         (times): Likewise.
14393 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14395         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14396         sysdeps/unix/common/syscalls.list.
14397         (fchmod): Likewise.
14398         (fchown): Likewise.
14399         (ftruncate): Likewise.
14400         (getrusage): Likewise.
14401         (gettimeofday): Likewise.
14402         (setpgid): Likewise.
14403         (setregid): Likewise.
14404         (setreuid): Likewise.
14405         (sigaction): Likewise.
14406         (truncate): Likewise.
14407         (vhangup): Likewise.
14408         * sysdeps/unix/common/syscalls.list: Remove file.
14409         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14410         * sysdeps/unix/sysv/linux/Implies: Likewise.
14412 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14414         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14416         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14417         Moved to ...
14418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14419         Here.
14420         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14421         to ...
14422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14423         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14424         to ...
14425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14426         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14427         to ...
14428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14429         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14430         to ...
14431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14432         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14433         to ...
14434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14435         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14436         to ...
14437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14438         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14439         to ...
14440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14441         Here.
14442         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14443         to ...
14444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14445         Here.
14446         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14447         to ...
14448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14449         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14450         Moved to ...
14451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14452         Here.
14453         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14454         to ...
14455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14457 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14459         * sysdeps/unix/common/bits/dirent.h: Remove file.
14460         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14462         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14463         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14464         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14465         * sysdeps/unix/bsd/isatty.c: Likewise.
14466         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14467         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14468         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14470 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14472         [BZ #13563]
14473         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14474         long double comparison inaccuracies.
14475         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14478 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14480         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14481         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14483 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14485         [BZ #14049]
14486         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14487         nonzero digits before rounding a hex value.
14488         * stdlib/tst-strtod.c (tests): Add another test.
14490 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14492         * sysdeps/s390/fpu/libm-test-ulps: Update.
14494 2012-05-03  Andreas Jaeger  <aj@suse.de>
14496         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14497         does not get optimized out.
14498         (malloc_opt_barrier): New.
14500 2012-05-03  Andreas Jaeger  <aj@suse.de>
14501             Roland McGrath  <roland@hack.frob.com>
14503         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14504         intermediate file deletion.
14505         (generated): Add .symlist files.
14507 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14509         [BZ #13775]
14510         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14511         Redirect under this condition.
14512         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14513         [__USE_GNU] (__dprintf_chk): Not under this condition.
14514         [__USE_GNU] (__vdprintf_chk): Likewise.
14515         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14516         under this condition.
14517         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14518         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14519         [__USE_XOPEN2K8] (vdprintf): Likewise.
14520         [__USE_GNU] (__dprintf_chk): Not under this condition.
14521         [__USE_GNU] (__vdprintf_chk): Likewise.
14522         [__USE_GNU] (dprintf): Likewise.
14523         [__USE_GNU] (vdprintf): Likewise.
14525 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14527         * elf/Makefile (common-generated): Set this instead of generated for
14528         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14529         $(all-built-dso)-derived lists.
14531 2012-05-03  Andreas Jaeger  <aj@suse.de>
14533         * sysdeps/i386/fpu/libm-test-ulps: Update.
14535         * FAQ: Removed.
14536         * FAQ.in: Likewise.
14537         * scripts/gen-FAQ.pl: Likewise.
14538         * manual/install.texi (Installation): Point to online location of
14539         FAQ.
14540         * Makefile (files-for-dist): Remove FAQ.
14541         (FAQ): Remove.
14543 2012-05-02  Allan McRae  <allan@archlinux.org>
14545         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14546         (LDFLAGS-reldepmod5.so): Likewise.
14547         (LDFLAGS-reldep6mod1.so): Likewise.
14548         (LDFLAGS-reldep6mod4.so): Likewise.
14549         (LDFLAGS-reldep8mod3.so): Likewise.
14550         (LDFLAGS-unload4mod1.so): Likewise.
14551         (LDFLAGS-unload4mod2.so): Likewise.
14552         (LDFLAGS-tst-initorder): Likewise.
14553         (LDFLAGS-tst-initordera2.so): Likewise.
14554         (LDFLAGS-tst-initordera3.so): Likewise.
14555         (LDFLAGS-tst-initordera4.so): Likewise.
14556         (LDFLAGS-tst-initorderb2.so): Likewise.
14557         (LDFLAGS-noload): Likewise.
14558         (LDFLAGS-next): Likewise.
14559         (LDFLAGS-order2mod1.so): Likewise.
14560         (LDFLAGS-order2mod2.so): Likewise.
14561         (LDFLAGS-tst-initorder2): Likewise.
14562         (LDFLAGS-tst-initorder2a.so): Likewise.
14563         (LDFLAGS-tst-initorder2b.so): Likewise.
14564         (LDFLAGS-tst-initorder2c.so): Likewise.
14565         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14567 2012-05-02  David S. Miller  <davem@davemloft.net>
14569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14571 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14573         [BZ #14055]
14574         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14576 2012-05-02  Andreas Jaeger  <aj@suse.de>
14578         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14579         since we manipulate rounding mode.
14580         (CPPFLAGS-test-idouble.c): Likewise.
14581         (CPPFLAGS-test-ifloat.c): Likewise.
14582         (CFLAGS-test-ldouble.c): Likewise.
14583         (CFLAGS-test-double.c): Likewise.
14584         (CFLAGS-test-float.c): Likewise.
14585         (CFLAGS-test-misc.c): Likewise.
14586         (CFLAGS-test-test-fenv.c): Likewise.
14588 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14590         [BZ #2550]
14591         [BZ #2570]
14592         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14593         comparisons to determine direction to adjust input.
14595 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14597         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14598         output to the target.
14600         * scripts/localplt.awk: New file.
14601         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14602         (check-localplt-CFLAGS): Variable removed.
14603         ($(all-built-dso:=.jmprel)): New static pattern rule.
14604         (generated): Add those targets.
14605         (localplt-built-dso): New variable.
14606         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14608         * elf/check-localplt.c: File removed.
14610         * scripts/check-execstack.awk: New file.
14611         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14612         (check-execstack-CFLAGS): Variable removed.
14613         ($(objpfx)check-execstack.h): Target removed.
14614         ($(objpfx)execstack-default): New target.
14615         (generated): Add that instead of check-execstack.h.
14616         ($(all-built-dso:=.phdr)): New static pattern rule.
14617         (generated): Add those targets.
14618         * elf/check-execstack.c: File removed.
14620         * scripts/check-textrel.awk: New file.
14621         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14622         (check-textrel-CFLAGS): Variable removed.
14623         (all-built-dso): Use := to define.o
14624         ($(all-built-dso:=.dyn)): New static pattern rule.
14625         (generated): Add those targets.
14626         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14627         * config.make.in (READELF): New substituted variable.
14628         * elf/check-textrel.c: File removed.
14630 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14632         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14633         allow.
14634         * conform/data/ctype.h-data [C99-based standards] (isblank):
14635         Expect function.
14636         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14637         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14638         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14639         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14640         Specify type.  Require positive value.
14641         (EILSEQ): Likewise.
14642         (ERANGE): Likewise.
14643         [ISO || POSIX] (EILSEQ): Do not expect.
14644         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14645         Specify type.  Require positive value.
14646         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14647         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14648         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14649         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14650         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14651         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14652         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14653         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14654         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14655         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14656         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14657         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14658         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14659         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14660         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14661         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14662         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14663         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14664         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14665         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14666         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14667         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14668         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14669         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14670         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14671         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14672         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14673         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14674         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14675         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14676         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14677         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14678         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14679         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14680         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14681         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14682         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14683         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14684         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14685         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14686         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14687         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14688         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14689         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14690         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14691         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14692         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14693         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14694         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14695         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14696         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14697         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14698         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14699         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14700         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14701         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14702         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14703         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14704         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14705         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14706         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14707         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14708         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14709         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14710         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14711         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14712         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14713         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14714         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14715         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14716         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14717         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14718         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14719         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14720         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14721         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14722         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14723         Require >= 2.
14724         (FLT_ROUNDS): Expect as macro, not constant.
14725         (FLT_MANT_DIG): Use macro-int-constant.
14726         (DBL_MANT_DIG): Likewise.
14727         (LDBL_MANT_DIG): Likewise.
14728         (FLT_DIG): Likewise.
14729         (DBL_DIG): Likewise.
14730         (LDBL_DIG): Likewise.
14731         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
14732         (DBL_MIN_EXP): Likewise.
14733         (LDBL_MIN_EXP): Likewise.
14734         (FLT_MAX_EXP): Use macro-int-constant.
14735         (DBL_MAX_EXP): Likewise.
14736         (LDBL_MAX_EXP): Likewise.
14737         (FLT_MAX_10_EXP): Likewise.
14738         (DBL_MAX_10_EXP): Likewise.
14739         (LDBL_MAX_10_EXP): Likewise.
14740         (FLT_MAX): Use macro-constant.
14741         (DBL_MAX): Likewise.
14742         (LDBL_MAX): Likewise.
14743         (FLT_EPSILON): Use macro-constant.  Give upper bound.
14744         (DBL_EPSILON): Likewise.
14745         (LDBL_EPSILON): Likewise.
14746         (FLT_MIN): Likewise.
14747         (DBL_MIN): Likewise.
14748         (LDBL_MIN): Likewise.
14749         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14750         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14751         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14752         [ISO11] (FLT_HAS_SUBNORM): Likewise.
14753         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14754         [ISO11] (DBL_DECIMAL_DIG): Likewise.
14755         [ISO11] (FLT_DECIMAL_DIG): Likewise.
14756         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14757         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14758         [ISO11] (FLT_TRUE_MIN): Likewise.
14759         [ISO11] (LDBL_TRUE_MIN): Likewise.
14760         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14761         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14762         (SCHAR_MIN): Use macro-int-constant.  Specify type.
14763         (SCHAR_MAX): Likewise.
14764         (UCHAR_MAX): Likewise.
14765         (CHAR_MIN): Likewise.
14766         (CHAR_MAX): Likewise.
14767         (MB_LEN_MAX): Use macro-int-constant.
14768         (SHRT_MIN): Use macro-int-constant.  Specify type.
14769         (SHRT_MAX): Likewise.
14770         (USHRT_MAX): Likewise.
14771         (INT_MAX): Likewise.
14772         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
14773         bound negative.
14774         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14775         bound with "U".
14776         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14777         bound with "L".
14778         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
14779         bound negative.  Suffix upper bound with "L".
14780         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14781         bound with "UL".
14782         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14783         Specify type.
14784         [C99-based standards] (LLONG_MAX): Likewise.
14785         [C99-based standards] (ULLONG_MAX): Likewise.
14786         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
14787         == 0.
14788         [ISO11] (max_align_t): Require type.
14789         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14791         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14792         from $CFLAGS, without defining away __attribute__ calls.
14793         (checknamespace): Use $CFLAGS_namespace.
14795         * conform/conformtest.pl (@keywords): Only include C99 keywords
14796         for standards based on C99 or C11.
14798         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14799         Disable tests.
14800         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14801         UNIX98]: Likewise.
14803         * conform/conformtest.pl: Handle "macro-int-constant" and test for
14804         usability of symbols in #if.
14806         * conform/conformtest.pl: If macro or constant types start
14807         "promoted:", expect the symbol to be of the following type
14808         promoted by the integer promotions.
14810         * conform/conformtest.pl: Parse all "constant" and "macro" lines
14811         in one place.  Also handle "macro-constant".
14813         * conform/conformtest.pl: Only accept expected macro values with
14814         "==".  Parse all "macro" lines in one place.
14815         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14817         * conform/conformtest.pl: Handle braced types on "constant" lines
14818         instead of handling "typed-constant".
14819         * conform/data/signal.h-data: Use "constant" instead of
14820         "typed-constant".
14822         * conform/conformtest.pl: Handle "optional-" at start of lines in
14823         one place rather than duplicating several cases.  Handle each
14824         format of "macro" line with initial "optional-".
14826         * conform/conformtest.pl: Only accept expected constant or
14827         optional-constant values with "==".  Parse all "constant" lines in
14828         one place.  Parse all "optional-constant" lines in one place.
14829         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14830         * conform/data/fmtmsg.h-data: Likewise.
14831         * conform/data/netinet/in.h-data: Likewise.
14832         * conform/data/tar.h-data: Likewise.
14833         * conform/data/limits.h-data: Use "==" form on "constant" and
14834         "optional-constant" lines.
14836         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14837         Use -std=c99 for XOPEN2K.
14838         (@knownproblems): Remove.
14839         (newtoken): Don't check %isknown.
14841         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14842         Do not expect macro.
14843         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14844         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14845         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14846         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14847         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14848         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14849         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14850         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14851         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14852         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14853         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14854         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14855         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14856         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14857         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14858         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14859         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14860         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14861         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14862         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14863         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14864         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14865         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14866         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14867         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14868         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14869         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14870         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14871         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14872         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14873         [XPG3] (acosh): Likewise.
14874         [XPG3] (asinh): Likewise.
14875         [XPG3] (atanh): Likewise.
14876         [XPG3] (cbrt): Likewise.
14877         [XPG3] (expm1): Likewise.
14878         [XPG3] (ilogb): Likewise.
14879         [XPG3] (log1p): Likewise.
14880         [XPG3] (logb): Likewise.
14881         [XPG3] (nextafter): Likewise.
14882         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14883         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14884         [XPG3] (remainder): Likewise.
14885         [XPG3] (rint): Likewise.
14886         [XPG3 || XPG4 || UNIX98] (round): Likewise.
14887         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14888         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14889         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14890         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14891         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14892         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14893         [UNIX98 || XOPEN2K] (scalb): Expect.
14894         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14895         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14896         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14897         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14898         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14899         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14900         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14901         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14902         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14903         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14904         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14905         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14906         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14907         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14908         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14909         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14910         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14911         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14912         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14913         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14914         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14915         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14916         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14917         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14918         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14919         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14920         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14921         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14922         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14923         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14924         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14925         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14926         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14927         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14928         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14929         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14930         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14931         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14932         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14933         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14934         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14935         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14936         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14937         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14938         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14939         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14940         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14941         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14942         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14943         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14944         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14945         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14946         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14947         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14948         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14949         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14950         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14951         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14952         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14953         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14954         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14955         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14956         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14957         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14958         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14959         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14960         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14961         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14962         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14963         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14964         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14965         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14966         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14967         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14968         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14969         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14970         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14971         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14972         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14973         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14974         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14975         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14976         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14977         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14978         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14979         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14980         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14981         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14982         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14983         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14984         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14985         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14986         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14987         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14988         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14989         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14990         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14991         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14992         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14993         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14994         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14995         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14996         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14997         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14998         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14999         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15000         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15001         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15002         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15003         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15004         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15005         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15006         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15007         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15008         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15009         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15010         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15011         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15012         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15013         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15014         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15015         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15016         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15017         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15018         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15019         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15020         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15021         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15022         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15023         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15024         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15025         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15026         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15027         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15028         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15029         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15030         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15032         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15033         _XOPEN_SOURCE_EXTENDED for XPG4.
15035         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15037         * Makeconfig (localtime): Remove variable.
15038         (inst_localtime-file): Likewise.
15040 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15043         Update.
15044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15045         Update.
15046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15047         Update.
15048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15049         Update.
15050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15051         Update.
15052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15053         Update.
15054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15055         Update.
15056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15057         Update.
15058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15059         Update.
15061 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15063         [BZ #2550]
15064         [BZ #2570]
15065         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15066         comparisons to determine direction to adjust input.
15067         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15068         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15069         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15070         Likewise.
15071         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15072         Likewise.
15073         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15074         Likewise.
15075         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15076         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15077         Likewise.
15078         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15079         Likewise.
15080         * math/libm-test.inc (nexttoward_test): Add more tests.
15082 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15084         [BZ #14040]
15085         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15086         in version GLIBC_2.1, not GLIBC_2.0.
15087         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15088         Likewise.
15090 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15092         [BZ #13942]
15093         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15094         (1 - x) * (1 + x).
15095         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15096         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15097         * math/libm-test.inc (acos_test): Add more tests.
15098         (asin_test): Likewise.
15099         * sysdeps/i386/fpu/libm-test-ulps: Update.
15100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15102         [BZ #14034]
15103         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15104         of square root.
15105         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15106         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15107         * math/libm-test.inc (acos_test_tonearest): New function.
15108         (acos_test_towardzero): Likewise.
15109         (acos_test_downward): Likewise.
15110         (acos_test_upward): Likewise.
15111         (asin_test_tonearest): Likewise.
15112         (asin_test_towardzero): Likewise.
15113         (asin_test_downward): Likewise.
15114         (asin_test_upward): Likewise.
15115         (main): Call the new functions.
15116         * sysdeps/i386/fpu/libm-test-ulps: Update.
15117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15119         [BZ #13884]
15120         [BZ #13924]
15121         * math/e_exp10.c: Include <float.h>.
15122         (__ieee754_exp10): Handle underflow here rather than multiplying
15123         large negative argument by M_LN10.
15124         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15125         of __ieee754_expf.
15126         * math/e_exp10l.c: Include <float.h>.
15127         (__ieee754_exp10l): Handle underflow here rather than multiplying
15128         large negative argument by M_LN10l.
15129         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15130         spurious overflow exception on underflow.
15132 2012-04-29  Marek Polacek  <polacek@redhat.com>
15134         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15135         (__fortify_function): New macro.
15136         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15137         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15138         __extern_always_inline.
15139         * libio/bits/stdio2.h: Likewise.
15140         * libio/bits/stdio.h: Likewise.
15141         * string/string.h: Likewise.
15142         * string/bits/string3.h: Likewise.
15143         * include/stdio.h: Likewise.
15144         * stdlib/bits/stdlib.h: Likewise.
15145         * stdlib/stdlib.h: Likewise.
15146         * rt/bits/mqueue2.h: Likewise.
15147         * rt/mqueue.h: Likewise.
15148         * posix/bits/unistd.h: Likewise.
15149         * posix/unistd.h: Likewise.
15150         * io/bits/poll2.h: Likewise.
15151         * io/bits/fcntl2.h: Likewise.
15152         * io/fcntl.h: Likewise.
15153         * io/sys/poll.h: Likewise.
15154         * misc/bits/syslog.h: Likewise.
15155         * misc/bits/syslog-ldbl.h: Likewise.
15156         * misc/sys/syslog.h: Likewise.
15157         * socket/bits/socket2.h: Likewise.
15158         * socket/sys/socket.h: Likewise.
15159         * debug/tst-chk1.c: Likewise.
15160         * wcsmbs/bits/wchar2.h: Likewise.
15161         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15162         * wcsmbs/wchar.h: Likewise.
15164 2012-04-29  Andreas Jaeger  <aj@suse.de>
15166         * Makerules (tests): Remove enable-check-abi protection.
15167         (check-abi-warn): Remove.
15168         (check-abi-%): Remove check-abi-warn usage.
15170         * configure.in: Remove check-abi configure option.
15171         * configure: Regenerated.
15172         * config.make.in (enable-check-abi): Remove.
15174 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15176         [BZ #14033]
15177         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15178         double functions to double *_finite functions.
15180         [BZ #13941]
15181         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15182         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15183         LDBL_MIN_EXP.
15184         * stdio-common/Makefile (tests): Add tst-sprintf3.
15185         * stdio-common/tst-sprintf3.c: New file.
15187         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15188         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15190 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15192         * conform/conformtest.pl: Remove duplicate typed-constant
15193         handling.
15195 2012-04-28  David S. Miller  <davem@davemloft.net>
15197         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15198         (check-abi-%): Remove AWK script prerequisite and explicit
15199         abilist directory.
15200         (check-abi): Rewrite to just diff the symlist with the abilist.
15201         (config-tls, config-abi-config): Delete, no longer used.
15202         (update-abi-%): Remove AWK script and explicit abilist directory.
15203         (update-abi): Rewrite to simply compare and conditionally copy the
15204         symlist and the sysdep abilist file.  Remove update-abi-config
15205         checks.
15206         * abilist/ld.abilist: Remove.
15207         * abilist/libBrokenLocale.abilist: Remove.
15208         * abilist/libanl.abilist: Remove.
15209         * abilist/libcrypt.abilist: Remove.
15210         * abilist/libdl.abilist: Remove.
15211         * abilist/librt.abilist: Remove.
15212         * abilist/libthread_db.abilist: Remove.
15213         * abilist/libutil.abilist: Remove.
15214         * scripts/extract-abilist.awk: Remove.
15215         * scripts/merge-abilist.awk: Remove.
15216         * sysdeps/generic/libcidn.abilist: New file.
15217         * sysdeps/generic/libnss_compat.abilist: New file.
15218         * sysdeps/generic/libnss_db.abilist: New file.
15219         * sysdeps/generic/libnss_dns.abilist: New file.
15220         * sysdeps/generic/libnss_files.abilist: New file.
15221         * sysdeps/generic/libnss_hesiod.abilist: New file.
15222         * sysdeps/generic/libnss_nis.abilist: New file.
15223         * sysdeps/generic/libnss_nisplus.abilist: New file.
15224         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15225         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15226         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15227         file.
15228         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15229         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15230         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15231         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15232         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15233         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15234         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15235         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15236         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15237         file.
15238         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15239         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15240         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15241         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15242         file.
15243         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15244         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15245         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15246         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15247         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15248         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15249         file.
15250         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15251         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15252         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15253         file.
15254         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15256         New file.
15257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15258         New file.
15259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15260         New file.
15261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15262         New file.
15263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15264         New file.
15265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15266         New file.
15267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15268         New file.
15269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15270         New file.
15271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15272         New file.
15273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15274         New file.
15275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15276         New file.
15277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15278         New file.
15279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15280         New file.
15281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15282         file.
15283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15284         New file.
15285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15286         New file.
15287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15288         file.
15289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15290         New file.
15291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15292         New file.
15293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15294         file.
15295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15296         New file.
15297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15298         New file.
15299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15300         New file.
15301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15302         New file.
15303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15304         New file.
15305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15306         New file.
15307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15309         file.
15310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15311         New file.
15312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15313         file.
15314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15315         file.
15316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15317         file.
15318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15319         file.
15320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15321         file.
15322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15323         New file.
15324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15325         file.
15326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15327         file.
15328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15329         New file.
15330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15331         file.
15332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15334         file.
15335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15336         New file.
15337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15338         file.
15339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15340         file.
15341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15342         file.
15343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15344         file.
15345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15346         file.
15347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15348         New file.
15349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15350         file.
15351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15352         file.
15353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15354         New file.
15355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15356         file.
15357         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15358         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15359         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15360         file.
15361         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15362         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15363         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15364         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15365         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15366         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15367         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15368         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15369         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15370         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15373         file.
15374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15375         New file.
15376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15377         file.
15378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15379         file.
15380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15381         file.
15382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15383         file.
15384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15385         file.
15386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15387         New file.
15388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15389         New file.
15390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15391         file.
15392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15393         New file.
15394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15395         file.
15396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15398         file.
15399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15400         New file.
15401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15402         file.
15403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15404         file.
15405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15406         file.
15407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15408         file.
15409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15410         file.
15411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15412         New file.
15413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15414         New file.
15415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15416         file.
15417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15418         New file.
15419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15420         file.
15422 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15424         * conform/conformtest.pl: Fix typo in handling typed-constant from
15425         allow-header.
15427 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15429         * README: Cut down references to pre-2.6 Linux kernels and
15430         Linuxthreads.  Update lists of configurations in libc and ports
15431         and sort alphabetically.  Say "or newer" with Linux kernel version
15432         requirements.
15434         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15436 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15438         [BZ #887]
15439         * math/libm-test.inc (logb_test_downward): New test to expose
15440         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15441         rounding mode.
15443 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15445         [BZ #14027]
15446         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15447         to be done.
15448         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15449         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15451 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15453         * sysdeps/unix/i386/brk.S: Remove file.
15454         * sysdeps/unix/i386/dl-brk.S: Likewise.
15455         * sysdeps/unix/i386/pipe.S: Likewise.
15456         * sysdeps/unix/i386/sigreturn.S: Likewise.
15457         * sysdeps/unix/i386/syscall.S: Likewise.
15458         * sysdeps/unix/i386/vfork.S: Likewise.
15459         * sysdeps/unix/i386/wait.S: Likewise.
15461         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15462         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15464         * configure.in (arm*-none*): Do not allow without
15465         --enable-hacker-mode.
15466         (netbsd*): Remove case setting base_os.
15467         (386bsd*): Likewise.
15468         (freebsd*): Likewise.
15469         (bsdi*): Likewise.
15470         (osf*): Likewise.
15471         (sunos*): Likewise.
15472         (ultrix*): Likewise.
15473         (newsos*): Likewise.
15474         (dynix*): Likewise.
15475         (*bsd*): Likewise.
15476         (sysv*): Likewise.
15477         (isc*): Likewise.
15478         (esix*): Likewise.
15479         (sco*): Likewise.
15480         (minix*): Likewise.
15481         (irix4*): Likewise.
15482         (irix6*): Likewise.
15483         (solaris[2-9]*): Likewise.
15484         (none): Likewise.
15485         * configure: Regenerated.
15487 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15489         [BZ #11521]
15490         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15491         overflow or cancellation in calculating denominator.
15492         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15493         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15494         down expression to avoid unexpected rounding in newer GCCs.
15495         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15497 2012-04-26  David S. Miller  <davem@davemloft.net>
15499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15500         long-double compat symbols.
15501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15515 2012-04-25  David S. Miller  <davem@davemloft.net>
15517         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15518         HWCAP_* values only after the memory barriers have been defined.
15519         (atomic_full_barrier): Define.
15520         (atomic_read_barrier): Define.
15521         (atomic_write_barrier): Define.
15523 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15525         * shlib-versions: Add libgcc_s version information.
15526         * sysdeps/generic/libgcc_s.h: Remove.
15527         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15528         libgcc_s.h.
15529         * sysdeps/gnu/unwind-resume.c: Likewise.
15530         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15532 2012-04-25  David S. Miller  <davem@davemloft.net>
15534         * sysdeps/unix/sparc/brk.S: Delete.
15535         * sysdeps/unix/sparc/dl-brk.S: Delete.
15536         * sysdeps/unix/sparc/pipe.S: Delete.
15537         * sysdeps/unix/sparc/sysdep.S: Delete.
15538         * sysdeps/unix/sparc/sysdep.h: Delete.
15539         * sysdeps/unix/sparc/vfork.S: Delete.
15540         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15541         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15542         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15543         ret_ERRVAL, r0, r1, MOVE): Define.
15544         (JUMPTARGET): Remove.
15545         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15546         sysdeps/unix/sparc/sysdep.h
15547         (ENTRY, END): Remove.
15548         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15550 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15552         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15553         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15554         -DIS_IN_build.
15556         * timezone/README: Update upstream location and email address for
15557         tzcode and tzdata.
15558         * timezone/zdump.c: Update from tzcode 2012b.
15559         * timezone/zic.c: Likewise.
15561         * configure.in (libc_cv_as_needed): Remove test.
15562         * configure: Regenerated.
15563         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15564         conditional definition.
15565         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15566         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15567         * config.make.in (have-as-needed): Remove variable.
15569 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15570             Paul Pluzhnikov  <ppluzhnikov@google.com>
15572         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15573         strings correctly.
15575 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15577         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15578         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15579         * sysdeps/sh/strlen.S: Likewise.
15581 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15583         * sysdeps/unix/fork.S: Remove file.
15584         * sysdeps/unix/i386/fork.S: Likewise.
15585         * sysdeps/unix/sparc/fork.S: Likewise.
15587         * sysdeps/unix/system.c: Remove file.
15588         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15590         * sysdeps/unix/getegid.S: Remove file.
15591         * sysdeps/unix/geteuid.S: Likewise.
15593 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15595         * scripts/check-localplt.awk: New file.
15596         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15597         of diff.
15598         * scripts/data/localplt-generic.data: Add a comment.
15600         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15601         NODE when __dir_mkfile failed.
15602         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15603         Reported by Ludovic Courtès <ludo@gnu.org>.
15605 2012-04-24  Andreas Jaeger  <aj@suse.de>
15607         * Makerules (common-clean): Also remove gen-as-const-headers
15608         files.
15610 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15612         * Makerules (native-compile): Do not change working directory for
15613         build.  Use $(OUTPUT_OPTION) in command.
15614         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15616 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15618         [BZ #13886]
15619         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15620         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15621         * math/libm-test.inc (floor_test): Add more tests.
15622         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15624 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15626         * sysdeps/unix/getdents.c: Remove file.
15627         * sysdeps/unix/sysv/getdents.c: Likewise.
15628         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15630         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15631         sysdeps/unix/mman/syscalls.list.
15632         (mmap): Likewise.
15633         (mprotect): Likewise.
15634         (msync): Likewise.
15635         (munmap): Likewise.
15636         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15637         * sysdeps/unix/mman/syscalls.list: Remove.
15638         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15640         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15641         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15642         * configure: Regenerated.
15643         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15644         $(libgcc_s_suffix).
15645         * config.make.in (libgcc_s_suffix): Remove variable.
15647 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15649         * sysdeps/unix/sysv/gethostname.c: Move to ...
15650         * sysdeps/posix/gethostname.c: ... here.
15652         * sysdeps/unix/execve.S: Remove file.
15654         * sysdeps/unix/_exit.S: Remove file.
15656 2012-04-23  Andreas Jaeger  <aj@suse.de>
15658         [BZ #13739]
15659         * manual/Makefile: Remove make dist support, there's no
15660         need for a stand-alone documentation tar ball.
15661         (TEXI2DVI): Define always, it's not in Makeconfig.
15662         (dist): Removed.
15663         (tar-it): Removed.
15664         (edition): Removed.
15665         (glibc-doc-$(edition).tar): Removed
15666         (%.Z): Removed.
15667         (%.gz): Removed.
15668         (%.uu): Removed.
15669         (ETAGS): Remove, it's in Makeconfig.
15670         (move-if-change): Remove, it's in Makeconfig.
15672 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15674         [BZ #13970]
15675         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15676         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15677         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15678         (strtod_l, strtof_l, strtold_l): Remove __wur.
15679         It is not necessarily an error to ignore strtol's return value.
15680         One can reliably look at the stored endptr to decide whether
15681         the number had valid syntax.
15683 2012-04-21  Andreas Jaeger  <aj@suse.de>
15685         [BZ #13739]
15686         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15688 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15690         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15691         * sysdeps/unix/sysv/Versions: Remove file.
15693 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15695         [BZ #13927]
15696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15698 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15700         [BZ #7064]
15701         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15702         version from __vm86.
15704 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15706         * sysdeps/unix/common/lxstat.c: Remove file.
15707         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15709         * sysdeps/unix/sysv/Makefile: Remove file.
15711         * sysdeps/unix/sysv/direct.h: Remove file.
15713         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15714         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15715         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15716         * sysdeps/unix/sysv/bits/signum.h: Likewise.
15717         * sysdeps/unix/sysv/bits/stat.h: Likewise.
15718         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15719         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15721         * sysdeps/unix/sysv/setrlimit.c: Remove file.
15723         * sysdeps/unix/xmknod.c: Remove file.
15724         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15726         * sysdeps/unix/sysv/settimeofday.c: Remove file.
15728         * sysdeps/unix/sysv/i386/time.S: Remove file.
15730         * sysdeps/unix/fxstat.c: Remove file.
15731         * sysdeps/unix/xstat.c: Likewise.
15732         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15734         * sysdeps/unix/sysv/sigaction.c: Remove file.
15736         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15737         (sysdep_headers): Remove variable.
15738         [termio.h not in sysdep_headers] (generated): Likewise.
15739         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15740         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15741         * sysdeps/unix/sysv/tcdrain.c: Likewise.
15742         * sysdeps/unix/sysv/tcflow.c: Likewise.
15743         * sysdeps/unix/sysv/tcflush.c: Likewise.
15744         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15745         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15746         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15747         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15748         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15750         * sysdeps/unix/siglist.c: Remove file.
15752         * sysdeps/unix/getppid.S: Remove file.
15754         * sysdeps/unix/mkdir.c: Remove file.
15755         * sysdeps/unix/rmdir.c: Likewise.
15757 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
15759         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15760         ERR_MAX value.
15761         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15762         errlist-compat value.
15764 2012-04-18  David S. Miller  <davem@davemloft.net>
15766         * sysdeps/generic/memcopy.h (reg_char): Delete.
15767         * debug/strcat_chk.c: Use char, not reg_char.
15768         * debug/strcpy_chk.c: Likewise.
15769         * debug/strncat_chk.c: Likewise.
15770         * debug/strncpy_chk.c: Likewise.
15771         * string/memchr.c: Likewise.
15772         * string/memrchr.c: Likewise.
15773         * string/rawmemchr.c: Likewise.
15774         * string/strcat.c: Likewise.
15775         * string/strchr.c: Likewise.
15776         * string/strchrnul.c: Likewise.
15777         * string/strcmp.c: Likewise.
15778         * string/strcpy.c: Likewise.
15779         * string/strncat.c: Likewise.
15780         * string/strncmp.c: Likewise.
15781         * string/strncpy.c: Likewise.
15783 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15785         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15786         __builtin_memcopy is called when src and dest ranges are known to not
15787         overlap.
15789 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15791         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15792         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15793         fwd_align_merge macro call.
15794         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15795         bwd_align_merge macro call.
15796         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15798 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15800         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15801         bwd_align_merge macros.
15802         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15803         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15804         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15806 2012-04-18  David S. Miller  <davem@davemloft.net>
15808         * sysdeps/sparc/sparc64/memcopy.h: Delete.
15810 2012-04-18  Andreas Jaeger  <aj@suse.de>
15812         [BZ# 6794]
15813         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15814         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15815         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15817         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15818         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15819         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15821         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15822         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15823         Adjust for changed ldbl-128 files.
15825         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15826         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15827         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15829 2012-04-17  David S. Miller  <davem@davemloft.net>
15831         * sysdeps/sparc/sparc32/memcopy.h: Delete.
15833 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
15835         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15836         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15837         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15838         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15839         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15840         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15842 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15844         [BZ #6794]
15845         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15846         * math/libm-test.inc: Add ilogb errno and exception tests.
15847         * math/w_ilogb.c: New file: ilogb wrapper.
15848         * math/w_ilogbf.c: New file: ilogbf wrapper.
15849         * math/w_ilogbl.c: New file: ilogbl wrapper.
15850         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15851         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15852         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15853         exception being thrown with 0.0 as argument.
15854         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15855         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15856         exception being thrown with 0.0 as argument.
15857         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15858         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15859         exception being thrown with 0.0 as argument.
15860         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15861         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15862         exception being thrown with 0.0 as argument.
15863         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15864         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15865         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15866         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15867         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15868         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15869         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15870         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15871         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15873 2012-04-17  Petr Baudis  <pasky@ucw.cz>
15875         * include/sys/uio.h: Change __vector to __iovec to avoid clash
15876         with altivec.
15878 2012-04-16  Marek Polacek  <polacek@redhat.com>
15880         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15882 2012-04-16  Marek Polacek  <polacek@redhat.com>
15884         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15885         operands of fdivp instruction.
15887 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15889         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15890         * elf/tst-auditmod3b.c: Likewise.
15891         * elf/tst-auditmod4b.c: Likewise.
15892         * elf/tst-auditmod5b.c: Likewise.
15893         * elf/tst-auditmod6b.c: Likewise.
15894         * elf/tst-auditmod6c.c: Likewise.
15895         * elf/tst-auditmod7b.c: Likewise.
15896         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15897         * sysdeps/x86_64/preconfigure.in: Likewise.
15898         * sysdeps/x86_64/preconfigure: Regenerated.
15900 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15902         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15903         __ILP32__.
15905 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
15907         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15908         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15910 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
15912         [BZ #13973]
15913         * locale/iso-639.def: Fix gl language name. Spotted by
15914         Yaron Shahrabani.
15916 2012-04-12  Roland McGrath  <roland@hack.frob.com>
15918         [BZ #2074]
15919         * libio/libio.h (__io_write_fn): Update comment.
15921 2012-04-12  Petr Baudis  <pasky@ucw.cz>
15923         [BZ #2074]
15924         * stdio.texi (Hook Functions): The user provided writer function
15925         is not allowed to return -1.
15927 2012-04-11  David S. Miller  <davem@davemloft.net>
15929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15931 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
15933         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15934         Add a leading slash to rtkaio.
15936 2012-04-11  Jim Meyering  <meyering@redhat.com>
15938         [BZ #11959]
15939         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15940         It is not necessarily an error to ignore fwrite's return
15941         value.  One can reliably use ferror to test for errors after
15942         the fact.
15944 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15946         * bits/types.h (__snseconds_t): New type.
15947         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15949         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15950         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15951         (__SNSECONDS_T_TYPE): Likewise.
15952         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15953         (__SNSECONDS_T_TYPE): Likewise.
15954         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15955         (__SNSECONDS_T_TYPE): Likewise.
15957 2012-04-10  Andreas Jaeger  <aj@suse.de>
15959         [BZ #2636]
15960         * manual/time.texi (Processor Time): Return type of times is
15961         elapsed real time since an arbitrary point in the past.
15962         (CPU Time): Move CLK_TCK from here...
15963         (Processor Time): ...to here.  Correct description.
15964         * manual/conf.texi (Constants for Sysconf): Correct description of
15965         _SC_CLK_TCK.
15967 2012-04-10  David S. Miller  <davem@davemloft.net>
15969         [BZ #13967]
15970         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15971         where the is a gap between DT_REL(A) and DT_JMPREL.
15973 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15975         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15976         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15977         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15979 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15981         * elf/dl-support.c (_dl_inhibit_cache): New variable.
15982         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15983         (dl_main): Handle --inhibit-cache.
15984         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15985         _dl_inhibit_cache.
15986         * elf/dl-load.c (_dl_map_object): Use it.
15987         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15989 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15991         [BZ #13872]
15992         * sysdeps/i386/fpu/e_powl.S (p78): New object.
15993         (__ieee754_powl): Saturate large exponents rather than testing for
15994         overflow of y*log2(x).
15995         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15996         * math/libm-test.inc (pow_test): Do not permit spurious overflow
15997         exceptions.
15999         [BZ #11521]
16000         * math/s_ctan.c: Include <float.h>.
16001         (__ctan): Avoid internal overflow or cancellation in calculating
16002         denominator.
16003         * math/s_ctanf.c: Likewise.
16004         * math/s_ctanl.c: Likewise.
16005         * math/s_ctanh.c: Likewise.
16006         * math/s_ctanhf.c: Likewise.
16007         * math/s_ctanhl.c: Likewise.
16008         * math/libm-test.inc (ctan_test): Add more tests.
16009         (ctanh_test): Likewise.
16010         * sysdeps/i386/fpu/libm-test-ulps: Update.
16011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16013 2012-04-09  Andreas Jaeger  <aj@suse.de>
16015         [BZ #6894]
16016         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16017         is an optional BSD extension.
16019         [BZ #10254]
16020         * manual/stdio.texi (Opening Streams): Document additional fopen
16021         parameters.
16023 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16025         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16026         %eax without telling the compiler.
16028 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16030         [BZ # 13963]
16031         * manual/install.texi: Use sourceware.org.
16033 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16035         [BZ #13873]
16036         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16037         (__ieee754_pow): Generate overflow and underflow using huge*huge
16038         and tiny*tiny rather than just returning constant infinity or zero
16039         for large exponents.
16040         * math/libm-test.inc (pow_test): Require overflow exceptions for
16041         applicable cases of large exponents.
16043         [BZ #706]
16044         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16045         (__ieee754_pow): Use iterative multiplication algorithm only for
16046         integer exponents with absolute value below 1024.  Check for odd
16047         integer exponents when using algorithm for real exponents.
16048         * math/libm-test.inc (pow_test): Add more tests.
16049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16051 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16053         [BZ #13705]
16054         * math/libm-test.inc (exp_test): Do not allow overflow exception
16055         on underflow test.
16057 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16059         [BZ #13705]
16060         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16061         instead of __kernel_standard_f.
16063 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16065         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16066         * sysdeps/x86_64/memset_chk.S: Likewise.
16068 2012-04-08  Andreas Jaeger  <aj@suse.de>
16070         [BZ #10153]
16071         * manual/startup.texi (Environment Access): Describe return value
16072         for putenv and setenv.
16074         [BZ #6895]
16075         * manual/filesys.texi (Directory Entries): Add description for
16076         DT_LNK.
16078         [BZ #6890]
16079         * manual/filesys.texi (Directory Entries): Clarify that it's file
16080         system not operating system in the description of DT_UNKNOWN.
16082         [BZ #6578]
16083         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16085 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16087         [BZ #6649]
16088         * manual/llio.texi (Opening and Closing Files): Add cross
16089         reference to explain mode argument.
16091 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16093         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16094         * sysdeps/x86_64/memset_chk.S: Likewise.
16096 2012-04-07  David S. Miller  <davem@davemloft.net>
16098         * elf/elf.h (R_SPARC_WDISP10): Define.
16099         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16100         R_SPARC_SIZE32.
16101         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16102         R_SPARC_SIZE64 and R_SPARC_H34.
16104 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16106         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16107         conditions and remove no longer applicable assertion.
16109 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16111         * bits/byteswap.h: Include <features.h>.
16112         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16113         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16115 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16117         * bits/byteswap.h (__bswap_16): Removed.
16118         Include <bits/byteswap-16.h> to get __bswap_16.
16119         * sysdeps/i386/bits/byteswap.h: Likewise.
16120         * sysdeps/s390/bits/byteswap.h: Likewise.
16121         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16122         * bits/byteswap-16.h: New file.
16123         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16124         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16125         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16126         * string/Makefile (headers): Add bits/byteswap-16.h.
16128 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16130         [BZ #13895]
16131         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16132         extra indirection.
16133         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16134         * nss/tst-nss-static.c: New.
16136 2012-04-06  Robert Millan  <rmh@gnu.org>
16138         [BZ #6486]
16139         * manual/llio.texi (File Position Primitive): lseek
16140         refers to WHENCE when it really means OFFSET.
16142 2012-04-06  Andreas Jaeger  <aj@suse.de>
16144         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16145         strncmp declarations.
16147         * abilist/libc.abilist: Add __poll and __ppoll.
16149 2012-04-05  David S. Miller  <davem@davemloft.net>
16151         * scripts/check-local-headers.sh: Accept a host triplet in the
16152         path matched by the exclude regexp.
16154         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16155         definition.
16156         * sysdeps/powerpc/powerpc32/dl-machine.h
16157         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16158         * sysdeps/s390/s390-32/dl-machine.h
16159         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16160         * sysdeps/sparc/sparc32/dl-machine.h
16161         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16162         * sysdeps/sparc/sparc64/dl-machine.h
16163         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16165         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16166         lazy binding.
16167         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16168         undefined symbol errors.
16170         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16171         DT_NEEDED entries.
16173 2012-04-05  Michael Matz  <matz@suse.de>
16175         [BZ #13592]
16176         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16178 2012-04-05  Andreas Jaeger  <aj@suse.de>
16180         [BZ #13908]
16181         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16182         comment.
16184 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16186         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16187         which ROUND is no valid rounding mode.
16189 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16191         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16192         read again.
16193         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16195 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16197         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16198         an exception using FPU order intentionally.
16200 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16202         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16203         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16204         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16205         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16207 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16209         [BZ #12340]
16210         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16211         EINVAL when BUFLEN is too smal.
16213 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16215         [BZ #13553]
16216         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16217         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16219 2012-04-03  Andreas Jaeger  <aj@suse.de>
16221         [BZ #13938]
16222         * manual/setjmp.texi (System V contexts): Fix sentence.
16224         [BZ #13926]
16225         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16226         New macro for this case.
16227         [!__GNUC__] (__bswap_64): New inline function for this case.
16228         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16229         * bits/byteswap.h: Likewise.
16230         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16231         ull, guard with __GLIBC_HAVE_LONG_LONG.
16233         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16234         __GLIBC_HAVE_LONG_LONG.
16236         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16237         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16239 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16241         [BZ #13691]
16242         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16243         inptr and inend, rather than using last_ch.
16245 2012-04-02  David S. Miller  <davem@davemloft.net>
16247         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16248         * stdio-common/printf-parse.h (read_int): Change return type to
16249         'int', return -1 on INT_MAX overflow.
16250         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16251         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16252         overflows INT_MAX.  Check for overflow of in-format-string precision
16253         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16254         SIZE_MAX not INT_MAX for integer overflow test.
16255         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16256         skip the construct in the format string but do not record anything.
16257         * stdio-common/bug22.c: Adjust to test both width/prevision
16258         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16259         explicitly for proper errno values.
16261 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16263         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16264         CHAR_MAX.
16265         * string/test-strcmp.c [! WIDE]: Likewise.
16266         * time/tst-mktime2.c: Likewise for INT_MAX.
16267         * string/test-string.h: #include <sys/param.h> for MIN.
16269         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16270         * sysdeps/i386/init-first.c (init): Likewise.
16271         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16272         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16273         * sysdeps/sh/init-first.c (init): Likewise.
16275 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16277         * po/ru.po: Update from translation team.
16278         * po/vi.po: Likewise.
16280 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16282         * resolv/nss_dns/dns-host.c: Merge copyright years.
16284 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16286         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16287         Optimize memcpy with prefetch if
16288         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16289         src, dst pointers have unequal 16 byte alignments.
16291 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16293         [BZ #13928]
16294         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16295         from a CNAME entry and return the minimum ttl for the query.
16296         (gaih_getanswer_slice): Likewise.
16298 2012-03-30  Jeff Law  <law@redhat.com>
16300         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16301         due to long keys.
16302         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16303         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16305         * resolv/nss_dns/dns-host.c: Update copyright year.
16307 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16309         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16310         requests to save a system call.  Fix check that all bytes are sent.
16312         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16313         comments for sendmmsg.
16315 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16317         [BZ #13691]
16318         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16319         with only 1 character between 0x0041 and 0x01b0.
16320         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16321         * wcsmbs/tst-mbsnrtowcs.c: New file.
16323 2012-03-29  David S. Miller  <davem@davemloft.net>
16325         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16326         small copies by hand.
16328 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16330         [BZ #13761]
16331         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16332         _nss_compat_initgroups_dyn): Fall back to malloc/free
16333         for large group memberships.
16335 2012-03-28  David S. Miller  <davem@davemloft.net>
16337         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16338         that branches into memcpy.
16339         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16340         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16341         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16342         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16343         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16344         bits.
16345         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16346         implementation too.
16347         * sysdeps/sparc/mempcpy.S: New file.
16349         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16350         the IFUNC routine in the libc case.
16351         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16353         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16354         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16355         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16356         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16357         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16358         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16359         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16360         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16362         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16363         loop to 256 bytes instead of 64 bytes and fix test signedness.
16365         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16366         * sysdeps/sparc/sparc32/Makefile: rather than here...
16367         * sysdeps/sparc/sparc64/Makefile: and here.
16369 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16371         * malloc/mallocbug.c: Avoid warnings about unused variables.
16373 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16375         [BZ #13760]
16376         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16377         in the right place. Discard and retry query if response is
16378         larger than input buffer size.
16380 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16382         [BZ #369]
16383         [BZ #2678]
16384         [BZ #3866]
16385         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16386         x for large integer exponent.
16387         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16388         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16389         sign of result as needed afterwards.
16390         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16391         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16392         result for underflowing pow the same as for overflow.
16393         (__kernel_standard_l): Handle powl overflow and underflow here
16394         rather than calling __kernel_standard.
16395         * math/libm-test.inc (pow_test): Add more tests.
16397         [BZ #3868]
16398         [BZ #13879]
16399         [BZ #13910]
16400         [BZ #13911]
16401         [BZ #13912]
16402         [BZ #13913]
16403         [BZ #13915]
16404         [BZ #13916]
16405         [BZ #13917]
16406         [BZ #13918]
16407         [BZ #13919]
16408         [BZ #13920]
16409         [BZ #13921]
16410         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16411         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16412         (__kernel_standard_l): New function.
16413         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16414         __kernel_standard.
16415         * math/w_acosl.c (__acosl): Likewise.
16416         * math/w_asinl.c (__asinl): Likewise.
16417         * math/w_atan2l.c (__atan2l): Likewise.
16418         * math/w_atanhl.c (__atanhl): Likewise.
16419         * math/w_coshl.c (__coshl): Likewise.
16420         * math/w_exp10l.c (__exp10l): Likewise.
16421         * math/w_exp2l.c (__exp2l): Likewise.
16422         * math/w_fmodl.c (__fmodl): Likewise.
16423         * math/w_hypotl.c (__hypotl): Likewise.
16424         * math/w_j0l.c (__j0l, __y0l): Likewise.
16425         * math/w_j1l.c (__j1l, __y1l): Likewise.
16426         * math/w_jnl.c (__jnl, __ynl): Likewise.
16427         * math/w_lgammal.c (__lgammal): Likewise.
16428         * math/w_log10l.c (__log10l): Likewise.
16429         * math/w_log2l.c (__log2l): Likewise.
16430         * math/w_logl.c (__logl): Likewise.
16431         * math/w_powl.c (__powl): Likewise.
16432         * math/w_remainderl.c (__remainderl): Likewise.
16433         * math/w_scalbl.c (sysv_scalbl): Likewise.
16434         * math/w_sinhl.c (__sinhl): Likewise.
16435         * math/w_sqrtl.c (__sqrtl): Likewise.
16436         * math/w_tgammal.c (__tgammal): Likewise.
16437         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16438         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16439         * math/libm-test.inc (acos_test): Add more tests.
16440         (acosh_test): Likewise.
16441         (asin_test): Likewise.
16442         (atanh_test): Likewise.
16443         (exp_test): Likewise.
16444         (exp10_test): Likewise.
16445         (exp2_test): Likewise.
16446         (expm1_test): Likewise.
16447         (lgamma_test): Likewise.
16448         (log_test): Likewise.
16449         (log10_test): Likewise.
16450         (log1p_test): Likewise.
16451         (log2_test): Likewise.
16452         (pow_test): Do not allow some spurious overflow exceptions.
16453         (sqrt_test): Add more tests.
16454         (tgamma_test): Likewise.
16455         (y0_test): Likewise.
16456         (y1_test): Likewise.
16457         (yn_test): Likewise.
16459 2012-03-27  Anton Blanchard  <anton@samba.org>
16461         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16462         MAP_HUGETLB.
16463         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16464         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16465         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16467 2012-03-27  David S. Miller  <davem@davemloft.net>
16469         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16471         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16472         have-as-vis3 check.
16474 2012-03-27  Andreas Jaeger  <aj@suse.de>
16476         * sysdeps/x86_64/elf/configure.in: Moved to ...
16477         * sysdeps/x86_64/configure.in: ... here.
16478         * sysdeps/x86_64/elf/start.S: Moved to ...
16479         * sysdeps/x86_64/start.S: ... here.
16480         * sysdeps/x86_64/elf/configure: Delete.
16482         * sysdeps/x86_64/configure.in: Merge contents from
16483         sysdeps/i386/configure.in (without i686 check).
16485         * sysdeps/i386/elf/Versions: Merge into ...
16486         * sysdeps/i386/Versions: ... this.
16487         * sysdeps/i386/elf/Versions: Delete file.
16488         * sysdeps/i386/elf/start.S: Moved to ...
16489         * sysdeps/i386/start.S: ...here.
16490         * sysdeps/i386/elf/configure.in: Merge into...
16491         * sysdeps/i386/configure.in: ...here.
16492         * sysdeps/i386/elf/configure.in: Delete file.
16493         * sysdeps/i386/elf/configure: Delete file.
16495         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16496         * debug/backtracesyms.c: ... here.
16497         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16498         * debug/backtracesymsfd.c: ... here.
16499         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16500         * sysdeps/generic/ifunc-sel.h: ... here.
16502         * sysdeps/unix/i386/start.c: Delete file.
16503         * sysdeps/unix/sparc/start.c: Delete file.
16504         * sysdeps/unix/start.c: Delete file.
16506         * sysdeps/sh/elf/configure.in: Moved to ...
16507         * sysdeps/sh/configure.in: ... here.
16508         * sysdeps/sh/elf/start.S: Moved to ...
16509         * sysdeps/sh/start.S: ... here.
16510         * sysdeps/sh/elf/configure: Delete file.
16512         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16513         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16514         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16515         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16516         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16517         * sysdeps/powerpc/powerpc64/start.S: here.
16518         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16519         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16520         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16521         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16522         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16524         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16525         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16526         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16527         * sysdeps/powerpc/powerpc32/start.S: ... here.
16528         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16529         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16530         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16532         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16533         * sysdeps/powerpc/ifunc-sel.h: ... here.
16534         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16535         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16537         * sysdeps/sparc/elf/configure.in: Moved to ...
16538         * sysdeps/sparc/configure.in: ... here.
16539         * sysdeps/sparc/elf/configure: Delete file.
16540         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16541         * sysdeps/sparc/sparc32/start.S: ... here.
16542         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16543         * sysdeps/sparc/sparc64/start.S: ... here.
16544         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16545         * sysdeps/sparc/sparc32/Makefile: ... this.
16546         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16547         * sysdeps/sparc/sparc64/Makefile: ... this.
16549         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16550         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16551         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16552         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16553         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16554         * sysdeps/s390/s390-32/setjmp.S: ... here.
16555         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16556         * sysdeps/s390/s390-32/configure.in: ... here.
16557         * sysdeps/s390/s390-32/elf/configure: Delete file.
16558         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16559         * sysdeps/s390/s390-32/start.S: ... here.
16561         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16562         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16563         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16564         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16565         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16566         * sysdeps/s390/s390-64/setjmp.S: ... here.
16567         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16568         * sysdeps/s390/s390-64/configure.in: ... here
16569         * sysdeps/s390/s390-64/elf/configure: Delete file.
16570         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16571         * sysdeps/s390/s390-64/start.S: ... here.
16572         * sysdeps/s390/s390-64/elf/configure: Delete.
16574         * configure.in: Remove support for elf directories in sysdeps.
16576         * configure: Regenerated.
16577         * sysdeps/i386/configure: Regenerated.
16578         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16579         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16580         * sysdeps/s390/s390-32/configure: Regenerated.
16581         * sysdeps/s390/s390-64/configure: Regenerated.
16582         * sysdeps/sh/configure: Regenerated.
16583         * sysdeps/sparc/configure: Regenerated.
16584         * sysdeps/x86_64/configure: Regenerated.
16586 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16590         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16591         denormal result into account.
16593 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16595         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16596         Reported by Allan McRae <allan@archlinux.org>.
16598 2012-03-23  Jeff Law  <law@redhat.com>
16600         * nss/getnssent.c (__nss_getent): Fix typo.
16602 2012-03-23  David S. Miller  <davem@davemloft.net>
16604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16606 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16608         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16609         to pad to uint64_t for each field.
16610         (dl_tls_index): Replace unsigned long with uint64_t.
16612 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16613         Paul Pluzhnikov  <ppluzhnikov@google.com>
16615         [BZ #6528]
16616         * grp/Makefile (otherlibs): Don't set it.
16617         * inet/Makefile (otherlibs): Likewise.
16618         * login/Makefile (otherlibs): Likewise.
16619         * nscd/Makefile (otherlibs): Likewise.
16620         * posix/Makefile (otherlibs): Likewise.
16621         * pwd/Makefile (otherlibs): Likewise.
16622         * rt/Makefile (otherlibs): Likewise.
16623         * sunrpc/Makefile (otherlibs): Likewise.
16624         * nss/Makefile (otherlibs): Likewise.
16625         Add libnss_files to routines and static-only-routines.
16626         ($(objpfx)getent): Remove rule.
16627         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16628         static-only-routines.
16630 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16632         [BZ #13892]
16633         * math/s_cexp.c: Include <float.h>.
16634         (__cexp): Handle exp result overflowing not necessarily
16635         overflowing both real and imaginary parts of result.
16636         * math/s_cexpf.c: Likewise.
16637         * math/s_cexpl.c: Likewise.
16638         * math/libm-test.inc (cexp_test): Add more tests.
16639         * sysdeps/i386/fpu/libm-test-ulps: Update.
16640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16642 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16644         * include/link.h (ELFW): New macro.
16645         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16646         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16648 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16650         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16651         with uint64_t.
16653 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16655         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16656         declaration.
16657         (struct La_x32_retval): Likewise.
16659 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16661         * sysdeps/x86_64/preconfigure.in: New file.
16662         * sysdeps/x86_64/preconfigure: New generated file.
16664 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16666         [BZ #13824]
16667         * math/e_exp2l.c: Include <float.h>.
16668         (__ieee754_exp2l): Handle overflow and underflow cases
16669         separately.  Only pass fractional part of argument to
16670         __ieee754_expl.
16671         * math/libm-test.inc (exp2_test): Add more tests.
16673         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16674         negating x to take absolute value.
16675         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16676         Likewise.
16677         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16678         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16679         Likewise.
16680         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16681         computing low part if x was negated.
16682         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16684 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16686         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16687         la_x32_gnu_pltexit.
16688         (pltexit): Cast int_retval to ptrdiff_t.
16689         * elf/tst-auditmod3b.c: Likewise.
16690         * elf/tst-auditmod4b.c: Likewise.
16691         * elf/tst-auditmod5b.c: Likewise.
16692         * elf/tst-auditmod6b.c: Likewise.
16693         * elf/tst-auditmod6c.c: Likewise.
16694         * elf/tst-auditmod7b.c: Likewise.
16696         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16697         and x32_gnu_pltexit.
16699         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16700         __ELF_NATIVE_CLASS.
16701         (La_x32_regs): New macro.
16702         (La_x32_retval): Likewise.
16703         (la_x32_gnu_pltenter): New function prototype.
16704         (la_x32_gnu_pltexit): Likewise.
16706 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
16708         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16709         exponent.
16711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16713         * configure.in (libc_cv_cc_nofma): Check for option to disable
16714         generation of FMA instructions.
16715         * configure: Regenerate.
16716         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16717         * sysdeps/ieee754/dbl-64/Makefile: New file.
16718         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16719         Remove brandred-fma4.
16720         (CFLAGS-brandred-fma4.c): Remove.
16721         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16722         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16723         define.
16724         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16725         define.
16727 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16729         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16730         LLONG_MAX != LONG_MAX.
16731         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16732         (_fitoa_word): Likewise.
16733         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16734         LLONG_MAX != LONG_MAX.
16735         * stdio-common/_itowa.h: Include <_itoa.h>.
16736         (_itowa_word): Use _ITOA_WORD_TYPE on value.
16737         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
16738         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
16739         only if not defined.
16740         (_ITOA_WORD_TYPE): Likewise.
16741         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16742         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16744 2012-03-21  David S. Miller  <davem@davemloft.net>
16746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16748 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16750         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16751         of x86_64 when setting libc_cv_slibdir, libdir and
16752         libc_cv_localedir.
16753         * sysdeps/unix/sysv/linux/configure: Regenerated.
16755 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16757         * manual/lang.texi (Old Varargs): Remove section.
16758         (How Variadic): Update menu.
16759         (va_start): Do not mention varargs.h.
16761 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16762             Joseph Myers  <joseph@codesourcery.com>
16764         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16765         link test.
16766         * configure: Regenerated.
16768 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16770         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16771         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16772         conformtest.pl
16774 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16776         * NOTES: Remove.
16777         * Makefile (files-for-dist): Remove NOTES.
16778         (NOTES): Remove rule.
16779         * README: Don't refer to NOTES.
16780         * manual/creature.texi: Don't include macros.texi.
16781         * manual/intro.texi (creature.texi): Remove comment referring to
16782         NOTES.
16784         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16785         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16786         * configure: Regenerated.
16787         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16788         LIBC_TRY_CC_OPTION.
16789         (libc_cv_as_i686): Likewise.
16790         (libc_cv_cc_avx): Likewise.
16791         (libc_cv_cc_sse2avx): Likewise.
16792         (libc_cv_cc_fma4): Likewise.
16793         (libc_cv_cc_novzeroupper): Likewise.
16794         * sysdeps/i386/configure: Regenerated.
16796         [BZ #13883]
16797         * sysdeps/i386/fpu/s_cexp.S: Remove.
16798         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16799         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16800         * math/libm-test.inc (cexp_test): Add more tests.
16801         * sysdeps/i386/fpu/libm-test-ulps: Update.
16802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16804 2012-03-21  Allan McRae  <allan@archlinux.org>
16806         * timezone/Makefile: Do not install iso3166.tab and zone.tab
16808 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16810         [BZ #13871]
16811         * math/w_exp2.c: Do not include <float.h>.
16812         (o_threshold, u_threshold): Remove.
16813         (__exp2): Calculate result before checking finiteness and calling
16814         __kernel_standard.
16815         * math/w_exp2f.c: Likewise.
16816         * math/w_exp2l.c: Likewise.
16817         * math/libm-test.inc (exp2_test): Require overflow exception for
16818         1e6 input.
16820         [BZ #3866]
16821         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16822         range of signed 64-bit integers before using fistpll.  Remove
16823         checks for whether integers fit in mantissa bits.
16824         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16825         the range of signed 32-bit integers before using fistpl.  Remove
16826         checks for whether integers fit in mantissa bits.
16827         * sysdeps/i386/fpu/e_powl.S (p64): New object.
16828         (__ieee754_powl): Test for y outside the range of signed 64-bit
16829         integers before using fistpll.  Reduce 64-bit values to 63-bit
16830         ones as needed.
16831         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16832         divide-by-zero is raised for zero to large negative powers.
16833         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16834         (__ieee754_powl): Test for y outside the range of signed 64-bit
16835         integers before using fistpll.  Reduce 64-bit values to 63-bit
16836         ones as needed.
16837         * math/libm-test.inc (pow_test): Add more tests.
16839 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16841         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16842         <stdio-common/_itoa.h>.
16843         * debug/segfault.c: Likewise.
16844         * elf/dl-cache.c: Likewise.
16845         * elf/dl-minimal.c: Likewise.
16846         * elf/dl-misc.c: Likewise.
16847         * elf/dl-sysdep.c: Likewise.
16848         * elf/dl-version.c: Likewise.
16849         * elf/rtld.c: Likewise.
16850         * hurd/hurdsock.c: Likewise.
16851         * hurd/lookup-retry.c: Likewise.
16852         * malloc/malloc.c: Likewise.
16853         * malloc/mtrace.c: Likewise.
16854         * nscd/nscd_getgr_r.c: Likewise.
16855         * nscd/nscd_getpw_r.c: Likewise.
16856         * nscd/nscd_getserv_r.c: Likewise.
16857         * posix/getopt_init.c: Likewise.
16858         * posix/wordexp.c: Likewise.
16859         * stdio-common/_itoa.c: Likewise.
16860         * stdio-common/printf_fphex.c: Likewise.
16861         * stdio-common/vfprintf.c: Likewise.
16862         * string/_strerror.c: Likewise.
16863         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16864         * sysdeps/i386/i686/hp-timing.h: Likewise.
16865         * sysdeps/mach/_strerror.c: Likewise.
16866         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16867         * sysdeps/mach/hurd/sethostid.c: Likewise.
16868         * sysdeps/mach/hurd/xmknodat.c: Likewise.
16869         * sysdeps/mach/xpg-strerror.c: Likewise.
16870         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16871         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16872         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16873         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16874         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16875         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16876         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16877         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16878         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16879         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16880         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16881         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16882         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16883         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16884         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16885         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16886         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16887         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16888         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16889         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16890         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16892         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16894         * stdio-common/_itoa.h: Moved to ...
16895         * sysdeps/generic/_itoa.h: Here.
16897         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16899         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16900         instead of "_itoa.h" and "_itowa.h".
16901         * stdio-common/vfprintf.: Likewise.
16903 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16905         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16906         <bits/wordsize.h>.
16907         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16908         (__signbit): Likwise.
16909         (llrintf): Likwise.
16910         (llrint): Likwise.
16912 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16914         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16915         __WORDSIZE != 64.
16917 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
16919         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16920         OVERFLOW_EXCEPTION_OK.
16921         * math/libm-test.inc ("Philosophy"): Update comment about
16922         exception testing.
16923         (OVERFLOW_EXCEPTION): Define.
16924         (OVERFLOW_EXCEPTION_OK): Likewise.
16925         (INVALID_EXCEPTION_OK): Renumber.
16926         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16927         (IGNORE_ZERO_INF_SIGN): Likewise.
16928         (test_exceptions): Handle FE_OVERFLOW.
16929         (exp10_test): Expect overflow exceptions.
16930         (exp2_test): Likewise.
16931         (expm1_test): Likewise.
16932         (nextafter_test): Likewise.
16933         (pow_test): Likewise.
16934         (scalbn_test): Likewise.
16935         (scalbln_test): Likewise.
16937 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16939         * sysdeps/x86_64/bits/atomic.h
16940         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16941         64bit integer.
16942         (atomic_exchange_acq): Likewise.
16943         (__arch_exchange_and_add_body): Likewise.
16944         (__arch_add_body): Likewise.
16945         (atomic_add_negative): Likewise.
16946         (atomic_add_zero): Likewise.
16948 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16950         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16951         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16953 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16955         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16956         Check __x86_64__ instead of __WORDSIZE.
16958 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16960         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16962 2012-03-19  David S. Miller  <davem@davemloft.net>
16964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16966         * sysdeps/sparc/fpu/fenv_private.h: New file.
16967         * sysdeps/sparc/fpu/math_private.h: Use it.
16968         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16969         Remove.
16970         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16971         (libc_feholdexcept_setroundl): Remove.
16972         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16973         Remove.
16974         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16975         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16977 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16979         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16980         int64_t instead of long int.
16981         (INSERT_WORDS64): Likwise.
16983 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16985         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16986         _Unwind_GetCFA return to _Unwind_Ptr first.
16988 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
16990         [BZ #13629]
16991         * math/s_clog.c: Include <float.h>.
16992         (__clog): Scale large or subnormal inputs.
16993         * math/s_clogf.c: Likewise.
16994         * math/s_clogl.c: Likewise.
16995         * math/s_clog10.c: Include <float.h>.
16996         (M_LOG10_2): Define.
16997         (__clog10): Scale large or subnormal inputs.
16998         * math/s_clog10f.c: Likewise.
16999         * math/s_clog10l.c: Likewise.
17000         * math/libm-test.inc (clog_test): Add more tests.
17001         (clog10_test): Likewise.
17002         * sysdeps/i386/fpu/libm-test-ulps: Update.
17003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17005         [BZ #11451]
17006         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17007         x and y.
17008         * math/libm-test.inc (atan2_test): Add another test.
17010         * Makerules (common-objdir-compile): Remove.
17011         * sysdeps/unix/Makefile (config-generated): Do not add
17012         $(unix-generated) to variable.
17013         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17014         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17015         Remove rule.
17016         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17017         Likewise.
17018         [generic bits/local_lim.h] (before-compile): Do not append to
17019         variable.
17020         [generic bits/local_lim.h] (common-generated): Likewise.
17021         [generic sys/param.h] (before-compile): Do not append to variable.
17022         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17023         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17024         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17025         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17026         include.
17027         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17028         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17029         [generic sys/param.h] ($(addprefix
17030         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17031         [generic sys/param.h] (common-generated): Do not append to
17032         variable.
17033         [generic sys/param.h] (sysdep_headers): Likewise.
17034         [generic bits/errno.h] (before-compile): Do not append to
17035         variable.
17036         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17037         rule.
17038         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17039         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17040         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17041         [generic bits/errno.h] (common-generated): Do not append to
17042         variable.
17043         [generic bits/ioctls.h] (before-compile): Do not append to
17044         variable.
17045         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17046         rule.
17047         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17048         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17049         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17050         rule.
17051         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17052         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17053         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17054         [generic bits/ioctls.h] (common-generated): Do not append to
17055         variable.
17056         [generic sys/syscall.h] (syscall.h): Remove variable.
17057         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17058         rule.
17059         [generic sys/syscall.h] (before-compile): Do not append to
17060         variable.
17061         [generic sys/syscall.h] (common-generated): Likewise.
17062         * sysdeps/unix/errnos-tmpl.c: Remove file.
17063         * sysdeps/unix/errnos.awk: Likewise.
17064         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17065         * sysdeps/unix/ioctls.awk: Likewise.
17066         * sysdeps/unix/mk-local_lim.c: Likewise.
17067         * sysdeps/unix/snarf-ioctls: Likewise.
17069 2012-03-19  Richard Henderson  <rth@twiddle.net>
17071         * sysdeps/i386/fpu/fenv_private.h: New file.
17072         * sysdeps/i386/fpu/math_private.h: Use it.
17073         (math_opt_barrier, math_force_eval): Remove.
17074         (libc_feholdexcept_setround_53bit): Remove.
17075         (libc_feupdateenv_53bit): Remove.
17076         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17077         (math_opt_barrier, math_force_eval): Remove.
17078         (libc_feholdexcept): Remove.
17079         (libc_feholdexcept_setround): Remove.
17080         (libc_fetestexcept, libc_fesetenv): Remove.
17081         (libc_feupdateenv_test): Remove.
17082         (libc_feupdateenv, libc_feholdsetround): Remove.
17083         (libc_feresetround): Remove.
17085         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17086         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17088         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17089         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17090         (libc_feupdateenv_testl): New.
17091         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17092         (libc_feupdateenv_testf): New.
17093         (libc_feupdateenv): Use libc_feupdateenv_test.
17094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17095         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17097         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17098         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17099         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17100         (libc_feresetround_noex): New.
17101         (libc_feresetround_noexf): New.
17102         (libc_feresetround_noexl): New.
17103         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17104         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17105         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17106         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17107         SET_RESTORE_ROUND.
17108         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17109         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17110         (__cos): Likewise.
17111         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17112         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17113         SET_RESTORE_ROUND_NOEX.
17114         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17115         SET_RESTORE_ROUND_NOEXF.
17116         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17117         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17118         (libc_feholdsetroundf): New.
17119         (libc_feresetround, libc_feresetroundf): New.
17121         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17122         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17123         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17125         * sysdeps/generic/math_private.h: Include <fenv.h>.
17126         (default_libc_feholdexcept): New.
17127         (default_libc_feholdexcept_setround): New.
17128         (default_libc_fesetenv, default_libc_feupdateenv): New.
17129         (libc_feholdexcept): Only define if undefined.
17130         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17131         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17132         (libc_feholdexcept_setroundl): Likewise.
17133         (libc_feholdexcept_setround_53bit): Likewise.
17134         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17135         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17136         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17137         (libc_feupdateenv_53bit): Likewise.
17138         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17139         (libc_feholdexcept): Convert from macro to inline function.
17140         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17141         (libc_fesetenv, libc_feupdateenv): Likewise.
17143         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17144         not previously defined.
17145         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17146         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17147         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17148         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17149         * sysdeps/ieee754/flt-32/math_private.h: New file.
17150         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17151         math_private.h below SET_FLOAT_WORD.
17152         (__isnan, __isinf_ns, __finite): Remove.
17153         (__isnanf, __isinf_nsf, __finitef): Remove.
17155 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17159 2012-03-17  David S. Miller  <davem@davemloft.net>
17161         [BZ #6471]
17162         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17163         for 2.16.
17165 2012-03-16  David S. Miller  <davem@davemloft.net>
17167         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17168         warnings.
17170         [BZ #6471]
17171         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17172         properly.
17173         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17174         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17175         sysdep_routines when subdir is sysvipc.
17176         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17177         __getshmlba helper.
17179         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17181 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17183         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17184         [__LP64__].
17186 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17188         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17189         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17190         (__lround): Renamed to ...
17191         (__llround): This.  Replace long int with long long int.
17192         Define lround functions as aliases of llround functions.
17193         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17195 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17197         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17198         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17199         adresses to uintptr_t.  Replace "long int" and "unsigned long
17200         int" with "greg_t" on va_arg.
17202 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17204         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17205         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17207         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17208         Move e_machine check before EI_CLASS check.  Handle x32
17209         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17210         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17211         SKIP_EM_IA_64 and include
17212         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17214         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17215         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17216         (add_system_dir): New macro.
17218         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17219         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17221 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17223         [BZ #2551]
17224         [BZ #2552]
17225         [BZ #2553]
17226         [BZ #2554]
17227         [BZ #2562]
17228         [BZ #2563]
17229         [BZ #2565]
17230         [BZ #2566]
17231         [BZ #2576]
17232         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17233         (y0): Likewise.
17234         * math/w_j0f.c (j0f): Likewise.
17235         (y0f): Likewise.
17236         * math/w_j0l.c (__j0l): Likewise.
17237         (__y0l): Likewise.
17238         * math/w_j1.c (j1): Likewise.
17239         (y1): Likewise.
17240         * math/w_j1f.c (j1f): Likewise.
17241         (y1f): Likewise.
17242         * math/w_j1l.c (__j1l): Likewise.
17243         (__y1l): Likewise.
17244         * math/w_jn.c (jn): Likewise.
17245         (yn): Likewise.
17246         * math/w_jnf.c (jnf): Likewise.
17247         (ynf): Likewise.
17248         * math/w_jnl.c (__jnl): Likewise.
17249         (__ynl): Likewise.
17250         * math/libm-test.inc (j0_test): Add more tests.
17251         (j1_test): Likewise.
17252         (jn_test): Likewise.  Add trailing semicolon to existing test.
17253         (y0_test): Likewise.
17254         (y1_test): Likewise.
17255         * sysdeps/i386/fpu/libm-test-ulps: Update.
17256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17258         [BZ #13851]
17259         [BZ #13854]
17260         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17261         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17262         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17263         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17264         (__tanl): Set errno for infinite argument.
17265         * sysdeps/i386/fpu/mptan.c: Remove.
17266         * sysdeps/i386/fpu/s_tan.S: Likewise.
17267         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17268         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17269         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17270         * math/libm-test.inc (tan_test): Add more tests and enable more
17271         tests for double and long double.
17272         * sysdeps/i386/fpu/libm-test-ulps: Update.
17273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17275 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17277         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17278         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17280 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17282         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17283         * configure.in: Use it for both main tree and add-ons.
17284         * configure: Regenerated.
17286 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17288         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17290 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17292         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17293         in comment.
17295         [BZ #13851]
17296         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17297         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17298         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17299         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17300         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17301         infinite argument.
17302         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17303         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17304         != 0 for prec == 2.
17305         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17306         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17307         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17308         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17309         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17310         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17311         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17312         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17313         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17314         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17315         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17316         * math/libm-test.inc (cos_test): Add more tests and enable more
17317         tests for long double.
17318         (sin_test): Likewise.
17319         (sincos_test): Likewise.
17320         * sysdeps/i386/fpu/libm-test-ulps: Update.
17321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17323 2012-03-16  David S. Miller  <davem@davemloft.net>
17325         * sysdeps/sparc/fpu/math_private.h: New file.
17327 2012-03-15  David S. Miller  <davem@davemloft.net>
17329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17330         file.
17331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17333         file.
17334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17339         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17340         sysdep routines.
17341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17343         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17344         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17346         * sysdeps/sparc/sparc-ifunc.h: New file.
17347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17348         sparc-ifunc.h
17349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17351         Likewise.
17352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17353         Likewise.
17354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17358         Likewise.
17359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17364         Likewise.
17365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17366         Likewise.
17367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17373         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17374         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17385         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17386         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17387         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17388         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17389         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17390         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17392 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17394         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17395         scaling.
17396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17398 2012-03-15  Andreas Jaeger  <aj@suse.de>
17400         [BZ #13852]
17401         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17402         ieee754/flt-32 implementation for sin, cos and sincos.
17403         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17404         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17405         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17406         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17407         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17408         ieee754/flt-32 implementation for tan.
17410         * math/libm-test.inc (cos_test): Enable some large input tests for
17411         float as well
17412         (sin_test): Likewise.
17413         (sincos_test): Likewise.
17414         (tan_test): Add tests for large input.
17416         * sysdeps/i386/fpu/libm-test-ulps: Update.
17418 2012-03-15  Andreas Jaeger  <aj@suse.de>
17420         [BZ #13658]
17421         * math/libm-test.inc (cos_test): Add more test cases.
17422         (sin_test): Likewise.
17423         (sincos_test): Likewise.
17425 2012-03-15  Andreas Jaeger  <aj@suse.de>
17427         [BZ #13837]
17428         * math/libm-test.inc (cos_test): Add a test case for large input
17429         value.
17430         (sin_test): Likewise.
17431         (sincos_test): Likewise.
17433 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17434         Joseph Myers  <joseph@codesourcery.com>
17436         [BZ #13658]
17437         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17438         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17439         * sysdeps/i386/fpu/branred.c: Likewise.
17440         * sysdeps/i386/fpu/dosincos.c: Likewise.
17441         * sysdeps/i386/fpu/mpa.c: Likewise.
17442         * sysdeps/i386/fpu/s_cos.S: Likewise.
17443         * sysdeps/i386/fpu/s_sin.S: Likewise.
17444         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17445         * sysdeps/i386/fpu/sincos32.c: Likewise.
17447         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17448         Define.
17449         (libc_feupdateenv_53bit): Define.
17450         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17451         Define.
17452         (libc_feupdateenv_53bit): Define.
17454         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17455         53 bit (without extend i386 double precision).
17457         * math/libm-test.inc (sincos_test): Add tests for large input.
17458         (sin): Likewise.
17459         (cos): Likewise.
17461         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17463 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17467 2012-03-15  David S. Miller  <davem@davemloft.net>
17469         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17470         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17471         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17472         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17485         file.
17486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17488         file.
17489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17491         file.
17492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17494         file.
17495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17496         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17497         fmin/fmax sysdep routines.
17498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17500 2012-03-14  David S. Miller  <davem@davemloft.net>
17502         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17504         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17505         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17506         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17507         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17508         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17509         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17522         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17523         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17524         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17525         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17526         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17527         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17528         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17529         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17530         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17531         routines.
17532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17533         file.
17534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17536         file.
17537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17539         file.
17540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17542         file.
17543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17545         file.
17546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17548         file.
17549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17550         file.
17551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17552         file.
17553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17554         file.
17555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17556         New file.
17557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17558         file.
17559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17560         file.
17561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17563         file.
17564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17566         file.
17567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17569         file.
17570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17572         VIS3 routines.
17574         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17575         New file.
17577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17579         * sysdeps/sparc/configure.in: New file.
17580         * sysdeps/sparc/configure: Generate.
17581         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17582         * configure: Regenerate.
17583         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17584         * config.make.in (have-as-vis3): New.
17585         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17586         available use -Av9d instead of -Av9a.
17587         * sysdeps/sparc/sparc64/Makefile: Likewise.
17588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17590         New file.
17591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17592         file.
17593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17594         New file.
17595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17596         file.
17597         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17598         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17599         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17600         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17601         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17603         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17604         fzeros/fnegs to load 0x80000000 into a float register instead of
17605         using the stack.
17606         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17608 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17610         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17611         bits/syscall.h.
17612         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17613         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17614         ($(inst_includedir)/bits/syscall.h): Remove rule.
17615         ($(objpfx)bits/syscall.d): Include instead of
17616         $(objpfx)syscall-list.d.
17617         (generated): Change syscall-list.h and syscall-list.d to
17618         bits/syscall.h and bits/syscall.d.
17620 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17622         [BZ #13846]
17623         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17625 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17627         [BZ #13841]
17628         * math/s_csqrt.c: Include <float.h>.
17629         (__csqrt): Scale large or subnormal inputs.
17630         * math/s_csqrtf.c: Likewise.
17631         * math/s_csqrtl.c: Likewise.
17632         * math/libm-test.inc (csqrt_test): Add more tests.
17633         * sysdeps/i386/fpu/libm-test-ulps: Update.
17634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17636         [BZ #13840]
17637         * math/libm-test.inc (hypot_test): Add more tests.
17639 2012-03-13  David S. Miller  <davem@davemloft.net>
17641         [BZ #13840]
17642         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17643         double-precision for the calculation instead of scaling.
17645 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17647         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17648         manipulate bits before adding and subtracting TWO52[sx].
17649         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17650         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17651         Likewise.
17652         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17654 2012-03-13  David S. Miller  <davem@davemloft.net>
17656         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17657         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17659         rtld-global-offsets.h
17660         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17662         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17663         large parameters.
17665         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17667         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17668         'err' in the ifdef scope in which it is actually used.
17670         * nss/nss_db/db-init.c: Include string.h
17672 2012-03-12  David S. Miller  <davem@davemloft.net>
17674         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17675         masking out of the most significant byte of random value used.
17676         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17677         Fix coding style in previous change.
17679         * sysdeps/unix/sysv/linux/kernel-features.h
17680         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17681         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17682         expression.
17683         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17684         later.
17686 2012-03-11  David S. Miller  <davem@davemloft.net>
17688         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17689         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17690         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17691         for 'resultvar' otherwise things get truncated on 64-bit.
17693         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17694         Fix masking out of the most significant byte of random value used.
17696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17698 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17702 2012-03-09  David S. Miller  <davem@davemloft.net>
17704         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17705         variables with appropriate CPP guards.
17706         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17707         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
17708         on resulting framesize and the management of the outregs buffer for pltexit.
17709         Preserve floating point return values across _dl_call_pltexit call.
17710         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17711         framesize and the management of the outregs buffer for pltexit.
17712         Preserve floating point return values across _dl_call_pltexit
17713         call.
17714         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17715         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17716         (print_exit): Fix format string for return register value.
17718 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
17720         * sunrpc/Makefile (others): Add rpcgen.
17721         ($(objpfx)rpcgen): Remove special build rule and dependency on
17722         libc.
17723         * sunrpc/rpcgen.c: New file.
17725 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
17727         [BZ #13673]
17728         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17729         * stdio-common/bug-vfprintf-nargs.c: Likewise.
17730         * sysdeps/i386/crti.S: Likewise.
17731         * sysdeps/i386/crtn.S: Likewise.
17732         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17733         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17734         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17735         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17736         * sysdeps/sh/crti.S: Likewise.
17737         * sysdeps/sh/crtn.S: Likewise.
17738         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17740         [BZ #13673]
17741         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17742         with URL.
17743         * locale/programs/locfile-kw.gperf: Likewise.
17744         * locale/programs/charmap-kw.h: Regenerated.
17745         * locale/programs/locfile-kw.h: Likewise.
17747         [BZ #13673]
17748         * intl/plural.y: Replace FSF snail mail address with URL.
17749         * intl/plural.c: Regenerated.
17751 2012-03-09  Richard Henderson  <rth@twiddle.net>
17753         * include/math_private.h: Remove file.
17754         * math/math_private.h: Move file ...
17755         * sysdeps/generic/math_private.h: ... here.
17757         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17758         * sysdeps/powerpc/fpu/math_private.h: Likewise.
17759         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17761         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17762         and <math_private.h>.
17763         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17764         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17765         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17766         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17767         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17768         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17769         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17770         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17771         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17772         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17773         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17774         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17775         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17776         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17777         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17778         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17779         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17780         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17781         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17782         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17784         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17785         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17787         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17788         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17789         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17790         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17791         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17792         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17793         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17794         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17795         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17796         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17797         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17798         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17799         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17800         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17801         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17802         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17803         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17804         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17805         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17806         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17807         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17808         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17809         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17810         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17811         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17812         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17813         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17814         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17815         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17816         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17817         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17818         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17819         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17820         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17821         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17822         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17823         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17824         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17825         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17826         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17827         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17828         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17829         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17830         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17831         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17832         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17833         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17834         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17835         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17836         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17837         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17839         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17841         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17842         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17843         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17844         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17845         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17846         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17847         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17849         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17850         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17851         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17852         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17853         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17854         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17855         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17856         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17857         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17858         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17859         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17860         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17861         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17862         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17863         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17864         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17865         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17866         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17867         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17868         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17869         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17870         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17871         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17872         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17873         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17874         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17875         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17876         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17877         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17878         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17879         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17880         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17881         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17882         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17883         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17884         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17885         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17886         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17887         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17888         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17889         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17890         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17891         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17892         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17893         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17894         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17895         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17896         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17897         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17898         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17899         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17900         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17901         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17902         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17903         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17904         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17905         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17906         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17907         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17908         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17909         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17910         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17911         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17912         * sysdeps/ieee754/k_standard.c: Likewise.
17913         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17914         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17915         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17916         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17917         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17918         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17919         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17920         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17921         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17922         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17923         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17924         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17925         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17926         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17927         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17928         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17929         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17930         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17931         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17932         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17933         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17934         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17935         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17936         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17937         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17938         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17939         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17940         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17941         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17942         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17943         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17944         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17945         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17946         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17947         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17948         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17949         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17950         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17951         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17952         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17953         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17954         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17955         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17956         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17957         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17958         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17959         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17960         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17961         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17962         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17963         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17964         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17965         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17966         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17967         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17968         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17969         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17970         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17971         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17972         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17973         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17974         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17975         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17976         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17977         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17978         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17979         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17980         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17981         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17982         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17983         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17984         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17985         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17986         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17987         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17988         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17989         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17990         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17991         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17992         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17993         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17994         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17995         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17996         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17997         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17998         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17999         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18000         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18001         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18002         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18003         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18004         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18005         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18006         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18007         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18008         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18009         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18010         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18011         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18012         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18013         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18014         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18015         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18016         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18017         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18018         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18019         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18020         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18021         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18022         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18023         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18024         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18025         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18026         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18027         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18028         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18029         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18030         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18031         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18032         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18033         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18034         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18035         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18036         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18037         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18038         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18039         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18040         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18041         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18042         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18043         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18044         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18045         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18046         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18047         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18048         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18049         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18050         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18051         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18052         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18053         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18054         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18055         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18056         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18057         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18058         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18059         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18060         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18061         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18062         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18063         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18064         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18065         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18066         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18067         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18068         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18069         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18070         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18071         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18072         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18073         * sysdeps/ieee754/s_lib_version.c: Likewise.
18074         * sysdeps/ieee754/s_matherr.c: Likewise.
18075         * sysdeps/ieee754/s_signgam.c: Likewise.
18076         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18077         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18078         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18079         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18080         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18081         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18082         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18083         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18084         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18085         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18086         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18087         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18088         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18089         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18090         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18091         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18092         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18093         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18094         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18096         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18098 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18100         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18101         * sunrpc/rpc_main.c: Likewise.
18102         * sunrpc/rpc_svcout.c: Likewise.
18104 2012-03-09  David S. Miller  <davem@davemloft.net>
18106         * include/math_private.h: New file.
18108 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18110         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18111         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18112         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18113         from <bits/socket_type.h>.
18114         (enum __socket_type): Don't define here.
18115         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18117         bits/socket_type.h.
18119         [BZ #13566]
18120         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18121         checking __USE_GNU.
18123         * Makerules ($(inst_includedir)/%.h): New rule.
18124         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18125         (install-others): Remove variable setting.
18126         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18128 2012-03-08  Richard Henderson  <rth@twiddle.net>
18130         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18131         from macro to inline function; merge with the
18132         !__LIBC_INTERNAL_MATH_INLINES version.
18133         (__ieee754_sqrtf): Likewise.
18135         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18136         to inline function.
18137         (__rintf, __floor, __floorf): Likewise.
18139         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18140         macro to inline function.
18141         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18143         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18144         not <math/math_private.h>.
18146 2012-03-08  David S. Miller  <davem@davemloft.net>
18148         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18149         copyright year.
18150         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18152 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18154         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18155         normalization.
18156         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18157         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18159 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18161         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18162         be defined individually, they must be defined as a block.  Define
18163         S for printing a string instead of hidint the different by using a
18164         macro for adding the 'l'.
18165         * stdio-common/tst-fphex-wide.c: Adjust.
18167 2012-03-07  Marek Polacek  <polacek@redhat.com>
18169         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18171 2012-03-08  Marek Polacek  <polacek@redhat.com>
18173         [BZ #13806]
18174         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18175         * stdio-common/tst-fphex.c: Define a few macros to make the
18176         test reusable.  Use them.
18177         * stdio-common/tst-fphex-wide.c: New file.
18179 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18181         [BZ #6911]
18182         * manual/macros.texi (gnusystems): New macro.
18183         (nongnusystems): Likewise.
18184         (gnulinuxhurdsystems): Likewise.
18185         (gnuhurdsystems): Likewise..
18186         (gnulinuxsystems): Likewise.
18187         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18188         variants of the GNU system, not "GNU system".
18189         * manual/conf.texi: Likewise.
18190         * manual/errno.texi: Likewise.  Update example of errno macro
18191         expansion.
18192         * manual/filesys.texi: Likewise.
18193         (getumask): Document as specific to GNU/Hurd.
18194         * manual/install.texi: Likewise.  Reword some references to
18195         GNU/Linux.
18196         * manual/intro.texi: Likewise.
18197         * manual/io.texi: Likewise.
18198         (File Name Portability): Detail which constraints are inapplicable
18199         to all GNU systems and which are only inapplicable to GNU/Hurd.
18200         * manual/job.texi: Likewise.
18201         * manual/llio.texi: Likewise.
18202         (O_NOCTTY): Document as present on GNU/Linux.
18203         * manual/maint.texi: Likewise.
18204         * manual/memory.texi: Likewise.
18205         * manual/pattern.texi: Likewise.
18206         * manual/pipe.texi: Likewise.
18207         * manual/process.texi: Likewise.
18208         * manual/resource.texi: Likewise.
18209         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18210         child on GNU/Hurd.
18211         * manual/setjmp.texi: Likewise.
18212         * manual/signal.texi: Likewise.
18213         * manual/startup.texi: Likewise.
18214         * manual/stdio.texi: Likewise.
18215         * manual/terminal.texi: Likewise.
18216         (ONLCR): Document as POSIX.
18217         (OXTABS): Document availability on GNU/Linux as XTABS.
18218         (ONOEOT): Document availability separately from other bits.
18219         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18220         * manual/time.texi: Likewise.
18221         * manual/users.texi: Likewise.
18222         * INSTALL: Regenerated.
18223         * sysdeps/gnu/errlist.c: Regenerated.
18225         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18226         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18227         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18228         puts.
18229         * configure: Regenerated.
18231 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18233         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18234         default includes instead of AC_HEADER_CHECK.
18235         * sysdeps/i386/configure: Regenerated.
18237         [BZ #10716]
18238         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18239         * math/s_cacoshf.c (__cacoshf): Likewise.
18240         * math/s_cacoshl.c (__cacoshl): Likewise.
18241         * math/s_casinh.c (__casinh): Set signs of result from argument.
18242         * math/s_casinhf.c (__casinhf): Likewise.
18243         * math/s_casinhl.c (__casinhl): Likewise.
18244         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18245         (casinh_test): Add more tests.
18246         * sysdeps/i386/fpu/libm-test-ulps: Update.
18247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18249 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18251         * po/zh_TW.po: Update from translation team.
18253         * login/Makefile (distribute): Remove variable.
18254         * catgets/Makefile: Likewise.
18255         * mach/Makefile: Likewise.
18256         * malloc/Makefile: Likewise.
18257         * misc/Makefile: Likewise.
18258         * iconv/Makefile: Likewise.
18259         * nscd/Makefile: Likewise.
18260         * hurd/Makefile: Likewise.
18261         * manual/Makefile: Likewise.
18262         * locale/Makefile: Likewise.
18263         * intl/Makefile: Likewise.
18264         * conform/Makefile: Likewise.
18265         * nss/Makefile: Likewise.
18266         * time/Makefile: Likewise.
18267         * soft-fp/Makefile: Likewise.
18268         * dirent/Makefile: Likewise.
18269         * gmon/Makefile: Likewise.
18270         * po/Makefile: Likewise.
18271         * rt/Makefile: Likewise.
18272         * socket/Makefile: Likewise.
18273         * math/Makefile: Likewise.
18274         * signal/Makefile: Likewise.
18275         * debug/Makefile: Likewise.
18276         * elf/Makefile: Likewise.
18277         * timezone/Makefile: Likewise.
18278         * stdlib/Makefile: Likewise.
18279         * iconvdata/Makefile: Likewise.
18280         * sunrpc/Makefile: Likewise.
18281         * io/Makefile: Likewise.
18282         * argp/Makefile: Likewise.
18283         * inet/Makefile: Likewise.
18284         * hesiod/Makefile: Likewise.
18285         * grp/Makefile: Likewise.
18286         * csu/Makefile: Likewise.
18287         * wctype/Makefile: Likewise.
18288         * crypt/Makefile: Likewise.
18289         * libio/Makefile: Likewise.
18290         * string/Makefile: Likewise.
18291         * nis/Makefile: Likewise.
18292         * resolv/Makefile: Likewise.
18293         * stdio-common/Makefile: Likewise.
18294         * wcsmbs/Makefile: Likewise.
18295         * dlfcn/Makefile: Likewise.
18296         * posix/Makefile: Likewise.
18298         [BZ #6959]
18299         * timezone/Makefile: Don't install timezone files, just the programs
18300         and scripts.
18302 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18304         * nss/databases.def: Add missing gshadow entry.
18306         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18308 2012-03-06  Marek Polacek  <polacek@redhat.com>
18310         [BZ #13726]
18311         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18312         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18313         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18314         * stdio-common/tst-long-dbl-fphex.c: New file.
18316 2012-03-06  David S. Miller  <davem@davemloft.net>
18318         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18319         (set_obp_int): New function.
18320         (get_obp_int): New function.
18321         (__get_clockfreq_via_dev_openprom): Likewise.
18322         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18323         Avoid unused variable warnings on 'val' and use builtin_expect.
18324         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18325         __builtin_expect.
18326         (INLINE_CLONE_SYSCALL): Likewise.
18328 2012-03-05  David S. Miller  <davem@davemloft.net>
18330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18332 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18336         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18337         only for |x| >= 40.
18338         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18340 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18342         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18343         Replace gettimeofday with __vdso_gettimeofday.
18345         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18346         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18347         __vdso_clock_gettime and __vdso_getcpu.
18349         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18350         time with __vdso_time.
18352 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18354         * manual/lang.texi (size_t): Note types to which size_t may be
18355         equivalent with the GNU C Library, but do not describe when
18356         differences between them are significant.
18358 2012-03-05  Andreas Jaeger  <aj@suse.de>
18360         * sysdeps/i386/fpu/libm-test-ulps: Update.
18362 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18364         [BZ #3976]
18365         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18366         (__ieee754_pow): Save and restore rounding mode and use
18367         round-to-nearest for main computations.
18368         * math/libm-test.inc (pow_test_tonearest): New function.
18369         (pow_test_towardzero): Likewise.
18370         (pow_test_downward): Likewise.
18371         (pow_test_upward): Likewise.
18372         (main): Call the new functions.
18373         * sysdeps/i386/fpu/libm-test-ulps: Update.
18374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18376         [BZ #3976]
18377         * math/libm-test.inc (cosh_test_tonearest): New function.
18378         (cosh_test_towardzero): Likewise.
18379         (cosh_test_downward): Likewise.
18380         (cosh_test_upward): Likewise.
18381         (sinh_test_tonearest): Likewise.
18382         (sinh_test_towardzero): Likewise.
18383         (sinh_test_downward): Likewise.
18384         (sinh_test_upward): Likewise.
18385         (main): Call the new functions.
18386         * sysdeps/i386/fpu/libm-test-ulps: Update.
18387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18389 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18391         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18392         default stack guard is set in last bytes.
18393         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18395 2012-03-05  Kees Cook  <keescook@chromium.org>
18397         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18399         [BZ #13656]
18400         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18401         possibly allocate from heap instead of stack.
18402         * stdio-common/bug-vfprintf-nargs.c: New file.
18403         * stdio-common/Makefile (tests): Add nargs overflow test.
18405 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18409 2012-03-03  Marek Polacek  <polacek@redhat.com>
18411         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18412         * math/math_private.h: Likewise.
18413         * stdlib/tst-strtod.c: Likewise.
18414         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18415         * sysdeps/x86_64/bits/atomic.h: Likewise.
18417 2012-03-02  David S. Miller  <davem@davemloft.net>
18419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18423         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18424         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18425         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18426         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18428 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18430         [BZ #13792]
18431         * manual/examples/README: New file, says the example source files
18432         can be used under GPL>=2.
18433         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18434         line containing just "*/".
18435         * manual/examples/add.c: Add copyright header (GPL>=2).
18436         * manual/examples/argp-ex1.c: Likewise.
18437         * manual/examples/argp-ex2.c: Likewise.
18438         * manual/examples/argp-ex3.c: Likewise.
18439         * manual/examples/argp-ex4.c: Likewise.
18440         * manual/examples/atexit.c: Likewise.
18441         * manual/examples/db.c: Likewise.
18442         * manual/examples/dir.c: Likewise.
18443         * manual/examples/dir2.c: Likewise.
18444         * manual/examples/execinfo.c: Likewise.
18445         * manual/examples/filecli.c: Likewise.
18446         * manual/examples/filesrv.c: Likewise.
18447         * manual/examples/fmtmsgexpl.c: Likewise.
18448         * manual/examples/genpass.c: Likewise.
18449         * manual/examples/inetcli.c: Likewise.
18450         * manual/examples/inetsrv.c: Likewise.
18451         * manual/examples/isockad.c: Likewise.
18452         * manual/examples/longopt.c: Likewise.
18453         * manual/examples/memopen.c: Likewise.
18454         * manual/examples/memstrm.c: Likewise.
18455         * manual/examples/mkfsock.c: Likewise.
18456         * manual/examples/mkisock.c: Likewise.
18457         * manual/examples/mygetpass.c: Likewise.
18458         * manual/examples/pipe.c: Likewise.
18459         * manual/examples/popen.c: Likewise.
18460         * manual/examples/rprintf.c: Likewise.
18461         * manual/examples/search.c: Likewise.
18462         * manual/examples/select.c: Likewise.
18463         * manual/examples/setjmp.c: Likewise.
18464         * manual/examples/sigh1.c: Likewise.
18465         * manual/examples/sigusr.c: Likewise.
18466         * manual/examples/stpcpy.c: Likewise.
18467         * manual/examples/strdupa.c: Likewise.
18468         * manual/examples/strftim.c: Likewise.
18469         * manual/examples/strncat.c: Likewise.
18470         * manual/examples/subopt.c: Likewise.
18471         * manual/examples/swapcontext.c: Likewise.
18472         * manual/examples/termios.c: Likewise.
18473         * manual/examples/testopt.c: Likewise.
18474         * manual/examples/testpass.c: Likewise.
18475         * manual/examples/timeval_subtract.c: Likewise.
18477         [BZ #13792]
18478         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18479         function to ...
18480         * manual/timeval_subtract.c.texi: ... here, new file.
18482 2012-03-02  David S. Miller  <davem@davemloft.net>
18484         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18486 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18488         [BZ #3976]
18489         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18490         (__sin): Save and restore rounding mode and use round-to-nearest
18491         for all computations.
18492         (__cos): Save and restore rounding mode and use round-to-nearest
18493         for all computations.
18494         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18495         <fenv.h>.
18496         (tan): Save and restore rounding mode and use round-to-nearest for
18497         all computations.
18498         * math/libm-test.inc (cos_test_tonearest): New function.
18499         (cos_test_towardzero): Likewise.
18500         (cos_test_downward): Likewise.
18501         (cos_test_upward): Likewise.
18502         (sin_test_tonearest): Likewise.
18503         (sin_test_towardzero): Likewise.
18504         (sin_test_downward): Likewise.
18505         (sin_test_upward): Likewise.
18506         (tan_test_tonearest): Likewise.
18507         (tan_test_towardzero): Likewise.
18508         (tan_test_downward): Likewise.
18509         (tan_test_upward): Likewise.
18510         (main): Call the new functions.
18511         * sysdeps/i386/fpu/libm-test-ulps: Update.
18512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18514         [BZ #10135]
18515         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18516         small n, then large n, before computing and testing k+n.
18517         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18518         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18519         Likewise.
18520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18521         Likewise.
18522         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18523         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18524         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18525         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18526         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18527         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18528         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18529         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18530         * math/libm-test.inc (scalbn_test): Add more tests.
18531         (scalbln_test): Likewise.
18533         * manual/filesys.texi (mode_t): Describe constraints on size and
18534         signedness, not exact equivalence to a particular type.
18535         (ino_t): Likewise.
18536         (ino64_t): Likewise.
18537         (dev_t): Likewise.
18538         (nlink_t): Likewise.
18539         (blkcnt_t): Likewise.
18540         (blkcnt64_t): Likewise.
18541         * manual/llio.texi (off_t): Likewise.
18543         [BZ #3976]
18544         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18545         (__ieee754_exp): Save and restore rounding mode and use
18546         round-to-nearest for all computations.
18547         * math/libm-test.inc (exp_test_tonearest): New function.
18548         (exp_test_towardzero): Likewise.
18549         (exp_test_downward): Likewise.
18550         (exp_test_upward): Likewise.
18551         (main): Call the new functions.
18552         * sysdeps/i386/fpu/libm-test-ulps: Update.
18553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18555 2012-03-01  Chris Demetriou  <cgd@google.com>
18557         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18558         have predictable order.
18560 2012-03-01  David S. Miller  <davem@davemloft.net>
18562         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18564         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18565         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18566         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18567         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18569         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18570         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18571         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18573         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18574         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18575         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18576         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18577         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18581         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18582         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18583         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18585         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18586         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18587         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18588         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18589         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18590         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18591         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18592         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18593         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18594         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18595         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18596         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18597         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18598         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18599         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18600         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18601         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18602         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18603         * sysdeps/sparc/elf/configure: Regenerated.
18605 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18607         * configure.in (AS, LD): Require binutils 2.20 or later.
18608         * configure: Regenerated.
18609         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18610         as required minimum version.
18611         * INSTALL: Regenerated.
18613         [BZ #2541]
18614         [BZ #4108]
18615         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18616         before squaring exponent.
18617         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18618         bottom long double and 27 bits of top long double before squaring
18619         exponent.
18620         * math/libm-test.inc (erfc_test): Add more tests.
18621         * sysdeps/i386/fpu/libm-test-ulps: Update.
18622         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18625 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18627         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18628         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18629         containing bit-fields.
18630         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18631         * soft-fp/single.h (_FP_UNION_S): Likewise.
18632         * soft-fp/double.h (_FP_UNION_D): Likewise.
18634 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18636         [BZ #13786]
18637         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18638         not include ../strcmp.S.
18639         [USE_AS_STRNCASECMP_L]: Likewise.
18640         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18641         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18642         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18643         (__strncasecmp_l_ia32): Define as alias to
18644         __strncasecmp_l_nonascii.
18646         [BZ #5794]
18647         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18648         * sysdeps/i386/fpu/libm-test-ulps: Update.
18649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18651         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18654 2012-02-29  Jeff Law  <law@redhat.com>
18656         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18657         out of bounds read.
18659 2012-02-29  Marek Polacek  <polacek@redhat.com>
18661         [BZ #13706]
18662         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18663         * elf/Makefile: Add rules to run tst-unused-dep.out.
18665 2012-02-28  David S. Miller  <davem@davemloft.net>
18667         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18668         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18669         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18670         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18671         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18672         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18674 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18676         * math/libm-test.inc (llround_test): Move one test from
18677         lround_test.  Use TEST_f_L in moved test.
18678         (lround_test): Move misplaced test to llround_test.  Add testcase
18679         from bug 2561.
18681 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18683         * sysdeps/x86_64/fpu/e_expf.S: New file.
18684         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18686 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18688         [BZ #13637]
18689         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18690         of remain_len that may cause incomplete multi-byte character and
18691         false match.
18692         * posix/bug-regex33.c: New file.
18693         * posix/Makefile (tests): Add bug-regex33.
18695 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18697         * manual/macros.texi: New file.
18698         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18699         * manual/libc.texinfo: Include macros.texi.
18700         * manual/creatute.texi: Likewise.
18701         * manual/install.texi: Likewise.
18702         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18703         @glibcadj{} in references to the GNU C Library.
18704         * manual/charset.texi: Likewise.
18705         * manual/conf.texi: Likewise.
18706         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18707         when not using those macros.
18708         * manual/creature.texi: Likewise.
18709         * manual/crypt.texi: Likewise.
18710         * manual/errno.texi: Likewise.
18711         * manual/filesys.texi: Likewise.
18712         * manual/header.texi: Likewise.
18713         * manual/install.texi: Likewise.
18714         * manual/intro.texi: Likewise.
18715         * manual/io.texi: Likewise.
18716         * manual/job.texi: Likewise.
18717         * manual/lang.texi: Likewise.
18718         * manual/libc.texiinfo: Likewise.
18719         * manual/llio.texi: Likewise.
18720         * manual/locale.texi: Likewise.
18721         * manual/maint.texi: Likewise.
18722         * manual/math.texi: Likewise.
18723         * manual/memory.texi: Likewise.
18724         * manual/message.texi: Likewise.
18725         * manual/nss.texi: Likewise.
18726         * manual/pattern.texi: Likewise.
18727         * manual/process.texi: Likewise.
18728         * manual/resource.texi: Likewise.
18729         * manual/search.texi: Likewise.
18730         * manual/setjmp.texi: Likewise.
18731         * manual/signal.texi: Likewise.
18732         * manual/socket.texi: Likewise.
18733         * manual/startup.texi: Likewise.
18734         * manual/stdio.texi: Likewise.
18735         * manual/string.texi: Likewise.
18736         * manual/sysinfo.texi: Likewise.
18737         * manual/syslog.texi: Likewise.
18738         * manual/terminal.texi: Likewise.
18739         * manual/time.texi: Likewise.
18740         * manual/users.texi: Likewise.
18741         * INSTALL: Regenerated.
18742         * NOTES: Regenerated.
18743         * sysdeps/gnu/errlist.c: Regenerated.
18745 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
18747         * include/dirent.h: Include <dirstream.h> before
18748         <dirent/dirent.h>.
18750 2012-02-28  David S. Miller  <davem@davemloft.net>
18752         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18753         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18754         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18755         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18757 2012-02-27  David S. Miller  <davem@davemloft.net>
18759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18761         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18762         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18765         frame pointer instead of stack pointer relative arg slot.
18766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18767         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18768         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18770 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
18772         [BZ #3992]
18773         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18775 2012-02-27  David S. Miller  <davem@davemloft.net>
18777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18781         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18782         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18783         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18784         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18786 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18788         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18789         later.  Allow versions 5-9.
18790         * configure: Regenerated.
18791         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18792         required minimum version and 4.6 as recommended version.  Do not
18793         mention bugs in GCC 2.7 and 2.8.
18794         * INSTALL: Regenerated.
18796 2012-02-27  David S. Miller  <davem@davemloft.net>
18798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18802         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18803         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18804         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18805         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18807         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18808         manipulate bits before adding and subtracting TWO112[sx].
18809         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18811 2012-02-27  Roland McGrath  <roland@hack.frob.com>
18813         [BZ #13775]
18814         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18815         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18816         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18817         being in POSIX, because they are in 1003.1-2008.
18819         * rt/tst-aio.c: Include <fcntl.h>.
18820         * rt/tst-aio7.c: Likewise.
18821         * rt/tst-aio64.c: Likewise.
18823         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18825 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18827         * manual/install.texi (--with-headers): Describe headers as
18828         interface headers, not private headers.
18829         (Specific advice for GNU/Linux systems): Describe use of headers
18830         from "make headers_install", not private headers from older
18831         kernels.
18832         * INSTALL: Regenerated.
18833         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18834         Change to 2.6.19.
18835         * sysdeps/unix/sysv/linux/configure: Regenerated.
18837         * manual/llio.texi (fclean): Remove documentation.
18839         * manual/Makefile (libc-texi-generated): New variable.  Include
18840         version.texi.
18841         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18842         $(libc-texi-generated), not duplicated list of files.
18843         (version.texi, stamp-version): New rules.
18844         (realclean): Remove $(libc-texi-generated), not individual files
18845         from that list.  Do not remove dir-add.texinfo.
18846         * manual/libc.texinfo: Comment out uses of edition numbers and
18847         references to printed manual.  Remove last-updated dates.
18848         (EDITION): Comment out.
18849         (ISBN): Likewise.
18850         (VERSION, UPDATED): Remove.
18851         (version.texi): Include.
18853 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
18855         * sysdeps/posix/spawni.c: Include <signal.h>.
18856         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18857         * sysdeps/pthread/aio_fsync.c: Likewise.
18859 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
18861         * conform/Makefile (tests): Run only when not cross-compiling and
18862         when fast-check is not defined.
18864         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18865         * conform/data/limits.h-data: Fixes for POSIX2008.
18866         * conform/run-conformtest.sh: Run all tests.
18867         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18868         headers.
18869         * include/bits/dlfcn.h: Likewise.
18870         * include/langinfo.h: Likewise.
18871         * include/monetary.h: Likewise.
18872         * include/sys/poll.h: Likewise.
18874         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18875         for __USE_GNU.
18876         * posix/spawn.h: Define __need_sigset_t.
18877         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18878         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18879         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
18880         to get sigevent_t only.
18881         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18882         only for __USE_GNU.
18883         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18884         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18885         process_vm_writev only for __USE_GNU.
18886         * termios/termios.h: Declare tcgetsid also for POSIX2008.
18888         * conform/Makefile: For now ignore errors from run-conformtest.
18889         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
18890         POSIX to avoid namespace pollution.  Don't prepend headers.
18891         * conform/data/aio.h-data: Fixes for POSIX testing.
18892         * conform/data/fcntl.h-data: Likewise.
18893         * conform/data/glob.h-data: Likewise.
18894         * conform/data/grp.h-data: Likewise.
18895         * conform/data/pthread.h-data: Likewise.
18896         * conform/data/pwd.h-data: Likewise.
18897         * conform/data/signal.h-data: Likewise.
18898         * conform/data/spawn.h-data: Likewise.
18899         * conform/data/stdio.h-data: Likewise.
18900         * conform/data/stdlib.h-data: Likewise.
18901         * conform/data/stropts.h-data: Likewise.
18902         * conform/data/sys/mman.h-data: Likewise.
18903         * conform/data/sys/stat.h-data: Likewise.
18904         * conform/data/sys/types.h-data: Likewise.
18905         * conform/data/sys/wait.h-data: Likewise.
18906         * conform/data/time.h-data: Likewise.
18907         * conform/data/unistd.h-data: Likewise.
18908         * conform/data/utime.h-data: Likewise.
18910         * io/sys/stat.h: fchmod was always in POSIX.
18911         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18912         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18913         * rt/aio.h: Define __need_timespec before including <time.h>.
18914         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18915         struct.  Add forward declaration of pthread_attr_t and use it in
18916         sigevent.
18917         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18918         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18919         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18920         always remove CLK_TCK definition.
18922 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
18924         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18926 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
18928         * conform/run-conformtest.sh: New file.
18929         * conform/Makefile: Run run-conformtest for tests.
18930         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
18931         support.
18933         * conform/data/uchar.h-data: New file.
18934         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18935         * conform/data/arpa/inet.h-data: Likewise.
18936         * conform/data/assert.h-data: Likewise.
18937         * conform/data/complex.h-data: Likewise.
18938         * conform/data/cpio.h-data: Likewise.
18939         * conform/data/ctype.h-data: Likewise.
18940         * conform/data/dirent.h-data: Likewise.
18941         * conform/data/dlfcn.h-data: Likewise.
18942         * conform/data/errno.h-data: Likewise.
18943         * conform/data/fcntl.h-data: Likewise.
18944         * conform/data/float.h-data: Likewise.
18945         * conform/data/fmtmsg.h-data: Likewise.
18946         * conform/data/fnmatch.h-data: Likewise.
18947         * conform/data/ftw.h-data: Likewise.
18948         * conform/data/glob.h-data: Likewise.
18949         * conform/data/grp.h-data: Likewise.
18950         * conform/data/iconv.h-data: Likewise.
18951         * conform/data/inttypes.h-data: Likewise.
18952         * conform/data/langinfo.h-data: Likewise.
18953         * conform/data/libgen.h-data: Likewise.
18954         * conform/data/limits.h-data: Likewise.
18955         * conform/data/locale.h-data: Likewise.
18956         * conform/data/math.h-data: Likewise.
18957         * conform/data/monetary.h-data: Likewise.
18958         * conform/data/mqueue.h-data: Likewise.
18959         * conform/data/ndbm.h-data: Likewise.
18960         * conform/data/net/if.h-data: Likewise.
18961         * conform/data/netdb.h-data: Likewise.
18962         * conform/data/netinet/in.h-data: Likewise.
18963         * conform/data/nl_types.h-data: Likewise.
18964         * conform/data/poll.h-data: Likewise.
18965         * conform/data/pthread.h-data: Likewise.
18966         * conform/data/pwd.h-data: Likewise.
18967         * conform/data/regex.h-data: Likewise.
18968         * conform/data/sched.h-data: Likewise.
18969         * conform/data/search.h-data: Likewise.
18970         * conform/data/semaphore.h-data: Likewise.
18971         * conform/data/setjmp.h-data: Likewise.
18972         * conform/data/signal.h-data: Likewise.
18973         * conform/data/spawn.h-data: Likewise.
18974         * conform/data/stdarg.h-data: Likewise.
18975         * conform/data/stdio.h-data: Likewise.
18976         * conform/data/stdlib.h-data: Likewise.
18977         * conform/data/string.h-data: Likewise.
18978         * conform/data/strings.h-data: Likewise.
18979         * conform/data/stropts.h-data: Likewise.
18980         * conform/data/sys/ipc.h-data: Likewise.
18981         * conform/data/sys/mman.h-data: Likewise.
18982         * conform/data/sys/msg.h-data: Likewise.
18983         * conform/data/sys/resource.h-data: Likewise.
18984         * conform/data/sys/select.h-data: Likewise.
18985         * conform/data/sys/sem.h-data: Likewise.
18986         * conform/data/sys/shm.h-data: Likewise.
18987         * conform/data/sys/socket.h-data: Likewise.
18988         * conform/data/sys/stat.h-data: Likewise.
18989         * conform/data/sys/statvfs.h-data: Likewise.
18990         * conform/data/sys/time.h-data: Likewise.
18991         * conform/data/sys/timeb.h-data: Likewise.
18992         * conform/data/sys/times.h-data: Likewise.
18993         * conform/data/sys/types.h-data: Likewise.
18994         * conform/data/sys/uio.h-data: Likewise.
18995         * conform/data/sys/un.h-data: Likewise.
18996         * conform/data/sys/utsname.h-data: Likewise.
18997         * conform/data/sys/wait.h-data: Likewise.
18998         * conform/data/syslog.h-data: Likewise.
18999         * conform/data/tar.h-data: Likewise.
19000         * conform/data/termios.h-data: Likewise.
19001         * conform/data/utime.h-data: Likewise.
19002         * conform/data/utmpx.h-data: Likewise.
19003         * conform/data/varargs.h-data: Likewise.
19004         * conform/data/wchar.h-data: Likewise.
19005         * conform/data/wctype.h-data: Likewise.
19006         * conform/data/wordexp.h-data: Likewise.
19008         * include/stropts.h: New file.
19009         * include/uchar.h: New file.
19010         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19011         * include/assert.h: Likewise.
19012         * include/ctype.h: Likewise.
19013         * include/dirent.h: Likewise.
19014         * include/dlfcn.h: Likewise.
19015         * include/fcntl.h: Likewise.
19016         * include/fnmatch.h: Likewise.
19017         * include/glob.h: Likewise.
19018         * include/grp.h: Likewise.
19019         * include/libio.h: Likewise.
19020         * include/locale.h: Likewise.
19021         * include/math.h: Likewise.
19022         * include/net/if.h: Likewise.
19023         * include/netdb.h: Likewise.
19024         * include/netinet/in.h: Likewise.
19025         * include/pthread.h: Likewise.
19026         * include/pwd.h: Likewise.
19027         * include/regex.h: Likewise.
19028         * include/sched.h: Likewise.
19029         * include/search.h: Likewise.
19030         * include/setjmp.h: Likewise.
19031         * include/signal.h: Likewise.
19032         * include/stdio.h: Likewise.
19033         * include/stdlib.h: Likewise.
19034         * include/string.h: Likewise.
19035         * include/sys/cdefs.h: Likewise.
19036         * include/sys/mman.h: Likewise.
19037         * include/sys/msg.h: Likewise.
19038         * include/sys/resource.h: Likewise.
19039         * include/sys/select.h: Likewise.
19040         * include/sys/socket.h: Likewise.
19041         * include/sys/stat.h: Likewise.
19042         * include/sys/statvfs.h: Likewise.
19043         * include/sys/time.h: Likewise.
19044         * include/sys/times.h: Likewise.
19045         * include/sys/uio.h: Likewise.
19046         * include/sys/utsname.h: Likewise.
19047         * include/sys/wait.h: Likewise.
19048         * include/termios.h: Likewise.
19049         * include/time.h: Likewise.
19050         * include/ulimit.h: Likewise.
19051         * include/unistd.h: Likewise.
19052         * include/utime.h: Likewise.
19053         * include/wchar.h: Likewise.
19054         * include/wctype.h: Likewise.
19055         * include/wordexp.h: Likewise.
19057         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19059         * time/time.h: TIME_UTC must be a macro.
19060         Make timespec_get available for ISO C11 only as well.
19062 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19064         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19065         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19067 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19069         * configure.in: Use -o not -a in test for unsupported multi-arch.
19071 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19073         * manual/texinfo.tex: Update to version 2012-01-19.16.
19075 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19077         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19079 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19081         [BZ #13738]
19082         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19083         * manual/fdl-1.3.texi: New file.
19084         * manual/fdl-1.1.texi: File removed.
19086         [BZ #13738]
19087         * manual/libc.texinfo (FDL_VERSION): New @set.
19088         Use it for mention of FDL in cover text.
19089         (Documentation License): Use it in @include file name.
19091 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19092             Roland McGrath  <roland@hack.frob.com>
19094         [BZ #5461]
19095         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19096         not LONG_LONG_MAX and LONG_LONG_MIN.
19097         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19098         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19099         name.
19100         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19102 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19104         [BZ #2547]
19105         [BZ #11365]
19106         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19107         manipulate bits before adding and subtracting TWO23[sx].
19108         * math/libm-test.inc (nearbyint_test): Add more tests.
19110 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19112         [BZ #2548]
19113         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19114         bits before adding and subtracting TWO23[sx].
19115         * math/libm-test.inc (rint_test): Add more tests.
19116         (rint_test_tonearest): Likewise.
19117         (rint_test_towardzero): Likewise.
19118         (rint_test_downward): Likewise.
19119         (rint_test_upward: Likewise.
19121 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19123         [BZ #10110]
19124         * include/stdc-predef.h: New file.  Extracted from features.h.
19125         * include/features.h: Include stdc-predef.h.
19126         * Makefile (headers): Add stdc-predef.h.
19127         * CONFORMANCE (Compiler limitations): Update.
19129 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19131         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19133 2012-02-21  David S. Miller  <davem@davemloft.net>
19135         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19136         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19138 2012-02-20  David S. Miller  <davem@davemloft.net>
19140         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19141         using a normal save/restore sequence, rather than allocating a
19142         dummy stack frame just to store a frame pointer and restore.
19143         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19145 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19147         * manual/install.texi: Fix stray word in line-wrapped comment.
19149 2012-02-20  David S. Miller  <davem@davemloft.net>
19151         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19152         both binutils and gcc support GOTDATA.
19154         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19155         "rd %pc" in the PIC register setup sequences.
19157         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19158         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19159         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19160         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19161         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19162         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19163         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19164         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19165         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19166         (SYSCALL_ERROR_HANDLER): Likewise.
19167         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19168         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19169         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19170         (SYSCALL_ERROR_HANDLER): Likewise.
19172         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19173         (HAVE_GCC_GOTDATA): New.
19174         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19175         relocation support in both binutils and gcc.
19176         * sysdeps/sparc/elf/configure: Regenerate.
19178         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19179         * sysdeps/sparc/sparc32/elf/configure: Delete.
19180         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19181         * sysdeps/sparc/sparc64/elf/configure: Delete.
19182         * sysdeps/sparc/elf/configure.in: New file.
19183         * sysdeps/sparc/elf/configure: Generate.
19185         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19186         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19187         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19188         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19189         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19191 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19193         * manual/install.texi: Do not mention specific glibc version
19194         numbers.
19195         * manual/libc.texinfo (VERSION, UPDATED): Update.
19196         (@copying): Use @copyright{} and range of years.
19198 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19200         [BZ #13695]
19201         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19202         [crti.S not in sysdirs] (generated): Do not append.
19203         [crti.S not in sysdirs] (omit-deps): Likewise.
19204         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19205         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19206         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19207         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19208         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19209         Likewise.
19210         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19211         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19212         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19213         * csu/defs.awk: Remove file.
19214         * sysdeps/generic/initfini.c: Likewise.
19215         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19216         variable.
19217         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19218         Likewise.
19220 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19222         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19223         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19224         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19225         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19226         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19227         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19228         <bits/epoll.h>.
19229         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19230         (__EPOLL_PACKED): Define to empty if not defined by
19231         <bits/epoll.h>.
19232         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19233         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19234         bits/epoll.h.
19236 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19238         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19239         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19240         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19241         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19242         <bits/timerfd.h>.
19243         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19245         bits/timerfd.h.
19247 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19249         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19250         in C locale.
19251         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19252         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19253         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19256 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19258         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19259         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19261 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19263         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19264         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19265         defined.
19266         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19267         Likewise.
19268         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19269         entry for 2.16.
19271 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19273         * math/w_acos.c: Use non-signaling floating-point comparisons.
19274         * math/w_acosf.c: Likewise.
19275         * math/w_acosh.c: Likewise.
19276         * math/w_acoshf.c: Likewise.
19277         * math/w_acoshl.c: Likewise.
19278         * math/w_acosl.c: Likewise.
19279         * math/w_asin.c: Likewise.
19280         * math/w_asinf.c: Likewise.
19281         * math/w_asinl.c: Likewise.
19282         * math/w_atanh.c: Likewise.
19283         * math/w_atanhf.c: Likewise.
19284         * math/w_atanhl.c: Likewise.
19285         * math/w_exp2.c: Likewise.
19286         * math/w_exp2f.c: Likewise.
19287         * math/w_exp2l.c: Likewise.
19288         * math/w_j0.c: Likewise.
19289         * math/w_j0f.c: Likewise.
19290         * math/w_j0l.c: Likewise.
19291         * math/w_j1.c: Likewise.
19292         * math/w_j1f.c: Likewise.
19293         * math/w_j1l.c: Likewise.
19294         * math/w_jn.c: Likewise.
19295         * math/w_jnf.c: Likewise.
19296         * math/w_log.c: Likewise.
19297         * math/w_log10.c: Likewise.
19298         * math/w_log10f.c: Likewise.
19299         * math/w_log10l.c: Likewise.
19300         * math/w_log2.c: Likewise.
19301         * math/w_log2f.c: Likewise.
19302         * math/w_log2l.c: Likewise.
19303         * math/w_logf.c: Likewise.
19304         * math/w_logl.c: Likewise.
19305         * math/w_sqrt.c: Likewise.
19306         * math/w_sqrtf.c: Likewise.
19307         * math/w_sqrtl.c: Likewise.
19308         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19309         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19310         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19311         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19312         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19314 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19316         [BZ #9739]
19317         * manual/string.texi (strnlen): Use correct parameter name in
19318         equivalent expression.
19320 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19322         [BZ #11174]
19323         * manual/users.texi (seteuid): Consistently use neweuid for
19324         argument name.
19326 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19328         [BZ #13704]
19329         * manual/nss.texi (Services in the NSS configuration): Correct
19330         list of services in example configuration file.
19332 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19334         [BZ #11322]
19335         * manual/arith.texi: Remove statements about negative zero
19336         behaving identically to zero.
19338 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19340         [BZ #5993]
19341         * manual/install.texi: Do not document upgrading from libc5.
19343 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19345         [BZ #4596]
19346         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19348 2012-02-18  David S. Miller  <davem@davemloft.net>
19350         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19351         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19352         %o7 across the call.
19353         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19354         instead.
19355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19356         SETUP_PIC_REG_LEAF.
19357         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19358         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19359         * sysdeps/sparc/crtn.S: Likewise.
19361 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19363         * aout/Makefile: Remove.
19365 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19367         [BZ #13058]
19368         * manual/examples/argp-ex1.c (main): Format definition in GNU
19369         style.
19370         * manual/examples/argp-ex2.c (main): Likewise.
19371         * manual/examples/argp-ex3.c (main): Likewise.
19372         * manual/examples/argp-ex4.c (main): Likewise.
19373         * manual/examples/longopt.c (main): Use new-style prototype
19374         definition.
19375         * manual/examples/strncat.c (main): Specify return type and use
19376         (void) for arguments.
19377         * manual/examples/subopt.c (main): Use char **argv argument.
19379 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19381         [BZ #5077]
19382         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19383         rounding modes.
19385 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19387         [BZ #6907]
19388         * manual/string.texi (strchr): Change when strchrnul is
19389         recommended.
19391 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19393         [BZ #174]
19394         * manual/locale.texi (setlocale): Document LOCPATH.
19396 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19398         [BZ #10210]
19399         * manual/process.texi (execle): Move @dots{} before last argument.
19401 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19403         [BZ #12047]
19404         * manual/charset.texi (Generic Charset Conversion): Fix typo
19405         (LC_TYPE -> LC_CTYPE).
19407 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19409         [BZ #5805]
19410         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19411         (scalbnf): Likewise.
19412         (scalbnl): Likewise.
19413         (scalbln): Likewise.
19414         (scalblnf): Likewise.
19415         (scalblnl): Likewise.
19416         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19417         (vwarnx): Likewise.
19418         (verr): Likewise.
19419         (verrx): Likewise.
19420         * manual/filesys.texi (telldir): Use braces around return type.
19421         * manual/llio.texi (mmap): Add space after comma.
19422         (mmap64): Likewise.
19423         * manual/math.texi (jn): Use @var{} on parameter names.
19424         (jnf): Likewise.
19425         (jnl): Likewise.
19426         (yn): Likewise.
19427         (ynf): Likewise.
19428         (ynl): Likewise.
19429         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19430         line.
19431         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19432         "...".
19433         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19434         (sched_get_priority_max): Likewise.
19435         * manual/signal.texi (sigvec): Add space after comma.
19436         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19437         names.
19438         (if_indextoname): Likewise.
19439         (if_freenameindex): Likewise.
19440         (sendto): Use ',' instead of '.' in prototype.
19441         * manual/startup.texi (syscall): Use @dots{} instead of literal
19442         "...".
19443         * manual/stdio.texi (__fpending): Separate initial words of
19444         paragraph from @deftypefun line.
19445         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19446         "...".
19447         (vsyslog): Use @var{} on parameter names.
19448         * manual/terminal.texi (stty): Use @var{} on parameter names.
19449         * manual/users.texi (getutmp): Use @var{} on parameter names.
19450         (getutmpx): Likewise.
19452 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19454         [BZ #6884]
19455         * manual/stdio.texi (fopen): Fix typos in description of
19456         ",ccs=STRING".
19458 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19460         [BZ #4026]
19461         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19462         get clock_id definition.
19464 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19466         [BZ #4822]
19467         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19468         (madvise): Cast every argument to void on its own.
19470 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19472         [BZ #9902]
19473         * manual/startup.texi (Exit Status): Fix typo.
19475 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19477         [BZ #10140]
19478         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19479         * manual/examples/argp-ex2.c: Likewise.
19480         * manual/examples/argp-ex3.c: Likewise.
19482 2012-02-16  Richard Henderson  <rth@redhat.com>
19484         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19485         * sysdeps/s390/s390-32/initfini.c: Remove.
19486         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19487         * sysdeps/s390/s390-64/initfini.c: Remove.
19489 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19491         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19492         compiler output for sysdeps/generic/initfini.c.
19493         * sysdeps/sh/elf/initfini.c: Remove file.
19495 2012-02-16  David S. Miller  <davem@davemloft.net>
19497         [BZ #11494]
19498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19500         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19501         * sysdeps/sparc/crti.S: New file.
19502         * sysdeps/sparc/crtn.S: New file.
19503         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19504         * sysdeps/sparc/sparc64/Makefile: Likewise.
19506 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19508         [BZ #3335]
19509         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19511 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19513         [BZ #4822]
19514         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19516         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19517         (write, read, close): Likewise.
19518         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19520 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19522         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19523         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19524         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19525         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19526         <bits/signalfd.h>.
19527         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19529         bits/signalfd.h.
19531 2012-02-14  Marek Polacek  <polacek@redhat.com>
19533         * sysdeps/x86_64/crti.S: New file.
19534         * sysdeps/x86_64/crtn.S: New file.
19535         * sysdeps/x86_64/elf/initfini.c: Remove file.
19537 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19539         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19540         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19541         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19542         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19543         <bits/inotify.h>.
19544         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19546         bits/inotify.h.
19548 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19550         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19551         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19552         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19553         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19554         <bits/eventfd.h>.
19555         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19557         bits/eventfd.h.
19559 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19561         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19562         __feraiseexcept instead of feraiseexcept.
19564         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19565         nanosleep invocations.
19566         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19567         strings, and add error checking for a nanosleep invocations.
19569 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19571         Replace FSF snail mail address with URLs, as per GNU coding standards.
19572         Most of the snail mail addresses were wrong anyway, and omitting
19573         them makes the source code easier to maintain.  Almost all of the
19574         changes are to license notices and to locale LC_IDENTIFICATION
19575         addresses, except for this one:
19576         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19577         not its snail mail address.
19579 2012-02-09  Richard Henderson  <rth@twiddle.net>
19581         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19582         of kernel-features.h.
19584         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19586 2012-02-08  Marek Polacek  <polacek@redhat.com>
19588         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19589         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19590         * sysdeps/gnu/_G_config.h: Likewise.
19591         * sysdeps/generic/_G_config.h: Likewise.
19593 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19595         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19596         tests.
19597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19599         * sysdeps/powerpc/powerpc32/crti.S: New file.
19600         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19601         * sysdeps/powerpc/powerpc64/crti.S: New file.
19602         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19604         * Makeconfig (have-initfini): Don't set.
19605         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19606         * configure.in (nopic_initfini): Don't substitute.
19607         * config.h.in (HAVE_INITFINI): Don't #undef.
19608         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19609         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19611 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19613         Support crti.S and crtn.S provided directly by architectures.
19614         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19615         [crti.S in sysdirs] (omit-deps): Likewise.
19616         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19617         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19618         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19619         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19620         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19621         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19622         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19623         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19624         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19625         compiler output for sysdeps/generic/initfini.c.
19626         * sysdeps/i386/elf/Makefile: Remove file.
19627         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19629 2012-02-07  Marek Polacek  <polacek@redhat.com>
19631         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19632         * sysdeps/gnu/_G_config.h: Likewise.
19633         * sysdeps/mach/hurd/_G_config.h: Likewise.
19635 2012-02-07  Marek Polacek  <polacek@redhat.com>
19637         * math/Makefile (tests): Add tst-CMPLX2.
19638         * math/tst-CMPLX2.c: New file.
19640 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19642         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19644         * math/libm-test.inc (jn_test): Add missing L suffix.
19646 2012-02-06  Marek Polacek  <polacek@redhat.com>
19648         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19649         * sysdeps/i386/fpu/e_powf.S: Likewise.
19650         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19651         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19652         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19653         * sysdeps/i386/fpu/e_pow.S: Likewise.
19654         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19655         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19656         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19657         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19658         * sysdeps/i386/fpu/e_log2.S: Likewise.
19659         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19660         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19661         * sysdeps/i386/fpu/e_powl.S: Likewise.
19662         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19663         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19664         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19665         * sysdeps/i386/fpu/e_logl.S: Likewise.
19666         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19667         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19668         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19669         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19670         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19671         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19672         * sysdeps/i386/fpu/e_log.S: Likewise.
19673         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19674         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19675         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19676         * sysdeps/i386/fpu/e_logf.S: Likewise.
19677         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19678         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19679         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19680         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19681         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19682         * sysdeps/i386/fpu/e_log10.S: Likewise.
19683         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19684         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19685         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19686         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19687         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19688         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19689         * sysdeps/i386/asm-syntax.h: Likewise.
19690         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19691         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19692         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19693         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19694         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19695         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19696         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19697         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19698         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19699         * sysdeps/powerpc/sysdep.h: Likewise.
19700         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19701         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19703 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19705         [BZ #411]
19706         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19708 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19710         * sysdeps/i386/sysdep.h: Include <features.h>.
19711         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19712         version.
19714 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
19716         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19717         Define.
19718         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19719         LOAD_PIC_REG_STR.
19721 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19723         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19724         (SETUP_PIC_REG): Use GET_PC_THUNK.
19725         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19726         macro.
19728 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19730         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19731         for non-PIC compilation.
19732         (SETUP_PIC_REG): Add .p2align directive.
19733         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19734         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19735         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19736         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19737         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19738         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19739         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19740         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19741         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19742         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19743         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19744         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19745         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19746         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19747         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19748         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19749         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19750         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19751         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19752         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19753         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19754         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19755         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19756         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19757         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19759         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19760         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19761         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19762         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19763         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19764         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19765         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19766         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19767         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19768         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19769         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19770         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19771         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19772         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19773         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19775 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19777         * math/tst-CMPLX.c: Include <stdio.h>.
19779 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
19781         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19782         float.
19783         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19784         * sysdeps/sparc/bits/mathdef.h: Likewise.
19786 2012-01-31  Marek Polacek  <polacek@redhat.com>
19788         * libio/libio.h: Don't define _PARAMS.
19789         * locale/programs/config.h: Don't define PARAMS.
19790         * stdlib/strtol_l.c: Likewise.
19791         (__strtol_l): Remove PARAMS from the prototype.
19793 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
19795         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
19796         names.  Just use the correct names.  Remove unnecessary wrapper
19797         functions.
19798         * malloc/arena.c: Likewise.
19799         * malloc/hooks.c: Likewise.
19801         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19802         ARENA_TEST says not to.  Simplify test for creation of a new arena.
19803         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19805 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
19807         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19808         into tail calls.
19809         (update_get_addr): New function.
19810         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19811         GET_ADDR_MODULE parameter.
19813 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19815         * crypt/cert.c: Remove __STDC__ conditionals.
19816         * crypt/crypt-entry.c: Likewise.
19817         * crypt/crypt_util.c: Likewise.
19818         * libio/filedoalloc.c: Likewise.
19819         * libio/fileops.c: Likewise.
19820         * libio/genops.c: Likewise.
19821         * libio/iofclose.c: Likewise.
19822         * libio/iofdopen.c: Likewise.
19823         * libio/iofopen.c: Likewise.
19824         * libio/iofopen64.c: Likewise.
19825         * libio/iogetdelim.c: Likewise.
19826         * libio/iopopen.c: Likewise.
19827         * libio/obprintf.c: Likewise.
19828         * libio/oldfileops.c: Likewise.
19829         * libio/oldiofclose.c: Likewise.
19830         * libio/oldiofdopen.c: Likewise.
19831         * libio/oldiofopen.c: Likewise.
19832         * libio/oldiopopen.c: Likewise.
19833         * libio/wfiledoalloc.c: Likewise.
19834         * libio/wgenops.c: Likewise.
19835         * locale/programs/xmalloc.c: Likewise.
19836         * misc/syslog.c: Likewise.
19837         * stdio-common/xbug.c: Likewise.
19838         * string/memchr.c: Likewise.
19839         * string/memcmp.c: Likewise.
19840         * string/memrchr.c: Likewise.
19841         * string/rawmemchr.c: Likewise.
19842         * sysdeps/posix/getcwd.c: Likewise.
19843         * time/strftime_l.c: Likewise.
19845 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19847         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19848         * config.make.in (config-cflags-sse2avx): Define.
19849         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19850         Fix typo.
19852 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
19854         * scripts/config.guess: Update from upstream config git repository.
19855         * scripts/config.sub: Likewise.
19857 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
19859         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19860         (EM_NUM): Update.
19861         (R_TILEPRO_*, R_TILEGX_*): New macros.
19863         * scripts/firstversions.awk: Fix bug in version range handling.
19865         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19867         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19869         * include/sys/epoll.h: New file.
19870         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19871         libc_hidden_def.
19873 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
19875         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19876         Avoid unnecessary __WORDSIZE == 64 test.
19877         (fmaxf): Use VEX format if possible.
19878         (fmax): Likewise.
19879         (fminf): Likewise.
19880         (fmin): Likewise.
19882         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19883         * math/math_private.h: Remove libc_fegetround* and
19884         libc_fesetround*.
19885         * sysdeps/i386/configure.in: Check for -msse2avx.
19886         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19887         also if SSE2AVX is defined.
19888         Remove libc_fegetround* and libc_fesetround*.
19889         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19890         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
19891         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19892         of HAS_YMM_USABLE.
19893         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19894         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19895         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19896         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19897         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19899         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19901 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19903         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19904         size is not set.
19905         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19907 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
19909         [BZ #13618]
19910         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19911         relocation.
19912         * Makeconfig (libm): Define.
19913         * elf/Makefile: Add rules to build and run tst-relsort1.
19914         * elf/tst-relsort1.c: New file.
19915         * elf/tst-relsort1mod1.c: New file.
19916         * elf/tst-relsort1mod2.c: New file.
19918 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
19920         * math/s_ldexp.c: Remove __STDC__ conditionals.
19921         * math/s_ldexpf.c: Likewise.
19922         * math/s_ldexpl.c: Likewise.
19923         * math/s_nextafter.c: Likewise.
19924         * math/s_nexttowardf.c: Likewise.
19925         * math/s_significand.c: Likewise.
19926         * math/s_significandf.c: Likewise.
19927         * math/s_significandl.c: Likewise.
19928         * math/w_jnl.c: Likewise.
19929         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19930         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19931         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19932         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19933         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19934         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19935         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19936         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19937         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19938         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19939         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19940         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19941         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19942         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19943         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19944         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19945         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19946         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19948         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19949         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19950         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19951         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19952         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19953         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19954         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19955         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19956         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19957         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19958         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19959         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19960         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19961         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19962         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19963         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19964         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19965         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19966         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19967         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19968         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19969         * sysdeps/ieee754/k_standard.c: Likewise.
19970         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19971         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19972         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19973         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19974         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19975         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19976         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19977         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19978         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19979         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19980         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19981         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19982         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19983         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19984         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19985         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19986         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19987         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19988         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19989         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19990         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19991         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19992         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19993         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19994         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19995         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19996         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19997         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19999         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20000         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20001         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20002         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20003         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20004         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20005         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20006         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20007         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20008         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20009         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20010         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20011         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20012         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20013         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20014         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20015         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20016         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20017         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20018         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20019         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20020         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20021         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20022         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20023         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20024         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20025         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20026         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20027         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20028         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20029         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20030         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20031         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20032         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20033         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20034         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20035         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20036         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20037         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20038         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20039         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20040         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20041         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20042         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20043         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20044         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20045         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20046         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20047         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20048         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20049         * sysdeps/ieee754/s_matherr.c: Likewise.
20050         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20051         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20052         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20053         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20055 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20057         * crypt/md5.h: Remove __STDC__ conditionals.
20058         * libio/libioP.h: Likewise.
20059         * locale/programs/config.h: Likewise.
20060         * sysdeps/generic/sysdep.h: Likewise.
20061         * sysdeps/i386/asm-syntax.h: Likewise.
20062         * sysdeps/s390/asm-syntax.h: Likewise.
20063         * sysdeps/unix/sysdep.h: Likewise.
20064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20067 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20069         * libio/libio.h: Remove __STDC__ conditionals.
20070         * malloc/obstack.h: Likewise.
20071         * math/complex.h: Likewise.
20072         * math/math.h: Likewise.
20073         * sysdeps/generic/_G_config.h: Likewise.
20074         * sysdeps/gnu/_G_config.h: Likewise.
20075         * sysdeps/mach/hurd/_G_config.h: Likewise.
20076         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20077         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20078         * sysdeps/sparc/bits/mathdef.h: Likewise.
20080 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20082         [BZ #13583]
20083         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20084         Clean up HAS_* macros.
20085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20086         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20087         possible.
20088         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20089         HAS_AVX.
20090         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20091         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20092         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20093         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20094         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20096 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20098         * elf/tst-unique3.cc (gets): Remove declaration.
20099         * elf/tst-unique3lib.cc (gets): Likewise.
20100         * elf/tst-unique3lib2.cc (gets): Likewise.
20101         * elf/tst-unique4.cc (gets): Likewise.
20103 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20105         * include/stdio.h: Add C++ protection.  Add gets declarations and
20106         definitions.
20107         * debug/tst-chk1.c: Don't declare gets here.
20108         * stdio-common/tst-gets.c: Likewise.
20110 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20112         * posix/glob: Remove directory.
20114 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20116         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20118 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20120         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20121         of the non-standard EPFNOSUPPORT.
20123 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20125         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20126         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20127         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20129 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20131         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20133 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20135         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20136         transient errors.
20137         * nscd/grpcache.c (cache_addgr): Likewise.
20138         * nscd/hstcache.c (cache_addhst): Likewise.
20139         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20140         * nscd/pwdcache.c (cache_addpw): Likewise.
20141         * nscd/servicescache.c (cache_addserv): Likewise.
20143 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20145         * malloc/malloc.c: Various cleanups.
20146         * malloc/hooks.c: Likewise.
20148         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20149         * stdlib/bug-fmtmsg1.c: New file.
20151         * stdlib/fmtmsg.c (init): Add missing unlock.
20152         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20154 2012-01-12  Marek Polacek  <polacek@redhat.com>
20156         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20157         and _GNU_SOURCE.
20159 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20161         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20162         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20163         macro to ensure uniqueness of label name.
20164         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20165         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20167 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20169         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20171         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20172         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20173         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20174         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20176 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20178         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20180         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20181         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20182         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20184         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20186         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20187         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20188         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20189         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20191         * math/bits/math-finite.h: Add ldexp support.
20193 2012-01-10  Marek Polacek  <polacek@redhat.com>
20195         * locale/programs/localedef.h (show_archive_content): Add noreturn
20196         attribute.
20198 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20200         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20202 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20204         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20206         * io/Makefile (headers): Add bits/poll2.h.
20208 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20211         typo #include statement.
20213 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20215         * include/sys/cdefs.h: Define __attribute_alloc_size.
20216         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20217         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20218         * elf/pldd.c: Likewise.
20219         * iconv/iconv_charmap.c: Likewise.
20220         * iconv/iconvconfig.c: Likewise.
20221         * iconv/strtab.c: Likewise.
20222         * locale/programs/locale.c: Likewise.
20223         * locale/programs/localedef.h: Likewise.
20224         * locale/programs/simple-hash.c: Likewise.
20225         * nscd/nscd.h: Likewise.
20226         * nss/makedb.c: Likewise.
20227         * sysdeps/generic/ldconfig.h: Likewise.
20228         * locale/programs/localedef.c: Remove xmalloc prototype.
20229         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20231 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20233         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20234         appropriate.
20236 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20238         * math/Makefile (tests): Add tst-CMPLX.
20239         * math/tst-CMPLX.c: New file.
20241         * math/complex.h (CMPLXL): Fix typo.
20243         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20244         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20245         GLIBC_2.16.
20246         * debug/tst-chk1.c: Add poll and ppoll tests.
20247         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20248         * include/sys/poll.h: Add hidden proto for ppoll.
20249         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20250         * sysdeps/mach/hurd/ppoll.c: Likewise.
20251         * io/ppoll.c: Likewise.
20252         * debug/poll_chk.c: New file.
20253         * debug/ppoll_chk.c: New file.
20254         * include/bits/poll2.h: New file.
20255         * io/bits/poll2.h: New file.
20257         [BZ #1350]
20258         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20260         * configure.in: static is always set to yes.  Remove.
20261         * config.make.in: Don't set build-static.
20262         * Makeconfig: Remove use of build-static.
20263         * dlfcn/Makefile: Likewise.
20264         * elf/Makefile: Likewise.
20265         * math/Makefile: Likewise.
20266         * misc/Makefile: Likewise.
20267         * nptl/Makefile: Likewise.
20268         * sysdeps/mach/hurd/Makefile: Likewise.
20270         * configure.in: PWD_P is not used anymore.
20271         * config.make.in: Remove PWD_P entry.
20273         * configure.in: Remove last remnants of RANLIB.
20274         No need to check for signed size_t anymore.
20275         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20276         and IA-64.
20277         Remove __builtin_expect test because we require at least gcc 3.4.
20278         * aclocal.m4: Likewise.
20280         * wcsmbs/mbrtoc16.c: Implement using towc function.
20281         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20282         * wcsmbs/wcsmbsload.c: Likewise.
20283         * iconv/gconv_simple.c: Likewise.
20284         * iconv/gconv_int.h: Likewise.
20285         * iconv/gconv_builtin.h: Likewise.
20286         * iconv/iconv_prog.c: Remove CHAR16 handling.
20288         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20290         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20292         * configure.in: Remove --with-elf and --enable-bounded options.
20293         Dont set base_machine for ia64.  More non-ELF conditions removed.
20294         Remove testing and setting of leading underscore information.
20295         * config.make.in (build-bounded): Set to no.
20296         * config.h.in: Remove NO_UNDERSCORES entry.
20297         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20298         them.
20299         * csu/start.c: Remove !NO_UNDERSCORE code.
20300         * locale/localeinfo.h: Likewise.
20301         * sysdeps/generic/machine-gmon.h: Likewise.
20302         * sysdeps/generic/sysdep.h: Likewise.
20303         * sysdeps/i386/sysdep.h: Likewise.
20304         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20305         * sysdeps/mach/sysdep.h: Likewise.
20306         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20307         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20308         * sysdeps/sh/sysdep.h: Likewise.
20309         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20310         * sysdeps/unix/i386/sysdep.S: Likewise.
20311         * sysdeps/unix/sparc/start.c: Likewise.
20312         * sysdeps/unix/sparc/sysdep.S: Likewise.
20313         * sysdeps/unix/sparc/sysdep.h: Likewise.
20314         * sysdeps/unix/start.c: Likewise.
20315         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20316         * sysdeps/x86_64/sysdep.h: Likewise.
20318 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20320         [BZ #13553]
20321         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20322         for non-gcc.
20323         * argp/argp-fmtstream.h: Use const instead __const.
20324         * argp/argp.h: Likewise.
20325         * assert/assert.h: Likewise.
20326         * bits/fenv.h: Likewise.
20327         * bits/sched.h: Likewise.
20328         * bits/sigset.h: Likewise.
20329         * bits/sigthread.h: Likewise.
20330         * catgets/nl_types.h: Likewise.
20331         * conform/data/pthread.h-data: Likewise.
20332         * crypt/crypt-private.h: Likewise.
20333         * crypt/crypt.h: Likewise.
20334         * crypt/crypt_util.c: Likewise.
20335         * ctype/ctype.h: Likewise.
20336         * debug/execinfo.h: Likewise.
20337         * debug/mbsnrtowcs_chk.c: Likewise.
20338         * debug/mbsrtowcs_chk.c: Likewise.
20339         * debug/wcsnrtombs_chk.c: Likewise.
20340         * debug/wcsrtombs_chk.c: Likewise.
20341         * debug/wcstombs_chk.c: Likewise.
20342         * dirent/dirent.h: Likewise.
20343         * dlfcn/dlfcn.h: Likewise.
20344         * elf/neededtest4.c: Likewise.
20345         * grp/grp.h: Likewise.
20346         * gshadow/gshadow.h: Likewise.
20347         * iconv/gconv.h: Likewise.
20348         * iconv/gconv_int.h: Likewise.
20349         * iconv/gconv_simple.c: Likewise.
20350         * iconv/iconv.h: Likewise.
20351         * iconv/loop.c: Likewise.
20352         * iconv/skeleton.c: Likewise.
20353         * include/aio.h: Likewise.
20354         * include/aliases.h: Likewise.
20355         * include/argz.h: Likewise.
20356         * include/arpa/inet.h: Likewise.
20357         * include/assert.h: Likewise.
20358         * include/dirent.h: Likewise.
20359         * include/dlfcn.h: Likewise.
20360         * include/execinfo.h: Likewise.
20361         * include/fcntl.h: Likewise.
20362         * include/fenv.h: Likewise.
20363         * include/glob.h: Likewise.
20364         * include/grp.h: Likewise.
20365         * include/libintl.h: Likewise.
20366         * include/mntent.h: Likewise.
20367         * include/netdb.h: Likewise.
20368         * include/pwd.h: Likewise.
20369         * include/rpc/netdb.h: Likewise.
20370         * include/sched.h: Likewise.
20371         * include/search.h: Likewise.
20372         * include/shadow.h: Likewise.
20373         * include/signal.h: Likewise.
20374         * include/stdio.h: Likewise.
20375         * include/stdlib.h: Likewise.
20376         * include/string.h: Likewise.
20377         * include/sys/socket.h: Likewise.
20378         * include/sys/stat.h: Likewise.
20379         * include/sys/statfs.h: Likewise.
20380         * include/sys/statvfs.h: Likewise.
20381         * include/sys/syslog.h: Likewise.
20382         * include/sys/time.h: Likewise.
20383         * include/sys/uio.h: Likewise.
20384         * include/time.h: Likewise.
20385         * include/unistd.h: Likewise.
20386         * include/utmp.h: Likewise.
20387         * include/wchar.h: Likewise.
20388         * include/wctype.h: Likewise.
20389         * inet/aliases.h: Likewise.
20390         * inet/arpa/inet.h: Likewise.
20391         * inet/netinet/ether.h: Likewise.
20392         * inet/netinet/in.h: Likewise.
20393         * intl/libintl.h: Likewise.
20394         * io/bits/fcntl2.h: Likewise.
20395         * io/fcntl.h: Likewise.
20396         * io/ftw.h: Likewise.
20397         * io/sys/poll.h: Likewise.
20398         * io/sys/stat.h: Likewise.
20399         * io/sys/statfs.h: Likewise.
20400         * io/sys/statvfs.h: Likewise.
20401         * io/utime.h: Likewise.
20402         * libio/bits/stdio.h: Likewise.
20403         * libio/bits/stdio2.h: Likewise.
20404         * libio/libio.h: Likewise.
20405         * libio/libioP.h: Likewise.
20406         * libio/stdio.h: Likewise.
20407         * locale/lc-ctype.c: Likewise.
20408         * locale/locale.h: Likewise.
20409         * login/utmp.h: Likewise.
20410         * malloc/arena.c: Likewise.
20411         * malloc/malloc.c: Likewise.
20412         * malloc/malloc.h: Likewise.
20413         * malloc/mcheck.c: Likewise.
20414         * malloc/mtrace.c: Likewise.
20415         * math/bits/mathcalls.h: Likewise.
20416         * math/fenv.h: Likewise.
20417         * math/math_private.h: Likewise.
20418         * misc/bits/error.h: Likewise.
20419         * misc/bits/syslog.h: Likewise.
20420         * misc/err.h: Likewise.
20421         * misc/error.h: Likewise.
20422         * misc/fstab.h: Likewise.
20423         * misc/mntent.h: Likewise.
20424         * misc/regexp.h: Likewise.
20425         * misc/search.h: Likewise.
20426         * misc/sgtty.h: Likewise.
20427         * misc/sys/mman.h: Likewise.
20428         * misc/sys/syslog.h: Likewise.
20429         * misc/sys/uio.h: Likewise.
20430         * misc/sys/xattr.h: Likewise.
20431         * misc/ttyent.h: Likewise.
20432         * nis/rpcsvc/ypclnt.h: Likewise.
20433         * nss/nss.h: Likewise.
20434         * posix/bits/unistd.h: Likewise.
20435         * posix/fnmatch.h: Likewise.
20436         * posix/glob.h: Likewise.
20437         * posix/sched.h: Likewise.
20438         * posix/spawn.h: Likewise.
20439         * posix/sys/wait.h: Likewise.
20440         * posix/unistd.h: Likewise.
20441         * posix/wordexp.h: Likewise.
20442         * pwd/pwd.h: Likewise.
20443         * resolv/netdb.h: Likewise.
20444         * resource/sys/resource.h: Likewise.
20445         * rt/aio.h: Likewise.
20446         * rt/bits/mqueue2.h: Likewise.
20447         * rt/mqueue.h: Likewise.
20448         * shadow/shadow.h: Likewise.
20449         * signal/signal.h: Likewise.
20450         * socket/send.c: Likewise.
20451         * socket/sendto.c: Likewise.
20452         * socket/sys/socket.h: Likewise.
20453         * stdio-common/printf.h: Likewise.
20454         * stdlib/bits/stdlib.h: Likewise.
20455         * stdlib/fmtmsg.h: Likewise.
20456         * stdlib/monetary.h: Likewise.
20457         * stdlib/stdlib.h: Likewise.
20458         * stdlib/ucontext.h: Likewise.
20459         * streams/stropts.h: Likewise.
20460         * string/argz.h: Likewise.
20461         * string/bits/string2.h: Likewise.
20462         * string/string.h: Likewise.
20463         * string/strings.h: Likewise.
20464         * sunrpc/rpc/auth.h: Likewise.
20465         * sunrpc/rpc/auth_des.h: Likewise.
20466         * sunrpc/rpc/clnt.h: Likewise.
20467         * sunrpc/rpc/netdb.h: Likewise.
20468         * sunrpc/rpc/pmap_clnt.h: Likewise.
20469         * sunrpc/rpc/xdr.h: Likewise.
20470         * sysdeps/generic/inttypes.h: Likewise.
20471         * sysdeps/generic/net/if.h: Likewise.
20472         * sysdeps/generic/sys/swap.h: Likewise.
20473         * sysdeps/gnu/net/if.h: Likewise.
20474         * sysdeps/gnu/utmpx.h: Likewise.
20475         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20476         * sysdeps/i386/i486/bits/string.h: Likewise.
20477         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20478         * sysdeps/s390/bits/string.h: Likewise.
20479         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20480         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20481         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20482         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20483         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20484         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20485         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20486         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20487         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20488         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20489         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20490         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20491         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20492         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20493         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20494         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20495         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20496         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20497         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20498         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20499         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20500         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20501         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20502         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20503         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20504         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20505         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20506         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20507         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20508         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20509         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20510         * sysvipc/sys/ipc.h: Likewise.
20511         * sysvipc/sys/msg.h: Likewise.
20512         * sysvipc/sys/sem.h: Likewise.
20513         * sysvipc/sys/shm.h: Likewise.
20514         * termios/termios.h: Likewise.
20515         * time/sys/time.h: Likewise.
20516         * time/time.h: Likewise.
20517         * wcsmbs/bits/wchar2.h: Likewise.
20518         * wcsmbs/uchar.h: Likewise.
20519         * wcsmbs/wchar.h: Likewise.
20520         * wctype/wctype.h: Likewise.
20522         [BZ #13551]
20523         * Makeconfig: Remove all but ELF support including AIX support.
20524         * Makerules: Likewise.
20525         * config.h.in: Likewise.
20526         * config.make.in: Likewise.
20527         * configure: Likewise.
20528         * configure.in: Likewise.
20529         * csu/Makefile: Likewise.
20530         * csu/version.c: Likewise.
20531         * debug/Makefile: Likewise.
20532         * dlfcn/Makefile: Likewise.
20533         * elf/Makefile: Likewise.
20534         * extra-lib.mk: Likewise.
20535         * iconv/Makefile: Likewise.
20536         * include/libc-symbols.h: Likewise.
20537         * include/shlib-compat.h: Likewise.
20538         * resolv/Makefile: Likewise.
20539         * resolv/res_libc.c: Likewise.
20540         * rt/Makefile: Likewise.
20541         * sysdeps/i386/asm-syntax.h: Likewise.
20542         * sysdeps/i386/sysdep.h: Likewise.
20543         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20544         * sysdeps/mach/sysdep.h: Likewise.
20545         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20546         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20547         * sysdeps/s390/asm-syntax.h: Likewise.
20548         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20549         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20550         * sysdeps/sh/sysdep.h: Likewise.
20551         * sysdeps/unix/sparc/sysdep.h: Likewise.
20552         * sysdeps/wordsize-32/divdi3.c: Likewise.
20553         * sysdeps/x86_64/sysdep.h: Likewise.
20555         * argp/Versions: Remove _argp_unlock_xxx.
20557         [BZ #13559]
20558         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20559         * abilist/libBrokenLocale.abilist: Likewise.
20560         * abilist/libanl.abilist: Likewise.
20561         * abilist/libc.abilist: Likewise.
20562         * abilist/libcrypt.abilist: Likewise.
20563         * abilist/libdl.abilist: Likewise.
20564         * abilist/libm.abilist: Likewise.
20565         * abilist/libnsl.abilist: Likewise.
20566         * abilist/libpthread.abilist: Likewise.
20567         * abilist/libresolv.abilist: Likewise.
20568         * abilist/librt.abilist: Likewise.
20569         * abilist/libthread_db.abilist: Likewise.
20570         * abilist/libutil.abilist: Likewise.
20571         * abilist/libnss_db.abilist: New file.
20573         * scripts/abilist.awk: Add support for indirect functions.
20575         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20577         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20579         * shlib-versions: Remove entries for ports architectures.
20581         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20582         files in ports.
20583         * elf/stackguard-macros.h: Remove support for IA-64.
20584         * elf/tst-auditmod1.c: Likewise.
20585         * sysdeps/generic/ldsodefs.h: Likewise.
20587         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20588         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20589         configure files.
20591         [BZ #13552]
20592         * configure.in: Remove --enable-omitfp support.
20593         * FAQ.in: Adjust.
20594         * config.make.in: Likewise.
20595         * Makeconfig: Likewise.
20596         * manual/install.texi: Likewise.
20598         In case anyone cares, the IA-64 architecture could move to ports.
20599         * sysdeps/ia64/*: Removed.
20600         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20601         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20603         [BZ #13555]
20604         * configure.in: Remove entries for unsupported architectures.
20606         [BZ #13533]
20607         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20608         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20609         routines.
20610         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20611         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20612         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20613         fall back to using wcrtomb.
20614         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20615         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20616         renaming.
20617         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20618         * wcsmbs/tst-c16c32-1.c: New file.
20620         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20621         local variable.
20623         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20625         * elf/tst-unique3.cc: Add explicit declaration of gets.
20626         * elf/tst-unique3lib.cc: Likewise.
20627         * elf/tst-unique3lib2.cc: Likewise.
20628         * elf/tst-unique4.cc: Likewise.
20630         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20632 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20634         [BZ #13566]
20635         * assert/assert.h (static_assert): Don't define for C++.
20636         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20637         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20639 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20641         * iconv/loop.c (single loop): Fix assertion in storing of
20642         remaining bytes.
20644         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20646 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20648         * posix/getconf.c: Update copyright year.
20649         * nss/getent.c: Likewise.
20650         * nss/makedb.c: Likewise.
20651         * iconv/iconvconfig.c: Likewise.
20652         * iconv/iconv_prog.c: Likewise.
20653         * elf/ldconfig.c: Likewise.
20654         * elf/pldd.c: Likewise.
20655         * elf/sotruss.ksh: Likewise.
20656         * catgets/gencat.c: Likewise.
20657         * csu/version.c: Likewise.
20658         * elf/ldd.bash.in: Likewise.
20659         * elf/sprof.c (print_version): Likewise.
20660         * locale/programs/locale.c: Likewise.
20661         * locale/programs/localedef.c: Likewise.
20662         * login/programs/pt_chown.c: Likewise.
20663         * nscd/nscd.c (print_version): Likewise.
20664         * debug/xtrace.sh: Likewise.
20665         * malloc/memusage.sh: Likewise.
20666         * malloc/mtrace.pl: Likewise.
20667         * debug/catchsegv.sh: Likewise.
20669 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20671         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20672         pure attribute.
20674 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20676         [BZ #13533]
20677         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20678         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20679         transformations.
20680         * iconv/gconv_int.h: Likewise.
20681         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20682         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20683         from libc for GLIBC_2.16.
20684         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20685         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20686         * wcsmbs/uchar.h: Really define mbstate_t.
20687         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20688         * wcsmbs/c16rtomb.c: New file.
20689         * wcsmbs/mbrtoc16.c: New file.
20690         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20691         for C/POSIX locale.
20692         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20693         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20695         * wcsmbs/wchar.h: Add missing __restrict.
20697 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20699         [BZ #13532]
20700         * time/Makefile (routines): Add timespec_get.
20701         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20702         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20703         timespec for ISO C11.
20704         * time/timespec_get.c: New file.
20705         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20706         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20708         [BZ #13531]
20709         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20710         * stdlib/stdlib.h: Declare aligned_alloc.
20711         * Versions.def: Add GLIBC_2.16 for libc.
20712         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20714         [BZ 13527]
20715         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20716         ISO C11.
20718         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20719         code.
20721         [BZ #13528]
20722         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20724         [BZ #13529]
20725         * assert/assert.h (static_assert): Define.
20727         * version.h: Update for 2.16 development version.
20729         [BZ #13526]
20730         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20731         _ISOC11_SOURCE.
20733         * version.h (RELEASE): Bump for 2.15 release.
20734         * include/features.h (__GLIBC_MINOR__): Bump to 15.
20736         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20737         Patch by Marek Polacek <mpolacek@redhat.com>.
20739         * bits/byteswap.h: Protect long long constants with __extension__.
20740         * sysdeps/i386/bits/byteswap.h: Likewise.
20741         * sysdeps/ia64/bits/byteswap.h: Likewise.
20742         * sysdeps/s390/bits/byteswap.h: Likewise.
20743         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20745 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20747         [BZ #13540]
20748         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20749         destination buffer.
20750         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20752 2011-12-23  Marek Polacek  <polacek@redhat.com>
20754         * elf/dl-addr.c (determine_info): Add inline keyword.
20755         * elf/tst-auditmod4b.c (check_avx): Likewise.
20756         * elf/tst-auditmod6b.c (check_avx): Likewise.
20757         * elf/tst-auditmod6c.c (check_avx): Likewise.
20758         * elf/tst-auditmod7b.c (check_avx): Likewise.
20760 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20762         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20763         !__SSE_MATH__.
20765 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20767         [BZ #13540]
20768         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20769         processing for last bytes.
20771 2011-08-06  Bruno Haible  <bruno@clisp.org>
20773         [BZ #13061]
20774         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20775         U+0385, not to U+1FEE.
20777         [BZ #13062]
20778         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20779         entry for U+00A5 U+0301.
20781 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20783         [BZ #13166]
20784         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20785         buffer for the output is too small.
20787         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20788         optimization.
20790         [BZ #13185]
20791         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20792         SSE flags if possible.
20794 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20796         [BZ #13540]
20797         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20798         processing for last bytes.
20800 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
20802         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20803         (syscall-list-default-options, syscall-list-default-condition)
20804         (syscall-list-includes): Define.
20805         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20806         list of ABIs and options and #if conditions for each ABI.  Do not
20807         handle common syscalls between ABIs specially.
20808         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20809         Remove.
20810         (syscall-list-variants, syscall-list-32bit-options)
20811         (syscall-list-32bit-condition, syscall-list-64bit-options)
20812         (syscall-list-64bit-condition): Define.
20813         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20814         (syscall-list-variants, syscall-list-32bit-options)
20815         (syscall-list-32bit-condition, syscall-list-64bit-options)
20816         (syscall-list-64bit-condition): Define.
20817         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20818         Remove.
20819         (syscall-list-variants, syscall-list-32bit-options)
20820         (syscall-list-32bit-condition, syscall-list-64bit-options)
20821         (syscall-list-64bit-condition): Define.
20822         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20823         Remove.
20824         (syscall-list-variants, syscall-list-32bit-options)
20825         (syscall-list-32bit-condition, syscall-list-64bit-options)
20826         (syscall-list-64bit-condition): Define.
20828 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20830         * locale/iso-639.def: Add brx entry.
20832         [BZ #13328]
20833         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20834         Proposed by Mariusz_Cukr <marcukr@op.pl>.
20836         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20837         __feraiseexcept_renamed.
20839 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20841         [BZ #13538]
20842         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20843         EPOLLET with unsigned values.
20844         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20845         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20847         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20848         to large cancellation.
20849         * math/s_cacoshf.c: Likewise.
20850         * math/s_cacoshl.c: Likewise.
20852 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
20854         [BZ #13305]
20855         [BZ #12786]
20856         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20857         * math/s_cacoshf.c: Likewise.
20858         * math/s_cacoshl.c: Likewise.
20860 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20862         [BZ #13439]
20863         * iconv/gconv.h: Define __GCONV_SWAP.
20864         * iconvdata/unicode.c: The swap bit must be stored in __flags.
20865         * iconvdata/utf-16.c: Likewise.
20866         * iconvdata/utf-32.c: Likewise.
20868 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20870         [BZ #13524]
20871         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20872         numerator after shifting it by one limb.
20874 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
20876         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20877         under [__USE_EXTERN_INLINES].
20879 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20881         [BZ #13446]
20882         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20884 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20886         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20887         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20888         optimized code.
20889         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20890         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20891         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20892         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20893         for strncasecmp/strncasecmp_l compilation.
20894         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20895         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20897 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
20899         [BZ #13484]
20900         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20901         of __asm__.
20903 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20905         [BZ #13506]
20906         * time/tzfile.c (__tzfile_read): Check values from file header.
20908 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20910         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20911         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20912         * powerpc/powerpc32/dl-start.S: Likewise.
20913         * powerpc/powerpc32/elf/start.S: Likewise.
20914         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20915         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20916         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20917         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20918         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20919         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20920         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20921         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20922         * powerpc/powerpc32/fpu/s_round.S: Likewise.
20923         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20924         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20925         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20926         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20927         * powerpc/powerpc32/memset.S: Likewise.
20928         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20929         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20930         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20931         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20932         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20933         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20934         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20935         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20936         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20937         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20938         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20939         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20940         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20942 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20944         * math/libm-test.inc: Added more nearbyint tests.
20945         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20946         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20947         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20948         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20950 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
20952         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20953         FD_CLOEXEC.
20955 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20957         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20958         Add wcscpy-ssse3 wcscpy-c.
20959         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20960         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20961         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20962         * sysdeps/x86_64/wcschr.S: New file.
20963         * sysdeps/x86_64/wcsrchr.S: New file.
20964         * string/test-strcmp.c: Remove checking of wcscmp function for
20965         wrong alignments.
20966         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20967         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20968         wcsrchr-sse2 wcsrchr-c.
20969         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20970         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20971         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20972         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20973         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20974         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20975         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20976         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20977         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20978         * wcsmbc/wcschr.c (WCSCHR): New macro.
20980 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20982         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20983         * wcsmbs/test-wcsrchr.c: New file.
20984         * string/test-strrchr.c: Add wcsrchr support.
20985         (WIDE): New macro.
20986         * wcsmbs/test-wcscpy.c: New file.
20987         * string/test-strcpy.c: Add wcscpy support.
20988         (WIDE): New macro.
20990 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
20992         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20993         the inner loop.
20995 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
20997         [BZ #13472]
20998         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21000 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21002         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21003         Minor optimizations.
21005         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21006         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21007         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21009 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21011         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21012         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21013         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21014         for gcc to avoid warnings.
21015         * inet/Makefile (tests): Add tst-checks.
21016         * inet/tst-checks.c: New file.
21018         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21019         warning.
21021         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21022         __wmemcmp_sse2.
21024         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21025         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21027         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21029 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21031         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21032         problem.
21034         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21036 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21038         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21039         conditional on GCC version.
21040         (__arch_compare_and_exchange_val_8_acq)
21041         (__arch_compare_and_exchange_val_16_acq)
21042         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21043         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21044         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21046 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21048         * sysdeps/sh/backtrace.c: New file.
21050 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21052         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21053         parenthesis.
21055 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21057         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21058         falling back to utime.
21060 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21062         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21063         expectations for float.
21065 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21067         * locale/weight.h (findidx): Add parameter len.
21068         * locale/weightwc.h (findidx): Likewise.
21069         * posix/fnmatch_loop.c (FCT): Adjust caller.
21070         * posix/regcomp.c (build_equiv_class): Likewise.
21071         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21072         * posix/regexec.c (check_node_accept_bytes): Likewise.
21073         * string/strcoll_l.c (STRCOLL): Likewise.
21074         * string/strxfrm_l.c (STRXFRM): Likewise.
21076 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21078         * Makefile.in: Remove CVSOPT handling.
21079         * configure.in: Remove use of AC_REVISION.
21080         * iconvdata/Makefile (distribute): No need to filter out CVS.
21081         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21082         handling.
21084 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21087         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21088         [USE_AS_STRNCASECMP_L]: Likewise.
21089         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21090         NO_TLS_DIRECT_SEG_REFS.
21091         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21092         Fix argument offsets for non-PIC.
21093         [USE_AS_STRNCASECMP_L]: Likewise.
21094         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21095         NO_TLS_DIRECT_SEG_REFS.
21097 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21099         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21100         O_CLOEXEC.
21101         * locale/loadlocale.c (_nl_load_locale): Likewise.
21103 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21105         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21106         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21107         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21108         (SYSCALL_GETTIME): Set errno on error.
21110         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21111         count references to noai6ai_cached.
21113 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21115         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21117         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21118         FD_CLOEXEC for /proc/self/maps.
21120         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21121         FD_CLOEXEC for /proc/meminfo.
21123         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21124         gai.conf.
21126         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21127         FD_CLOEXEC for given file.
21129         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21131         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21132         FD_CLOEXEC for /etc/hosts.
21133         (_gethtent): Likewise.
21135         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21137         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21138         cancellation and set FD_CLOEXEC for /etc/netgroup.
21140         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21141         reading /etc/publickey.
21143         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21144         allow cancellation when reading /etc/group.
21146         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21147         cancellation.
21148         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21150         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21151         when using data file.
21153         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21155         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21156         (write_nis_obj): Use "c" and "e" in fopen.
21158         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21160         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21162         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21164         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21166         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21167         locale.alias.
21169         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21171         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21173         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21175         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21176         file parsing and set FD_CLOEXEC.
21178 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21180         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21182 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21184         * malloc/arena.c (arena_get2): Don't call reused_arena when
21185         _int_new_arena failed.
21187 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21189         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21190         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21191         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21192         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21193         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21194         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21195         to compile strcasecmp and strncasecmp.
21196         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21197         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21199         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21201 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21203         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21204         locale-defines.sym to gen-as-const-headers.
21205         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21206         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21207         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21208         to compile strcasecmp and strncasecmp.
21209         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21210         strcasecmp_l and strncasecmp_l.
21211         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21212         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21213         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21214         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21215         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21216         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21217         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21218         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21219         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21220         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21221         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21223 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21225         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21226         result of SYSDEP_GETTIME_CPU to retval.
21227         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21228         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21230         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21231         variable.
21233         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21234         mantissa words.
21235         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21237         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21238         from unused variable.
21240         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21241         DWARF definitions.
21242         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21243         for assembling.
21245         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21246         over namespaces.
21248         * sunrpc/rpc_prot.c (rejected): Fix case value.
21250         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21251         unsigned long long int to avoid warnings in shift.
21253         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21254         of use of trans.
21255         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21256         variable tmp.
21258         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21259         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21260         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21262         * nis/nis_table.c (nis_list): Use variable of correct type for
21263         result of __follow_path call.
21265 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21267         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21268         of math functions ceil, trunc, floor, round, and sqrt, when
21269         avaliable on the platform.
21270         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21271         name clash.
21272         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21273         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21274         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21276 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21278         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21279         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21281 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21283         * include/unistd.h: Fix __readlink return type.
21284         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21286 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21288         * stdlib/ucontext.h: Undo last change for makecontext.
21290 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21292         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21294         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21295         * setjmp/setjmp.h: Mark functions as non-leaf.
21296         * setjmp/bits/setjmp2.h: Likewise.
21297         * stdlib/ucontext.h: Likewise.
21299 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21301         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21302         (reused_arena): Don't check arena limit.
21303         (arena_get2): Atomically check arena limit.
21305 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21307         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21308         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21310         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21311         instructions.
21313 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21315         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21316         handler when locking.
21318         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21319         Fix size of allocated buffer.
21321 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21323         [BZ #10103]
21324         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21325         declarations for long double functions.
21326         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21328         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21330 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21332         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21333         installed.
21335         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21336         is disabled.
21338 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21340         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21342 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21344         * include/alloca.h (stackinfo_alloca_round): Define.
21345         (extend_alloca): Use it.
21346         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21347         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21348         here.
21350         * scripts/check-local-headers.sh: Ignore libaudit.h.
21352         * nscd/Makefile (extra-objs): Make recursively expanded.
21354 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21356         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21357         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21359         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21360         * posix/tst-rfc3484-2.c: Likewise.
21361         * posix/tst-rfc3484-3.c: Likewise.
21363         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21364         process_vm_writev.
21365         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21366         process_vm_writev.
21367         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21368         process_vm_writev from libc using GLIBC_2.15 version.
21370         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21372 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21374         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21375         stack usage.
21377 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21379         [BZ #13367]
21380         * nss/getent.c (initgroups_keys): Show error message in case no group
21381         names are given.
21383         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21384         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21385         __bump_nl_timestamp.
21386         * nscd/connections (nscd_init): When host database is served open
21387         netlink socket and request notification about configuration changes.
21388         (main_loop_poll): Track netlink file descriptor and bump timestamp
21389         in case data becomes available.
21390         (main_loop_epoll): Likewise.
21391         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21392         (database_pers_head): Add extra_data fileds.
21393         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21394         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21395         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21396         Adjust caller.
21397         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21398         in6ai data, call __free_in6ai.
21399         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21400         Add -DHAVE_NETLINK.
21401         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21402         interface information.  Reuse previous data if netlink timestamp
21403         is not changed.
21404         (__bump_nl_timestamp): New function.
21405         (__free_in6ai): New function.
21407 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21409         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21410         close_not_cancel_no_status here.
21411         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21413 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21415         [BZ #13276]
21416         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21417         return value.
21419         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21420         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21421         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21423 2011-07-03  Andreas Jaeger  <aj@suse.de>
21425         [BZ #10709]
21426         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21427         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21428         * math/libm-test.inc (sin_test): Add test case.
21430 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21432         [BZ #13337]
21433         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21434         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21436         * elf/chroot_canon.c (chroot_canon): Cleanups.
21438         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21440         [BZ #13335]
21441         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21442         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21444         * string/test-strchr.c: Make usable for strchrnul testing.
21445         * string/test-strchrnul.c: New file.
21446         * string/Makefile (strop-tests): Add strchrnul.
21448         * po/it.po: Update from translation team.
21449         * po/es.po: Likewise.
21451 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21453         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21454         the three constants needed as parameters.  Drop the others.
21455         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21456         __m128i_strloadu_tolower.
21457         Create and initialize variable zero and use it in all the places
21458         where _mm_setzero_si128 was used.
21460         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21461         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21462         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21463         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21464         anymore.
21465         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21466         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21467         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21468         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21469         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21470         __mpranred, __mptan.
21471         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21472         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21473         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21474         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21475         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21476         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21477         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21478         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21479         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21481 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21483         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21484         redefine if SHARED.
21485         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21488         wide char related routines to wcsmbs subdir.
21490 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21492         [BZ #13344]
21493         * misc/sys/cdefs.h (__THROWNL): Define.
21494         * posix/unistd.h: Use __THREADNL instead of __THREAD
21495         for memory synchronization functions.
21497 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21499         [BZ #13349]
21500         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21501         doesn't exist.
21502         * manual/stdio.texi (Obstack Streams): Node removed.
21504 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21506         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21507         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21508         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21510         * math/math_private.h (math_force_eval): Allow non-addressable
21511         arguments.
21512         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21514 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21516         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21517         file is not needed.
21519         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21520         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21521         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21522         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21523         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21524         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21525         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21526         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21527         Add AVX variants.
21528         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21529         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21530         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21531         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21532         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21533         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21534         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21535         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21536         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21537         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21538         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21539         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21540         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21541         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21542         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21543         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21544         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21545         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21546         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21548         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21549         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21551         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21552         place.  Use VEX encoding when compiling for AVX.
21554 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21556         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21557         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21559         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21561 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21563         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21564         useless if() expression.
21565         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21566         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21567         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21568         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21569         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21570         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21571         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21572         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21573         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21574         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21575         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21576         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21577         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21578         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21579         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21580         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21581         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21582         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21583         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21585         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21587 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21589         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21590         condition.
21591         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21593 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21595         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21596         .text section.  Avoid duplicate constants.
21597         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21598         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21599         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21601         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21604         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21605         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21606         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21607         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21608         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21609         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21610         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21611         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21612         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21613         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21614         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21615         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21616         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21617         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21618         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21619         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21620         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21621         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21622         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21623         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21624         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21625         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21626         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21627         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21628         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21629         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21630         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21631         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21632         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21633         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21634         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21635         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21636         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21637         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21638         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21639         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21640         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21641         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21643 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21645         * sysdeps/x86_64/dla.h: Move to ...
21646         * sysdeps/x86_64/fpu/dla.h: ...here.
21647         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21648         situations.  Use __builtin_fma only for gcc 4.6 and up.
21650         * config.make.in: Add have-mfma4 entry.
21651         * configure.in: Substitute libc_cv_cc_fma4.
21652         * math/Makefile (dbl-only-routines): Add sincostab.
21653         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21654         Use __sincostab not sincos.
21655         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21656         name is a macro.
21657         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21658         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21659         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21660         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21661         using __copysign.
21662         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21663         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21664         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21665         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21666         and __inv.
21667         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21668         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21669         __copysign.
21670         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21671         define aliases when function name is a macro.
21672         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21673         sysdeps/ieee754/dbl-64/sincos.tbl.
21674         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21675         fma4-enabled routines.
21676         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21677         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21678         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21679         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21680         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21681         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21682         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21683         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21684         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21685         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21686         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21687         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21688         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21689         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21690         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21691         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21692         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21693         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21694         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21695         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21696         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21697         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21698         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21699         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21700         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21701         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21702         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21703         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21704         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21705         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21707         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21708         rename.
21709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21710         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21712         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21713         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21714         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21715         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21716         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21718 2011-10-24  Andreas Schwab  <schwab@redhat.com>
21720         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21722 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21724         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21726         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21727         prediction.
21728         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21730         * string/strnlen.c: Don't define STRNLEN, reverse logic.
21731         Remove unused variable magic_bits.
21732         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21734         * string/strnlen.c: Define and use STRNLEN macro.
21735         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21736         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21737         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21738         * wcsmbs/wcslen.c: Define and use WCSLEN.
21739         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21740         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21741         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21742         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21743         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21744         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21745         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21747 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21750         strnlen-sse2-no-bsf.
21751         Rename strlen-no-bsf to strlen-sse2-no-bsf.
21752         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21753         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21754         Add strnlen support.
21755         (USE_AS_STRNLEN): New macro.
21756         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21757         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21758         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21759         * sysdeps/x86_64/wcslen.S: New file.
21761 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
21763         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21764         XMM-moves are used for copying on small sizes.
21766 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21768         * wcsmbs/Makefile (strop-tests): Add wcschr.
21769         * wcsmbs/test-wcschr.c: New file.
21770         * string/test-strchr.c: Update.
21771         Add wcschr support.
21772         (WIDE): New macro.
21774 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21776         * wcsmbs/Makefile (strop-tests): Add wcslen.
21777         * wcsmbs/test-wcslen.c: New file.
21778         * string/test-strlen.c: Update.
21779         Add wcslen support.
21780         (WIDE): New macro.
21782 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21784         * po/it.po: Update from translation team.
21786 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21788         * sysdeps/x86_64/wcscmp.S: Update.
21789         Fix wrong comparison semantics.
21790         wcscmp shall use signed comparison not unsigned.
21791         Don't use substraction to avoid overflow bug.
21792         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21793         * wcsmbc/wcscmp.c: Likewise.
21794         * string/test-strcmp.c: Likewise.
21795         Add new tests to check cases with negative values.
21797 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21799         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21800         * sysdeps/x86_64/dla.h: ...here.  New file.
21801         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21803         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21804         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21806         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21807         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21808         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21809         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21811 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
21813         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21814         __ynl_finite aliases.
21816 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21820         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21821         define DLA_FMA.
21822         [DLA_FMA] (EMULV): Use DLA_FMA.
21823         [DLA_FMA] (MUL12): Use EMULV.
21824         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21825         that are not needed.
21826         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21829         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21830         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21831         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21832         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21834 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
21836         * math/s_nan.c: Undef __nan.
21837         * math/s_nanf.c: Undef __nanf.
21838         * math/s_nanl.c: Undef __nanl.
21839         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21840         "math_private.h".
21842 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21844         * math/s_catan.c: Add branch predictions.
21845         * math/s_catanf.c: Likewise.
21846         * math/s_catanh.c: Likewise.
21847         * math/s_catanhf.c: Likewise.
21848         * math/s_catanhl.c: Likewise.
21849         * math/s_catanl.c: Likewise.
21850         * math/s_cexp.c: Likewise.
21851         * math/s_cexpf.c: Likewise.
21852         * math/s_cexpl.c: Likewise.
21853         * math/s_clog.c: Likewise.
21854         * math/s_clog10.c: Likewise.
21855         * math/s_clog10f.c: Likewise.
21856         * math/s_clog10l.c: Likewise.
21857         * math/s_clogf.c: Likewise.
21858         * math/s_clogl.c: Likewise.
21859         * math/s_csqrt.c: Likewise.
21860         * math/s_csqrtf.c: Likewise.
21861         * math/s_csqrtl.c: Likewise.
21862         * math/s_ctanf.c: Likewise.
21863         * math/s_ctanh.c: Likewise.
21864         * math/s_ctanhf.c: Likewise.
21865         * math/s_ctanhl.c: Likewise.
21866         * math/s_ctanl.c: Likewise.
21868         * math/math_private.h: Define __nan, __nanf, __nanl.
21869         * math/s_cacosh.c: Include <math_private.h>.
21870         * math/s_cacoshl.c: Likewise.
21871         * math/s_casinh.c: Likewise.
21872         * math/s_casinhf.c: Likewise.
21873         * math/s_casinhl.c: Likewise.
21874         * math/s_ccos.c: Rely entire on ccosh.
21875         * math/s_ccosf.c: Rely entire on ccoshf.
21876         * math/s_ccosl.c: Rely entirely on ccoshl.
21877         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
21878         Remove tests for FE_INVALID.
21879         * math/s_ccoshf.c: Likewise.
21880         * math/s_ccoshl.c: Likewise.
21881         * math/s_csin.c: Likewise.
21882         * math/s_csinf.c: Likewise.
21883         * math/s_csinh.c Likewise.
21884         * math/s_csinhf.c: Likewise.
21885         * math/s_csinhl.c: Likewise.
21886         * math/s_csinl.c: Likewise.
21887         * math/s_ctan.c: Likewise.
21888         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21889         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21890         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21892 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
21894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21895         compilation problems.
21897         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21898         __builtin_expect.
21900 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
21902         * sysdeps/i386/configure.in: Test for -mfma4 option.
21903         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21904         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21905         COMMON_CPUID_INDEX_80000001.
21906         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21907         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21908         use it if FMA3 is not supported.
21909         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21911         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21912         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21914 2011-10-20  Andreas Schwab  <schwab@redhat.com>
21916         [BZ #12892]
21917         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21918         it would create a cycle with a link time dependency.
21920 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
21922         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21923         instruction.
21924         * string/Makefile (strop-tests): Add rawmemchr.
21925         * string/test-rawmemchr.c: New file.
21927         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21928         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
21929         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
21930         when compiling str{,n}casecmp and when AVX is available.  Hook up
21931         new optimized code in initializers.
21933 2011-10-19  Andreas Schwab  <schwab@redhat.com>
21935         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21936         __feraiseexcept instead of feraiseexcept.
21938 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
21940         * math/math_private.h: Define defaults for libc_fetestexcept and
21941         libc_feupdateenv.
21942         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21943         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21944         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21945         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21946         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21947         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21948         libc_fetestexcept and libc_feupdateenv.
21950         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21951         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21952         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21953         * sysdeps/x86_64/fpu/math_private.h: Define special version of
21954         libc_feholdexcept_setround.
21956         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21957         Add s_nearbyint-c and s_nearbyintf-c.
21958         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21959         nearbyintf inlines.
21960         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21961         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21962         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21963         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21965         * math/math_private.h: Define defaults for libc_fegetround,
21966         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21967         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21968         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21969         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21970         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21971         standard functions.
21972         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21973         Remove comments and hacks for old compiler versions.
21974         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21975         libc_fegetround, libc_fesetround, libc_feholdexcept, and
21976         libc_feholdexceptl.
21978 2011-10-18  Andreas Schwab  <schwab@redhat.com>
21980         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21981         (__feraiseexcept_renamed): Add __NTH.
21982         (feraiseexcept): Add __NTH.  Rename local variables to fix
21983         namespace violations.
21985 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
21987         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21989         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21991         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21992         recently added interfaces.
21993         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21995         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21996         about macro parameter expansion.
21998         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21999         __NO_MATH_INLINES is defined.  Cleanups.
22001         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22002         and __floorf is target has SSE4.1.
22003         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22004         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22005         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22006         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22008         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22009         name.
22010         (floorf): Likewise.
22012         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22014 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22016         * misc/sys/cdefs.h: Fix last change.
22018         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22019         database lookup.
22021 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22023         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22025         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22026         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22027         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22028         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22029         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22030         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22031         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22032         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22033         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22034         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22035         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22036         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22037         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22038         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22039         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22040         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22041         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22042         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22043         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22044         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22045         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22046         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22048         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22049         ceil, ceilf, floor, floorf.
22051         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22052         Perform IRELATIVE relocations last.
22054         * elf/do-rel.h: Add another parameter nrelative, replacing the
22055         local variable with the same name.  Change name of the function
22056         to end in Rel or Rela (uppercase).
22057         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22058         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22059         elf_dynamic_do_##reloc function.
22061 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22063         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22064         is sufficient, at least on modern CPUs.
22066         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22068         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22069         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22071         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22072         __expl_finite.
22073         * math/bits/math-finite.h: Add entries for exp.
22074         * math/e_expl.c: Add __*_finite alias.
22075         * sysdeps/i386/fpu/e_exp.S: Likewise.
22076         * sysdeps/i386/fpu/e_expf.S: Likewise.
22077         * sysdeps/i386/fpu/e_expl.c: Likewise.
22078         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22079         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22080         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22081         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22082         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22083         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22084         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22086         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22087         is sufficient, at least on modern CPUs.
22089         * ctype/ctype-info.c (__ctype_init): Define.
22090         * include/ctype.h (__ctype_init): Declare.
22091         (__ctype_b_loc): The variable is always initialized.
22092         (__ctype_toupper_loc): Likewise.
22093         (__ctype_tolower_loc): Likewise.
22094         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22095         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22097 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22099         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22101         * configure.in: Also look in $cxxmachine/include for C++ system
22102         headers.
22104 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22106         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22107         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22108         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22109         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22110         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22111         (USE_AS_WMEMCMP): New macro.
22112         Fixing indents.
22113         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22114         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22115         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22116         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22117         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22118         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22119         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22120         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22121         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22122         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22123         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22124         (USE_AS_WMEMCMP): New macro.
22125         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22126         * sysdeps/string/test-memcmp.c: Update.
22127         Fix simple_wmemcmp.
22128         Add new tests.
22129         * wcsmbs/wmemcmp.c: Update.
22130         (WMEMCMP): New macro.
22131         Fix overflow bug.
22133 2011-10-12  Andreas Jaeger  <aj@suse.de>
22135         [BZ #13268]
22136         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22138 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22140         * libio/iofwide.c (do_length): Avoid warning.
22142         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22144 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22146         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22148         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22149         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22150         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22151         * sysdeps/i386/i686/fpu/e_log.S: New file.
22152         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22153         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22155         * ctype/ctype.h: Add support for inlined isXXX functions when
22156         compiling C++ code.
22158 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22160         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22162         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22164 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22166         [BZ #13291]
22167         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22169 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22171         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22172         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22173         feraiseexcept.
22175         * sysdeps/x86_64/memrchr.S: Check for zero size.
22177         * string/stratcliff.c: Add memrchr tests.
22179 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22182         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22183         rawmemchr-sse2 rawmemchr-sse2-bsf.
22184         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22185         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22186         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22187         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22188         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22189         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22190         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22191         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22192         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22193         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22194         * string/memrchr.c (MEMRCHR): New macro.
22196 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22198         Add integration with gcc's -ffinite-math-only and optimize wrapper
22199         functions in libm.
22200         * Versions.def: Define GLIBC_2.15 version for libm.
22201         * math/Makefile (headers): Add bits/math-finite.h.
22202         * math/bits/math-finite.h: New file.
22203         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22204         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22205         * math/e_acoshl.c: Add __*_finite alias.
22206         * math/e_acosl.c: Likewise.
22207         * math/e_asinl.c: Likewise.
22208         * math/e_atan2l.c: Likewise.
22209         * math/e_atanhl.c: Likewise.
22210         * math/e_coshl.c: Likewise.
22211         * math/e_exp10.c: Likewise.
22212         * math/e_exp10f.c: Likewise.
22213         * math/e_exp10l.c: Likewise.
22214         * math/e_exp2l.c: Likewise.
22215         * math/e_fmodl.c: Likewise.
22216         * math/e_gammal_r.c: Likewise.
22217         * math/e_hypotl.c: Likewise.
22218         * math/e_j0l.c: Likewise.
22219         * math/e_j1l.c: Likewise.
22220         * math/e_jnl.c: Likewise.
22221         * math/e_lgammal_r.c: Likewise.
22222         * math/e_log10l.c: Likewise.
22223         * math/e_log2l.c: Likewise.
22224         * math/e_logl.c: Likewise.
22225         * math/e_powl.c: Likewise.
22226         * math/e_sinhl.c: Likewise.
22227         * math/e_sqrtl.c: Likewise.
22228         * math/e_scalb.c: Completely rewritten and optimized.
22229         * math/e_scalbf.c: Likewise.
22230         * math/e_scalbl.c: Likewise.
22231         * math/w_acos.c: Likewise.
22232         * math/w_acosf.c: Likewise.
22233         * math/w_acosl.c: Likewise.
22234         * math/w_acosh.c: Likewise.
22235         * math/w_acoshf.c: Likewise.
22236         * math/w_acoshl.c: Likewise.
22237         * math/w_asin.c: Likewise.
22238         * math/w_asinf.c: Likewise.
22239         * math/w_asinl.c: Likewise.
22240         * math/w_atan2.c: Likewise.
22241         * math/w_atan2f.c: Likewise.
22242         * math/w_atan2l.c: Likewise.
22243         * math/w_atanh.c: Likewise.
22244         * math/w_atanhf.c: Likewise.
22245         * math/w_atanhl.c: Likewise.
22246         * math/w_exp10.c: Likewise.
22247         * math/w_exp10f.c: Likewise.
22248         * math/w_exp10l.c: Likewise.
22249         * math/w_fmod.c: Likewise.
22250         * math/w_fmodf.c: Likewise.
22251         * math/w_fmodl.c: Likewise.
22252         * math/w_j0.c: Likewise.
22253         * math/w_j0f.c: Likewise.
22254         * math/w_j0l.c: Likewise.
22255         * math/w_j1.c: Likewise.
22256         * math/w_j1f.c: Likewise.
22257         * math/w_j1l.c: Likewise.
22258         * math/w_jn.c: Likewise.
22259         * math/w_jnf.c: Likewise.
22260         * math/w_log.c: Likewise.
22261         * math/w_logf.c: Likewise.
22262         * math/w_logl.c: Likewise.
22263         * math/w_log10.c: Likewise.
22264         * math/w_log10f.c: Likewise.
22265         * math/w_log10l.c: Likewise.
22266         * math/w_log2.c: Likewise.
22267         * math/w_log2f.c: Likewise.
22268         * math/w_log2l.c: Likewise.
22269         * math/w_pow.c: Likewise.
22270         * math/w_powf.c: Likewise.
22271         * math/w_powl.c: Likewise.
22272         * math/w_remainder.c: Likewise.
22273         * math/w_remainderf.c: Likewise.
22274         * math/w_remainderl.c: Likewise.
22275         * math/w_scalb.c: Likewise.
22276         * math/w_scalbf.c: Likewise.
22277         * math/w_scalbl.c: Likewise.
22278         * math/w_sqrt.c: Likewise.
22279         * math/w_sqrtf.c: Likewise.
22280         * math/w_sqrtl.c: Likewise.
22281         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22282         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22283         used.
22284         * math/math_private.h: Declare __kernel_standard_f.
22285         * math/w_cosh.c: Remove cruft and optimize a bit.
22286         * math/w_coshf.c: Likewise.
22287         * math/w_coshl.c: Likewise.
22288         * math/w_exp2.c: Likewise.
22289         * math/w_exp2f.c: Likewise.
22290         * math/w_exp2l.c: Likewise.
22291         * math/w_hypot.c: Likewise.
22292         * math/w_hypotf.c: Likewise.
22293         * math/w_hypotl.c: Likewise.
22294         * math/w_lgamma.c: Likewise.
22295         * math/w_lgamma_r.c: Likewise.
22296         * math/w_lgammaf.c: Likewise.
22297         * math/w_lgammaf_r.c: Likewise.
22298         * math/w_lgammal.c: Likewise.
22299         * math/w_lgammal_r.c: Likewise.
22300         * math/w_sinh.c: Likewise.
22301         * math/w_sinhf.c: Likewise.
22302         * math/w_sinhl.c: Likewise.
22303         * math/w_tgamma.c: Likewise.
22304         * math/w_tgammaf.c: Likewise.
22305         * math/w_tgammal.c: Likewise.
22306         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22307         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22308         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22309         Minor optimizations.  Pretty printing.  Remove cruft.
22310         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22311         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22312         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22313         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22314         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22315         * sysdeps/i386/fpu/e_asin.S: Likewise.
22316         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22317         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22318         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22319         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22320         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22321         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22322         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22323         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22324         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22325         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22326         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22327         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22328         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22329         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22330         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22331         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22332         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22333         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22334         * sysdeps/i386/fpu/e_log.S: Likewise.
22335         * sysdeps/i386/fpu/e_log10.S: Likewise.
22336         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22337         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22338         * sysdeps/i386/fpu/e_log2.S: Likewise.
22339         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22340         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22341         * sysdeps/i386/fpu/e_logf.S: Likewise.
22342         * sysdeps/i386/fpu/e_logl.S: Likewise.
22343         * sysdeps/i386/fpu/e_pow.S: Likewise.
22344         * sysdeps/i386/fpu/e_powf.S: Likewise.
22345         * sysdeps/i386/fpu/e_powl.S: Likewise.
22346         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22347         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22348         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22349         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22350         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22351         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22352         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22353         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22354         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22355         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22356         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22357         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22358         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22359         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22360         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22361         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22362         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22363         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22364         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22365         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22366         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22368         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22369         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22370         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22371         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22372         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22373         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22374         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22375         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22376         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22377         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22378         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22379         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22380         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22381         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22382         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22383         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22384         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22385         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22386         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22387         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22388         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22389         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22390         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22391         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22392         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22393         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22394         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22395         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22396         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22397         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22398         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22399         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22400         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22401         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22402         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22403         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22404         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22405         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22406         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22407         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22408         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22409         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22410         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22411         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22412         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22413         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22414         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22415         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22416         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22417         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22418         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22419         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22420         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22421         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22422         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22423         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22424         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22425         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22426         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22427         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22428         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22429         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22430         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22431         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22432         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22433         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22434         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22435         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22436         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22437         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22438         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22439         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22440         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22441         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22442         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22443         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22444         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22445         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22446         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22447         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22448         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22449         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22450         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22451         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22452         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22453         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22454         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22455         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22456         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22457         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22458         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22459         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22460         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22461         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22462         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22463         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22464         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22465         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22466         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22467         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22468         (__isnanf): Likewise.
22469         (__isinf_ns): Likewise.
22470         (__isinf_nsf): Likewise.
22471         (__finite): Likewise.
22472         (__finitef): Likewise.
22473         (__ieee754_sqrt): Define as macro.
22474         (__ieee754_sqrtf): Define as macro.
22475         (__ieee754_sqrtl): Define as macro.
22476         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22477         inlined copy.
22478         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22479         __FINITE_MATH_ONLY__ consistent.
22480         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22482 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22484         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22485         of rawmemchr.
22487         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22489 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22491         * po/ja.po: Update from translation team.
22493 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22495         * locale/programs/locarchive.c (prepare_address_space): New function.
22496         (create_archive, enlarge_archive, open_archive): Use it.
22498         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22499         inside [SHARED], where it is used.
22501         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22503         * nss/getent.c (netgroup_keys): Remove unused variable.
22504         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22506 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22508         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22509         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22510         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22511         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22512         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22513         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22514         * math/Makefile (libm-calls): Add s_isinf_ns.
22515         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22516         * math/multc3.c: Likewise.
22517         * math/s_casin.c: Likewise.
22518         * math/s_casinf.c: Likewise.
22519         * math/s_casinl.c: Likewise.
22520         * math/s_ccos.c: Likewise.
22521         * math/s_ccosf.c: Likewise.
22522         * math/s_ccosl.c: Likewise.
22523         * math/s_ctan.c: Likewise.
22524         * math/s_ctanf.c: Likewise.
22525         * math/s_ctanh.c: Likewise.
22526         * math/s_ctanhf.c: Likewise.
22527         * math/s_ctanhl.c: Likewise.
22528         * math/s_ctanl.c: Likewise.
22529         * math/w_fmod.c: Likewise.
22530         * math/w_fmodf.c: Likewise.
22531         * math/w_fmodl.c: Likewise.
22532         * math/w_remainder.c: Likewise.
22533         * math/w_remainderf.c: Likewise.
22534         * math/w_remainderl.c: Likewise.
22535         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22536         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22537         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22538         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22539         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22540         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22541         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22542         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22544         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22545         of the number.
22546         * stdio-common/printf_fphex.c: Likewise.
22547         * stdio-common/printf_size.c: Likewise.
22549         * math/e_exp10.c: Include math_private.h using <...> not "...".
22550         * math/e_exp10f.c: Likewise.
22551         * math/e_exp10l.c: Likewise.
22552         * math/e_exp2l.c: Likewise.
22553         * math/e_j0l.c: Likewise.
22554         * math/e_j1l.c: Likewise.
22555         * math/e_jnl.c: Likewise.
22556         * math/e_lgammal_r.c: Likewise.
22557         * math/e_rem_pio2l.c: Likewise.
22558         * math/e_scalb.c: Likewise.
22559         * math/e_scalbf.c: Likewise.
22560         * math/e_scalbl.c: Likewise.
22561         * math/k_cosl.c: Likewise.
22562         * math/k_sinl.c: Likewise.
22563         * math/k_tanl.c: Likewise.
22564         * math/s_cacoshf.c: Likewise.
22565         * math/s_catan.c: Likewise.
22566         * math/s_catanf.c: Likewise.
22567         * math/s_catanh.c: Likewise.
22568         * math/s_catanhf.c: Likewise.
22569         * math/s_catanhl.c: Likewise.
22570         * math/s_catanl.c: Likewise.
22571         * math/s_ccosh.c: Likewise.
22572         * math/s_ccoshf.c: Likewise.
22573         * math/s_ccoshl.c: Likewise.
22574         * math/s_cexp.c: Likewise.
22575         * math/s_cexpf.c: Likewise.
22576         * math/s_cexpl.c: Likewise.
22577         * math/s_clog.c: Likewise.
22578         * math/s_clog10.c: Likewise.
22579         * math/s_clog10f.c: Likewise.
22580         * math/s_clog10l.c: Likewise.
22581         * math/s_clogf.c: Likewise.
22582         * math/s_clogl.c: Likewise.
22583         * math/s_csin.c: Likewise.
22584         * math/s_csinf.c: Likewise.
22585         * math/s_csinh.c: Likewise.
22586         * math/s_csinhf.c: Likewise.
22587         * math/s_csinhl.c: Likewise.
22588         * math/s_csinl.c: Likewise.
22589         * math/s_csqrt.c: Likewise.
22590         * math/s_csqrtf.c: Likewise.
22591         * math/s_csqrtl.c: Likewise.
22592         * math/s_ctan.c: Likewise.
22593         * math/s_ctanf.c: Likewise.
22594         * math/s_ctanh.c: Likewise.
22595         * math/s_ctanhf.c: Likewise.
22596         * math/s_ctanhl.c: Likewise.
22597         * math/s_ctanl.c: Likewise.
22598         * math/s_ldexp.c: Likewise.
22599         * math/s_ldexpf.c: Likewise.
22600         * math/s_ldexpl.c: Likewise.
22601         * math/s_significand.c: Likewise.
22602         * math/s_significandf.c: Likewise.
22603         * math/s_significandl.c: Likewise.
22604         * math/w_acos.c: Likewise.
22605         * math/w_acosf.c: Likewise.
22606         * math/w_acosh.c: Likewise.
22607         * math/w_acoshf.c: Likewise.
22608         * math/w_acoshl.c: Likewise.
22609         * math/w_acosl.c: Likewise.
22610         * math/w_asin.c: Likewise.
22611         * math/w_asinf.c: Likewise.
22612         * math/w_asinl.c: Likewise.
22613         * math/w_atan2.c: Likewise.
22614         * math/w_atan2f.c: Likewise.
22615         * math/w_atan2l.c: Likewise.
22616         * math/w_atanh.c: Likewise.
22617         * math/w_atanhf.c: Likewise.
22618         * math/w_atanhl.c: Likewise.
22619         * math/w_cosh.c: Likewise.
22620         * math/w_coshf.c: Likewise.
22621         * math/w_coshl.c: Likewise.
22622         * math/w_dremf.c: Likewise.
22623         * math/w_exp10.c: Likewise.
22624         * math/w_exp10f.c: Likewise.
22625         * math/w_exp10l.c: Likewise.
22626         * math/w_exp2.c: Likewise.
22627         * math/w_exp2f.c: Likewise.
22628         * math/w_fmod.c: Likewise.
22629         * math/w_fmodf.c: Likewise.
22630         * math/w_fmodl.c: Likewise.
22631         * math/w_hypot.c: Likewise.
22632         * math/w_hypotf.c: Likewise.
22633         * math/w_hypotl.c: Likewise.
22634         * math/w_j0.c: Likewise.
22635         * math/w_j0f.c: Likewise.
22636         * math/w_j0l.c: Likewise.
22637         * math/w_j1.c: Likewise.
22638         * math/w_j1f.c: Likewise.
22639         * math/w_j1l.c: Likewise.
22640         * math/w_jn.c: Likewise.
22641         * math/w_jnf.c: Likewise.
22642         * math/w_jnl.c: Likewise.
22643         * math/w_lgamma.c: Likewise.
22644         * math/w_lgamma_r.c: Likewise.
22645         * math/w_lgammaf.c: Likewise.
22646         * math/w_lgammaf_r.c: Likewise.
22647         * math/w_lgammal.c: Likewise.
22648         * math/w_lgammal_r.c: Likewise.
22649         * math/w_log.c: Likewise.
22650         * math/w_log10.c: Likewise.
22651         * math/w_log10f.c: Likewise.
22652         * math/w_log10l.c: Likewise.
22653         * math/w_log2.c: Likewise.
22654         * math/w_log2f.c: Likewise.
22655         * math/w_log2l.c: Likewise.
22656         * math/w_logf.c: Likewise.
22657         * math/w_logl.c: Likewise.
22658         * math/w_pow.c: Likewise.
22659         * math/w_powf.c: Likewise.
22660         * math/w_powl.c: Likewise.
22661         * math/w_remainder.c: Likewise.
22662         * math/w_remainderf.c: Likewise.
22663         * math/w_remainderl.c: Likewise.
22664         * math/w_scalb.c: Likewise.
22665         * math/w_scalbf.c: Likewise.
22666         * math/w_scalbl.c: Likewise.
22667         * math/w_sinh.c: Likewise.
22668         * math/w_sinhf.c: Likewise.
22669         * math/w_sinhl.c: Likewise.
22670         * math/w_sqrt.c: Likewise.
22671         * math/w_sqrtf.c: Likewise.
22672         * math/w_sqrtl.c: Likewise.
22673         * math/w_tgamma.c: Likewise.
22674         * math/w_tgammaf.c: Likewise.
22675         * math/w_tgammal.c: Likewise.
22677         * po/ja.po: Update from translation team.
22679 2011-09-29  Andreas Jaeger  <aj@suse.de>
22681         [BZ #13179]
22682         * sunrpc/netname.c (netname2host): Fix logic.
22684         [BZ #6779]
22685         [BZ #6783]
22686         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22687         correctly.
22688         * math/w_remainder.c (__remainder): Likewise.
22689         * math/w_remainderf.c (__remainderf): Likewise.
22690         * math/libm-test.inc (remainder_test): Add test cases.
22692 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22694         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22695         sdiv_qrnnd.
22697 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22699         * string/test-memcmp.c: Avoid unncessary #defines.
22700         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22702 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22704         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22705         Use new sse2 version for core i3 - i7 as it's faster
22706         than sse42 version.
22707         (bit_Prefer_PMINUB_for_stringop): New.
22708         * sysdeps/x86_64/rawmemchr.S: Update.
22709         Replace with faster SSE2 version.
22710         * sysdeps/x86_64/memrchr.S: New file.
22711         * sysdeps/x86_64/memchr.S: Update.
22712         Replace with faster SSE2 version.
22714 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
22716         * elf/dl-load.c (lose): Add cast to avoid warning.
22718 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22720         * po/ca.po: Update from translation team.
22722         * inet/getnetgrent_r.c: Hook up nscd.
22723         * nscd/Makefile (routines): Add nscd_netgroup.
22724         (nscd-modules): Add netgroupcache.
22725         (CFLAGS-netgroupcache.c): Define.
22726         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22727         (cache_search): Add const to second parameter.
22728         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22729         INNETGR.
22730         (dbs): Add netgrdb entry.
22731         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22732         (verify_persistent_db): Handle netgrdb.
22733         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22734         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22735         GETFDNETGR.
22736         (netgroup_response_header): Define.
22737         (innetgroup_response_header): Define.
22738         (datahead): Add netgroup_response_header and innetgroup_response_header
22739         elements.
22740         * nscd/nscd.conf: Add entries for netgroup cache.
22741         * nscd/nscd.h (dbtype): Add netgrdb.
22742         (_PATH_NSCD_NETGROUP_DB): Define.
22743         (netgroup_iov_disabled): Declare.
22744         (xmalloc, xcalloc, xrealloc): Move declarations here.
22745         (cache_search): Adjust prototype.
22746         Add netgroup-related prototypes.
22747         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22748         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22749         (__nscd_innetgr): Declare.
22750         * nscd/selinux.c (perms): Use access_vector_t as element type and
22751         add netgroup-related initializers.
22752         * nscd/netgroupcache.c: New file.
22753         * nscd/nscd_netgroup.c: New file.
22754         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22755         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22756         For four parameters use innetgr.
22757         * nss/nss_files/files-init.c: Add definition and callback for netgr.
22758         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22759         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22760         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22762         * nscd/connections.c (register_traced_file): Don't register file
22763         for disabled databases.
22765 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
22767         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22769         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22770         from tree and freeing node.
22772 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
22774         * nss/nsswitch.c (__nss_database_lookup): Handle
22775         nss_parse_service_list out of memory case.
22777 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
22779         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22780         out of memory case.
22782 2011-10-04  Andreas Schwab  <schwab@redhat.com>
22784         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22785         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22786         pass it down.
22787         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22788         elf_machine_rela, elf_machine_lazy_rel.
22789         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22790         (ELF_DYNAMIC_DO_REL): Likewise.
22791         (ELF_DYNAMIC_DO_RELA): Likewise.
22792         (ELF_DYNAMIC_RELOCATE): Likewise.
22793         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22794         to ELF_DYNAMIC_DO_REL.
22795         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22796         (dl_main): In trace mode always set __RTLD_NOIFUNC.
22797         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22798         elf_machine_rela.
22799         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22800         skip_ifunc, don't call ifunc function if non-zero.
22801         (elf_machine_rela): Likewise.
22802         (elf_machine_lazy_rel): Likewise.
22803         (elf_machine_lazy_rela): Likewise.
22804         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22805         (elf_machine_lazy_rel): Likewise.
22806         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22807         Likewise.
22808         (elf_machine_lazy_rel): Likewise.
22809         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22810         Likewise.
22811         (elf_machine_lazy_rel): Likewise.
22812         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22813         (elf_machine_lazy_rel): Likewise.
22814         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22815         (elf_machine_lazy_rel): Likewise.
22816         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22817         (elf_machine_lazy_rel): Likewise.
22818         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22819         (elf_machine_lazy_rel): Likewise.
22820         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22821         (elf_machine_lazy_rel): Likewise.
22822         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22823         (elf_machine_lazy_rel): Likewise.
22825 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
22827         * nss/nss_files/files-init.c (_nss_files_init): Use static
22828         initialization for all the *_traced_file variables.
22830 2011-09-28  Andreas Schwab  <schwab@redhat.com>
22832         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22834 2011-09-27  Roland McGrath  <roland@hack.frob.com>
22836         [BZ #13226]
22837         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22839 2011-09-27  Andreas Schwab  <schwab@redhat.com>
22841         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22842         Reread the line before reparsing it.
22844 2011-09-26  Andreas Schwab  <schwab@redhat.com>
22846         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22848 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
22849             Maxim Kuvyrkov  <maxim@codesourcery.com>
22850             Joseph Myers  <joseph@codesourcery.com>
22852         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22853         if needed for __stack_chk_guard.
22855 2011-09-19  Roland McGrath  <roland@hack.frob.com>
22857         * sysdeps/posix/spawni.c (script_execute): Always define it.
22858         It will be optimized away if unused.
22859         (maybe_script_execute): New function.
22860         (__spawni): Call it.
22862         * Makerules: Don't include tls.make.
22863         (config-tls): Always set to thread.
22864         * tls.make.c: File removed.
22866 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
22868         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22869         * config.make.in (CPPFLAGS-config): New substituted variable.
22871 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22873         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22875         [BZ #13192]
22876         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22877         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22879 2011-09-15  Roland McGrath  <roland@hack.frob.com>
22881         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22882         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22883         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22884         (CALL_FAIL): Likewise.
22885         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22886         (CALL_FAIL): Macro removed.
22887         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22889 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22891         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22892         for __FINITE_MATH_ONLY__ == 1.
22894 2011-09-15  Andreas Schwab  <schwab@redhat.com>
22896         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22897         __ieee754_sqrt instead of sqrt.
22898         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22899         __ieee754_sqrtf instead of sqrtf.
22900         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22901         __floorf instead of floorf.
22902         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22903         __floorf, __truncf instead of floorf, truncf.
22905 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
22907         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22909         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22910         __extern_always_inline.
22911         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22912         32-bit.
22914 2011-09-14  Andreas Schwab  <schwab@redhat.com>
22916         * elf/rtld.c (dl_main): Also relocate in dependency order when
22917         doing symbol dependency testing.
22919 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
22921         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22922         Always define `refsym'.
22924 2011-09-13  Andreas Schwab  <schwab@redhat.com>
22926         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22927         (__FD_ELT): Renamed from __FDELT.
22928         * misc/bits/select2.h (__FD_ELT): Likewise.
22929         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22930         __FD_MASK instead of __FDELT, __FDMASK.
22931         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22932         Likewise.
22933         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22934         Likewise.
22936         * elf/Makefile (gen-ldd): Fix pattern.
22938         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22939         (init_tls): Likewise.
22941 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
22943         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22945 2011-09-12  Andreas Schwab  <schwab@redhat.com>
22947         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22948         `struct cmsghdr *' instead of `void *'.
22949         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22950         Likewise.
22952 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
22954         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22955         if non-absolute.
22956         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22957         ldd_rewrite_script.
22959 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
22961         * configure.in: Remove --with-tls option.
22962         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22963         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22964         out in case it is missing.
22965         * sysdeps/ia64/elf/configure.in: Likewise.
22966         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22967         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22968         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22969         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22970         * sysdeps/sh/elf/configure.in: Likewise.
22971         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22972         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22973         * sysdeps/x86_64/elf/configure.in: Likewise.
22974         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22975         * sysdeps/mach/hurd/tls.h: Likewise.
22977         [BZ #13067]
22978         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22980         [BZ #13090]
22981         * configure.in: Fix use of AC_INIT.
22983         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22985 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
22987         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22988         __set_errno.
22989         * malloc/hooks.c: Likewise.
22991         [BZ #11929]
22992         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
22993         variables statically.
22994         (narenas): Initialize.
22995         (list_lock): Initialize.
22996         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
22997         initializtion of main_arena and list_lock.  Small cleanups.
22998         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22999         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23000         Add initializers to main_arena and mp_.
23001         (malloc_state): Remove pagesize member.  Change all users to use
23002         GLRO(dl_pagesize).
23004         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23005         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23006         is always initialized.
23008         * malloc/malloc.c: Removed unused configurations and dead code.
23009         * malloc/arena.c: Likewise.
23010         * malloc/hooks.c: Likewise.
23011         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23013         * include/tls.h: Removed.  USE___THREAD must always be defined.
23014         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23015         * elf/dl-libc.c: Likewise.
23016         * elf/dl-tsd.c: Likewise.
23017         * include/errno.h: Likewise.
23018         * include/netdb.h: Likewise.
23019         * include/resolv.h: Likewise.
23020         * inet/herrno-loc.c: Likewise.
23021         * inet/herrno.c: Likewise.
23022         * malloc/arena.c: Likewise.
23023         * malloc/hooks.c: Likewise.
23024         * malloc/malloc.c: Likewise.
23025         * resolv/res-state.c: Likewise.
23026         * resolv/res_libc.c: Likewise.
23027         * sysdeps/i386/dl-machine.h: Likewise.
23028         * sysdeps/ia64/dl-machine.h: Likewise.
23029         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23030         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23031         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23032         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23033         * sysdeps/sh/dl-machine.h: Likewise.
23034         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23035         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23036         * sysdeps/unix/i386/sysdep.S: Likewise.
23037         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23038         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23039         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23041         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23043         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23044         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23045         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23047         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23048         * sysdeps/x86_64/dl-machine.h: Likewise.
23049         * tls.make.c: Likewise.
23051         * configure.in: Remove --with-__thread option.  Make tests for
23052         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23053         tls_model attribute fail if no support is available.  Remove
23054         USE_IN_LIBIO.
23055         * Makeconfig: Adjust for dropped configure option.  All features are
23056         now mandatory.
23057         * Makerules: Likewise.
23058         * Versions.def: Likewise.
23059         * argp/argp-fmtstream.c: Likewise.
23060         * argp/argp-fmtstream.h: Likewise.
23061         * argp/argp-help.c: Likewise.
23062         * assert/assert.c: Likewise.
23063         * config.h.in: Likewise.
23064         * config.make.in: Likewise.
23065         * configure: Likewise.
23066         * configure.in: Likewise.
23067         * csu/Versions: Likewise.
23068         * csu/init.c: Likewise.
23069         * elf/tst-audit2.c: Likewise.
23070         * elf/tst-tls10.c: Likewise.
23071         * elf/tst-tls10.h: Likewise.
23072         * elf/tst-tls11.c: Likewise.
23073         * elf/tst-tls12.c: Likewise.
23074         * elf/tst-tls14.c: Likewise.
23075         * elf/tst-tlsmod11.c: Likewise.
23076         * elf/tst-tlsmod12.c: Likewise.
23077         * elf/tst-tlsmod13.c: Likewise.
23078         * elf/tst-tlsmod13a.c: Likewise.
23079         * elf/tst-tlsmod14a.c: Likewise.
23080         * elf/tst-tlsmod15b.c: Likewise.
23081         * elf/tst-tlsmod16a.c: Likewise.
23082         * elf/tst-tlsmod16b.c: Likewise.
23083         * elf/tst-tlsmod7.c: Likewise.
23084         * elf/tst-tlsmod8.c: Likewise.
23085         * elf/tst-tlsmod9.c: Likewise.
23086         * gmon/gmon.c: Likewise.
23087         * grp/fgetgrent_r.c: Likewise.
23088         * grp/putgrent.c: Likewise.
23089         * hurd/fopenport.c: Likewise.
23090         * include/libc-symbols.h: Likewise.
23091         * include/tls.h: Likewise.
23092         * intl/gettextP.h: Likewise.
23093         * intl/loadinfo.h: Likewise.
23094         * locale/global-locale.c: Likewise.
23095         * locale/localeinfo.h: Likewise.
23096         * mach/devstream.c: Likewise.
23097         * malloc/arena.c: Likewise.
23098         * malloc/set-freeres.c: Likewise.
23099         * misc/err.c: Likewise.
23100         * misc/getttyent.c: Likewise.
23101         * misc/mntent_r.c: Likewise.
23102         * posix/getopt.c: Likewise.
23103         * posix/wordexp.c: Likewise.
23104         * pwd/fgetpwent_r.c: Likewise.
23105         * resolv/Versions: Likewise.
23106         * resolv/res_hconf.c: Likewise.
23107         * shadow/fgetspent_r.c: Likewise.
23108         * shadow/putspent.c: Likewise.
23109         * stdio-common/printf_fphex.c: Likewise.
23110         * stdio-common/tmpfile.c: Likewise.
23111         * stdlib/abort.c: Likewise.
23112         * stdlib/fmtmsg.c: Likewise.
23113         * sunrpc/auth_unix.c: Likewise.
23114         * sunrpc/clnt_perr.c: Likewise.
23115         * sunrpc/clnt_tcp.c: Likewise.
23116         * sunrpc/clnt_udp.c: Likewise.
23117         * sunrpc/clnt_unix.c: Likewise.
23118         * sunrpc/openchild.c: Likewise.
23119         * sunrpc/svc_simple.c: Likewise.
23120         * sunrpc/svc_tcp.c: Likewise.
23121         * sunrpc/svc_udp.c: Likewise.
23122         * sunrpc/svc_unix.c: Likewise.
23123         * sunrpc/xdr.c: Likewise.
23124         * sunrpc/xdr_array.c: Likewise.
23125         * sunrpc/xdr_rec.c: Likewise.
23126         * sunrpc/xdr_ref.c: Likewise.
23127         * sunrpc/xdr_stdio.c: Likewise.
23129 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23131         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23133 2011-07-03  Andreas Jaeger  <aj@suse.de>
23135         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23136         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23137         regenerate with gen-libm-tests.pl.
23139 2010-05-12  Petr Baudis  <pasky@suse.cz>
23141         [BZ #11589]
23142         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23143         around j0() zero points by switching to j1().
23144         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23145         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23147         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23149 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23151         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23152         instead of 0.
23153         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23154         instead of 0.
23155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23156         Patch in part by Pavel Roskin <proski@gnu.org>.
23158         [BZ #13138]
23159         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23160         realloc.
23161         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23162         Free memory block if necessary.
23164         [BZ #12847]
23165         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23166         be NULL.  Don't lock in this case.
23168 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23170         * elf/elf.h (ELFOSABI_GNU): New macro.
23171         (ELFOSABI_LINUX): Define to that.
23173 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23175         * string/strncat.c (strncat): Undef the symbol in case it has been
23176         defined in bits/string.h.
23178 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23180         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23182         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23183         link map.
23185 2011-08-17  Andreas Jaeger  <aj@suse.de>
23187         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23189 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23190             Ian Lance Taylor  <iant@google.com>
23192         * math/libm-test.inc (lround_test): New testcase.
23193         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23195 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23197         * Makefile: Remove support for automatic cvs check-ins.
23198         * Makerules: Likewise.
23199         * config.make.in: Likewise.
23200         * configure.in: Likewise.
23201         * intl/Makefile: Likewise.
23202         * locale/Makefile: Likewise.
23203         * po/Makefile: Likewise.
23204         * posix/Makefile: Likewise.
23205         * sysdeps/gnu/Makefile: Likewise.
23206         * sysdeps/mach/hurd/Makefile: Likewise.
23207         * sysdeps/sparc/sparc32/Makefile: Likewise.
23209         [BZ #13118]
23210         * posix/Makefile (bug-regex32-ENV): Define.
23211         Patch by John Stanley <jpsinthemix@verizon.net>.
23213         * misc/Makefile (headers): Add bits/select2.h.
23214         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23215         * misc/bits/select2.h: New file.
23216         * include/bits/select2.h: New file.
23217         * debug/Makefile (routines): Add fdelt_chk.
23218         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23219         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23220         FD_ISSET.
23221         * debug/fdelt_chk.c: New file.
23223         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23224         * wcsmbs/test-wmemcmp.c: Likewise.
23225         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23226         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23228 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23230         * string/Makefile (strop-tests): Add memcmp.
23231         * string/test-wmemcmp.c: New file.
23232         * string/test-memcmp.c: Add wmemcmp support.
23234 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23236         [BZ #13153]
23237         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23238         2011-07-19 change.
23240         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23241         garbage value in a __mach_port_mod_refs call in the cases of the
23242         task-self and thread-self ports.
23244 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23246         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23248 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23250         * elf/dl-load.c (lose): Check for non-null L.
23252 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23254         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23256         * elf/dl-libc.c (dlerror_run): Pass back error code from
23257         dl_catch_error.
23259         [BZ #13123]
23260         * elf/dl-load.c (lose): Free l_origin if it is valid.
23262         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23263         names.
23264         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23265         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23266         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23267         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23268         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23269         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23271 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23273         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23274         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23275         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23276         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23277         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23278         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23279         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23280         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23281         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23282         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23284 2011-08-15  Alan Modra  <amodra@gmail.com>
23286         [BZ #13092]
23287         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23288         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23289         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23290         ppc_mcount to static-only-routines.
23291         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23292         __mcount_internal.
23293         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23294         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23296 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23298         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23299         for finite and infinity parameters.
23301 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23303         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23304         and add nop instructions for throughput optimization.
23305         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23307 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23309         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23310         aligned copy for power7 with vector-scalar instructions.
23311         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23313 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23315         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23316         AVX check.
23318 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23320         [BZ #13144]
23321         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23322         last change.
23324 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23326         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23327         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23328         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23329         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23330         clock_gettime.
23332 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23334         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23335         Forgot to demangle the pointer.
23337         * sysdeps/i386/sysdep.h: Define atom_text_section.
23338         * sysdeps/x86_64/sysdep.h: Likewise.
23339         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23340         section with atom_text_section.
23341         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23342         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23343         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23344         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23345         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23347         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23348         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23349         already be defined.  Change to take two parameters and don't assign
23350         result to variable.  Adjust all users.
23351         Define INTERNAL_GETTIME if not already defined.
23352         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23353         call.
23354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23355         HAVE_CLOCK_GETTIME_VSYSCALL.
23356         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23358         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23359         gettimeofday vsyscall, just use time.
23361 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23363         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23364         <errno.h>.
23366 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23368         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23369         syscall on x86-64.
23370         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23371         syscall.
23372         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23373         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23374         syscall if possible.
23376 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23378         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23379         e_ident.  Don't pass to find_mapsXX.
23380         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23382 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23385         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23386         * sysdeps/x86_64/multiarch/strchr.S: Update.
23387         Check bit_slow_BSF bit.
23388         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23389         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23390         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23392 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23394         [BZ #13134]
23395         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23396         before glibc 2.15.
23397         (tryshell): Define.
23398         (__spawni): Change last parameter to be flag.  Test
23399         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23400         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23401         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23402         * posix/spawni.c: Likewise.
23403         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23404         * posix/spawnp.c: Likewise.  Change normal version to use
23405         SPAWN_XFLAGS_USE_PATH.
23406         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23407         SPAWN_XFLAGS_TRY_SHELL.
23409         [BZ #13150]
23410         * posix/glob.h: Remove gcc 1.x support.
23412         [BZ #13068]
23413         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23415 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23417         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23418         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23419         strrchr-sse2-bsf
23420         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23421         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23422         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23423         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23424         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23425         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23427 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23429         * sysdeps/x86_64/wcscmp.S: New file.
23431         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23432         wcscmp-c wcscmp-sse2
23433         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23434         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23435         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23436         * wcsmbs/wcscmp.c: Allow renaming.
23438 2011-09-05  David S. Miller  <davem@davemloft.net>
23440         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23441         stack slot, rather than the struct return pointer slot.
23442         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23443         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23445         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23447 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23449         * po/ja.po: Update from translation team.
23451         [BZ #13144]
23452         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23453         kernel in 64-bit binaries.
23455 2011-09-01  David S. Miller  <davem@davemloft.net>
23457         * elf/elf.h (HWCAP_SPARC_*): Move to..
23458         * sysdeps/sparc/sysdep.h: this new file and add new values.
23459         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23460         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23461         _DL_HWCAP_COUNT to 24.
23462         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23463         entries.
23464         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23465         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23466         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23467         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23468         instead of magic constants.
23469         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23471 2011-08-31  David S. Miller  <davem@davemloft.net>
23473         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23474         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23475         Reimplement to do errno handling inline.
23476         (SYSCALL_ERROR_HANDLER): New macro.
23477         (__SYSCALL_STRING): Do not do errno handling in asm.
23478         (__CLONE_SYSCALL_STRING): Delete.
23479         (__INTERNAL_SYSCALL_STRING): Delete.
23480         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23481         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23482         (PSEUDO): Reimplement to do errno handling inline.
23483         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23484         (SYSCALL_ERROR_HANDLER): New macro.
23485         (__SYSCALL_STRING): Do not do errno handling in asm.
23486         (__CLONE_SYSCALL_STRING): Delete.
23487         (__INTERNAL_SYSCALL_STRING): Delete.
23488         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23489         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23490         i386.
23491         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23492         (inline_syscall*): Add 'err' argument.
23493         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23494         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23495         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23496         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23498         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23499         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23501 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23503         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23505 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23507         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23508         directive.
23510 2011-08-24  David S. Miller  <davem@davemloft.net>
23512         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23514 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23516         * elf/Makefile: Add rules to build and run unload8 test.
23517         * elf/unload8.c: New file.
23518         * elf/unload8mod1.c: New file.
23519         * elf/unload8mod1x.c: New file.
23520         * elf/unload8mod2.c: New file.
23521         * elf/unload8mod3.c: New file.
23523         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23524         it wasn't used.
23526 2011-08-23  David S. Miller  <davem@davemloft.net>
23528         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23529         subtract stack bias.
23530         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23531         %sp not %fp in calculations.
23532         (_JMPBUF_UNWINDS_ADJ): Likewise.
23534         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23535         (aio_suspend): Call it to force an exception region around the
23536         AIO_MISC_WAIT() invocation.
23538 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23540         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23541         backslash.
23543 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23545         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23546         protection macro.
23547         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23548         and <dl-machine.h>.
23549         (Elf64_FuncDesc): Remove.
23551 2011-08-22  David S. Miller  <davem@davemloft.net>
23553         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23554         sigaltstack check, add missing cfi directives.
23555         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23556         missing cfi directives, and sigaltstack handling.
23558 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23560         [BZ #11724]
23561         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23562         object is seen twice.
23563         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23565         * elf/Makefile (distribute): Add tst-initorder2.c.
23566         (tests): Add tst-initorder2.
23567         (modules-names): Add tst-initorder2a tst-initorder2b
23568         tst-initorder2c tst-initorder2d.  Add rules to build them.
23569         ($(objpfx)tst-initorder2.out): New rule.
23570         * elf/tst-initorder2.c: New file.
23571         * elf/tst-initorder2.exp: New file.
23573 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23575         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23577         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23578         dependencies back to end of function.
23580         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23581         $(elfobjdir)/ld.so.
23583 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23585         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23586         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23587         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23588         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23589         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23590         of __vdso_gettimeofday.
23591         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23592         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23593         attribute_hidden.
23594         (_libc_vdso_platform_setup): Remove initialization of
23595         __vdso_gettimeofday and __vdso_time.
23597 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23599         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23600         and fgetc_unlocked.
23601         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23602         getc_unlocked.
23604         * elf/dl-open.c (add_to_global): Report additions to the global scope
23605         for LD_DEBUG=scopes.
23606         (dl_open_worker): Also print scope of newly loaded dependencies.
23607         (_dl_show_scope): Indicate if there is no scope.
23609         [BZ #13114]
23610         * stdio-common/Makefile (tests): Add bug24.
23611         * stdio-common/bug24.c: New file.
23613 2011-08-19  Andreas Jaeger  <aj@suse.de>
23615         [BZ #13114]
23616         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23617         non-existant file when using close-on-exec mode.
23619 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23622         the very first instruction.
23624         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23625         the CFI state in the end.
23626         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23627         inclusion of dl-trampoline.h.
23628         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23630 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23632         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23633         expectations for long double.
23635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23636         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23638 2011-08-14  David S. Miller  <davem@davemloft.net>
23640         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23641         artificual limit depends upon the system page size.
23643 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23645         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23646         * resolv/Makefile: Define CFLAGS-libresolv.
23648 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23650         * nss/makedb.c (compute_tables): Make variables used in nested
23651         function static.
23653 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23655         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23656         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23657         if buffer was too small.
23659         * elf/pldd.c (main): Attach to all threads in the process.
23660         Rewrite /proc handling to use *at functions.
23662 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23664         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23665         specifies first scope to show.
23666         (dl_open_worker): Update callers.  Move printing scope of new
23667         object to before the relocation.
23668         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23669         * sysdeps/generic/ldsodefs.h: Update declaration.
23671         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23672         string for the scope number.
23674 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23676         * nscd/servicescache.c (cache_addserv): Make sure written is always
23677         initialized.
23679 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23681         * sysdeps/i386/i486/bits/atomic.h
23682         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23683         statement expression, so as to suppress "set but not used" warning.
23684         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23686         * string/strncat.c (STRNCAT): Use prototype definition.
23688         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23689         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23690         -Iprograms here.
23691         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23692         (localedef-modules): Add localedef.
23693         (locale-modules): Add locale.
23695         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23696         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23697         to avoid a warning.
23699 2011-08-14  David S. Miller  <davem@davemloft.net>
23701         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23702         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23704 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23706         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23707         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23708         * elf/rtld.c (dl_main): Set l_name of vDSO.
23709         Call _dl_show_scope when DL_DEBUG_SCOPES.
23710         (process_dl_debug): Recognize scopes flag and also set it for all.
23711         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23712         Declare _dl_show_scope.
23714         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23715         (do_dlopen): Pass caller_dlopen to dl_open.
23716         (__libc_dlopen_mode): Initialize caller_dlopen.
23718         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23719         of libc.  Make tolower call locale-independent.  Optimize a bit by
23720         using isdigit instead of isalnum.
23721         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23723 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
23725         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23726         was a dependency or dynamically loaded.
23728 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
23730         * intl/l10nflist.c: Allow architecture-specific pop function.
23731         * sysdeps/x86_64/l10nflist.c: New file.
23733         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23734         classification.
23736 2011-08-10  Andreas Schwab  <schwab@redhat.com>
23738         * include/dirent.h: Add libc_hidden_proto for scandirat and
23739         scandirat64.  Don't declare __scandirat64.
23740         * dirent/scandirat.c: Add libc_hidden_def.
23741         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23742         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23744 2011-08-10  David S. Miller  <davem@davemloft.net>
23746         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23747         enum.
23748         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23749         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23750         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23752 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
23754         * Versions.def [libc]: Add GLIBC_2.15.
23755         * dirent/Makefile (routines): Add scandirat and scandirat64.
23756         * dirent/Versions [libc]: Export scandirat and scandirat64 for
23757         GLIBC_2.15.
23758         * dirent/dirent.h: Declare scandirat and scandirat64.
23759         * dirent/scandirat.c: New file.
23760         * dirent/scandirat64.c: New file.
23761         * sysdeps/wordsize-64/scandirat.c: New file.
23762         * sysdeps/wordsize-64/scandirat64.c: New file.
23763         * dirent/opendir.c: Define opendirat.
23764         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
23765         using scandirat.
23766         * dirent/scandir64.c: Adjust for scandir.c change.
23767         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
23768         __scandirat64, and __scandir_cancel_handler.
23769         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
23770         additional parameter and use openat instead of open (outside of ld.so).
23771         Add new __opendir as wrapper around __opendirat.
23772         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23773         here without requiring old scandirat implementation.
23775 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
23777         * dirent/scandir.c (cancel_handler): Renamed to
23778         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
23779         defined.  Adjust users.
23780         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23781         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23783 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
23785         * string/test-string.h (IMPL): Use __STRING to expand name and then
23786         stringify it.
23788         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
23789         of cleanups.
23791 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23793         * string/Makefile: Update.
23794         (strop-tests): Append strncat.
23795         * string/test-wcscmp.c: New file.
23796         New comprehensive test for wcscmp.
23797         * string/test-strcmp.c: Update.
23798         (WIDE): New define.
23800 2011-07-22  Andreas Schwab  <schwab@redhat.com>
23802         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23803         line.
23805 2011-07-26  Andreas Schwab  <schwab@redhat.com>
23807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23808         encoding to ACE if AI_IDN.
23810 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
23812         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23813         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23815 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23817         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23818         Fix overflow bug in strncat.
23819         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23821         * string/test-strncat.c: Update.
23822         Add new tests for checking overflow bugs.
23824 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23827         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23828         * sysdeps/i386/i686/multiarch/strcat.S: New file.
23829         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23830         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23831         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23832         * sysdeps/i386/i686/multiarch/strncat.S: New file.
23833         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23834         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23836         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23837         (USE_AS_STRCAT): Define.
23838         Add strcat and strncat support.
23839         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23841 2011-07-25  Andreas Schwab  <schwab@redhat.com>
23843         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23844         __n bigger than INT_MAX+1.
23845         (__strncmp_g): Likewise.
23847 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
23849         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23850         * libio/stido.h: Likewise.
23852         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23853         (AF_NFC): Define.
23854         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23855         (AF_NFC): Define.
23857         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23858         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23859         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23860         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23861         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23863         [BZ #13021]
23864         * scripts/test-installation.pl: Don't expect libnss_test1 to be
23865         installed.
23867         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23868         typo.
23869         (_dl_x86_64_save_sse): Likewise.
23871 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
23873         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23874         OSXSAVE.
23875         (_dl_x86_64_save_sse): Likewise.
23877         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23879         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23881 2011-07-21  Andreas Schwab  <schwab@redhat.com>
23883         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23884         change.
23885         (_dl_x86_64_save_sse): Use correct AVX check.
23887 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23889         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23890         bug in strncpy/strncat.
23891         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23893 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
23895         * string/tester.c (test_strcat): Add tests for different alignments
23896         of source and destination.
23897         (test_strncat): Likewise.
23899 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23901         [BZ #12852]
23902         * posix/glob.c (glob): Check passed in values before using them in
23903         expressions to avoid some overflows.
23904         (glob_in_dir): Likewise.
23906         [BZ #13007]
23907         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23908         check for AVX enablement so that we don't crash with old kernels and
23909         new hardware.
23910         * elf/tst-audit4.c: Add same checks here.
23911         * elf/tst-audit6.c: Likewise.
23913         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23915 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
23917         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23919 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23921         * po/cs.po: Update from translation team.
23922         * po/bg.po: Likewise.
23924 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
23926         * misc/sys/cdefs.h: Add support for const attribute.
23927         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23928         to gnu_dev_{major,minor,makedev} functions.
23930 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
23932         * intl/dcigettext.c (get_output_charset): Add missing bracket.
23934 2011-07-20  Andreas Schwab  <schwab@redhat.com>
23936         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23937         strlen results.
23939 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23941         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23942         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23943         register in order to avoid conflicts with the soft frame pointer
23944         being held in r11 when necessary.
23945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23946         (INTERNAL_VSYSCALL_NCS): Likewise.
23948 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
23950         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23951         * elf/dl-fini.c (_dl_fini): Adjust caller.
23952         * elf/dl-close.c (_dl_close_worker): Likewise.
23953         * sysdeps/generic/ldsodefs.h: Adjust declaration.
23955 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23957         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23958         "aux_cache->nlibs < 0".
23960         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23961         in the reload-count case.
23963 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23966         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23967         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23968         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23969         * sysdeps/x86_64/multiarch/strcat.S: New file.
23970         * sysdeps/x86_64/multiarch/strncat.S: New file.
23971         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23972         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23973         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23974         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23975         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23976         (USE_AS_STRCAT): Define.
23977         Add strcat and strncat support.
23978         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23979         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23980         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23981         * string/strncat.c: Update.
23982         (USE_AS_STRNCAT): Define.
23983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23984         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23985         and i7.
23986         * sysdeps/x86_64/multiarch/init-arch.h
23987         (bit_Prefer_PMINUB_for_stringop): New.
23988         (index_Prefer_PMINUB_for_stringop): Likewise.
23989         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23990         bit_Prefer_PMINUB_for_stringop.
23992 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23994         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23995         buffer64.
23996         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23997         of casting of buffer.
23998         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23999         buffer32 and buffer64.
24000         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24001         writes instead of casting of buffer.
24002         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24003         buffer32.
24004         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24005         casting of buffer.
24007 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24009         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24011 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24013         * nscd/nscd.c (termination_handler): Don't do anything for a database
24014         if it has not yet been initialized.
24016 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24018         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24020 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24022         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24024 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24026         * po/nl.po: Update from translation team.
24027         * po/sv.po: Likewise.
24029 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24031         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24032         now disallowed by GCC.
24034         * configure.in (use-default-link): Default to yes if a test -shared
24035         link meets our qualifications.
24036         * configure: Regenerated.
24038         * config.make.in (output-format): New variable.
24039         * configure.in: Check for ld --print-output-format support.
24040         * configure: Regenerated.
24041         * Makerules ($(common-objpfx)format.lds)
24042         [$(output-format) != unknown]: Just use $(output-format),
24043         instead of the linker-script munging.
24045 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24047         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24048         of $(common-objpfx)shlib.lds.
24049         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24051         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24052         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24054         * configure.in (-z relro check): Adjust test code to add a large
24055         writable data section after it.
24056         * configure: Regenerated.
24058 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24060         * configure.in (-z relro check): Fix test code to make the variable
24061         truly const.
24062         * configure: Regenerated.
24064 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24066         * nscd/nscd.h (struct traced_file): Define.
24067         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24068         elements.  Add traced_files.
24069         (inotify_fd): Declare.
24070         (register_traced_file): Declare.
24071         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24072         (inotify_fd): Export.
24073         (resolv_conf_descr): Remove.
24074         (nscd_init): Move inotify descriptor creation to main.
24075         Don't register files for notification here.
24076         (register_traced_file): New function.
24077         (invalidate_cache): Don't use reset_res to determine whether to call
24078         res_init, go through the list of registered files.
24079         (main_loop_poll): The inotify descriptors are now stored in the
24080         structures for the traced files.
24081         (main_loop_epoll): Likewise
24082         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24083         to __nss_disable_nscd.
24084         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24085         for a database anymore.  Check the records for all the registered
24086         files instead.
24087         * nss/Makefile (libnss_files-routines): Add files-init.
24088         (libnss_db-routines): Add db-init.
24089         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24090         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24091         * nss/nss_db/db-init.c: New file.
24092         * nss/nss_files/files-init.c: New file.
24093         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24094         __nss_lookup_function.
24095         (__nss_lookup_function): Call nss_load_library.
24096         (nss_load_all_libraries): New function.
24097         (__nss_disable_nscd): Take parameter with callback function for files
24098         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24099         used for the cached services.
24100         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24101         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24102         options for features to all the files in nscd.
24104         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24106 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24108         * csu/elf-init.c (__libc_csu_init): Comment typo.
24110 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24112         * po/pl.po: Update from translation team.
24113         * po/ja.po: Likewise.
24114         * po/ru.po: Likewise.
24115         * po/ko.po: Likewise.
24116         * po/fr.po: Likewise.
24118 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24120         * configure.in (.ctors/.dtors header and trailer check):
24121         Use an empirical test on a built program.
24122         * configure: Regenerated.
24124         * configure.in (-z relro check): Use an empirical test on a built DSO.
24125         Detect, but do not require, on ia64.
24126         * configure: Regenerated.
24128         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24129         Update tests that use readelf to use $READELF instead.
24130         * configure: Regenerated.
24132 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24134         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24135         if the result is not used.
24137 2011-07-05  Andreas Jaeger  <aj@suse.de>
24139         [BZ#9696]
24140         * stdlib/tst-strtod.c: Add testcase.
24142 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24144         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24145         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24146         The latter has a higher limit.  Take additional parameter to pass to
24147         the new function.
24148         (__pathconf): Pass file to __statfs_link_max.
24149         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24150         __statfs_link_max.
24151         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24152         __statfs_link_max.
24154         [BZ #12868]
24155         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24156         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24157         Handle Lustre.
24158         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24159         (__statfs_filesize_max): Likewise.
24160         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24162 2011-07-05  Andreas Jaeger  <aj@suse.de>
24164         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24166 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24168         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24169         `status' variable.
24170         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24171         Likewise.
24173 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24175         * Makefile (strop-tests): Add strncat.
24176         * string/test-strncat.c: New file.
24178 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24180         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24182 2011-06-21  Andreas Jaeger  <aj@suse.de>
24184         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24185         Copy rule from iconvdata/Makefile.
24187 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24189         [BZ #12922]
24190         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24191         but no long options are defined, just return 'W'.
24193 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24195         [BZ #9696]
24196         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24198 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24200         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24201         netgroups to read.
24202         (innetgr): Likewise.
24204 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24206         * config.make.in (install_root): Default to $(DESTDIR).
24208 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24210         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24212 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24214         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24216         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24217         containing directory rather than embedding absolute directory names.
24219         * scripts/check-local-headers.sh: Rewritten using awk.
24220         Match by word, not by line.  Print error messages for matches.
24221         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24223         * Makerules [shlib-lds-flags empty]:
24224         ($(common-objpfx)libc_pic.opts): New target.
24225         ($(common-objpfx)libc_pic.os.clean): New target.
24226         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24228         * config.make.in (OBJCOPY): New variable.
24229         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24230         * configure: Regenerated.
24232         * config.make.in (use-default-link): New variable.
24233         * configure.in (use_default_link): Grok --with-default-link to set it.
24234         * configure: Regenerated.
24235         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24236         (shlib-lds, shlib-lds-flags): Define to empty.
24238         * Makerules (shlib-lds): New variable.
24239         (shlib-lds-flags): New variable.
24240         (build-shlib, build-moduile, build-module-asneeded): Use it.
24241         ($(common-objpfx)libc.so): Use $(shlib-lds).
24242         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24243         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24245         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24246         DT_FLAGS/DT_FLAGS_1 with zero flags.
24248         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24249         linker script munging.
24251 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24253         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24254         as 128-bit value.
24255         * crypt/sha512.c (sha512_process_block): Perform total addition using
24256         128-bit if possible.
24257         (__sha512_finish_ctx): Likewise.
24258         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24259         as 64-bit value.
24260         * crypt/sha256.c (SWAP64): Define.
24261         (sha256_process_block): Perform total addition using 64-bit if
24262         possible.
24263         (__sha256_finish_ctx): Likewise.
24265 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24267         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24268         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24269         * nscd/hstcache.c (cache_addhst): Likewise.
24270         * nscd/grpcache.c (cache_addgr): Likewise.
24271         * nscd/aicache.c (addhstaiX): Likewise
24272         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24274 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24276         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24277         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24278         * nscd/hstcache.c (cache_addhst): Likewise.
24279         * nscd/grpcache.c (cache_addgr): Likewise.
24280         * nscd/aicache.c (addhstaiX): Likewise
24282 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24284         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24285         domain only when needed.
24287 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24290         is always restored.
24292 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24294         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24295         are re-adding the entry.
24296         * nscd/servicescache.c (cache_addserv): Likewise.
24298 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24300         * sysdeps/generic/dl-irel.h: fix protection against multiple
24301         inclusions.
24302         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24304 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24306         [BZ #12935]
24307         * malloc/memusage.sh: Fix quoting in message.
24308         * debug/xtrace.sh: Likewise.
24310         * configure.in: Remove support for --experimental-malloc option, make
24311         it the default.
24312         * config.make.in: Likewise.
24313         * malloc/Makefile: Likewise.
24315 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24317         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24318         two-byte characters.
24320 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24322         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24323         AC_CACHE_CHECK invocation.
24324         * configure: Regenerated.
24326         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24328 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24330         [BZ #12350]
24331         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24332         bit from old_res_options.
24334         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24336         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24337         value type for setfct.
24339 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24341         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24342         __gettimeofday instead of gettimeofday.
24344 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24346         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24348 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24350         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24352         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24353         info.
24355 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24358         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24359         strcpy-sse2-unaligned strncpy-sse2-unaligned
24360         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24361         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24362         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24363         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24364         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24365         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24366         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24367         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24368         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24369         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24370         (STRCPY): Support SSE2 and SSSE3 versions.
24372 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24374         [BZ #12874]
24375         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24376         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24377         kernels which artificially limit size of requests.
24379 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24382         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24383         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24384         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24385         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24386         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24387         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24388         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24389         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24390         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24391         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24392         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24393         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24394         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24395         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24397         Enable unaligned load optimization for Intel Core i3, i5 and i7
24398         processors.
24399         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24400         Define.
24401         (index_Fast_Unaligned_Load): Define.
24402         (HAS_FAST_UNALIGNED_LOAD): Define.
24404 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24406         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24408 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24410         [BZ #12907]
24411         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24412         until it is clear that the information is realy needed.
24413         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24415 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24419 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24421         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24422         /sys/devices/system/cpu/online if it is usable.
24424         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24425         reading the information from the /proc filesystem to once a second.
24427 2011-06-21  Andreas Jaeger  <aj@suse.de>
24429         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24430         NULL after inclusion of kernel headers.
24432 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24434         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24435         calls to internal_setent.
24437         [BZ #12885]
24438         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24439         addresses using gethostbyname4_r ignore IPv4 addresses.
24441         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24442         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24444         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24446 2011-06-20  David S. Miller  <davem@davemloft.net>
24448         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24449         inclusions.
24450         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24452         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24453         (elf_irel): Use it.
24454         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24455         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24456         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24457         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24458         * sysdeps/x86_64/dl-irel.h: Likewise.
24460         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24461         * elf/dl-sym.c: Likewise.
24463 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24465         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24466         need to dereference resplen2.
24468 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24470         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24472 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24474         * Makeconfig: Define vardbdir and inst_vardbdir.
24475         * nss/Makefile: Add rules to install db-Makefile.
24477         * nss/nss_db/db-XXX.c: Cleanup.
24479         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24480         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24481         GLIBC_PRIVATE.
24482         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24483         * nss/makedb.c: Implement -g option to specify that value strings
24484         are generated and should not be added to table iterated over for
24485         get*ent calls.
24486         * nss/nss_db/db-initgroups.c: New file.
24488         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24489         interface.
24491         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24492         (internal_getgrouplist): Adjust to name change.
24493         Update use_initgroups_entry if this is not the first call.
24494         * nss/databases.def: Add initgroups entry.
24496         * nss/makedb.c (compute_tables): Check result of multiple hash table
24497         sizes to minimize maximum chain length.
24499 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24501         * Versions.def: Add entry for libnss_db.
24502         * shlib-versions: Likewise.
24503         * nss/Makefile: Add rules to build libnss_db.
24504         * nss/Versions: Add libnss_db information.  Organize libnss_files
24505         entries better.
24506         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24507         makedb progra.  Some minor improvements to generate smaller files.
24508         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24509         here from...
24510         * nss/makedb.c: ...here.
24511         Improve database format to be smaller and require less memory at
24512         runtime.
24513         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24514         db anymore.
24515         * nss/nss_db/db-netgrp.c: Likewise.
24516         * nss/nss_db/db-open.c: Likewise.
24517         * nss/nss_files/flies-XXX.x: Adjust comments.
24518         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24519         * nss/nss_files/files-grp.c: Likewise.
24520         * nss/nss_files/files-hosts.c: Likewise.
24521         * nss/nss_files/files-network.c: Likewise.
24522         * nss/nss_files/files-proto.c: Likewise.
24523         * nss/nss_files/files-pwd.c: Likewise.
24524         * nss/nss_files/files-rpc.c: Likewise.
24525         * nss/nss_files/files-service.c: Likewise.
24526         * nss/nss_files/files-sgrp.c: Likewise.
24527         * nss/nss_files/files-spwd.c: Likewise.
24528         * nss/nss_db/db-alias.c: Removed.
24529         * nss/nss_db/dummy-db.h: Removed.
24531 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24533         * nss/makedb.c: Rewritten to not use database library.
24534         * nss/Makefile: Update to build new makedb program.
24536 2011-06-14  Andreas Jaeger  <aj@suse.de>
24538         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24539         memset declaration.
24541 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24544         tmpbuf.
24546 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24548         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24549         * elf/Makefile ($(objpfx)ld.so): Likewise.
24551         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24552         Don't list ld.so twice in dependencies.
24554         * posix/bug-regex31.c: Include <stdlib.h>.
24556         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24558         * nis/nss_compat/compat-spwd.c
24559         (getspent_next_nss_netgr): Remove unused variable.
24560         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24562         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24563         nonmembers" output to use the right array.
24565         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24567         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24569         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24570         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24571         * catgets/gencat.c (read_input_file): Likewise.
24572         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24574         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24575         variable definition inside #if's controlling its use.
24577         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24579         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24581         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24583         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24584         unreachable code.
24586         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24588         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24589         * configure: Regenerated.
24591         * Makerules: Revert last change.
24592         * elf/Makefile: Likewise.
24594 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24596         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24597         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24598         (reloc-link): Likewise.
24600 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24602         * elf/Makefile: Add rules to build pldd.
24603         * elf/pldd.c: New file.
24604         * elf/pldd-xx.c: New file.
24606 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24608         * version.h: Update for 2.15 development version.
24610 2011-06-07  David S. Miller  <davem@davemloft.net>
24612         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24613         ifuncs.
24614         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24615         elf_machine_lazy_rel): Likewise.
24616         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24617         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24618         elf_machine_lazy_rel): Likewise.
24619         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24620         dl_hwcap via passed in argument.
24621         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24622         Likewise.
24624 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24626         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24628 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24630         [BZ #12849]
24631         * manual/fdl-1.1.texi: New file, verbatim from:
24632         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24633         * manual/lgpl-2.1.texi: New file, verbatim from:
24634         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24635         * manual/Makefile (licenses): New variable, list those new file names.
24636         (texis): Use it.
24637         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24639         * manual/fdl.texi: File removed.
24640         * manual/lesser.texi: File removed.
24641         * manual/libc.texinfo (Copying, Documentation License):
24642         Use new @include file names, put @appendix directive before @include.
24644 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24646         [BZ #12841]
24647         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24648         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24649         (mq_open): Add __NTH.
24651 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24654         Assume Intel Core i3/i5/i7 processor if AVX is available.
24656 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24659         typo.
24661 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24663         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24664         memory.  Use alloca_account.  Fix memory leak when retrying.
24666 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24668         * version.h (RELEASE): Bump for 2.14 release.
24669         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24671         * config.make.in (RANLIB): Remove entry.
24673 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24675         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24676         (libc.pot): Work around missing support for .ksh extension in xgettext.
24678         [BZ #12684]
24679         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24680         if both request failed.
24681         (send_dg): In case of server errors clear resplen or *resplen2.
24683         [BZ #12454]
24684         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24685         when there are multiple maps.
24686         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24687         (_dl_fini): Remove test here.
24689         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24691 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24693         [BZ #12350]
24694         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24695         bit from old_res_options.
24696         (gaih_inet): Likewise.
24698         [BZ #11099]
24699         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24700         as signed.
24702         * resolv/res_init.c (res_setoptions): Make the code more compact.
24704         [BZ #11558]
24705         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24706         set RES_USEVC.
24708         [BZ #11634]
24709         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24711         * malloc/malloc.h: Mark malloc hook variables as deprecated.
24713         [BZ #11781]
24714         * malloc/malloc.h: Declare malloc hook variables as volatile.
24716         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24717         in last patch.
24719         [BZ #11799]
24720         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24721         raise in the comment.
24722         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24723         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24724         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24726 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
24728         [BZ #12811]
24729         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24730         grow the buffers more if it already has to be sufficient.
24731         (build_wcs_upper_buffer): Likewise.
24732         * posix/regexec.c (check_matching): Likewise.
24733         (clean_state_log_if_needed): Likewise.
24734         (extend_buffers): Don't enlarge buffers beyond size of the input
24735         buffer.
24736         Patches mostly by Emil Wojak <emil@wojak.eu>.
24737         * posix/bug-regex32.c: New file.
24738         * posix/Makefile (tests): Add bug-regex32.
24740         * locale/findlocale.c (_nl_find_locale): Return right away if
24741         _nl_explode_name failed.
24742         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24744         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24746         * debug/xtrace.sh: Unify messages.
24747         * malloc/memusage.sh: Likewise.
24749         [BZ #12813]
24750         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24751         time symbol from vDSO.  Substitute with vsyscall if not available.
24752         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24753         __vdso_time.
24755         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24756         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24757         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24758         Add sendmmsg and internal_sendmmsg.
24759         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24760         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24761         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24763         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24764         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24765         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24767 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
24769         [BZ #12813]
24770         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24771         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
24772         available.
24773         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24774         __vdso_getcpu.
24776         [BZ #12814]
24777         * iconvdata/Makefile (tests): Add bug-iconv9.
24778         * iconvdata/bug-iconv9.c: New file.
24780 2011-05-27  Andreas Schwab  <schwab@redhat.com>
24782         [BZ #12814]
24783         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24785 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
24787         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24788         (struct user_regs_struct): Change intcs field back to cs.
24790 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
24792         * po/ja.po: Update from translation team.
24794 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
24796         [BZ #12795]
24797         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24798         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24800 2011-05-20  Andreas Schwab  <schwab@redhat.com>
24802         * stdlib/longlong.h: Update from GCC.
24804 2011-05-23  Andreas Schwab  <schwab@redhat.com>
24806         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24807         parameter name.
24808         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24809         Add parameter name.
24810         (__sysconf): Pass it down.
24812 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
24814         [BZ #12671]
24815         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24816         some situations.
24817         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24818         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24819         add in in __libc_use_alloca calls.  Adjust callers.
24820         (glob): Use malloc in some situations.
24822         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24823         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24824         pltexit.
24826 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
24828         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24829         and CLOCK_BOOTTIME_ALARM.
24831         [BZ #12782]
24832         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24833         is returned.
24835         * string/_strerror.c (__strerror_r): Print negative errors as signed
24836         numbers.
24838         [BZ #12777]
24839         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24840         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24841         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24843         * configure.in: Fix typo in redirection and correct removal of test
24844         files in two cases.
24846         [BZ #12788]
24847         * locale/setlocale.c (new_composite_name): Fix test to check for
24848         identical name of all categories.
24850         [BZ #12792]
24851         * libio/filedoalloc.c (local_isatty): New function.
24852         (_IO_file_doallocate): Use local_isatty.
24853         * stdio-common/perror.c (perror): In case a new stream is used
24854         forward the stream error.
24855         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24856         error flag.
24858 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
24860         [BZ #11869]
24861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24862         alloca.
24863         * include/alloca.h (extend_alloca_account): Define.
24865         [BZ #11857]
24866         * posix/regex.h: Fix comments with documentation of user-accessible
24867         fields after compilation and describe correct free'ing of pattern
24868         after re_compile_pattern.
24869         Patch by Reuben Thomas <rrt@sc3d.org>.
24871 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
24873         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24874         and -mno-altivec to prevent the compiler from using Altivec and/or
24875         VSX instructions when the corresponding registers are not available.
24877 2011-05-19  Andreas Schwab  <schwab@redhat.com>
24879         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24881 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
24883         * libio/freopen.c (freopen): Use __dup2, not dup2.
24884         * libio/freopen64.c (freopen64): Likewise.
24886 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24888         [BZ #12775]
24889         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24890         * math/Makefile (tests): Add test-powl.
24891         (CFLAGS-test-powl.c): Define.
24892         * math/test-powl.c: New file.
24894 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24896         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24898 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
24900         [BZ #11837]
24901         * iconvdata/gb18030.c: Update to GB18020-2005.
24903 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
24905         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24906         RE_SYNTAX_POSIX_AWK): Update to match recent development.
24907         Patch by Aharon Robbins <arnold@skeeve.com>.
24909         [BZ #11892]
24910         * stdlib/putenv.c (putenv): Don't always create copy of the variable
24911         on the stack.
24913         [BZ #11895]
24914         * misc/pselect.c (__pselect): Handle timeout value errors hidden
24915         through underflows.
24917         [BZ #12766]
24918         * misc/error.c (error_at_line): Ensure file_name and old_file_name
24919         point to strings before performing equality test for error_one_per_line
24920         mode.
24922         [BZ #11697]
24923         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24925         [BZ #11820]
24926         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24927         (struct user_fpregs_struct): Avoid __uint*_t types.
24929         [BZ #6420]
24930         * malloc/mtrace.c (tr_where): Add additional parameter to point to
24931         symbol info.  Use it instead of calling _dl_addr locally.
24932         (lock_and_info): New function.
24933         (tr_freehook): Call lock_and_info and pass symbol info as additional
24934         parameter to tr_where.
24935         (tr_mallochook): Likewise.
24936         (tr_reallochook): Likewise.
24937         (tr_memalignhook): Likewise.
24939         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
24940         used and couldn't be at all thread-safe.
24942 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
24944         * libio/freopen.c (freopen): Don't close old file descriptor
24945         before the new one is opened.  Instead dup the new file descriptor
24946         to the old one after the new stream is created.
24947         * libio/freopen64.c (freopen64): Likewise.
24948         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24949         * libio/fileops.c (_IO_new_file_close_it): Handle new
24950         _IO_FLAGS2_NOCLOSE flag.
24951         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24952         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24953         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24954         _IO_FLAGS2_NOCLOSE flag.
24955         * include/unistd.h: Add hidden_proto for dup3.
24956         Define __have_dup3.
24957         * io/dup3.c: Define hidden symbol.
24958         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24960         [BZ #7101]
24961         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24962         when an incomplete long option is used.
24963         * posix/tst-getopt_long1.c: New file.
24964         * posix/Makefile (tests): Add tst-getopt_long1.
24966         [BZ #10138]
24967         * scripts/config.guess: Update from autoconf-2.68.
24968         * scripts/config.sub: Likewise.
24970         [BZ #10157]
24971         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24972         tests into ...
24973         (has_cpuclock): ...this.  New function.
24974         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24975         macro here based on has_cpuclock code.
24977         [BZ #10149]
24978         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24979         First byte (not low byte) is now always NUL.
24980         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24983         Use non-cancelable interfaces.
24985         [BZ #9809]
24986         * locale/iso-639.def: Add entry for Sorani.
24988         [BZ #11901]
24989         * include/stdlib.h: Move include protection to the right place.
24990         Define abort_msg_s.  Declare __abort_msg with it.
24991         * stdlib/abort.c (__abort_msg): Adjust type.
24992         * assert/assert.c (__assert_fail_base): New function.  Majority
24993         of code from __assert_fail.  Allocate memory for __abort_msg with
24994         mmap.
24995         (__assert_fail): Now call __assert_fail_base.
24996         * assert/assert-perr.c: Remove bulk of implementation.  Use
24997         __assert_fail_base.
24998         * include/assert.hL Declare __assert_fail_base.
24999         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25000         mmap.
25001         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25003 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25005         [BZ #11952]
25006         [BZ #12453]
25007         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25008         until all modules are registered in the DTV.
25009         * elf/Makefile: Add rules to build and run tst-tls19.
25010         * elf/tst-tls19.c: New file.
25011         * elf/tst-tls19mod1.c: New file.
25012         * elf/tst-tls19mod2.c: New file.
25013         * elf/tst-tls19mod3.c: New file.
25014         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25016         [BZ #12083]
25017         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25018         correctly.
25020         [BZ #12601]
25021         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25022         two-byte sequence errors.
25023         * iconvdata/Makefile (tests): Add bug-iconv8.
25024         * iconvdata/bug-iconv8.c: New file.
25026         [BZ #12626]
25027         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25028         buf2 definition.
25030         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25032         [BZ #12432]
25033         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25034         (dummy_getcfa): New function.
25035         (init): Get _Unwind_GetCFA address, use dummy if not found.
25036         (backtrace_helper): In recursion check, also check whether CFA changes.
25037         (__backtrace): Completely initialize arg.
25039         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25040         storing incomplete byte sequence in state object.  Avoid testing for
25041         guaranteed too small input if we know there is enough data available.
25043 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25045         * Makeconfig (+link-pie): Indent.
25046         * Rules (binaries-pie): Define if $(have-fpie) and
25047         $(build-shared).
25048         (binaries-shared): Also filter out $(binaries-pie).
25049         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25050         * nscd/Makefile (others-pie): Add nscd.
25051         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25052         ($(objpfx)nscd): Remove command override.
25053         * login/Makefile (others-pie): Add pt_chown.
25054         ($(objpfx)pt_chown): Remove command override.
25055         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25056         remove command overrides.
25058 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25060         * libio/tst_putwc.c: Fix error messages.
25062         [BZ #12724]
25063         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25064         currently writing and seek to current position when not.
25065         * libio/Makefile (tests): Add bug-fclose1.
25066         * libio/bug-fclose1.c: New file.
25068 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25070         [BZ #12511]
25071         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25072         don't set DF_1_NODELETE here.
25073         (do_lookup_x): When entering new entry test for copy relocation
25074         and if necessary set DF_1_NODELETE flag.
25075         * elf/tst-unique4.cc: New file.
25076         * elf/tst-unique4.h: New file.
25077         * elf/tst-unique4lib.cc: New file.
25078         * elf/Makefile: Add rules to build and run tst-unique4.
25079         Patch by Piotr Bury <pbury@goahead.com>.
25081 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25083         [BZ #12052]
25084         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25086         [BZ #12625]
25087         * misc/mntent_r.c (addmntent): Flush the stream after the output
25089         [BZ #12393]
25090         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25091         (is_trusted_path_normalize): Skip initial colon.  Append slash
25092         to empty buffer.  Duplicate is_trusted_path code but allow
25093         constructed patch to be prefix.
25094         (is_dst): Allow $ORIGIN followed by /.
25095         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25096         Correct testing of result of is_trusted_path_normalize
25097         (decompose_rpath): Fix warning.
25099 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25101         [BZ #11257]
25102         * grp/initgroups.c (internal_getgrouplist): When we found the service
25103         list through the initgroups entry in nsswitch.conf do not always
25104         continue on a successful lookup.  Don't always use the
25105         __nss_group_database value if it is set.
25106         * nss/nsswitch.conf (initgroups): Change action for successful db
25107         lookup to continue for compatibility.
25109 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25111         [BZ #11532]
25112         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25113         and CP774 modules.
25114         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25115         and CP774 modules.
25116         * iconvdata/tst-tables.sh: Likewise.
25117         * iconvdata/cp770.c: New file.
25118         * iconvdata/cp771.c: New file.
25119         * iconvdata/cp772.c: New file.
25120         * iconvdata/cp773.c: New file.
25121         * iconvdata/cp774.c: New file.
25122         * iconvdata/testdata/CP770: New file.
25123         * iconvdata/testdata/CP770..UTF8: New file.
25124         * iconvdata/testdata/CP771: New file.
25125         * iconvdata/testdata/CP771..UTF8: New file.
25126         * iconvdata/testdata/CP772: New file.
25127         * iconvdata/testdata/CP772..UTF8: New file.
25128         * iconvdata/testdata/CP773: New file.
25129         * iconvdata/testdata/CP773..UTF8: New file.
25130         * iconvdata/testdata/CP774: New file.
25131         * iconvdata/testdata/CP774..UTF8: New file.
25133         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25134         END CHARMAP line.
25135         * iconvdata/gen-8bit-gap.sh: Likewise.
25136         * iconvdata/gen-8bit.sh: Likewise.
25138         * locale/iso-639.def: Add ary entry.
25140         [BZ #11258]
25141         * locale/C-translit.h.in: Add U20A1 transliteration.
25143         [BZ #12178]
25144         * locale/iso-639.def: Add wae entry.
25145         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25147         [BZ #12545]
25148         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25149         for n.
25151         [BZ #12711]
25152         * locale/C-translit.h.in: Add entry for U20B9.
25153         Patch by pravin.d.s@gmail.com.
25155 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25157         [BZ #12713]
25158         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25159         ENAMETOOLONG use generic getcwd.
25160         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25161         in rtld.  Use *stat64.
25162         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25163         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25164         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25165         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25166         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25167         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25168         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25169         __fstatat64 macros.
25170         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25171         * dirent/rewinddir.c: Add libc_hidden_def.
25172         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25173         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25175         * include/dirent.h (__alloc_dir): Add flags parameter.
25176         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25177         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25178         __alloc_dir.
25179         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25180         from fdopendir if O_CLOEXEC is already set.
25182 2011-03-15  Alan Modra  <amodra@gmail.com>
25184         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25185         l_tls_firstbyte_offset non-zero.  Save padding offset in
25186         l_tls_firstbyte_offset for later use.
25187         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25188         freeing static tls block.
25190 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25192         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25193         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25194         being defined by the kernel headers.
25196 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25198         [BZ #12734]
25199         * resolv/resolv.h: Define RES_NOTLDQUERY.
25200         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25201         no-tld-query and set RES_NOTLDQUERY.
25202         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25203         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25204         modern BIND to search name as TLD unless forbidden.
25206 2011-05-07  Petr Baudis  <pasky@suse.cz>
25207             Ulrich Drepper  <drepper@gmail.com>
25209         [BZ #12393]
25210         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25211         (is_trusted_path): ...to here.
25212         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25213         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25214         using is_trusted_path_normalize() in setuid scripts.
25216 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25218         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25219         __BEGIN/__END_DECLS.
25221 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25223         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25224         NSS_STATUS_NOTFOUND if no record was found.
25226 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25228         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25229         (headers-not-in-tirpc): Remove rpc/netdb.h
25230         * resolv/netdb.h: Revert last change.
25232 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25234         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25235         circular dependency between libgcc.a and libc.a.
25237 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25239         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25240         * nis/Makefile: Don't install rpcsvc/*.
25241         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25242         instead of <rpc/types.h>.
25243         (MAXHOSTNAMELEN): Define.
25245 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25247         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25249 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25251         [BZ #12714]
25252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25253         gethostbyname4_r when IPv6 results are possible.
25255 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25257         [BZ #12723]
25258         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25259         _PC_PIPE_BUF handling.
25261 2011-04-30  Bruno Haible  <bruno@clisp.org>
25263         [BZ #12717]
25264         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25265         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25266         to 'int'.
25267         * inet/getnameinfo.c (getnameinfo): Likewise.
25269 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25271         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25272         to groups setting in database lookup.
25273         * nss/nsswitch.conf: Add initgroups entry.
25275 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25277         [BZ #12685]
25278         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25279         mode string.
25280         Patch by Eric Blake <eblake@redhat.com>.
25282 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25284         * sunrpc/Makefile (need-export-routines): Add svc_run.
25285         (routines): Remove svc_run.
25286         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25287         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25288         * sunrpc/svc_run.c (svc_run): Likewise.
25289         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25291 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25293         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25294         problem in reallocation in last patch.
25296 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25298         * sunrpc/Makefile: Move inclusion of Rules.
25300 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25302         * nss/nss_files/files-initgroups.c: New file.
25303         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25304         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25305         _nss_files_initgroups_dyn.
25307 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25309         * elf/elf.h (R_ARM_IRELATIVE): Define.
25311 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25313         * po/ru.po: Update from translation team.
25315 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25317         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25318         dependencies.
25320 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25322         [BZ #12653]
25323         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25324         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25325         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25326         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25327         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25329 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25331         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25332         differing bytes.
25333         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25334         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25335         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25337 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25339         [BZ #12420]
25340         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25341         storing it.
25342         * stdlib/bug-getcontext.c: New file.
25343         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25345 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25347         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25348         instructions into .machine "z9-109".
25349         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25350         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25352 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25354         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25355         between environment variables and auxiliary vector.
25357 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25359         * Makefile: Add rules to build linkobj/libc.so.
25360         * include/libc-symbols.h: Define libc_hidden_nolink.
25361         * include/rpc/auth.h: Mark functions which are to be hidden.
25362         * include/rpc/auth_des.h: Likewise.
25363         * include/rpc/auth_unix.h: Likewise.
25364         * include/rpc/clnt.h: Likewise.
25365         * include/rpc/des_crypt.h: Likewise.
25366         * include/rpc/key_prot.h: Likewise.
25367         * include/rpc/pmap_clnt.h: Likewise.
25368         * include/rpc/pmap_prot.h: Likewise.
25369         * include/rpc/pmap_rmt.h: Likewise.
25370         * include/rpc/rpc_msg.h: Likewise.
25371         * include/rpc/svc.h: Likewise.
25372         * include/rpc/svc_auth.h: Likewise.
25373         * include/rpc/xdr.h: Likewise.
25374         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25375         * nss/Makefile: Likewise.
25376         * sunrpc/Makefile: Don't install headers.  Build library with normal
25377         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25378         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25379         for the compat linking library.  Remove use of INTDEF/INTUSE.
25380         * sunrpc/auth_none.c: Likewise.
25381         * sunrpc/auth_unix.c: Likewise.
25382         * sunrpc/authdes_prot.c: Likewise.
25383         * sunrpc/authuxprot.c: Likewise.
25384         * sunrpc/clnt_gen.c: Likewise.
25385         * sunrpc/clnt_perr.c: Likewise.
25386         * sunrpc/clnt_raw.c: Likewise.
25387         * sunrpc/clnt_simp.c: Likewise.
25388         * sunrpc/clnt_tcp.c: Likewise.
25389         * sunrpc/clnt_udp.c: Likewise.
25390         * sunrpc/clnt_unix.c: Likewise.
25391         * sunrpc/des_crypt.c: Likewise.
25392         * sunrpc/des_soft.c: Likewise.
25393         * sunrpc/get_myaddr.c: Likewise.
25394         * sunrpc/key_call.c: Likewise.
25395         * sunrpc/key_prot.c: Likewise.
25396         * sunrpc/netname.c: Likewise.
25397         * sunrpc/pm_getmaps.c: Likewise.
25398         * sunrpc/pm_getport.c: Likewise.
25399         * sunrpc/pmap_clnt.c: Likewise.
25400         * sunrpc/pmap_prot.c: Likewise.
25401         * sunrpc/pmap_prot2.c: Likewise.
25402         * sunrpc/pmap_rmt.c: Likewise.
25403         * sunrpc/publickey.c: Likewise.
25404         * sunrpc/rpc_cmsg.c: Likewise.
25405         * sunrpc/rpc_common.c: Likewise.
25406         * sunrpc/rpc_dtable.c: Likewise.
25407         * sunrpc/rpc_prot.c: Likewise.
25408         * sunrpc/rpc_thread.c: Likewise.
25409         * sunrpc/rtime.c: Likewise.
25410         * sunrpc/svc.c: Likewise.
25411         * sunrpc/svc_auth.c: Likewise.
25412         * sunrpc/svc_authux.c: Likewise.
25413         * sunrpc/svc_raw.c: Likewise.
25414         * sunrpc/svc_run.c: Likewise.
25415         * sunrpc/svc_simple.c: Likewise.
25416         * sunrpc/svc_tcp.c: Likewise.
25417         * sunrpc/svc_udp.c: Likewise.
25418         * sunrpc/svc_unix.c: Likewise.
25419         * sunrpc/svcauth_des.c: Likewise.
25420         * sunrpc/xcrypt.c: Likewise.
25421         * sunrpc/xdr.c: Likewise.
25422         * sunrpc/xdr_array.c: Likewise.
25423         * sunrpc/xdr_float.c: Likewise.
25424         * sunrpc/xdr_intXX_t.c: Likewise.
25425         * sunrpc/xdr_mem.c: Likewise.
25426         * sunrpc/xdr_rec.c: Likewise.
25427         * sunrpc/xdr_ref.c: Likewise.
25428         * sunrpc/xdr_sizeof.c: Likewise.
25429         * sunrpc/xdr_stdio.c: Likewise.
25431 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25433         [BZ #12650]
25434         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25435         * sysdeps/ia64/dl-tls.h: Likewise.
25436         * sysdeps/powerpc/dl-tls.h: Likewise.
25437         * sysdeps/s390/dl-tls.h: Likewise.
25438         * sysdeps/sh/dl-tls.h: Likewise.
25439         * sysdeps/sparc/dl-tls.h: Likewise.
25440         * sysdeps/x86_64/dl-tls.h: Likewise.
25441         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25443 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25445         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25446         rpath element also skip the following colon.
25447         (expand_dynamic_string_token): Add is_path parameter and pass
25448         down to DL_DST_REQUIRED and _dl_dst_substitute.
25449         (decompose_rpath): Call expand_dynamic_string_token with
25450         non-zero is_path.  Ignore empty rpaths.
25451         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25452         with zero is_path.
25454 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25457         Make cancelable.
25459 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25461         [BZ #12655]
25462         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25463         Patch by Filipe David Manana <fdmanana@apache.org>.
25465 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25467         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25468         Maintain aligned stack.
25469         (CHECK_RSP): Remove unused macro.
25471 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25473         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25474         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25476 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25478         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25480         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25482 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25484         [BZ #12518]
25485         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25486         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25487         * sysdeps/x86_64/memmove.c: New file.
25488         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25489         (memcpy): Renamed to ...
25490         (__new_memcpy): This.
25491         (memcpy): Provide GLIBC_2_14 memcpy.
25492         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25493         (memcpy): Provide GLIBC_2_2_5 memcpy.
25495 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25497         [BZ #12631]
25498         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25500 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25502         * misc/syncfs.c: New file.
25503         * misc/Makefile (routines): Add syncfs.
25504         * posix/unistd.h: Declare syncfs.
25505         * sysdeps/unix/syscalls.list: Add syncfs.
25507 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25509         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25510         open_by_handle_at.
25511         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25512         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25513         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25514         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25515         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25516         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25517         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25519 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25521         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25522         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25523         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25525         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25527         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25529         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25530         sync_file_range.c with -fexceptions.
25531         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25532         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25533         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25534         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25535         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25536         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25537         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25538         sync_file_range as cancellation point
25539         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25540         now a wrapper around __call_sync_file_range with cancellation handling.
25541         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25542         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25543         function name to __call_sync_file_range.
25544         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25545         Add call_sync_file_range.
25547 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25550         bits/timex.h.
25552 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25554         * iconv/iconv.h: Fix typo in comment.
25555         * io/fcntl.h: Likewise.
25556         * libio/stdio.h: Likewise.
25557         * posix/spawn.h: Likewise.
25558         * posix/unistd.h: Likewise.
25559         * stdlib/stdlib.h: Likewise.
25560         * time/time.h: Likewise.
25561         * wcsmbs/wchar.h: Likewise.
25563         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25564         open_by_handle): Add.
25565         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25566         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25567         Augment a few comments.
25568         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25570         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25572         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25573         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25574         open_by_handle.
25576         * io/fcntl.h (AT_EMPTY_PATH): Define.
25578 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25580         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25581         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25582         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25583         to...
25584         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25585         * Versions.def: Add GLIBC_2.14.
25586         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25587         Export.
25589 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25591         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25592         round counter.
25593         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25595 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25597         [BZ #12597]
25598         * string/test-strncmp.c (do_page_test): New function.
25599         (check2): Likewise.
25600         (test_main): Call check2.
25601         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25603 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25605         [BZ #12587]
25606         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25607         Handle cache information in CPU leaf 4.
25608         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25610 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25612         [BZ #12583]
25613         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25614         character representation.
25615         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25617 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25619         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25620         END(__isnan) to END(__isnanf) to match function entry point/label
25621         EALIGN(__isnanf,...).
25623 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25625         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25627 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25629         [BZ #12510]
25630         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25631         copy from the symbol referenced in the relocation to initialize the
25632         used variable.
25633         Patch by Piotr Bury <pbury@goahead.com>.
25634         * elf/Makefile: Add rules to build and tst-unique3.
25635         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25636         * elf/tst-unique3.cc: New file.
25637         * elf/tst-unique3.h: New file.
25638         * elf/tst-unique3lib.cc: New file.
25639         * elf/tst-unique3lib2.cc: New file.
25641         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25643 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25645         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25646         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25647         to _start.
25649 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25651         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25652         to-be-loaded object along a path to loader is ld.so.
25654 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25655             Ulrich Drepper  <drepper@gmail.com>
25657         * sysdeps/x86_64/memset.S: After aligning destination, code
25658         branches to different locations depending on the value of
25659         misalignment, when multiarch is enabled. Fix this.
25661 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25663         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25664         Set _x86_64_preferred_memory_instruction for AMD processsors.
25665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25666         Set bit_Prefer_SSE_for_memop for AMD processors.
25668 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25670         * libio/fmemopen.c (fmemopen): Optimize a bit.
25672 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25674         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25676 2011-03-03  Roland McGrath  <roland@redhat.com>
25678         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25680 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25682         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25683         __bzero_ultra1 instead of __memset_ultra1.
25685 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25686             Ulrich Drepper  <drepper@gmail.com>
25688         [BZ #12509]
25689         * include/link.h (struct link_map): Add l_orig_initfini.
25690         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25691         returning unsuccessfully.
25692         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25693         close of a file loaded at startup, restore the original l_initfini
25694         list.
25695         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25696         list, store the pointer.
25697         * elf/Makefile ($(objpfx)noload-mem): New rule.
25698         (noload-ENV): Define.
25699         (tests): Add $(objpfx)noload-mem.
25700         * elf/noload.c: Include <memcheck.h>.
25701         (main): Call mtrace.  Close all opened handles.
25703 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25705         [BZ #12454]
25706         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25707         dependencies are missing.
25709 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25711         Fix __if_freereq crash: Unlike the generic version which uses free,
25712         Hurd needs munmap.
25713         * sysdeps/mach/hurd/ifreq.h: New file.
25715 2011-01-27  Petr Baudis  <pasky@suse.cz>
25716             Ulrich Drepper  <drepper@gmail.com>
25718         [BZ 12445]#
25719         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25720         to extend_alloca().
25721         * stdio-common/bug23.c: New file.
25722         * stdio-common/Makefile (tests): Add bug23.
25724 2010-09-28  Andreas Schwab  <schwab@redhat.com>
25725             Ulrich Drepper  <drepper@gmail.com>
25727         [BZ #12489]
25728         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25729         before performing relro protection.  At old place add assertion
25730         to make sure nothing changed.
25732 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
25733             Glauber de Oliveira Costa  <glommer@gmail.com>
25735         * elf/elf.h: Add new ARM TLS relocs.
25737 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
25739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25740         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25741         cast from r3.
25742         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
25743         'tests' variable.
25744         * sysdeps/wordsize-64/tst-writev.c: New file.
25746 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
25748         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25749         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25750         insns in _dl_start to prevent a TOC reference before relocs are
25751         resolved.
25753 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
25755         [BZ #12469]
25756         * Makeconfig: Remove RANLIB definition.
25757         * Makerules: Don't use RANLIB.
25758         * aclocal.m4: Remove ranlib test.
25759         * configure.in: No need to check for ranlib.
25760         * elf/rtld-Rules: Don't use RANLIB.
25762 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25764         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25765         protection macro.
25766         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25767         inclusion protection macro.
25769         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25770         SIGRTMIN and SIGRTMAX and print information in that case only when
25771         SIGRTMIN is defined.
25773 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
25775         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25776         arginfo fn returning -1.
25778         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25779         and thousands string is zero terminated.
25781 2011-02-03  Andreas Schwab  <schwab@redhat.com>
25783         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25784         sysdeps/unix/sysv/linux/bits/socket.h.
25786 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25788         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25789         (__CPU_COUNT): Remove old macros.
25790         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25791         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25792         (__CPU_ALLOC, __CPU_FREE): Add macros.
25793         (__sched_cpualloc, __sched_cpufree): Add declarations.
25795 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
25797         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25798         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25799         * nscd/aicache.c (addhstaiX): Return timeout of added value.
25800         (readdhstai): Return value of addhstaiX call.
25801         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25802         (addgrbyX): Return value returned by cache_addgr.
25803         (readdgrbyname): Return value returned by addgrbyX.
25804         (readdgrbygid): Likewise.
25805         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25806         (addpwbyX): Return value returned by cache_addpw.
25807         (readdpwbyname): Return value returned by addhstbyX.
25808         (readdpwbyuid): Likewise.
25809         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25810         (addservbyX): Return value returned by cache_addserv.
25811         (readdservbyname): Return value returned by addservbyX:
25812         (readdservbyport): Likewise.
25813         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25814         (addhstbyX): Return value returned by cache_addhst.
25815         (readdhstbyname): Return value returned by addhstbyX.
25816         (readdhstbyaddr): Likewise.
25817         (readdhstbynamev6): Likewise.
25818         (readdhstbyaddrv6): Likewise.
25819         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25820         (readdinitgroups): Return value returned by addinitgroupsX.
25821         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25822         (prune_cache): Keep track of timeout value of re-added entries.
25823         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25824         * nscd/nscd.h: Adjust prototypes of readd* functions.
25826 2011-02-04  Roland McGrath  <roland@redhat.com>
25828         * nis/nis_server.c (nis_servstate): Use the right name for 0.
25829         (nis_stats): Likewise.
25830         * nis/nis_modify.c (nis_modify): Likewise.
25831         * nis/nis_remove.c (nis_remove): Likewise.
25832         * nis/nis_add.c (nis_add): Likewise.
25834         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25836         * posix/fnmatch_loop.c: Add some consts.
25838         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25840 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
25842         [BZ #12460]
25843         * config.make.in (config-cflags-novzeroupper): Define.
25844         * configure.in: Substitute libc_cv_cc_novzeroupper.
25845         * elf/Makefile (AVX-CFLAGS): Define.
25846         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25847         (CFLAGS-tst-auditmod4a.c): Likewise.
25848         (CFLAGS-tst-auditmod4b.c): Likewise.
25849         (CFLAGS-tst-auditmod6b.c): Likewise.
25850         (CFLAGS-tst-auditmod6c.c): Likewise.
25851         (CFLAGS-tst-auditmod7b.c): Likewise.
25852         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25854 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
25856         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25857         function to the callback.
25858         Patch partly by Jiri Olsa <jolsa@redhat.com>.
25860 2011-02-02  Andreas Schwab  <schwab@redhat.com>
25862         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25863         of errno.
25865 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
25867         [BZ #11724]
25868         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25869         of constructors.
25870         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25871         of destructors.
25872         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25874         [BZ #11724]
25875         * elf/Makefile: Add rules to build and run new test.
25876         * elf/tst-initorder.c: New file.
25877         * elf/tst-initorder.exp: New file.
25878         * elf/tst-initordera1.c: New file.
25879         * elf/tst-initordera2.c: New file.
25880         * elf/tst-initordera3.c: New file.
25881         * elf/tst-initordera4.c: New file.
25882         * elf/tst-initorderb1.c: New file.
25883         * elf/tst-initorderb2.c: New file.
25884         * elf/tst-order-a1.c: New file.
25885         * elf/tst-order-a2.c: New file.
25886         * elf/tst-order-a3.c: New file.
25887         * elf/tst-order-a4.c: New file.
25888         * elf/tst-order-b1.c: New file.
25889         * elf/tst-order-b2.c: New file.
25890         * elf/tst-order-main.c: New file.
25891         New test case by George Gensure <werkt0@gmail.com>.
25893 2010-10-01  Andreas Schwab  <schwab@redhat.com>
25895         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25896         decoding ACE if AI_CANONIDN.
25898 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
25900         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25902 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
25904         * version.h (RELEASE): Bump for 2.13 release.
25905         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25907         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25909         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25910         MADV_NOHUGEPAGE.
25911         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25912         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25913         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25914         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25915         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25916         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25918         * posix/getconf.c: Update copyright year.
25919         * catgets/gencat.c: Likewise.
25920         * csu/version.c: Likewise.
25921         * debug/catchsegv.sh: Likewise.
25922         * debug/xtrace.sh: Likewise.
25923         * elf/ldconfig.c: Likewise.
25924         * elf/ldd.bash.in: Likewise.
25925         * elf/sprof.c (print_version): Likewise.
25926         * iconv/iconv_prog.c: Likewise.
25927         * iconv/iconvconfig.c: Likewise.
25928         * locale/programs/locale.c: Likewise.
25929         * locale/programs/localedef.c: Likewise.
25930         * malloc/memusage.sh: Likewise.
25931         * malloc/mtrace.pl: Likewise.
25932         * nscd/nscd.c (print_version): Likewise.
25933         * nss/getent.c: Likewise.
25935         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25936         PF_CAIF, and PF_ALG.
25937         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25939 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
25941         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25942         (modules-names): Use them.
25943         (ifunc-test-modules, ifunc-pie-tests): Define.
25944         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25945         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25946         (test-extras): Likewise.
25947         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25948         $(compile-command.c).
25949         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25950         (all-built-dso): Define.
25951         (check-textrel.out, check-execstack.out): Depend on it.
25953         * configure.in: Don't override --enable-multi-arch.
25955 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
25957         [BZ #6812]
25958         * nscd/hstcache.c (tryagain): Define.
25959         (cache_addhst): Return tryagain not notfound for temporary errors.
25960         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25961         failed.
25963 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
25965         [BZ #10563]
25966         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25967         to make the syscall.
25968         * sysdeps/unix/sysv/linux/setgroups.c: New file.
25970         [BZ #12378]
25971         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25972         and fall back to matching as normal character if the string ends before
25973         the matching ']' is found.  This is what POSIX requires.
25974         * posix/testfnm.c: Adjust test result.
25975         * posix/globtest.sh: Adjust test result.  Add new test.
25976         * posix/tst-fnmatch.input: Likewise.
25977         * posix/tst-fnmatch2.c: Add new test.
25979 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
25981         * elf/Makefile (check-execstack): Revert last change.  Depend on
25982         check-execstack.h.
25983         (check-execstack.h): New target.
25984         (generated): Add check-execstack.h.
25985         * elf/check-execstack.c: Include "check-execstack.h".
25986         (main): Revert last change.
25987         (handle_file): Return zero if GNU_STACK is absent and
25988         DEFAULT_STACK_PERMS doesn't include PF_X.
25990 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
25992         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25993         in child fails because the descriptor is already closed.
25994         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25995         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25996         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25998         [BZ #12397]
25999         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26000         syscall.
26002         [BZ #10484]
26003         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26004         temporary buffer used to handle multi lookups locally.
26005         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26007 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26009         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26010         loader is ld.so.
26012 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26014         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26015         alignment for SSE2.
26017 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26019         [BZ #12394]
26020         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26021         characters.  When rounding increased number of integer digits recompute
26022         number of groups.
26023         * stdio-common/tst-grouping.c: New file.
26024         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26026 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26028         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26029         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26031         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26032         void.
26033         * bits/select.h: Likewise.
26035 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26037         * po/ja.po: Update from translation team.
26039 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26041         [BZ #11155]
26042         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26043         implementation just like for lxstat, fxstatat, et al.
26045 2010-12-27  Jim Meyering  <meyering@redhat.com>
26047         [BZ #12348]
26048         * posix/regexec.c (build_trtable): Return failure indication upon
26049         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26051 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26053         [BZ #12201]
26054         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26055         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26056         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26057         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26059         [BZ #12207]
26060         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26062         [BZ #12204]
26063         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26064         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26066 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26068         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26069         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26070         script has SORT_BY_INIT_PRIORITY.
26071         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26072         NO_CTORS_DTORS_SECTIONS is defined.
26073         * elf/soinit.c: Likewise.
26074         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26075         NO_CTORS_DTORS_SECTIONS is defined.
26076         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26077         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26078         * sysdeps/sh/init-first.c: Likewise.
26079         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26081 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26083         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26084         always use the slow path.
26086 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26088         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26089         similar rule which adds the sysdep directories to the header search in
26090         order to pick up the correct platform stackinfo.h.
26091         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26092         perform test if it is, otherwise return successfully without testing.
26093         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26094         DEFAULT_STACK_PERMS define in stackinfo.h.
26095         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26096         defined in stackinfo.h.
26097         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26098         DEFAULT_STACK_PERMS defined in stackinfo.h.
26099         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26100         * sysdeps/ia64/stackinfo.h: Likewise.
26101         * sysdeps/s390/stackinfo.h: Likewise.
26102         * sysdeps/sh/stackinfo.h: Likewise.
26103         * sysdeps/sparc/stackinfo.h: Likewise.
26104         * sysdeps/x86_64/stackinfo.h: Likewise.
26105         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26106         PF_X for powerpc64.  Retain PF_X for powerpc32.
26108 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26110         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26111         accurately.
26112         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26113         GETDENTS_64BIT_ALIGNED.
26115 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26117         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26119 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26121         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26122         _GNU_SOURCE.
26124         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26125         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26126         Remove __restrict.
26127         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26128         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26130 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26132         [BZ #11655]
26133         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26134         are initialized.
26136 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26138         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26140 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26142         * po/it.po: Update from translation team.
26144 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26146         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26147         unused codes.
26149 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26151         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26153 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26155         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26156         specially.
26157         (gaih_getanswer_slice): Likewise.
26159 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26163 2010-05-31  Petr Baudis  <pasky@suse.cz>
26165         [BZ #11149]
26166         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26167         silently even in the chroot mode.
26169 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26171         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26172         last patch a bit.  Pretty printing
26174 2010-05-31  Petr Baudis <pasky@suse.cz>
26176         [BZ #10085]
26177         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26178         initialization of skip_initgroups_dyn.
26180 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26182         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26183         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26185 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26187         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26189 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26191         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26192         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26193         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26194         ($(objpfx)tst-fnmatch-mem): New rule.
26195         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26196         * posix/tst-fnmatch.c (main): Call mtrace.
26198 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26201         Support Intel processor model 6 and model 0x2c.
26203 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26205         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26206           signed comparison.
26208 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26210         [BZ #12205]
26211         * string/test-strncasecmp.c (check_result): New function.
26212         (do_one_test): Use it.
26213         (check1): New function.
26214         (test_main): Use it.
26215         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26216         Support strcasecmp and strncasecmp.
26218 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26220         [BZ #12194]
26221         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26222         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26224 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26226         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26227         IFUNC support.
26228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26229         memset-x86-64.
26230         * sysdeps/x86_64/multiarch/bzero.S: New file.
26231         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26232         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26233         * sysdeps/x86_64/multiarch/memset.S: New file.
26234         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26236         Set bit_Prefer_SSE_for_memop for Intel processors.
26237         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26238         Define.
26239         (index_Prefer_SSE_for_memop): Define.
26240         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26242 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26244         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26245         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26247 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26249         [BZ #12191]
26250         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26251         (__x86_64_raw_data_cache_size_half): Likewise.
26252         (__x86_64_raw_shared_cache_size): Likewise.
26253         (__x86_64_raw_shared_cache_size_half): Likewise.
26255         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26256         (__x86_64_raw_data_cache_size_half): Likewise.
26257         (__x86_64_raw_shared_cache_size): Likewise.
26258         (__x86_64_raw_shared_cache_size_half): Likewise.
26259         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26260         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26261         and __x86_64_raw_shared_cache_size_half.  Round
26262         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26263         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26264         to multiple of 256 bytes.
26266 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26268         [BZ #12167]
26269         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26270         of inacessible symlinks.  Verify result of symlink before returning it.
26271         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26272         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26274 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26276         * math/math.h (isinf): Fix typo in comment.
26278 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26280         * po/da.po: Update from translation team.
26282 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26284         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26285         is added to the list.
26287 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26288             Ulrich Drepper  <drepper@gmail.com>
26290         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26291         the global list here.  Move code to...
26292         (_dl_add_to_namespace_list): ...here.  New function.
26293         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26294         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26295         * elf/dl-load.c (lose): Don't remove the element from the list.
26296         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26297         (_dl_map_object): Likewise.
26299 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26301         [BZ #12159]
26302         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26303         into all bytes of SSE register.
26304         Patch by Richard Li <richardpku@gmail.com>.
26306 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26308         [BZ #12140]
26309         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26310         perturbing.
26312 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26314         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26315         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26316         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26317         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26319         submachine.
26320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26322 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26324         * include/dlfcn.h (__RTLD_SECURE): Define.
26325         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26326         mode & __RTLD_SECURE instead.
26327         (open_path): Rename preloaded parameter to secure.
26328         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26329         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26330         * elf/dl-deps.c (openaux): Likewise.
26331         * elf/rtld.c (struct map_args): Remove is_preloaded.
26332         (map_doit): Don't use it.
26333         (dl_main): Likewise.
26334         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26335         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26337 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26339         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26340         (sysd-rules-targets): Remove duplicates.
26341         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26342         rtld-%.$o dependency.
26344 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26346         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26347         _dl_map_object do it.
26349 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26351         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26352         fast fma builtins, define the macros in the C99 standard.
26353         (FP_FAST_FMAF): Likewise.
26354         (FP_FAST_FMAL): Likewise.
26355         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26357         * bits/mathdef.h: Update copyright year.
26358         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26360 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26362         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26363         builtins, define the macros in the C99 standard.
26364         (FP_FAST_FMAF): Likewise.
26365         (FP_FAST_FMAL): Likewise.
26366         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26367         multiply/add.
26368         (FP_FAST_FMAF): Likewise.
26370 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26372         [BZ #3268]
26373         * math/libm-test.inc (fma_test): Some new testcases.
26374         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26375         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26376         y and infinite z.  Do multiplication by C already in long double.
26377         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26379         y and infinite z.  Do bitwise or of inexact bit into u.d.
26380         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26381         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26382         * sysdeps/i386/fpu/s_fma.S: Removed.
26383         * sysdeps/i386/fpu/s_fmal.S: Removed.
26385 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26387         [BZ #3268]
26388         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26390         computation is not scheduled after fetestexcept.  Fix value
26391         of minimum denormal long double.
26393 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26395         [BZ #3268]
26396         * math/libm-test.inc (fma_test): Add some more tests.
26397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26398         correctly.
26400 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26402         * scripts/data/localplt-s390-linux-gnu.data: New file.
26403         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26405 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26407         [BZ #3268]
26408         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26409         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26410         instead of dbl-64.
26411         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26412         inlines.
26413         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26415         if one of x and y is very large and the other is subnormal.
26416         * sysdeps/s390/fpu/s_fmaf.c: New file.
26417         * sysdeps/s390/fpu/s_fma.c: New file.
26418         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26419         * sysdeps/powerpc/fpu/s_fma.S: New file.
26420         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26421         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26422         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26424 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26426         [BZ #3268]
26427         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26428         fma tests.
26429         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26430         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26431         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26432         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26433         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26434         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26435         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26437 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26439         [BZ #12078]
26440         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26441         * posix/bug-regex31.input: Add test case.
26443 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26445         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26446         * posix/bug-regex31.input: New file.
26448         [BZ #12078]
26449         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26450         (parse_sub_exp): Fix last change, use postorder.
26452         * posix/bug-regex31.c: New file.
26453         * posix/Makefile: Add rules to build and run bug-regex31.
26455         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26457         [BZ #12078]
26458         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26460         [BZ #12108]
26461         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26462         to have entries in sys_siglist.
26464         [BZ #12093]
26465         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26466         be NULL.
26468 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26470         [BZ #3268]
26471         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26472         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26473         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26474         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26475         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26476         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26477         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26478         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26479         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26480         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26481         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26482         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26483         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26484         * math/ftestexcept.c (fetestexcept): Likewise.
26485         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26486         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26487         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26488         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26489         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26490         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26491         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26493 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26495         [BZ #12107]
26496         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26497         newline.
26499 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26501         * string/bug-strstr1.c: New file.
26502         * string/Makefile: Add rules to build and run bug-strstr1.
26504 2010-10-05  Eric Blake  <eblake@redhat.com>
26506         [BZ #12092]
26507         * string/str-two-way.h (two_way_long_needle): Always clear memory
26508         when skipping input due to the shift table.
26510 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26512         [BZ #12005]
26513         * malloc/mcheck.c: Handle large requests.
26515         [BZ #12077]
26516         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26517         for strncmp and strncasecmp.
26518         * string/stratcliff.c: Add tests for strcmp and strncmp.
26519         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26521 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26523         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26524         __set_fpscr.
26526 2010-09-30  Andreas Jaeger  <aj@suse.de>
26528         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26529         (CGROUP_SUPER_MAGIC): Define.
26530         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26531         Handle btrfs and cgroup file systems.
26532         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26533         Likewise.
26535 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26537         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26538         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26540 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26542         [BZ #12067]
26543         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26544         trying to locate the ELF header.
26546 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26548         [BZ #11611]
26549         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26550         Mask out sign-bit copies when constructing f_fsid.
26552 2010-09-24  Petr Baudis <pasky@suse.cz>
26554         * debug/stack_chk_fail_local.c: Add missing licence exception.
26555         * debug/warning-nop.c: Likewise.
26557 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26559         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26560         implementing getdents64 using getdents syscall, set d_type if
26561         __ASSUME_GETDENTS32_D_TYPE.
26563 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26565         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26566         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26568 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26570         [BZ #12037]
26571         * posix/unistd.h: Undo change of feature selection for ftruncate from
26572         2010-01-11.
26574 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26576         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26577         detection.
26579 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26581         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26582         fanotify_mark.
26583         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26585 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26587         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26588         variables after CHECK_SP call.
26589         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26591 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26592             Ulrich Drepper  <drepper@redhat.com>
26594         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26595         re-relocationg ld.so.
26596         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26597         _dl_init_paths call.
26598         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26599         here anymore.
26601 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26603         * resolv/res_init.c (__res_vinit): Count the default server we added.
26605 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26606             Ulrich Drepper  <drepper@redhat.com>
26608         [BZ #11968]
26609         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26610         (____longjmp_chk): Use %ebx for saving value across system call.
26611         Add unwind info.
26613 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26615         * manual/Makefile: Don't mix pattern rules with normal rules.
26617 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26619         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26620         operation.
26621         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26622         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26623         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26624         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26625         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26626         Likewise.
26628 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26630         [BZ #11979]
26631         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26632         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26634 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26636         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26637         * sysdeps/x86_64/addmul_1.S: Likewise.
26638         * sysdeps/x86_64/lshift.S: Likewise.
26639         * sysdeps/x86_64/mul_1.S: Likewise.
26640         * sysdeps/x86_64/rshift.S: Likewise.
26641         * sysdeps/x86_64/sub_n.S: Likewise.
26642         * sysdeps/x86_64/submul_1.S: Likewise.
26644 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26646         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26647         Define __sched_param instead of SCHED_* and sched_param when
26648         <bits/sched.h> is included with __need_schedparam defined.
26649         * bits/sched.h [__need_schedparam]
26650         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26651         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26652         (__defined_schedparam): Define to 1.
26653         (__sched_param): New structure, identical to sched_param.
26654         (__need_schedparam): Undefine.
26656 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26658         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26659         (epoll_create1): Declare.
26661         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26663 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26665         [BZ #7066]
26666         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26667         shifting retval into place.
26669 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26671         * nis/rpcsvc/nis.h: Update copyright notice.
26672         * nis/rpcsvc/nis.x: Likewise.
26673         * nis/rpcsvc/nis_callback.h: Likewise.
26674         * nis/rpcsvc/nis_callback.x: Likewise.
26675         * nis/rpcsvc/nis_object.x: Likewise.
26676         * nis/rpcsvc/nis_tags.h: Likewise.
26677         * nis/rpcsvc/yp.h: Likewise.
26678         * nis/rpcsvc/yp.x: Likewise.
26679         * nis/rpcsvc/ypupd.h: Likewise.
26680         * nis/yp_xdr.c: Likewise.
26681         * nis/ypupdate_xdr.c: Likewise.
26683         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26684         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26685         (pmap_getport): Use __libc_rpc_getport.
26686         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26687         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26688         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26690 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26693         fanotify_mark.
26695 2010-08-27  Roland McGrath  <roland@redhat.com>
26697         * sysdeps/i386/i686/multiarch/Makefile
26698         (CFLAGS-varshift.c): New variable.
26700 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26702         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26703         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26705         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26707         * sysdeps/x86_64/strlen.S: Minimal code improvement.
26709 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26711         * sysdeps/x86_64/strlen.S: Unroll the loop.
26712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26713         strlen-sse2 strlen-sse2-bsf.
26714         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26715         __strlen_no_bsf if bit_Slow_BSF is set.
26716         (__strlen_sse42): Removed.
26717         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26718         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26720 2010-08-25  Roland McGrath  <roland@redhat.com>
26722         * sysdeps/x86_64/multiarch/varshift.S: File removed.
26723         * sysdeps/x86_64/multiarch/varshift.c: New file.
26724         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26725         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26726         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26727         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26729 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26731         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26732         strlen-sse2 strlen-sse2-bsf.
26733         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26734         __strlen_sse2_bsf if bit_Slow_BSF is unset.
26735         (__strlen_sse2): Removed.
26736         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26737         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26738         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26739         bit_Slow_BSF for Atom.
26740         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26741         (index_Slow_BSF): Define.
26742         (HAS_SLOW_BSF): Define.
26744 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
26746         [BZ #10851]
26747         * resolv/res_init.c (__res_vinit): When no server address at all
26748         is given default to loopback.
26750 2010-08-24  Roland McGrath  <roland@redhat.com>
26752         * configure.in: Remove config-name.h generation.
26753         * configure: Regenerated.
26754         * config-name.in: File removed.
26755         * scripts/config-uname.sh: New file.
26756         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26757         ($(objdir)config-name.h): New target.
26759         * sunrpc/rpc_parse.h: Avoid nested comment.
26761 2010-08-24  Richard Henderson  <rth@redhat.com>
26762             Ulrich Drepper  <drepper@redhat.com>
26763             H.J. Lu  <hongjiu.lu@intel.com>
26765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26767         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26768         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
26769         _mm_alignr_epi8 with _mm_loadu_si128.
26770         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26771         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26772         (__m128i_shift_right): Removed.
26773         * sysdeps/i386/i686/multiarch/varshift.h: New file.
26774         * sysdeps/i386/i686/multiarch/varshift.S: New file.
26775         * sysdeps/x86_64/multiarch/varshift.h: New file.
26776         * sysdeps/x86_64/multiarch/varshift.S: New file.
26778 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
26780         * configure.in: Move assembler checks to before sysdep dir checking.
26782 2010-08-20  Petr Baudis  <pasky@suse.cz>
26784         * LICENSES: Sync the sunrpc license.
26786 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
26788         * sunrpc/auth_des.c: Update copyright notice once again.
26789         * sunrpc/auth_none.c: Likewise.
26790         * sunrpc/auth_unix.c: Likewise.
26791         * sunrpc/authdes_prot.c: Likewise.
26792         * sunrpc/authuxprot.c: Likewise.
26793         * sunrpc/bindrsvprt.c: Likewise.
26794         * sunrpc/clnt_gen.c: Likewise.
26795         * sunrpc/clnt_perr.c: Likewise.
26796         * sunrpc/clnt_raw.c: Likewise.
26797         * sunrpc/clnt_simp.c: Likewise.
26798         * sunrpc/clnt_tcp.c: Likewise.
26799         * sunrpc/clnt_udp.c: Likewise.
26800         * sunrpc/clnt_unix.c: Likewise.
26801         * sunrpc/des_crypt.c: Likewise.
26802         * sunrpc/des_soft.c: Likewise.
26803         * sunrpc/get_myaddr.c: Likewise.
26804         * sunrpc/getrpcport.c: Likewise.
26805         * sunrpc/key_call.c: Likewise.
26806         * sunrpc/key_prot.c: Likewise.
26807         * sunrpc/openchild.c: Likewise.
26808         * sunrpc/pm_getmaps.c: Likewise.
26809         * sunrpc/pm_getport.c: Likewise.
26810         * sunrpc/pmap_clnt.c: Likewise.
26811         * sunrpc/pmap_prot.c: Likewise.
26812         * sunrpc/pmap_prot2.c: Likewise.
26813         * sunrpc/pmap_rmt.c: Likewise.
26814         * sunrpc/rpc/auth.h: Likewise.
26815         * sunrpc/rpc/auth_unix.h: Likewise.
26816         * sunrpc/rpc/clnt.h: Likewise.
26817         * sunrpc/rpc/des_crypt.h: Likewise.
26818         * sunrpc/rpc/key_prot.h: Likewise.
26819         * sunrpc/rpc/netdb.h: Likewise.
26820         * sunrpc/rpc/pmap_clnt.h: Likewise.
26821         * sunrpc/rpc/pmap_prot.h: Likewise.
26822         * sunrpc/rpc/pmap_rmt.h: Likewise.
26823         * sunrpc/rpc/rpc.h: Likewise.
26824         * sunrpc/rpc/rpc_des.h: Likewise.
26825         * sunrpc/rpc/rpc_msg.h: Likewise.
26826         * sunrpc/rpc/svc.h: Likewise.
26827         * sunrpc/rpc/svc_auth.h: Likewise.
26828         * sunrpc/rpc/types.h: Likewise.
26829         * sunrpc/rpc/xdr.h: Likewise.
26830         * sunrpc/rpc_clntout.c: Likewise.
26831         * sunrpc/rpc_cmsg.c: Likewise.
26832         * sunrpc/rpc_common.c: Likewise.
26833         * sunrpc/rpc_cout.c: Likewise.
26834         * sunrpc/rpc_dtable.c: Likewise.
26835         * sunrpc/rpc_hout.c: Likewise.
26836         * sunrpc/rpc_main.c: Likewise.
26837         * sunrpc/rpc_parse.c: Likewise.
26838         * sunrpc/rpc_parse.h: Likewise.
26839         * sunrpc/rpc_prot.c: Likewise.
26840         * sunrpc/rpc_sample.c: Likewise.
26841         * sunrpc/rpc_scan.c: Likewise.
26842         * sunrpc/rpc_scan.h: Likewise.
26843         * sunrpc/rpc_svcout.c: Likewise.
26844         * sunrpc/rpc_tblout.c: Likewise.
26845         * sunrpc/rpc_util.c: Likewise.
26846         * sunrpc/rpc_util.h: Likewise.
26847         * sunrpc/rpcinfo.c: Likewise.
26848         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26849         * sunrpc/rpcsvc/key_prot.x: Likewise.
26850         * sunrpc/rpcsvc/klm_prot.x: Likewise.
26851         * sunrpc/rpcsvc/mount.x: Likewise.
26852         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26853         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26854         * sunrpc/rpcsvc/rex.x: Likewise.
26855         * sunrpc/rpcsvc/rstat.x: Likewise.
26856         * sunrpc/rpcsvc/rusers.x: Likewise.
26857         * sunrpc/rpcsvc/sm_inter.x: Likewise.
26858         * sunrpc/rpcsvc/spray.x: Likewise.
26859         * sunrpc/rpcsvc/yppasswd.x: Likewise.
26860         * sunrpc/rtime.c: Likewise.
26861         * sunrpc/svc.c: Likewise.
26862         * sunrpc/svc_auth.c: Likewise.
26863         * sunrpc/svc_authux.c: Likewise.
26864         * sunrpc/svc_raw.c: Likewise.
26865         * sunrpc/svc_run.c: Likewise.
26866         * sunrpc/svc_simple.c: Likewise.
26867         * sunrpc/svc_tcp.c: Likewise.
26868         * sunrpc/svc_udp.c: Likewise.
26869         * sunrpc/svc_unix.c: Likewise.
26870         * sunrpc/svcauth_des.c: Likewise.
26871         * sunrpc/xcrypt.c: Likewise.
26872         * sunrpc/xdr.c: Likewise.
26873         * sunrpc/xdr_array.c: Likewise.
26874         * sunrpc/xdr_float.c: Likewise.
26875         * sunrpc/xdr_mem.c: Likewise.
26876         * sunrpc/xdr_rec.c: Likewise.
26877         * sunrpc/xdr_ref.c: Likewise.
26878         * sunrpc/xdr_sizeof.c: Likewise.
26879         * sunrpc/xdr_stdio.c: Likewise.
26881         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26882         handling.
26884 2010-08-19  Andreas Schwab  <schwab@redhat.com>
26886         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26888 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
26890         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26891         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26892         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26893         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26894         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26895         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26896         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26897         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26898         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26899         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26900         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26901         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26902         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26903         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26905 2010-07-26  Anton Blanchard  <anton@samba.org>
26907         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26908         * malloc/arena.c (heap_trim): Likewise.
26910 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
26912         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26913         here.  Not...
26914         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26915         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26917 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26919         * sysdeps/i386/elf/Makefile: New file.
26921 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26923         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26924         from fanotify_init.
26925         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26926         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26928 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
26930         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26931         of strncasecmp_l.
26932         * sysdeps/multiarch/strcmp.S: Likewise.
26934 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
26936         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26937         strncase_l-nonascii.
26938         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26939         Add strncase_l-ssse3.
26940         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26941         * sysdeps/x86_64/strcmp.S: Likewise.
26942         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26943         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26944         * sysdeps/x86_64/strncase.S: New file.
26945         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26946         * sysdeps/x86_64/strncase_l.S: New file.
26947         * string/Makefile (strop-tests): Add strncasecmp.
26948         * string/test-strncasecmp.c: New file.
26950         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26951         warning.
26953         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26954         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26956 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26958         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26960 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
26962         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26963         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26964         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26966 2010-05-01  Alan Modra  <amodra@gmail.com>
26968         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26969         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26970         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26971         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26972         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26973         tidying.  Don't tail-call __sigjmp_save for static lib.
26974         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26975         save location.
26976         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26977         (CALL_MCOUNT): Add eh info, and nop after bl.
26978         (TAIL_CALL_SYSCALL_ERROR): New macro.
26979         (PSEUDO_RET): Use it.
26980         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26981         Correct save location of integer regs and cr.
26982         (_dl_profile_resolve): Correct cr save location.  Delete nops
26983         after bl when SHARED.  Reduce cfi size a little by better
26984         placement of cfi directives.
26985         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26986         make a stack frame.  Instead use parm save area as a temp.
26987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26988         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
26989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26990         Don't make a stack frame for parent, use parm save area.
26991         Increase child stack frame to 112 bytes.  Don't save unused reg,
26992         and adjust reg usage.  Set up cfi on error recovery and
26993         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26995         (__makecontext): Add dummy nop after jump to exit.
26996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26997         Use correct parm save area and cr save, reduce stack frame.
26998         Correct cfi for possible PSEUDO_RET frame setup.
26999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27000         Branch to local label emitted by PSEUDO_RET rather than
27001         __syscall_error.
27003 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27005         [BZ #11904]
27006         * locale/programs/locale.c (print_assignment): New function.
27007         (show_locale_vars): Use it.
27009 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27011         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27012         field.
27013         (struct statfs64): Likewise.
27014         (_STATFS_F_FLAGS): Define.
27015         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27016         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27017         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27018         (ST_VALID): Define locally.
27019         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27020         __statvfs_getflags, use the provided value.
27021         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27022         __ASSUME_STATFS_F_FLAGS.
27024         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27026         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27027         Add sys/fanotify.h.
27028         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27029         fanotify_mask for GLIBC_2.13.
27030         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27031         fanotify_init and fanotify_mark.
27032         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27033         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27035         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27036         Add prlimit.
27037         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27038         prlimit64 for GLIBC_2.13.
27039         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27040         prlimit64.
27041         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27042         syscall.
27043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27044         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27045         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27046         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27047         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27048         add prlimit alias.
27049         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27051         [BZ #11903]
27052         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27053         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27055         * nss/Makefile: Add rules to build and run tst-nss-test1.
27056         * shlib-versions: Add entry for libnss_test1.
27057         * nss/nss_test1.c: New file.
27058         * nss/tst-nss-test1.c: New file.
27060         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27061         (__nss_configure_lookup): Set appropriate entry in
27062         __nss_configure_lookup to true.
27063         * nss/nsswitch.h: Define enum with indeces of databases in
27064         databases and __nss_database_custom arrays.  Declare
27065         __nss_database_custom.
27066         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27067         to avoid using nscd when custom rules are installed.
27068         * nss/getXXbyYY_r.c: Likewise.
27069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27071         * nss/nss_files/files-parse.c: Whitespace fixes.
27073 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27075         [BZ #11883]
27076         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27077         * posix/fnmatch_loop.c: Likewise.
27079 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27081         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27082         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27083         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27084         * Versions.def [GLIBC_2.13]: Add.
27086 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27088         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27089         Also fail if tpwd after pwuid call is NULL.
27091 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27093         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27094         when converting to ms.
27096 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27098         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27099         EOPNOTSUPP errors with ENOTTY.
27100         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27101         EOPNOTSUPP errors with ENOTTY.
27103 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27105         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27106         Add strcasecmp_l-ssse3.
27107         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27108         strcasecmp.
27109         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27110         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27111         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27113 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27115         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27117         * string/Makefile (strop-tests): Add strcasecmp.
27118         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27119         strcasecmp_l-nonascii.
27120         (gen-as-const-headers): Add locale-defines.sym.
27121         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27122         * sysdeps/x86_64/strcasecmp.S: New file.
27123         * sysdeps/x86_64/strcasecmp_l.S: New file.
27124         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27125         * sysdeps/x86_64/locale-defines.sym: New file.
27126         * string/test-strcasecmp.c: New file.
27128         * string/test-strcasestr.c: Test both ends of the range of characters.
27129         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27131 2010-07-29  Roland McGrath  <roland@redhat.com>
27133         [BZ #11856]
27134         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27136 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27138         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27139         for ld.so.
27141 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27143         * manual/memory.texi (Malloc Tunable Parameters): Document
27144         M_PERTURB.
27146 2010-07-26  Roland McGrath  <roland@redhat.com>
27148         [BZ #11840]
27149         * configure.in (-fgnu89-inline check): Set and substitute
27150         gnu89_inline, not libc_cv_gnu89_inline.
27151         * configure: Regenerated.
27152         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27154 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27156         * string/test-strnlen.c: New file.
27157         * string/Makefile (strop-tests): Add strnlen.
27158         * string/tester.c (test_strnlen): Add a few more test cases.
27159         * string/tst-strlen.c: Better error reporting.
27161         * sysdeps/x86_64/strnlen.S: New file.
27163 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27165         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27166         lower-latency instructions.
27168 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27170         * string/test-strcasestr.c: New file.
27171         * string/test-strstr.c: New file.
27172         * string/Makefile (strop-tests): Add strstr and strcasestr.
27173         * string/str-two-way.h: Don't undefine MAX.
27174         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27176 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27178         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27179         strcasestr-nonascii.
27180         (CFLAGS-strcasestr-nonascii.c): Define.
27181         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27182         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27183         Remove unused attribute.
27185 2010-07-20  Roland McGrath  <roland@redhat.com>
27187         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27188         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27189         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27190         like LD_HWCAP_MASK can disable hwcaps.
27192 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27194         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27196 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27198         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27199         call in strcasestr.
27200         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27201         __strcasestr_sse42_nonascii.
27202         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27203         strcasestr-nonascii.c.
27204         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27206 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27208         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27209         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27210         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27211         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27213 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27215         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27216         fcntl.
27218 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27220         [BZ #11577]
27221         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27222         dl_signal_cerror.
27224 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27226         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27227         _PC_PIPE_BUF using F_GETPIPE_SZ.
27229 2010-07-05  Roland McGrath  <roland@redhat.com>
27231         * manual/arith.texi (Rounding Functions): Fix rint description
27232         implicit in round description.
27234 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27236         * elf/Makefile: Fix linking for a few tests to make recent linker
27237         happy.
27239 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27241         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27242         $(common-objpfx)libc_nonshared.a.
27244 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27246         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27247         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27248         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27249         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27250         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27251         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27252         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27253         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27268         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27269         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27270         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27271         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27272         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27273         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27274         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27275         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27276         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27277         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27278         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27279         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27295 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27297         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27298         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27299         * string/memmove.c (memmove): Renamed to ...
27300         (MEMMOVE): ...this.  Default to memmove.
27301         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27302         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27303         (END_CHK): Define.
27304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27305         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27306         mempcpy-ssse3-back memmove-ssse3-back.
27307         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27308         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27309         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27310         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27311         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27312         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27313         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27314         * sysdeps/x86_64/multiarch/memmove.c: New file.
27315         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27316         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27317         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27318         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27319         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27320         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27321         Define.
27322         (index_Fast_Copy_Backward): Define.
27323         (HAS_ARCH_FEATURE): Define.
27324         (HAS_FAST_REP_STRING): Define.
27325         (HAS_FAST_COPY_BACKWARD): Define.
27327 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27329         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27330         Restore proper fallback handling.
27332 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27334         [BZ #11701]
27335         * posix/group_member.c (__group_member): Correct checking loop.
27337         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27338         OOM in getpwuid_r correctly.  Return error number when the caller
27339         should return, otherwise -1.
27340         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27341         call returning > 0 value.
27342         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27344 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27346         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27347         libc_nonshared.a from targets in modules-names.
27349 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27351         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27352         requires it.
27354 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27356         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27357         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27358         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27359         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27361 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27363         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27365 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27367         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27368         and F_GETPIPE_SZ.
27369         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27370         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27371         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27372         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27373         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27374         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27376 2010-06-14  Roland McGrath  <roland@redhat.com>
27378         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27380 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27382         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27383         __REDIRECT followed by __THROW.
27384         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27385         * posix/getopt.h (getopt): Likewise.
27387 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27389         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27390         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27391         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27392         in AT_FLAGS.
27393         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27394         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27396 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27398         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27400 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27402         [BZ #11640]
27403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27404         Properly check family and model.
27406 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27408         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27410 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27412         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27414 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27416         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27417         symbol reference.
27419 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27421         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27422         symbol reference.
27424 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27426         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27427         and internal_recvmmsg.
27428         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27429         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27430         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27431         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27433         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27434         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27435         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27437 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27439         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27441 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27443         POWER7 optimizations.
27444         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27445         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27447 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27449         * version.h: Update for 2.13 development version.
27451 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27453         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27454         exceptions.  Return 0.
27456 2010-05-07  Roland McGrath  <roland@redhat.com>
27458         * elf/ldconfig.c (main): Add a const.
27460 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27462         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27463         (args_options): Add no-idn option.
27464         (ahosts_keys_int): Add idn_flags to ai_flags.
27465         (parse_option): Handle 'i' option to clear idn_flags.
27467         * malloc/malloc.c (_int_free): Possible race in the most recently
27468         added check.  Only act on the data if no current modification
27469         happened.
27471 See ChangeLog.17 for earlier changes.