BZ#14812: Mark fixed in NEWS.
[glibc.git] / ChangeLog
blob811ad0fb5043869a4a16e2f2cf9ed62425b4e92a
1 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7         [BZ #14176]
8         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10 2013-03-19  Roland McGrath  <roland@hack.frob.com>
12         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15         [!BEFORE_ABORT] (before_abort): New function.
16         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18         (writev_for_fatal): New function.
19         (WRITEV_FOR_FATAL): New macro; call that.
20         (backtrace_and_maps): New function.
21         (BEFORE_ABORT): New macro; call that.
22         (struct str_list): Type removed.
23         (__libc_message, __libc_fatal): Functions removed.
24         Include <sysdeps/posix/libc_fatal.c> instead.
26 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29         constants.
30         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31         double constants.
33 2013-03-19  Andreas Schwab  <schwab@suse.de>
35         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36         * sysdeps/gnu/configure: Regenerate.
38         * configure.in: Substitute libc_cv_rtlddir.
39         * configure: Regenerate.
40         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
41         * Makeconfig (rtlddir, inst_rtlddir): New variables.
42         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43         * elf/Makefile (install-others, CFLAGS-interp.c)
44         (ldso_install, common-ldd-rewrite): Likewise.
45         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46         $(inst_slibdir)/$(rtld-installed-name).
47         * scripts/rellns-sh: Add -p option.
48         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49         for source.
51 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53         * manual/nptl.texi: Renamed to ...
54         * manual/threads.texi: ... this.
55         * manual/Makefile (chapters): Update.
57 2013-03-18  Roland McGrath  <roland@hack.frob.com>
59         [BZ #14812]
60         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61         on argument names, not just descriptions.
62         * malloc/memusagestat.c (options): Likewise.
63         * nss/getent.c (options): Likewise.
65 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67         [BZ #14812]
68         * iconv/iconv_prog.c (options): Put N_ translation marker
69         on argument names, not just descriptions.
70         * iconv/iconvconfig.c (options): Likewise.
72 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
74         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
75         implementation which is faster on all x86_64 architectures.
76         Tested on AMD, Intel Nehalem, SNB, IVB.
77         * sysdeps/x86_64/strnlen.S: Likewise.
79         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
80         Remove all multiarch strlen and strnlen versions.
81         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
82         Remove strlen and strnlen related parts.
84         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
85         Inline strlen part.
86         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
88         * sysdeps/x86_64/multiarch/strlen.S: Remove.
89         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
90         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
91         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
92         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
93         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
95 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
97         * manual/memory.texi (Malloc Tunable Parameters):
98         Sort parameters alphabetically. Add comments for missing entries.
100 2013-03-17  David S. Miller  <davem@davemloft.net>
102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
104 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
106         [BZ #15283]
107         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
108         for arguments at most half maximum finite value.
109         * math/libm-test.inc (j0_test): Add more tests.
110         (j1_test): Likewise.
111         (y0_test): Likewise.
112         (y1_test): Likewise.
113         * sysdeps/i386/fpu/libm-test-ulps: Update.
114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
116         [BZ #14155]
117         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
118         1 / x and functions P and Q for arguments above 0x1p256L.
119         (__ieee754_y0l): Likewise.
120         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
121         (__ieee754_y1l): Likewise.
122         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
123         (j1_test): Likewise.
124         (y0_test): Likewise.
125         (y1_test): Likewise.
127 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
129         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
130         variable.
132 2013-03-15  Roland McGrath  <roland@hack.frob.com>
134         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
135         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
136         zero since it's initialized to EXEC_PAGESIZE.
138         * sysdeps/unix/sysv/linux/ldsodefs.h
139         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
140         * sysdeps/generic/ldsodefs.h: ... here.
142 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
144         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
146         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
147         math/test-snan.c.
148         * math/test-snan.c: Renamed from
149         sysdeps/powerpc/fpu/test-powerpc-snan.c.
150         * math/Makefile (tests): Add test-snan.
151         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
152         test-powerpc-snan.
154         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
155         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
156         functions.
157         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
158         __builtin_nan family of functions.
159         * math/libm-test.inc (initialize): Initialize qnan_value with
160         __builtin_nan family of functions.
161         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
162         Remove variables.
163         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
164         Remove functions.
165         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
166         storage class.  Initialize qNaN_var and sNaN_var with
167         __builtin_nan and __builtin_nans families of functions,
168         respectively.
170         * math/libm-test.inc (acosh_test): Also test with qNaN input.
171         (sqrt_test): Remove duplicate test with qNaN input.
172         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
173         (round_test, signbit_test, significand_test): Note missing +/-Inf
174         as well as qNaN tests.
176         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
177         qNaN_var.  Fix a few strings, too.
178         * math/libm-test.inc (nan_value): Rename to qnan_value.
179         * math/gen-libm-test.pl (%beautify): Adjust to that.
180         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
181         * math/test-misc.c (main): Likewise.
182         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
183         to __qnan_bytes, and __qnan_union, respectively.
184         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
185         Likewise.
186         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
187         and lqnanval, respectively.
188         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
189         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
190         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
191         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
193         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
194         * math/test-misc.c (main) [__x86_64__]: Enable test for long
195         doubles.
197         * math/test-misc.c (main): Fix copy'n'pastos.
198         * misc/tst-efgcvt.c (special): Likewise.
200         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
201         Remove declarations.
203 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
205         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
206         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
207         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
208         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
210 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
212         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
213         macro to return vdso values correctly in IFUNC implementations.
214         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
215         Optimization by using IFUNC.
217 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
218             Richard Henderson  <rth@redhat.com>
219             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
221         * Makefile.in (bench): New target.
222         * NEWS: Mention the benchmark framework.
223         * Rules (bench): Likewise.
224         (binaries-bench): Generate binaries for functions to
225         benchmark.
226         * benchtests/Makefile: New makefile for benchmark tests.
227         * benchtests/bench-skeleton.c: New skeleton file for benchmark
228         programs.
229         * benchtests/exp-inputs: New input file for EXP function.
230         * benchtests/pow-inputs: New input file for POW function.
231         * scripts/bench.pl: New script to generate source files for
232         benchmark programs.
234 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
236         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
237         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
238         computations on mantissa.  Use macros for rounding and
239         division.
240         (denorm): Likewise.
241         (__dbl_mp): Likewise.
242         (add_magnitudes): Likewise.
243         (sub_magnitudes): Likewise.
244         (__mul): Likewise.
245         (__sqr): Likewise.
246         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
247         powers of two in terms of TWOPOW macro.
248         (mp_no): Make type of mantissa as MANTISSA_T.
249         [!RADIXI]: Define RADIXI.
250         [!TWO52]: Define TWO52.
251         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
253         * manual/nptl.texi (cindex): Modify threads to pthreads.
255 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
257         * sysdeps/x86_64/preconfigure: Regenerated.
259 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
261         [BZ #14155]
262         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
263         0x1p28 and above.
264         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
265         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
266         0x1p28 and above.
267         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
268         * math/libm-test.inc (j0_test): Do not allow one spurious
269         underflow exception.
270         (y1_test): Likewise.
272 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
274         * manual/Makefile (chapters): Add nptl.
275         * manual/debug.texi (Debugging Support): Add link to Threads
276         chapter.
277         * manual/nptl.texi: New file.
279         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
281 2013-03-14  Petr Baudis  <pasky@ucw.cz>
283         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
284         for non-NULL pointer before the memory validity test. Pointed
285         out by Holger Brunck <holger.brunck@keymile.com>.
287 2013-03-13  Andreas Schwab  <schwab@suse.de>
289         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
290         instead of .os.
292 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
294         * timezone/zic.c: Update from tzcode 2013b.
296 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
298         * manual/install.texi (Configuring and compiling):
299         Mention i686 and i586.
300         * INSTALL: Regenerate.
302 2013-03-12  Roland McGrath  <roland@hack.frob.com>
304         * sysdeps/init_array/elf-init.c: New file.
305         * csu/elf-init.c
306         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
307         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
309         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
310         __gmon_start__ as global, but as static with a .preinit_array pointer.
311         * sysdeps/init_array/gmon-start.c: New file.  Use that.
312         * sysdeps/init_array/crti.S: New file, empty except for comments.
313         * sysdeps/init_array/crtn.S: Likewise.
315 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
317         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
318         definining bcopy.
319         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
320         Remove Prefer_SSE_for_memop.
321         * sysdeps/x86_64/multiarch/init-arch.h: Remove
322         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
323         HAS_PREFER_SSE_FOR_MEMOP.
324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
325         memset-x86-64.
326         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
327         Remove bzero, memset ifunc support.
328         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
329         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
330         * sysdeps/x86_64/multiarch/memset.S: Likewise.
331         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
333 2013-03-11  Andreas Schwab  <schwab@suse.de>
335         [BZ #15234]
336         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
337         by SHLIB_COMPAT.
338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
339         (GLIBC_2.16): Remove pthread_atfork.
341 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
343         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
344         (ptestcases.h): Likewise.
346 2013-03-08  Roland McGrath  <roland@hack.frob.com>
348         * Makeconfig ($(common-objpfx)config.status): Depend on
349         sysdeps/*/preconfigure{,.in} too.
351 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
353         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
354         (__free_hook): Use void * instead of __malloc_ptr_t.
355         (__malloc_hook): Likewise.
356         (__realloc_hook): Likewise.
357         (__memalign_hook): Likewise.
358         (__after_morecore_hook): Likewise.
359         * malloc/arena.c (save_malloc_hook): Likewise.
360         (save_free_hook): Likewise.
361         * malloc/hooks.c (malloc_hook_ini): Likewise.
362         (realloc_hook_ini): Likewise.
363         (memalign_hook_ini): Likewise.
364         * malloc/malloc.c (malloc_hook_ini): Likewise.
365         (realloc_hook_ini): Likewise.
366         (memalign_hook_ini): Likewise.
367         (__free_hook): Likewise.
368         (__malloc_hook): Likewise.
369         (__realloc_hook): Likewise.
370         (__memalign_hook): Likewise.
371         (__libc_malloc): Likewise.
372         (__libc_free): Likewise.
373         (__libc_realloc): Likewise.
374         (__libc_memalign): Likewise.
375         (__libc_valloc): Likewise.
376         (__libc_pvalloc): Likewise.
377         (__libc_calloc): Likewise.
378         (__posix_memalign): Likewise.
379         * malloc/morecore.c (__sbrk): Likewise.
380         (__default_morecore): Likewise.
382         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
384         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
385         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
386         __malloc_ptrdiff_t.
388         * malloc/malloc.h (__malloc_size_t): Remove macro.
389         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
390         __malloc_size_t.
391         (old_memalign_hook): Likewise.
392         (old_realloc_hook): Likewise.
393         (struct hdr): Likewise.
394         (flood): Likewise.
395         (mallochook): Likewise.
396         (memalignhook): Likewise.
397         (reallochook): Likewise.
398         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
399         (tr_old_realloc_hook): Likewise.
400         (tr_old_memalign_hook): Likewise.
401         (tr_mallochook): Likewise.
402         (tr_reallochook): Likewise.
403         (tr_memalignhook): Likewise.
405 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
407         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
408         default_ldbl_pack and using as default implementation.
409         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
410         implementation.
411         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
412         redundant definition.
413         (ldbl_insert_mantissa): Likewise.
414         (ldbl_canonicalize): Likewise.
415         (ldbl_nearbyint): Likewise.
416         (ldbl_pack): Rename to ldbl_pack_ppc.
417         (ldbl_unpack): Rename to ldbl_unpack_ppc.
418         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
419         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
421 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
424         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
425         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
426         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
428         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
429         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
430         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
432 2013-03-07  Andreas Jaeger  <aj@suse.de>
434         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
435         bits/mman-linux.h.
437 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
439         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
440         Include mpa.h and declare __MPEXP.
441         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
442         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
443         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
444         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
445         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
446         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
447         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
449         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
450         (__slowpow): Use long double EXPL and LOGL functions to
451         compute POW.
452         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
453         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
454         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
455         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
456         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
457         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
460         intermediate variable to calculate exponent.
461         (__sqr): Likewise.
462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
463         Likewise.
464         (__sqr): Likewise.
466         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
467         [!NO__SQR]: Define __sqr.
468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
469         and NO__SQR.  Remove all code except __mul and __sqr.  Include
470         sysdeps/ieee754/dbl-64/mpa.c.
471         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
473         [BZ #12723]
474         * posix/Makefile (tests): Add tst-pathconf.
475         * posix/tst-pathconf.c: New test case.
476         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
477         _PC_PIPE_BUF.
478         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
480 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
482         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
484 2013-03-06  Andreas Jaeger  <aj@suse.de>
486         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
487         definition via __MAP_ANONYMOUS.
489         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
490         it's not part of Linux headers.
492         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
493         (MAP_HUGE_MASK): Define.
495         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
496         Define.
497         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
498         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
499         Define.
500         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
501         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
502         Define.
503         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
504         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
505         Define.
506         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
508         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
509         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
510         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
511         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
512         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
513         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
515         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
516         Handle f2fs.
518         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
519         Handle f2fs and efivarfs.
521         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
522         f2fs.
524         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
525         (EFIVARFS_MAGIC): Add.
526         (F2FS_LINK_MAX): Add.
528 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
530         * stdio-common/vfprintf.c: Replace __builtin_expect with
531         __glibc_unlikely.
533 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
535         [BZ #13550]
536         * sysdeps/generic/bp-sym.h: Remove file.
537         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
538         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
539         <bp-sym.h> and <bp-asm.h>.
540         (__longjmp): Don't use BP_SYM.
541         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
542         and <bp-asm.h>.
543         (memcpy): Don't use BP_SYM.
544         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
545         <bp-sym.h> and <bp-asm.h>.
546         (memcpy): Don't use BP_SYM.
547         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
548         <bp-asm.h>.
549         (memcpy): Don't use BP_SYM.
550         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
551         <bp-asm.h>.
552         (memset): Don't use BP_SYM.
553         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
554         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
555         (__bzero): Don't use BP_SYM.
556         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
557         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
558         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
559         <bp-sym.h> and <bp-asm.h>.
560         (memcmp): Don't use BP_SYM.  Remove comment about bounded
561         pointers.
562         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
563         <bp-sym.h> and <bp-asm.h>.
564         (memcpy): Don't use BP_SYM.
565         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
566         <bp-sym.h> and <bp-asm.h>.
567         (memset): Don't use BP_SYM.
568         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
569         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
570         (__bzero): Don't use BP_SYM.
571         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
572         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
573         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
574         <bp-sym.h> and <bp-asm.h>.
575         (strncmp): Don't use BP_SYM.  Remove comment about bounded
576         pointers.
577         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
578         <bp-sym.h> and <bp-asm.h>.
579         (memcpy): Don't use BP_SYM.
580         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
581         <bp-sym.h> and <bp-asm.h>.
582         (memset): Don't use BP_SYM.
583         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
584         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
585         (__bzero): Don't use BP_SYM.
586         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
587         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
588         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
589         <bp-sym.h> and <bp-asm.h>.
590         (__memchr): Don't use BP_SYM.
591         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
592         <bp-sym.h> and <bp-asm.h>.
593         (memcmp): Don't use BP_SYM.  Remove comment about bounded
594         pointers.
595         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
596         <bp-sym.h> and <bp-asm.h>.
597         (memcpy): Don't use BP_SYM.
598         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
599         <bp-sym.h> and <bp-asm.h>.
600         (__mempcpy): Don't use BP_SYM.
601         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
602         <bp-sym.h> and <bp-asm.h>.
603         (__memrchr): Don't use BP_SYM.
604         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
605         <bp-sym.h> and <bp-asm.h>.
606         (memset): Don't use BP_SYM.
607         (__bzero): Likewise.
608         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
609         <bp-sym.h> and <bp-asm.h>.
610         (__rawmemchr): Don't use BP_SYM.
611         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
612         <bp-sym.h> and <bp-asm.h>.
613         (__STRCMP): Don't use BP_SYM.
614         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
615         <bp-sym.h> and <bp-asm.h>.
616         (strchr): Don't use BP_SYM.
617         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
618         <bp-sym.h> and <bp-asm.h>.
619         (__strchrnul): Don't use BP_SYM.
620         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
621         <bp-sym.h> and <bp-asm.h>.
622         (strlen): Don't use BP_SYM.
623         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
624         <bp-sym.h> and <bp-asm.h>.
625         (strncmp): Don't use BP_SYM.  Remove comment about bounded
626         pointers.
627         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
628         <bp-sym.h> and <bp-asm.h>.
629         (__strnlen): Don't use BP_SYM.
630         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
631         <bp-sym.h> and <bp-asm.h>.
632         (__GI__setjmp): Don't use BP_SYM.
633         (_setjmp): Likewise.
634         (__sigsetjmp): Likewise.
635         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
636         (L(start_addresses)): Don't use BP_SYM.
637         (_start): Likewise.
638         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
639         <bp-asm.h>.
640         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
641         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
642         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
643         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
644         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
645         <bp-asm.h>.
646         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
647         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
648         about bounded pointers.
649         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
650         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
651         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
652         <bp-asm.h>.
653         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
654         about bounded pointers.  Remove GKM FIXME comments.
655         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
656         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
657         <bp-asm.h>.
658         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
659         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
660         Remove GKM FIXME comments.
661         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
662         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
663         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
664         <bp-asm.h>.
665         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
666         about bounded pointers.  Remove GKM FIXME comment.
667         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
668         and <bp-asm.h>.
669         (strncmp): Don't use BP_SYM.  Remove comment about bounded
670         pointers.
671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
672         <bp-sym.h> and <bp-asm.h>.
673         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
675         <bp-sym.h> and <bp-asm.h>.
676         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
677         comment.
679 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
681         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
682         call free(NULL).
684 2013-03-05  David S. Miller  <davem@davemloft.net>
686         * po/es.po: Update from translation team.
688 2013-03-05  Andreas Jaeger  <aj@suse.de>
690         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
691         <bits/mman-linux.h>.
692         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
693         is fine.
694         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
695         <bits/mman-linux.h> to end of file.
696         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
697         is fine.
698         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
699         <bits/mman-linux.h> to end of file.
700         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
701         is fine.
702         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
703         <bits/mman-linux.h> to end of file.
705         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
706         (MCL_CURRENT, MCL_FUTURE): Define here.
708 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
710         [BZ #15232]
711         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
712         attribute_hidden.
713         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
715 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
717         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
718         fourth parameter needed for rt_sigprocmask syscall.
719         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
720         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
721         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
722         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
723         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
724         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
726 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
728         [BZ #13550]
729         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
730         comment about bounded pointers.
731         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
732         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
734 2013-03-04  Andreas Jaeger  <aj@suse.de>
736         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
737         common definitions.
739         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
740         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
741         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
742         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
743         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
744         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
746 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
748         [BZ #15055]
749         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
750         __ieee754_sqrl instead of __sqrl.
752 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
754         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
755         * sysdeps/powerpc/fpu_control.h: ... here.
756         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
757         * sysdeps/powerpc/bits/fenvinline.h: ... here.
758         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
759         * sysdeps/powerpc/bits/mathinline.h: ... here.
761 2013-03-01  Roland McGrath  <roland@hack.frob.com>
763         * elf/dl-hwcaps.c (_dl_important_hwcaps):
764         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
765         to just [NEED_DL_SYSINFO_DSO].
766         * elf/dl-support.c: Likewise.
767         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
768         * elf/rtld.c (dl_main): Likewise.
769         * elf/setup-vdso.h (setup_vdso): Likewise.
770         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
771         * sysdeps/unix/sysv/linux/dl-sysdep.c
772         (_dl_discover_osversion): Likewise.
774 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
776         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
777         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
779 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
781         * NEWS: Mention libm performance improvements and non-x86 PI
782         futex support.
784         * csu/libc-start.c (__pthread_initialize_minimal): Change
785         function arguments.
786         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
788 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
790         [BZ #13550]
791         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
792         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
793         <bp-sym.h> and <bp-asm.h>.
794         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
795         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
796         and <bp-asm.h>.
797         (memcpy): Don't use BP_SYM.
798         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
799         <bp-asm.h>.
800         (__mpn_add_n): Don't use BP_SYM.
801         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
802         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
803         and <bp-asm.h>.
804         (__mpn_addmul_1): Don't use BP_SYM.
805         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
806         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
807         <bp-sym.h>.
808         (_setjmp): Don't use BP_SYM.
809         (__novmx_setjmp): Likewise.
810         (__GI__setjmp): Likewise.
811         (__vmx_setjmp): Likewise.
812         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
813         <bp-sym.h>.
814         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
815         (__bzero): Don't use BP_SYM.
816         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
817         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
818         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
819         <bp-sym.h> and <bp-asm.h>.
820         (memcpy): Don't use BP_SYM.
821         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
822         <bp-sym.h> and <bp-asm.h>.
823         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
824         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
825         <bp-sym.h> and <bp-asm.h>.
826         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
827         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
828         <bp-asm.h>.
829         (__mpn_lshift): Don't use BP_SYM.
830         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
831         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
832         <bp-asm.h>.
833         (memset): Don't use BP_SYM.
834         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
835         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
836         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
837         <bp-asm.h>.
838         (__mpn_mul_1): Don't use BP_SYM.
839         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
840         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
841         <bp-sym.h> and <bp-asm.h>.
842         (memcmp): Don't use BP_SYM.
843         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
844         <bp-sym.h> and <bp-asm.h>.
845         (memcpy): Don't use BP_SYM.
846         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
847         <bp-sym.h> and <bp-asm.h>.
848         (memset): Don't use BP_SYM.
849         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
850         <bp-sym.h> and <bp-asm.h>.
851         (strncmp): Don't use BP_SYM.
852         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
853         <bp-sym.h> and <bp-asm.h>.
854         (memcpy): Don't use BP_SYM.
855         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
856         <bp-sym.h> and <bp-asm.h>.
857         (memset): Don't use BP_SYM.
858         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
859         <bp-sym.h> and <bp-asm.h>.
860         (__memchr): Don't use BP_SYM.
861         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
862         <bp-sym.h> and <bp-asm.h>.
863         (memcmp): Don't use BP_SYM.
864         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
865         <bp-sym.h> and <bp-asm.h>.
866         (memcpy): Don't use BP_SYM.
867         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
868         <bp-sym.h> and <bp-asm.h>.
869         (__mempcpy): Don't use BP_SYM.
870         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
871         <bp-sym.h> and <bp-asm.h>.
872         (__memrchr): Don't use BP_SYM.
873         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
874         <bp-sym.h> and <bp-asm.h>.
875         (memset): Don't use BP_SYM.
876         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
877         <bp-sym.h> and <bp-asm.h>.
878         (__rawmemchr): Don't use BP_SYM.
879         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
880         <bp-sym.h> and <bp-asm.h>.
881         (__STRCMP): Don't use BP_SYM.
882         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
883         <bp-sym.h> and <bp-asm.h>.
884         (strchr): Don't use BP_SYM.
885         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
886         <bp-sym.h> and <bp-asm.h>.
887         (__strchrnul): Don't use BP_SYM.
888         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
889         <bp-sym.h> and <bp-asm.h>.
890         (strlen): Don't use BP_SYM.
891         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
892         <bp-sym.h> and <bp-asm.h>.
893         (strncmp): Don't use BP_SYM.
894         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
895         <bp-sym.h> and <bp-asm.h>.
896         (__strnlen): Don't use BP_SYM.
897         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
898         <bp-asm.h>.
899         (__mpn_rshift): Don't use BP_SYM.
900         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
901         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
902         <bp-sym.h> and <bp-asm.h>.
903         (__sigsetjmp): Don't use BP_SYM.
904         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
905         (L(start_addresses)): Don't use BP_SYM.
906         (_start): Likewise.
907         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
908         <bp-asm.h>.
909         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
910         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
911         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
912         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
913         <bp-asm.h>.
914         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
915         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
916         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
917         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
918         <bp-asm.h>.
919         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
920         comments.
921         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
922         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
923         <bp-asm.h>.
924         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
925         FIXME comments.
926         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
927         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
928         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
929         <bp-asm.h>.
930         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
931         comment.
932         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
933         and <bp-asm.h>.
934         (strncmp): Don't use BP_SYM,
935         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
936         <bp-asm.h>.
937         (__mpn_sub_n): Don't use BP_SYM.
938         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
939         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
940         and <bp-asm.h>.
941         (__mpn_submul_1): Don't use BP_SYM.
942         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
944         <bp-sym.h> and <bp-asm.h>.
945         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
947         <bp-sym.h> and <bp-asm.h>.
948         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
949         comment.
951 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
954         Use ZK to minimize writes to Z.
955         (sub_magnitudes): Simplify code a bit.
956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
957         Use ZK to minimize writes to Z.
958         (sub_magnitudes): Simplify code a bit.
960 2013-02-27  Roland McGrath  <roland@hack.frob.com>
962         * csu/gmon-start.c: Add special exception to license text.
964 2013-02-27  Richard Henderson  <rth@redhat.com>
966         * scripts/config.guess: Update from config.git.
967         * scripts/config.sub: Likewise.
969 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
971         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
973         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
975         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
977         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
979         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
981 2013-02-26  Roland McGrath  <roland@hack.frob.com>
983         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
984         [$(build-shared = yes].
986 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
988         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
989         (__mul): Reduce iterations for calculating mantissa.
991         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
992         MPTWO.
993         (__mpranred): Likewise.
995         [BZ #15160]
996         * malloc/memusagestat.c (main): Draw graphs for heap and stack
997         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
999 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1001         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1002         Define __attribute__.
1004 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1006         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1007         unused.
1008         * posix/regex_internal.h (__attribute): Remove.
1009         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1010         (re_string_context_at): Likewise.
1011         (bitset_not): Use __attribute__ and mark function as possibly
1012         unused.
1013         (bitset_merge): Likewise.
1014         (bitset_mask): Likewise.
1015         (re_string_char_size_at): Likewise.
1016         (re_string_wchar_at): Likewise.
1017         (re_string_elem_size_at): Likewise.
1019 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1021         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1022         code.
1023         (cc32): Likewise.
1025         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1026         (__acr): Likewise.
1027         (__cpy): Likewise.
1028         (norm): Likewise.
1029         (denorm): Likewise.
1030         (__dbl_mp): Likewise.
1031         (add_magnitudes): Likewise.
1032         (sub_magnitudes): Likewise.
1033         (__mul): Likewise.
1034         (__inv): Likewise.
1036         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1037         style.
1039         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1040         style.
1042         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1043         code.
1045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1046         up changes with default code.
1047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1048         Likewise.
1050 2013-02-24  Allan McRae  <allan@archlinux.org>
1052         * manual/socket.texi (The Internet Namespace): Order menu items
1053         to match that in the file.
1055         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1056         node listing of the info page menu.
1058 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1060         [BZ #13550]
1061         * sysdeps/i386/bp-asm.h: Remove file.
1062         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1063         (PARMS): Do not use macros from bp-asm.h.
1064         (S1): Likewise.
1065         (S2): Likewise.
1066         (SIZE): Likewise.
1067         (__mpn_add_n): Do not use BP_SYM
1068         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1069         "bp-asm.h".
1070         (PARMS): Do not use macros from bp-asm.h.
1071         (S1): Likewise.
1072         (SIZE): Likewise.
1073         (__mpn_addmul_1): Do not use BP_SYM
1074         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1075         "bp-asm.h".
1076         (PARMS): Do not use macros from bp-asm.h.
1077         (SIGMSK): Likewise.
1078         (_setjmp): Likewise.  Do not use BP_SYM.
1079         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1080         "bp-asm.h".
1081         (PARMS): Do not use macros from bp-asm.h.
1082         (SIGMSK): Likewise.
1083         (setjmp): Likewise.  Do not use BP_SYM.
1084         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1085         "bp-asm.h".
1086         (PARMS): Do not use macros from bp-asm.h.
1087         (__frexp): Do not use BP_SYM.
1088         (frexp): Likewise.
1089         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1090         "bp-asm.h".
1091         (PARMS): Do not use macros from bp-asm.h.
1092         (__frexpf): Do not use BP_SYM.
1093         (frexpf): Likewise.
1094         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1095         "bp-asm.h".
1096         (PARMS): Do not use macros from bp-asm.h.
1097         (__frexpl): Do not use BP_SYM.
1098         (frexpl): Likewise.
1099         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1100         "bp-asm.h".
1101         (PARMS): Do not use macros from bp-asm.h.
1102         (__remquo): Do not use BP_SYM.
1103         (remquo): Likewise.
1104         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1105         "bp-asm.h".
1106         (PARMS): Do not use macros from bp-asm.h.
1107         (__remquof): Do not use BP_SYM.
1108         (remquof): Likewise.
1109         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1110         "bp-asm.h".
1111         (PARMS): Do not use macros from bp-asm.h.
1112         (__remquol): Do not use BP_SYM.
1113         (remquol): Likewise.
1114         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1115         "bp-asm.h".
1116         (PARMS): Do not use macros from bp-asm.h.
1117         (DEST): Likewise.
1118         (SRC): Likewise.
1119         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1120         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1121         "bp-asm.h".
1122         (PARMS): Do not use macros from bp-asm.h.
1123         (strlen): Do not use BP_SYM.
1124         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1125         "bp-asm.h".
1126         (PARMS): Do not use macros from bp-asm.h.
1127         (S1): Likewise.
1128         (S2): Likewise.
1129         (SIZE): Likewise.
1130         (__mpn_add_n): Do not use BP_SYM.
1131         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1132         "bp-asm.h".
1133         (PARMS): Do not use macros from bp-asm.h.
1134         (S1): Likewise.
1135         (SIZE): Likewise.
1136         (__mpn_addmul_1): Do not use BP_SYM.
1137         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1138         weak_alias.
1139         (bzero): Likewise.
1140         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1141         "bp-asm.h".
1142         (PARMS): Do not use macros from bp-asm.h.
1143         (S): Likewise.
1144         (SIZE): Likewise.
1145         (__mpn_lshift): Do not use BP_SYM.
1146         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1147         "bp-asm.h".
1148         (PARMS): Do not use macros from bp-asm.h.
1149         (DEST): Likewise.
1150         (SRC): Likewise.
1151         (LEN): Likewise.
1152         (memcpy): Likewise.  Do not use BP_SYM.
1153         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1154         libc_hidden_def and weak_alias.
1155         (mempcpy): Do not use BP_SYM in weak_alias.
1156         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1157         "bp-asm.h".
1158         (PARMS): Do not use macros from bp-asm.h.
1159         (DEST): Likewise.
1160         (LEN): Likewise.
1161         [!BZERO_P] (CHR): Likewise.
1162         (memset): Likewise.  Do not use BP_SYM.
1163         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1164         "bp-asm.h".
1165         (PARMS): Do not use macros from bp-asm.h.
1166         (S1): Likewise.
1167         (SIZE): Likewise.
1168         (__mpn_mul_1): Do not use BP_SYM.
1169         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1170         "bp-asm.h".
1171         (PARMS): Do not use macros from bp-asm.h.
1172         (S): Likewise.
1173         (SIZE): Likewise.
1174         (__mpn_rshift): Do not use BP_SYM.
1175         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1176         "bp-asm.h".
1177         (PARMS): Do not use macros from bp-asm.h.
1178         (STR): Likewise.
1179         (CHR): Likewise.
1180         (strchr): Likewise.  Do not use BP_SYM.
1181         (index): Do not use BP_SYM in weak_alias.
1182         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1183         "bp-asm.h".
1184         (PARMS): Do not use macros from bp-asm.h.
1185         (DEST): Likewise.
1186         (SRC): Likewise.
1187         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1188         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1189         "bp-asm.h".
1190         (PARMS): Do not use macros from bp-asm.h.
1191         (strlen): Do not use BP_SYM.
1192         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1193         "bp-asm.h".
1194         (PARMS): Do not use macros from bp-asm.h.
1195         (S1): Likewise.
1196         (S2): Likewise.
1197         (SIZE): Likewise.
1198         (__mpn_sub_n): Do not use BP_SYM.
1199         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1200         "bp-asm.h".
1201         (PARMS): Do not use macros from bp-asm.h.
1202         (S1): Likewise.
1203         (SIZE): Likewise.
1204         (__mpn_submul_1): Do not use BP_SYM.
1205         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1206         "bp-asm.h".
1207         (PARMS): Do not use macros from bp-asm.h.
1208         (S1): Likewise.
1209         (S2): Likewise.
1210         (SIZE): Likewise.
1211         (__mpn_add_n): Do not use BP_SYM.
1212         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1213         weak_alias.
1214         (bzero): Likewise.
1215         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1216         "bp-asm.h".
1217         (PARMS): Do not use macros from bp-asm.h.
1218         (BLK2): Likewise.
1219         (LEN): Likewise.
1220         (memcmp): Do not use BP_SYM.
1221         (bcmp): Do not use BP_SYM in weak_alias.
1222         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1223         "bp-asm.h".
1224         (PARMS): Do not use macros from bp-asm.h.
1225         (DEST): Likewise.
1226         (SRC): Likewise.
1227         (LEN): Likewise.
1228         (memcpy): Likewise.  Do not use BP_SYM.
1229         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1230         "bp-asm.h".
1231         (PARMS): Do not use macros from bp-asm.h.
1232         (DEST): Likewise.
1233         (SRC): Likewise.
1234         (LEN): Likewise.
1235         (memmove): Likewise.  Do not use BP_SYM.
1236         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1237         "bp-asm.h".
1238         (PARMS): Do not use macros from bp-asm.h.
1239         (DEST): Likewise.
1240         (SRC): Likewise.
1241         (LEN): Likewise.
1242         (__mempcpy): Likewise.  Do not use BP_SYM.
1243         (mempcpy): Do not use BP_SYM in weak_alias.
1244         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1245         "bp-asm.h".
1246         (PARMS): Do not use macros from bp-asm.h.
1247         (DEST): Likewise.
1248         (LEN): Likewise.
1249         [!BZERO_P] (CHR): Likewise.
1250         (memset): Likewise.  Do not use BP_SYM.
1251         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1252         "bp-asm.h".
1253         (PARMS): Do not use macros from bp-asm.h.
1254         (STR2): Likewise.
1255         (strcmp): Do not use BP_SYM.
1256         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1257         "bp-asm.h".
1258         (PARMS): Do not use macros from bp-asm.h.
1259         (STR): Likewise.
1260         (DELIM): Likewise.
1261         [USE_AS_STRTOK_R] (SAVE): Likewise.
1262         (FUNCTION): Likewise.  Do not use BP_SYM.
1263         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1264         aliases.
1265         (strtok_r): Likewise.
1266         (__GI___strtok_r): Likewise.
1267         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1268         (PARMS): Do not use macros from bp-asm.h.
1269         (S): Likewise.
1270         (SIZE): Likewise.
1271         (__mpn_lshift): Do not use BP_SYM.
1272         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1273         (PARMS): Do not use macros from bp-asm.h.
1274         (STR): Likewise.
1275         (CHR): Likewise.
1276         (__memchr): Do not use BP_SYM.
1277         (memchr): Do not use BP_SYM in weak_alias.
1278         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1279         (PARMS): Do not use macros from bp-asm.h.
1280         (BLK2): Likewise.
1281         (LEN): Likewise.
1282         (memcmp): Do not use BP_SYM.
1283         (bcmp): Do not use BP_SYM in weak_alias.
1284         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1285         (PARMS): Do not use macros from bp-asm.h.
1286         (S1): Likewise.
1287         (SIZE): Likewise.
1288         (__mpn_mul_1): Do not use BP_SYM.
1289         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1290         "bp-asm.h".
1291         (PARMS): Do not use macros from bp-asm.h.
1292         (STR): Likewise.
1293         (CHR): Likewise.
1294         (__rawmemchr): Do not use BP_SYM.
1295         (rawmemchr): Do not use BP_SYM in weak_alias.
1296         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1297         (PARMS): Do not use macros from bp-asm.h.
1298         (S): Likewise.
1299         (SIZE): Likewise.
1300         (__mpn_rshift): Do not use BP_SYM.
1301         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1302         (PARMS): Do not use macros from bp-asm.h.
1303         (SIGMSK): Likewise.
1304         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1305         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1306         (_start): Do not use BP_SYM.
1307         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1308         (PARMS): Do not use macros from bp-asm.h.
1309         (DEST): Likewise.
1310         (SRC): Likewise.
1311         (__stpcpy): Likewise.  Do not use BP_SYM.
1312         (stpcpy): Do not use BP_SYM in weak_alias.
1313         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1314         "bp-asm.h".
1315         (PARMS): Do not use macros from bp-asm.h.
1316         (DEST): Likewise.
1317         (SRC): Likewise.
1318         (LEN): Likewise.
1319         (__stpncpy): Likewise.  Do not use BP_SYM.
1320         (stpncpy): Do not use BP_SYM in weak_alias.
1321         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1322         (PARMS): Do not use macros from bp-asm.h.
1323         (STR): Likewise.
1324         (CHR): Likewise.
1325         (strchr): Likewise.  Do not use BP_SYM.
1326         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1327         "bp-asm.h".
1328         (PARMS): Do not use macros from bp-asm.h.
1329         (STR): Likewise.
1330         (CHR): Likewise.
1331         (__strchrnul): Likewise.  Do not use BP_SYM.
1332         (strchrnul): Do not use BP_SYM in weak_alias.
1333         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1334         "bp-asm.h".
1335         (PARMS): Do not use macros from bp-asm.h.
1336         (STOP): Likewise.
1337         (strcspn): Do not use BP_SYM.
1338         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1339         "bp-asm.h".
1340         (PARMS): Do not use macros from bp-asm.h.
1341         (STR): Likewise.
1342         (STOP): Likewise.
1343         (strpbrk): Likewise.  Do not use BP_SYM.
1344         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1345         "bp-asm.h".
1346         (PARMS): Do not use macros from bp-asm.h.
1347         (STR): Likewise.
1348         (CHR): Likewise.
1349         (strrchr): Likewise.  Do not use BP_SYM.
1350         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1351         (PARMS): Do not use macros from bp-asm.h.
1352         (SKIP): Likewise.
1353         (strspn): Do not use BP_SYM.
1354         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1355         (PARMS): Do not use macros from bp-asm.h.
1356         (STR): Likewise.
1357         (DELIM): Likewise.
1358         (SAVE): Likewise.
1359         (FUNCTION): Likewise.  Do not use BP_SYM.
1360         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1361         aliases.
1362         (strtok_r): Likewise.
1363         (__GI___strtok_r): Likewise.
1364         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1365         (PARMS): Do not use macros from bp-asm.h.
1366         (S1): Likewise.
1367         (S2): Likewise.
1368         (SIZE): Likewise.
1369         (__mpn_sub_n): Do not use BP_SYM.
1370         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1371         "bp-asm.h".
1372         (PARMS): Do not use macros from bp-asm.h.
1373         (S1): Likewise.
1374         (SIZE): Likewise.
1375         (__mpn_submul_1): Do not use BP_SYM.
1376         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1377         <bp-sym.h>.
1378         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1379         and <bp-asm.h>.
1380         (PARMS): Do not use macros from bp-asm.h.
1381         (FLAGS): Likewise.
1382         (PTID): Likewise.
1383         (TLS): Likewise.
1384         (CTID): Likewise.
1385         (__clone): Do not use BP_SYM.
1386         (clone): Do not use BP_SYM in weak_alias.
1387         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1388         and <bp-asm.h>.
1389         (PARMS): Do not use macros from bp-asm.h.
1390         (LEN): Likewise.
1391         (__mmap64): Do not use BP_SYM.
1392         (mmap64): Do not use BP_SYM in weak_alias.
1393         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1394         <bp-sym.h> and <bp-asm.h>.
1395         (PARMS): Do not use macros from bp-asm.h.
1396         (__posix_fadvise64_l64): Do not use BP_SYM.
1397         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1398         (PARMS): Do not use macros from bp-asm.h.
1399         (NSOPS): Likewise.
1400         (semtimedop): Do not use BP_SYM.
1401         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1402         and <bp-asm.h>.
1404 2013-02-21  Allan McRae  <allan@archlinux.org>
1406         * manual/message.texi (Charset conversion in gettext):
1407         Move @end statement to beginning of line.
1409 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1412         static.
1413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1414         Likewise.
1416         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1417         (denorm): Likewise.
1418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1421 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1423         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1424         tail-call to the resolved function if pltexit isn't needed.
1426 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1428         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1429         or Y being zero as being unlikely.
1430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1431         Likewise.
1433 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1435         * manual/nss.texi (System Databases and Name Service Switch):
1436         Remove frobnicate @pxref.
1438 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1440         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1441         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1443 2013-02-20  Petr Machata  <pmachata@redhat.com>
1445         * elf/elf.h (R_ARM_TARGET1): New macro.
1446         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1447         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1448         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1449         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1450         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1451         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1452         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1453         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1454         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1455         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1456         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1457         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1458         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1459         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1460         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1461         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1462         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1463         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1464         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1465         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1466         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1467         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1468         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1469         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1470         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1471         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1472         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1473         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1474         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1475         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1476         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1477         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1478         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1479         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1480         (R_ARM_THM_GOT_BREL12): Likewise.
1481         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1482         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1483         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1484         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1485         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1486         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1487         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1488         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1489         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1491 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1493         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1494         __attribute_used__ to __attribute__ ((unused)).
1496 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1498         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1499         powerpc mpa.c.
1500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1501         comment formatting.
1502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1504 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
1506         [BZ #13550]
1507         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1508         Remove macro.
1509         (ENTER): Remove both macro definitions.
1510         (LEAVE): Likewise.
1511         (CHECK_BOUNDS_LOW): Likewise.
1512         (CHECK_BOUNDS_HIGH): Likewise.
1513         (CHECK_BOUNDS_BOTH): Likewise.
1514         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1515         (RETURN_BOUNDED_POINTER): Likewise.
1516         (RETURN_NULL_BOUNDED_POINTER): Likewise.
1517         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1518         (POP_ERRNO_LOCATION_RETURN): Likewise.
1519         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1520         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1521         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1522         macros.
1523         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1524         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1525         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1526         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1527         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1528         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1529         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1530         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1531         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1532         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1533         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1534         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1535         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1536         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1537         removed macros.
1538         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1539         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1540         macros.
1541         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1542         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1543         * sysdeps/i386/i586/memset.S (memset): Likewise.
1544         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1545         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1546         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1547         macros.
1548         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1549         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1550         Change uses of L(2) to L(out).
1551         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1552         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1553         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1554         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1555         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1556         removed macros.
1557         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1558         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1559         macros.
1560         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1561         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1562         (RETURN): Do not use macro LEAVE.
1563         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1564         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1565         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1566         * sysdeps/i386/i686/memset.S (memset): Likewise.
1567         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1568         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1569         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1570         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1571         Likewise.
1572         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1573         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
1574         L(1_2) and L(1_3) into L(1).
1575         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1576         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1577         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1578         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1579         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1580         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1581         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1582         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1583         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1584         macros.
1585         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1586         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1587         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1588         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1589         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1590         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1591         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1592         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1593         * sysdeps/i386/strcspn.S (strcspn): Likewise.
1594         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1595         * sysdeps/i386/strrchr.S (strrchr): Likewise.
1596         * sysdeps/i386/strspn.S (strspn): Likewise.
1597         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1598         conditional code.
1599         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1600         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1601         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1602         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
1603         L(1_3) into L(1_1).
1604         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1605         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1606         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1607         macros.
1608         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1610 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
1612         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1613         macro.
1615 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1617         * math/atest-exp.c (exp_mpn): Remove ROUND.
1618         * math/atest-exp2.c (exp_mpn): Likewise.
1619         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1621         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1622         * stdlib/tst-tls-atexit-lib.c: Likewise.
1623         * stdlib/tst-tls-atexit.c: Likewise.
1625 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1627         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1628         and __attribute_alloc_size__.
1630 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1632         * include/programs/xmalloc.h: Change __attribute_alloc_size to
1633         __attribute_alloc_size__.
1634         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1635         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1637 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1639         * include/programs/xmalloc.h: New file.
1640         * catgets/gencat.c: Include it.
1641         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1642         * elf/pldd.c: Likewise.
1643         * iconv/iconv_charmap.c: Likewise.
1644         * iconv/iconvconfig.c: Likewise.
1645         * iconv/strtab.c: Likewise.
1646         * locale/programs/locale.c: Likewise.
1647         * locale/programs/localedef.h: Likewise.
1648         * locale/programs/simple-hash.c: Likewise.
1649         * nscd/nscd.h: Likewise.
1650         * nss/makedb.c: Likewise.
1651         * sysdeps/generic/ldconfig.h: Likewise.
1653 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1655         * Versions.def: Add GLIBC_2.18.
1656         * include/link.h (struct link_map): New member l_tls_dtor_count.
1657         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1658         (__call_tls_dtors): Likewise.
1659         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1660         __cxa_thread_atexit_impl.
1661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1662         Likewise.
1663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1664         Likewise.
1665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1666         Likewise.
1667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1668         Likewise.
1669         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1671         Likewise.
1672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1673         Likewise.
1674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1676         Likewise.
1677         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1678         (tests): Add test case tst-tls-atexit.
1679         (modules-names): Add shared library for tst-tls-atexit.
1680         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1681         (GLIBC_PRIVATE): Add __call_tls_dtors.
1682         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1683         for libstdc++.
1684         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1685         * stdlib/tst-tls-atexit.c: New test case.
1686         * stdlib/tst-tls-atexit-lib.c: New test case.
1688         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1690         * elf/Versions (ld): Add _dl_find_dso_for_object.
1691         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1692         * elf/dl-open.c (_dl_find_dso_for_object): New function.
1693         (dl_open_worker): Use _dl_find_dso_for_object.
1694         * elf/dl-sym.c (do_sym): Likewise.
1695         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1697 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1699         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1700         Syntactic changes only.
1701         (_dl_runtime_profile): Do a tail-call to the resolved function.
1703 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
1705         [BZ #13550]
1706         * sysdeps/x86_64/bp-asm.h: Remove file.
1707         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1708         <bp-sym.h> and <bp-asm.h>.
1709         (__clone): Do not use BP_SYM.
1710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1711         <bp-sym.h> and <bp-asm.h>.
1712         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1713         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1714         "bp-asm.h".
1715         (_setjmp): Do not use BP_SYM.
1716         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1717         "bp-asm.h".
1718         (setjmp): Do not use BP_SYM.
1719         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1720         libc_hidden_def.
1721         (mempcpy): Do not use BP_SYM in weak_alias.
1722         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1723         "bp-asm.h".
1724         (strchr): Do not use BP_SYM.
1725         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1726         "bp-asm.h".
1727         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1728         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1729         (_start): Do not use BP_SYM.
1730         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1731         "bp-asm.h".
1732         (strcat): Do not use BP_SYM.
1733         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1734         "bp-asm.h".
1735         (STRCMP): Do not use BP_SYM.
1736         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1737         "bp-asm.h".
1738         (STRCPY): Do not use BP_SYM.
1739         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1740         "bp-asm.h".
1741         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1742         "bp-asm.h".
1743         (FUNCTION): Do not use BP_SYM.
1744         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1745         weak_alias.
1746         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1748 2013-02-17  Andreas Jaeger  <aj@suse.de>
1750         * time/Versions: Sort entries.
1751         * string/Versions: Likewise.
1752         * resolv/Versions: Likewise.
1753         * posix/Versions: Likewise.
1754         * iconv/Versions: Likewise.
1755         * elf/Versions: Likewise.
1756         * wcsmbs/Versions: Likewise.
1758 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1760         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1761         loop termination condition.
1763         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1764         variable to calculate EZ.
1765         (__sqr): Likewise.
1767         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1768         the lower precision input.
1770 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
1772         [BZ #13550]
1773         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1774         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1775         (run-via-rtld-prefix): Do not handle %-bp tests.
1776         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1777         (all-object-suffixes): Remove .ob.
1778         (bppfx): Remove variable.
1779         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1780         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1781         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1782         [$(build-bounded) = yes] (libtype.ob): Likewise.
1783         * Makerules (elide-routines.ob): Remove variable.
1784         (do-tests-clean): Do not handle *-bp.out.
1785         (common-mostlyclean): Do not handle *-bp and *-bp.out.
1786         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1787         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1788         (tests): Do not include $(tests-bp.out).
1789         (xtests): Do not include $(xtests-bp.out).
1790         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1791         [$(build-bounded) = yes] ($(addprefix
1792         $(objpfx),$(binaries-bounded))): Remove rule.
1793         ($(objpfx)%-bp.out): Remove rule.
1794         * config.make.in (build-bounded): Remove variable.
1795         * crypt/Makefile [$(build-bounded) = yes]
1796         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1797         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1798         append to variable.
1799         [$(build-bounded) = yes] (install-lib): Likewise.
1800         [$(build-bounded) = yes] (generated): Likewise.
1801         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1802         Remove rule.
1803         * intl/Makefile [$(build-bounded) = yes]
1804         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1805         * math/Makefile [$(build-bounded) = yes]
1806         ($(tests:%=$(objpfx)%-bp): Likewise.
1807         * misc/Makefile [$(build-bounded) = yes]
1808         ($(objpfx)tst-tsearch-bp): Likewise.
1809         * nptl/Makeconfig (bounded-thread-library): Remove variable.
1810         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1811         Remove dependency.
1812         * string/Makefile (o-objects.ob): Remove variable.
1813         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1814         (CFLAGS-.ob): Remove variable.
1815         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1816         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1817         both definitions of variable.
1818         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1819         (ASFLAGS-.ob): Remove variable.
1821 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
1823         [BZ #13550]
1824         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1825         Remove __BOUNDED_POINTERS__ from condition.
1826         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1827         * string/bits/string2.h [!__NO_STRING_INLINES &&
1828         !__BOUNDED_POINTERS__]: Likewise.
1829         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1830         Likewise.
1831         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1832         Remove conditional code.
1833         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1834         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1835         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1836         condition.
1838         [BZ #13550]
1839         * csu/libc-start.c: Do not include <bp-sym.h>.
1840         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1841         * elf/dl-open.c: Do not include <bp-sym.h>.
1842         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1843         * math/fegetenv.c: Do not include <bp-sym.h>.
1844         (fegetenv): Do not use BP_SYM in versioned symbols.
1845         * nptl/sysdeps/pthread/bits/libc-lockP.h
1846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1847         <bp-sym.h>.
1848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1849         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1851         (__pthread_mutex_destroy): Likewise.
1852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1853         (__pthread_mutex_lock): Likewise.
1854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1855         (__pthread_mutex_trylock): Likewise.
1856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1857         (__pthread_mutex_unlock): Likewise.
1858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1859         (__pthread_mutexattr_init): Likewise.
1860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1861         (__pthread_mutexattr_destroy): Likewise.
1862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1863         (__pthread_mutexattr_settype): Likewise.
1864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1865         (__pthread_rwlock_init): Likewise.
1866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1867         (__pthread_rwlock_destroy): Likewise.
1868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1869         (__pthread_rwlock_rdlock): Likewise.
1870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1871         (__pthread_rwlock_tryrdlock): Likewise.
1872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1873         (__pthread_rwlock_wrlock): Likewise.
1874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1875         (__pthread_rwlock_trywrlock): Likewise.
1876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1877         (__pthread_rwlock_unlock): Likewise.
1878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1879         (__pthread_key_create): Likewise.
1880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1881         (__pthread_setspecific): Likewise.
1882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1883         (__pthread_getspecific): Likewise.
1884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1885         Likewise.
1886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1887         (_pthread_cleanup_push_defer): Likewise.
1888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1889         (_pthread_cleanup_pop_restore): Likewise.
1890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1891         (pthread_setcancelstate): Likewise.
1892         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1893         <bp-sym.h>.
1894         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1895         (memchr): Do not use BP_SYM in weak_alias.
1896         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1897         (fegetenv): Do not use BP_SYM in versioned symbols.
1898         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1899         (fesetenv): Do not use BP_SYM in versioned symbols.
1900         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1901         (feupdateenv): Do not use BP_SYM in versioned symbols.
1902         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1903         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1904         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1905         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1906         (open64): Do not use BP_SYM in weak_alias.
1907         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1908         (fegetenv): Do not use BP_SYM in versioned symbols.
1909         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1910         (fesetenv): Do not use BP_SYM in versioned symbols.
1911         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1912         (feupdateenv): Do not use BP_SYM in versioned symbols.
1913         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1914         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1915         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1916         (feraiseexcept): Do not use BP_SYM in versioned symbols.
1917         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1918         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1919         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1920         <bp-sym.h>.
1921         (__libc_start_main): Do not use BP_SYM.
1923 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1925         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1926         redundant return line.
1927         (norm): Likewise.
1928         (denorm): Likewise.
1929         (dbl_mp): Likewise.
1930         (sub_magnitudes): Likewise.
1931         (__add): Likewise.
1932         (__sub): Likewise.
1933         (__mul): Likewise.
1934         (__inv): Likewise.
1935         (__dvd): Likewise.
1936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1937         (norm): Likewise.
1938         (denorm): Likewise.
1939         (dbl_mp): Likewise.
1940         (sub_magnitudes): Likewise.
1941         (__add): Likewise.
1942         (__sub): Likewise.
1943         (__mul): Likewise.
1944         (__inv): Likewise.
1945         (__dvd): Likewise.
1947         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1948         instead of __mul.
1949         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1950         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1951         (cc32): Likewise.
1953         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1954         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1955         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1956         of __mul for squares.
1957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1958         function
1959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1960         Likewise.
1961         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1962         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1964 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
1966         [BZ #13550]
1967         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1968         code.
1969         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1970         prototype or function definition.  Rename ubp_* variables and
1971         parameters.  Remove argv definitions conditional on
1972         [__BOUNDED_POINTERS__].
1973         * debug/backtrace.c (__backtrace): Do not use __unbounded.
1974         * elf/dl-runtime.c (_dl_fixup): Likewise.
1975         * include/set-hooks.h (RUN_HOOK): Likewise.
1976         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1977         definition.
1978         * string/strcpy.c (strcpy): Do not use __unbounded.
1979         * sysdeps/generic/frame.h (struct layout): Likewise.
1980         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1981         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1982         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1983         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1984         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1985         (__backtrace): Likewise.
1986         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1987         use __ptrvalue.
1988         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1989         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1990         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1991         Likewise.
1992         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1993         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1994         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1995         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1996         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1997         Do not use __unbounded.
1998         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1999         Rename __unboundedrlimits parameter to rlimits in prototype.
2000         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2001         Do not use __unbounded.
2002         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2003         not use __ptrvalue.
2004         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2005         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2006         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2007         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2008         __ptrvalue or __unbounded.
2009         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2010         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2011         use __unbounded.
2012         (__new_msgctl): Do not use __ptrvalue.
2013         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2014         __unbounded.
2015         (__libc_msgrcv): Do not use __ptrvalue.
2016         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2017         startup_info): Do not use __unbounded.
2018         (__libc_start_main): Likewise.  Rename ubp_* variables and
2019         parameters.  Remove argv definitions conditional on
2020         [__BOUNDED_POINTERS__].
2021         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2022         __ptrvalue.
2023         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2024         use __unbounded.
2025         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2026         or __ptrvalue.
2027         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2028         use __unbounded.
2029         (__new_shmctl): Do not use __ptrvalue.
2030         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2031         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2032         Likewise.
2033         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2034         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2035         (__libc_sigaction): Likewise.
2036         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2037         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2038         Likewise.
2039         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2041 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2043         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2045         * string/mempcpy.c: Implement by calling memcpy.
2047 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2049         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2052         evaluation.
2054         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2055         values in the mantissa.
2057         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2058         minimize writes to Z.
2059         (sub_magnitudes): Simplify code a bit.
2061 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2063         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2064         from the message.  The linker prefixes all warnings with that already.
2066 2013-02-12  Andreas Schwab  <schwab@suse.de>
2068         [BZ #15078]
2069         * posix/regexec.c (extend_buffers): Add parameter min_len.
2070         (check_matching): Pass minimum needed length.
2071         (clean_state_log_if_needed): Likewise.
2072         (get_subexp): Likewise.
2073         * posix/Makefile (tests): Add bug-regex34.
2074         (bug-regex34-ENV): Define.
2075         * posix/bug-regex34.c: New file.
2077         [BZ #11561]
2078         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2079         elements compare against the byte sequence of it, not its name.
2080         * posix/Makefile (tests): Add bug-regex35.
2081         (bug-regex35-ENV): Define.
2082         * posix/bug-regex35.c: New file.
2084 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2086         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2087         comment.
2088         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2089         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2090         (CHECK_EOL): Add undef.
2092 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2094         * bits/stdlib-bsearch.h: New file.
2095         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2096         * stdlib/stdlib.h: Likewise.
2098 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2100         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2101         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2102         declaration.
2103         * manual/search.texi (Array Search Function): Add missing const in
2104         lfind prototype.
2105         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2106         declaration to use rlim_t.
2107         (Basic Scheduling Functions): Remove erroneous const from
2108         sched_getparam prototype.  Remove erroneous * from
2109         sched_get_priority_max and sched_get_priority_min prototypes.
2110         (Resource Usage): Fix summary @comment on vtimes to refer to
2111         sys/vtimes.h rather than vtimes.h.
2112         Add missing *s in vtimes prototype.
2113         (Limits on Resources): Fix ulimit prototype to return long int.
2114         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2115         prototypes to use long int rather than double.
2116         (BSD Random): Fix initstate and setstate to use char *, not void *.
2117         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2118         prototype to make second argument 'struct aiocb64 *const[]'.
2119         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2120         (Status of AIO Operations): Remove erroneous const in aio_return and
2121         aio_return64 prototypes.
2122         (Synchronizing I/O): Fix sync prototype to return void.
2123         * manual/startup.texi (Suboptions): Remove an erroneous const in
2124         getsubopt prototype.
2125         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2126         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2127         use size_t rather than int.
2128         (Scanning All Users): Likewise for getpwent_r.
2129         (Setting Groups): Add missing const to setgroups prototype.
2130         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2131         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2132         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2133         'const void *' rather than 'const char *'.
2134         (Host Address Functions): Likewise for inet_ntop.
2135         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2136         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2137         ssize_t for return value.
2138         (Sending Data): Likewise for send, sendto, sendmsg.
2139         (Socket Option Functions): Add a missing const in setsockopt prototype.
2140         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2141         use wchar_t for the argument.
2142         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2143         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2144         take no arguments.
2145         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2146         double/float/long double for second argument.
2147         Fix return types of significand, significandf, significandl.
2148         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2149         argument in fchmod prototype.
2150         (File Owner): Use uid_t and gid_t in fchown prototype.
2151         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2152         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2153         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2154         use 'const struct dirent **' as argument types to CMP function pointer
2155         argument.
2156         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2157         (File Times): Fix summary magic @comment for struct utimbuf and utime
2158         to refer to utime.h, not time.h.
2159         * manual/string.texi (Argz Functions): Add missing const in
2160         argz_extract and argz_next prototypes.
2161         (Finding Tokens in a String): Likewise for basename.
2162         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2163         (Copying and Concatenation): Fix typo in wmemmove prototype.
2164         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2165         (Signal Stack): Remove erroneous const in sigstack prototype.
2166         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2167         prototype.
2168         (Simple Calendar Time): Likewise for stime.
2169         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2170         prototype.
2171         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2172         say sys/sysctl.h instead.
2173         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2174         and vsyslog prototypes.
2176 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2178         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2179         Remove.
2181 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2183         * misc/sys/mman.h: Fix typo in mremap comment.
2185 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2187         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2188         the '\0' terminator.
2190 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2192         [BZ #13550]
2193         * debug/segfault.c: Don't include <bp-checks.h>.
2194         * sysdeps/generic/bp-checks.h: Remove file.
2195         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2196         (__GETDENTS): Don't use CHECK_N.
2197         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2198         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2199         (__getgroups): Don't use CHECK_N.
2200         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2201         (setgroups): Don't use CHECK_N.
2202         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2203         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2204         (__libc_msgrcv): Don't use CHECK_N.
2205         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2206         (__libc_msgsnd): Don't use CHECK_N.
2207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2208         <bp-checks.h>.
2209         (__libc_pread): Don't use CHECK_N.
2210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2211         include <bp-checks.h>.
2212         (__libc_pread64): Don't use CHECK_N.
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2214         include <bp-checks.h>.
2215         (__libc_pwrite): Don't use CHECK_N.
2216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2217         include <bp-checks.h>.
2218         (__libc_pwrite64): Don't use CHECK_N.
2219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2220         <bp-checks.h>.
2221         (__libc_pread): Don't use CHECK_N.
2222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2223         include <bp-checks.h>.
2224         (__libc_pread64): Don't use CHECK_N.
2225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2226         include <bp-checks.h>.
2227         (__libc_pwrite): Don't use CHECK_N.
2228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2229         include <bp-checks.h>.
2230         (__libc_pwrite64): Don't use CHECK_N.
2231         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2232         (do_pread): Don't use CHECK_N.
2233         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2234         (do_pread64): Don't use CHECK_N.
2235         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2236         (do_pwrite): Don't use CHECK_N.
2237         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2238         (do_pwrite64): Don't use CHECK_N.
2239         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2240         (__libc_readv): Don't use CHECK_N.
2241         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2242         (semop): Don't use CHECK_N.
2243         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2244         <bp-checks.h>.
2245         (semtimedop): Don't use CHECK_N.
2246         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2247         (__libc_pread): Don't use CHECK_N.
2248         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2249         <bp-checks.h>.
2250         (__libc_pread64): Don't use CHECK_N.
2251         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2252         <bp-checks.h>.
2253         (__libc_pwrite): Don't use CHECK_N.
2254         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2255         <bp-checks.h>.
2256         (__libc_pwrite64): Don't use CHECK_N.
2257         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2258         <bp-checks.h>.
2259         (__libc_msgrcv): Don't use CHECK_N.
2260         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2261         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2262         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2263         (__libc_writev): Don't use CHECK_N.
2265 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2267         * string/strcpy.c: Removed unused variable.
2269         * Makeconfig (+sysdep-includes): Define with := rather than =.
2270         Use an existing include/ subdir of each sysdeps dir before it.
2272 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2274         * nscd/connection.c (register_traced_file): Comment function.
2275         [HAVE_INOTIFY] (union __inev): Define.
2276         [HAVE_INOTIFY] (inotify_check_files): New function.
2277         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2278         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2279         clear_db_cache.
2280         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2282 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2284         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2285         loaded if not already and that a failure is permanent.
2287 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2289         [BZ #15006]
2290         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2291         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2293 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2295         [BZ #13550]
2296         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2297         (CHECK_1_NULL_OK): Likewise.
2298         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2299         (__fxstat): Do not use CHECK_1.
2300         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2301         <bp-checks.h>.
2302         (___fxstat64): Do not use CHECK_1.
2303         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2304         <bp-checks.h>.
2305         (__fxstatat): Do not use CHECK_1.
2306         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2307         <bp-checks.h>.
2308         (__fxstatat64): Do not use CHECK_1.
2309         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2310         <bp-checks.h>.
2311         (__fxstat): Do not use CHECK_1.
2312         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2313         <bp-checks.h>.
2314         (__fxstatat): Do not use CHECK_1.
2315         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2316         <bp-checks.h>.
2317         (__getresgid): Do not use CHECK_1.
2318         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2319         <bp-checks.h>.
2320         (__getresuid): Do not use CHECK_1.
2321         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2322         <bp-checks.h>.
2323         (__lxstat): Do not use CHECK_1.
2324         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2325         <bp-checks.h>.
2326         (__old_msgctl): Do not use CHECK_1.
2327         (__new_msgctl): Likewise.
2328         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2329         <bp-checks.h>.
2330         (__new_setrlimit): Do not use CHECK_1.
2331         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2332         <bp-checks.h>.
2333         (__old_shmctl): Do not use CHECK_1.
2334         (__new_shmctl): Likewise.
2335         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2336         <bp-checks.h>.
2337         (__xstat): Do not use CHECK_1.
2338         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2339         (__lxstat): Do not use CHECK_1.
2340         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2341         <bp-checks.h>.
2342         (___lxstat64): Do not use CHECK_1.
2343         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2344         (__old_msgctl): Do not use CHECK_1.
2345         (__new_msgctl): Likewise.
2346         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2347         <bp-checks.h>.
2348         (__gettimeofday): Do not use CHECK_1.
2349         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2350         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2351         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2352         <bp-checks.h>.
2353         (__gettimeofday): Do not use CHECK_1.
2354         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2355         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2356         (__new_shmctl): Do not use CHECK_1.
2357         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2358         <bp-checks.h>.
2359         (do_sigtimedwait): Do not use CHECK_1.
2360         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2361         <bp-checks.h>.
2362         (do_sigwaitinfo): Do not use CHECK_1.
2363         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2364         <bp-checks.h>.
2365         (msgctl): Do not use CHECK_1.
2366         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2367         <bp-checks.h>.
2368         (shmctl): Do not use CHECK_1.
2369         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2370         (ustat): Do not use CHECK_1.
2371         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2372         <bp-checks.h>.
2373         (__fxstat): Do not use CHECK_1.
2374         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2375         <bp-checks.h>.
2376         (__fxstatat): Do not use CHECK_1.
2377         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2378         <bp-checks.h>.
2379         (__lxstat): Do not use CHECK_1.
2380         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2381         <bp-checks.h>.
2382         (__xstat): Do not use CHECK_1.
2383         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2384         (__xstat): Do not use CHECK_1.
2385         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2386         (___xstat64): Do not use CHECK_1.
2388         [BZ #13550]
2389         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2390         definitions.
2391         (CHECK_BOUNDS_HIGH): Likewise.
2392         * string/strcpy.c: Do not include <bp-checks.h>.
2393         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2395 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2397         * nscd/nscd-client.h (__nscd_drop_map_ref):
2398         Add __attribute__ ((unused)).
2399         * nis/nss-nisplus.h (niserr2nss): Likewise.
2401         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2402         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2404         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2405         Remove inline keyword.
2406         * include/rounding-mode.h (round_away): Likewise.
2407         * libio/wfileops.c (adjust_wide_data): Likewise.
2408         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2409         (__m128i_strloadu_tolower): Likewise.
2410         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2411         (__m128i_strloadu_tolower): Likewise.
2412         * time/mktime.c (ydhms_diff): Likewise.
2413         * locale/elem-hash.h (elem_hash): Likewise.
2414         * locale/setlocale.c (setdata): Likewise.
2415         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2416         (re_string_wchar_at): Likewise.
2417         (bitset_not, bitset_merge, bitset_mask): Likewise.
2418         [!(__GNUC__ > 3)] (inline): Remove macro.
2419         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2420         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2421         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2422         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2423         * string/memcmp.c (memcmp_bytes): Likewise.
2424         * locale/programs/locarchive.c (compute_hashval): Likewise.
2425         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2426         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2427         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2428         * nss/getent.c (print_rpc, print_protocols): Likewise.
2429         (print_passwd, print_group, print_aliases): Likewise.
2430         * nis/nss-nisplus.h (niserr2nss): Likewise.
2431         * nscd/connections.c (restart_p): Likewise.
2432         Change return type to bool.
2434 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2436         * Makeconfig (all-Depend-files): Add existing
2437         $(sorted-subdirs:=/Depend) files.
2438         (all-subdirs): Remove nss.
2439         * sysdeps/unix/inet/Subdirs: Add it here instead.
2440         * hesiod/Depend: New file.
2442         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2443         instead of calling alloca.
2445         * io/lseek.c (__lseek): Rename to __libc_lseek.
2446         Define __lseek as an alias.
2448         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2450 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2452         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2453         else clause and remove check for non-standard endianness.
2455 2013-02-04  David S. Miller  <davem@davemloft.net>
2457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2459 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2461         [BZ #13550]
2462         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2463         (__ubp_memchr): Remove prototype.
2464         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2465         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2466         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2467         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2468         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2469         Remove alias.
2470         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2471         (__ubp_memchr): Likewise.
2472         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2473         (__ubp_memchr): Likewise.
2474         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2475         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2476         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2477         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2478         CHECK_STRING.
2479         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2480         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2481         (__getcwd): Do not use CHECK_STRING.
2482         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2483         <bp-checks.h>.
2484         (__real_chown): Do not use CHECK_STRING.
2485         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2486         <bp-checks.h>.
2487         (fchownat): Do not use CHECK_STRING.
2488         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2489         CHECK_STRING.
2490         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2491         <bp-checks.h>.
2492         (__lchown): Do not use CHECK_STRING.
2493         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2494         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2495         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2496         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2498         include <bp-checks.h>.
2499         (truncate64): Do not use CHECK_STRING.
2500         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2501         <bp-checks.h>.
2502         (__real_chown): Do not use CHECK_STRING.
2503         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2504         <bp-checks.h>.
2505         (__lchown): Do not use CHECK_STRING.
2506         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2507         <bp-checks.h>.
2508         (__chown): Do not use CHECK_STRING.
2509         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2510         <bp-checks.h>.
2511         (truncate64): Do not use CHECK_STRING.
2512         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2513         Likewise.
2514         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2515         (__xmknod): Do not use CHECK_STRING.
2516         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2517         <bp-checks.h>.
2518         (__xmknodat): Do not use CHECK_STRING.
2519         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2520         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2522 2013-02-04  Andreas Schwab  <schwab@suse.de>
2524         [BZ #14142]
2525         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2526         * include/netdb.h: Likewise for h_errno.
2527         * elf/tst-stackguard1.c: Include <tls.h>.
2529 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2531         * elf/link.h (struct link_map): Extend the l_addr comment.
2532         * include/link.h (struct link_map): Likewise.
2534 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
2536         [BZ #13550]
2537         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2538         (BOUNDED_1): Remove macro.
2539         * debug/backtrace.c: Don't include <bp-checks.h>.
2540         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2541         (__backtrace): Likewise.
2542         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2543         <bp-checks.h>.
2544         (__backtrace): Don't use BOUNDED_1.
2545         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2546         <bp-checks.h>.
2547         (__backtrace): Don't use BOUNDED_1.
2548         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2549         (__backtrace): Don't use BOUNDED_1.
2550         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2551         (shmat): Don't use BOUNDED_N.
2553 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
2555         [BZ #13550]
2556         * sysdeps/generic/bp-start.h: Remove file.
2557         * csu/libc-start.c: Don't include <bp-start.h>.
2558         (LIBC_START_MAIN): Set up __environ directly instead of using
2559         INIT_ARGV_and_ENVIRON.
2560         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2561         <bp-start.h>.
2563         [BZ #13550]
2564         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2565         definitions.
2566         (CHECK_FCNTL): Likewise.
2567         (CHECK_N_PAGES): Likewise.
2569         [BZ #13550]
2570         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2571         definitions.
2572         (CHECK_SIGSET_NULL_OK): Likewise.
2573         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2574         <bp-checks.h>.
2575         (sigpending): Don't use CHECK_SIGSET.
2576         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2577         <bp-checks.h>.
2578         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2579         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2580         <bp-checks.h>.
2581         (do_sigsuspend): Don't use CHECK_SIGSET.
2582         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2583         use CHECK_SIGSET.
2584         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2585         (do_sigwait): Don't use CHECK_SIGSET.
2586         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2587         use CHECK_SIGSET.
2588         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2589         include <bp-checks.h>.
2590         (sigpending): Don't use CHECK_SIGSET.
2591         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2592         include <bp-checks.h>.
2593         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2594         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2595         <bp-checks.h>.
2596         (sigpending): Don't use CHECK_SIGSET.
2597         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2598         <bp-checks.h>.
2599         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2601         [BZ #13550]
2602         * sysdeps/generic/bp-semctl.h: Remove file.
2603         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2604         <bp-checks.h> and <bp-semctl.h>.
2605         (__old_semctl): Don't use CHECK_SEMCTL.
2606         (__new_semctl): Likewise.
2607         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2608         and <bp-semctl.h>.
2609         (__old_semctl): Don't use CHECK_SEMCTL.
2610         (__new_semctl): Likewise.
2611         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2612         <bp-checks.h> and <bp-semctl.h>.
2613         (__old_semctl): Don't use CHECK_SEMCTL.
2614         (__new_semctl): Likewise.
2615         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2616         <bp-checks.h> and <bp-semctl.h>.
2617         (semctl): Don't use CHECK_SEMCTL.
2619         [BZ #13550]
2620         * Makerules (elide-bp-thunks): Remove variable.
2621         (elide-routines.oS): Don't use $(elide-bp-thunks).
2622         (elide-routines.os): Likewise.
2623         (elide-routines.o): Likewise.
2624         (elide-routines.op): Likewise.
2625         (elide-routines.og): Likewise.
2626         (objects): Don't use $(bp-thunks).
2627         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2628         include.
2629         (common-generated): Do not add s-proto-bp.d.
2630         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2631         (int): Likewise.
2632         (typ): Likewise.
2633         Do not generate makefile rules for bounded-pointer thunks.
2634         * sysdeps/generic/bp-thunks.h: Remove file.
2635         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2636         * sysdeps/unix/s-proto-bp.S: Likewise.
2638         [BZ #15062]
2639         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2640         parts of result separately when argument is not close to line from
2641         -i to i and one part of argument is small.
2642         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2643         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2644         * math/libm-test.inc (cacos_test): Add more tests.
2645         (casin_test): Likewise.
2646         (casinh_test): Likewise.
2647         * sysdeps/i386/fpu/libm-test-ulps: Update.
2648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2650 2013-01-31  David S. Miller  <davem@davemloft.net>
2652         * po/de.po: Update from translation team.
2654 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
2656         * time/tzfile.c: Include stdint.h for SIZE_MAX.
2658 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
2660         * configure.in (_AC_PROG_CC_C89): New definition.
2661         * configure: Regenerate.
2663         * configure.in (AC_PROG_CPP): New definition.
2664         * configure: Regenerate.
2666 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2668         * debug/tst-backtrace.h: New file.
2669         * debug/tst-backtrace2.c: Include tst-backtrace.h.
2670         (ret): Remove variable.
2671         (x): Likewise.
2672         (FAIL): Remove macro.
2673         (NO_INLINE): Likewise.
2674         (fn1): Use match function instead of strstr.
2675         * debug/tst-backtrace3.c: Include tst-backtrace.h.
2676         (ret): Remove variable.
2677         (x): Likewise.
2678         (FAIL): Remove macro.
2679         (NO_INLINE): Likewise.
2680         (fn): Use match function instead of strstr.
2681         * debug/tst-backtrace4.c: Include tst-backtrace.h.
2682         (ret): Remove variable.
2683         (x): Likewise.
2684         (FAIL): Remove macro.
2685         (NO_INLINE): Likewise.
2686         (handle_signal): Use match function instead of strstr.
2687         * debug/tst-backtrace5.c: Include tst-backtrace.h.
2688         (ret): Remove variable.
2689         (x): Likewise.
2690         (FAIL): Remove macro.
2691         (NO_INLINE): Likewise.
2692         (handle_signal): Use match function instead of strstr.
2694 2013-01-23  Roland McGrath  <roland@hack.frob.com>
2696         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2698 2013-01-23  David S. Miller  <davem@davemloft.net>
2700         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2701         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2702         argument of CAS if possible.
2703         * sysdeps/sparc/sparc64/bits/atomic.h
2704         (__arch_compare_and_exchange_val_32_acq): Likewise.
2705         (__arch_compare_and_exchange_val_64_acq): Likewise.
2707 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
2709         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2710         * sysdeps/posix/ulimit.c: ... this.
2711         Include <limits.h>.
2712         * sysdeps/unix/bsd/ulimit.c: Remove file.
2714 2013-01-23  Adam Conrad  <adconrad@0c3.net>
2716         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2717         (LDFLAGS-tst-array5): Likewise.
2719 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2721         [BZ #15036]
2722         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2723         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2724         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2725         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2727 2013-01-21  David S. Miller  <davem@davemloft.net>
2729         * sysdeps/sparc/backtrace.c: New file.
2730         * sysdeps/sparc/sparc32/backtrace.h: New file.
2731         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2732         * sysdeps/sparc/sparc64/backtrace.h: New file.
2733         * sysdeps/sparc/sparc64/backtrace.c: Delete.
2734         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2735         -funwind-tables.
2737 2013-01-21  Andreas Schwab  <schwab@suse.de>
2739         [BZ #15020]
2740         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2741         closed its stdout.
2743 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
2745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2746         "mpa2.h".
2747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2749 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
2750             Mark Mitchell  <mark@codesourcery.com>
2751             Tom de Vries  <tom@codesourcery.com>
2752             Paul Pluzhnikov  <ppluzhnikov@google.com>
2754         * debug/tst-backtrace2.c: New file.
2755         * debug/tst-backtrace3.c: Likewise.
2756         * debug/tst-backtrace4.c: Likewise.
2757         * debug/tst-backtrace5.c: Likewise.
2758         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2759         (CFLAGS-tst-backtrace3.c): Likewise.
2760         (CFLAGS-tst-backtrace4.c): Likewise.
2761         (CFLAGS-tst-backtrace5.c): Likewise.
2762         (LDFLAGS-tst-backtrace2): Likewise.
2763         (LDFLAGS-tst-backtrace3): Likewise.
2764         (LDFLAGS-tst-backtrace4): Likewise.
2765         (LDFLAGS-tst-backtrace5): Likewise.
2766         (tests): Add new tests tst-backtrace2, tst-backtrace3,
2767         tst-backtrace4 and tst-backtrace5.
2769 2013-01-18  Anton Blanchard  <anton@samba.org>
2770             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2772         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2773         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2774         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2775         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2777         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2778         "+r" and remove output regs list as redundant.  Add explicit inline
2779         asm to specify register of return val to work around compiler codegen
2780         bug.  Remove (int) cast on return value.  Add return type parameter to
2781         use in macro so that this macro does not truncate return value for
2782         64-bit values.
2783         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2784         pass to INTERNAL_VSYSCALL_NCS.
2785         (INLINE_VSYSCALL): Add 'long int' as return type to
2786         INTERNAL_VSYSCALL_NCS macro invocation.
2787         (INTERNAL_VSYSCALL): Add 'long int' as return type to
2788         INTERNAL_VSYSCALL_NCS macro invocation.
2789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2791 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2793         [BZ #14496]
2794         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2795         Fix application of SIMD FP exception mask.
2797         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2798         mp_no from a power of two.
2799         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2800         __mpexp_twomm1.  Use __pow_mp.
2802         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2803         multiplication.
2805 2013-01-17  David S. Miller  <davem@davemloft.net>
2807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2809 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2811         [BZ #15023]
2812         * include/complex.h: Condition contents on [!_COMPLEX_H].
2813         (__kernel_casinhf): New prototype.
2814         (__kernel_casinh): Likewise.
2815         (__kernel_casinhl): Likewise.
2816         * math/Makefile (libm_calls): Add k_casinh.
2817         * math/k_casinh.c: New file.
2818         * math/k_casinhf.c: Likewise.
2819         * math/k_casinhl.c: Likewise.
2820         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2821         finite nonzero arguments.
2822         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2823         finite nonzero arguments.
2824         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2825         finite nonzero arguments.
2826         * math/s_casinh.c: Do not include <float.h>.
2827         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2828         * math/s_casinhf.c: Do not include <float.h>.
2829         (__casinhf): Move code for finite nonzero arguments to
2830         k_casinhf.c.
2831         * math/s_casinhl.c: Do not include <float.h>.
2832         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2833         redefine.
2834         (__casinhl): Move code for finite nonzero arguments to
2835         k_casinhl.c.
2836         * math/libm-test.inc (cacos_test): Add more tests.
2837         * sysdeps/i386/fpu/libm-test-ulps: Update.
2838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2840 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
2842         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2843         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2844         [!HAVE_MREMAP]: Remove [defined linux] case.
2845         * malloc/arena.c: Do not include <malloc-sysdep.h>.
2847 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2849         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2851 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
2853         * elf/elf.h (R_386_SIZE32): New relocation.
2854         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2855         R_386_SIZE32.
2856         (elf_machine_rela): Likewise.
2857         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2858         R_X86_64_SIZE64 and R_X86_64_SIZE32.
2860 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2862         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2863         (FP_FAST_FMA): Do not define.
2864         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2865         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2866         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2867         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2868         !_SOFT_FLOAT]: Likewise.
2869         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2870         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2871         value.
2872         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2873         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2874         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2875         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2876         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2877         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2878         file.
2880 2013-01-16  Andreas Schwab  <schwab@suse.de>
2882         [BZ #14327]
2883         * include/stdlib.h (__mktemp): Add declaration.
2884         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2885         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2887 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2889         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2890         definitions.
2891         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2892         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2893         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2894         definitions here.
2895         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2896         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2897         definitions.
2898         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2899         and ONE.
2900         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2901         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2902         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2903         definitions.
2904         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2905         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2906         definitions.
2907         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2909         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2911 2013-01-15  David S. Miller  <davem@davemloft.net>
2913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2914         trunc{,f} to libm-sysdep_routes.
2915         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2917         file.
2918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2920         file.
2921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2922         file.
2923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2925         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2926         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2927         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2928         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2929         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2930         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2933         nearbyint{,f} to libm-sysdep_routes.
2934         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2936         New file.
2937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2938         file.
2939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2940         New file.
2941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2942         file.
2943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2945         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2946         file.
2947         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2948         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2949         file.
2950         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2951         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2952         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2954         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2955         libc_feholdexcept and libc_fesetenv.
2957 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
2959         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2961 2013-01-14  David S. Miller  <davem@davemloft.net>
2963         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2964         (SPARC_ASM_VIS2_IFUNC): Likewise.
2965         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2967         use of 'siam' instruction.
2968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2969         Likewise.
2970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2971         Likewise.
2972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2973         Likewise.
2974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2979         file.
2980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2981         file.
2982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2983         file.
2984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2985         file.
2986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2988         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2989         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2991         new VIS2 routines.
2992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2995         Likewise.
2996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2999         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3001         routines to libm-sysdep_routines.
3002         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3005         fdim/fdimf to libm-sysdep_routines.
3006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3007         file.
3008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3010         file.
3011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3014         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3015         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3016         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3017         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3019 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3021         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3022         to optimize copies.
3024         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3029         local variable MPTWO.
3030         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3031         Likewise.
3033 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3035         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3036         GLOB_NOESCAPE.
3038 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3040         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3042 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3044         * manual/pattern.texi (glob_t): Document gl_flags.
3045         (glob64_t): Likewise.
3047 2013-01-11  David S. Miller  <davem@davemloft.net>
3049         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3050         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3051         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3052         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3053         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3054         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3055         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3056         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3057         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3058         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3059         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3060         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3061         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3063         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3064         sparc V9 rather than using V8 code.
3065         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3066         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3068         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3069         Move to...
3070         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3071         Here.
3073 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3075         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3076         not in the main loop.
3077         * configure: Regenerated.
3079 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3081         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3082         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3083         to just #else.
3084         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3085         [!__GLIBC_HAVE_LONG_LONG] case.
3086         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3087         condition to just #else.
3088         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3089         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3090         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3091         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3092         unconditional.
3093         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3094         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3095         #elif condition to just #else.
3096         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3097         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3098         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3099         #elif condition to just #else.
3101 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3103         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3104         (EF_MIPS_ARCH_64): Fix value.
3105         (EF_MIPS_ARCH_32R2): New.
3106         (EF_MIPS_ARCH_64R2): New.
3108 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3110         * Makeconfig (+link-pie-before-libc): New.
3111         (+link-pie-after-libc): Likewise.
3112         (+link-pie-tests): Likewise.
3113         (+link-pie): Rewritten.
3114         (link-before-libc): Remove $(config-LDFLAGS).
3115         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3116         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3117         (config-LDFLAGS): Renamed to ...
3118         (rtld-LDFLAGS): This.
3119         (rtld-tests-LDFLAGS): New macro.
3120         (link-libc-rpath-link): Likewise.
3121         (link-libc-tests-rpath-link): Likewise.
3122         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3123         (link-libc): Prepand $(link-libc-rpath-link).
3124         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3125         (test-program-prefix): New macro.
3126         (test-via-rtld-prefix): Likewise.
3127         (test-program-cmd): Likewise.
3128         (host-test-program-cmd): Likewise.
3129         * Makefile ($(common-objpfx)testrun.sh): Replace
3130         $(run-program-prefix) with $(test-program-prefix).
3131         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3132         $(rtld-LDFLAGS).
3133         ($(common-objpfx)shlib.lds): Likewise.
3134         (build-module-helper): Likewise.
3135         ($(common-objpfx)format.lds): Likewise.
3136         * Rules (binaries-pie-tests): New.
3137         (binaries-pie-notests): Likewise.
3138         (binaries-pie): Rewritten.
3139         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3140         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3141         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3142         (make-test-out): Replace $(host-built-program-cmd) with
3143         $(host-test-program-cmd).
3144         * config.make.in (build-hardcoded-path-in-tests): New variable.
3145         * configure.in (--enable-hardcoded-path-in-tests): New configure
3146         option.
3147         (hardcoded_path_in_tests): New AC_SUBST.
3148         * configure: Regenerated.
3149         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3150         $(built-program-cmd) with $(test-program-cmd).
3151         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3152         (test_program_cmd): This.
3153         * elf/Makefile ($(objpfx)order.out): Run test with
3154         $(test-program-prefix).
3155         ($(objpfx)order2.out): Likewise.
3156         ($(objpfx)tst-initorder.out): Likewise.
3157         ($(objpfx)tst-initorder2.out): Likewise.
3158         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3159         $(test-program-cmd).
3160         ($(objpfx)tst-array1-static.out): Likewise.
3161         ($(objpfx)tst-array2.out): Likewise.
3162         ($(objpfx)tst-array3.out): Likewise.
3163         ($(objpfx)tst-array4.out): Likewise.
3164         ($(objpfx)tst-array5.out): Likewise.
3165         ($(objpfx)tst-array5-static.out): Likewise.
3166         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3167         $(test-program-cmd).
3168         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3169         $(run-program-prefix) with $(test-program-prefix).
3170         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3171         (test_program_prefix): This.
3172         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3173         $(run-program-prefix) with $(test-program-prefix).
3174         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3175         (test_program_prefix): This.
3176         * iconvdata/tst-tables.sh: Likewise.
3177         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3178         $(run-program-prefix) with $(test-program-prefix).
3179         ($(objpfx)tst-translit.out): Likewise.
3180         ($(objpfx)tst-gettext2.out): Likewise.
3181         ($(objpfx)tst-gettext4.out): Likewise.
3182         ($(objpfx)tst-gettext6.out): Likewise.
3183         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3184         (test_program_prefix): This.
3185         * intl/tst-gettext2.sh: Likewise.
3186         * intl/tst-gettext4.sh  Likewise.
3187         * intl/tst-gettext6.sh: Likewise.
3188         * intl/tst-translit.sh: Likewise.
3189         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3190         with $(test-program-cmd).
3191         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3192         $(run-program-prefix) with $(test-program-prefix).
3193         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3194         (test_program_prefix): This.
3195         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3196         $(run-program-prefix) with $(test-program-prefix).
3197         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3198         (test_program_prefix): This.
3199         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3200         * posix/Makefile ($(objpfx)globtest.out): Replace
3201         $(run-via-rtld-prefix) and $(test-wrapper) with
3202         $(test-program-prefix) and $(test-via-rtld-prefix).
3203         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3204         $(test-program-prefix).
3205         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3206         $(host-test-program-cmd).
3207         (tst-spawn-ARGS): Likewise.
3208         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3209         $(test-program-prefix).
3210         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3211         (test_via_rtld_prefix): This.
3212         (test_wrapper): Renamed to ...
3213         (test_program_prefix): This.
3214         (run_program_prefix): Replaced by test_program_prefix.
3215         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3216         (test_program_prefix): This.
3217         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3218         with $(host-test-program-cmd).
3219         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3220         $(run-program-prefix) with $(test-program-prefix).
3221         ($(objpfx)tst-printf.out): Likewise.
3222         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3223         $(test-program-cmd).
3224         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3225         (test_program_prefix): This.
3226         * stdio-common/tst-unbputc.sh: Likewise.
3227         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3228         $(run-program-prefix) with $(test-program-prefix).
3229         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3230         (test_program_prefix): This.
3231         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3232         $(built-program-cmd) with $(test-program-cmd).
3234 2013-01-11  Andreas Jaeger  <aj@suse.de>
3236         [BZ #15003]
3237         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3238         value. Sync with Linux 3.7.
3240 2013-01-10  David S. Miller  <davem@davemloft.net>
3242         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3243         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3244         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3246 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3248         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3249         never set.
3250         * configure: Regenerated.
3252 2013-01-10  David S. Miller  <davem@davemloft.net>
3254         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3255         sparc V9 rather than using V8 code.
3256         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3257         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3259 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3261         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3262         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3263         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3264         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3265         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3266         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3267         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3268         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3269         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3270         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3271         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3272         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3273         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3274         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3275         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3276         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3277         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3278         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3279         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3280         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3281         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3282         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3283         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3284         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3285         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3286         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3287         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3289 2013-01-10  David S. Miller  <davem@davemloft.net>
3291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3293 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3295         * posix/Makefile (tests-static): New variable.
3296         (tests): Add $(tests-static).
3297         (tst-exec-static-ARGS): New variable.
3298         (tst-spawn-static-ARGS): Likewise.
3299         * posix/tst-exec-static.c: New file.
3300         * posix/tst-spawn-static.c: Likewise.
3301         * posix/tst-exec.c: Support run directly.
3302         * posix/tst-spawn.c: Likewise.
3304 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3306         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3307         long.
3308         * math/bits/mathcalls.h (llrint): Likewise.
3309         (llround): Likewise.
3310         * stdlib/stdlib.h (struct drand48_data): Likewise.
3311         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3312         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3313         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3314         Likewise.
3315         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3316         Likewise.
3317         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3318         (elf_greg_t): Likewise.
3319         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3320         (__jmp_buf): Likewise.
3321         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3322         definitions.
3323         (llrint): Likewise, for all definitions.
3324         (llrintl): Likewise.
3326         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3327         Remove [__GNUC__] condition.
3328         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3329         condition to just [__USE_ISOC99].
3330         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3332 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3334         [BZ #14200]
3335         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3336         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3337         defined.
3338         (_POSIX_V6_ILP32_OFF32): Likewise.
3339         (_XBS5_ILP32_OFF32): Likewise.
3340         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3341         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3343 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3345         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3347         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3348         doubles __mpexp_twomm1.  Adjust usage.
3349         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3350         Remove.
3352 2013-01-10  Andreas Schwab  <schwab@suse.de>
3354         [BZ #14964]
3355         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3356         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3358 2013-01-09  David S. Miller  <davem@davemloft.net>
3360         [BZ #15003]
3361         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3362         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3363         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3364         TCP_FASTOPEN): Define.
3365         (tcp_repair_opt): New structure.
3366         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3367         enum values.
3368         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3369         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3370         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3371         (tcp_cookie_transactions): New structure.
3373 2013-01-09  Anton Blanchard  <anton@samba.org>
3375         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3376         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3377         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3378         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3380 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3382         * include/features.h (__USE_ANSI): Remove.
3384 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3386         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3388         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3390 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3392         * sysdeps/s390/fpu/libm-test-ulps: Update.
3394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3396         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3397         (__acr): Likewise.
3398         (__cpy): Likewise.
3399         (norm): Likewise.
3400         (denorm): Likewise.
3401         (__mp_dbl): Likewise.
3402         (__dbl_mp): Likewise.
3403         (add_magnitudes): Likewise.
3404         (sub_magnitudes): Likewise.
3405         (__add): Likewise.
3406         (__sub): Likewise.
3407         (__mul): Likewise.
3408         (__inv): Likewise.
3409         (__dvd): Likewise.
3410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3411         (__acr): Likewise.
3412         (__cpy): Likewise.
3413         (norm): Likewise.
3414         (denorm): Likewise.
3415         (__mp_dbl): Likewise.
3416         (__dbl_mp): Likewise.
3417         (add_magnitudes): Likewise.
3418         (sub_magnitudes): Likewise.
3419         (__add): Likewise.
3420         (__sub): Likewise.
3421         (__mul): Likewise.
3422         (__inv): Likewise.
3423         (__dvd): Likewise.
3424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3425         (__acr): Likewise.
3426         (__cpy): Likewise.
3427         (norm): Likewise.
3428         (denorm): Likewise.
3429         (__mp_dbl): Likewise.
3430         (__dbl_mp): Likewise.
3431         (add_magnitudes): Likewise.
3432         (sub_magnitudes): Likewise.
3433         (__add): Likewise.
3434         (__sub): Likewise.
3435         (__mul): Likewise.
3436         (__inv): Likewise.
3437         (__dvd): Likewise.
3439 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3441         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3442         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3443         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3444         2 && __USE_EXTERN_INLINES]: Likewise.
3446 2013-01-08  Andreas Jaeger  <aj@suse.de>
3448         [BZ# 14985]
3449         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3450         Remove.
3451         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3452         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3454 2013-01-07  Anton Blanchard  <anton@samba.org>
3456         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3457         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3458         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3459         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3460         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3461         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3462         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3463         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3465         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3466         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3467         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3468         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3469         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3470         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3471         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3472         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3473         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3474         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3475         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3476         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3477         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3478         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3479         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3480         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3481         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3482         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3483         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3484         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3485         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3486         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3487         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3488         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3489         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3490         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3491         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3492         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3493         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3494         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3495         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3496         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3497         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3498         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3500 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
3502         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3503         (__MALLOC_PMT): Likewise.
3504         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3505         [__GNUC__], only on [_LIBC].
3506         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3507         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3508         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3509         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3510         forward declaration.
3511         (realloc_hook_ini): Likewise.
3512         (memalign_hook_ini): Likewise.
3513         (__libc_memalign): Do not use __MALLOC_PMT in variable
3514         declaration.
3515         (__libc_valloc): Likewise.
3516         (__libc_pvalloc): Likewise.
3517         (__libc_calloc): Likewise.
3518         (__posix_memalign): Likewise.
3520         [BZ #14996]
3521         * math/s_casinh.c: Include <float.h>.
3522         (__casinh): Do not do computation with squaring and square root
3523         for large arguments.
3524         * math/s_casinhf.c: Include <float.h>.
3525         (__casinhf): Do not do computation with squaring and square root
3526         for large arguments.
3527         * math/s_casinhl.c: Include <float.h>.
3528         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3529         (__casinhl): Do not do computation with squaring and square root
3530         for large arguments.
3531         * math/libm-test.inc (casin_test): Add more tests.
3532         (casinh_test): Likewise.
3533         * sysdeps/i386/fpu/libm-test-ulps: Update.
3534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3536 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3538         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3539         (__x86_64_raw_data_cache_size): Likewise.
3540         (__x86_64_data_cache_size_half): Likewise.
3541         (__x86_64_raw_data_cache_size_half): Likewise.
3542         (__x86_64_shared_cache_size): Likewise.
3543         (__x86_64_raw_shared_cache_size): Likewise.
3544         (__x86_64_shared_cache_size_half): Likewise.
3545         (__x86_64_raw_shared_cache_size_half): Likewise.
3546         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3547         to ...
3548         (__x86_data_cache_size): This.
3549         (__x86_64_raw_data_cache_size): Renamed to ...
3550         (__x86_raw_data_cache_size): This.
3551         (__x86_64_data_cache_size_half): Renamed to ...
3552         (__x86_data_cache_size_half): This.
3553         (__x86_64_raw_data_cache_size_half): Renamed to ...
3554         (__x86_raw_data_cache_size_half): This.
3555         (__x86_64_shared_cache_size): Renamed to ...
3556         (__x86_shared_cache_size): This.
3557         (__x86_64_raw_shared_cache_size): Renamed to ...
3558         (__x86_raw_shared_cache_size): This.
3559         (__x86_64_shared_cache_size_half): Renamed to ...
3560         (__x86_shared_cache_size_half): This.
3561         (__x86_64_raw_shared_cache_size_half): Renamed to ...
3562         (__x86_raw_shared_cache_size_half): This.
3563         * sysdeps/x86_64/memcpy.S: Updated.
3564         * sysdeps/x86_64/memset.S: Likewise.
3565         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3566         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3567         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3569 2013-01-04  David S. Miller  <davem@davemloft.net>
3571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3573 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3575         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3576         1 to avoid redefinition warning.
3577         (__USE_GNU): Don't define.
3578         (init_signaling_nan): Protoize.
3580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3582 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3584         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3586         (__cpymn): Likewise.
3587         (norm): Remove commented code.
3588         (denorm): Likewise.
3589         (__mp_dbl): Likewise.
3590         (__inv): Likewise.
3591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3592         (__cpymn): Likewise.
3593         (norm): Remove commented code.
3594         (denorm): Likewise.
3595         (__mp_dbl): Likewise.
3596         (__inv): Likewise.
3598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3599         mp_no value for 1.0 and 2.0.
3600         (norm): Use RADIXI instead of radixi.d.
3601         (denorm): Likewise.
3602         (__mul): Use 0.0 instead of zero.d.
3603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3604         mp_no value for 1.0 and 2.0.
3605         (norm): Use RADIXI instead of radixi.d.
3606         (denorm): Likewise.
3607         (__mul): Use 0.0 instead of zero.d.
3609 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
3611         [BZ #14994]
3612         * math/s_casinh.c (__casinh): Reduce finite argument to first
3613         quadrant then set signs of results at the end.
3614         * math/s_casinhf.c (__casinhf): Likewise.
3615         * math/s_casinhl.c (__casinhl): Likewise.
3616         * math/libm-test.inc (casin_test): Add more tests.
3617         (casinh_test): Likewise.
3618         * sysdeps/i386/fpu/libm-test-ulps: Update.
3619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3621 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3623         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3625         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3627         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3628         declarations.
3629         (denorm): Likewise.
3630         (__mp_dbl): Likewise.
3631         (__inv): Likewise.
3633         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3634         and adjust the header comment.
3636         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3637         variable name from declaration.
3639 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
3641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3642         Initialize COMMON_CPUID_INDEX_7 element.
3643         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3644         (CPUID_RTM): Likewise.
3645         (HAS_RTM): Likewise.
3646         (COMMON_CPUID_INDEX_7): New enum.
3648 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
3650         [BZ #14981]
3651         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3652         size is zero, record memory as freed.
3654 2013-01-03  Andreas Jaeger  <aj@suse.de>
3656         * po/ia.po: Add new Interlingua translation.
3658 2012-01-03  Allan McRae  <allan@archlinux.org>
3660         * locale/programs/localedef.c: Fix description of '--posix' flag.
3662 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
3664         * NEWS: Update dates in second copyright notice.
3665         * README: Update copyright dates in example.
3666         * manual/libc.texinfo: Update copyright dates.
3667         * scripts/test-installation.pl: Update copyright date in --version
3668         output.
3670         * hurd/ctty-input.c: Fix copyright notice formatting.
3671         * hurd/ctty-output.c: Likewise.
3672         * hurd/dtable.c: Likewise.
3673         * hurd/hurd-raise.c: Likewise.
3674         * hurd/hurdprio.c: Likewise.
3675         * hurd/msgportdemux.c: Likewise.
3676         * misc/sys/file.h: Likewise.
3677         * misc/sys/ioctl.h: Likewise.
3678         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3679         * sysdeps/mach/hurd/chdir.c: Likewise.
3680         * sysdeps/mach/hurd/fchdir.c: Likewise.
3681         * sysdeps/mach/hurd/rename.c: Likewise.
3682         * sysdeps/mach/hurd/rmdir.c: Likewise.
3683         * sysdeps/mach/hurd/seekdir.c: Likewise.
3684         * sysdeps/mach/hurd/setsid.c: Likewise.
3685         * sysdeps/posix/wait3.c: Likewise.
3687         * All files with FSF copyright notices: Update copyright dates
3688         using scripts/update-copyrights.
3689         * intl/plural.c: Regenerated.
3690         * locale/programs/charmap-kw.h: Likewise.
3691         * locale/programs/locfile-kw.h: Likewise.
3693 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3695         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3696         four values.
3698         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3699         calculation loop and add branch prediction.
3701         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3702         check access beyond bounds of m1np.
3704         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3705         MPTWO.
3706         (__inv): Remove local variable MPTWO to use the global
3707         constant.
3708         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3709         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3710         variable MPTWO.
3711         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3712         MP3HALFS static const.
3714 2013-01-01  David S. Miller  <davem@davemloft.net>
3716         * po/ca.po: Update from translation team.
3718 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
3720         * scripts/update-copyrights: New file.
3721         * Makeconfig: Reformat copyright notice.
3722         * ctype/ctype.h: Likewise.
3723         * debug/swprintf_chk.c: Likewise.
3724         * elf/dl-cache.c: Likewise.
3725         * elf/dl-debug.c: Likewise.
3726         * elf/dl-object.c: Likewise.
3727         * grp/initgroups.c: Likewise.
3728         * hurd/Makefile: Likewise.
3729         * hurd/hurd/signal.h: Likewise.
3730         * hurd/hurdfault.c: Likewise.
3731         * hurd/hurdioctl.c: Likewise.
3732         * hurd/hurdlookup.c: Likewise.
3733         * hurd/intr-msg.c: Likewise.
3734         * iconv/gconv_open.c: Likewise.
3735         * libio/swprintf.c: Likewise.
3736         * locale/lc-ctype.c: Likewise.
3737         * locale/nl_langinfo.c: Likewise.
3738         * mach/Machrules: Likewise.
3739         * mach/Makefile: Likewise.
3740         * malloc/obstack.h: Likewise.
3741         * manual/Makefile: Likewise.
3742         * manual/tsort.awk: Likewise.
3743         * misc/bits/stab.def: Likewise.
3744         * nis/nis_print_group_entry.c: Likewise.
3745         * nis/nis_table.c: Likewise.
3746         * nis/nss_compat/compat-pwd.c: Likewise.
3747         * nis/nss_compat/compat-spwd.c: Likewise.
3748         * po/Makefile: Likewise.
3749         * posix/fnmatch.c: Likewise.
3750         * posix/regex.h: Likewise.
3751         * resolv/Makefile: Likewise.
3752         * resolv/nss_dns/dns-network.c: Likewise.
3753         * resolv/res_hconf.c: Likewise.
3754         * scripts/gen-sorted.awk: Likewise.
3755         * soft-fp/soft-fp.h: Likewise.
3756         * stdio-common/printf.h: Likewise.
3757         * stdlib/monetary.h: Likewise.
3758         * stdlib/random.c: Likewise.
3759         * stdlib/random_r.c: Likewise.
3760         * sysdeps/generic/Makefile: Likewise.
3761         * sysdeps/gnu/Makefile: Likewise.
3762         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3763         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3764         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3765         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3766         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3767         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3768         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3769         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3770         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3771         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3772         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3773         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3774         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3775         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3776         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3777         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3778         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3779         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3780         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3781         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3782         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3783         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3784         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3785         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3786         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3787         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3788         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3789         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3790         * sysdeps/mach/hurd/errnos.awk: Likewise.
3791         * sysdeps/mach/hurd/fork.c: Likewise.
3792         * sysdeps/mach/hurd/getcwd.c: Likewise.
3793         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3794         * sysdeps/mach/hurd/mmap.c: Likewise.
3795         * sysdeps/mach/hurd/utimes.c: Likewise.
3796         * sysdeps/mach/hurd/xmknod.c: Likewise.
3797         * sysdeps/posix/profil.c: Likewise.
3798         * sysdeps/posix/readdir_r.c: Likewise.
3799         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3800         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3801         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3802         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3804         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3805         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3806         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3807         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3808         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3809         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3810         * sysdeps/pthread/lio_listio.c: Likewise.
3811         * sysdeps/sparc/dl-procinfo.h: Likewise.
3812         * sysdeps/unix/i386/sysdep.S: Likewise.
3813         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3814         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3815         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3816         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3818         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3819         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3820         * sysdeps/unix/sysv/linux/speed.c: Likewise.
3821         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3822         * sysdeps/wordsize-32/divdi3.c: Likewise.
3823         * time/sys/time.h: Likewise.
3824         * wcsmbs/Makefile: Likewise.
3826 2013-01-01  David S. Miller  <davem@davemloft.net>
3828         * po/fr.po: Update from translation team.
3830         * catgets/gencat.c: Update copyright year.
3831         * csu/version.c: Likewise.
3832         * debug/catchsegv.sh: Likewise.
3833         * debug/pcprofiledump.c: Likewise.
3834         * debug/xtrace.sh: Likewise.
3835         * elf/ldconfig.c: Likewise.
3836         * elf/ldd.bash.in: Likewise.
3837         * elf/pldd.c: Likewise.
3838         * elf/sotruss.ksh: Likewise.
3839         * elf/sprof.c: Likewise.
3840         * iconv/iconv_prog.c: Likewise.
3841         * iconv/iconvconfig.c: Likewise.
3842         * locale/programs/locale.c: Likewise.
3843         * locale/programs/localedef.c: Likewise.
3844         * login/programs/pt_chown.c: Likewise.
3845         * malloc/memusage.sh: Likewise.
3846         * malloc/memusagestat.c: Likewise.
3847         * malloc/mtrace.pl: Likewise.
3848         * nscd/nscd.c: Likewise.
3849         * nss/getent.c: Likewise.
3850         * nss/makedb.c: Likewise.
3851         * posix/getconf.c: Likewise.
3853 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3855         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3856         numbers.
3858 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
3860         * math/bits/mathcalls.h (modf): Use __nonnull.
3862 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3864         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3865         (split): Use macro CN instead of the bare value.
3866         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3867         could be used.
3868         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3869         instead of the bare value.
3870         (power1): Likewise.
3872 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3874         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3875         __ATAN_TWOM.
3876         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3878         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3879         their values.
3880         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3881         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3882         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3883         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3885 2012-12-28  Andreas Jaeger  <aj@suse.de>
3887         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
3888         values are from Linux 3.7.
3890         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3891         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
3893 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3895         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3896         TRUE case.
3898         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3899         (norm): Likewise.
3900         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3901         variables with preprocessor constants.
3902         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3903         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3904         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3906 2012-12-27  Bruno Haible  <bruno@clisp.org>
3908         [BZ #14317]
3909         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3910         only if needed.
3912 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3914         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3915         and use variable directly.
3916         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3918         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3919         MPONE.
3920         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3921         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3922         variable MPONE.
3923         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3924         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3925         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3926         include directive.  Remove local variable MPONE.
3927         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3928         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3929         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3931 2012-12-25  David S. Miller  <davem@davemloft.net>
3933         * version.h (RELEASE): Set to "development".
3934         (VERSION): Set to "2.17.90".
3935         * NEWS: Add 2.18 section.
3937 2012-12-21  David S. Miller  <davem@davemloft.net>
3939         * po/hr.po: Update from translation team.
3941 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3943         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3945 2012-12-19  Steve Ellcey  <sellcey@mips.com>
3947         * NEWS:  Mention new memcpy for MIPS.
3949 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3951         * manual/contrib.texi (Contributors): Spelling correction.
3953 2012-12-15  David S. Miller  <davem@davemloft.net>
3955         * po/ru.po: Update from translation team.
3957 2012-12-13  David S. Miller  <davem@davemloft.net>
3959         * NEWS: Mention IFUNC testsuite enhancements.
3961         * po/pl.po: Update from translation team.
3962         * po/bg.po: Likewise.
3964         * manual/contrib.texi (Contributors): Update entries for Hongjiu
3965         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
3967 2012-12-11  David S. Miller  <davem@davemloft.net>
3969         * po/sv.po: Update from translation team.
3971         * po/vi.po: Update from translation team.
3973         * po/cs.po: Update from translation team.
3975         * po/de.po: Update from translation team.
3976         * po/eo.po: Likewise.
3977         * po/nl.po: Likewise.
3979 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3981         [BZ #14246]
3982         * manual/argp.texi (Argp Helper Functions): Move node to follow
3983         Argp Parsing State.
3985         [BZ #14872]
3986         * manual/conf.texi (Limits on File System Capacity): Mention if
3987         terminating null is included in the max size.
3989 2012-12-10  Andreas Jaeger  <aj@suse.de>
3991         * po/cs.po: Update from translation team.
3993 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3995         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3996         void pointer and cast to uintptr_t.
3997         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3998         path.
3999         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4000         * sysdeps/s390/s390-64/memset.S: Likewise.
4002 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4004         [BZ #14833]
4005         * menual/message.texi (Message Translation): Fix typos.
4006         (Helper programs for gettext): Likewise.
4008 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4010         [BZ #14898]
4011         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4012         Change to -1.
4014 2012-12-07  David S. Miller  <davem@davemloft.net>
4016         * po/libc.pot: Update.
4018 2012-12-07  Richard Henderson  <rth@redhat.com>
4020         [BZ #10114]
4021         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4022         normal/normal case to before the switch.
4023         (_FP_DIV): Likewise.
4025 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4026             Mike Frysinger  <vapier@gentoo.org>
4028         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4029         check for __NR_fadvise64_64.
4031 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4033         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4034         0, not just to plain "0" as a statement.
4035         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4036         with cw.
4038 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4040         * NEWS: Use sourceware.org in Bugzilla URL.
4042 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4045         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4047         * stdio-common/tst-put-error.c (do_test): Add newline to the
4048         padded test to ensure flush.
4050 2012-12-05  Jeff Law  <law@redhat.com>
4052         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4054 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4056         * README: Don't refer to ports add-on as distributed separately.
4057         Mention AArch64 in list of systems supported in the ports add-on.
4059         * LICENSES: Add more non-FSF copyright and license notices.
4061         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4062         ((unused)).
4064         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4066         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4067         10000 as width of padded output.
4069 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4071         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4073         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4074         variable LX with __attribute__ ((unused)).
4075         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4076         Likewise.
4077         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4078         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4079         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4080         with __attribute__ ((unused)).
4082 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4084         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4086 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4088         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4089         (CFLAGS-nldbl-acos.c): New variable.
4090         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4091         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4092         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4093         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4094         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4095         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4096         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4097         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4098         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4099         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4100         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4101         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4102         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4103         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4104         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4105         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4106         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4107         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4108         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4109         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4110         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4111         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4112         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4113         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4114         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4115         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4116         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4117         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4118         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4119         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4120         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4121         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4122         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4123         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4124         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4125         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4126         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4127         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4128         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4129         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4130         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4131         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4132         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4133         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4134         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4135         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4136         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4137         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4138         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4139         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4140         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4141         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4142         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4143         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4144         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4145         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4146         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4147         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4148         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4149         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4150         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4151         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4152         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4153         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4154         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4155         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4156         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4157         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4158         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4159         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4160         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4161         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4162         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4163         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4164         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4165         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4166         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4167         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4168         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4169         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4170         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4171         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4172         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4173         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4174         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4175         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4176         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4177         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4178         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4179         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4180         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4181         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4182         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4183         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4184         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4185         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4186         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4189         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4191         [BZ #14914]
4192         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4193         whole low double instead of just low 47 bits when splitting values
4194         into two parts.
4196 2012-12-03  Allan McRae  <allan@archlinux.org>
4198         * manual/stdio.texi (Predefined Printf Handlers): Remove
4199         @hsep and @vsep usage.
4201 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4203         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4204         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4206 2012-12-03  Jeff Law  <law@redhat.com>
4208         * time/sys/time.h (settimeofday): Do not mark TV argument
4209         as __nonnull.
4211 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4213         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4214         when currently writing and seek to current position when not.
4215         * libio/Makefile (tests): Remove bug-fclose1.
4216         * libio/bug-fclose1.c: Delete.
4218 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4220         * manual/arith.texi (feenableexcept): Fix typo.
4221         (fedisableexcept): Likewise.
4223 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4225         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4226         second, differently-typed declaration, rather than a cast.
4228 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4230         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4231         * include/rpc/svc.h: ... here.
4233 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4235         [BZ #13013]
4236         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4237         depending n and resplen2 to catch cases where answer
4238         equals answerp2.
4240 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4242         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4243         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4245 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4247         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4249 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4251         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4253 2012-11-28  Jeff Law  <law@redhat.com>
4255         [BZ #13761]
4256         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4257         dataset_temporary.  Track alloca usage into alloca_used.
4258         If dataset is large allocate and release it via malloc/free.
4260 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4262         [BZ #14197]
4263         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4265 2012-11-28  David S. Miller  <davem@davemloft.net>
4267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4269 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4271         [BZ #14803]
4272         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4273         of pi/2 rounded to nearest to 64 bits.
4274         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4275         nearest to 64 bits.
4276         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4277         bits.
4279 2012-11-28  Jeff Law <law@redhat.com>
4280             Martin Osvald <mosvald@redhat.com>
4282         [BZ #14889]
4283         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4284         * sunrpc/svc.c: Include time.h.
4285         (__svc_accept_failed): New function.
4286         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4287         any reason other than EINTR, call __svc_accept_failed.
4288         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4289         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4291 2012-11-28  Andreas Schwab  <schwab@suse.de>
4293         * scripts/abilist.awk: Also handle indirect functions in .opd
4294         section.
4296 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4298         [BZ #13881]
4299         * sysdeps/x86/fpu/powl_helper.c: New file.
4300         * sysdeps/x86/fpu/Makefile: Likewise.
4301         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4302         (p3): New object.
4303         (__ieee754_powl): Use __powl_helper for finite arguments except
4304         integer exponents below 8.
4305         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4306         (p3): New object.
4307         (__ieee754_powl): Use __powl_helper for finite arguments except
4308         integer exponents below 8.
4309         * math/libm-test.inc (pow_test): Add more tests and enable some
4310         previously disabled tests.
4311         * sysdeps/i386/fpu/libm-test-ulps: Update.
4312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4314 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4315             Carlos O'Donell  <carlos_odonell@mentor.com>
4317         * nss/makedb.c (is_prime): Assert that input is odd and greater
4318         than 4.  Note that fact in a comment too.
4319         (next_prime): Add 4 to input.
4321 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4323         [BZ #11741]
4324         * libio/Makefile (tests): Add test case tst-fwrite-error.
4325         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4326         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4327         * libio/tst-fwrite-error.c: New test case.
4329 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4331         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4332         before casting to void *.
4333         * include/libc-internal.h (__pointer_type): New macro.
4334         (__integer_if_pointer_type_sub): Likewise.
4335         (__integer_if_pointer_type): Likewise.
4336         (cast_to_integer): Likewise.
4337         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4338         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4339         before casting to atomic64_t.
4340         (atomic_exchange_acq): Likewise.
4341         (__arch_exchange_and_add_body): Likewise.
4342         (__arch_add_body): Likewise.
4343         (atomic_add_negative): Likewise.
4344         (atomic_add_zero): Likewise.
4346 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4348         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4349         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4350         (add_fdes): Likewise.
4351         (linear_search_fdes): Likewise.
4352         (binary_search_unencoded_fdes): Likewise.
4354 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4356         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4358 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4360         * configure.in: Autodetect C++ header directories.
4361         * configure: Regenerated.
4363 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4365         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4367 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4371 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4373         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4374         LDBL_MANT_DIG == 106]: Disable some tests.
4375         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4376         Likewise.
4377         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4378         Likewise.
4380         [BZ #14871]
4381         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4382         input for small inputs.  Return +/- pi/2 for large inputs.
4383         * math/libm-test.inc (atan_test): Add more tests.
4385         * sysdeps/generic/unwind-dw2-fde-glibc.c
4386         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4387         __attribute__ ((unused)).
4389         [BZ #14645]
4390         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4391         x * y if x and y are nonzero and z is zero.
4393         [BZ #14811]
4394         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4395         nonzero exponents with absolute value below 0x1p-117 to +/-
4396         0x1p-117.
4398         [BZ #14869]
4399         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4400         up arguments below 2**-450, not just those below 2**-500.
4401         * math/libm-test.inc (hypot_test): Add another test.
4403         [BZ #14868]
4404         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4405         Return a+b for ratio over 2**120, not 2**60.
4406         * math/libm-test.inc (hypot_test): Add another test.
4408         * math/libm-test.inc (clog_test): Use
4409         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4410         (clog10_test): Likewise.
4412         [BZ #6778]
4413         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4415 2012-11-22  Andreas Schwab  <schwab@suse.de>
4417         * sysdeps/i386/fpu/libm-test-ulps: Update.
4419 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4421         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4422         printf output with newline.
4424 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4426         [BZ #14865]
4427         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4428         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4429         -z nodlopen, -z initfirst and -z execstack support.
4430         * configure: Regenerated.
4432         * elf/elf.h (DF_1_NODIRECT): New macro.
4433         (DF_1_IGNMULDEF): Likewise.
4434         (DF_1_NOKSYMS): Likewise.
4435         (DF_1_NOHDR): Likewise.
4436         (DF_1_EDITED): Likewise.
4437         (DF_1_NORELOC): Likewise.
4438         (DF_1_SYMINTPOSE): Likewise.
4439         (DF_1_GLOBAUDIT): Likewise.
4440         (DF_1_SINGLETON): Likewise.
4441         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4442         DT_1_SUPPORTED_MASK bits.
4443         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4445 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4447         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4449 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4451         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4452         macro.
4454         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4455         (sendmmsg): Move declarations...
4456         * socket/sys/socket.h: ... here.
4457         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4458         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4459         include it from...
4460         * socket/recvmmsg.c: ... this new file.
4461         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4462         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4463         definition of __sendmmsg hidden.
4464         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4465         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4466         Move ENOSYS stub into and include it from...
4467         * socket/sendmmsg.c: ... this new file.
4468         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4469         (sysdep_routines): Move recvmmsg and sendmmsg...
4470         * socket/Makefile (routines): ... here.
4471         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4472         (GLIBC_PRIVATE): Add __sendmmsg.
4473         * include/sys/socket.h (__sendmmsg): Add declarations.
4474         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4475         sendmmsg.
4477 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4479         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4480         variable I1 with __attribute__ ((unused)).
4481         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4483 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4485         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4486         DUMMY variables with __attribute__ ((unused)).
4488         * bits/byteswap.h: Include <bits/types.h>.
4489         (__bswap_64): Use __uint64_t instead of unsigned long long int.
4491 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4493         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4494         string_t.  Do not manually set errno.
4495         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4496         length with __strnlen.  Make sure to both set errno and return it on
4497         failure.
4499 2012-11-19  David S. Miller  <davem@davemloft.net>
4501         With help from Joseph Myers.
4502         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4503         very large arguments properly.
4504         * math/libm-test.inc (atan_test): New tests.
4505         (atan2_test): New tests.
4506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4509 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4511         [BZ #14856]
4512         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4513         Define to 3.
4515         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4516         [POSIX] (EADDRNOTAVAIL): Likewise.
4517         [POSIX] (EAFNOSUPPORT): Likewise.
4518         [POSIX] (EALREADY): Likewise.
4519         [POSIX] (ECONNABORTED): Likewise.
4520         [POSIX] (ECONNREFUSED): Likewise.
4521         [POSIX] (ECONNRESET): Likewise.
4522         [POSIX] (EDESTADDRREQ): Likewise.
4523         [POSIX] (EDQUOT): Likewise.
4524         [POSIX] (EHOSTUNREACH): Likewise.
4525         [POSIX] (EIDRM): Likewise.
4526         [POSIX] (EISCONN): Likewise.
4527         [POSIX] (ELOOP): Likewise.
4528         [POSIX] (EMULTIHOP): Likewise.
4529         [POSIX] (ENETDOWN): Likewise.
4530         [POSIX] (ENETUNREACH): Likewise.
4531         [POSIX] (ENOBUFS): Likewise.
4532         [POSIX] (ENODATA): Likewise.
4533         [POSIX] (ENOLINK): Likewise.
4534         [POSIX] (ENOMSG): Likewise.
4535         [POSIX] (ENOPROTOOPT): Likewise.
4536         [POSIX] (ENOSR): Likewise.
4537         [POSIX] (ENOSTR): Likewise.
4538         [POSIX] (ENOTCONN): Likewise.
4539         [POSIX] (ENOTSOCK): Likewise.
4540         [POSIX] (EOPNOTSUPP): Likewise.
4541         [POSIX] (EOVERFLOW): Likewise.
4542         [POSIX] (EPROTO): Likewise.
4543         [POSIX] (EPROTONOSUPPORT): Likewise.
4544         [POSIX] (EPROTOTYPE): Likewise.
4545         [POSIX] (ESTALE): Likewise.
4546         [POSIX] (ETIME): Likewise.
4547         [POSIX] (ETXTBSY): Likewise.
4548         [POSIX] (EWOULDBLOCK): Likewise.
4549         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4550         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4551         [POSIX] (SEEK_CUR): Likewise.
4552         [POSIX] (SEEK_END): Likewise.
4553         [POSIX || UNIX98] (mode_t): Do not require.
4554         [POSIX] (off_t): Likewise.
4555         [POSIX] (pid_t): Likewise.
4556         [POSIX] (sys/stat.h): Do not allow header.
4557         [POSIX] (unistd.h): Likewise.
4558         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4559         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4560         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4561         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4562         require.
4563         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4564         sigevent): Specify elements.
4565         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4566         entry.
4567         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4568         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4570         * conform/data/cpio.h-data [POSIX]: Disable whole file.
4571         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4572         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4573         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4574         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4575         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4576         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4577         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4578         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4579         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4580         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4581         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4582         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4583         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4584         Likewise.
4585         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4586         Likewise.
4587         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4588         Likewise.
4589         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4590         Likewise.
4591         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4592         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4593         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4594         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4595         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4596         Specify lower bound on value.
4597         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4598         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4599         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4600         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4601         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4602         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4603         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4604         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4605         value.
4606         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4607         as optional.
4608         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4609         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4610         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4611         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4612         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4613         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4614         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4615         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4616         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4617         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4618         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4619         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4620         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4621         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4622         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4623         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4624         entry.
4625         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4626         optional.
4627         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4628         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4629         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4630         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4631         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4632         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4633         Likewise.
4634         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4635         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4636         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4637         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4638         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
4639         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4640         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4641         as optional.
4642         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4643         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4644         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4645         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4646         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4647         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4648         specify as optional.
4649         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4650         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4651         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4652         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4653         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4654         [XPG3] (NL_LANGMAX): Likewise.
4655         [POSIX || XPG3] (NL_MSGMAX): Likewise.
4656         [POSIX || XPG3] (NL_NMAX): Likewise.
4657         [POSIX || XPG3] (NL_SETMAX): Likewise.
4658         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4659         [XPG3] (NZERO): Likewise.
4660         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4661         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4662         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4663         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4664         (REG_ERANGE): Expect.
4665         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4666         optional-constant.
4667         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4668         Use (void) in prototype.
4669         [POSIX] (*_t): Allow.
4670         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4671         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4672         (WRDE_BADVAL): Expect.
4674         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4675         expect.
4676         [XPG3 || XPG4] (O_RSYNC): Likewise.
4677         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4678         Likewise.
4679         [XPG3 || XPG4] (pthread_sigmask): Likewise.
4680         [XPG3 || XPG4] (sigqueue): Likewise.
4681         [XPG3 || XPG4] (sigtimedwait): Likewise.
4682         [XPG3 || XPG4] (sigwaitinfo): Likewise.
4683         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4684         [XPG3 || XPG4] (vsnprintf): Likewise.
4685         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4686         Likewise.
4687         [XPG3 || XPG4] (blksize_t): Likewise.
4688         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4689         Likewise.
4690         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4691         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4692         [XPG3 || XPG4] (struct itimerspec): Likewise.
4693         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4694         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4695         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4696         [XPG3 || XPG4] (clockid_t): Likewise.
4697         [XPG3 || XPG4] (timer_t): Likewise.
4698         [XPG3 || XPG4] (clock_getres): Likewise.
4699         [XPG3 || XPG4] (clock_gettime): Likewise.
4700         [XPG3 || XPG4] (clock_settime): Likewise.
4701         [XPG3 || XPG4] (nanosleep): Likewise.
4702         [XPG3 || XPG4] (timer_create): Likewise.
4703         [XPG3 || XPG4] (timer_delete): Likewise.
4704         [XPG3 || XPG4] (timer_gettime): Likewise.
4705         [XPG3 || XPG4] (timer_getoverrun): Likewise.
4706         [XPG3 || XPG4] (timer_settime): Likewise.
4707         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4708         [XPG3 || XPG4] (getlogin_r): Likewise.
4709         [XPG3 || XPG4] (pread): Likewise.
4710         [XPG3 || XPG4] (pthread_atfork): Likewise.
4711         [XPG3 || XPG4] (pwrite): Likewise.
4713         [BZ #14835]
4714         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4715         <bits/siginfo.h>.
4717 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4719         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4720         finalizing MALLSTREAM.
4722         * sysdeps/mach/hurd/syncfs.c: New file.
4724 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4726         [BZ #14719]
4727         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4728         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4729         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4730         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4731         (_nss_dns_gethostbyname4_r): Likewise.
4732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4733         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4735 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
4737         [BZ #13763]
4738         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4740 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
4742         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4743         * elf/cache.c (print_entry): Print ",AArch64" for
4744         FLAG_AARCH64_LIB64
4746         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4747         * elf/cache.c (print_entry): Print ",hard-float" for
4748         FLAG_ARM_LIBHF.
4750 2012-11-18  David S. Miller  <davem@davemloft.net>
4752         With help from Joseph Myers.
4753         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4754         cutoff to 2**-13.
4755         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4756         cutoff to 2**-25.
4757         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4758         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4759         small.
4760         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4761         * math/libm-test.inc (y0_test): New tests.
4762         (y1_test): New tests.
4763         * sysdeps/i386/fpu/libm-test-ulps: Update.
4764         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4767 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
4769         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4770         64-bit targets.
4771         * configure: Regenerated.
4773 2012-11-17  David S. Miller  <davem@davemloft.net>
4775         [BZ #14811]
4776         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4777         nonzero exponents with absolute value below 0x1p-128 to +/-
4778         0x1p-128.
4780 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
4782         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4784         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4786         * posix/getconf-speclist.c: New file.
4787         * posix/posix-envs.def: Likewise.
4788         * posix/confstr.c (START_ENV_GROUP): New macro.
4789         (END_ENV_GROUP): Likewise.
4790         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4791         (KNOWN_PRESENT_ENV_STRING): Likewise.
4792         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4793         (UNKNOWN_ENVIRONMENT): Likewise.
4794         (confstr): Include posix-envs.def instead of handling
4795         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4796         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4797         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4798         (END_ENV_GROUP): Likewise.
4799         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4800         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4801         (UNKNOWN_ENVIRONMENT): Likewise.
4802         (__sysconf): Include posix-envs.def instead of handling associated
4803         cases directly here.
4804         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4805         preprocessing getconf-speclist.c rather than running getconf or
4806         generating empty file.
4808 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
4810         * scripts/check-local-headers.sh: Ignore 'mach' headers.
4812 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
4814         [BZ #14672]
4815         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4817 2012-11-16  David S. Miller  <davem@davemloft.net>
4819         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4820         smaller than LDBL_EPSILON/2.0L, just return xm1.
4822 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
4824         * elf/tst-array1.c (init): Set constructor priority to 1000.
4825         (fini): Set destructor priority to 1000.
4826         * elf/tst-array2dep.c: Likewise.
4828 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4830         [BZ #11741]
4831         * libio/fileops.c (_IO_new_file_write): Correctly return error.
4832         (_IO_new_file_xsputn): Also return EOF if none of the input
4833         data was written when overflow failed.
4834         * libio/iopadn.c (_IO_padn): Likewise.
4835         * libio/iowpadn.c (_IO_wpadn): Likewise.
4836         * stdio-common/tst-put-error.c: Add copyright notice.
4837         (do_test): Add case for printing padded string.
4838         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4839         _IO_padn returned error.
4840         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4841         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4842         return EOF.
4844 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4846         * libio/libioP.h: Add comment note that the references to C++
4847         bits are now obsolete.
4849 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4851         * math/libm-test.inc (check_complex): Use asprintf.
4853 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
4855         * debug/pcprofiledump.c (print_version): Update copyright year.
4856         * malloc/memusagestat.c (print_version): Likewise.
4858 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4860         [BZ #14831]
4861         * elf/Makefile (tests): Add tst-audit8.
4862         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4863         ($(objpfx)tst-audit8.out): New target.
4864         (tst-audit8-ENV): New variable.
4865         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4866         audit if l_reloc_result is NULL.
4867         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4868         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4869         * elf/tst-audit8.c: New file.
4871 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4873         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4874         * misc/Makefile (CFLAGS-select.c): Define.
4875         * posix/Makefile (CFLAGS-pause.c): Define.
4877 2012-11-13  David S. Miller  <davem@davemloft.net>
4879         * crypt/Makefile: Move test targets after toplevel Rules
4880         inclusion.  Grab any necessary sysdep routines when linking.
4881         * crypt/md5.c (md5_process_block): Remove define, we will always
4882         name it __md5_process_block.
4883         (md5_finish_ctx): Update md5_process_block call.
4884         (md5_stream): Likewise.
4885         (md5_process_bytes): Likewise.
4886         (md5_process_block): Rename to __md5_process_block and move to ...
4887         * crypt/md5-block.c: ... here.
4888         * crypt/sha256.c (sha256_process_block): Move to ...
4889         * crypt/sha256-block.c: ... here.
4890         * crypt/sha512.c (sha512_process_block): Move to ...
4891         * crypt/sha512-block.c: ... here.
4892         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4893         path.
4894         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4895         * sysdeps/sparc/sparc64/multiarch/Makefile
4896         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4897         crypt subdir.
4898         (localedef-aux): Add md5 crypto assembler when in locale subdir.
4899         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4900         multiarch changes.
4901         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4902         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4903         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4904         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4905         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4906         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4907         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4908         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4909         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4910         file.
4911         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4912         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4913         file.
4914         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4916 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
4918         * timezone/tzselect.ksh: Update from tzcode git revision
4919         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4920         * timezone/zdump.c: Likewise.
4921         * timezone/zic.c: Likewise.
4922         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4923         in TZVERSION setting, not $(PKGVERSION).
4924         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
4925         REPORT_BUGS_TO settings.
4927         [BZ #14838]
4928         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4929         macro.
4931 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4933         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4934         detection to immediately after _FP_ROUND().
4935         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4936         bits are 0.
4938 2012-11-11  David S. Miller  <davem@davemloft.net>
4940         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4941         inttypes.h
4942         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4943         __close rather than their public counterparts.
4945 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
4947         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4948         file.
4949         [UNIX98] (sem_timedwait): Do not expect.
4950         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4951         [XPG4 || UNIX98] (sockatmark): Do not expect.
4952         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4953         (clock_getcpuclockid): Do not expect.
4954         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4955         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4956         Do not expect.
4957         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4958         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4959         [UNIX98] (vwscanf): Likewise.
4960         [UNIX98] (vswscanf): Likewise.
4962 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
4964         * timezone/version.h: Remove file.
4965         * timezone/README: Do not refer to version.h.
4966         * timezone/Makefile ($(objpfx)zic.o): New dependency on
4967         $(objpfx)version.h.
4968         ($(objpfx)zdump.o): Likewise.
4969         ($(objpfx)version.h): New target.
4971         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4972         2012i.
4973         * timezone/README: Don't mention modification to tzselect.ksh.
4974         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4975         work on unmodified tzselect.ksh.  Substitute version numbers in
4976         tzselect.ksh.
4978         * Makefile (format-me): Remove.
4979         (INSTALL): Adjust indentation.  Use commands directly instead of
4980         using $(format-me).
4982         * aclocal.m4 (ACX_PKGVERSION): New macro.
4983         (ACX_BUGURL): Likewise.
4984         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4985         (PKGVERSION): New AC_DEFINE_UNQUOTED.
4986         (REPORT_BUGS_TO): Likewise.
4987         * configure: Regenerated.
4988         * config.h.in (PKGVERSION): New macro.
4989         (REPORT_BUGS_TO): Likewise.
4990         * config.make.in (PKGVERSION): New variable.
4991         (PKGVERSION_TEXI): Likewise.
4992         (REPORT_BUGS_TO): Likewise.
4993         (REPORT_BUGS_TEXI): Likewise.
4994         * Makefile (format-me): Use -I$(common-objpfx)manual.
4995         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4996         ($(common-objpfx)manual/%): New target.
4997         (manual/%): Remove target.
4998         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4999         (print_version): Use PKGVERSION.
5000         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5001         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5002         and REPORT_BUGS_TO.
5003         ($(objpfx)xtrace): Likewise.
5004         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5005         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5006         (print_version): Use PKGVERSION.
5007         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5008         (do_version): Use PKGVERSION.
5009         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5010         REPORT_BUGS_TO.
5011         (common-ldd-rewrite): Likewise.
5012         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5013         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5014         (print_version): Use PKGVERSION.
5015         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5016         * elf/pldd.c (argp_program_bug_address): Remove variable.
5017         (more_help): New function.
5018         (argp): Use more_help.
5019         (print_version): Use PKGVERSION.
5020         * elf/sln.c (main): Use PKGVERSION.
5021         (usage): Use REPORT_BUGS_TO.
5022         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5023         (top level): Use PKGVERSION.
5024         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5025         (print_version): Use PKGVERSION.
5026         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5027         (print_version): Use PKGVERSION.
5028         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5029         (print_version): Use PKGVERSION.
5030         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5031         (print_version): Use PKGVERSION.
5032         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5033         (print_version): Use PKGVERSION.
5034         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5035         (print_version): Use PKGVERSION.
5036         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5037         and BUGURL.
5038         ($(objpfx)memusage): Likewise.
5039         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5040         (do_version): Use PKGVERSION.
5041         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5042         (print_version): Use PKGVERSION.
5043         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5044         ($PKGVERSION): New variable.
5045         ($REPORT_BUGS_TO): Likewise.
5046         (usage): Use $REPORT_BUGS_TO.
5047         (top level): Use $PKGVERSION.
5048         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5049         ($(objpfx)pkgvers.texi): New rule.
5050         ($(objpfx)stamp-pkgvers): Likewise.
5051         * manual/install.texi: Include pkgvers.texi.
5052         (--with-pkgversion): Document new configure option.
5053         (--with-bugurl): Likewise.
5054         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5055         than necessarily for this particular distribution.  Use
5056         REPORT_BUGS_TO for where to report bugs.
5057         * INSTALL: Regenerated.
5058         * manual/libc.texinfo: Include pkgvers.texi.
5059         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5060         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5061         (print_version): Use PKGVERSION.
5062         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5063         (print_version): Use PKGVERSION.
5064         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5065         (print_version): Use PKGVERSION.
5066         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5067         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5068         macro.
5069         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5070         (print_version): Use PKGVERSION.
5071         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5072         (print_version): Use PKGVERSION.
5073         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5074         and PKGVERSION.
5076         * timezone/checktab.awk: Update from tzcode 2012i.
5077         * timezone/ialloc.c: Likewise.
5078         * timezone/private.h: Likewise.
5079         * timezone/scheck.c: Likewise.
5080         * timezone/tzfile.h: Likewise.
5081         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5082         (TZVERSION): Hardcode tzcode version number.
5083         * timezone/zdump.c: Update from tzcode 2012i.
5084         * timezone/zic.c: Likewise.
5085         * timezone/version.h: New file.
5086         * timezone/README: Describe version.h.  Update upstream location.
5088         [BZ #14824]
5089         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5090         (mktemp): Enable declaration.
5091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5092         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5095         Likewise.
5096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5097         Likewise.
5098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5099         Likewise.
5100         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5101         Likewise.
5102         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5103         Likewise.
5104         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5105         Likewise.
5107         [BZ #14821]
5108         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5109         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5110         for copies of such integer values.
5111         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5112         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5114 2012-11-09  Andreas Jaeger  <aj@suse.de>
5116         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5117         definitions and declarations that are provided by
5118         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5120 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5122         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5123         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5124         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5125         definition.
5127 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5129         * elf/elf.h: Update comment before AArch64 relocations.
5131 2012-11-07  David S. Miller  <davem@davemloft.net>
5133         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5134         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5135         (__start_context): Declare.
5136         (__makecontext_ret): Delete.
5137         (__makecontext): Hook up __start_context instead of
5138         __makecontext_ret.
5139         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5140         (sysdep_routines): Add __start_context when in stdlib.
5142 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5144         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5145         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5146         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5147         hardcoded "nm".
5148         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5149         (READELF): New variable.  Use it instead of hardcoded "readelf".
5151 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5153         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5154         * sysdeps/x86/Makefile: Here.
5155         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5156         * sysdeps/x86/tst-xmmymm.sh: This.
5158 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5160         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5161         expectations.
5162         [UNIX98] (pthread_barrier_t): Do not expect.
5163         [UNIX98] (pthread_barrierattr_t): Likewise.
5164         [UNIX98] (pthread_spinlock_t): Likewise.
5165         [UNIX98] (pthread_barrier_destroy): Likewise.
5166         [UNIX98] (pthread_barrier_init): Likewise.
5167         [UNIX98] (pthread_barrier_wait): Likewise.
5168         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5169         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5170         [UNIX98] (pthread_barrierattr_init): Likewise.
5171         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5172         [UNIX98] (pthread_getcpuclockid): Likewise.
5173         [UNIX98] (pthread_mutex_timedlock): Likewise.
5174         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5175         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5176         [UNIX98] (pthread_sigmask): Likewise.
5177         [UNIX98] (pthread_spin_destroy): Likewise.
5178         [UNIX98] (pthread_spin_init): Likewise.
5179         [UNIX98] (pthread_spin_lock): Likewise.
5180         [UNIX98] (pthread_spin_trylock): Likewise.
5181         [UNIX98] (pthread_spin_unlock): Likewise.
5182         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5183         Do not expect.
5184         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5185         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5186         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5187         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5188         [XPG3 || XPG4] (pthread_key_t): Likewise.
5189         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5190         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5191         [XPG3 || XPG4] (pthread_once_t): Likewise.
5192         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5193         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5194         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5195         [XPG3 || XPG4] (pthread_t): Likewise.
5197         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5198         not expect.
5199         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5201         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5202         Change function return type to int.
5204         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5205         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5206         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5207         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5208         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5209         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5210         [!POSIX] (posix_madvise): Likewise.
5211         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5212         && !UNIX98].
5213         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5214         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5215         (mode_t): Likewise.
5216         (posix_mem_offset): Likewise.
5217         (posix_typed_mem_get_info): Likewise.
5218         (posix_typed_mem_open): Likewise.
5220         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5221         Change condition to [XOPEN2K8].
5223         * conform/conformtest.pl: Preprocess allow-header data with -x c
5224         instead of from stdin.
5225         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5226         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5227         [C99-based standards] (cerfc): Likewise.
5228         [C99-based standards] (cexp2): Likewise.
5229         [C99-based standards] (cexpm1): Likewise.
5230         [C99-based standards] (clog10): Likewise.
5231         [C99-based standards] (clog1p): Likewise.
5232         [C99-based standards] (clog2): Likewise.
5233         [C99-based standards] (clgamma): Likewise.
5234         [C99-based standards] (ctgamma): Likewise.
5235         [C99-based standards] (cerff): Likewise.
5236         [C99-based standards] (cerfcf): Likewise.
5237         [C99-based standards] (cexp2f): Likewise.
5238         [C99-based standards] (cexpm1f): Likewise.
5239         [C99-based standards] (clog10f): Likewise.
5240         [C99-based standards] (clog1pf): Likewise.
5241         [C99-based standards] (clog2f): Likewise.
5242         [C99-based standards] (clgammaf): Likewise.
5243         [C99-based standards] (ctgammaf): Likewise.
5244         [C99-based standards] (cerfl): Likewise.
5245         [C99-based standards] (cerfcl): Likewise.
5246         [C99-based standards] (cexp2l): Likewise.
5247         [C99-based standards] (cexpm1l): Likewise.
5248         [C99-based standards] (clog10l): Likewise.
5249         [C99-based standards] (clog1pl): Likewise.
5250         [C99-based standards] (clog2l): Likewise.
5251         [C99-based standards] (clgammal): Likewise.
5252         [C99-based standards] (ctgammal): Likewise.
5253         * conform/data/inttypes.h-data [C99-based standards]: Include
5254         stdint.h-data.  Remove all expectations for stdint.h contents.
5255         [C99-based standards] (PRI*): Do not allow.
5256         [C99-based standards] (SCN*): Likewise.
5257         [C99-based standards] (*_t): Likewise.
5258         [C99-based-standards] (PRId8): Expect macro.
5259         [C99-based-standards] (PRIi8): Likewise.
5260         [C99-based-standards] (PRIo8): Likewise.
5261         [C99-based-standards] (PRIu8): Likewise.
5262         [C99-based-standards] (PRIx8): Likewise.
5263         [C99-based-standards] (PRIX8): Likewise.
5264         [C99-based-standards] (SCNd8): Likewise.
5265         [C99-based-standards] (SCNi8): Likewise.
5266         [C99-based-standards] (SCNo8): Likewise.
5267         [C99-based-standards] (SCNu8): Likewise.
5268         [C99-based-standards] (SCNx8): Likewise.
5269         [C99-based-standards] (PRIdLEAST8): Likewise.
5270         [C99-based-standards] (PRIiLEAST8): Likewise.
5271         [C99-based-standards] (PRIoLEAST8): Likewise.
5272         [C99-based-standards] (PRIuLEAST8): Likewise.
5273         [C99-based-standards] (PRIxLEAST8): Likewise.
5274         [C99-based-standards] (PRIXLEAST8): Likewise.
5275         [C99-based-standards] (SCNdLEAST8): Likewise.
5276         [C99-based-standards] (SCNiLEAST8): Likewise.
5277         [C99-based-standards] (SCNoLEAST8): Likewise.
5278         [C99-based-standards] (SCNuLEAST8): Likewise.
5279         [C99-based-standards] (SCNxLEAST8): Likewise.
5280         [C99-based-standards] (PRIdFAST8): Likewise.
5281         [C99-based-standards] (PRIiFAST8): Likewise.
5282         [C99-based-standards] (PRIoFAST8): Likewise.
5283         [C99-based-standards] (PRIuFAST8): Likewise.
5284         [C99-based-standards] (PRIxFAST8): Likewise.
5285         [C99-based-standards] (PRIXFAST8): Likewise.
5286         [C99-based-standards] (SCNdFAST8): Likewise.
5287         [C99-based-standards] (SCNiFAST8): Likewise.
5288         [C99-based-standards] (SCNoFAST8): Likewise.
5289         [C99-based-standards] (SCNuFAST8): Likewise.
5290         [C99-based-standards] (SCNxFAST8): Likewise.
5291         [C99-based-standards] (PRId16): Likewise.
5292         [C99-based-standards] (PRIi16): Likewise.
5293         [C99-based-standards] (PRIo16): Likewise.
5294         [C99-based-standards] (PRIu16): Likewise.
5295         [C99-based-standards] (PRIx16): Likewise.
5296         [C99-based-standards] (PRIX16): Likewise.
5297         [C99-based-standards] (SCNd16): Likewise.
5298         [C99-based-standards] (SCNi16): Likewise.
5299         [C99-based-standards] (SCNo16): Likewise.
5300         [C99-based-standards] (SCNu16): Likewise.
5301         [C99-based-standards] (SCNx16): Likewise.
5302         [C99-based-standards] (PRIdLEAST16): Likewise.
5303         [C99-based-standards] (PRIiLEAST16): Likewise.
5304         [C99-based-standards] (PRIoLEAST16): Likewise.
5305         [C99-based-standards] (PRIuLEAST16): Likewise.
5306         [C99-based-standards] (PRIxLEAST16): Likewise.
5307         [C99-based-standards] (PRIXLEAST16): Likewise.
5308         [C99-based-standards] (SCNdLEAST16): Likewise.
5309         [C99-based-standards] (SCNiLEAST16): Likewise.
5310         [C99-based-standards] (SCNoLEAST16): Likewise.
5311         [C99-based-standards] (SCNuLEAST16): Likewise.
5312         [C99-based-standards] (SCNxLEAST16): Likewise.
5313         [C99-based-standards] (PRIdFAST16): Likewise.
5314         [C99-based-standards] (PRIiFAST16): Likewise.
5315         [C99-based-standards] (PRIoFAST16): Likewise.
5316         [C99-based-standards] (PRIuFAST16): Likewise.
5317         [C99-based-standards] (PRIxFAST16): Likewise.
5318         [C99-based-standards] (PRIXFAST16): Likewise.
5319         [C99-based-standards] (SCNdFAST16): Likewise.
5320         [C99-based-standards] (SCNiFAST16): Likewise.
5321         [C99-based-standards] (SCNoFAST16): Likewise.
5322         [C99-based-standards] (SCNuFAST16): Likewise.
5323         [C99-based-standards] (SCNxFAST16): Likewise.
5324         [C99-based-standards] (PRId32): Likewise.
5325         [C99-based-standards] (PRIi32): Likewise.
5326         [C99-based-standards] (PRIo32): Likewise.
5327         [C99-based-standards] (PRIu32): Likewise.
5328         [C99-based-standards] (PRIx32): Likewise.
5329         [C99-based-standards] (PRIX32): Likewise.
5330         [C99-based-standards] (SCNd32): Likewise.
5331         [C99-based-standards] (SCNi32): Likewise.
5332         [C99-based-standards] (SCNo32): Likewise.
5333         [C99-based-standards] (SCNu32): Likewise.
5334         [C99-based-standards] (SCNx32): Likewise.
5335         [C99-based-standards] (PRIdLEAST32): Likewise.
5336         [C99-based-standards] (PRIiLEAST32): Likewise.
5337         [C99-based-standards] (PRIoLEAST32): Likewise.
5338         [C99-based-standards] (PRIuLEAST32): Likewise.
5339         [C99-based-standards] (PRIxLEAST32): Likewise.
5340         [C99-based-standards] (PRIXLEAST32): Likewise.
5341         [C99-based-standards] (SCNdLEAST32): Likewise.
5342         [C99-based-standards] (SCNiLEAST32): Likewise.
5343         [C99-based-standards] (SCNoLEAST32): Likewise.
5344         [C99-based-standards] (SCNuLEAST32): Likewise.
5345         [C99-based-standards] (SCNxLEAST32): Likewise.
5346         [C99-based-standards] (PRIdFAST32): Likewise.
5347         [C99-based-standards] (PRIiFAST32): Likewise.
5348         [C99-based-standards] (PRIoFAST32): Likewise.
5349         [C99-based-standards] (PRIuFAST32): Likewise.
5350         [C99-based-standards] (PRIxFAST32): Likewise.
5351         [C99-based-standards] (PRIXFAST32): Likewise.
5352         [C99-based-standards] (SCNdFAST32): Likewise.
5353         [C99-based-standards] (SCNiFAST32): Likewise.
5354         [C99-based-standards] (SCNoFAST32): Likewise.
5355         [C99-based-standards] (SCNuFAST32): Likewise.
5356         [C99-based-standards] (SCNxFAST32): Likewise.
5357         [C99-based-standards] (PRId64): Likewise.
5358         [C99-based-standards] (PRIi64): Likewise.
5359         [C99-based-standards] (PRIo64): Likewise.
5360         [C99-based-standards] (PRIu64): Likewise.
5361         [C99-based-standards] (PRIx64): Likewise.
5362         [C99-based-standards] (PRIX64): Likewise.
5363         [C99-based-standards] (SCNd64): Likewise.
5364         [C99-based-standards] (SCNi64): Likewise.
5365         [C99-based-standards] (SCNo64): Likewise.
5366         [C99-based-standards] (SCNu64): Likewise.
5367         [C99-based-standards] (SCNx64): Likewise.
5368         [C99-based-standards] (PRIdLEAST64): Likewise.
5369         [C99-based-standards] (PRIiLEAST64): Likewise.
5370         [C99-based-standards] (PRIoLEAST64): Likewise.
5371         [C99-based-standards] (PRIuLEAST64): Likewise.
5372         [C99-based-standards] (PRIxLEAST64): Likewise.
5373         [C99-based-standards] (PRIXLEAST64): Likewise.
5374         [C99-based-standards] (SCNdLEAST64): Likewise.
5375         [C99-based-standards] (SCNiLEAST64): Likewise.
5376         [C99-based-standards] (SCNoLEAST64): Likewise.
5377         [C99-based-standards] (SCNuLEAST64): Likewise.
5378         [C99-based-standards] (SCNxLEAST64): Likewise.
5379         [C99-based-standards] (PRIdFAST64): Likewise.
5380         [C99-based-standards] (PRIiFAST64): Likewise.
5381         [C99-based-standards] (PRIoFAST64): Likewise.
5382         [C99-based-standards] (PRIuFAST64): Likewise.
5383         [C99-based-standards] (PRIxFAST64): Likewise.
5384         [C99-based-standards] (PRIXFAST64): Likewise.
5385         [C99-based-standards] (SCNdFAST64): Likewise.
5386         [C99-based-standards] (SCNiFAST64): Likewise.
5387         [C99-based-standards] (SCNoFAST64): Likewise.
5388         [C99-based-standards] (SCNuFAST64): Likewise.
5389         [C99-based-standards] (SCNxFAST64): Likewise.
5390         [C99-based-standards] (PRIdMAX): Likewise.
5391         [C99-based-standards] (PRIiMAX): Likewise.
5392         [C99-based-standards] (PRIoMAX): Likewise.
5393         [C99-based-standards] (PRIuMAX): Likewise.
5394         [C99-based-standards] (PRIxMAX): Likewise.
5395         [C99-based-standards] (PRIXMAX): Likewise.
5396         [C99-based-standards] (SCNdMAX): Likewise.
5397         [C99-based-standards] (SCNiMAX): Likewise.
5398         [C99-based-standards] (SCNoMAX): Likewise.
5399         [C99-based-standards] (SCNuMAX): Likewise.
5400         [C99-based-standards] (SCNxMAX): Likewise.
5401         [C99-based-standards] (PRIdPTR): Likewise.
5402         [C99-based-standards] (PRIiPTR): Likewise.
5403         [C99-based-standards] (PRIoPTR): Likewise.
5404         [C99-based-standards] (PRIuPTR): Likewise.
5405         [C99-based-standards] (PRIxPTR): Likewise.
5406         [C99-based-standards] (PRIXPTR): Likewise.
5407         [C99-based-standards] (SCNdPTR): Likewise.
5408         [C99-based-standards] (SCNiPTR): Likewise.
5409         [C99-based-standards] (SCNoPTR): Likewise.
5410         [C99-based-standards] (SCNuPTR): Likewise.
5411         [C99-based-standards] (SCNxPTR): Likewise.
5412         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5413         allow.
5414         * conform/data/stdint.h-data: Update comments to clarify
5415         requirements.
5416         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5417         type.
5418         [C99-based standards] (INT8_MAX): Likewise.
5419         [C99-based standards] (INT16_MIN): Likewise.
5420         [C99-based standards] (INT16_MAX): Likewise.
5421         [C99-based standards] (INT32_MIN): Likewise.
5422         [C99-based standards] (INT32_MAX): Likewise.
5423         [C99-based standards] (INT64_MIN): Likewise.
5424         [C99-based standards] (INT64_MAX): Likewise.
5425         [C99-based standards] (UINT8_MAX): Likewise.
5426         [C99-based standards] (UINT16_MAX): Likewise.
5427         [C99-based standards] (UINT32_MAX): Likewise.
5428         [C99-based standards] (UINT64_MAX): Likewise.
5429         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5430         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5431         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5432         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5433         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5434         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5435         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5436         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5437         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5438         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5439         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5440         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5441         [C99-based standards] (INT_FAST8_MIN): Likewise.
5442         [C99-based standards] (INT_FAST8_MAX): Likewise.
5443         [C99-based standards] (INT_FAST16_MIN): Likewise.
5444         [C99-based standards] (INT_FAST16_MAX): Likewise.
5445         [C99-based standards] (INT_FAST32_MIN): Likewise.
5446         [C99-based standards] (INT_FAST32_MAX): Likewise.
5447         [C99-based standards] (INT_FAST64_MIN): Likewise.
5448         [C99-based standards] (INT_FAST64_MAX): Likewise.
5449         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5450         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5451         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5452         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5453         [C99-based standards] (INTPTR_MIN): Likewise.
5454         [C99-based standards] (INTPTR_MAX): Likewise.
5455         [C99-based standards] (UINTPTR_MAX): Likewise.
5456         [C99-based standards] (INTMAX_MIN): Likewise.
5457         [C99-based standards] (INTMAX_MAX): Likewise.
5458         [C99-based standards] (UINTMAX_MAX): Likewise.
5459         [C99-based standards] (PTRDIFF_MIN): Likewise.
5460         [C99-based standards] (PTRDIFF_MAX): Likewise.
5461         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5462         [C99-based standards] (SIZE_MAX): Likewise.
5463         [C99-based standards] (WCHAR_MAX): Likewise.
5464         [C99-based standards] (WINT_MAX): Likewise.
5465         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5466         constraint on value.
5467         [C99-based standards] (WCHAR_MIN): Likewise.
5468         [C99-based standards] (WINT_MIN): Likewise.
5469         [C99-based standards] (*_t): Allow.
5470         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5471         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5472         Include math.h-data and complex.h-data.  Remove all expectations
5473         of math.h and complex.h contents.
5474         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5475         at end of line.
5476         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5477         (struct tm): Expect tag.
5478         [C99-based-standards] (wcstof): Expect function.
5479         [C99-based-standards] (wcstold): Likewise.
5480         [C99-based-standards] (wcstoll): Likewise.
5481         [C99-based-standards] (wcstoull): Likewise.
5482         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5483         macro-int-constant.  Specify type.
5484         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
5485         constraint on value.
5486         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5487         Specify type.
5488         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5489         Specify value.
5490         [ISO C standards]: Do not allow headers.
5491         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5492         wcs[abcdefghijklmnopqrstuvwxyz]*.
5493         [ISO C standards] (*_t): Do not allow.
5494         * conform/data/wctype.h-data [C99-based standards] (iswblank):
5495         Expect function.
5496         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5497         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5498         Specify type.
5499         [ISO C standards]: Do not allow headers.
5500         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5501         is[abcdefghijklmnopqrstuvwxyz]*.
5502         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5503         to[abcdefghijklmnopqrstuvwxyz]*.
5504         [ISO C standards] (*_t): Do not allow.
5505         * conform/data/stdalign.h-data: New file.
5506         * conform/data/stdbool.h-data: Likewise.
5507         * conform/data/stdnoreturn.h-data: Likewise.
5509 2012-11-07  Roland McGrath  <roland@hack.frob.com>
5511         [BZ #14815]
5512         * manual/filesys.texi (Directory Entries): Typo fix.
5513         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5515 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5517         * elf/elf.h (EM_AARCH64): New macro.
5518         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5519         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5520         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5521         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5522         (R_AARCH64_TLSDESC): Likewise.
5523         (NT_ARM_TLS): Likewise.
5524         (NT_ARM_HW_BREAK): Likewise.
5525         (NT_ARM_HW_WATCH): Likewise.
5527 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5529         [BZ #14811]
5530         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5531         (__ieee754_powl): Saturate nonzero exponents with absolute value
5532         below 0x1p-79 to +/- 0x1p-79.
5533         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5534         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5535         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5536         nonzero exponents with absolute value below 0x1p-32 to +/-
5537         0x1p-32.
5538         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5539         (__ieee754_powl): Saturate nonzero exponents with absolute value
5540         below 0x1p-79 to +/- 0x1p-79.
5541         * math/libm-test.inc (pow_test): Add more tests.
5543 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5545         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5546         _dl_s390_cap_flags with kernel. Increase string length.
5547         (_dl_s390_platforms): Add z196 and zEC12.
5549 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5551         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5552         Change XOPEN21K to XOPEN2K.
5554 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
5556         * string/memmove.c: Use memcpy when possible.
5558 2012-11-06  Andreas Jaeger  <aj@suse.de>
5560         * po/eo.po: Update from translation team.
5562 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
5564         [BZ #14793]
5565         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5566         exponent and small x and y exponents, scale x or y up.  Increase
5567         by 2 the exponent used in scaling up.
5568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5569         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5570         * math/libm-test.inc (fma_test): Add more tests.
5571         (fma_test_towardzero): Likewise.
5572         (fma_test_downward): Likewise.
5573         (fma_test_upward): Likewise.
5575 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
5577         [BZ #14805]
5578         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5579         fenv_t *.
5581         [BZ #14801]
5582         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5583         namespace for names of struct fields.
5584         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5585         fenv_t fields.
5586         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5587         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5589 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5591         [BZ #3665]
5592         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5594 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5596         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5597         PTR_DEMANGLE.
5599         [BZ #5246]
5600         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5601         PTR_DEMANGLE.
5603 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
5605         [BZ #14797]
5606         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5607         definitely overflow as x * y not x * y + z.
5608         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5609         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5610         * math/libm-test.inc (fma_test): Add more tests.
5611         (fma_test_towardzero): Likewise.
5612         (fma_test_downward): Likewise.
5613         (fma_test_upward): Likewise.
5615 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5617         [BZ #157]
5619         * include/stub-tag.h: Remove file.
5620         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5621         '#include' of it.
5622         * manual/maint.texi (Porting): Don't reference it.
5623         * Makerules ($(objpfx)stubs): Likewise.
5624         * dirent/closedir.c: Don't include <stub-tag.h>.
5625         * dirent/dirfd.c: Likewise.
5626         * dirent/fdopendir.c: Likewise.
5627         * dirent/getdents.c: Likewise.
5628         * dirent/getdents64.c: Likewise.
5629         * dirent/opendir.c: Likewise.
5630         * dirent/readdir.c: Likewise.
5631         * dirent/readdir64.c: Likewise.
5632         * dirent/readdir64_r.c: Likewise.
5633         * dirent/readdir_r.c: Likewise.
5634         * dirent/rewinddir.c: Likewise.
5635         * dirent/seekdir.c: Likewise.
5636         * dirent/telldir.c: Likewise.
5637         * gmon/profil.c: Likewise.
5638         * grp/setgroups.c: Likewise.
5639         * inet/if_index.c: Likewise.
5640         * io/access.c: Likewise.
5641         * io/chdir.c: Likewise.
5642         * io/chmod.c: Likewise.
5643         * io/chown.c: Likewise.
5644         * io/close.c: Likewise.
5645         * io/dup.c: Likewise.
5646         * io/dup2.c: Likewise.
5647         * io/dup3.c: Likewise.
5648         * io/euidaccess.c: Likewise.
5649         * io/faccessat.c: Likewise.
5650         * io/fchdir.c: Likewise.
5651         * io/fchmod.c: Likewise.
5652         * io/fchmodat.c: Likewise.
5653         * io/fchown.c: Likewise.
5654         * io/fchownat.c: Likewise.
5655         * io/fcntl.c: Likewise.
5656         * io/flock.c: Likewise.
5657         * io/fstatfs.c: Likewise.
5658         * io/fstatfs64.c: Likewise.
5659         * io/fstatvfs.c: Likewise.
5660         * io/fstatvfs64.c: Likewise.
5661         * io/futimens.c: Likewise.
5662         * io/fxstat.c: Likewise.
5663         * io/fxstat64.c: Likewise.
5664         * io/fxstatat.c: Likewise.
5665         * io/fxstatat64.c: Likewise.
5666         * io/getcwd.c: Likewise.
5667         * io/isatty.c: Likewise.
5668         * io/lchmod.c: Likewise.
5669         * io/lchown.c: Likewise.
5670         * io/link.c: Likewise.
5671         * io/linkat.c: Likewise.
5672         * io/lseek.c: Likewise.
5673         * io/lseek64.c: Likewise.
5674         * io/lxstat64.c: Likewise.
5675         * io/mkdir.c: Likewise.
5676         * io/mkdirat.c: Likewise.
5677         * io/mkfifo.c: Likewise.
5678         * io/mkfifoat.c: Likewise.
5679         * io/open.c: Likewise.
5680         * io/open64.c: Likewise.
5681         * io/openat.c: Likewise.
5682         * io/openat64.c: Likewise.
5683         * io/pipe.c: Likewise.
5684         * io/pipe2.c: Likewise.
5685         * io/poll.c: Likewise.
5686         * io/posix_fadvise.c: Likewise.
5687         * io/posix_fadvise64.c: Likewise.
5688         * io/posix_fallocate.c: Likewise.
5689         * io/posix_fallocate64.c: Likewise.
5690         * io/read.c: Likewise.
5691         * io/readlink.c: Likewise.
5692         * io/readlinkat.c: Likewise.
5693         * io/rmdir.c: Likewise.
5694         * io/sendfile.c: Likewise.
5695         * io/sendfile64.c: Likewise.
5696         * io/statfs.c: Likewise.
5697         * io/statfs64.c: Likewise.
5698         * io/statvfs.c: Likewise.
5699         * io/statvfs64.c: Likewise.
5700         * io/symlink.c: Likewise.
5701         * io/symlinkat.c: Likewise.
5702         * io/ttyname.c: Likewise.
5703         * io/ttyname_r.c: Likewise.
5704         * io/umask.c: Likewise.
5705         * io/unlink.c: Likewise.
5706         * io/unlinkat.c: Likewise.
5707         * io/utime.c: Likewise.
5708         * io/utimensat.c: Likewise.
5709         * io/write.c: Likewise.
5710         * io/xmknod.c: Likewise.
5711         * io/xmknodat.c: Likewise.
5712         * io/xstat.c: Likewise.
5713         * io/xstat64.c: Likewise.
5714         * login/getpt.c: Likewise.
5715         * login/grantpt.c: Likewise.
5716         * login/unlockpt.c: Likewise.
5717         * math/e_acoshl.c: Likewise.
5718         * math/e_acosl.c: Likewise.
5719         * math/e_asinl.c: Likewise.
5720         * math/e_atan2l.c: Likewise.
5721         * math/e_atanhl.c: Likewise.
5722         * math/e_coshl.c: Likewise.
5723         * math/e_expl.c: Likewise.
5724         * math/e_fmodl.c: Likewise.
5725         * math/e_gammal_r.c: Likewise.
5726         * math/e_hypotl.c: Likewise.
5727         * math/e_j0l.c: Likewise.
5728         * math/e_j1l.c: Likewise.
5729         * math/e_jnl.c: Likewise.
5730         * math/e_lgammal_r.c: Likewise.
5731         * math/e_log10l.c: Likewise.
5732         * math/e_log2l.c: Likewise.
5733         * math/e_logl.c: Likewise.
5734         * math/e_powl.c: Likewise.
5735         * math/e_rem_pio2l.c: Likewise.
5736         * math/e_sinhl.c: Likewise.
5737         * math/e_sqrtl.c: Likewise.
5738         * math/fclrexcpt.c: Likewise.
5739         * math/fedisblxcpt.c: Likewise.
5740         * math/feenablxcpt.c: Likewise.
5741         * math/fegetenv.c: Likewise.
5742         * math/fegetexcept.c: Likewise.
5743         * math/fegetround.c: Likewise.
5744         * math/feholdexcpt.c: Likewise.
5745         * math/fesetenv.c: Likewise.
5746         * math/fesetround.c: Likewise.
5747         * math/feupdateenv.c: Likewise.
5748         * math/fgetexcptflg.c: Likewise.
5749         * math/fraiseexcpt.c: Likewise.
5750         * math/fsetexcptflg.c: Likewise.
5751         * math/ftestexcept.c: Likewise.
5752         * math/k_cosl.c: Likewise.
5753         * math/k_rem_pio2l.c: Likewise.
5754         * math/k_sinl.c: Likewise.
5755         * math/k_tanl.c: Likewise.
5756         * math/s_asinhl.c: Likewise.
5757         * math/s_atanl.c: Likewise.
5758         * math/s_cbrtl.c: Likewise.
5759         * math/s_erfl.c: Likewise.
5760         * math/s_expm1l.c: Likewise.
5761         * math/s_log1pl.c: Likewise.
5762         * math/s_tanhl.c: Likewise.
5763         * misc/acct.c: Likewise.
5764         * misc/brk.c: Likewise.
5765         * misc/chflags.c: Likewise.
5766         * misc/chroot.c: Likewise.
5767         * misc/fchflags.c: Likewise.
5768         * misc/fgetxattr.c: Likewise.
5769         * misc/flistxattr.c: Likewise.
5770         * misc/fremovexattr.c: Likewise.
5771         * misc/fsetxattr.c: Likewise.
5772         * misc/fsync.c: Likewise.
5773         * misc/ftruncate.c: Likewise.
5774         * misc/futimes.c: Likewise.
5775         * misc/futimesat.c: Likewise.
5776         * misc/getdomain.c: Likewise.
5777         * misc/getdtsz.c: Likewise.
5778         * misc/gethostid.c: Likewise.
5779         * misc/gethostname.c: Likewise.
5780         * misc/getloadavg.c: Likewise.
5781         * misc/getpagesize.c: Likewise.
5782         * misc/getsysstats.c: Likewise.
5783         * misc/getxattr.c: Likewise.
5784         * misc/gtty.c: Likewise.
5785         * misc/ioctl.c: Likewise.
5786         * misc/lgetxattr.c: Likewise.
5787         * misc/listxattr.c: Likewise.
5788         * misc/llistxattr.c: Likewise.
5789         * misc/lremovexattr.c: Likewise.
5790         * misc/lsetxattr.c: Likewise.
5791         * misc/lutimes.c: Likewise.
5792         * misc/madvise.c: Likewise.
5793         * misc/mincore.c: Likewise.
5794         * misc/mlock.c: Likewise.
5795         * misc/mlockall.c: Likewise.
5796         * misc/mmap.c: Likewise.
5797         * misc/mprotect.c: Likewise.
5798         * misc/msync.c: Likewise.
5799         * misc/munlock.c: Likewise.
5800         * misc/munlockall.c: Likewise.
5801         * misc/munmap.c: Likewise.
5802         * misc/preadv.c: Likewise.
5803         * misc/preadv64.c: Likewise.
5804         * misc/ptrace.c: Likewise.
5805         * misc/pwritev.c: Likewise.
5806         * misc/pwritev64.c: Likewise.
5807         * misc/readv.c: Likewise.
5808         * misc/reboot.c: Likewise.
5809         * misc/remap_file_pages.c: Likewise.
5810         * misc/removexattr.c: Likewise.
5811         * misc/revoke.c: Likewise.
5812         * misc/select.c: Likewise.
5813         * misc/setdomain.c: Likewise.
5814         * misc/setegid.c: Likewise.
5815         * misc/seteuid.c: Likewise.
5816         * misc/sethostid.c: Likewise.
5817         * misc/sethostname.c: Likewise.
5818         * misc/setregid.c: Likewise.
5819         * misc/setreuid.c: Likewise.
5820         * misc/setxattr.c: Likewise.
5821         * misc/sstk.c: Likewise.
5822         * misc/stty.c: Likewise.
5823         * misc/swapoff.c: Likewise.
5824         * misc/swapon.c: Likewise.
5825         * misc/sync.c: Likewise.
5826         * misc/syncfs.c: Likewise.
5827         * misc/syscall.c: Likewise.
5828         * misc/truncate.c: Likewise.
5829         * misc/ualarm.c: Likewise.
5830         * misc/usleep.c: Likewise.
5831         * misc/ustat.c: Likewise.
5832         * misc/utimes.c: Likewise.
5833         * misc/vhangup.c: Likewise.
5834         * misc/writev.c: Likewise.
5835         * posix/_exit.c: Likewise.
5836         * posix/alarm.c: Likewise.
5837         * posix/execve.c: Likewise.
5838         * posix/fexecve.c: Likewise.
5839         * posix/fork.c: Likewise.
5840         * posix/fpathconf.c: Likewise.
5841         * posix/getaddrinfo.c: Likewise.
5842         * posix/getegid.c: Likewise.
5843         * posix/geteuid.c: Likewise.
5844         * posix/getgid.c: Likewise.
5845         * posix/getgroups.c: Likewise.
5846         * posix/getlogin.c: Likewise.
5847         * posix/getlogin_r.c: Likewise.
5848         * posix/getpgid.c: Likewise.
5849         * posix/getpid.c: Likewise.
5850         * posix/getppid.c: Likewise.
5851         * posix/getresgid.c: Likewise.
5852         * posix/getresuid.c: Likewise.
5853         * posix/getsid.c: Likewise.
5854         * posix/getuid.c: Likewise.
5855         * posix/glob64.c: Likewise.
5856         * posix/nanosleep.c: Likewise.
5857         * posix/pathconf.c: Likewise.
5858         * posix/pause.c: Likewise.
5859         * posix/posix_madvise.c: Likewise.
5860         * posix/pread.c: Likewise.
5861         * posix/pread64.c: Likewise.
5862         * posix/pwrite.c: Likewise.
5863         * posix/pwrite64.c: Likewise.
5864         * posix/sched_getaffinity.c: Likewise.
5865         * posix/sched_getp.c: Likewise.
5866         * posix/sched_gets.c: Likewise.
5867         * posix/sched_primax.c: Likewise.
5868         * posix/sched_primin.c: Likewise.
5869         * posix/sched_rr_gi.c: Likewise.
5870         * posix/sched_setaffinity.c: Likewise.
5871         * posix/sched_setp.c: Likewise.
5872         * posix/sched_sets.c: Likewise.
5873         * posix/sched_yield.c: Likewise.
5874         * posix/setgid.c: Likewise.
5875         * posix/setlogin.c: Likewise.
5876         * posix/setpgid.c: Likewise.
5877         * posix/setresgid.c: Likewise.
5878         * posix/setresuid.c: Likewise.
5879         * posix/setsid.c: Likewise.
5880         * posix/setuid.c: Likewise.
5881         * posix/sleep.c: Likewise.
5882         * posix/spawni.c: Likewise.
5883         * posix/sysconf.c: Likewise.
5884         * posix/times.c: Likewise.
5885         * posix/wait.c: Likewise.
5886         * posix/wait3.c: Likewise.
5887         * posix/wait4.c: Likewise.
5888         * posix/waitpid.c: Likewise.
5889         * resolv/gai_sigqueue.c: Likewise.
5890         * resource/getpriority.c: Likewise.
5891         * resource/getrlimit.c: Likewise.
5892         * resource/getrusage.c: Likewise.
5893         * resource/nice.c: Likewise.
5894         * resource/setpriority.c: Likewise.
5895         * resource/setrlimit.c: Likewise.
5896         * resource/ulimit.c: Likewise.
5897         * rt/aio_cancel.c: Likewise.
5898         * rt/aio_fsync.c: Likewise.
5899         * rt/aio_read.c: Likewise.
5900         * rt/aio_sigqueue.c: Likewise.
5901         * rt/aio_suspend.c: Likewise.
5902         * rt/aio_write.c: Likewise.
5903         * rt/clock_getres.c: Likewise.
5904         * rt/clock_gettime.c: Likewise.
5905         * rt/clock_nanosleep.c: Likewise.
5906         * rt/clock_settime.c: Likewise.
5907         * rt/lio_listio.c: Likewise.
5908         * rt/mq_close.c: Likewise.
5909         * rt/mq_getattr.c: Likewise.
5910         * rt/mq_notify.c: Likewise.
5911         * rt/mq_open.c: Likewise.
5912         * rt/mq_receive.c: Likewise.
5913         * rt/mq_send.c: Likewise.
5914         * rt/mq_setattr.c: Likewise.
5915         * rt/mq_timedreceive.c: Likewise.
5916         * rt/mq_timedsend.c: Likewise.
5917         * rt/mq_unlink.c: Likewise.
5918         * rt/shm_open.c: Likewise.
5919         * rt/shm_unlink.c: Likewise.
5920         * rt/timer_create.c: Likewise.
5921         * rt/timer_delete.c: Likewise.
5922         * rt/timer_getoverr.c: Likewise.
5923         * rt/timer_gettime.c: Likewise.
5924         * rt/timer_settime.c: Likewise.
5925         * setjmp/__longjmp.c: Likewise.
5926         * setjmp/setjmp.c: Likewise.
5927         * signal/kill.c: Likewise.
5928         * signal/killpg.c: Likewise.
5929         * signal/raise.c: Likewise.
5930         * signal/sigaction.c: Likewise.
5931         * signal/sigaltstack.c: Likewise.
5932         * signal/sigblock.c: Likewise.
5933         * signal/sigignore.c: Likewise.
5934         * signal/sigintr.c: Likewise.
5935         * signal/signal.c: Likewise.
5936         * signal/sigpause.c: Likewise.
5937         * signal/sigpending.c: Likewise.
5938         * signal/sigqueue.c: Likewise.
5939         * signal/sigreturn.c: Likewise.
5940         * signal/sigset.c: Likewise.
5941         * signal/sigsetmask.c: Likewise.
5942         * signal/sigstack.c: Likewise.
5943         * signal/sigsuspend.c: Likewise.
5944         * signal/sigtimedwait.c: Likewise.
5945         * signal/sigvec.c: Likewise.
5946         * signal/sigwait.c: Likewise.
5947         * signal/sigwaitinfo.c: Likewise.
5948         * signal/sysv_signal.c: Likewise.
5949         * socket/accept.c: Likewise.
5950         * socket/accept4.c: Likewise.
5951         * socket/bind.c: Likewise.
5952         * socket/connect.c: Likewise.
5953         * socket/getpeername.c: Likewise.
5954         * socket/getsockname.c: Likewise.
5955         * socket/getsockopt.c: Likewise.
5956         * socket/isfdtype.c: Likewise.
5957         * socket/listen.c: Likewise.
5958         * socket/recv.c: Likewise.
5959         * socket/recvfrom.c: Likewise.
5960         * socket/recvmsg.c: Likewise.
5961         * socket/send.c: Likewise.
5962         * socket/sendmsg.c: Likewise.
5963         * socket/sendto.c: Likewise.
5964         * socket/setsockopt.c: Likewise.
5965         * socket/shutdown.c: Likewise.
5966         * socket/sockatmark.c: Likewise.
5967         * socket/socket.c: Likewise.
5968         * socket/socketpair.c: Likewise.
5969         * stdio-common/ctermid.c: Likewise.
5970         * stdio-common/cuserid.c: Likewise.
5971         * stdio-common/remove.c: Likewise.
5972         * stdio-common/rename.c: Likewise.
5973         * stdio-common/renameat.c: Likewise.
5974         * stdio-common/tempname.c: Likewise.
5975         * stdlib/getcontext.c: Likewise.
5976         * stdlib/makecontext.c: Likewise.
5977         * stdlib/setcontext.c: Likewise.
5978         * stdlib/swapcontext.c: Likewise.
5979         * stdlib/system.c: Likewise.
5980         * streams/fattach.c: Likewise.
5981         * streams/fdetach.c: Likewise.
5982         * streams/getmsg.c: Likewise.
5983         * streams/getpmsg.c: Likewise.
5984         * streams/putmsg.c: Likewise.
5985         * streams/putpmsg.c: Likewise.
5986         * sysdeps/unix/bsd/getpt.c: Likewise.
5987         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5988         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5989         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5991         Likewise.
5992         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5993         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5994         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5995         * sysvipc/msgctl.c: Likewise.
5996         * sysvipc/msgget.c: Likewise.
5997         * sysvipc/msgrcv.c: Likewise.
5998         * sysvipc/msgsnd.c: Likewise.
5999         * sysvipc/semctl.c: Likewise.
6000         * sysvipc/semget.c: Likewise.
6001         * sysvipc/semop.c: Likewise.
6002         * sysvipc/semtimedop.c: Likewise.
6003         * sysvipc/shmat.c: Likewise.
6004         * sysvipc/shmctl.c: Likewise.
6005         * sysvipc/shmdt.c: Likewise.
6006         * sysvipc/shmget.c: Likewise.
6007         * termios/tcdrain.c: Likewise.
6008         * termios/tcflow.c: Likewise.
6009         * termios/tcflush.c: Likewise.
6010         * termios/tcgetattr.c: Likewise.
6011         * termios/tcgetpgrp.c: Likewise.
6012         * termios/tcsendbrk.c: Likewise.
6013         * termios/tcsetattr.c: Likewise.
6014         * termios/tcsetpgrp.c: Likewise.
6015         * time/adjtime.c: Likewise.
6016         * time/clock.c: Likewise.
6017         * time/getitimer.c: Likewise.
6018         * time/gettimeofday.c: Likewise.
6019         * time/setitimer.c: Likewise.
6020         * time/settimeofday.c: Likewise.
6021         * time/stime.c: Likewise.
6022         * time/time.c: Likewise.
6024 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6026         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6027         /usr/old/bin.
6029         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6030         instead of spaces.
6031         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6033 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6035         [BZ #14796]
6036         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6037         FE_TONEAREST before applying Dekker multiplication and Knuth
6038         addition.  Clear inexact exceptions and check for exact zero
6039         results afterwards.
6040         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6041         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6042         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6043         * math/libm-test.inc (fma_test): Add more tests.
6044         (fma_test_towardzero): Likewise.
6045         (fma_test_downward): Likewise.
6046         (fma_test_upward): Likewise.
6047         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6048         function.
6049         (libc_fesetround): New macro.
6050         (libc_fesetroundf): Likewise.
6051         (libc_fesetroundl): Likewise.
6052         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6053         function.
6054         (libc_fesetround_387): Likewise.
6055         (libc_fesetroundf): New macro.
6056         (libc_fesetround): Likewise.
6057         (libc_fesetroundl): Likewise.
6058         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6059         function.
6060         (libc_fesetroundf): New macro.
6061         (libc_fesetround): Likewise.
6062         (libc_fesetroundl): Likewise.
6063         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6064         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6065         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6066         libm_hidden_ver.
6067         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6068         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6069         libm_hidden_def.
6070         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6071         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6072         libm_hidden_ver.
6073         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6074         libm_hidden_def.
6076         [BZ #3439]
6077         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6078         integer constant usable in #if and use that to give value to enum
6079         constant.
6080         (FE_DIVBYZERO): Likewise.
6081         (FE_UNDERFLOW): Likewise.
6082         (FE_OVERFLOW): Likewise.
6083         (FE_INVALID): Likewise.
6084         (FE_INVALID_SNAN): Likewise.
6085         (FE_INVALID_ISI): Likewise.
6086         (FE_INVALID_IDI): Likewise.
6087         (FE_INVALID_ZDZ): Likewise.
6088         (FE_INVALID_IMZ): Likewise.
6089         (FE_INVALID_COMPARE): Likewise.
6090         (FE_INVALID_SOFTWARE): Likewise.
6091         (FE_INVALID_SQRT): Likewise.
6092         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6093         (FE_TONEAREST): Likewise.
6094         (FE_TOWARDZERO): Likewise.
6095         (FE_UPWARD): Likewise.
6096         (FE_DOWNWARD): Likewise.
6097         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6098         (FE_DIVBYZERO): Likewise.
6099         (FE_OVERFLOW): Likewise.
6100         (FE_UNDERFLOW): Likewise.
6101         (FE_INEXACT): Likewise.
6102         (FE_TONEAREST): Likewise.
6103         (FE_DOWNWARD): Likewise.
6104         (FE_UPWARD): Likewise.
6105         (FE_TOWARDZERO): Likewise.
6106         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6107         (FE_UNDERFLOW): Likewise.
6108         (FE_OVERFLOW): Likewise.
6109         (FE_DIVBYZERO): Likewise.
6110         (FE_INVALID): Likewise.
6111         (FE_TONEAREST): Likewise.
6112         (FE_TOWARDZERO): Likewise.
6113         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6114         (FE_OVERFLOW): Likewise.
6115         (FE_UNDERFLOW): Likewise.
6116         (FE_DIVBYZERO): Likewise.
6117         (FE_INEXACT): Likewise.
6118         (FE_TONEAREST): Likewise.
6119         (FE_TOWARDZERO): Likewise.
6120         (FE_UPWARD): Likewise.
6121         (FE_DOWNWARD): Likewise.
6122         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6123         (FE_DIVBYZERO): Likewise.
6124         (FE_OVERFLOW): Likewise.
6125         (FE_UNDERFLOW): Likewise.
6126         (FE_INEXACT): Likewise.
6127         (FE_TONEAREST): Likewise.
6128         (FE_DOWNWARD): Likewise.
6129         (FE_UPWARD): Likewise.
6130         (FE_TOWARDZERO): Likewise.
6132 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6134         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6136 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6138         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6139         commands.  Quote $PWD.
6140         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6141         -x" by "export".
6142         (remove_newlines): Remove.
6144 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6146         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6147         * stdlib/stdlib.h (atof): Moved to ...
6148         * include/bits/stdlib-float.h: Here.  New file.
6149         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6150         * stdlib/bits/stdlib-float.h: New file.
6151         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6152         -mno-sse -mno-mmx.
6153         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6154         <xmmintrin.h>.
6156 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6158         * conform/conformtest.pl (@headers): Add fenv.h.
6159         * conform/data/fenv.h-data: New file.
6160         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6161         include of <math/fenv.h>.
6163         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6164         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6165         && !UNIX98].  Enables tests for XOPEN2K8.
6166         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6167         POSIX2008]: Likewise.
6169         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6170         (struct rusage): Do not expect type or its members.
6172         [BZ #3439]
6173         * math/math.h (FP_NAN): Define macro to integer constant usable in
6174         #if and use that to give value to enum constant.
6175         (FP_INFINITE): Likewise.
6176         (FP_ZERO): Likewise.
6177         (FP_SUBNORMAL): Likewise.
6178         (FP_NORMAL): Likewise.
6180 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6182         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6183         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6184         arguments.
6186 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6188         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6189         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6190         autoconf-time if not.
6191         * configure.in: Remove AC_PREREQ.
6193 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6195         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6196         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6197         of the internal implementation.
6199 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6201         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6202         except include of <misc/sys/syslog.h>.
6204 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6207         function returns with a NULL context exit with zero.
6209 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6211         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6213 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6215         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6216         (run_program_cmd): This.
6217         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6218         (tst_langinfo): New variable.  Use it.
6220 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6222         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6223         floating point opcodes.
6225 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6227         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6228         variable.
6230         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6232         * sysdeps/mach/hurd/powerpc: Remove directory.
6233         * sysdeps/mach/powerpc: Likewise.
6235 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6237         * scripts/check-local-headers.sh: Ignore c++ headers.
6239 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6241         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6242         __libc_cleanup_region_start argument.
6244 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6246         [BZ #14784]
6247         [BZ #14785]
6248         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6249         x * y using scaling, not as x * y + z.
6250         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6251         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6252         * math/libm-test.inc (fma_test): Add more tests.
6253         (fma_test_towardzero): Likewise.
6254         (fma_test_downward): Likewise.
6255         (fma_test_upward): Likewise.
6257 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6259         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6261 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6263         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6264         New variable.
6266 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6268         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6270 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6273         Fix sort order.
6274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6275         Likewise.
6277 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6280         Fix the order of the list for glibc 2.17.
6281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6282         Likewise.
6284 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6288 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6290         [BZ #14610]
6291         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6292         for low part of x being zero before using __atanl (y).
6293         * math/libm-test.inc (atan2_test): Add another test.
6295         * manual/install.texi (Configuring and compiling): Document
6296         general use of test-wrapper and test-wrapper-env.
6297         * INSTALL: Regenerated.
6299         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6300         (__fma): Do not extract and scale down low bits on after-rounding
6301         systems when result rounded to normal precision would have normal
6302         exponent.
6303         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6304         (__fmal): Do not extract and scale down low bits on after-rounding
6305         systems when result rounded to normal precision would have normal
6306         exponent.
6307         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6308         (__fmal): Do not extract and scale down low bits on after-rounding
6309         systems when result rounded to normal precision would have normal
6310         exponent.
6311         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6312         macro.
6313         (fma_test): Add more tests.
6314         (fma_test_towardzero): Likewise.
6315         (fma_test_downward): Likewise.
6316         (fma_test_upward): Likewise.
6318 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6320         * sysdeps/i386/tininess.h: Renamed to ...
6321         * sysdeps/x86/tininess.h: This.
6322         * sysdeps/x86_64/tininess.h: Removed.
6324 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6326         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6327         input.  Use $(build-program-cmd).
6328         ($(objpfx)tst-array1-static.out): Likewise.
6329         ($(objpfx)tst-array2.out): Likewise.
6330         ($(objpfx)tst-array3.out): Likewise.
6331         ($(objpfx)tst-array4.out): Likewise.
6332         ($(objpfx)tst-array5.out): Likewise.
6333         ($(objpfx)tst-array5-static.out): Likewise.
6335 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6337         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6338         if defined.
6340         * nss/nsswitch.h (nss_interface_function): Provide new
6341         macro for use with NSS functions.
6342         * grp/initgroups.c: Use new macro.
6343         * nss/getXXbyYY.c: Likewise.
6344         * nss/getXXbyYY_r.c: Likewise.
6345         * nss/getXXent.c: Likewise.
6346         * nss/getXXent_r.c: Likewise.
6347         * sysdeps/posix/getaddrinfo.c: Likewise.
6349 2012-10-30  Andreas Jaeger  <aj@suse.de>
6351         * po/ru.po: Update Russion translation from translation project.
6353 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6355         [BZ #14152]
6356         [BZ #14783]
6357         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6358         result and shift together with sticky bit instead of replicating
6359         round-to-nearest rounding.
6360         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6361         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6362         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6363         missing underflow exceptions.
6364         (fma_test_towardzero): Add more tests.
6365         (fma_test_downward): Likewise.
6366         (fma_test_upward): Likewise.
6368         [BZ #14047]
6369         * sysdeps/generic/tininess.h: New file.
6370         * sysdeps/i386/tininess.h: Likewise.
6371         * sysdeps/sh/tininess.h: Likewise.
6372         * sysdeps/x86_64/tininess.h: Likewise.
6373         * stdlib/tst-strtod-underflow.c: Likewise.
6374         * stdlib/tst-tininess.c: Likewise.
6375         * stdlib/strtod_l.c: Include <tininess.h>.
6376         (round_and_return): Do not set errno for exact underflow cases.
6377         Force an underflow exception when setting errno for underflow.
6378         Determine underflow based on rounding to normal precision if
6379         TININESS_AFTER_ROUNDING.
6380         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6381         ERANGE for exact underflow cases.
6382         * stdlib/Makefile (tests): Add tst-tininess and
6383         tst-strtod-underflow.
6384         ($(objpfx)tst-tininess): Use $(link-libm).
6385         ($(objpfx)tst-strtod-underflow): Likewise.
6387 2012-10-30  Andreas Jaeger  <aj@suse.de>
6389         [BZ#14767]
6390         * elf/Makefile (tests): Remove conditional for have-initfini-array
6391         since this is now always required and the variable does not exist
6392         anymore.
6393         (tests-static): Likewise.
6394         (modules-names): Likewise.
6396         * po/eo.po: Add Esperanto translation from translation project.
6398         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6399         merged with constructor/destructor.
6400         (init_array): Likewise.
6401         * elf/tst-array2dep.c (fini_array): Likewise.
6402         (init_array): Likewise.
6404 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6406         * manual/message.texi: Delete @cartouche tags.
6408 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6410         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6411         EOPNOTSUPP.
6412         * sysdeps/mach/hurd/fsync.c: Likewise.
6414         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6415         [_POSIX_REALTIME_SIGNALS]: Change condition to
6416         [_POSIX_REALTIME_SIGNALS > 0].
6418 2012-10-27  Andreas Jaeger  <aj@suse.de>
6420         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6421         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6422         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6423         [__WORDSIZE != 64]: Likewise.
6425 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6427         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6428         *  iconvdata/tst-tables.sh: Likewise.
6430 2012-10-25  David S. Miller  <davem@davemloft.net>
6432         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6433         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6434         of strtoull.
6436         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6437         ifunc-impl-list.c
6438         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6439         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6440         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6441         file.
6443 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6445         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6446         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6447         __getdirentries.
6449 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6450             Jim Blandy  <jimb@codesourcery.com>
6452         * scripts/cross-test-ssh.sh: New file.
6453         * manual/install.texi (Configuring and compiling): Document use of
6454         cross-test-ssh.sh.
6455         * INSTALL: Regenerated.
6457 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6459         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6460         EOPNOTSUPP.
6462 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6464         * Makeconfig (run-program-prefix): Fix comment.
6466 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6467             Jim Blandy  <jimb@codesourcery.com>
6469         * Makeconfig (test-wrapper): New variable,
6470         (test-wrapper-env): Likewise.
6471         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6472         (run-built-tests): Define to yes.
6473         (run-program-prefix): Use $(test-wrapper).
6474         (built-program-cmd): Likewise.
6475         * Rules (make-test-out): Use $(test-wrapper-env) and
6476         $(host-built-program-cmd).
6477         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6478         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6479         tst-pathopt.sh.
6480         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6481         $(test-wrapper-env) to tst-rtld-load-self.sh.
6482         ($(objpfx)order2.out): Use $(test-wrapper).
6483         ($(objpfx)tst-initorder.out): Likewise.
6484         ($(objpfx)tst-initorder2.out): Likewise.
6485         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6486         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6487         (test_wrapper_env): New variable.  Use it to run ld.so.
6488         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6489         Use it to run ld.so.
6490         (test_wrapper_env): Likewise.
6491         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6492         $(test-wrapper) to run-iconv-test.sh.
6493         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6494         (ICONV): Use $test_wrapper.
6495         * posix/Makefile ($(objpfx)globtest.out): Pass
6496         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6497         globtest.sh, not $(run-program-prefix).
6498         * posix/globtest.sh (run_via_rtld_prefix): New variable.
6499         (test_wrapper): Likewise.
6500         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
6501         set together with run_via_rtld_prefix.
6502         (run_program_prefix): Define in terms of test_wrapper and
6503         run_via_rtld_prefix.
6505 2012-10-24  Roland McGrath  <roland@hack.frob.com>
6507         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6508         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6509         Targets removed.
6511         [BZ #14743]
6512         * include/time.h: Remove librt_hidden_proto (clock_gettime).
6513         Declare __clock_getres, __clock_gettime, __clock_settime,
6514         __clock_nanosleep, and __clock_getcpuclockid.
6515         * rt/clock_gettime.c: Define __clock_gettime as an alias.
6516         Remove librt_hidden_def (clock_gettime).
6517         * sysdeps/unix/clock_gettime.c: Likewise.
6518         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6519         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6520         * rt/clock_getres.c: Define __clock_getres as an alias.
6521         * sysdeps/posix/clock_getres.c: Likewise.
6522         * rt/clock_settime.c: Define __clock_settime as an alias.
6523         * sysdeps/unix/clock_settime.c: Likewise.
6524         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6525         * sysdeps/unix/clock_nanosleep.c: Likewise.
6526         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6527         * rt/clock-compat.c: New file.
6528         * rt/Makefile (librt-routines): Add clock-compat and move
6529         $(clock-routines) to ...
6530         (routines): ... here, new variable.
6531         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6532         Don't add get_clockfreq here.
6533         * rt/Versions (libc: GLIBC_2.17): New version set.
6534         Add clock_* symbols here.
6535         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
6536         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6537         (GLIBC_2.17): Add clock_* symbols.
6538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6542         Likewise.
6543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6544         Likewise.
6545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6549         * NEWS: Mention the move.
6551         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6552         Use __open, __read, __close rather than their public counterparts.
6553         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6554         (__get_clockfreq_via_cpuinfo): Likewise.
6555         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6556         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6558         * config.h.in (HAVE_IFUNC): New #undef.
6559         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6560         was successful.
6561         * configure: Regenerated.
6563 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6565         * configure.in: Move READELF check to start of file.
6566         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6567         libc_cv_asm_gnu_indirect_function in the process.
6568         * configure: Regenerated.
6570 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6572         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6573         send the output to /dev/null.
6574         (libc_cv_cc_with_libunwind): Likewise.
6575         (libc_cv_as_noexecstack): Likewise.
6576         * configure: Regenerate.
6578 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6580         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6582         * posix/globtest.sh (TMPDIR): Do not set.
6583         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6584         (testout): Likewise.
6586 2012-10-24  Andreas Jaeger  <aj@suse.de>
6588         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6589         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6590         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6591         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6592         posix_fadvise64, posix_fallocate64.
6594         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6595         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6596         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6597         Likewise.
6598         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6599         Likewise.
6600         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6603         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6604         <bits/fcntl-linux.h>.
6605         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6607         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6608         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6609         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6610         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6611         [__WORDSIZE != 64]: Likewise.
6613 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6615         * Makeconfig (run-built-tests): New variable.
6616         * Rules [$(cross-compiling) = yes]: Change condition to
6617         [$(run-built-tests) = no].
6618         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6619         to [$(run-built-tests) = yes].
6620         * elf/Makefile [$(cross-compiling) = no]: Likewise
6621         * grp/Makefile [$(cross-compiling) = no]: Likewise.
6622         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6623         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6624         * intl/Makefile [$(cross-compiling) = no]: Likewise.
6625         * io/Makefile [$(cross-compiling) = no]: Likewise.
6626         * libio/Makefile [$(cross-compiling) = no]: Likewise.
6627         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6628         * misc/Makefile [$(cross-compiling) = no]: Likewise.
6629         * posix/Makefile [$(cross-compiling) = no]: Likewise.
6630         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6631         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6632         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6633         * string/Makefile [$(cross-compiling) = no]: Likewise.
6635         * posix/Makefile ($(objpfx)globtest.out): Pass
6636         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6637         $(rtld-installed-name).
6638         * posix/globtest.sh (elf_objpfx): Remove variable.
6639         (rtld_installed_name): Likewise.
6640         (library_path): Likewise.
6641         (run_program_prefix): New variable.  Use for running globtest
6642         binary.
6644 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
6645             Joseph Myers  <joseph@codesourcery.com>
6647         * Makeconfig (host-built-program-cmd): New variable.
6648         * elf/Makefile (tst-stackguard1-ARGS): Use
6649         $(host-built-program-cmd).
6650         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6651         (tst-spawn-ARGS): Likewise.
6652         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6654 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6655             Jim Blandy  <jimb@codesourcery.com>
6657         * Makeconfig (run-via-rtld-prefix): New variable.
6658         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6659         (built-program-cmd): Likewise.
6661 2012-10-22  Andreas Jaeger  <aj@suse.de>
6663         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6664         __O_RSYNC if it exists, otherwise to O_SYNC.
6666 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
6667             Joseph Myers  <joseph@codesourcery.com>
6669         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6670         /dev/null.
6671         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6672         from /dev/null
6673         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6674         /dev/null.
6676 2012-10-22  Andreas Jaeger  <aj@suse.de>
6678         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6679         Define always.
6680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6682         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6683         bits/fcntl-linux.h.
6685         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6686         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6688         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6689         to __O_LARGEFILE.
6690         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6691         to __O_LARGEFILE.
6693 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
6694             Joseph Myers  <joseph@codesourcery.com>
6696         * config.make.in (NM): New variable.
6698 2012-10-21  Andreas Jaeger  <aj@suse.de>
6700         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6701         definitions and declarations that are provided by
6702         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6704 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6706         [BZ #14683]
6707         * elf/Makefile (tests-static): Add tst-leaks1-static.
6708         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6709         ($(objpfx)tst-leaks1-static): New rule.
6710         ($(objpfx)tst-leaks1-static-mem): Likewise.
6711         (tst-leaks1-static-ENV): New macro.
6712         * elf/dl-open.c (dl_open_worker): Check the main application
6713         only if SHARED is defined.
6714         * elf/tst-leaks1-static.c: New file.
6716 2012-10-20  Andreas Jaeger  <aj@suse.de>
6718         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6719         generic values for Linux.
6720         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6721         and declarations that are provided by <bits/fcntl-linux.h> and
6722         include <bits/fcntl-linux.h>.
6723         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6724         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6726 2012-10-20  Roland McGrath  <roland@hack.frob.com>
6728         * io/fcntl.h: Move include of <bits/types.h> to the top and
6729         include it unconditionally.
6731 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6733         * wcsmbs/Makefile (tests-ifunc): New variable.
6734         (tests): Add $(tests-ifunc).
6735         * wcsmbs/test-wcschr-ifunc.c: New file.
6736         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6737         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6738         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6739         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6740         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6742         * string/Makefile (tests-ifunc): New variable.
6743         (tests): Add $(tests-ifunc).
6744         * string/test-memccpy.c (TEST_NAME): New macro.
6745         * string/test-memchr.c (TEST_NAME): Likewise.
6746         * string/test-memcmp.c (TEST_NAME): Likewise.
6747         * string/test-memcpy.c (TEST_NAME): Likewise.
6748         * string/test-memmem.c (TEST_NAME): Likewise.
6749         * string/test-memmove.c (TEST_NAME): Likewise.
6750         * string/test-memset.c (TEST_NAME): Likewise.
6751         * string/test-rawmemchr.c (TEST_NAME): Likewise.
6752         * string/test-stpcpy.c (TEST_NAME): Likewise.
6753         * string/test-stpncpy.c (TEST_NAME): Likewise.
6754         * string/test-strcasecmp.c (TEST_NAME): Likewise.
6755         * string/test-strcasestr.c (TEST_NAME): Likewise.
6756         * string/test-strcat.c (TEST_NAME): Likewise.
6757         * string/test-strchr.c (TEST_NAME): Likewise.
6758         * string/test-strcmp.c(TEST_NAME): Likewise.
6759         * string/test-strcpy.c (TEST_NAME): Likewise.
6760         * string/test-strcspn.c (TEST_NAME): Likewise.
6761         * string/test-strlen.c (TEST_NAME): Likewise.
6762         * string/test-strncasecmp.c (TEST_NAME): Likewise.
6763         * string/test-strncmp.c (TEST_NAME): Likewise.
6764         * string/test-strncpy.c (TEST_NAME): Likewise.
6765         * string/test-strnlen.c (TEST_NAME): Likewise.
6766         * string/test-strpbrk.c (TEST_NAME): Likewise.
6767         * string/test-strrchr.c (TEST_NAME): Likewise.
6768         * string/test-strspn.c (TEST_NAME): Likewise.
6769         * string/test-strstr.c (TEST_NAME): Likewise.
6770         * string/test-bcopy-ifunc.c: New file.
6771         * string/test-bzero-ifunc.c: Likewise.
6772         * string/test-memccpy-ifunc.c: Likewise.
6773         * string/test-memchr-ifunc.c: Likewise.
6774         * string/test-memcmp-ifunc.c: Likewise.
6775         * string/test-memcpy-ifunc.c: Likewise.
6776         * string/test-memmem-ifunc.c: Likewise.
6777         * string/test-memmove-ifunc.c: Likewise.
6778         * string/test-mempcpy-ifunc.c: Likewise.
6779         * string/test-memset-ifunc.c: Likewise.
6780         * string/test-rawmemchr-ifunc.c: Likewise.
6781         * string/test-stpcpy-ifunc.c: Likewise.
6782         * string/test-stpncpy-ifunc.c: Likewise.
6783         * string/test-strcasecmp-ifunc.c: Likewise.
6784         * string/test-strcasestr-ifunc.c: Likewise.
6785         * string/test-strcat-ifunc.c: Likewise.
6786         * string/test-strchr-ifunc.c: Likewise.
6787         * string/test-strchrnul-ifunc.c: Likewise.
6788         * string/test-strcmp-ifunc.c: Likewise.
6789         * string/test-strcpy-ifunc.c: Likewise.
6790         * string/test-strcspn-ifunc.c: Likewise.
6791         * string/test-strlen-ifunc.c: Likewise.
6792         * string/test-strncasecmp-ifunc.c: Likewise.
6793         * string/test-strncat-ifunc.c: Likewise.
6794         * string/test-strncmp-ifunc.c: Likewise.
6795         * string/test-strncpy-ifunc.c: Likewise.
6796         * string/test-strnlen-ifunc.c: Likewise.
6797         * string/test-strpbrk-ifunc.c: Likewise.
6798         * string/test-strrchr-ifunc.c: Likewise.
6799         * string/test-strspn-ifunc.c: Likewise.
6800         * string/test-strstr-ifunc.c: Likewise.
6802         * debug/Makefile (tests-ifunc): New variable.
6803         (tests): Add $(tests-ifunc).
6804         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6805         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6806         * debug/test-stpcpy_chk-ifunc.c: New file.
6807         * debug/test-strcpy_chk-ifunc.c: Likewise.
6809 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6811         [BZ #13601]
6812         * elf/dl-load.c (open_verify): Retry read if the entire ELF
6813         header is not read in.
6815 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
6817         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
6818         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
6819         directly.  Pass built executable to script as
6820         $(built-program-cmd).
6821         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
6822         $testprogram without using LD_LIBRARY_PATH and $ldso.
6824         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6825         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6826         $(rtld-installed-name).
6827         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6828         (rtld_installed_name): Likewise.
6829         (library_path): Likewise.
6830         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
6831         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6832         $(run-program-prefix) to tst-tables.sh.
6833         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
6834         it to run tst-table-from and tst-table-to.
6835         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6836         Pass it to tst-table.sh.
6837         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6838         $(run-program-prefix) to tst-gettext.sh.
6839         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6840         tst-translit.sh.
6841         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6842         tst-gettext2.sh.
6843         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
6844         to run tst-gettext.
6845         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
6846         to run tst-gettext2.
6847         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
6848         to run tst-translit.
6849         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6850         $(run-program-prefix) to tst-mtrace.sh.
6851         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
6852         to run tst-mtrace.
6853         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6854         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6855         $(rtld-installed-name).
6856         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6857         (rtld_installed_name): Likewise.
6858         (run_program_prefix): New variable.  Use it to run wordexp-test.
6860         * Makeconfig (ARCH): Remove all definitions.
6861         (machine): Likewise.
6862         [ARCH]: Remove conditional code.
6863         [!objdir]: Give error.
6864         [!objdir] (objpfx): Remove.
6865         [!objdir] (common-objpfx): Likewise.
6866         [!objdir] (common-objdir): Likewise.
6867         * configure.in (config_makefile): Remove.  Hardcode Makefile in
6868         AC_CONFIG_FILES call.
6869         * configure: Regenerated.
6871         [BZ #13888]
6872         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6873         or TMPDIR.
6874         (testout): Likewise.
6876         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6877         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6878         $(rtld-installed-name).
6879         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6880         (rtld_installed_name): Likwise.
6881         (runit): Remove function.
6882         (run_getconf): New variable,  Use it for running getconf binary.
6884 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
6886         [BZ #14716]
6887         * string/test-memmem.c (check_result): New function.
6888         (do_one_test): Use it.
6889         (check1): New function.
6890         (test_main): Use it.
6892 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
6894         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6896 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
6898         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6899         (_G_LSEEK64): Likewise.
6900         (_G_MMAP64): Likewise.
6901         (_G_FSTAT64): Likewise.
6902         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6903         (_G_LSEEK64): Likewise.
6904         (_G_MMAP64): Likewise.
6905         (_G_FSTAT64): Likewise.
6906         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6907         unconditional.  Call __mmap64 directly.
6908         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6909         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
6910         __lseek64 directly.
6911         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6912         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
6913         __mmap64 directly.
6914         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6915         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6916         __lseek64 directly.
6917         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6918         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6919         __lseek64 directly.
6920         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6921         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
6922         __lseek64 directly.
6923         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6924         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
6925         __fxstat64 directly.
6926         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6927         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6928         unconditional.
6929         (freopen64) [!_G_OPEN64]: Remove conditional code.
6930         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6931         unconditional.
6932         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6933         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6934         unconditional.
6935         (ftello64) [!_G_LSEEK64]: Remove conditional code.
6936         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6937         unconditional.
6938         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6939         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6940         unconditional.
6941         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6942         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6943         unconditional.
6944         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6945         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6946         unconditional.
6947         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6948         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6949         unconditional.
6950         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6952 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6954         [BZ #12140]
6955         * manual/memory.texi (Malloc Tunable Parameters): Add note
6956         about free list pointers overwriting some perturb bytes.
6957         Wording suggested by Roland McGrath.
6959 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
6961         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6962         (lgamma_test): Likewise.
6963         (tgamma_test): Likewise.
6965 2012-10-16  Florian Weimer  <fweimer@redhat.com>
6967         [BZ #14700]
6968         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6969         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6971 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
6973         * NEWS: Mention BZ #14716.
6974         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6975         when removing AVAILABLE1_USES_J macro.
6977 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6979         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6980         (__bswap_64): __uint64_t for unsigned 64-bit int.
6982 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
6984         * include/string.h (memmem): Declare libc hidden alias.
6985         * string/memmem.c (memmem): Define libc hidden alias.
6986         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6987         __read, __close instead of open, read, close.
6989 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
6991         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6992         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6993         global and hidden.
6994         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6995         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6996         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6997         Likewise.
6998         (__rawmemchr_sse2): Likewise.
6999         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7000         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7001         (__strchr_sse2): Likewise.
7002         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7003         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7004         (__strcasecmp_sse2): Likewise.
7005         (__strncasecmp_sse2): Likewise.
7006         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7007         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7008         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7009         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7010         (__strrchr_sse2): Likewise.
7011         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7012         ifunc-impl-list.c.
7013         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7014         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7015         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7016         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7017         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7018         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7019         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7020         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7021         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7022         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7023         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7024         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7025         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7026         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7027         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7028         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7029         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7030         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7031         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7032         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7033         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7034         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7035         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7036         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7037         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7038         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7039         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7040         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7041         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7042         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7044         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7045         global and hidden.
7046         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7047         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7048         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7049         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7050         Likewise.
7051         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7052         Likewise.
7053         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7054         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7055         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7056         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7057         ifunc-impl-list.c.
7058         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7059         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7060         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7061         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7062         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7063         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7064         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7065         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7066         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7067         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7068         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7069         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7070         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7071         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7072         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7073         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7074         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7075         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7076         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7077         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7078         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7079         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7080         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7081         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7082         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7083         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7084         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7085         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7086         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7087         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7088         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7089         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7090         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7091         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7092         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7093         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7094         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7095         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7096         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7097         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7098         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7100         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7101         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7102         * include/ifunc-impl-list.h: New file.
7103         * misc/ifunc-impl-list.c: Likewise.
7104         * misc/Makefile (routines): Add ifunc-impl-list.
7105         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7106         * string/test-string.h: Include <ifunc-impl-list.h>.
7107         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7108         impl_array): New variables.
7109         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7110         are defined.
7111         (test_init): Call __libc_ifunc_impl_list to initialize
7112         func_list if TEST_IFUNC and TEST_NAME are defined.
7114         * string/Makefile (strop-tests): Add bcopy and bzero.
7115         * string/test-bcopy.c: New file.
7116         * string/test-bzero.c: Likewise.
7117         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7118         defined.
7119         * string/test-memset.c: Support bzero test if TEST_BZERO is
7120         defined.
7121         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7122         __libc_memmove.
7123         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7124         __libc_memset.
7125         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7126         of memset.
7128 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7130         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7131         * configure: Regenerated.
7133         * Makeconfig (+link-static-before-libc): Don't include
7134         $(link-static-libc).
7136         * libio/libio.h (_IO_pos_t): Remove.
7138 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7140         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7141         McGrath.
7143 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7145         * crypt/crypt-entry.c: Include fips-private.h.
7146         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7147         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7148         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7149         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7151 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7153         * crypt/crypt-private.h: Include stdbool.h.
7154         (_ufc_setup_salt_r): Return bool.
7155         * crypt/crypt-entry.c: Include errno.h.
7156         (__crypt_r): Return NULL with EINVAL for bad salt.
7157         * crypt/crypt_util.c (bad_for_salt): New.
7158         (_ufc_setup_salt_r): Check that salt is long enough and within
7159         the specified alphabet.
7160         * crypt/badsalttest.c: New file.
7161         * crypt/Makefile (tests): Add it.
7162         ($(objpfx)badsalttest): New.
7164 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7166         * NEWS: Add entry for BZ #14602.
7168 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7170         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7171         type-generic.
7172         * math/libm-test.inc: Update comment listing what functions and
7173         macros are tested.
7174         (isgreater_test): New function.
7175         (isgreaterequal_test): Likewise.
7176         (isless_test): Likewise.
7177         (islessequal_test): Likewise.
7178         (islessgreater_test): Likewise.
7179         (isunordered_test): Likewise.
7180         (main): Call the new functions.
7182 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7184         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7185         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7186         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7187         * sysdeps/i386/configure: Regenerated.
7188         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7189         * sysdeps/mach/configure: Regenerated.
7190         * sysdeps/mach/hurd/configure: Regenerated.
7191         * sysdeps/powerpc/configure: Regenerated.
7192         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7193         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7194         * sysdeps/s390/s390-32/configure: Regenerated.
7195         * sysdeps/s390/s390-64/configure: Regenerated.
7196         * sysdeps/sh/configure: Regenerated.
7197         * sysdeps/sparc/configure: Regenerated.
7198         * sysdeps/unix/sysv/linux/configure: Regenerated.
7199         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7200         * sysdeps/x86_64/configure: Regenerated.
7202         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7203         defined.  Don't check if MAP is NULL.
7205 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7207         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7208         (_G_stat64): Likewise.
7209         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7210         (_G_stat64): Likewise.
7211         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7212         instead of struct _G_stat64.
7213         * libio/fileops.c (mmap_remap_check): Likewise.
7214         (decide_maybe_mmap): Likewise.
7215         (_IO_new_file_seekoff): Likewise.
7216         (_IO_file_stat): Likewise.
7217         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7218         _G_off64_t.
7219         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7220         instead of struct _G_stat64.
7221         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7223 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7225         [BZ #14602]
7226         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7227         Replace with ...
7228         (CHECK_EOL): New macro.
7229         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7230         CHECK_EOL.
7231         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7232         Replace with CHECK_EOL.
7233         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7234         Replace with CHECK_EOL.
7236 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7238         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7239         type-generic.
7240         * math/libm-test.inc: Update comment listing what functions and
7241         macros are tested.
7242         (finite_test): New function.
7243         (isinf_test): Likewise.
7244         (isnan_test): Likewise.
7245         (fpclassify_test): Test subnormal input.
7246         (isfinite_test): Likewise.
7247         (isnormal_test): Likewise.
7248         (main): Call the new functions.
7250 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7252         [BZ #14660]
7253         * Makerules (%.dynsym): Force C locale when running
7254         $(OBJDUMP) --dynamic-syms.
7256 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7258         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7259         <stdint.h>.
7261 2012-10-06  David S. Miller  <davem@davemloft.net>
7263         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7264         upper 32-bits of the length value in %o2 since we use branch-on-register
7265         tests which consider the entire 64-bit register.
7267 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7269         * string/test-strstr.c (check2): Add a test for page boundary.
7271 2012-10-05  David S. Miller  <davem@davemloft.net>
7273         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7274         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7275         file.
7276         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7277         sysdep_routines.
7278         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7279         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7280         and bzero when HWCAP_SPARC_CRYPTO is present.
7282 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7284         [BZ #14602]
7285         * string/test-strstr.c (check2): New function.
7286         (test_main): Call check2.
7288         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7289         and bug-strchr1.
7290         * string/bug-strcasestr1.c (do_test): Moved to ...
7291         * string/test-strcasestr.c (check1): Here.  New function.
7292         (do_one_test): Break out result checking code into ...
7293         (check_result): This.  New function.
7294         (do_one_test): Call check_result.
7295         (test_main): Call check1.
7296         * string/bug-strchr1.c (do_test): Moved to ...
7297         * string/test-strchr.c (check1): Here.  New function.
7298         (do_one_test): Break out result checking code into ...
7299         (check_result): This.  New function.
7300         (do_one_test): Call check_result.
7301         (test_main): Call check1.
7302         * string/bug-strstr1.c (main): Moved to ...
7303         * string/test-strstr.c (check1): Here.  New function.
7304         (do_one_test): Break out result checking code into ...
7305         (check_result): This.  New function.
7306         (do_one_test): Call check_result.
7307         (test_main): Call check1.
7308         * string/bug-strcasestr1.c: Removed.
7309         * string/bug-strchr1.c: Likewise.
7310         * string/bug-strstr1.c: Likewise.
7312         * elf/Makefile (dl-routines): Add hwcaps.
7313         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7314         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7315         (_dl_important_hwcaps): Moved to ...
7316         * elf/dl-hwcaps.c: Here.  New file.
7317         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7319         [BZ #14557]
7320         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7321         if IS_IN_rtld isn't defined.
7323         * elf/dl-support.c (_dl_sysinfo_map): New.
7324         Include "get-dynamic-info.h" and "setup-vdso.h".
7325         (_dl_non_dynamic_init): Call setup_vdso.
7326         * elf/dynamic-link.h: Don't include <assert.h>.
7327         (elf_get_dynamic_info): Moved to ...
7328         * elf/get-dynamic-info.h: Here.  New file.
7329         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7330         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7331         * elf/setup-vdso.h: Here.  New file.
7332         * elf/rtld.c: Include "setup-vdso.h".
7333         (dl_main): Call setup_vdso.
7335 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7337         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7338         creal in comment listing functions tested.  List finite, isinf,
7339         isnan, isless, islessequal, isgreater, isgreaterequal,
7340         islessgreater, isunordered, lgamma_r and pow10 as functions and
7341         macros not tested.  Mention which functions not tested are aliases
7342         for other functions.  Fix typo.  Note that signs of NaNs are not
7343         tested.
7345         * scripts/config.guess: Update from config.git.
7346         * scripts/config.sub: Likewise.
7348 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7350         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7351         * misc/madvise.c (madvise): Renamed to __madvise.
7352         Make madvise a weak alias.
7353         * include/sys/mman.h: Declare __madvise.
7354         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7355         * sysdeps/unix/syscalls.list
7356         (madvise): Make __madvise the strong name, and madvise a weak alias.
7357         * sysdeps/unix/sysv/linux/syscalls.list
7358         (madvise, mmap): Remove redundant entries.
7359         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7360         * malloc/malloc.c (mtrim): Likewise.
7361         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7363 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7365         * sysdeps/mach/hurd/dl-cache.c: File removed.
7366         * config.h.in (USE_LDCONFIG): New #undef.
7367         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7368         * configure: Regenerated.
7369         * elf/Makefile (dl-routines): Add dl-cache only under
7370         [$(use-ldconfig) = yes].
7371         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7372         cache on [USE_LDCONFIG].
7373         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7374         [USE_LDCONFIG].
7375         * elf/rtld.c (dl_main): Likewise.
7377 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7379         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7380         _SC_LEVEL4_CACHE_LINESIZE.
7382 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7384         * sysdeps/unix/bsd/confstr.h: File removed.
7386 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7388         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7389         sys/sdt-config.h.
7391 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7393         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7394         Make 'mapoff' field ElfW(Off) rather than off_t.
7396 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7398         * nscd/Makefile: Remove nscd-cflags and all its users.
7399         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7400         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7402         [BZ #10631]
7403         * malloc.c (malloc_printerr): Clarify error message.
7405 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7407         [BZ #14648]
7408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7409         Set bit_FMA_Usable if FMA is supported.
7410         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7411         macro.
7412         (bit_FMA4_Usable): Updated.
7413         (index_FMA_Usable): New macro.
7414         (CPUID_FMA): Likewise
7415         (HAS_FMA): Defined with bit_FMA_Usable.
7417 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7419         * bits/types.h (__swblk_t): Type removed.
7420         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7421         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7422         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7423         (__SWBLK_T_TYPE): Likewise.
7424         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7425         (__SWBLK_T_TYPE): Likewise.
7426         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7427         (__SWBLK_T_TYPE): Likewise.
7428         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7429         (__SWBLK_T_TYPE): Likewise.
7431 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7432             Honza Horak <hhorak@redhat.com>
7434         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7435         (xdr_mapname): Use YPMAXMAP as maxsize.
7436         (xdr_peername): Use YPMAXPEER as maxsize.
7437         (xdr_keydat): Use YPAXRECORD as maxsize.
7438         (xdr_valdat): Use YPMAXRECORD as maxsize.
7440 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7442         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7444         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7445         * csu/init-first.c: ... here.
7446         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7447         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7448         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7449         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7450         * sysdeps/i386/init-first.c: File removed.
7451         * sysdeps/sh/init-first.c: File removed.
7453 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7455         [BZ #14645]
7456         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7457         if x * y might underflow to zero and z is zero.
7458         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7459         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7460         * math/libm-test.inc (min_subnorm_value): New variable.
7461         (fma_test): Add more tests.
7462         (fma_test_towardzero): Likewise.
7463         (fma_test_downward): Likewise
7464         (fma_test_upward): Likewise.
7465         (initialize): Set min_subnorm_value.
7467 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7469         [BZ #14638]
7470         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7471         0 + 0.
7472         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7473         mode for addition resulting in exact zero.
7474         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7476         exact 0 + 0.
7477         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7479         * math/libm-test.inc (fma_test): Add more tests.
7480         (fma_test_towardzero): New function.
7481         (fma_test_downward): Likewise.
7482         (fma_test_upward): Likewise.
7483         (main): Call the new functions.
7485 2012-09-28  David S. Miller  <davem@davemloft.net>
7487         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7489 2012-09-28  Roland McGrath  <roland@hack.frob.com>
7491         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7492         instead of SIGALRM.
7494         * sysdeps/gnu/_G_config.h: Moved to ...
7495         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7496         * sysdeps/mach/hurd/_G_config.h: Moved to ...
7497         * sysdeps/generic/_G_config.h: ... here.
7499         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
7501         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7503         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7504         Conditionalize target on [libnss_test1.so-version].
7506         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7508         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7509         (elfobjdir): Move out of conditionals.
7511         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7512         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7513         (__nss_lookup_function): Conditionalize label remove_from_tree on
7514         [!DO_STATIC_NSS || SHARED], matching its only use.
7516 2012-09-28  David S. Miller  <davem@davemloft.net>
7518         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7519         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7520         file.
7521         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7522         sysdep_routines.
7523         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7524         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7525         when HWCAP_SPARC_CRYPTO is present.
7527 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7529         * io/tst-mknodat.c: Create a FIFO instead of a socket.
7531 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
7533         [BZ #6530]
7534         * stdio-common/vfprintf.c (process_string_arg): Revert
7535         2000-07-22 change.
7537 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
7539         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7540         for testcase.
7541         * stdio-common/tst-sprintf.c: Include <locale.h>
7542         (main): Test sprintf's handling of incomplete multibyte
7543         characters.
7545 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7547         * elf/dl-runtime.c (VERSYMIDX): Removed.
7548         * elf/dl-version.c (VERSYMIDX): Likewise.
7549         * elf/do-rel.h (VERSYMIDX): Likewise.
7550         (VALIDX): Likewise.
7551         * elf/dynamic-link.h (VERSYMIDX): Likewise.
7552         * elf/rtld.c (VALIDX): Likewise.
7553         (ADDRIDX): Likewise.
7554         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7555         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7556         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7557         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7558         (VALIDX): Likewise.
7559         (ADDRIDX): Likewise.
7561 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7563         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7565 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
7567         [BZ #11438]
7568         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7569         to global scope.
7570         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7571         addresses are in the same scope as 192.0.2/24.
7572         * posix/gai.conf: Document new scope table defaults.
7574 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7576         [BZ #5298]
7577         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7578         for ftell.  Compute offsets from write pointers instead.
7579         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7581 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7583         [BZ #14543]
7584         * libio/Makefile (tests): New test case tst-fseek.
7585         * libio/tst-fseek.c: New test case to verify that fseek/ftell
7586         combination works in wide mode.
7587         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7588         state when the external buffer state changes.
7590 2012-09-27  David S. Miller  <davem@davemloft.net>
7592         [BZ #14376]
7593         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7594         pass reloc->r_addend in as the 'high' argument to
7595         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7599 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7601         * rt/tst-aio2.c: Include <pthread.h>.
7602         * rt/tst-aio3.c: Likewise.
7604 2012-09-27  Steve Ellcey  <sellcey@mips.com>
7606         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7608 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7610         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7611         contents on [SHARED].
7613 2012-09-26  Marek Polacek  <polacek@redhat.com>
7615         [BZ #14530]
7616         [BZ #13741]
7617         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7618         for C++ and GCC <4.3 as well as for non GCC compilers.
7620 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7624 2012-09-25  Roland McGrath  <roland@hack.frob.com>
7626         * Makefile.in (all, install): Declare with .PHONY.
7627         Reported by Michael Hope <michael.hope@linaro.org>.
7629 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7631         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7632         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7633         system header.
7634         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7635         Likewise.
7636         (sydep_routines): Add the new and the internal functions.
7637         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7638         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7640         (GLIBC_2.17): Add the new function.
7641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7642         (GLIBC_2.17): Likewise.
7643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7644         (GLIBC_2.17): Likewise.
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7646         (GLIBC_2.17): Likewise.
7647         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7649 2012-09-25  Alan Modra  <amodra@gmail.com>
7651         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7652         Add release barrier before setting once_control to say
7653         initialisation is done.  Add hints on lwarx.  Use macro in
7654         place of isync.
7655         (clear_once_control): Add release barrier.
7657 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7659         [BZ #13629]
7660         * math/s_clog.c (__clog): Handle more values close to |z| = 1
7661         specially.
7662         * math/s_clog10.c (__clog10): Likewise.
7663         * math/s_clog10f.c (__clog10f): Likewise.
7664         * math/s_clog10l.c (__clog10l): Likewise.
7665         * math/s_clogf.c (__clogf): Likewise.
7666         * math/s_clogl.c (__clogl): Likewise.
7667         * math/Makefile (libm-calls): Add x2y2m1.
7668         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7669         (__x2y2m1): Likewise.
7670         (__x2y2m1l): Likewise.
7671         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7672         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7673         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7674         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7675         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7676         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7677         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7678         * sysdeps/i386/fpu/libm-test-ulps: Update.
7679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7681         [BZ #14621]
7682         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7683         int as type of variable DEPTH.
7684         (glob): Use size_t instead of int as type of variables NEWCOUNT
7685         and OLD_PATHC.
7687 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7689         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7690         Add s_sincosf-sse2.
7691         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7692         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7693         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7694         macros for using routine as __sincosf_ia32.
7695         Use macro for function declaration and weak_alias.
7696         * sysdeps/i386/fpu/libm-test-ulps: Update.
7698         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7701         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7702         subnormal argument.
7703         * math/s_cexpf.c (__cexpf): Likewise.
7704         * math/s_csinf.c (__csinf): Likewise.
7705         * math/s_csinhf.c (__csinhf): Likewise.
7706         * math/s_ctanf.c (__ctanf): Likewise.
7707         * math/s_ctanhf.c (__ctanhf): Likewise.
7708         * math/s_ccosh.c (__ccoshf): Likewise.
7709         * math/s_cexp.c (__cexpl): Likewise.
7710         * math/s_csin.c (__csin): Likewise.
7711         * math/s_csinh.c (__csinh): Likewise.
7712         * math/s_ctan.c (__ctan): Likewise.
7713         * math/s_ctanh.c (ctanh): Likewise.
7714         * math/s_ccoshl.c (__ccoshl): Likewise.
7715         * math/s_cexpl.c (__cexpl): Likewise.
7716         * math/s_csinl.c (__csinl): Likewise.
7717         * math/s_csinhl.c (__csinhl): Likewise.
7718         * math/s_ctanl.c (__ctanl): Likewise.
7719         * math/s_ctanhl.c (__ctanhl): Likewise.
7721 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7723         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7724         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7725         (_IO_off_t): Define to __off_t, not _G_off_t.
7726         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7727         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7728         (_IO_wint_t): Define to wint_t, not _G_wint_t.
7729         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7730         type of __dummy and __dummy2 fields.
7731         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7732         (_G_ssize_t): Likewise.
7733         (_G_off_t): Likewise.
7734         (_G_pid_t): Likewise.
7735         (_G_uid_t): Likewise.
7736         (_G_wchar_t): Likewise.
7737         (_G_wint_t): Likewise.
7738         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7739         (_G_ssize_t): Likewise.
7740         (_G_off_t): Likewise.
7741         (_G_pid_t): Likewise.
7742         (_G_uid_t): Likewise.
7743         (_G_wchar_t): Likewise.
7744         (_G_wint_t): Likewise.
7745         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7746         (_G_ssize_t): Likewise.
7747         (_G_off_t): Likewise.
7748         (_G_pid_t): Likewise.
7749         (_G_uid_t): Likewise.
7750         (_G_wchar_t): Likewise.
7751         (_G_wint_t): Likewise.
7753 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7755         * malloc/arena.c: Include malloc-sysdep.h.
7756         (shrink_heap): Use check_may_shrink_heap to decide if madvise
7757         is sufficient to shrink the heap or an unmap is needed.
7758         * sysdeps/generic/malloc-sysdep.h: New file.  Define
7759         new function check_may_shrink_heap.
7760         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
7761         new function check_may_shrink_heap.
7763 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7765         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7766         comments.
7768 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
7770         * catgets/test-gencat.sh: Add "set -e".
7771         * elf/tst-pathopt.sh: Likewise.
7772         * grp/tst_fgetgrent.sh: Likewise.
7773         * iconvdata/run-iconv-test.sh: Likewise.
7774         * intl/tst-gettext.sh: Likewise.
7775         * intl/tst-gettext2.sh: Likewise.
7776         * intl/tst-gettext4.sh: Likewise.
7777         * intl/tst-gettext6.sh: Likewise.
7778         * intl/tst-translit.sh: Likewise.
7779         * io/ftwtest-sh: Likewise.
7780         * libio/test-freopen.sh: Likewise.
7781         * malloc/tst-mtrace.sh: Likewise.
7782         * posix/globtest.sh: Likewise.
7783         * posix/tst-getconf.sh: Likewise.
7784         * posix/wordexp-tst.sh: Likewise.
7785         * stdio-common/tst-printf.sh: Likewise.
7786         * stdio-common/tst-unbputc.sh: Likewise.
7787         * stdlib/tst-fmtmsg.sh: Likewise.
7788         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7789         * catgets/Makefile: Do not specify -e option when running
7790         testsuite shell scripts.
7791         * elf/Makefile: Likewise.
7792         * grp/Makefile: Likewise.
7793         * iconvdata/Makefile: Likewise.
7794         * intl/Makefile: Likewise.
7795         * io/Makefile: Likewise.
7796         * libio/Makefile: Likewise.
7797         * malloc/Makefile: Likewise.
7798         * posix/Makefile: Likewise.
7799         * stdio-common/Makefile: Likewise.
7800         * stdlib/Makefile: Likewise.
7801         * sysdeps/x86_64/Makefile: Likewise.
7803         * io/ftwtest-sh: Add copyright header.
7804         * posix/globtest.sh: Likewise.
7805         * posix/tst-getconf.sh: Likewise.
7806         * posix/wordexp-tst.sh: Likewise.
7807         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7809 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
7811         [BZ #13679]
7812         * Makeconfig (+link): Defined as $(+link-static) if
7813         $(build-shared) isn't yes.
7814         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7815         isn't yes.
7816         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7818         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7820         [BZ #14562]
7821         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7822         new chunk size with MALLOC_ALIGN_MASK.
7824 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
7826         [BZ #5044]
7827         * stdio-common/printf_fphex.c: Include <stdbool.h> and
7828         <rounding-mode.h>.
7829         (__printf_fphex): Determine rounding using get_rounding_mode and
7830         round_away.
7831         * stdio-common/tst-printf-round.c (struct hex_test): New
7832         structure.
7833         (hex_tests): New variable.
7834         (test_hex_in_one_mode): New function.
7835         (do_test): Also run tests for hex float output.
7837 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
7839         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7840         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7841         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7842         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7843         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7844         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7845         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7846         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7848 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
7850         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7851         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7852         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7853         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7855 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
7857         [BZ #14579]
7858         * elf/rtld.c (dl_main): Limit the check for self loading to normal
7859         mode only.
7860         * elf/tst-rtld-load-self.sh: New test.
7861         * elf/Makefile: Run it.
7863 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
7865         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7866         (tst-writev-ENV): Remove.
7867         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7869 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
7871         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7873 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
7875         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7876         unconditional.
7877         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7878         Likewise.
7879         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7880         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7881         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7882         Likewise.
7884 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7886         [BZ #14587]
7887         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7888         * config.make.in (have-cpp-asm-debuginfo): Removed.
7889         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7890         * configure: Regenerated.
7892 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
7894         [BZ #5044]
7895         * stdio-common/printf_fp.c: Include <stdbool.h> and
7896         <rounding-mode.h>.
7897         (___printf_fp): Determine rounding using get_rounding_mode and
7898         round_away.
7899         * stdio-common/tst-printf-round.c: New file.
7900         * stdio-common/Makefile (tests): Add tst-printf-round.
7901         (link-libm): New variable.
7902         ($(objpfx)tst-printf-round): Depend in $(link-libm).
7904 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
7906         [BZ #14576]
7907         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7908         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7909         Likewise.
7910         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7911         Likewise.
7913 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
7915         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7916         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7917         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7918         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7920 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
7922         [BZ #14518]
7923         * include/rounding-mode.h: New file.
7924         * sysdeps/generic/get-rounding-mode.h: Likewise.
7925         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7926         * stdlib/strtod_l.c: Include <rounding-mode.h>.
7927         (MAX_VALUE): New macro.
7928         (MIN_VALUE): Likewise.
7929         (overflow_value): New function.
7930         (underflow_value): Likewise.
7931         (round_and_return): Use overflow_value and underflow_value to
7932         determine return values in overflow and underflow cases.  Use
7933         round_away to determine rounding depending on rounding mode.
7934         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7935         determine return values in overflow and underflow cases.
7936         * stdlib/tst-strtod-round.c: Include <fenv.h>.
7937         (struct test_results): New structure.
7938         (struct test): Use struct test_results to store expected results
7939         for all rounding modes.
7940         (TEST): Include expected results for all rounding modes.
7941         (test_in_one_mode): New function.
7942         (do_test): Use test_in_one_mode to compute and check results.
7943         Check results for all rounding modes.
7944         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7945         $(link-libm).
7947 2012-12-09  Allan McRae  <allan@archlinux.org>
7949         * sysdeps/i386/fpu/libm-test-ulps: Update
7951 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
7953         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7954         (_G_int32_t): Likewise.
7955         (_G_uint16_t): Likewise.
7956         (_G_uint32_t): Likewise.
7957         (_G_HAVE_BOOL): Likewise.
7958         (_G_HAVE_ATEXIT): Likewise.
7959         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7960         (_G_HAVE_IO_FILE_OPEN): Likewise.
7961         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7962         (_G_int32_t): Likewise.
7963         (_G_uint16_t): Likewise.
7964         (_G_uint32_t): Likewise.
7965         (_G_HAVE_BOOL): Likewise.
7966         (_G_HAVE_ATEXIT): Likewise.
7967         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7968         (_G_HAVE_IO_FILE_OPEN): Likewise.
7969         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7970         (_G_int32_t): Likewise.
7971         (_G_uint16_t): Likewise.
7972         (_G_uint32_t): Likewise.
7973         (_G_HAVE_BOOL): Likewise.
7974         (_G_HAVE_ATEXIT): Likewise.
7975         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7976         (_G_HAVE_IO_FILE_OPEN): Likewise.
7978 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
7980         * csu/libc-tls.c: Update copyright years.
7982 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
7984         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7985         [!_G_USING_THUNKS]: Remove conditional code.
7986         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7987         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7989         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7990         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7991         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7992         (_G_VTABLE_LABEL_PREFIX): Likewise.
7993         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7994         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7995         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7996         (_G_VTABLE_LABEL_PREFIX): Likewise.
7997         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7998         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7999         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8000         (_G_VTABLE_LABEL_PREFIX): Likewise.
8001         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8003 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8005         * libio/Makefile: Include ../Makeconfig before tests.
8006         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8007         only if $(build-shared) is yes.
8009         * iconv/gconv_db.c: Update copyright years.
8011 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8013         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8014         unwind info if defined PIC. Fix special cases description.
8015         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8017         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8018         DP_HI_MASK entry.
8019         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8021 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8023         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8025         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8026         is NULL.
8028         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8029         (LDLIBS-tst-chk4): This.
8030         (LDFLAGS-tst-chk5): Renamed to ...
8031         (LDLIBS-tst-chk5): This.
8032         (LDFLAGS-tst-chk6): Renamed to ...
8033         (LDLIBS-tst-chk6): This.
8034         (LDFLAGS-tst-lfschk4): Renamed to ...
8035         (LDLIBS-tst-lfschk4): This.
8036         (LDFLAGS-tst-lfschk5): Renamed to ...
8037         (LDLIBS-tst-lfschk5): This.
8038         (LDFLAGS-tst-lfschk6): Renamed to ...
8039         (LDLIBS-tst-lfschk6): This.
8041         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8042         on $(common-objpfx)soversions.mk.
8044 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8046         [BZ #10014]
8047         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8048         example host name.
8050 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8052         * malloc/arena.c (arena_get_retry): New function that gets
8053         another arena for the caller to try its request on.
8054         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8055         current arena cannot fulfill the request.
8056         (__libc_memalign): Likewise.
8057         (__libc_memalign): Likewise.
8058         (__libc_pvalloc): Likewise.
8059         (__libc_calloc): Likewise.
8061 2012-09-05  John Tobey  <john.tobey@gmail.com>
8063         [BZ #13542]
8064         * manual/arith.texi (Operations on Complex): Fix description
8065         of carg branch cut.
8067 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8069         [BZ #10014]
8070         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8071         host name.
8073         [BZ #10038]
8074         * manual/memory.texi (Memory): Make order of menu items match
8075         order of sections.
8077 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8079         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8080         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8081         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8083 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8085         * csu/libc-tls.c (static_dtv): Renamed to ...
8086         (_dl_static_dtv): This.  Make it global.
8087         (_dl_initial_dtv): Removed.
8088         (__libc_setup_tls): Updated.
8089         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8090         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8091         DL_INITIAL_DTV.
8093 2012-09-06  Petr Machata  <pmachata@redhat.com>
8095         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8096         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8097         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8098         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8100 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8102         [BZ #14545]
8103         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8104         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8105         freeing dtv[-1].
8107 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8109         [BZ #14544]
8110         * Makeconfig (link-static-before-libc): Replace $(+prector)
8111         with $(+prectorT).
8112         (link-static-after-libc): Replace $(+postctor) with
8113         $(+postctorT).
8114         (link-bounded): Replace $(+prector)/$(+postctor) with
8115         $(+prectorT)/$(+postctorT).
8116         (+prectorT): New macro.
8117         (+postctorT): Likewise.
8119 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8121         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8122         (round_str): Handle values above the maximum for IBM long double
8123         as inexact.
8124         * stdlib/tst-strtod-round.c (tests): Regenerated.
8126 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8128         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8129         assembler flag.
8130         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8131         zarch_nohighgprs around the zarch optimized routines.
8132         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8133         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8134         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8135         for zarch.
8137 2012-09-05  David S. Miller  <davem@davemloft.net>
8139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8141         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8142         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8143         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8144         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8145         entries.
8147 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8149         * malloc/arena.c: Fold copyright years.
8150         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8152 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8154         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8156 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8158         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8160 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8162         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8163         change internal state upon failure.
8165 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8167         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8168         * malloc/memusage.c (mmap): Likewise.
8169         (mmap64, mremap): Likewise.  Adjust name in comment.
8171 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8173         * libio/fileops.c: Fix typos in comments.
8174         * libio/oldfileops.c: Likewise.
8175         * libio/wfileops.c: Likewise.
8177 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8179         [BZ #1349]
8180         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8181         (tst-malloc-usable-ENV): Set environment for test case.
8182         * malloc/hooks.c (malloc_check_get_size): New function to get
8183         requested size.
8184         * malloc/malloc.c (musable): Use malloc_check_get_size.
8185         * malloc/tst-malloc-usable.c: New test case.
8187 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8189         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8191 2012-09-05  Allan McRae  <allan@archlinux.org>
8193         [BZ #13966]
8194         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8195         determine header location.
8196         * configure: Regenerated.
8198 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8200         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8201         float format.
8202         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8203         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8204         format.
8205         (test): Regenerate.
8207 2012-09-04  David S. Miller  <davem@davemloft.net>
8209         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8210         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8211         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8213 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8215         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8216         failures.
8218         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8220 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8222         [BZ #9914]
8223         * libio/iogetdelim.c: Include <limits.h>.
8224         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8225         + len + 1 would overflow.
8227 2012-09-03  Andreas Jaeger  <aj@suse.de>
8229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8230         * sysdeps/i386/fpu/libm-test-ulps: Update.
8232 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8234         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8235         Add s_sinf-sse2, s_conf-sse2.
8237         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8238         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8239         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8240         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8242         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8243         for using routine as __sinf_ia32.
8244         Use macro for function declaration and weak_alias.
8245         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8246         for using routine as __cosf_ia32.
8247         Use macro for function declaration and weak_alias.
8249         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8250         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8252         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8253         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8256         * math/libm-test.inc (cos_test): Add more test cases.
8257         (sin_test): Likewise.
8258         (sincos_test): Likewise.
8260 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8262         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8263         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8264         hidden.
8265         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8267 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8269         [BZ #14538]
8270         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8271         first element of the GOT.
8272         (elf_machine_load_address): Return the difference between
8273         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8275 2012-09-01  Allan McRae  <allan@archlinux.org>
8277         [BZ #13412]
8278         * configure.in (AWK): Require gawk version 3.0 or later.
8279         * configure: Regenerated.
8281 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8283         * sysdeps/unix/sysv/linux/kernel-features.h
8284         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8285         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8286         [__NR_clock_getres]: Make code unconditional.
8287         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8288         (clock_getcpuclockid): Remove code left unreachable by removal of
8289         conditionals.
8290         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8291         code unconditional.
8292         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8293         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8294         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8295         Make code unconditional.
8296         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8297         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8298         * sysdeps/unix/sysv/linux/clock_settime.c
8299         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8300         conditional code.
8301         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8302         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8304 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8306         [BZ #14476]
8307         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8308         scripts/test-installation.pl.
8310         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8311         and $ld_so_version if it is set.
8313 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8315         [BZ #14516]
8316         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8317         failure if reading from procfs failed.
8318         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8320 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8322         * sysdeps/unix/sysv/linux/kernel-features.h
8323         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8324         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8325         Remove conditional code.
8326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8327         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8328         Remove conditional code.
8329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8330         * sysdeps/unix/sysv/linux/i386/fxstat.c
8331         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8333         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8334         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8336         * sysdeps/unix/sysv/linux/i386/lxstat.c
8337         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8338         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8339         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8340         Remove conditional code.
8341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8342         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8343         Remove conditional code.
8344         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8345         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8346         <kernel-features.h>.
8347         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8348         Remove.
8349         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8350         Remove conditional code.
8351         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8352         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8353         Remove conditional.
8355 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8357         [BZ #5400]
8358         * NEWS: Add fixed bug number.
8360 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8362         [BZ #14519]
8363         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8364         underflowing exponent in case of negative sign.
8365         * stdlib/tst-strtod-round-data: Add more tests.
8366         * stdlib/tst-strtod-round.c (tests): Regenerated.
8368         [BZ #3479]
8369         * stdlib/strtod_l.c (NDIG): Remove.
8370         (HEXNDIG): Likewise.
8371         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8372         smallest representable value.
8373         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8374         lie within an exact representation of 1/2 ulp of the result.
8375         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8376         unconditionally.
8377         (TENS_P9_IDX): Define unconditionally.
8378         (TENS_P9_SIZE): Likewise.
8379         (TENS_P10_IDX): Likewise.
8380         (TENS_P10_SIZE): Likewise.
8381         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8382         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8383         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8384         entries for 10^2^13 and 10^2^14.
8385         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8386         (TENS_P13_IDX): Define.
8387         (TENS_P13_SIZE): Likewise.
8388         (TENS_P14_IDX): Likewise.
8389         (TENS_P14_SIZE): Likewise.
8390         (_fpioconst_pow10): Change array size to
8391         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8392         unconditional.
8393         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8394         1024]: Add entries for 10^2^13 and 10^2^14.
8395         [LAST_POW10 > _LAST_POW10]: Remove #error.
8396         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8397         (_fpioconst_pow10): Change array size to
8398         FPIOCONST_POW10_ARRAY_SIZE.
8399         * stdlib/gen-fpioconst.c: New file.
8400         * stdlib/gen-tst-strtod-round.c: Likewise.
8401         * stdlib/tst-strtod-round-data: Likewise.
8402         * stdlib/tst-strtod-round.c: Likewise.
8403         * stdlib/Makefile (tests): Add tst-strtod-round.
8405         [BZ #14459]
8406         * stdlib/strtod_l.c: Include <stdint.h>.
8407         (NDEBUG): Do not define.
8408         (round_and_return): Change EXPONENT parameter to type intmax_t.
8409         Rearrange calculations to avoid internal overflow possibilities.
8410         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8411         Rearrange calculations to avoid internal overflow possibilities.
8412         Assert that number fits inside MPNSIZE limbs.
8413         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8414         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8415         calculations and add assertions to avoid internal overflow
8416         possibilities.  Add casts to avoid signed/unsigned operations.
8417         * stdlib/tst-strtod-overflow.c: New file.
8418         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8420 2012-08-25  Marek Polacek  <polacek@redhat.com>
8422         * time/time.h: Fix some typos in comments.
8424 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8426         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8427         * posix/tst-rfc3484-2.c: Likewise.
8428         * posix/tst-rfc3484-3.c: Likewise.
8430 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8432         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8433         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8435 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8437         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8438         #include of fxstatat64.c.
8440 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8442         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8443         * shadow/getspent_r.c: Likewise.
8444         * shadow/getspnam.c: Likewise.
8445         * shadow/getspnam_r.c: Likewise.
8446         * gshadow/getsgent.c: Likewise.
8447         * gshadow/getsgent_r.c: Likewise.
8448         * gshadow/getsgnam.c: Likewise.
8449         * gshadow/getsgnam_r.c: Likewise.
8450         * inet/getnetbyad.c: Likewise.
8451         * inet/getnetbyad_r.c: Likewise.
8452         * inet/getnetbynm.c: Likewise.
8453         * inet/getnetbynm_r.c: Likewise.
8454         * inet/getnetent.c: Likewise.
8455         * inet/getnetent_r.c: Likewise.
8456         * inet/getproto.c: Likewise.
8457         * inet/getproto_r.c: Likewise.
8458         * inet/getprtent.c: Likewise.
8459         * inet/getprtent_r.c: Likewise.
8460         * inet/getprtname.c: Likewise.
8461         * inet/getprtname_r.c: Likewise.
8462         * inet/getrpcbyname.c: Likewise.
8463         * inet/getrpcbyname_r.c: Likewise.
8464         * inet/getrpcbynumber.c: Likewise.
8465         * inet/getrpcbynumber_r.c: Likewise.
8466         * inet/getrpcent.c: Likewise.
8467         * inet/getrpcent_r.c: Likewise.
8468         * inet/getaliasent.c: Likewise.
8469         * inet/getaliasent_r.c: Likewise.
8470         * inet/getaliasname.c: Likewise.
8471         * inet/getaliasname_r.c: Likewise.
8472         * nscd/getgrgid_r.c: Likewise.
8473         * nscd/getgrnam_r.c: Likewise.
8474         * nscd/gethstbyad_r.c: Likewise.
8475         * nscd/gethstbynm3_r.c: Likewise.
8476         * nscd/getpwnam_r.c: Likewise.
8477         * nscd/getpwuid_r.c: Likewise.
8478         * nscd/getsrvbynm_r.c: Likewise.
8479         * nscd/getsrvbypt_r.c: Likewise.
8480         * nscd/gai.c: Likewise.
8482         * configure.in (build_nscd): New substituted variable, set
8483         by --disable-build-nscd and defaults to $use_nscd.
8484         * configure: Regenerated.
8485         * config.make.in (build-nscd): New substituted variable.
8486         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8487         Change conditional to require [$(build-nscd) = yes] as well.
8488         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8490         [BZ# 13696]
8491         * configure.in (use_nscd): New substituted variable, set by
8492         --disable-nscd.  If enabled, define USE_NSCD.
8493         * configure: Regenerated.
8494         * config.h.in: Add USE_NSCD.
8495         * config.make.in (use-nscd): New substituted variable.
8496         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8497         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8498         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8499         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8500         (CFLAGS-getgrnam_r.c): Likewise.
8501         (CFLAGS-initgroups.c): Likewise.
8502         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8503         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8504         Variables removed.
8505         * inet/getnetgrent_r.c
8506         (nscd_setnetgrent): New function, broken out of ...
8507         (setnetgrent): ... here.  Call it.
8508         (innetgr): Conditionalize nscd bits on [USE_NSCD].
8509         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8510         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8511         * nscd/Makefile (routines, aux): Move definitions after include of
8512         Makeconfig.  Conditionalize on [$(use-nscd) != no].
8513         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8514         Conditionalize on [USE_NSCD].
8515         (is_nscd, nscd_init_cb): Likewise.
8516         (nss_load_library): Conditionalize init callback on [USE_NSCD].
8517         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8518         * nss/nss_db/db-init.c: Likewise.
8519         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8520         [USE_NSCD].
8521         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8522         (make_request): Use it.
8523         (cache_valid_p): New function.
8524         (__check_pf): Use it.
8525         * NEWS: Add item for --disable-nscd.
8527 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
8529         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8530         to support sed >= 4.2.1-20-ga9bf076.
8531         * configure: Regenerated.
8533 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8535         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8536         Conditionalize whole body on [IREL].
8538 2012-08-22  Jeff Law <law@redhat.com>
8540         [BZ #14505]
8541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8542         if the family is PF_UNSPEC.
8544 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
8546         * Makerules (lib-version): Rename from V.
8547         (install-lib-nosubdir): Change V to lib-version.
8549 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
8551         [BZ #14252]
8552         * powerpc32/power6/wcschr.c: New file.
8553         * powerpc32/power6/wcscpy.c: New file.
8554         * powerpc32/power6/wcsrchr.c: New file.
8555         * powerpc64/power6/wcschr.c: New file.
8556         * powerpc64/power6/wcscpy.c: New file.
8557         * powerpc64/power6/wcsrchr.c: New file.
8559 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8561         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8562         (two_way_short_needle): Use it.
8563         * string/strstr.c (AVAILABLE1_USES_J): Define.
8564         * string/strcasestr.c: Likewise.
8566         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8567         array references.
8568         * string/strcasestr.c (TOLOWER): Make side-effect safe.
8570         [BZ #11607]
8571         * NEWS: Add an entry.
8572         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8573         define their defaults.
8574         (two_way_short_needle): Detect end-of-string on-the-fly.
8575         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8576         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8577         * string/bug-strcasestr1.c: New test.
8578         * string/Makefile: Run it.
8580 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8582         [BZ #11607]
8583         * string/str-two-way.h (two_way_short_needle): Optimize matching of
8584         the first character.
8586 2012-08-21  Roland McGrath  <roland@hack.frob.com>
8588         * csu/elf-init.c (__libc_csu_irel): Function removed.
8589         * csu/libc-start.c (apply_irel): New function.
8590         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8592 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
8594         * sysdeps/unix/sysv/linux/kernel-features.h
8595         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8596         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8597         <kernel-features.h>.
8598         [__NR_fadvise64_64]: Make code unconditional.
8599         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8600         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8601         !__NR_fadvise64_64)]: Likewise.
8602         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8603         !__NR_fadvise64_64))]: Likewise.
8604         [__NR_fadvise64]: Make code unconditional.
8605         [!__NR_fadvise64]: Remove conditional code.
8606         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8607         <kernel-features.h>.
8608         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8609         unconditional.
8610         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8611         conditional code.
8612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8613         not include <kernel-features.h>.
8614         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8615         unconditional.
8616         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8617         conditional code.
8618         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8619         include <kernel-features.h>.
8620         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8621         unconditional.
8622         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8623         conditional code.
8625 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8627         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8628         slight instruction rearrangements per scrollpipe analysis.
8629         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8631 2012-08-20  Roland McGrath  <roland@hack.frob.com>
8633         * manual/syslog.texi (syslog; vsyslog, closelog):
8634         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8635         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8637         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8638         DSOCAPS to match condition on defining it.
8640 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
8642         * sysdeps/unix/sysv/linux/kernel-features.h
8643         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8645         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8646         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8648         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8649         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8651         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8652         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8654         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8655         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8657         * sysdeps/unix/sysv/linux/kernel-features.h
8658         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8659         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8660         unconditional.
8661         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8662         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8663         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8664         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8665         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8666         Make code unconditional.
8667         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8668         (__mmap64) [!__NR_mmap2]: Likewise.
8669         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8670         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8671         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8672         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8673         [__NR_mmap2]: Make code unconditional.
8674         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8675         (__mmap64) [!__NR_mmap2]: Likewise.
8677 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8679         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8681 2012-08-18  Andreas Jaeger  <aj@suse.de>
8683         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8685 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8687         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8688         * include/unistd.h (__have_sock_cloexec): Likewise.
8689         (__have_pipe2): Likewise.
8690         (__have_dup3): Likewise.
8692 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8694         [BZ #9685]
8695         * include/unistd.h (__have_pipe2): Change define into an extern int.
8696         (__have_dup3): Likewise.
8697         * socket/have_sock_cloexec.c: Include fcntl.h.
8698         (__have_pipe2): New variable.
8699         (__have_dup3): Likewise.
8701 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
8703         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8705 2012-08-17  Marek Polacek  <polacek@redhat.com>
8707         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8708         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8710 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8712         * configure.in: Add AC_SUBST for sysheaders.
8713         * configure: Regenerated.
8714         * config.make.in (sysheaders): New substituted variable.
8716         * sysdeps/unix/mkfifo.c: Moved ...
8717         * sysdeps/posix/mkfifo.c: ... here.
8718         * sysdeps/unix/mkfifoat.c: Moved ...
8719         * sysdeps/posix/mkfifoat.c: ... here.
8721         * sysdeps/unix/utime.c: Moved ...
8722         * sysdeps/posix/utime.c: ... here.
8724         * sysdeps/unix/time.c: Moved ...
8725         * sysdeps/posix/time.c: ... here.
8726         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8727         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8729         * sysdeps/unix/nice.c: Moved ...
8730         * sysdeps/posix/nice.c: ... here.
8732         * sysdeps/unix/alarm.c: Moved ...
8733         * sysdeps/posix/alarm.c: ... here.
8735         * intl/Makefile ($(codeset_mo)): Depend on the input file.
8737 2012-08-17  Jeff Law <law@redhat.com>
8739         * intl/Makefile (codeset_mo): New variable.
8740         ($(codeset_mo)): New target.
8741         (tst-codeset.out): Depend on that.  Remove explicit rule.
8742         (tst-gettext3.out, tst-gettext5.out): Likewise.
8743         (LOCPATH-ENV, tst-codeset-ENV): New variables.
8744         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8745         * intl/tst-codeset.sh: Remove.
8746         * intl/tst-gettext3.sh: Likewise.
8747         * intl/tst-gettext5.sh: Likewise.
8749 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8751         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
8752         * sysdeps/unix/syscalls.list: ... here.
8754         * sysdeps/posix/getaddrinfo.c
8755         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8756         (gaiconf_init, gaiconf_reload): Use them.
8757         [!_STATBUF_ST_NSEC]
8758         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8759         Define using time_t rather than struct timespec.
8761         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8762         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8763         Macros removed.
8764         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8765         [!NO_THREADS].
8766         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8767         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8768         Likewise.
8770         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8771         __libc_cleanup_push argument.
8773         * bits/param.h: New file.
8774         * misc/sys/param.h: New file.
8775         * include/sys/param.h: New file.
8776         * misc/Makefile (headers): Add bits/param.h.
8777         * sysdeps/generic/sys/param.h: File removed.
8778         * sysdeps/unix/sysv/linux/bits/param.h: New file.
8779         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8780         * sysdeps/mach/hurd/bits/param.h: New file.
8781         * sysdeps/mach/hurd/sys/param.h: File removed.
8783         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8784         last change.
8786         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8787         [_IO_MTSAFE_IO].
8788         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8789         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8790         New macros.
8792         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8793         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8794         rather than -D_IO_MTSAFE_IO conditionally.
8795         * stdio-common/Makefile (CPPFLAGS): Likewise.
8796         * wcsmbs/Makefile (CPPFLAGS): Likewise.
8797         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8798         Use $(libio-mtsafe).
8799         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8800         of -D_IO_MTSAFE_IO.
8801         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8802         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8803         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8804         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8805         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8806         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8807         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8808         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8809         (CFLAGS-fread_u_chk.c): Likewise.
8810         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8811         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8812         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8813         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8814         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8815         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8816         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8817         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8818         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8820         * libio/Makefile: Test [$(libc-reentrant) = yes]
8821         instead of [$(filter %REENTRANT, $(defines)) nonempty].
8823         * Makeconfig
8824         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8825         * sysdeps/pthread/configure: File removed.
8826         * sysdeps/pthread/Makeconfig: New file.
8827         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8828         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8830 2012-08-16  Gary Benson  <gbenson@redhat.com>
8832         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8833         unmapping the first object in a namespace.
8835 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8837         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8838         (__internal_setnetgrent): ... this.  Add internal_function to
8839         definition.  Add libc_hidden_def.
8840         (setnetgrent): Update caller.
8841         (internal_endnetgrent): Renamed to ...
8842         (__internal_endnetgrent): ... this.  Add internal_function to
8843         definition.  Add libc_hidden_def.
8844         (endnetgrent): Update caller.
8845         (internal_getnetgrent_r): Renamed to ...
8846         (__internal_getnetgrent_r): ... this.  Add internal_function to
8847         definition.  Add libc_hidden_def.
8848         (__getnetgrent_r): Update caller.
8849         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
8851 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8853         * stdlib/longlong.h: Update from GCC.
8855 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8857         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8858         on _QL, which is set by umul_ppmm but never used.
8859         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8860         variables, which are set by GMP macros but never used.
8861         * stdio-common/_itowa.c (_itowa): Likewise.
8862         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8863         * stdlib/mod_1.c (mpn_mod_1): Likewise.
8865 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
8867         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8868         struct La_sh_regs is not constant.
8869         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8870         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8871         and struct La_sparc64_regs are not constant.
8873 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8875         * sysdeps/unix/sysv/linux/kernel-features.h
8876         (__ASSUME_POSIX_TIMERS): Remove.
8877         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8878         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8879         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8880         Make code unconditional.
8881         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8882         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8883         Make code unconditional.
8884         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8885         * sysdeps/unix/sysv/linux/clock_nanosleep.c
8886         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8887         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8888         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8889         Make code unconditional.
8890         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8891         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8892         (__libc_missing_posix_timers): Remove.
8894 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8896         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8897         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8899         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8901         * elf/dl-sym.c: Include <stdlib.h>.
8903         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8904         constants, which avoids warnings in 32-bit builds.
8906         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8907         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8909         * misc/lseek.c: File moved to ...
8910         * io/lseek.c: ... here.
8912         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8914         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8915         shifting LEN more than 31 bits at once.
8917 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8919         [BZ #14195]
8920         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8921         segmentation fault for a case of two empty input strings.
8922         * string/test-strncasecmp.c (check1): Renamed to...
8923         (bz12205): ...this.
8924         (bz14195): Add new testcase for two empty input strings and N > 0.
8925         (test_main): Call new testcase, adapt for renamed function.
8927 2012-08-15  Andreas Jaeger  <aj@suse.de>
8929         [BZ #14090]
8930         * crypt/md5test2.c: New test, based on test supplied by Serge
8931         Belyshev <belyshev@depni.sinp.msu.ru>.
8932         * crypt/Makefile (xtests): Add md5test-giant..
8933         * crypt/Makefile ($(objpfx)md5test-giant): Add.
8935 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
8937         [BZ #14090]
8938         * crypt/md5.c (md5_process_block): Don't assume the buffer
8939         length is less than 2**32.
8940         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8941         length is less than 2**64.
8943 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8945         * string/str-two-way.h: Include <sys/param.h>.
8946         (MAX): Macro removed.
8948         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8949         Move #define and #undef of memmove to just before and after
8950         including <string.h>.
8952         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8953         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8954         and after including <string.h>.  Move declarations of
8955         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8956         to before #include "string/memmove.c".
8958         * include/dirent.h: Declare __getdirentries.
8960         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8961         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8963 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
8965         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8966         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8967         * sysdeps/i386/configure: Regenerated.
8968         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8969         STABS_CURRENT_FILE, and STABS_FUN.
8970         (END): Remove call to STABS_FUN_END.
8971         (STABS_CURRENT_FILE1): Delete.
8972         (STABS_CURRENT_FILE): Likewise.
8973         (STABS_FUN): Likewise.
8974         (STABS_FUN_END): Likewise.
8975         (STABS_FUN2): Likewise.
8976         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8977         * sysdeps/x86_64/configure: Regenerated.
8979 2012-08-14  Roland McGrath  <roland@hack.frob.com>
8981         * elf/dl-open.c: Include <atomic.h>.
8982         * elf/dl-lookup.c: Likewise.
8984 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
8986         * sysdeps/unix/sysv/linux/kernel-features.h
8987         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8988         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8989         unconditionally.
8990         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8991         unconditionally.
8992         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8993         condition on __ASSUME_CLONE_THREAD_FLAGS.
8995 2012-08-14  Andreas Jaeger  <aj@suse.de>
8997         * sysdeps/i386/fpu/libm-test-ulps: Update.
8999 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9001         * include/atomic.h (atomic_exchange_and_add): Split into ...
9002         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9003         New atomic macros.
9005 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9009 2012-08-13  Jeff Law <law@redhat.com>
9011         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9012         null byte in the output string.
9014 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9016         * sysdeps/unix/sysv/linux/kernel-features.h
9017         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9018         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9019         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9020         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9021         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9022         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9023         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9025 2012-08-09  Jeff Law <law@redhat.com>
9027         [BZ #13939]
9028         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9029         When avoid_arena is set, don't retry in the that arena.  Pick the
9030         next one, whatever it might be.
9031         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9032         (arena_lock): Pass in new parameter to arena_get2.
9033         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9034         arena_get2.
9035         (__libc_malloc): Unify retrying after main arena failure with
9036         __libc_memalign version.
9037         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9039 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9041         [BZ #14166]
9042         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9043         to __redirect_strstr.
9044         (__strstr_sse42): Use typeof __redirect_strstr.
9045         (__strstr_ia32): Likewise.
9046         (__libc_strstr): New prototype.
9047         (strstr): Renamed to ...
9048         (__libc_strstr): This.
9049         (strstr): New strong alias of __libc_strstr.
9050         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9051         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9052         __redirect_time.
9053         Include <time.h>.
9054         (__libc_time): New prototype.
9055         (time_ifunc): Replace time with __libc_time.
9056         (time): New strong alias and hidden definition of __libc_time.
9057         (__GI_time): Remove strong alias.
9058         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9059         Include <stddef.h>.
9060         (memmove): Redefined to __redirect_memmove.
9061         (__memmove_sse2): Use typeof __redirect_memmove.
9062         (__memmove_ssse3): Likewise.
9063         (__memmove_ssse3_back): Likewise.
9064         (__libc_memmove): New prototype.
9065         (memmove): Renamed to ...
9066         (__libc_memmove): This.
9067         (memmove): New strong alias of __libc_memmove.
9069 2012-08-08  Mark Salter  <msalter@redhat.com>
9071         * elf/elf.h
9072         (R_MN10300_TLS_GD): Define.
9073         (R_MN10300_TLS_LD): Likewise.
9074         (R_MN10300_TLS_LDO): Likewise.
9075         (R_MN10300_TLS_GOTIE): Likewise.
9076         (R_MN10300_TLS_IE): Likewise.
9077         (R_MN10300_TLS_LE): Likewise.
9078         (R_MN10300_TLS_DTPMOD): Likewise.
9079         (R_MN10300_TLS_DTPOFF): Likewise.
9080         (R_MN10300_TLS_TPOFF): Likewise.
9081         (R_MN10300_SYM_DIFF): Likewise.
9082         (R_MN10300_ALIGN): Likewise.
9083         (R_MN10300_NUM): Update.
9085 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9087         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9088         Remove.
9090 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9092         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9094         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9095         sysdeps/unix -> sysdeps/posix move.
9096         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9098 2012-08-07      Allan McRae     <allan@archlinux.org>
9100         [BZ #14303]
9101         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9102         (SUNOS_CPP): Likewise.
9103         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9104         not found.
9105         (open_input): Call CPP using execvp.
9107 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9109         * sysdeps/unix/sysv/linux/kernel-features.h
9110         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9111         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9112         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9113         (__ASSUME_WAITID_SYSCALL): Likewise.
9114         * sysdeps/unix/sysv/linux/dl-execstack.c
9115         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9116         code unconditional.
9117         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9118         conditional code.
9119         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9120         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9121         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9122         code.
9123         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9124         unconditional.
9125         [__ASSUME_WAITID_SYSCALL]: Likewise.
9126         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9128 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9130         * sysdeps/unix/closedir.c: Renamed to ...
9131         * sysdeps/posix/closedir.c: ... here.
9132         * sysdeps/unix/dirfd.c: Renamed to ...
9133         * sysdeps/posix/dirfd.c: ... here.
9134         * sysdeps/unix/dirstream.h: Renamed to ...
9135         * sysdeps/posix/dirstream.h: ... here.
9136         * sysdeps/unix/fdopendir.c: Renamed to ...
9137         * sysdeps/posix/fdopendir.c: ... here.
9138         * sysdeps/unix/opendir.c: Renamed to ...
9139         * sysdeps/posix/opendir.c: ... here.
9140         * sysdeps/unix/readdir.c: Renamed to ...
9141         * sysdeps/posix/readdir.c: ... here.
9142         * sysdeps/unix/readdir_r.c: Renamed to ...
9143         * sysdeps/posix/readdir_r.c: ... here.
9144         * sysdeps/unix/rewinddir.c: Renamed to ...
9145         * sysdeps/posix/rewinddir.c: ... here.
9146         * sysdeps/unix/seekdir.c: Renamed to ...
9147         * sysdeps/posix/seekdir.c: ... here.
9148         * sysdeps/unix/telldir.c: Renamed to ...
9149         * sysdeps/posix/telldir.c: ... here.
9150         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9151         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9152         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9153         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9155         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9156         * bits/fcntl.h: ... here.
9158         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9159         not 0.
9160         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9161         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9162         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9163         (struct flock): Move l_start, l_len to the beginning.
9164         Use __pid_t for l_pid.
9165         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9166         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9167         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9168         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9169         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9170         [__USE_LARGEFILE64] (struct flock64): New type.
9171         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9173         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9174         * bits/dirent.h: ... here.
9176         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9177         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9179 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9181         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9182         Change from 2.6.0 to 2.6.16.
9183         * sysdeps/unix/sysv/linux/configure: Regenerated.
9184         * sysdeps/unix/sysv/linux/kernel-features.h
9185         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9186         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9187         version.
9188         (__ASSUME_UTIMES): Likewise.
9189         (__ASSUME_CLONE_STOPPED): Remove.
9190         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9191         architectures, not kernel version.
9192         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9193         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9194         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9195         (__ASSUME_WAITID_SYSCALL): Likewise.
9196         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9197         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9198         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9199         refer to older versions.
9201 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9203         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9204         Define alphasort64 as an alias.
9205         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9206         Define versionsort64 as an alias.
9207         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9208         Define scandir64 as an alias.
9209         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9210         Define scandirat64 as an alias.
9211         * dirent/alphasort64.c (alphasort64):
9212         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9213         * dirent/versionsort64.c: Likewise.
9214         * dirent/scandir64.c: Likewise.
9215         * dirent/scandirat64.c: Likewise.
9216         * sysdeps/wordsize-64/alphasort.c: File removed.
9217         * sysdeps/wordsize-64/alphasort64.c: File removed.
9218         * sysdeps/wordsize-64/scandir.c: File removed.
9219         * sysdeps/wordsize-64/scandir64.c: File removed.
9220         * sysdeps/wordsize-64/scandirat.c: File removed.
9221         * sysdeps/wordsize-64/scandirat64.c: File removed.
9222         * sysdeps/wordsize-64/versionsort.c: File removed.
9223         * sysdeps/wordsize-64/versionsort64.c: File removed.
9224         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9225         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9226         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9227         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9228         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9229         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9230         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9231         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9233         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9234         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9235         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9236         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9237         [defined __arch64__ || defined __sparcv9]
9238         (__INO_T_MATCHES_INO64_T): New macro.
9239         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9240         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9241         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9242         * sysdeps/unix/sysv/linux/bits/dirent.h
9243         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9244         (_DIRENT_MATCHES_DIRENT64): New macro.
9246         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9247         Define lockf64 as an alias.
9248         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9249         Define fseeko64 as an alias.
9250         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9251         Define ftello64 as an alias.
9252         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9253         Define _IO_fgetpos64 and fgetpos64 as aliases.
9254         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9255         Define _IO_fsetpos64 and fsetpos64 as aliases.
9256         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9257         Conditionalize body on this.
9258         * libio/fseeko64.c: Likewise.
9259         * libio/ftello64.c: Likewise.
9260         * libio/iofgetpos64.c: Likewise.
9261         * libio/iofsetpos64.c: Likewise.
9262         * sysdeps/wordsize-64/lockf.c: File removed.
9263         * sysdeps/wordsize-64/lockf64.c: File removed.
9264         * sysdeps/wordsize-64/fseeko.c: File removed.
9265         * sysdeps/wordsize-64/fseeko64.c: File removed.
9266         * sysdeps/wordsize-64/ftello.c: File removed.
9267         * sysdeps/wordsize-64/ftello64.c: File removed.
9268         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9269         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9270         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9271         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9272         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9273         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9274         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9275         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9276         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9277         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9278         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9279         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9280         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9281         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9283         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9284         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9285         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9287         [defined __arch64__ || defined __sparcv9]
9288         (__OFF_T_MATCHES_OFF64_T): New macro.
9289         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9290         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9291         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9292         (__OFF_T_MATCHES_OFF64_T): New macro.
9294 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9296         * stdlib/secure-getenv.c (__secure_getenv): Replace
9297         GLIBC_2_16 with GLIBC_2_17.
9299 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9301         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9302         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9304 2012-08-03  David S. Miller  <davem@davemloft.net>
9306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9308 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9310         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9311         Remove.
9312         (__ASSUME_CORRECT_SI_PID): Likewise.
9313         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9314         (__ASSUME_TMPFS_NAME): Likewise.
9315         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9316         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9317         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9318         (HAVE_AUX_SECURE): Make definition unconditional.
9319         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9320         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9322 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9324         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9325         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9326         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9327         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9328         __eloop_threshold instead of SYMLOOP_MAX.
9330         * sysdeps/generic/eloop-threshold.h: New file.
9331         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9332         of MAXSYMLINKS.
9333         * elf/chroot_canon.c (chroot_canon): Likewise.
9335 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9337         [BZ #13717]
9338         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9339         Change to 2.6.0 everywhere.
9340         * sysdeps/unix/sysv/linux/configure: Regenerated.
9341         * sysdeps/unix/sysv/linux/kernel-features.h
9342         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9343         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9344         kernel versions.
9345         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9346         (__ASSUME_FUTEX_REQUEUE): Remove.
9347         (__ASSUME_STATFS64): Define unconditionally.
9348         (__ASSUME_AT_SECURE): Likewise.
9349         (__ASSUME_CORRECT_SI_PID): Likewise.
9350         (__ASSUME_TGKILL): Define without depending on kernel version for
9351         i386.
9352         (__ASSUME_UTIMES): Likewise.
9353         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9354         kernel version.
9355         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9356         (__ASSUME_TMPFS_NAME): Likewise.
9357         * README: Update reference to Linux kernel versions.
9359 2012-08-02  Marek Polacek  <polacek@redhat.com>
9361         [BZ# 14150]
9362         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9363         libc_cv_asm_type_prefix with %.
9364         * configure: Regenerated.
9365         * include/libc-symbols.h: Remove comment about
9366         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9367         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9368         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9369         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9370         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9371         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9372         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9373         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9374         * elf/tst-unique2mod1.c: Likewise.
9375         * elf/tst-unique1mod2.c: Likewise.
9376         * elf/tst-unique1mod1.c: Likewise.
9377         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9378         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9379         Replace ASM_TYPE_DIRECTIVE with .type.
9380         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9381         * sysdeps/i386/sysdep.h: Likewise.
9382         * sysdeps/x86_64/sysdep.h: Likewise.
9383         * sysdeps/sh/sysdep.h: Likewise.
9384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9385         Do not define ASM_TYPE_DIRECTIVE.
9386         * sysdeps/powerpc/sysdep.h: Likewise.
9387         * sysdeps/powerpc/powerpc32/sysdep.h:
9388         Replace ASM_TYPE_DIRECTIVE with .type.
9389         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9390         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9391         * sysdeps/i386/fpu/e_powf.S: Likewise.
9392         * sysdeps/i386/fpu/e_expl.S: Likewise.
9393         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9394         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9395         * sysdeps/i386/fpu/e_pow.S: Likewise.
9396         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9397         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9398         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9399         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9400         * sysdeps/i386/fpu/e_log2.S: Likewise.
9401         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9402         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9403         * sysdeps/i386/fpu/e_powl.S: Likewise.
9404         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9405         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9406         * sysdeps/i386/fpu/e_logl.S: Likewise.
9407         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9408         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9409         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9410         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9411         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9412         * sysdeps/i386/fpu/e_log.S: Likewise.
9413         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9414         * sysdeps/i386/fpu/e_logf.S: Likewise.
9415         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9416         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9417         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9418         * sysdeps/i386/fpu/e_log10.S: Likewise.
9419         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9420         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9421         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9422         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9423         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9424         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9425         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9426         * sysdeps/i386/i686/strtok.S: Likewise.
9427         * sysdeps/i386/i386-mcount.S: Likewise.
9428         * sysdeps/i386/strtok.S: Likewise.
9429         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9430         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9431         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9432         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9433         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9434         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9435         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9436         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9437         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9438         * sysdeps/x86_64/_mcount.S: Likewise.
9439         * sysdeps/x86_64/strtok.S: Likewise.
9440         * sysdeps/sh/_mcount.S: Likewise.
9442 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9444         * libio/iofopen.c: Include <fcntl.h>.
9445         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9446         (_IO_fopen64, fopen64): Define as aliases.
9447         * libio/iofopen64.c: Include <fcntl.h>.
9448         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9449         Conditionalize body on this.
9450         * sysdeps/wordsize-64/iofopen.c: File removed.
9451         * sysdeps/wordsize-64/iofopen64.c: File removed.
9453 2012-08-01  Marek Polacek  <polacek@redhat.com>
9455         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9456         Use dlfcn directly instead of a variable.
9457         (binfmt-subdir): Do not define.
9458         (dlfcn): Likewise.
9460 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9462         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9463         Remove all definitions.
9464         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9465         <kernel-features.h>.
9466         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9467         (miss_F_GETOWN_EX): Remove all definitions.
9468         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9469         macro definition.
9470         [!__ASSUME_FCNTL64]: Remove conditional code.
9471         [__ASSUME_FCNTL64]: Make code unconditional.
9472         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9473         <kernel-features.h>.
9474         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9475         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9476         (lockf64) [__NR_fcntl64]: Make code unconditional.
9477         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9479         * sysdeps/unix/sysv/linux/kernel-features.h
9480         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9481         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9482         Make code unconditional.
9483         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9484         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9486         [__NR_vfork]: Make code unconditional.
9487         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9488         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9490         [__NR_vfork]: Make code unconditional.
9491         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9492         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9494 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9496         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9497         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9499         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9500         Define mkstemp64 as an alias.
9501         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9502         Define mkstemps64 as an alias.
9503         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9504         Define mkostemp64 as an alias.
9505         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9506         Define mkostemps64 as an alias.
9507         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9508         Conditionalize body on this.
9509         * misc/mkostemp64.c: Likewise.
9510         * misc/mkostemps64.c: Likewise.
9511         * misc/mkstemps64.c: Likewise.
9512         * sysdeps/wordsize-64/mkstemp64.c: File removed.
9513         * sysdeps/wordsize-64/mkostemp64.c: File removed.
9514         * sysdeps/wordsize-64/mkostemp.c: File removed.
9515         * sysdeps/wordsize-64/mkstemp.c: File removed.
9516         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9517         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9518         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9519         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9521         [BZ #14138]
9522         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9523         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9524         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9525         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9527         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9528         compat_symbol macros from <shlib-compat.h> rather than the underlying
9529         default_symbol_version and symbol_version macros, so that DEFAULT
9530         lines in shlib-versions are respected.
9531         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9533 2012-08-01  Florian Weimer  <fweimer@redhat.com>
9535         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9536         Declare with warn_unused_result.
9537         (setgid, setregid, setegid, setresgid): Likewise.
9538         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9539         Likewise.
9540         * WUR-REPORT: Remove set*id functions.
9542 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
9544         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9546 2012-07-31  Roland McGrath  <roland@hack.frob.com>
9548         * include/sys/socket.h (__libc_accept, __libc_accept4):
9549         Add attribute_hidden.
9550         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9552         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9553         use of PTR_MANGLE.
9554         * inet/getnetgrent_r.c (setup): Likewise.
9556         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9558 2012-07-31  David S. Miller  <davem@davemloft.net>
9560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9562 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
9564         [BZ #13629]
9565         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9566         value between 1.0 and 2.0 and smaller part has absolute value less
9567         than 1.0.
9568         * math/s_clog10.c (__clog10): Likewise.
9569         * math/s_clog10f.c (__clog10f): Likewise.
9570         * math/s_clog10l.c (__clog10l): Likewise.
9571         * math/s_clogf.c (__clogf): Likewise.
9572         * math/s_clogl.c (__clogl): Likewise.
9573         * math/libm-test.inc (clog_test): Add more tests.
9574         (clog10_test): Likewise.
9575         * sysdeps/i386/fpu/libm-test-ulps: Update.
9576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9578 2012-07-31  Florian Weimer  <fweimer@redhat.com>
9580         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9581         Exit with zero in case no suitable GID is found, and write a
9582         message to standard error.
9584 2012-07-30  Roland McGrath  <roland@hack.frob.com>
9586         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9587         rather than to 1.
9588         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9589         (MAXPATHLEN): Removed.
9590         (NOGROUP, NODEV): New macros.
9591         (setbit, clrbit, isset, isclr): New macros.
9592         (howmany, roundup, powerof2): New macros.
9593         (DEV_BSIZE): New macro.
9595         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9596         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9598         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9599         definition on [!__NO_LONG_DOUBLE_MATH].
9601         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9602         PTR_MANGLE and PTR_DEMANGLE.
9604         * socket/accept4.c (accept4): Rename to __libc_accept4.
9605         Define accept4 as a weak alias.
9607         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9608         on [_DIRENT_HAVE_D_TYPE].
9609         * io/ftw.c (ftw_dir): Likewise.
9611         * io/xmknod.c (__xmknod): Don't check PATH for being null.
9613         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9615         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9616         Use the BSD numbers rather than the arbitrary ones we had.
9617         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9618         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9619         (SIGXCPU, SIGXFSZ): New macros.
9620         (_NSIG): Now 32.
9622         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9623         initializer on [_LIBC_REENTRANT].
9625         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9626         definitions inside [_POSIX_MAPPED_FILES].
9628         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9630         * dirent/opendir.c: Include <fcntl.h>.
9632         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9633         (__libc_getspecific): Likewise.
9634         (__libc_key_create): Likewise.
9636         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9637         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9638         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9639         (tmpfile64): Define as alias.
9640         * sysdeps/wordsize-64/tmpfile.c: File removed.
9641         * sysdeps/wordsize-64/tmpfile64.c: File removed.
9642         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9643         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9645         * stdio-common/vfscanf.c: Include <stdbool.h>.
9646         * nss/makedb.c: Likewise.
9647         * stdio-common/_i18n_number.h: Likewise.
9648         * argp/argp-help.c: Likewise.
9649         * posix/wordexp.c: Likewise.
9650         * sysdeps/posix/spawni.c: Likewise.
9651         * nss/nss_files/files-initgroups.c: Likewise.
9652         * stdio-common/reg-modifier.c: Include <stdlib.h>.
9653         * nss/nss_files/files-initgroups.c: Likewise.
9654         * nss/nss_db/db-netgrp.c: Likewise.
9655         * nss/nss_db/db-initgroups.c: Likewise.
9656         * io/fchmodat.c: Include <sys/stat.h>.
9658         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9659         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9661         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9662         [HAVE_MMAP].
9664         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9665         Add multiple inclusion protection.
9667 2012-07-27  David S. Miller  <davem@davemloft.net>
9669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9671 2012-07-27  Gary Benson  <gbenson@redhat.com>
9673         [BZ #14298]
9674         * elf/rtld.c: Include <stap-probe.h>.
9675         (dl_main): Added static probes "init_start" and "init_complete".
9676         * elf/dl-load.c: Include <stap-probe.h>.
9677         (lose): Take new parameter "nsid".
9678         Added static probe "map_failed".
9679         (_dl_map_object_from_fd): Pass namespace id to lose.
9680         Added static probe "map_start".
9681         (open_verify): Pass namespace id to lose.
9682         * elf/dl-open.c: Include <stap-probe.h>.
9683         (dl_open_worker) Added static probes "map_complete", "reloc_start"
9684         and "reloc_complete".
9685         * elf/dl-close.c: Include <stap-probe.h>.
9686         (_dl_close_worker): Added static probes "unmap_start" and
9687         "unmap_complete".
9688         * elf/rtld-debugger-interface.txt: New file documenting the above.
9690 2012-07-26  Roland McGrath  <roland@hack.frob.com>
9692         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9693         rather than a string variable.
9694         * sunrpc/rpc_main.c (h_output): Likewise.
9695         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9697 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
9699         * inet/check_native.c: New file.
9701 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
9703         [BZ #13629]
9704         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9705         if larger part has absolute value 1.0.
9706         * math/s_clog10.c (__clog10): Likewise.
9707         * math/s_clog10f.c (__clog10f): Likewise.
9708         * math/s_clog10l.c (__clog10l): Likewise.
9709         * math/s_clogf.c (__clogf): Likewise.
9710         * math/s_clogl.c (__clogl): Likewise.
9711         * math/libm-test.inc (clog_test): Add more tests.
9712         (clog10_test): Likewise.
9713         * sysdeps/i386/fpu/libm-test-ulps: Update.
9714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9716         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9717         (pltexit): Likewise.
9718         (La_regs): Likewise.
9719         (La_retval): Likewise.
9720         (int_retval): Likewise.
9721         Update #error for removed macros to refer only to definitions in
9722         tst-audit.h.
9723         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9724         macro.
9725         (pltexit): Likewise.
9726         (La_regs): Likewise.
9727         (La_retval): Likewise.
9728         (int_retval): Likewise.
9729         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9730         macro.
9731         (pltexit): Likewise.
9732         (La_regs): Likewise.
9733         (La_retval): Likewise.
9734         (int_retval): Likewise.
9735         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9736         macro.
9737         (pltexit): Likewise.
9738         (La_regs): Likewise.
9739         (La_retval): Likewise.
9740         (int_retval): Likewise.
9741         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9742         macro.
9743         (pltexit): Likewise.
9744         (La_regs): Likewise.
9745         (La_retval): Likewise.
9746         (int_retval): Likewise.
9747         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9748         macro.
9749         (pltexit): Likewise.
9750         (La_regs): Likewise.
9751         (La_retval): Likewise.
9752         (int_retval): Likewise.
9753         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9754         macro.
9755         (pltexit): Likewise.
9756         (La_regs): Likewise.
9757         (La_retval): Likewise.
9758         (int_retval): Likewise.
9759         * sysdeps/generic/tst-audit.h: Update comment to refer only to
9760         macro definitions in tst-audit.h.
9761         * sysdeps/i386/tst-audit.h: New file.
9762         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9763         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9764         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9765         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9766         * sysdeps/sh/tst-audit.h: Likewise.
9767         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9768         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9769         * sysdeps/x86_64/tst-audit.h: Likewise.
9771 2012-07-26  Andreas Jaeger  <aj@suse.de>
9773         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9774         ptrace.
9776         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9777         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9778         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9779         PTRACE_O_MASK.
9780         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9781         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9782         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9784         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9785         value.
9787         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9788         _sigsys.
9789         (si_call_addr, si_syscall, si_arch): Define new macro.
9790         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9791         _sigsys.
9792         (si_call_addr, si_syscall, si_arch): Define new marcro.
9793         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9794         _sigsys.
9795         (si_call_addr, si_syscall, si_arch): Define new macro.
9796         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9797         _sigsys.
9798         (si_call_addr, si_syscall, si_arch): Define new macro.
9800 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9802         [BZ #13717]
9803         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9804         Change to 2.4.21 where previously 2.4.1.
9805         * sysdeps/unix/sysv/linux/configure: Regenerated.
9806         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9807         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9808         Linux kernel version.
9809         (__ASSUME_STD_AUXV): Remove.
9810         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9811         kernel version.
9812         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9813         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9814         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9815         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9816         (__ASSUME_NETLINK_SUPPORT): Likewise.
9817         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9818         (__no_netlink_support): Remove conditional definition.
9819         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9820         Remove.
9821         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9822         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9823         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9824         (if_nameindex_ioctl): Remove.
9825         (if_nameindex_netlink): Do not handle __no_netlink_support.
9826         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9827         code.
9828         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9829         Remove conditional code.
9830         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9831         code.
9832         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9833         unconditional.
9834         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9835         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9836         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9837         Remove.
9838         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9839         [!__ASSUME_STD_AUXV]: Remove conditional code.
9840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9841         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9842         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9844         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9845         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9846         code.
9847         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9849         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9850         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9851         conditional code.
9852         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9854         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9855         code.
9856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9857         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9858         conditional code.
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9860         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9861         code unconditional.
9862         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9863         conditional code.
9864         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9865         unconditional.
9866         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9867         conditional code.
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9869         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9870         unconditional.
9871         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9872         conditional code.
9873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9874         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9875         code unconditional.
9876         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9877         conditional code.
9878         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9879         unconditional.
9880         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9881         conditional code.
9882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9883         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9884         code unconditional.
9885         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9886         conditional code.
9887         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9888         unconditional.
9889         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9890         conditional code.
9892 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
9894         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9895         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9896         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9897         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9898         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9899         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9900         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9901         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9902         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9903         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9904         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9905         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9906         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9907         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9908         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9909         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9910         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9911         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9912         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9913         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9914         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9915         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9916         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9918 2012-07-25  Florian Weimer  <fweimer@redhat.com>
9920         * Versions.def: Add GLIBC_2.17.
9921         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9922         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9923         Introduce __libc_secure_getenv.
9924         * stdlib/Versions (2.17): Add secure_getenv
9925         (GLIBC_PRIVATE): Add __libc_secure_getenv.
9926         * stdlib/secure-getenv.c: Rename __secure_getenv to
9927         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
9928         symbol __secure_getenv for GLIBC_2.0.
9929         * stdlib/tst-secure-getenv.c: New.
9930         * stdlib/Makefile (tests): Add testcase.
9931         * manual/startup.texi (Environment Access): Document
9932         secure_getenv.
9933         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9934         __libc_secure_getenv.
9935         * inet/ruserpass.c (ruserpass): Likewise.
9936         * malloc/mtrace.c (mtrace): Likewise.
9937         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9938         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9939         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9940         * sysdeps/posix/tempname.c: Likewise.  Evaluate
9941         HAVE_SECURE_GETENV.
9942         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9943         __secure_getenv to __libc_secure_getenv.
9944         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9946         Likewise.
9947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9948         Likewise.
9949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9951         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9957 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9959         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9960         (struct La_i86_retval): Likewise.
9961         (struct La_x86_64_regs): Likewise.
9962         (struct La_x86_64_retval): Likewise.
9963         (struct La_x32_regs): Likewise.
9964         (struct La_x32_retval): Likewise.
9965         (struct La_ppc32_regs): Likewise.
9966         (struct La_ppc32_retval): Likewise.
9967         (struct La_ppc64_regs): Likewise.
9968         (struct La_ppc64_retval): Likewise.
9969         (struct La_sh_regs): Likewise.
9970         (struct La_sh_retval): Likewise.
9971         (struct La_s390_32_regs): Likewise.
9972         (struct La_s390_32_retval): Likewise.
9973         (struct La_s390_64_regs): Likewise.
9974         (struct La_s390_64_retval): Likewise.
9975         (struct La_sparc32_regs): Likewise.
9976         (struct La_sparc32_retval): Likewise.
9977         (struct La_sparc64_regs): Likewise.
9978         (struct La_sparc64_retval): Likewise.
9979         (struct audit_ifaces): Remove architecture-specific pltenter and
9980         pltexit members.
9981         * sysdeps/i386/ldsodefs.h: New file.
9982         * sysdeps/powerpc/ldsodefs.h: Likewise.
9983         * sysdeps/s390/ldsodefs.h: Likewise.
9984         * sysdeps/sh/ldsodefs.h: Likewise.
9985         * sysdeps/sparc/ldsodefs.h: Likewise.
9986         * sysdeps/x86_64/ldsodefs.h: Likewise.
9988 2012-07-25  Marek Polacek  <polacek@redhat.com>
9990         [BZ #6808]
9991         * math/libm-test.inc (yn_test): Add another test.
9992         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9993         to ERANGE when the result is +-Inf.
9994         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9995         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9996         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9997         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9999 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10001         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10002         equal to 0.
10003         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10004         clock_t.
10005         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10007 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10009         * configure.in <sysdeps resolving>: Correct printing
10010         Implies_before.
10011         * configure: Regenerate.
10013 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10015         * math/w_ilogb.c: Include <limits.h>.
10016         * math/w_ilogbl.c: Likewise.
10018 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10020         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10021         va_copy.  Document allowing for unavailable va_copy only as
10022         pre-C99 compatibility.
10023         * manual/string.texi (Copying and Concatenation): Use va_copy
10024         instead of __va_copy in concat example.
10026 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10028         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10029         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10030         it if not null.
10032         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10033         with O_NOLINK passed to __file_name_lookup.
10035         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10036         with O_NOLINK passed to __file_name_lookup.
10038         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10039         negative N or less than NGIDS.
10041         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10042         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10043         enough.  Use memcpy instead of strncpy.
10045 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10047         * elf/Makefile (check-data): Remove.
10048         (localplt.data): New vpath directive.
10049         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10050         instead of $(check-data).
10051         * scripts/data/localplt-generic.data: Move to ...
10052         * sysdeps/generic/localplt.data: ... here.
10053         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10054         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10055         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10057         ... here.
10058         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10060         ... here.
10061         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10063         ... here.
10064         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10066         ... here.
10067         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10069         ... here.
10070         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10072         ... here.
10074 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10076         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10077         PPC32 and PPC64 files.
10078         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10079         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10081 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10083         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10084         __makecontext_ret to ...
10085         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10086         ... here and call exit if uc_link is NULL.  New file.
10087         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10088         __makecontext_ret.S.
10089         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10090         __makecontext_ret to ...
10091         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10092         ... here and call exit if uc_link is NULL.  New file.
10093         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10094         __makecontext_ret.S.
10096 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10098         * elf/elf.h (R_390_IRELATIVE): New definition.
10099         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10100         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10101         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10102         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10103         (elf_machine_lazy_rel): Likewise.
10104         * sysdeps/s390/dl-irel.h: New file.
10105         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10106         * sysdeps/s390/s390-64/memset.S: New asm code.
10107         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10108         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10109         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10110         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10111         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10112         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10113         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10114         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10115         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10116         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10117         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10118         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10119         * sysdeps/s390/s390-32/memset.S: New asm code.
10120         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10122 2012-07-17  Marek Polacek  <polacek@redhat.com>
10124         [BZ #14349]
10125         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10126         * sysdeps/s390/s390-64/configure.in: Likewise.
10127         * sysdeps/sparc/configure.in: Likewise.
10128         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10129         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10130         * sysdeps/i386/configure.in: Likewise.
10131         * sysdeps/x86_64/configure.in: Likewise.
10132         * sysdeps/sh/configure.in: Likewise.
10133         * sysdeps/s390/s390-32/configure: Regenerated.
10134         * sysdeps/s390/s390-64/configure: Likewise.
10135         * sysdeps/x86_64/configure: Likewise.
10136         * sysdeps/sh/configure: Likewise.
10137         * sysdeps/powerpc/powerpc64/configure: Likewise.
10138         * sysdeps/powerpc/powerpc32/configure: Likewise.
10139         * sysdeps/sparc/configure: Likwise.
10140         * sysdeps/i386/configure: Likewise.
10142         * elf/dl-open.c: Comment fixes.
10144 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10146         * Makefile [CXX] (check-data): Remove.
10147         [CXX] (c++-types.data): New vpath directive.
10148         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10149         vpath.  Do not allow for C++ type data being missing.
10150         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10151         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10152         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10153         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10154         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10155         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10156         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10158         ... here.
10159         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10161         ... here.
10162         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10164         ... here.
10165         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10167         ... here.
10168         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10170         ... here.
10171         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10173         ... here.
10174         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10176         ... here.
10177         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10180         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10181         definitions to architecture-specific files.
10182         (TLS_IE): Likewise.
10183         (TLS_LD): Likewise.
10184         (TLS_GD): Likewise.
10185         * sysdeps/i386/tls-macros.h: New file.
10186         * sysdeps/powerpc/tls-macros.h: Likewise.
10187         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10188         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10189         * sysdeps/sh/tls-macros.h: Likewise.
10190         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10191         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10192         * sysdeps/x86_64/tls-macros.h: Likewise.
10194 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10196         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10197         zero value for regular exit case.
10199         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10200         (__start_context): Preserve zero value for regular exit case.
10202 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10203             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10205         * manual/setjmp.texi (setcontext): Clarify normal process
10206         termination when uc_link is the null pointer.
10207         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10208         exit call.
10210 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10212         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10213         preprocessor.  Test for each exception mask separately.
10215 2012-07-16  Andreas Jaeger  <aj@suse.de>
10217         * po/ru.po: Update from translation team.
10219 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10221         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10222         equal to 0.
10223         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10224         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10225         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10226         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10227         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10229 2012-07-13  Andreas Jaeger  <aj@suse.de>
10231         * po/fr.po: Update from translation team.
10233 2012-07-12  Marek Polacek  <polacek@redhat.com>
10235         [BZ #14173]
10236         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10237         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10238         loop condition.
10240 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10242         [BZ #13717]
10243         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10244         Change to 2.4.1 where previously 2.4.0.
10245         * sysdeps/unix/sysv/linux/configure: Regenerated.
10246         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10247         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10248         version.
10249         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10250         (__ASSUME_AT_CLKTCK): Remove.
10251         (__ASSUME_AT_PAGESIZE): Likewise.
10252         (__ASSUME_AT_XID): Likewise.
10253         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10254         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10255         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10256         unconditionally.
10257         (HAVE_AUX_PAGESIZE): Likewise.
10258         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10259         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10260         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10262 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10264         [BZ #14307]
10265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10266         the temporary buffer used to invoke __gethostbyname2_r,
10267         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10268         host_data / struct gaih_addrtuple.
10269         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10270         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10271         header file nss/nsswitch.h.
10272         * nss/nsswitch.h (global scope): Add definition of implementation
10273         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10274         resolv/nss_dns/dns-host.c).
10276 2012-07-11  Andreas Jaeger  <aj@suse.de>
10278         * po/fr.po: Update from translation team.
10280         * po/sv.po: Update from translation team
10281         * po/fr.po: Another update from translation team.
10283 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10285         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10286         for subnormals or multiply small sinh result by itself.
10287         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10290 2012-07-11  David S. Miller  <davem@davemloft.net>
10292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10294 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10296         [BZ #14347]
10297         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10298         (INTERNAL_MARK): Shift it here.
10300 2012-07-10  Marek Polacek  <polacek@redhat.com>
10302         [BZ #14151]
10303         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10304         libc_cv_asm_global_directive with .globl.
10305         * configure: Regenerated.
10306         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10307         with .globl.
10308         * sysdeps/i386/configure: Regenerated.
10309         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10310         with .globl.
10311         * sysdeps/x86_64/configure: Regenerated.
10312         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10313         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10314         * elf/tst-unique2mod2.c: Likewise.
10315         * elf/tst-unique2mod1.c: Likewise.
10316         * elf/tst-unique1mod2.c: Likewise.
10317         * elf/tst-unique1mod1.c: Likewise.
10318         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10319         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10320         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10321         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10322         * sysdeps/mach/sysdep.h: Likewise.
10323         * sysdeps/i386/sysdep.h: Likewise.
10324         * sysdeps/i386/i386-mcount.S: Likewise.
10325         * sysdeps/x86_64/_mcount.S: Likewise.
10326         * sysdeps/x86_64/sysdep.h: Likewise.
10327         * sysdeps/sh/_mcount.S: Likewise.
10328         * sysdeps/sh/sysdep.h: Likewise.
10329         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10330         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10331         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10332         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10333         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10334         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10335         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10336         * locale/localeinfo.h: Likewise.
10337         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10338         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10340 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10342         [BZ #14336]
10343         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10344         system".
10345         * manual/message.texi (The Uniforum approach): Likewise.
10346         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10347         (glibc iconv Implementation): Likewise.
10349 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10351         [BZ #14337]
10352         * math/s_clog.c (__clog): Avoid scaling a value down where that
10353         could result in underflow.
10354         * math/s_clog10.c (__clog10): Likewise.
10355         * math/s_clog10f.c (__clog10f): Likewise.
10356         * math/s_clog10l.c (__clog10l): Likewise.
10357         * math/s_clogf.c (__clogf): Likewise.
10358         * math/s_clogl.c (__clogl): Likewise.
10359         * math/libm-test.inc (clog_test): Add more tests.
10360         (clog10_test): Likewise.
10361         * sysdeps/i386/fpu/libm-test-ulps: Update.
10362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10364 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10366         [BZ #14283]
10367         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10368         by 7 not 8 to examine high bit of fractional part.
10370         [BZ #14042]
10371         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10372         for call to __mcount_internal.
10373         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10374         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10375         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10377 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10379         [BZ #14154]
10380         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10381         approximation for values within 0x1p-13f of an odd multiple of
10382         pi/4.
10383         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10384         exception.  Add more tests.
10385         * sysdeps/i386/fpu/libm-test-ulps: Update.
10387         [BZ #6778]
10388         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10389         inputs and return -1 for them.  Do not check for +Inf in case not
10390         reachable for +Inf.
10391         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10392         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10393         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10394         and return -1 for them.  Do not check for +Inf in case not
10395         reachable for +Inf.
10396         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10397         define.
10398         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10399         and return -1 for them.  Do not check for +Inf in case not
10400         reachable for +Inf.
10401         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10402         spurious underflow.
10403         * sysdeps/i386/fpu/libm-test-ulps: Update.
10404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10406 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10408         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10410 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10412         [BZ #14157]
10413         [BZ #14331]
10414         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10415         could result in spurious underflow.  Scale down values above
10416         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10417         * math/s_csqrtf.c (__csqrtf): Likewise.
10418         * math/s_csqrtl.c (__csqrtl): Likewise.
10419         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10420         spurious underflow.
10421         * sysdeps/i386/fpu/libm-test-ulps: Update.
10422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10424 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10426         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10427         xopen-msg.sed.
10428         * catgets/xopen-msg.awk: New file.
10429         * catgets/xopen-msg.sed: Removed.
10431         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10432         po2text.sed.
10433         * intl/po2test.awk: New file.
10434         * intl/po2test.sed: Removed.
10436 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10438         [BZ #14328]
10439         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10440         or multiply small sinh result by itself.
10441         * math/s_ctanf.c (__ctanf): Likewise.
10442         * math/s_ctanh.c (__ctanh): Likewise.
10443         * math/s_ctanhf.c (__ctanhf): Likewise.
10444         * math/s_ctanhl.c (__ctanhl): Likewise.
10445         * math/s_ctanl.c (__ctanl): Likewise.
10446         * math/libm-test.inc (ctan_test_tonearest): New function.
10447         (ctan_test_towardzero): Likewise.
10448         (ctan_test_downward): Likewise.
10449         (ctan_test_upward): Likewise.
10450         (ctanh_test_tonearest): Likewise.
10451         (ctanh_test_towardzero): Likewise.
10452         (ctanh_test_downward): Likewise.
10453         (ctanh_test_upward): Likewise.
10454         (main): Call these new functions.
10455         * sysdeps/i386/fpu/libm-test-ulps: Update.
10456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10458 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10460         * .gitignore: Delete /ports entry.
10462 2012-07-03  Andreas Jaeger  <aj@suse.de>
10464         * po/bg.po: Update from translation team.
10465         * po/cs.po: Likewise.
10466         * po/de.po: Likewise.
10467         * po/hr.po: Likewise.
10468         * po/nl.pl: Likewise.
10469         * po/pl.po: Likewise.
10470         * po/vi.po: Likewise.
10472 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10474         * Makeconfig [!+link] (+link-before-libc): New variable.
10475         [!+link] (+link-after-libc): Likewise.
10476         [!+link] (+link-tests): Likewise.
10477         [!+link] (+link): Define in terms of $(+link-before-libc) and
10478         $(+link-after-libc).
10479         [!+link-static] (+link-static-before-libc): New variable.
10480         [!+link-static] (+link-static-after-libc): Likewise.
10481         [!+link-static] (+link-static-tests): Likewise.
10482         [!+link-static] (+link-static): Define in terms of
10483         $(+link-static-before-libc) and $(+link-static-after-libc).
10484         [build-shared] (link-libc-before-gnulib): New variable.
10485         [build-shared] (link-libc-tests): Likewise.
10486         [build-shared] (link-libc): Define in terms of
10487         $(link-libc-before-gnulib).
10488         [!build-shared] (link-libc-tests): New variable.
10489         (link-libc-static-tests): New variable.
10490         [!gnulib] (gnulib-arch): New variable.
10491         [!gnulib] (gnulib-tests): Likewise.
10492         [!gnulib] (static-gnulib-arch): Likewise.
10493         [!gnulib] (static-gnulib-tests): Likewise.
10494         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
10495         Define with "=" instead of ":=".
10496         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
10497         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
10498         * Rules (binaries-all-notests): New variable.
10499         (binaries-all-tests): Likewise.
10500         (binaries-static-notests): Likewise.
10501         (binaries-static-tests): Likewise.
10502         (binaries-all): Define using $(binaries-all-notests) and
10503         $(binaries-all-tests).
10504         (binaries-static): Define using $(binaries-static-notests) and
10505         $(binaries-static-tests).
10506         (binaries-shared-tests): New variable.
10507         (binaries-shared-notests): Likewise.
10508         (binaries-shared): Remove variable.
10509         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10510         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10511         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10512         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10513         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10514         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10515         * elf/Makefile (sln-modules): New variable.
10516         (extra-objs): Add $(sln-modules:=.o).
10517         (ldconfig-modules): Add static-stubs.
10518         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10519         * elf/static-stubs.c: New file.
10521         [BZ #14283]
10522         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10523         by 7 not 8 to examine high bit of fractional part.  Use volatile
10524         variables when splitting into final array of floats if
10525         __FLT_EVAL_METHOD__ != 0.
10526         * math/libm-test.inc (cos_test): Add another test.
10527         (sin_test): Likewise.
10528         * sysdeps/i386/fpu/libm-test-ulps: Update.
10530         [BZ #14273]
10531         * math/libm-test.inc (cosh_test): Add more tests.
10533         * version.h (RELEASE): Set to "development".
10534         (VERSION): Set to "2.16.90".
10536 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
10538         * NEWS: Update copyright. Remove last-updated date.
10539         Mention math library bug fixes and timezone data changes.
10540         * README: Mention GNU/Hurd, x32, and HPPA support status.
10542 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
10544         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10546 2012-06-27  Andreas Jaeger  <aj@suse.de>
10548         * manual/contrib.texi (Contributors): Add Samuel Thibault.
10550 2012-06-25  Andreas Jaeger  <aj@suse.de>
10552         * sysdeps/s390/fpu/libm-test-ulps: Update.
10554 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
10555             Thomas Schwinge  <thomas@codesourcery.com>
10557         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10558         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10559         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10560         fanotify_mark.
10562 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
10564         * sysdeps/mach/start.c: Remove file.
10565         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10566         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10567         * sysdeps/sh/init-first.c: Likewise.
10569         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10570         registers for frame unwinding purposes, add CFI directives.
10571         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10572         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10573         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10574         Likewise.
10576         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10577         __fortify_fail returning.
10578         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10580         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10581         sysdeps/sh/____longjmp_chk.S.
10582         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10583         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10584         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10585         (gen-as-const-headers): Append sigaltstack-offsets.sym.
10587         * sysdeps/sh/abort-instr.h: New file.
10588         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10589         process in case exit returns.
10591         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10592         initialize the GOT register before use.
10594         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10595         calculation of ARGC > 4.
10597         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10598         meaningful names to some local labels.
10600 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10601             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10603         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10604         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10605         (__arch_compare_and_exchange_val_16_acq): Likewise.
10606         (__arch_compare_and_exchange_val_32_acq): Likewise.
10607         (atomic_exchange_and_add): Fix gUSA sequence.
10608         (atomic_add): Likewise.
10609         (atomic_add_negative): Likewise.
10610         (atomic_add_zero): Likewise.
10611         (atomic_bit_test_set): Likewise.
10613 2012-06-22  Andreas Schwab  <schwab@redhat.com>
10615         [BZ #13579]
10616         * include/link.h (struct link_map): Add l_free_initfini.
10617         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10618         l_initfini.
10619         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10620         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10621         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10622         set.
10624 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
10626         * configure.in: Use AC_LANG_SOURCE.
10627         * configure: Regenerate.
10629 2012-06-22  Roland McGrath  <roland@hack.frob.com>
10631         * configure.in (libc_cv_localstatedir): New substituted variable.
10632         * configure: Regenerated.
10633         * config.make.in (localstatedir): New variable, substituted from
10634         libc_cv_localstatedir.
10635         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10636         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10637         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10638         * sysdeps/gnu/configure: Regenerated.
10640 2012-06-21  Jeff Law  <law@redhat.com>
10642         [BZ #14277]
10643         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10644         free.  Simplify list management for _LIBC case.
10646 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
10648         [BZ #14273]
10649         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10650         Clear sign bit of 64-bit integer value before comparing against
10651         overflow value.
10653         * sysdeps/mach/configure: Regenerated.
10655 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
10657         [BZ #14278]
10658         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10660 2012-06-21  Jeff Law  <law@redhat.com>
10662         [BZ #13882]
10663         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
10664         uint16_t for elements in the "seen" array to avoid char overflows.
10665         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10666         * elf/dl-open.c (dl_open_worker): Likewise.
10668 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
10670         * scripts/list-sources.sh: Scan PORTS for translations.
10671         * po/libc.pot: Regenerated.
10673 2012-06-21  Andreas Jaeger  <aj@suse.de>
10675         [BZ #12194]
10676         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10677         warning.
10678         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10679         * bits/byteswap-16.h (__bswap_16): Likewise.
10680         * bits/byteswap.h (__bswap_constant_16): Likewise.
10682 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
10684         [BZ #14117]
10685         * sysdeps/i386/fpu_control.h: Removed.
10686         * sysdeps/x86_64/fpu_control.h: Moved to ...
10687         * sysdeps/x86/fpu_control.h: Here.
10689         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10690         (_FPU_SETCW): Likewise.
10692 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
10694         [BZ #14117]
10695         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10696         * sysdeps/x86/fpu/bits/mathinline.h: This.
10697         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10699         [BZ #14050]
10700         [BZ #14117]
10701         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10702         functions if __x86_64__ is defined.
10704 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
10706         * string/endian.h: Add !__ASSEMBLER__ condition for including
10707         conversion interfaces.
10709 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
10711         [BZ #14241]
10712         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10713         of ABS(x) in calculating zero to negative powers other than odd
10714         integers.
10715         * math/libm-test.inc (pow_test): Add more tests.
10717 2012-06-15  Andreas Jaeger  <aj@suse.de>
10719         * manual/contrib.texi (Contributors): Update entry of Liubov
10720         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10721         Machado Filho.
10723 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
10725         * string/string.h: Add __wur to GNU version of strerror_r.
10727 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
10729         [BZ #14229]
10730         * string/Makefile (tests): Add tst-strtok_r.
10731         * string/tst-strtok_r.c: New file.
10732         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10733         RAX_LP/RDX_LP on SAVE_PTR.
10735 2012-06-14  Roland McGrath  <roland@hack.frob.com>
10737         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10739 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
10741         * libm_test.inc (csqrt_test): Allow more spurious underflow
10742         exceptions.
10743         (j0_test): Likewise.
10744         (j1_test): Likewise.
10745         (y0_test): Likewise.
10746         (y1_test): Likewise.
10748 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
10750         * po/Makefile (libc.pot): Use UTF-8 charset.
10752 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
10754         [BZ #14210]
10755         Suppress sign-conversion warning from FD_SET.
10756         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10757         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10758         not unsigned long int.
10759         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10761 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
10763         [BZ #14050]
10764         [BZ #14117]
10765         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10766         __extern_always_inline instead of __extern_inline.
10767         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10768         (__signbit): Likewise.
10769         (__signbitl): Support C++ namespace.
10770         (lrintf): New inline function.
10771         (lrint): Likewise.
10772         (llrintf): Likewise.
10773         (llrint): Likewise.
10774         (fmaxf): Likewise.
10775         (fmax): Likewise.
10776         (fminf): Likewise.
10777         (fmin): Likewise.
10778         (rint): Likewise.
10779         (rintf): Likewise.
10780         (ceil): Likewise.
10781         (ceilf): Likewise.
10782         (floor): Likewise.
10783         (floorf): Likewise.
10784         (nearbyint): Likewise.
10785         (nearbyintf): Likewise.
10787 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
10789         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10790         non-default versions.
10792 2012-06-11  Roland McGrath  <roland@hack.frob.com>
10794         [BZ #14218]
10795         * manual/argp.texi (Argp): Reword argp_parse description slightly.
10797 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
10799         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10800         (FE_UPWARD, FE_DOWNWARD): Don't define.
10801         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10802         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10804         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10805         reading it.
10806         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10807         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10809 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10811         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10812         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10813         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10814         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10816 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10818         [BZ #14117]
10819         * sysdeps/i386/fpu/bits/fenv.h: Removed.
10820         * sysdeps/i386/fpu/Implies: New file.
10821         * sysdeps/x86_64/fpu/Implies: Likewise.
10822         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10823         * sysdeps/x86/fpu/bits/fenv.h: This.
10825         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10826         __SSE_MATH__.
10828 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10830         [BZ #14134]
10831         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10832         character 0xffff that matches the last element of the
10833         conversion table.
10835 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10837         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10838         fmodl commit.
10840 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10842         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10843         values higher than 25.6283.
10845 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10847         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10848         subnormal exponent extraction and add some __builtin_expect.
10849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10850         Fix for subnormal mantissa calculation.
10852 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
10854         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10855         cpu2 is -1 and errno is not ENOSYS.
10857 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
10859         [BZ #14117]
10860         * sysdeps/i386/i486/bits/string.h: Renamed to ...
10861         * sysdeps/x86/bits/string.h: This.
10862         * sysdeps/x86_64/bits/string.h: Removed.
10864         * sysdeps/i386/i486/bits/string.h: Define inline functions only
10865         if not compiling for x86-64, but compiling for >= i486.
10867         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10868         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10870         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10871         New macro from Linux kernel 3.4.0.
10872         (FP_XSTATE_MAGIC2): Likewise.
10873         (FP_XSTATE_MAGIC2_SIZE): Likewise.
10874         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10875         (struct _fpx_sw_bytes): New struct.
10876         (struct _xsave_hdr): Likewise.
10877         (struct _ymmh_state): Likewise.
10878         (struct _xstate): Likewise.
10880         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10881         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10882         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10883         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10884         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10885         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10887         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10888         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10889         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10890         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10891         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10892         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10894 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10896         [BZ #13743]
10897         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10898         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10899         (sysdep_headers): Include sys/platform/ppc.h.
10900         * sysdeps/powerpc/test-gettimebase.c: Test for
10901         __ppc_get_timebase() to catch future ISA opcode/insn changes.
10902         * manual/Makefile (appendices): Include platform.texi.
10903         * manual/contrib.texi (Contributors): Update @node pointers.
10904         * manual/maint.texi (Maintenance): Likewise.
10905         (Platform): New node.
10906         * manual/platform.texi: New file.  Document the new features.
10908 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10909             Jakub Jelinek  <jakub@redhat.com>
10911         [BZ #14188]
10912         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10913         where __builtin_expect is unavailable.
10915 2012-06-03  David S. Miller  <davem@davemloft.net>
10917         * stdlib/longlong.h: Updated from GCC.
10919 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
10921         [BZ #14042]
10922         * sysdeps/powerpc/powerpc32/mcount.c: New file.
10923         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10924         __mcount_internal.
10925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10926         (GLIBC_2.16): Likewise.
10928 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10930         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10932 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10935         (default-abi): New variable.
10936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10937         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10938         variable.
10939         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10940         Likewise.
10941         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10942         Likewise.
10943         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10944         Likewise.
10946         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10947         definition.  Document in comment.
10949 2012-06-01  David S. Miller  <davem@davemloft.net>
10951         * stdlib/longlong.h: Updated from GCC.
10953 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10955         [BZ #14117]
10956         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10957         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10958         sys/debugreg.h sys/io.h here.
10959         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10960         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10961         sys/io.h.
10962         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10963         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10964         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10965         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10966         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10967         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10969         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10970         Define only if __x86_64__ is defined.
10972 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10974         [BZ #14048]
10975         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10976         Use int64_t for variable i.
10977         * math/libm-test.inc (fmod_test): Add more tests.
10979         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10980         z computation is not scheduled after fetestexcept.
10981         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10982         Use math_force_eval instead of asm to ensure calculation scheduled
10983         before exception test.
10984         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10985         Ensure a1 + u.d computation is not scheduled after fetestexcept.
10987 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
10989         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10990         computation is not scheduled after fetestexcept.
10992 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10994         [BZ #14117]
10995         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10996         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10998 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11000         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11001         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11003 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11005         [BZ #14117]
11006         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11007         <bits/wordsize.h>.
11008         (__WCHAR_MIN): Support __WORDSIZE == 64.
11009         (__WCHAR_MAX): Likewise.
11011         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11012         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11014         [BZ #14183]
11015         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11016         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11018         [BZ #14117]
11019         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11020         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11022         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11023         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11025         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11026         Defined to 1 if __x86_64__ isn't defined.
11027         (_STAT_VER_LINUX_OLD): New.
11028         (st_atime): Remove duplicate.
11029         (st_mtime): Likewise.
11030         (st_ctime): Likewise.
11032 2012-05-31  David S. Miller  <davem@davemloft.net>
11034         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11035         entries.
11037 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11039         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11040         gen-libm-test.pl.
11042         [BZ #14132]
11043         * elf/dl-reloc.c: Include <_itoa.h>.
11044         (_dl_reloc_bad_type): Remove use of INTUSE.
11045         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11046         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11047         * stdio-common/psiginfo.c (psiginfo): Likewise.
11048         * stdio-common/psignal.c (psignal): Likewise.
11049         * string/strsignal.c (strsignal): Likewise.
11050         * include/signal.h (_sys_siglist): Declare hidden proto.
11051         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11052         INTVARDEF with libc_hidden_data_def.
11053         * stdio-common/itoa-udigits.c: Likewise.
11054         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11055         (_itoa_lower_digits_internal): Remove declaration.
11056         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11057         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11058         (_sys_sigabbrev_internal): Remove aliases.
11059         (_sys_siglist): Define hidden alias.
11061 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11063         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11064         bits/sysctl.h.
11066 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11068         [BZ #14117]
11069         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11070         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11072         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11073         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11074         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11075         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11076         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11077         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11079         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11080         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11081         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11083         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11084         with __addr.
11085         (insw): Likewise.
11086         (insl): Likewise.
11087         (outsb): Likewise.
11088         (outsw): Likewise.
11089         (outsl): Likewise.
11091         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11092         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11093         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11095         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11096         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11097         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11098         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11099         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11100         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11102         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11103         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11105         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11106         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11108         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11109         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11110         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11112         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11113         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11114         to ...
11115         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11117         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11118         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11119         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11121         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11122         for x86-64.
11123         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11125 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11127         * math/math.h (M_El): Use two more decimal places.
11128         (M_LOG2El): Likewise.
11129         (M_LOG10El): Likewise.
11130         (M_LN2l): Likewise.
11131         (M_LN10l): Likewise.
11132         (M_PIl): Likewise.
11133         (M_PI_2l): Likewise.
11134         (M_PI_4l): Likewise.
11135         (M_1_PIl): Likewise.
11136         (M_2_PIl): Likewise.
11137         (M_2_SQRTPIl): Likewise.
11138         (M_SQRT2l): Likewise.
11139         (M_SQRT1_2l): Likewise.
11141 2012-05-31  David S. Miller  <davem@davemloft.net>
11143         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11144         values between float registers.
11145         * sysdeps/sparc/sparc64/memset.S: Likewise.
11146         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11148 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11150         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11151         -D_FORTIFY_SOURCE=1.
11152         (CPPFLAGS-tst-longjmp_chk.c): Define.
11153         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11154         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11155         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11156         CFLAGS-tst-wchar-h.c.
11158 2012-05-31  Marek Polacek  <polacek@redhat.com>
11160         [BZ #14132]
11161         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11162         __endmntent_internal): Remove declaration.
11163         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11164         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11165         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11167 2012-05-30  David S. Miller  <davem@davemloft.net>
11169         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11170         (___Q_simulate_exceptions): Use real FP ops rather than writing
11171         into the %fsr.
11172         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11173         Likewise.
11175 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11177         [BZ #14117]
11178         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11179         * sysdeps/x86/bits/xtitypes.h: This.
11181         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11182         * sysdeps/x86/bits/wordsize.h: This.
11184         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11185         * sysdeps/x86/bits/huge_vall.h: This.
11187         * sysdeps/i386/bits/select.h: Removed.
11188         * sysdeps/x86_64/bits/select.h: Renamed to ...
11189         * sysdeps/x86/bits/select.h: This.
11191         * sysdeps/i386/bits/setjmp.h: Removed.
11192         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11193         * sysdeps/x86/bits/setjmp.h: This.
11195         * sysdeps/i386/bits/mathdef.h: Removed.
11196         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11197         * sysdeps/x86/bits/mathdef.h: This.
11199 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11201         [BZ #14132]
11202         * include/sys/socket.h (__connect_internal)
11203         (__libc_sa_len_internal): Remove declaration.
11204         (__connect, __libc_sa_len): Declare hidden_proto.
11205         (SA_LEN): Remove use of INTUSE.
11206         * socket/connect.c: Add libc_hidden_def.
11207         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11208         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11209         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11210         alias.
11211         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11212         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11213         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11214         of adding _internal alias.
11216 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11218         [BZ #14117]
11219         * sysdeps/i386/bits/link.h: Removed.
11220         * sysdeps/i386/bits/linkmap.h: Likewise.
11221         * sysdeps/x86_64/bits/link.h: Renamed to ...
11222         * sysdeps/x86/bits/link.h: This.
11223         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11224         * sysdeps/x86/bits/linkmap.h: This.
11226         * sysdeps/i386/bits/endian.h: Removed.
11227         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11228         * sysdeps/x86/bits/endian.h: This.
11230         * sysdeps/i386/bits/byteswap.h: Removed.
11231         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11232         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11233         * sysdeps/x86/bits/byteswap.h: This.
11234         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11235         * sysdeps/x86/bits/byteswap-16.h: This.
11236         * sysdeps/i386/Implies: Add x86.
11237         * sysdeps/x86_64/Implies: Likewise.
11239 2012-05-30  David S. Miller  <davem@davemloft.net>
11241         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11242         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11243         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11244         (FP_TRAPPING_EXCEPTIONS): Define.
11245         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11246         (FP_TRAPPING_EXCEPTIONS): Define.
11247         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11248         subnormals only when inexact has been signalled or underflow
11249         exceptions are enabled.
11250         (_FP_PACK_CANONICAL): Likewise.
11252 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11254         [BZ #14183]
11255         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11256         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11258 2012-05-30  Richard Henderson  <rth@twiddle.net>
11260         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11261         with #ifndef NOT_IN_libc.
11263         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11264         marked to avoid plt entry.
11266 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11268         [BZ #14112]
11269         * Makeconfig (default-abi): New macro.
11270         (abi-includes): Likewise.
11271         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11272         $(abi-$(default-abi)-lib-soname) for soname if defined.
11273         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11274         abi-variants.
11275         * Makefile (installed-stubs): Likewise.
11276         * include/stubs-biarch.h: Removed.
11277         * scripts/lib-names.awk: Only handle one library at a time.
11278         * scripts/soversions.awk: Remove WORDSIZE support.
11279         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11280         entries.
11281         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11282         Removed.
11283         (syscall-list-default-condition): Likewise.
11284         (syscall-list-default-condition): Likewise.
11285         (syscall-list-includes): Likewise.
11286         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11287         syscall-list-* with abi-*.  Handle undefined abi-variants.
11288         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11289         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11290         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11291         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11292         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11293         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11294         Removed.
11295         (syscall-list-32-options): Likewise.
11296         (syscall-list-32-condition): Likewise.
11297         (syscall-list-64-options): Likewise.
11298         (syscall-list-64-condition): Likewise.
11299         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11300         macro.
11301         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11302         Renamed to ...
11303         (abi-*): This.
11304         (abi-64-ld-soname): New macro.
11305         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11306         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11307         Renamed to ...
11308         (abi-*): This.
11309         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11310         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11312 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11314         * sysdeps/unix/sysv/linux/kernel-features.h
11315         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11316         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11317         include <kernel-features.h>.
11318         [!__NR_ftruncate64]: Remove conditional code.
11319         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11320         [__NR_ftruncate64]: Make code unconditional.
11321         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11322         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11323         include <kernel-features.h>.
11324         [!__NR_ftruncate64]: Remove conditional code.
11325         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11326         [__NR_ftruncate64]: Make code unconditional.
11327         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11329         include <kernel-features.h>.
11330         [!__NR_ftruncate64]: Remove conditional code.
11331         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11332         [__NR_ftruncate64]: Make code unconditional.
11333         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11335         include <kernel-features.h>.
11336         [!__NR_ftruncate64]: Remove conditional code.
11337         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11338         [__NR_ftruncate64]: Make code unconditional.
11339         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11341         * configure.in (libc_cv_fpie): Weaken to a compile test using
11342         LIBC_TRY_CC_OPTION.
11343         * configure: Regenerated.
11345 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11351         Refreshed.
11352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11358         Refreshed.
11360 2012-05-27  David S. Miller  <davem@davemloft.net>
11362         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11363         (___Q_zero): New.
11364         (__Q_simulate_exceptions): Return void.  Change to simulate
11365         exceptions by writing into the %fsr.
11366         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11367         (__Qp_handle_exceptions): Likewise.
11368         (numbers): Delete.
11369         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11370         __Qp_handle_exceptions.
11371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11372         __Qp_handle_exceptions.
11373         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11374         as unused and give dummy FP_RND_NEAREST initializer.
11375         (FP_INHIBIT_RESULTS): Define.
11376         (___Q_simulate_exceptions): Update declaration.
11377         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11378         formatting.
11379         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11380         as unused and give dummy FP_RND_NEAREST initializer.
11381         (__Qp_handle_exceptions): Update declaration.
11382         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11383         formatting.
11385 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11387         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11388         the temporary FPU control word.
11389         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11390         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11391         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11392         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11393         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11394         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11395         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11396         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11397         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11398         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11399         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11401 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11403         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11404         fields.
11406 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11408         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11409         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11410         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11411         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11412         Likewise.
11413         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11414         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11415         Likewise.
11417 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11419         * po/h.po: Update from translation team.
11421 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11423         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11425         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11426         handling of denormals.
11427         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11428         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11429         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11430         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11431         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11432         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11433         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11434         Likewise.
11436 2012-05-26  Marek Polacek  <polacek@redhat.com>
11438         [BZ #14152]
11439         * math/libm-test.inc (fma_test): Don't always expect underflow
11440         exception.
11442 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11444         [BZ #12416]
11445         * elf/tst-execstack.c: Include stackinfo.h.
11446         (do_test): Adjust test case to ensure that pthread_getattr_np
11447         behaviour remains the same after marking stack executable.
11449 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11451         * sysdeps/unix/sysv/linux/kernel-features.h
11452         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11453         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11454         kernel-features.h.
11455         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11456         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11457         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11458         kernel-features.h.
11459         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11460         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11462 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11464         * configure.in: Define the default includes to being none.
11465         * configure: Regenerated.
11467 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11469         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11470         * sysdeps/x86_64/setjmp.S: Likewise.
11471         * sysdeps/i386/bsd-setjmp.S: Likewise.
11472         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11473         * sysdeps/i386/setjmp.S: Likewise.
11474         * sysdeps/i386/__longjmp.S: Likewise.
11475         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11476         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11478         * include/stap-probe.h: New file.
11479         * configure.in: Handle --enable-systemtap.
11480         * configure: Regenerated.
11481         * config.h.in (USE_STAP_PROBE): New #undef.
11482         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11483         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11484         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11486 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11488         [BZ #13717]
11489         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11490         to 2.4.0 where earlier.
11491         * sysdeps/unix/sysv/linux/configure: Regenerated.
11492         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11493         <kernel-features.h>.
11494         [__ASSUME_32BITUIDS]: Make code unconditional.
11495         [!__ASSUME_32BITUIDS]: Remove conditional code.
11496         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11497         <kernel-features.h>.
11498         [__ASSUME_32BITUIDS]: Make code unconditional.
11499         [!__ASSUME_32BITUIDS]: Remove conditional code.
11500         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11501         [__ASSUME_32BITUIDS]: Make code unconditional.
11502         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11503         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11504         <kernel-features.h>.
11505         [__ASSUME_32BITUIDS]: Make code unconditional.
11506         [!__ASSUME_32BITUIDS]: Remove conditional code.
11507         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11508         <kernel-features.h>.
11509         [__ASSUME_32BITUIDS]: Make code unconditional.
11510         [!__ASSUME_32BITUIDS]: Remove conditional code.
11511         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11512         <kernel-features.h>.
11513         [__ASSUME_32BITUIDS]: Make code unconditional.
11514         [!__ASSUME_32BITUIDS]: Remove conditional code.
11515         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11516         <kernel-features.h>.
11517         [__ASSUME_32BITUIDS]: Make code unconditional.
11518         [!__ASSUME_32BITUIDS]: Remove conditional code.
11519         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11520         <kernel-features.h>.
11521         [__ASSUME_32BITUIDS]: Make code unconditional.
11522         [!__ASSUME_32BITUIDS]: Remove conditional code.
11523         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11524         <kernel-features.h>.
11525         [__ASSUME_32BITUIDS]: Make code unconditional.
11526         [!__ASSUME_32BITUIDS]: Remove conditional code.
11527         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11528         <kernel-features.h>.
11529         [__ASSUME_32BITUIDS]: Make code unconditional.
11530         [!__ASSUME_32BITUIDS]: Remove conditional code.
11531         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11532         <kernel-features.h>.
11533         [__ASSUME_32BITUIDS]: Make code unconditional.
11534         [!__ASSUME_32BITUIDS]: Remove conditional code.
11535         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11536         <kernel-features.h>.
11537         [__ASSUME_32BITUIDS]: Make code unconditional.
11538         [!__ASSUME_32BITUIDS]: Remove conditional code.
11539         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11540         <kernel-features.h>.
11541         [__ASSUME_32BITUIDS]: Make code unconditional.
11542         [!__ASSUME_32BITUIDS]: Remove conditional code.
11543         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11544         <kernel-features.h>.
11545         [__NR_setresgid] (__setresgid): Do not declare.
11546         [__ASSUME_32BITUIDS]: Make code unconditional.
11547         [!__ASSUME_32BITUIDS]: Remove conditional code.
11548         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11549         <kernel-features.h>.
11550         [__NR_setresuid] (__setresuid): Do not declare.
11551         [__ASSUME_32BITUIDS]: Make code unconditional.
11552         [!__ASSUME_32BITUIDS]: Remove conditional code.
11553         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11554         <kernel-features.h>.
11555         [__ASSUME_32BITUIDS]: Make code unconditional.
11556         [!__ASSUME_32BITUIDS]: Remove conditional code.
11557         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11558         <kernel-features.h>.
11559         [__ASSUME_32BITUIDS]: Make code unconditional.
11560         [!__ASSUME_32BITUIDS]: Remove conditional code.
11561         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11562         <kernel-features.h>.
11563         [__ASSUME_32BITUIDS]: Make code unconditional.
11564         [!__ASSUME_32BITUIDS]: Remove conditional code.
11565         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11566         <kernel-features.h>.
11567         [__ASSUME_32BITUIDS]: Make code unconditional.
11568         [!__ASSUME_32BITUIDS]: Remove conditional code.
11569         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11570         <kernel-features.h>.
11571         [__ASSUME_32BITUIDS]: Make code unconditional.
11572         [!__ASSUME_32BITUIDS]: Remove conditional code.
11573         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11574         <kernel-features.h>.
11575         [__ASSUME_32BITUIDS]: Make code unconditional.
11576         [!__ASSUME_32BITUIDS]: Remove conditional code.
11577         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11578         <kernel-features.h>.
11579         [__ASSUME_32BITUIDS]: Make code unconditional.
11580         [!__ASSUME_32BITUIDS]: Remove conditional code.
11581         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11582         <kernel-features.h>.
11583         [__ASSUME_32BITUIDS]: Make code unconditional.
11584         [!__ASSUME_32BITUIDS]: Remove conditional code.
11585         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11586         <kernel-features.h>.
11587         [__ASSUME_32BITUIDS]: Make code unconditional.
11588         [!__ASSUME_32BITUIDS]: Remove conditional code.
11589         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11590         <kernel-features.h>.
11591         [__ASSUME_32BITUIDS]: Make code unconditional.
11592         [!__ASSUME_32BITUIDS]: Remove conditional code.
11593         * sysdeps/unix/sysv/linux/kernel-features.h
11594         (__ASSUME_SETRESUID_SYSCALL): Remove.
11595         (__ASSUME_SETRESGID_SYSCALL): Likewise.
11596         (__ASSUME_32BITUIDS): Likewise.
11597         (__ASSUME_LDT_WORKS): Likewise.
11598         (__ASSUME_O_DIRECTORY): Likewise.
11599         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11600         architecture but not kernel version.
11601         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11602         (__ASSUME_MMAP2_SYSCALL): Likewise.
11603         (__ASSUME_STAT64_SYSCALL): Likewise.
11604         (__ASSUME_IPC64): Likewise.
11605         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11606         <kernel-features.h>.
11607         [__ASSUME_32BITUIDS]: Make code unconditional.
11608         [!__ASSUME_32BITUIDS]: Remove conditional code.
11609         * sysdeps/unix/sysv/linux/opendir.c: Do not include
11610         <kernel-features.h>.
11611         [__ASSUME_O_DIRECTORY]: Make code unconditional.
11612         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11613         132096]: Remove conditional code.
11614         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11615         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11616         <kernel-features.h>.
11617         [__ASSUME_32BITUIDS]: Make code unconditional.
11618         [!__ASSUME_32BITUIDS]: Remove conditional code.
11619         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11620         <kernel-features.h>.
11621         [__ASSUME_32BITUIDS]: Make code unconditional.
11622         [!__ASSUME_32BITUIDS]: Remove conditional code.
11623         * sysdeps/unix/sysv/linux/setegid.c: Do not include
11624         <kernel-features.h>.
11625         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11626         unconditional.
11627         (__setresgid): Do not declare.
11628         [__ASSUME_32BITUIDS]: Make code unconditional.
11629         [!__ASSUME_32BITUIDS]: Remove conditional code.
11630         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11631         <kernel-features.h>.
11632         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11633         unconditional.
11634         (__setresuid): Do not declare.
11635         [__ASSUME_32BITUIDS]: Make code unconditional.
11636         [!__ASSUME_32BITUIDS]: Remove conditional code.
11637         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11638         <kernel-features.h>.
11639         [__ASSUME_32BITUIDS]: Make code unconditional.
11640         [!__ASSUME_32BITUIDS]: Remove conditional code.
11641         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11642         <kernel-features.h>.
11643         [__ASSUME_32BITUIDS]: Make code unconditional.
11644         [!__ASSUME_32BITUIDS]: Remove conditional code.
11646 2012-05-25  Richard Henderson  <rth@twiddle.net>
11648         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11649         dl_hwcap to ifunc resolver.
11650         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11651         elf_ifunc_invoke.
11652         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11653         dl_hwcap to ifunc resolver.
11654         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11656 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11658         [BZ #14153]
11659         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11660         for |x| <= 2**-26, not 2**-57.
11661         * math/libm-test.inc (acos_test): Do not allow spurious underflow
11662         exception.
11664 2012-05-24  Jeff Law  <law@redhat.com>
11666         * stdio-common/Makefile (tests): Add bug25.
11667         * stdio-common/bug25.c: New test.
11669 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11671         [BZ #13576]
11672         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11673         multiple of MALLOC_ALIGNMENT in size.
11674         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11676 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11678         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11679         Require >= 256.
11680         (FILENAME_MAX): Use macro-int-constant.
11681         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
11682         (_IOFBF): Use macro-int-constant.
11683         (_IOLBF): Likewise.
11684         (_IONBF): Likewise.
11685         (SEEK_CUR): Likewise.
11686         (SEEK_END): Likewise.
11687         (SEEK_SET): Likewise.
11688         (TMP_MAX): Likewise.
11689         (EOF): Use macro-int-constant.  Require < 0.
11690         (NULL): Use macro-constant.  Require == 0.
11691         (stdin): Require type to be FILE *.
11692         (stdout): Likewise.
11693         (stderr): Likewise.
11694         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11695         macro-int-constant.
11696         (EXIT_SUCCESS): Likewise.
11697         (NULL): Use macro-constant.  Require == 0.
11698         (RAND_MAX): Use macro-int-constant.
11699         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11700         [C99-based standards] (strtof): Require function.
11701         [C99-based standards] (strtold): Likewise.
11702         [C99-based standards] (strtoll): Likewise.
11703         [C99-based standards] (strtoull): Likewise.
11704         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11705         [ISO || ISO99 || ISO11] (limits.h): Likewise.
11706         [ISO || ISO99 || ISO11] (math.h): Likewise.
11707         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11708         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11709         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11711 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
11713         [BZ #14132]
11714         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11715         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11716         * intl/dgettext.c (DCGETTEXT): Likewise.
11717         * intl/gettext.c (DCGETTEXT): Likewise.
11718         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11719         * posix/regex_internal.h (gettext): Likewise.
11720         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11721         Remove declaration.
11722         * include/argz.h (__argz_count_internal)
11723         (__argz_stringify_internal): Remove declaration.
11724         (__argz_count, __argz_stringify): Declare hidden proto.
11725         * intl/dcgettext.c: Remove use of INTDEF.
11726         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11727         * string/argz-stringify.c: Likewise.
11728         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11729         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11730         Declare hidden proto.
11731         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11732         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11733         Declare hidden proto.
11734         * include/stdio.h (__asprintf_internal): Don't declare.
11735         (__asprintf): Don't define as macro.  Declare hidden proto.
11736         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11737         (__fsetlocking): Declare hidden proto.
11738         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11739         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11740         hidden proto.
11741         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11742         (_IO_setlinebuf): Remove use of INTUSE.
11743         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11744         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11745         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11746         Remove declaration.
11747         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11748         (_IO_do_flush): Remove use of INTUSE.
11749         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11750         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11751         (_IO_adjust_column, _IO_least_wmarker)
11752         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11753         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11754         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11755         (_IO_default_doallocate, _IO_wdefault_doallocate)
11756         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11757         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11758         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11759         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11760         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11761         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11762         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11763         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11764         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11765         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11766         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11767         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11768         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11769         proto.
11770         (_IO_flush_all_internal, _IO_adjust_column_internal)
11771         (_IO_default_uflow_internal, _IO_default_finish_internal)
11772         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11773         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11774         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11775         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11776         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11777         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11778         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11779         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11780         (_IO_file_close_internal, _IO_file_close_it_internal)
11781         (_IO_file_underflow_internal, _IO_file_overflow_internal)
11782         (_IO_file_init_internal, _IO_file_attach_internal)
11783         (_IO_file_fopen_internal, _IO_file_read_internal)
11784         (_IO_file_sync_internal, _IO_file_seek_internal)
11785         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11786         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11787         (_IO_str_underflow_internal, _IO_str_overflow_internal)
11788         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11789         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11790         (_IO_list_all_internal, _IO_link_in_internal)
11791         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11792         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11793         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11794         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11795         (_IO_do_write_internal, _IO_padn_internal)
11796         (_IO_getline_info_internal, _IO_getline_internal)
11797         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11798         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11799         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11800         (_IO_vfscanf_internal, _IO_vfprintf_internal)
11801         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11802         (_IO_init_internal, _IO_un_link_internal): Don't declare.
11803         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11804         with libc_hidden_ver, remove use of INTUSE.
11805         * libio/genops.c: Likewise.
11806         * libio/freopen.c: Likewise.
11807         * libio/freopen64.c: Likewise.
11808         * libio/iofclose.c: Likewise.
11809         * libio/iofdopen.c: Likewise.
11810         * libio/iofflush.c: Likewise.
11811         * libio/iofflush_u.c: Likewise.
11812         * libio/iofgets.c: Likewise.
11813         * libio/iofgets_u.c: Likewise.
11814         * libio/iofopen.c: Likewise.
11815         * libio/iofopncook.c: Likewise.
11816         * libio/iofread.c: Likewise.
11817         * libio/iofread_u.c: Likewise.
11818         * libio/ioftell.c: Likewise.
11819         * libio/iofwrite.c: Likewise.
11820         * libio/iogetline.c: Likewise.
11821         * libio/iogets.c: Likewise.
11822         * libio/iogetwline.c: Likewise.
11823         * libio/iopadn.c: Likewise.
11824         * libio/iopopen.c: Likewise.
11825         * libio/ioseekoff.c: Likewise.
11826         * libio/ioseekpos.c: Likewise.
11827         * libio/iosetbuffer.c: Likewise.
11828         * libio/iosetvbuf.c: Likewise.
11829         * libio/ioungetc.c: Likewise.
11830         * libio/ioungetwc.c: Likewise.
11831         * libio/iovdprintf.c: Likewise.
11832         * libio/iovsprintf.c: Likewise.
11833         * libio/iovsscanf.c: Likewise.
11834         * libio/memstream.c: Likewise.
11835         * libio/obprintf.c: Likewise.
11836         * libio/oldfileops.c: Likewise.
11837         * libio/oldiofclose.c: Likewise.
11838         * libio/oldiofdopen.c: Likewise.
11839         * libio/oldiofopen.c: Likewise.
11840         * libio/oldiopopen.c: Likewise.
11841         * libio/oldstdfiles.c: Likewise.
11842         * libio/putc.c: Likewise.
11843         * libio/setbuf.c: Likewise.
11844         * libio/setlinebuf.c: Likewise.
11845         * libio/stdfiles.c: Likewise.
11846         * libio/strops.c: Likewise.
11847         * libio/vasprintf.c: Likewise.
11848         * libio/vscanf.c: Likewise.
11849         * libio/vsnprintf.c: Likewise.
11850         * libio/vswprintf.c: Likewise.
11851         * libio/wfiledoalloc.c: Likewise.
11852         * libio/wfileops.c: Likewise.
11853         * libio/wgenops.c: Likewise.
11854         * libio/wmemstream.c: Likewise.
11855         * libio/wstrops.c: Likewise.
11856         * libio/__fpurge.c: Likewise.
11857         * libio/__fsetlocking.c: Likewise.
11858         * assert/assert.c: Likewise.
11859         * debug/fgets_chk.c: Likewise.
11860         * debug/fgets_u_chk.c: Likewise.
11861         * debug/fread_chk.c: Likewise.
11862         * debug/fread_u_chk.c: Likewise.
11863         * debug/gets_chk.c: Likewise.
11864         * debug/obprintf_chk.c: Likewise.
11865         * debug/vasprintf_chk.c: Likewise.
11866         * debug/vdprintf_chk.c: Likewise.
11867         * debug/vsnprintf_chk.c: Likewise.
11868         * debug/vsprintf_chk.c: Likewise.
11869         * malloc/mtrace.c: Likewise.
11870         * misc/error.c: Likewise.
11871         * misc/syslog.c: Likewise.
11872         * stdio-common/asprintf.c: Likewise.
11873         * stdio-common/fxprintf.c: Likewise.
11874         * stdio-common/getw.c: Likewise.
11875         * stdio-common/isoc99_fscanf.c: Likewise.
11876         * stdio-common/isoc99_scanf.c: Likewise.
11877         * stdio-common/isoc99_vfscanf.c: Likewise.
11878         * stdio-common/isoc99_vscanf.c: Likewise.
11879         * stdio-common/isoc99_vsscanf.c: Likewise.
11880         * stdio-common/printf-prs.c: Likewise.
11881         * stdio-common/printf_fp.c: Likewise.
11882         * stdio-common/printf_fphex.c: Likewise.
11883         * stdio-common/printf_size.c: Likewise.
11884         * stdio-common/putw.c: Likewise.
11885         * stdio-common/scanf.c: Likewise.
11886         * stdio-common/sprintf.c: Likewise.
11887         * stdio-common/tmpfile.c: Likewise.
11888         * stdio-common/vfprintf.c: Likewise.
11889         * stdio-common/vfscanf.c: Likewise.
11890         * stdlib/strfmon_l.c: Likewise.
11891         * sunrpc/openchild.c: Likewise.
11892         * sunrpc/xdr_stdio.c: Likewise.
11893         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11894         * sysdeps/mach/hurd/tmpfile.c: Likewise.
11896 2012-05-24  Roland McGrath  <roland@hack.frob.com>
11898         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11900         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11901         in the third column, to generate for the shared library an IFUNC
11902         that uses _dl_vdso_vsym.
11903         * Makerules (COMPILE.c, compile-stdin.c): New variables.
11904         * Makeconfig (object-suffixes-noshared): New variable.
11906         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11907         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11908         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11909         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11911         [BZ #14132]
11912         * include/sys/time.h (__gettimeofday): Remove macro.
11913         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11914         * time/gettimeofday.c (__gettimeofday): Remove #undef.
11915         Remove INTDEF.
11916         (__gettimeofday): Add libc_hidden_def.
11917         (gettimeofday): Add libc_hidden_weak.
11918         * sysdeps/mach/gettimeofday.c: Likewise.
11919         * sysdeps/posix/gettimeofday.c: Likewise.
11920         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11921         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11922         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11923         (__gettimeofday_internal): Remove strong_alias.
11924         (__gettimeofday): Add libc_hidden_def.
11925         (gettimeofday): Add libc_hidden_weak.
11926         * sysdeps/unix/syscalls.list (gettimeofday):
11927         Remove __gettimeofday_internal alias.
11929 2012-05-24  Daniel Jacobowitz  <drow@false.org>
11930             H.J. Lu  <hongjiu.lu@intel.com>
11932         [BZ #12495]
11933         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11934         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11935         (largebin_index_32_big): New.
11936         (largebin_index): Use it for 16-byte alignment.
11937         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
11938         correction with front_misalign.
11940 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11944         Likewise.
11945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11946         Likewise.
11947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11948         Likewise.
11949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11950         Likewise.
11951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11952         Likewise.
11953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11954         Likewise.
11955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11956         Likewise.
11957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11958         Likewise.
11959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11960         Likewise.
11961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11962         Likewise.
11963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11964         Likewise.
11965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11966         Likewise.
11968         * scripts/data/c++-types-x32-linux-gnu.data: New file.
11969         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11971 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11973         [BZ #10846]
11974         [BZ #14036]
11975         * math/libm-test.inc (exp_test): Add test from bug 14036.
11976         (pow_test): Add test from bug 10846.
11978         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11979         and other flags.
11980         (special_function): Do not include flags in test name.
11981         (parse_args): Likewise.
11982         * sysdeps/i386/fpu/libm-test-ulps: Update.
11983         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11984         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11985         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11988         * math/gen-libm-test.pl (%beautify): Add entries for underflow
11989         exceptions.
11990         * math/libm-test.inc ("Philosophy"): Update comment about
11991         exception testing.
11992         (UNDERFLOW_EXCEPTION): New macro.
11993         (UNDERFLOW_EXCEPTION_OK): Likewise.
11994         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11995         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11996         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11997         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11998         (INVALID_EXCEPTION_OK): Update value.
11999         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12000         (OVERFLOW_EXCEPTION_OK): Likewise.
12001         (IGNORE_ZERO_INF_SIGN): Likewise.
12002         (test_exceptions): Handle underflow exceptions.
12003         (acos_test): Update for underflow exception expectations.
12004         (cexp_test): Likewise.
12005         (clog_test): Likewise.
12006         (clog10_test): Likewise.
12007         (csqrt_test): Likewise.
12008         (ctan_test): Likewise.
12009         (ctanh_test): Likewise.
12010         (exp_test): Likewise.
12011         (exp10_test): Likewise.
12012         (exp2_test): Likewise.
12013         (expm1_test): Likewise.
12014         (fma_test): Likewise.
12015         (j0_test): Likewise.
12016         (jn_test): Likewise.
12017         (nexttoward_test): Likewise.
12018         (pow_test): Likewise.
12019         (scalbn_test): Likewise.
12020         (scalbln_test): Likewise.
12021         (tan_test): Likewise.
12022         (y1_test): Likewise.
12023         * sysdeps/i386/fpu/libm-test-ulps: Update.
12024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12026 2012-05-23  David S. Miller  <davem@davemloft.net>
12028         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12029         (__libc_sigaction): Remove unused local variables.
12031 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12033         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12035 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12037         mktime: avoid signed integer overflow
12038         * time/mktime.c (__mktime_internal): Do not mishandle the case
12039         where diff == INT_MIN.
12041         mktime: simplify computation of average
12042         * time/mktime.c (ranged_convert): Use new time_t_avg function
12043         instead of rolling our own (probably-slower) code.
12045         mktime: do not assume signed right shift propagates sign bit
12046         * time/mktime.c (isdst_differ): New static function.
12047         (__mktime_internal): No need to normalize tm_isdst now.
12048         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12049         tm_isdst values.
12051         mktime: merge another wrapv change from gnulib
12052         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12053         from some compilers.
12055         mktime: remove incorrect attempt at unusual arithmetics
12056         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12057         The code didn't really work on such machines anyway.
12058         (TYPE_MINIMUM): Assume two's complement.
12059         (twos_complement_arithmetic): Verify that long_int and time_t
12060         are two's complement (or unsigned, in the latter case).
12062         mktime: check signed shifts on long_int and time_t, too
12063         * time/mktime.c (SHR): Check that shifts work as desired
12064         on the types long_int and time_t too, as SHR is used on
12065         such types.
12067         mktime: do not assume 'long' is wide enough
12068         * time/mktime.c (verify): Move decl up.
12069         (long_int): New type.
12070         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12071         to remove assumption in the code that 'long' is wide enough to
12072         store year values.  This assumption is not true on x32 and on
12073         some non-glibc platforms.
12075         mktime: merge wrapv change from gnulib
12076         * time/mktime.c (WRAPV): New macro.
12077         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12078         (guess_time_tm, __mktime_internal): Do not assume that signed
12079         integer overflow wraps around; modern compilers generate code
12080         where this assumption is no longer valid.
12082 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12084         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12085         Replace "jmp L(pseudo_end)" with "ret".
12086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12087         Likewise.
12089 2012-05-23  Andreas Jaeger  <aj@suse.de>
12091         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12092         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12094 2012-05-23  Andreas Jaeger  <aj@suse.de>
12095             Maximilian Attems  <max@stro.at>
12097         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12098         New macros.
12100 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12102         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12103         code so that pseudo_end is just ret and the stack pointer is
12104         correct also for static library in error case.
12106 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12108         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12109         move to syscalls.list.
12110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12115         * manual/install.texi (Running make install): Do not mention Linux
12116         kernel version for which pt_chown is not needed.
12117         (Linux): Do not mention problems with nscd with 2.0 kernels.
12118         * INSTALL: Regenerated.
12120 2012-05-23  Andreas Jaeger  <aj@suse.de>
12122         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12123         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12124         macro.
12125         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12126         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12127         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12128         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12129         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12130         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12131         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12132         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12133         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12134         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12135         * sysdeps/unix/sysv/linux/bits/in.h
12136         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12138 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12140         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12141         (PREPARE_VERSION): Just use assert instead, it will be elided
12142         under [NDEBUG] anyway.
12144 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12146         * sysdeps/unix/sysv/linux/Makefile: Include
12147         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12148         (sysdep_routines): Remove sysctl.
12149         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12150         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12151         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12152         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12153         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12155 2012-05-22  Andreas Jaeger  <aj@suse.de>
12157         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12158         that pseudo_end is just ret and the stack pointer is correct also
12159         for static library in error case.
12161 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12163         [BZ #14122]
12164         * nss/nsswitch.c (defconfig_entries): New variable.
12165         (__nss_database_lookup): Don't leak defconfig entries.
12166         (nss_parse_service_list): Don't leak on error paths.
12167         (free_database_entries): New function.
12168         (free_defconfig): New function.
12169         (free_mem): Move common code to free_database_entries.
12171 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12173         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12174         Add arch_prctl.
12175         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12177         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12178         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12179         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12180         New macro.
12181         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12182         (INTERNAL_SYSCALL_TYPES): Likewise.
12183         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12184         (LOAD_REGS_TYPES_[1-6]): Likewise.
12185         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12186         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12188 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12190         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12191         copysignl for GLIBC_2_0.
12192         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12193         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12195         logbl for GLIBC_2_0.
12196         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12197         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12199 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12201         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12202         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12204         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12205         Use "neg %eax".
12207         * time/mktime.c: Update copyright years.
12209 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12211         mktime: merge comment-quoting-style change from gnulib
12212         * time/mktime.c: Quote 'like this' in comments.
12213         The GNU coding standards suggest that we no longer quote `like this',
12214         as "`" and "'" are typically rendered asymmetrically nowadays.
12215         The typical gnulib style is to quote 'like this' when quoting
12216         code, and "like this" when quoting English.
12218         * time/mktime.c (compile-command): Add "-I.".
12220         mktime: merge mktime-internal.h change from gnulib
12221         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12223         mktime: merge time_r change from gnulib
12224         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12226         mktime: merge DEBUG change from gnulib
12227         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12228         case system <time.h> has a #define.
12230         mktime: merge <sys/types.h> change from gnulib
12231         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12232         since <time.t> is now guaranteed to define time_t.
12234         mktime: merge HAVE_CONFIG_H change from gnulib
12235         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12237 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12240         Use "neg %eax".
12242         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12243         __rlim_t cast.
12244         (struct rusage): Use anonymous union to pad each field to
12245         __syscall_slong_t.
12247 2012-05-21  David S. Miller  <davem@davemloft.net>
12249         * Makefules (o-iterator): Remove .s cases.
12250         (compile-command.s): Delete.
12251         (COMPILE.s): Delete.
12252         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12254 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12256         * configure.in (libc_cv_predef_stack_protector): Only consider
12257         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12258         * configure: Regenerated.
12260 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12263         New macro.  Use R*LP on int and pointer.
12264         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12265         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12266         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12267         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12269         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12270         [__WORDSIZE_TIME64_COMPAT32] instead of
12271         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12272         (struct utmp): Likewise.
12273         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12274         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12275         Renamed to ...
12276         (__WORDSIZE_TIME64_COMPAT32): This.
12277         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12278         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12279         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12280         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12281         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12282         (__WORDSIZE_TIME64_COMPAT32): New macro.
12284 2012-05-21  Andreas Jaeger  <aj@suse.de>
12286         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12287         only if [SHARED]. Add prototype for __wcschr_ia32.
12289 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12291         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12292         of %rbp unmolested in the jmp_buf while mangling the low bits.
12293         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12294         unmolested high bits of %rbp while demangling the low bits.
12295         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12297 2012-05-21  Andreas Jaeger  <aj@suse.de>
12299         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12300         * sunrpc/svc_simple.c: Use it for registerrpc.
12301         * sunrpc/xcrypt.c: Use it for passwd2des.
12303         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12305 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12307         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12308         Don't define if [__SYSCALL_WORDSIZE != 32].
12309         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12310         New macro.
12312 2012-05-21  Bruno Haible  <bruno@clisp.org>
12313             Andreas Jaeger  <aj@suse.de>
12315         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12316         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12317         inptr and inend for must_buffer_ch.
12318         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12319         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12320         * stdio-common/Makefile (tests): Remove bug15.
12321         (bug15-ENV): Remove macro.
12322         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12323         anymore.
12325 2012-05-19  Andreas Jaeger  <aj@suse.de>
12326             Roland McGrath  <roland@hack.frob.com>
12328         * manual/contrib.texi: Completely rewritten. It contains now an
12329         alphabetical list of contributors and their contributions.
12331 2012-05-21  Richard Henderson  <rth@twiddle.net>
12333         * misc/getauxval.c (__getauxval): Use unsigned long int.
12334         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12335         (getauxval): Use unsigned long int.
12337 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12339         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12341 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12343         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12344         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12345         __alignof__ (long double).
12347 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12351 2012-05-20  Richard Henderson  <rth@twiddle.net>
12353         * misc/getauxval.c: New file.
12354         * misc/sys/auxv.h: New file.
12355         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12356         (routines): Add getauxval.
12357         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12358         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12359         * elf/dl-sysdep.c (_dl_auxv): Remove.
12360         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12361         * elf/dl-support.c (_dl_auxv): New variable.
12362         (_dl_aux_init): Initialize it.
12363         * manual/startup.texi (Auxiliary Vector): New node.
12364         * sysdeps/generic/bits/hwcap.h: New file.
12365         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12366         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12367         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12368         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12369         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12370         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12372         Update.
12373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12376         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12382 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12386 2012-05-19  David S. Miller  <davem@davemloft.net>
12388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12390 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12392         [BZ #14123]
12393         * math/s_ccosh.c: Include <float.h>
12394         (__ccosh): Avoid internal overflow calculating sinh and cosh
12395         values before multiplying by sin and cos values.
12396         * math/s_ccoshf.c: Likewise.
12397         * math/s_ccoshl.c: Likewise.
12398         * math/s_csin.c: Likewise.
12399         * math/s_csinf.c: Likewise.
12400         * math/s_csinl.c: Likewise.
12401         * math/s_csinh.c: Likewise.
12402         * math/s_csinhf.c: Likewise.
12403         * math/s_csinhl.c: Likewise.
12404         * math/libm-test.inc (ccos_test): Add more tests.
12405         (ccosh_test): Likewise.
12406         (csin_test): Likewise.
12407         (csinh_test): Likewise.
12408         * sysdeps/i386/fpu/libm-test-ulps: Update.
12409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12411 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12413         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12414         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12416         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12418 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12420         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12421         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12422         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12423         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12424         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12425         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12426         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12427         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12428         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12429         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12430         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12431         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12432         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12433         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12434         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12435         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12436         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12437         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12438         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12439         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12440         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12441         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12442         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12443         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12444         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12445         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12446         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12447         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12448         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12449         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12450         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12452 2012-05-18  Andreas Jaeger  <aj@suse.de>
12454         * csu/.gitignore: Delete.
12456 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12458         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12459         (timex): Use __syscall_slong_t.
12461 2012-05-18  Andreas Jaeger  <aj@suse.de>
12462             Carlos O'Donell  <carlos_odonell@mentor.com>
12464         * manual/install.texi (Configuring and compiling): Update
12465         description about files modified in the source directory.
12466         * INSTALL: Regenerated.
12468 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12470         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12471         value.  Use "or" to set return value to -1.
12472         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12473         negate return value.
12475 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12477         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12478         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12479         failure if the compiler has Graphite support disabled.
12480         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12481         Likewise.
12482         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12483         CFLAGS-memmove.c): Likewise.
12484         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12485         Likewise.
12487 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12489         * sysdeps/x86_64/x32/_itoa.h: New file.
12491         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12492         getdents system call only if kernel and user dirents have the
12493         same d_ino and d_off.
12495         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12496         LLONG_MAX != LONG_MAX.
12497         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12498         (_fitoa_word): Likewise.
12500         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12501         years.
12502         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12503         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12504         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12506         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12507         include <bits/wordsize.h>.  Check __x86_64__ instead of
12508         __WORDSIZE.
12509         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12510         if __x86_64__ is defined.  Use anonymous union on fpstate.
12512         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12513         anonymous union.
12515 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
12517         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12518         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12519         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12520         Refer to _rtld_local_ro instead of _rtld_global_ro.
12521         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12522         Likewise.
12523         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12524         Likewise.
12525         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12526         Likewise.
12527         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12528         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12529         of _rtld_global, and rtld_progname instead of _dl_argv[0].
12531         * sysdeps/powerpc/powerpc32/dl-machine.c
12532         (__elf_machine_runtime_setup) [PROF]: Don't reference
12533         _dl_prof_resolve.
12535 2012-05-18  Andreas Jaeger  <aj@suse.de>
12537         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12538         function only available for GCCs before 3.4 since GCC 3.4
12539         introduced a builtin.
12540         (lrint): Likewise.
12541         (llrintf): Likewise.
12542         (llrint): Likewise.
12543         (fmaxf): Likewise.
12544         (fmax): Likewise.
12545         (fminf): Likewise.
12546         (fmin): Likewise.
12547         (rint): Likewise.
12548         (rintf): Likewise.
12549         (nearbyint): Likewise.
12550         (nearbyintf): Likewise.
12551         (ceil): Likewise.
12552         (ceilf): Likewise.
12553         (floor): Likewise.
12554         (floorf): Likewise.
12556 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12558         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12559         on both fields and cast pointer to __syscall_ulong_t.
12561         * bits/types.h (__fsword_t): New type.
12562         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12563         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12565         (__FSWORD_T_TYPE): Likewise.
12566         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12567         (__FSWORD_T_TYPE): Likewise.
12568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12569         (__FSWORD_T_TYPE): Likewise.
12570         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12571         (__FSWORD_T_TYPE): Likewise.
12572         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12573         __SWORD_TYPE with __fsword_t.
12574         (statfs64): Likewise.
12576 2012-05-17  David S. Miller  <davem@davemloft.net>
12578         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12580 2012-05-17  Andreas Jaeger  <aj@suse.de>
12582         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12583         warning.
12585 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12587         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12589 2012-05-17  Andreas Jaeger  <aj@suse.de>
12591         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12592         when it is used.
12594 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12596         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12598 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12600         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12601         * sysdeps/x86_64/tst-mallocalign1.c: New file.
12603 2012-05-17  Andreas Jaeger  <aj@suse.de>
12604             Carlos O'Donell  <carlos_odonell@mentor.com>
12606         [BZ #14059]
12607         * sysdeps/x86_64/multiarch/init-arch.h
12608         (bit_YMM_Usable): Rename to...
12609         (bit_AVX_Usable): ... this.
12610         (bit_FMA4_Usable): New macro.
12611         (bit_XMM_state): New macro.
12612         (bit_YMM_state): New macro.
12613         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12614         [__ASSEMBLER__] (index_AVX_Usable): ... this.
12615         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12616         (CPUID_OSXSAVE): New macro.
12617         (CPUID_AVX): New macro.
12618         (CPUID_FMA4): New macro.
12619         (index_YMM_Usable): Rename to...
12620         (index_AVX_Usable): ... this.
12621         (HAS_AVX): Use HAS_ARCH_FEATURE.
12622         (HAS_FMA4): Likewise.
12623         (HAS_YMM_USABLE): Remove.
12624         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12625         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12626         are present.
12627         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12628         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12629         * sysdeps/x86_64/multiarch/Makefile: Likewise.
12630         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12631         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12633 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12635         * math/libm-test.c: Support platforms without multiple rounding modes.
12636         * math/bug-nextafter.c: Support platforms without FP exceptions.
12637         * math/bug-nexttoward.c: Likewise.
12638         * math/test-fenv.c: Likewise.
12639         * math/test-misc.c: Likewise.
12640         * stdlib/bug-getcontext.c: Likewise.
12642 2012-05-17  Andreas Jaeger  <aj@suse.de>
12644         * manual/examples/search.c (critter_cmp): Change signature to
12645         avoid warnings.
12646         * manual/string.texi (Collation Functions): Likewise.
12648 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12650         * bits/types.h: Fold copyright years.
12651         * bits/typesizes.h: Likewise.
12652         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12653         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12654         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12655         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12656         * time/time.h: Likewise.
12658 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
12660         [BZ #208]
12661         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12662         in instead of returning them.  Return void.
12663         (__libc_mallinfo): Accumulate over all arenas.
12664         (__malloc_stats): Adjust for change in int_mallinfo interface.
12666 2012-05-16  Roland McGrath  <roland@hack.frob.com>
12668         [BZ #10375]
12669         * configure.in (NM): Add AC_CHECK_TOOL for it.
12670         (libc_extra_cflags): New substituted variable.
12671         Check for -fstack-protector being used implicitly.
12672         * configure: Regenerated.
12673         * config.make.in (config-extra-cflags): New variable,
12674         gets @libc_extra_cflags@.
12675         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12677         [BZ #10375]
12678         * configure.in: Check for _FORTIFY_SOURCE being predefined.
12679         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12680         * configure: Regenerated.
12681         * config.make.in (CPPUNDEFS): New substituted variable.
12682         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12683         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12684         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12686 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12688         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12689         (mq_attr): Use __syscall_slong_t.
12691 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12693         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12694         Check __x86_64__ instead of __WORDSIZE.
12695         (_STAT_VER_LINUX): Likewise.
12696         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
12697         __syscall_ulong_t and __syscall_slong_t.
12698         (stat64): Likewise.
12700 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12702         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12704 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12706         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12708 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12710         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12711         __syscall_ulong_t.
12713         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12714         include <bits/wordsize.h>.  Check __x86_64__ instead of
12715         __WORDSIZE.
12716         (greg_t): Use "__extension__ long long int" if __x86_64__ is
12717         defined.
12718         (mcontext_t): Replace "unsigned long" with "unsigned long long".
12720         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12721         include <bits/wordsize.h>.  Check __x86_64__ instead of
12722         __WORDSIZE.
12723         (user_regs_struct): Use "__extension__ unsigned long long"
12724         instead of "unsigned long" if __x86_64__ is defined.
12725         (user): Likewise.  Pad after pointer field if __ILP32__ is
12726         defined.
12728 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
12730         * configure.in (makeinfo): Require version 4.5 or later.  Allow
12731         versions 5 to 9.
12732         * configure: Regenerated.
12733         * manual/install.texi (texinfo): Increase version requirement to
12734         4.5 or later.
12735         * INSTALL: Regenerated.
12737         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12739 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12741         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12743         * sysdeps/x86_64/x32/ffs.c: New file.
12745         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12746         __syscall_ulong_t.
12747         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12748         defined.  Use __syscall_ulong_t.
12749         (shminfo): Use __syscall_ulong_t.
12750         (shm_info): Likewise.
12752         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12753         __syscall_ulong_t.
12755         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12756         <bits/wordsize.h>.
12757         (msgqnum_t): Use __syscall_ulong_t.
12758         (msglen_t): Likewise.
12759         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
12760         __syscall_ulong_t.
12762         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12763         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12765         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12767         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12768         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12770         * sysvipc/sys/msg.h (msgbuf): Replace long int with
12771         __syscall_slong_t.
12773         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12774         include <bits/wordsize.h>.  Check __x86_64__ instead of
12775         __WORDSIZE.
12777         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12778         "unsigned long long int" if __x86_64__ is defined.
12779         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12781         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12782         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12783         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12785         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12786         <stdint.h>.
12787         (GET_PC): Cast to uintptr_t first.
12788         (GET_FRAME): Likewise.
12789         (GET_STACK): Likewise.
12791         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12792         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12793         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12794         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12795         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12796         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12797         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12798         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12799         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12800         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12801         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12802         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12803         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12804         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12805         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12806         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12807         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12808         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12809         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12810         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12811         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12812         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12813         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12814         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12815         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12816         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12817         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12818         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12819         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12821 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
12823         * Makerules (+depfiles): Also collect depfiles from .oS in
12824         $(extra-objs).
12825         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12826         .oS, $(libnldbl-routines)).
12828         * Makerules (native-compile-mkdep-flags): Define.
12829         * sunrpc/Makefile (extra-objs): Add $(addprefix
12830         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12831         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12832         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
12833         calling $(make-target-directory).
12835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12837         * bits/types.h (__snseconds_t): Removed.
12838         * time/time.h (struct timespec): Replace __snseconds_t with
12839         __syscall_slong_t.
12840         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12841         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12842         Likewise.
12843         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12844         (__SNSECONDS_T_TYPE): Likewise.
12845         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12846         (__SNSECONDS_T_TYPE): Likewise.
12847         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12848         (__SNSECONDS_T_TYPE): Likewise.
12850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12852         * sysdeps/mach/hurd/bits/typesizes.h
12853         (__SYSCALL_SLONG_TYPE): New macro.
12854         (__SYSCALL_ULONG_TYPE): Likewise.
12856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12858         * bits/types.h (__syscall_slong_t): New type.
12859         (__syscall_ulong_t): Likewise.
12861         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12862         (__SYSCALL_ULONG_TYPE): Likewise.
12863         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12864         (__SYSCALL_SLONG_TYPE): Likewise.
12865         (__SYSCALL_ULONG_TYPE): Likewise.
12866         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12867         (__SYSCALL_SLONG_TYPE): Likewise.
12868         (__SYSCALL_ULONG_TYPE): Likewise.
12869         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12870         (__SYSCALL_SLONG_TYPE): Likewise.
12871         (__SYSCALL_ULONG_TYPE): Likewise.
12873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12875         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12876         Add sigaltstack-offsets.sym.
12877         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12878         <sigaltstack-offsets.h>.
12879         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
12880         longjmp_msg pointer.
12881         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
12882         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12883         signal stack.
12884         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12886 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12888         * elf/stackguard-macros.h: Remove file.
12889         * sysdeps/generic/stackguard-macros.h: New file.
12890         * sysdeps/i386/stackguard-macros.h: Likewise.
12891         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12892         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12893         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12894         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12895         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12896         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12897         * sysdeps/x86_64/stackguard-macros.h: Likewise.
12898         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12899         <elf/stackguard-macros.h>.
12901         [BZ #14109]
12902         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12903         __aligned__ in attribute.
12904         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12905         (gregset_t): Likewise.
12907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12909         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12910         * sysdeps/x86_64/64/Implies-after: Here.  New file.
12911         * sysdeps/x86_64/x32/Implies-after: New file.
12913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12915         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12916         and access return value for _dl_profile_fixup.  Use R10_LP to
12917         load frame size.
12919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12921         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12925         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12926         * sysdeps/x86_64/x32/sysdep.h: New file.
12928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12930         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12931         * sysdeps/x86_64/setjmp.S: Likewise.
12933 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12935         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12936         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12937         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12938         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12939         remove unused global constant.
12941 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
12943         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12944         include of <not-cancel.h>.
12946 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12948         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12950 2012-05-15  Jeff Law  <law@redhat.com>
12951             Andreas Jaeger  <aj@suse.de>
12953         [BZ #13594]
12954         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12955         out from...
12956         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12957         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12958         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12959         code changing __hst_map_handle.map.
12961 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12963         * configure.in (sysnames): Look for Implies-before and Implies-after
12964         files.
12965         * configure: Regenerated.
12967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12969         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12970         8-byte data alignment with LP_SIZE alignment.
12972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12974         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12975         into R10_LP.
12977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12979         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12983         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12984         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12985         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12986         Likewise.
12987         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12991         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12992         (stackinfo_sub_sp): Likewise.
12994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12996         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12997         RAX_LP.
12999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13001         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13002         into R*_LP.
13004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13006         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13007         sizes into R*_LP.
13009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13011         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13015         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13016         into R11_LP and load __x86_64_shared_cache_size_half into
13017         R8_LP.
13019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13021         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13022         R8_LP.
13024 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13026         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13027         logb for POWER7.
13028         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13029         logbf for POWER7.
13030         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13031         logbl for POWER7.
13032         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13033         powerpc32/power7/fpu/s_logb.c via #include.
13034         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13035         powerpc32/power7/fpu/s_logbf.c via #include.
13036         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13037         powerpc32/power7/fpu/s_logbl.c via #include.
13039 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13041         * README.libm: Remove file.
13043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13045         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13046         count for x32.  Use R*_LP and omit operand-size suffix.
13048 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13050         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13051         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13052         * sysdeps/x86_64/x32/shlib-versions: New file.
13054 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13056         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13057         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13058         Use _dl_fatal_printf instead.
13060 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13062         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13063         set if not set by the user.  Do not allow for being unset.
13064         * sysdeps/unix/sysv/linux/configure: Regenerated.
13066 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13068         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13069         the `q' suffix from lea and replace .quad with ASM_ADDR.
13071 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13073         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13074         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13075         instead of $17.
13076         (PTR_DEMANGLE): Likewise.
13078 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13080         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13081         (LP_OP): Likewise.
13082         (ASM_ADDR): Likewise.
13083         (RAX_LP): Likewise.
13084         (RBP_LP): Likewise.
13085         (RBX_LP): Likewise.
13086         (RCX_LP): Likewise.
13087         (RDI_LP): Likewise.
13088         (RSI_LP): Likewise.
13089         (RSP_LP): Likewise.
13090         (R8_LP): Likewise.
13091         (R9_LP): Likewise.
13092         (R10_LP): Likewise.
13093         (R10_LP): Likewise.
13094         (R11_LP): Likewise.
13095         (R12_LP): Likewise.
13096         (R13_LP): Likewise.
13097         (R14_LP): Likewise.
13098         (R15_LP): Likewise.
13100 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13102         * sysdeps/x86_64/x32/dl-machine.h: New file.
13104 2012-05-14  Andreas Jaeger  <aj@suse.de>
13106         * manual/Makefile (subdir): Remove export of subdir.
13107         (all): Remove target.
13108         (.PHONY): Remove all from list.
13109         (mkinstalldirs): Remove.
13110         (.PHONY): Remove installdirs from list.
13111         ($(inst_infodir)/libc.info): Use make-target-directory.
13112         (installdirs): Remove.
13113         (subdir_%): Remove.
13114         (glibc-targets): Remove.
13115         (lib): Remove.
13116         (stubs): Remove.
13117         ($(objpfx)stubs ../po/manual.pot): Remove.
13118         ($(objpfx)stamp%): Remove.
13119         (make-target-directory): Remove.
13120         (subdir_install): Remove.
13121         (routines): Remove.
13122         (aux): Remove.
13123         (sources): Remove.
13124         (objects): Remove.
13125         (headers): Remove.
13127         [BZ #13750]
13128         * manual/.gitignore: Remove, it's not needed anymore.
13129         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13130         all files in it.
13131         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13132         directory.
13133         (texis): Renamed to $(objpfx)texis.
13134         (texis-path): New, contains path to generated files.
13135         (chapters.%): Use texis-path for complete path, add extra argument
13136         libc-texinfo.sh.
13137         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13138         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13139         (summary,texi, stamp-summary): Use complete path of
13140         files. Generate files in build dir.
13141         (dir-add.texi): Build in build dir.
13142         (libm-err.texi,stamp-libm-err): Likewise.
13143         (version.texi, stamp-version): Likewise.
13144         (.%c.texi): Likewise.
13145         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13146         (mostlyclean): Remove target.
13147         (realclean): Remove target.
13148         (generated): Add new variable with contents from mostlyclean and
13149         realclean, remove entries duplicated in common-mostlyclean, add
13150         stamp-libm-err and stamp-version.
13151         (generated-dirs): Add libc directory.
13152         ($(inst_infodir)/libc.info): Install files from build dir.
13154         * manual/install.texi (Configuring and compiling): Adjust since
13155         the info files are not part of the tar ball anymore.
13157 2012-05-14  Andreas Jaeger  <aj@suse.de>
13159         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13160         variable.
13162 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13164         [BZ #13717]
13165         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13166         to 2.2.0 where earlier.
13167         * sysdeps/unix/sysv/linux/configure: Regenerated.
13168         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13169         Remove conditional code.
13170         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13171         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13172         Remove conditional code.
13173         [!__NR_lchown]: Likewise.
13174         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13175         [__NR_lchown]: Likewise.
13176         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13177         comment referencing __ASSUME_LCHOWN_SYSCALL.
13178         * sysdeps/unix/sysv/linux/i386/sigaction.c
13179         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13180         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13181         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13182         Remove conditional code.
13183         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13184         (__protocol_available): Remove #if 0 code.
13185         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13186         conditional code.
13187         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13188         * sysdeps/unix/sysv/linux/kernel-features.h
13189         (__ASSUME_GETCWD_SYSCALL): Don't define.
13190         (__ASSUME_REALTIME_SIGNALS): Likewise.
13191         (__ASSUME_PREAD_SYSCALL): Likewise.
13192         (__ASSUME_PWRITE_SYSCALL): Likewise.
13193         (__ASSUME_POLL_SYSCALL): Likewise.
13194         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13195         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13196         non-SPARC.
13197         (__ASSUME_SIOCGIFNAME): Don't define.
13198         (__ASSUME_MSG_NOSIGNAL): Likewise.
13199         (__ASSUME_SENDFILE): Define unconditionally.
13200         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13201         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13202         conditional code.
13203         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13204         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13205         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13206         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13207         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13208         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13209         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13211         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13212         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13214         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13215         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13217         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13218         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13220         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13223         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13224         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13226         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13229         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13230         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13232         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13233         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13234         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13235         Remove conditional code.
13236         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13237         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13238         Remove conditional code.
13239         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13240         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13241         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13242         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13243         Remove conditional code.
13244         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13245         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13246         Remove conditional code.
13247         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13248         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13249         Remove conditional code.
13250         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13251         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13252         Remove conditional code.
13253         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13254         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13255         Remove conditional code.
13256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13257         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13258         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13259         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13260         * sysdeps/unix/sysv/linux/sigaction.c
13261         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13262         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13263         * sysdeps/unix/sysv/linux/sigpending.c
13264         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13265         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13266         * sysdeps/unix/sysv/linux/sigprocmask.c
13267         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13268         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13269         * sysdeps/unix/sysv/linux/sigsuspend.c
13270         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13271         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13272         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13273         (__libc_missing_rt_sigs): Remove.
13274         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13275         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13276         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13277         Remove conditional code.
13278         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13279         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13280         return 1.
13281         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13282         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13283         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13284         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13286 2012-05-14  Andreas Jaeger  <aj@suse.de>
13288         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13289         it's not used in glibc.
13290         (__coshm1): Likewise.
13291         (__acosh1p): Likewise.
13292         (__sgn): Likewise.
13294         * manual/string.texi (Copying and Concatenation): Add missing
13295         variable in concat example.
13296         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13298 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13300         [BZ #14103]
13301         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13302         __builtin_clzl with __builtin_clzll.
13304 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13306         [BZ #14104]
13307         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13308         libc_freeres_ptr.
13310 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13312         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13313         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13314         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13315         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13317 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13319         * NEWS: Update ia64 info.
13321 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13323         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13324         used as bcopy.
13326 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13328         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13329         * sysdeps/unix/syscalls.list (dup3): Likewise.
13330         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13331         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13333 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13335         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13336         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13338 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13340         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13341         thread pointer.
13342         (TLS_IE): Use mov/add instead of movq/addq to load thread
13343         pointer.
13344         (TLS_GD_PREFIX): New.
13345         (TLS_GD): Use it.
13347 2012-05-11  David S. Miller  <davem@davemloft.net>
13349         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13350         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13351         (_FPU_SETCW): Likewise.
13353 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13355         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13356         is 32-byte aligned.
13358 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13360         [BZ #11837]
13361         * iconvdata/gb18030.c: Update tables.
13362         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13363         characters specially.
13364         (BODY for TO_LOOP): Add encoding of missing ranges.
13366 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13368         [BZ #13673]
13369         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13370         * sysdeps/mach/hurd/dup3.c: Likewise.
13371         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13372         * sysdeps/powerpc/memmove.c:: Likewise.
13374 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13376         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13377         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13379 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13381         * elf/elf.h (R_X86_64_RELATIVE64): New.
13382         (R_X86_64_NUM): Updated.
13383         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13384         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13385         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13386         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13387         tst-quad1pie tst-quad2pie
13388         (modules-names): Add tst-quadmod1 tst-quadmod2.
13389         ($(objpfx)tst-quad1): New dependency.
13390         ($(objpfx)tst-quad2): Likewise.
13391         ($(objpfx)tst-quad1pie): Likewise.
13392         ($(objpfx)tst-quad2pie): Likewise.
13393         * sysdeps/x86_64/tst-quad1.c: New file.
13394         * sysdeps/x86_64/tst-quad1pie.c: New file.
13395         * sysdeps/x86_64/tst-quad2.c: Likewise.
13396         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13397         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13398         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13399         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13400         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13402 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13404         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13405         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13406         * streams/stropts.h (t_scalar_t): Define type.
13408         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13409         (_PATH_PRESERVE): Set to "/var/lib".
13410         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13412         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13413         instead of int.
13415         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13416         if __dir_mkfile succeeded.
13418         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13419         checking for _hurd_dtablesize.  Unlock it right after having
13420         finished _hurd_dtable allocation.
13422 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13424         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13425         * sysdeps/mach/hurd/configure: Regenerated.
13426         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13427         special-casing to...
13428         * sysdeps/gnu/configure.in: ... this new file.
13429         * sysdeps/unix/sysv/linux/configure: Regenerated.
13430         * sysdeps/gnu/configure: New generated file.
13432         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13433         for Linux: use nsec instead of usec, as well as:
13434         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13435         members of type struct timespec.
13436         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13437         New macros.
13438         (struct stat64): Likewise.
13439         (_STATBUF_ST_NSEC): New macro.
13440         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13442         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13443         __strtoul_internal rather than strtoul.
13445 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13447         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13448         and reject them.
13450 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13452         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13453         which preserves existing values.
13454         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13456 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13458         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13459         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13460         greater than FD_SETSIZE.
13462 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13464         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13465         allocated, call __vm_protect to finish enabling the existing space, and
13466         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13467         allocate the remainder.
13469 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13471         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13472         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13474 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13476         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13477         sysdeps/mach/hurd/readlink.c.
13479         * posix/tst-sysconf.c (posix_options): Only use
13480         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13481         _POSIX_SYNCHRONIZED_IO when they are defined
13482         * sysdeps/mach/hurd/bits/posix_opt.h:
13483         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13484         (_XOPEN_REALTIME): Undefine macro.
13485         (_XOPEN_REALTIME_THREADS): Undefine macro.
13486         (_XOPEN_SHM): Undefine macro.
13487         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13488         macro to -1.
13489         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13490         macro to -1.
13491         (_POSIX_ASYNC_IO): Undefine macro.
13492         (_POSIX_PRIORITIZED_IO): Undefine macro.
13493         (_POSIX_SPIN_LOCKS): Define macro to -1.
13495         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13496         SA_NODEFER, SA_RESETHAND.
13497         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13498         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13499         F_DUPFD_CLOEXEC.
13501 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13503         * elf/Makefile (pldd-modules): Define unconditionally.
13505 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13507         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13509 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13511         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13512         Return ENOENT when name is empty.
13513         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13515 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13517         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13519         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13521 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13523         Fix mlock in all cases except non-readable pages.
13524         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13525         instead of VM_PROT_ALL as parameter to __vm_wire function.
13527         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13528         (__mkdir): When path is `/', just fail with EEXIST.
13529         * sysdeps/mach/hurd/mkdirat.c: Likewise.
13531 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13533         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13534         <sys/uio.h> (for writev).
13535         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13536         and <sys/param.h> (for MIN).
13538 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13540         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13541         REQUESTED_TIME.  Properly set the remaining time and return EINTR
13542         if interrupted.
13544 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13546         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13547         Depend on against $(link-rpcuserlibs).
13549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13551         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13552         (__libc_stack_end): Do not use attribute_relro.
13553         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13554         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13555         to libthread-provided value.
13556         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13557         attribute_relro.
13559 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13561         [BZ #3748]
13562         * bits/libc-lock.h (__libc_once_get): New macro.
13563         * sysdeps/mach/bits/libc-lock.h: Likewise.
13564         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13565         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13566         instead of using implementation details.
13568         * libio/fileops.c: Unconditionally include <kernel-features.h>.
13569         * libio/freopen.c: Likewise.
13570         * libio/freopen64.c: Likewise.
13571         * misc/syslog.c: Likewise.
13572         * nscd/connections.c: Likewise.
13573         * nscd/netgroupcache.c: Likewise.
13574         * sysdeps/posix/getcwd.c: Likewise.
13576 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13578         * math/w_ilogbf.c: Add #include <limits.h>.
13580 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13582         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13583         path instead of returning without unlocking.
13585         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13586         immediate-write ioctls.
13587         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13591         * sysdeps/mach/hurd/i386/init-first.c (init): Use
13592         __builtin_frame_address instead of making assumptions about the
13593         location of the return address relative to DATA.  Force early load of
13594         the return address.
13595         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13596         __builtin_frame_address.
13598         dup3 for GNU Hurd.
13599         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13600         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
13601         implement dup3 and do some further code clean-ups.
13602         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13603         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13607         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13609         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13610         HURD_CRITICAL_END around holding _hurd_dtable_lock.
13611         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13612         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13613         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13614         d->port.lock.
13616         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13617         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
13618         when handler == SIG_ERR, not when handler != SIG_ERR.
13620 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13622         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13623         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13624         definitions.
13626         accept4 for GNU Hurd.
13627         * include/sys/socket.h (__libc_accept4): New prototype.
13628         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
13629         to implement __libc_accept4.
13630         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13631         __libc_accept4.
13632         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13634         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13635         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13636         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13637         signal-defines.sym.
13639 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13641         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13643 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13645         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13646         assertion on O_CLOEXEC flag.
13647         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13648         * hurd/intern-fd.c: Likewise.
13649         * hurd/port2fd.c: Likewise.
13651 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13653         [BZ #3906]
13654         * bits/in.h (IPV6_PKTINFO): Define new macro.
13655         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13657 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13659         [BZ #13954]
13660         [BZ #13955]
13661         [BZ #13956]
13662         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13663         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13664         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13665         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13666         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13667         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13668         * math/libm-test.inc (logb_test) : Additional logb tests.
13670 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
13671             Andreas Jaeger  <aj@suse.de>
13673         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13674         * configure: Regenerated.
13675         * config.h.in (LINK_OBSOLETE_RPC): New macro.
13676         * config.make.in (link-obsolete-rpc): New substituted variable.
13677         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13678         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13679         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13680         (shared-only-routines): Don't set it under [link-obsolete-rpc],
13681         so that libc.a contains the symbols.
13682         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13683         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13684         * sunrpc/auth_none.c: Likewise.
13685         * sunrpc/auth_unix.c: Likewise.
13686         * sunrpc/authdes_prot.c: Likewise.
13687         * sunrpc/authuxprot.c: Likewise.
13688         * sunrpc/clnt_gen.c: Likewise.
13689         * sunrpc/clnt_perr.c: Likewise.
13690         * sunrpc/clnt_raw.c: Likewise.
13691         * sunrpc/clnt_simp.c: Likewise.
13692         * sunrpc/clnt_tcp.c: Likewise.
13693         * sunrpc/clnt_udp.c: Likewise.
13694         * sunrpc/clnt_unix.c: Likewise.
13695         * sunrpc/des_crypt.c: Likewise.
13696         * sunrpc/des_soft.c: Likewise.
13697         * sunrpc/get_myaddr.c: Likewise.
13698         * sunrpc/key_call.c: Likewise.
13699         * sunrpc/key_prot.c: Likewise.
13700         * sunrpc/netname.c: Likewise.
13701         * sunrpc/pm_getmaps.c: Likewise.
13702         * sunrpc/pm_getport.c: Likewise.
13703         * sunrpc/pmap_clnt.c: Likewise.
13704         * sunrpc/pmap_prot.c: Likewise.
13705         * sunrpc/pmap_prot2.c: Likewise.
13706         * sunrpc/pmap_rmt.c: Likewise.
13707         * sunrpc/publickey.c: Likewise.
13708         * sunrpc/rpc_cmsg.c: Likewise.
13709         * sunrpc/rpc_common.c: Likewise.
13710         * sunrpc/rpc_dtable.c: Likewise.
13711         * sunrpc/rpc_prot.c: Likewise.
13712         * sunrpc/rpc_thread.c: Likewise.
13713         * sunrpc/rtime.c: Likewise.
13714         * sunrpc/svc.c: Likewise.
13715         * sunrpc/svc_auth.c: Likewise.
13716         * sunrpc/svc_raw.c: Likewise.
13717         * sunrpc/svc_run.c: Likewise.
13718         * sunrpc/svc_tcp.c: Likewise.
13719         * sunrpc/svc_udp.c: Likewise.
13720         * sunrpc/svc_unix.c: Likewise.
13721         * sunrpc/svcauth_des.c: Likewise.
13722         * sunrpc/xcrypt.c: Likewise.
13723         * sunrpc/xdr.c: Likewise.
13724         * sunrpc/xdr_array.c: Likewise.
13725         * sunrpc/xdr_float.c: Likewise.
13726         * sunrpc/xdr_intXX_t.c: Likewise.
13727         * sunrpc/xdr_mem.c: Likewise.
13728         * sunrpc/xdr_rec.c: Likewise.
13729         * sunrpc/xdr_ref.c: Likewise.
13730         * sunrpc/xdr_sizeof.c: Likewise.
13731         * sunrpc/xdr_stdio.c: Likewise.
13733 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13735         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13736         change.  Update copyright years.
13738 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13740         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13742 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
13743             Joseph Myers  <joseph@codesourcery.com>
13744             Paul Pluzhnikov  <ppluzhnikov@google.com>
13746         [BZ #14012]
13747         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13748         requiring rpcgen.
13749         [cross-compiling] (extra-libs): Likewise.
13750         [cross-compiling] (extra-libs-others): Likewise.
13751         [cross-compiling] (librpcsvc-routines): Likewise.
13752         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13753         [cross-compiling] (omit-deps): Likewise.
13754         (sunrpc-CPPFLAGS): New variable.
13755         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13756         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13757         (cross-rpcgen-objs): New variable.
13758         (extra-objs): Append $(cross-rpcgen-objs).
13759         ($(cross-rpcgen-objs)): New rule.
13760         ($(objpfx)cross-rpcgen): Likewise.
13761         (rpcgen-cmd): Define to use $(built-program-file).  Expand
13762         comment.
13763         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13764         ($(objpfx)x%.stmp): Likewise.
13765         * sunrpc/proto.h [IS_IN_build] (_): Define.
13766         [IS_IN_build] (_libc_intl_domainname): Likewise.
13768 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13770         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13771         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13772         and R_X86_64_TPOFF64.
13774 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13776         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13777         sysdeps/unix/sysv/syscalls.list.
13778         (stime): Likewise.
13779         (utime): Likewise.
13780         * sysdeps/unix/sysv/syscalls.list: Remove file.
13782 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
13784         [BZ #3440]
13785         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13786         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13787         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13788         (__LC_IDENTIFICATION): Make these macros useful in #if
13789         expressions, as required by C99.
13791 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
13793         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13794         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
13795         after this.
13797 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
13799         * stdlib/longlong.h: Updated from GCC.
13801 2012-05-09  Andreas Jaeger  <aj@suse.de>
13803         * nscd/nscd.c (run_modes): Make named enum, reorder so that
13804         default is first entry.
13805         (run_mode): Set type.
13806         (main): Remove informal message about syslog.
13807         (options): Fix typo.
13809         [BZ #14053]
13810         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13811         to asm.
13812         (lrint): Likewise.
13813         (llrintf): Likewise.
13814         (llrint): Likewise.
13815         (rint): Likewise.
13816         (rintf): Likewise.
13817         (nearbyint): Likewise.
13818         (nearbyintf): Likewise.
13820 2012-05-09  Andreas Jaeger  <aj@suse.de>
13821             Pedro Alves  <palves@redhat.com>
13823         * nscd/nscd.c (run_mode): Use enum.
13824         (main): Cleanup coding style issue.
13826 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
13827             Andreas Jaeger  <aj@suse.de>
13829         * nscd/nscd.c (go_background): Replaced with...
13830         (run_mode): ... this.
13831         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13832         (options): Add -F --foreground.
13833         (main): Implement it.
13834         (parse_opt): Parse it.
13836 2012-05-09  Andreas Jaeger  <aj@suse.de>
13838         [BZ #14083]
13839         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13840         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13841         -Wconversion warning.
13842         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13843         Likewise.
13845 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
13847         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
13848         == 0.
13849         (LC_ALL): Use macro-int-constant.
13850         (LC_COLLATE): Likewise.
13851         (LC_CTYPE): Likewise.
13852         (LC_MESSAGES): Likewise.
13853         (LC_MONETARY): Likewise.
13854         (LC_NUMERIC): Likewise.
13855         (LC_TIME): Likewise.
13856         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13857         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13858         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13859         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13860         Specify type.
13861         [C99-based standards] (float_t): Expect type.
13862         [C99-based standards] (double_t): Expect type.
13863         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
13864         type.
13865         [C99-based standards] (HUGE_VALL): Likewise.
13866         [C99-based standards] (INFINITY): Likewise.
13867         [C99-based standards] (NAN): Likewise.
13868         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13869         [C99-based standards] (FP_NAN): Likewise.
13870         [C99-based standards] (FP_NORMAL): Likewise.
13871         [C99-based standards] (FP_SUBNORMAL): Likewise.
13872         [C99-based standards] (FP_ZERO): Likewise.
13873         [C99-based standards] (FP_FAST_FMA): Use
13874         optional-macro-int-constant.  Specify type.  Require == 1.
13875         [C99-based standards] (FP_FAST_FMAF): Likewise.
13876         [C99-based standards] (FP_FAST_FMAL): Likewise.
13877         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13878         [C99-based standards] (FP_ILOGBNAN): Likewise.
13879         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13880         Specify type.
13881         [C99-based standards] (MATH_ERREXCEPT): Likewise.
13882         [C99-based standards] (math_errhandling): Specify type.
13883         [ISO99 || ISO11] (signgam): Do not allow.
13884         [non-C99-based standards] (copysignf): Do not allow.
13885         [non-C99-based standards] (exp2f): Likewise.
13886         [non-C99-based standards] (log2f): Likewise.
13887         [non-C99-based standards] (modff): Allow.
13888         [non-C99-based standards] (erff): Do not allow.
13889         [non-C99-based standards] (erfcf): Likewise.
13890         [non-C99-based standards] (gammaf): Likewise.
13891         [non-C99-based standards] (hypotf): Likewise.
13892         [non-C99-based standards] (j0f): Likewise.
13893         [non-C99-based standards] (j1f): Likewise.
13894         [non-C99-based standards] (jnf): Likewise.
13895         [non-C99-based standards] (lgammaf): Likewise.
13896         [non-C99-based standards] (tgammaf): Likewise.
13897         [non-C99-based standards] (y0f): Likewise.
13898         [non-C99-based standards] (y1f): Likewise.
13899         [non-C99-based standards] (ynf): Likewise.
13900         [non-C99-based standards] (isnanf): Likewise.
13901         [non-C99-based standards] (acoshf): Likewise.
13902         [non-C99-based standards] (asinhf): Likewise.
13903         [non-C99-based standards] (atanhf): Likewise.
13904         [non-C99-based standards] (cbrtf): Likewise.
13905         [non-C99-based standards] (expm1f): Likewise.
13906         [non-C99-based standards] (ilogbf): Likewise.
13907         [non-C99-based standards] (log1pf): Likewise.
13908         [non-C99-based standards] (logbf): Likewise.
13909         [non-C99-based standards] (nextafterf): Likewise.
13910         [non-C99-based standards] (remainderf): Likewise.
13911         [non-C99-based standards] (rintf): Likewise.
13912         [non-C99-based standards] (scalbf): Likewise.
13913         [non-C99-based standards] (copysignl): Likewise.
13914         [non-C99-based standards] (exp2l): Likewise.
13915         [non-C99-based standards] (log2l): Likewise.
13916         [non-C99-based standards] (modfl): Allow.
13917         [non-C99-based standards] (erfl): Do not allow.
13918         [non-C99-based standards] (erfcl): Likewise.
13919         [non-C99-based standards] (gammal): Likewise.
13920         [non-C99-based standards] (hypotl): Likewise.
13921         [non-C99-based standards] (j0l): Likewise.
13922         [non-C99-based standards] (j1l): Likewise.
13923         [non-C99-based standards] (jnl): Likewise.
13924         [non-C99-based standards] (lgammal): Likewise.
13925         [non-C99-based standards] (tgammal): Likewise.
13926         [non-C99-based standards] (y0l): Likewise.
13927         [non-C99-based standards] (y1l): Likewise.
13928         [non-C99-based standards] (ynl): Likewise.
13929         [non-C99-based standards] (isnanl): Likewise.
13930         [non-C99-based standards] (acoshl): Likewise.
13931         [non-C99-based standards] (asinhl): Likewise.
13932         [non-C99-based standards] (atanhl): Likewise.
13933         [non-C99-based standards] (cbrtl): Likewise.
13934         [non-C99-based standards] (expm1l): Likewise.
13935         [non-C99-based standards] (ilogbl): Likewise.
13936         [non-C99-based standards] (log1pl): Likewise.
13937         [non-C99-based standards] (logbl): Likewise.
13938         [non-C99-based standards] (nextafterl): Likewise.
13939         [non-C99-based standards] (remainderl): Likewise.
13940         [non-C99-based standards] (rintl): Likewise.
13941         [non-C99-based standards] (scalbl): Likewise.
13942         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13943         [non-C99-based standards] (FP_*): Do not allow.
13944         [C99-based standards] (FP_*): Change to
13945         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13946         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13947         allow.
13948         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13949         (SIG_ERR): Likewise.
13950         [X/Open-based standards] (SIG_HOLD): Likewise.
13951         (SIG_IGN): Likewise.
13952         (SIGABRT): Use macro-int-constant.  Specify type.  Require
13953         positive value.
13954         (SIGFPE): Likewise.
13955         (SIGILL): Likewise.
13956         (SIGINT): Likewise.
13957         (SIGSEGV): Likewise.
13958         (SIGTER): Likewise.
13959         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13960         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13961         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13962         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13963         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13964         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13965         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13966         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13967         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13968         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13969         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13970         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13971         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13972         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13973         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13974         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13975         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13976         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13977         [X/Open-based standards] (SIGTRAP): Likewise.
13978         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13979         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13980         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13981         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13982         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13983         allow.
13985 2012-05-08  Ian Wienand  <ianw@vmware.com>
13987         [BZ #14080]
13988         * time/tzset.c (__tzset_parse_tz): Update default rules for
13989         daylight time changes in the Energy Policy Act of 2005.
13991 2012-05-09  Andreas Jaeger  <aj@suse.de>
13993         [BZ #13983]
13994         * elf/ldconfig.c (parse_conf): Change string to make clear that
13995         ldconfig only issued a warning if ld.so.conf does not exist.
13997 2012-05-08  David S. Miller  <davem@davemloft.net>
13999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14000         movxtod instead of popping the value on the stack.
14002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14004 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14006         * config.h.in: Add HAVE_ARM_PCS_VFP.
14008 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14010         [BZ #13979]
14011         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14012         checking but the checks are disabled for any reason.
14014 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14016         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14017         and ELF64_R_TYPE with ELFW(R_TYPE).
14019 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14021         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14022         (ulimit): Likewise.
14024         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14025         (settimeofday): Likewise.
14027 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14029         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14030         a struct th_u2 inside the union, and move tu_block/tu_code into
14031         a new th_u3 union of tu_block/tu_code inside of that.  Move
14032         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14033         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14034         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14035         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14036         (th_stuff): Change to th_u1.tu_stuff.
14037         (th_data): Define.
14038         (th_msg): Change to th_u1.th_u2.tu_data.
14040 2012-05-07  David S. Miller  <davem@davemloft.net>
14042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14044         [BZ #14074]
14045         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14046         (SETUP_PIC_REG): Use it.
14047         (SETUP_PIC_REG_LEAF): Use it.
14049 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14051         [BZ #13885]
14052         [BZ #13923]
14053         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14054         USE_AS_EXPM1L.
14055         (EXPL_FINITE): Likewise.
14056         (FLDLOG): Likewise.
14057         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14058         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14059         e_expl.S.
14060         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14061         USE_AS_EXPM1L.
14062         (EXPL_FINITE): Likewise.
14063         (FLDLOG): Likewise.
14064         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14065         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14066         e_expl.S.
14067         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14068         test of -max_value argument for long double.
14069         * sysdeps/i386/fpu/libm-test-ulps: Update.
14070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14072 2012-05-06  David S. Miller  <davem@davemloft.net>
14074         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14075         quad soft-float symbols whose references which are compiler
14076         generated.
14077         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14079 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14081         [BZ #13884]
14082         [BZ #13914]
14083         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14084         USE_AS_EXP10L.
14085         (EXPL_FINITE): Likewise.
14086         (FLDLOG): Likewise.
14087         (c0): Likewise.
14088         (c1): Likewise.
14089         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14090         Adjust comments for base varying.
14091         (__expl_finite): Change alias to EXPL_FINITE.
14092         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14093         e_expl.S.
14094         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14095         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14096         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14097         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14098         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14099         USE_AS_EXP10L.
14100         (EXPL_FINITE): Likewise.
14101         (FLDLOG): Likewise.
14102         (c0): Likewise.
14103         (c1): Likewise.
14104         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14105         Adjust comments for base varying.
14106         (__expl_finite): Change alias to EXPL_FINITE.
14107         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14108         tests for bugs.
14109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14111         [BZ #14064]
14112         * math/libm-test.inc (check_float_internal): Correct ulp
14113         calculation for subnormal expected results.
14115 2012-05-06  Andreas Jaeger  <aj@suse.de>
14117         * Makeconfig (+math-flags): New, set to -frounding-math.
14118         (+cflags): Add +math-flags so that all of glibc gets compiled with
14119         it.
14121         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14123 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14125         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14126         Disable one test.
14128         [BZ #13787]
14129         [BZ #13922]
14130         [BZ #14036]
14131         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14132         (__ieee754_expl): Allow for and saturate large arguments.
14133         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14134         (u_threshold): Likewise.
14135         (__exp): Call __ieee754_exp before checking for overflow and
14136         underflow.
14137         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14138         (u_threshold): Likewise.
14139         (__expf): Call __ieee754_expf before checking for overflow and
14140         underflow.
14141         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14142         (u_threshold): Likewise.
14143         (__expl): Call __ieee754_expl before checking for overflow and
14144         underflow.
14145         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14146         (__ieee754_expl): Allow for and saturate large arguments.
14147         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14148         missing overflow exception on overflow.
14149         (expm1_test): Do not allow missing overflow exception on overflow.
14151         * sysdeps/i386/fpu/e_expl.c: Move to ...
14152         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14153         rather than using inline asm.
14154         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14155         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14156         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14158         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14159         (nice): Likewise.
14160         (poll): Likewise.
14161         (signal): Likewise.
14162         (time): Likewise.
14163         (times): Likewise.
14165 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14167         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14168         sysdeps/unix/common/syscalls.list.
14169         (fchmod): Likewise.
14170         (fchown): Likewise.
14171         (ftruncate): Likewise.
14172         (getrusage): Likewise.
14173         (gettimeofday): Likewise.
14174         (setpgid): Likewise.
14175         (setregid): Likewise.
14176         (setreuid): Likewise.
14177         (sigaction): Likewise.
14178         (truncate): Likewise.
14179         (vhangup): Likewise.
14180         * sysdeps/unix/common/syscalls.list: Remove file.
14181         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14182         * sysdeps/unix/sysv/linux/Implies: Likewise.
14184 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14186         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14188         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14189         Moved to ...
14190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14191         Here.
14192         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14193         to ...
14194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14195         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14196         to ...
14197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14198         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14199         to ...
14200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14201         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14202         to ...
14203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14204         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14205         to ...
14206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14207         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14208         to ...
14209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14210         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14211         to ...
14212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14213         Here.
14214         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14215         to ...
14216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14217         Here.
14218         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14219         to ...
14220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14221         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14222         Moved to ...
14223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14224         Here.
14225         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14226         to ...
14227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14229 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14231         * sysdeps/unix/common/bits/dirent.h: Remove file.
14232         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14234         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14235         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14236         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14237         * sysdeps/unix/bsd/isatty.c: Likewise.
14238         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14239         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14240         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14242 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14244         [BZ #13563]
14245         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14246         long double comparison inaccuracies.
14247         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14250 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14252         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14253         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14255 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14257         [BZ #14049]
14258         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14259         nonzero digits before rounding a hex value.
14260         * stdlib/tst-strtod.c (tests): Add another test.
14262 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14264         * sysdeps/s390/fpu/libm-test-ulps: Update.
14266 2012-05-03  Andreas Jaeger  <aj@suse.de>
14268         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14269         does not get optimized out.
14270         (malloc_opt_barrier): New.
14272 2012-05-03  Andreas Jaeger  <aj@suse.de>
14273             Roland McGrath  <roland@hack.frob.com>
14275         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14276         intermediate file deletion.
14277         (generated): Add .symlist files.
14279 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14281         [BZ #13775]
14282         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14283         Redirect under this condition.
14284         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14285         [__USE_GNU] (__dprintf_chk): Not under this condition.
14286         [__USE_GNU] (__vdprintf_chk): Likewise.
14287         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14288         under this condition.
14289         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14290         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14291         [__USE_XOPEN2K8] (vdprintf): Likewise.
14292         [__USE_GNU] (__dprintf_chk): Not under this condition.
14293         [__USE_GNU] (__vdprintf_chk): Likewise.
14294         [__USE_GNU] (dprintf): Likewise.
14295         [__USE_GNU] (vdprintf): Likewise.
14297 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14299         * elf/Makefile (common-generated): Set this instead of generated for
14300         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14301         $(all-built-dso)-derived lists.
14303 2012-05-03  Andreas Jaeger  <aj@suse.de>
14305         * sysdeps/i386/fpu/libm-test-ulps: Update.
14307         * FAQ: Removed.
14308         * FAQ.in: Likewise.
14309         * scripts/gen-FAQ.pl: Likewise.
14310         * manual/install.texi (Installation): Point to online location of
14311         FAQ.
14312         * Makefile (files-for-dist): Remove FAQ.
14313         (FAQ): Remove.
14315 2012-05-02  Allan McRae  <allan@archlinux.org>
14317         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14318         (LDFLAGS-reldepmod5.so): Likewise.
14319         (LDFLAGS-reldep6mod1.so): Likewise.
14320         (LDFLAGS-reldep6mod4.so): Likewise.
14321         (LDFLAGS-reldep8mod3.so): Likewise.
14322         (LDFLAGS-unload4mod1.so): Likewise.
14323         (LDFLAGS-unload4mod2.so): Likewise.
14324         (LDFLAGS-tst-initorder): Likewise.
14325         (LDFLAGS-tst-initordera2.so): Likewise.
14326         (LDFLAGS-tst-initordera3.so): Likewise.
14327         (LDFLAGS-tst-initordera4.so): Likewise.
14328         (LDFLAGS-tst-initorderb2.so): Likewise.
14329         (LDFLAGS-noload): Likewise.
14330         (LDFLAGS-next): Likewise.
14331         (LDFLAGS-order2mod1.so): Likewise.
14332         (LDFLAGS-order2mod2.so): Likewise.
14333         (LDFLAGS-tst-initorder2): Likewise.
14334         (LDFLAGS-tst-initorder2a.so): Likewise.
14335         (LDFLAGS-tst-initorder2b.so): Likewise.
14336         (LDFLAGS-tst-initorder2c.so): Likewise.
14337         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14339 2012-05-02  David S. Miller  <davem@davemloft.net>
14341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14343 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14345         [BZ #14055]
14346         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14348 2012-05-02  Andreas Jaeger  <aj@suse.de>
14350         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14351         since we manipulate rounding mode.
14352         (CPPFLAGS-test-idouble.c): Likewise.
14353         (CPPFLAGS-test-ifloat.c): Likewise.
14354         (CFLAGS-test-ldouble.c): Likewise.
14355         (CFLAGS-test-double.c): Likewise.
14356         (CFLAGS-test-float.c): Likewise.
14357         (CFLAGS-test-misc.c): Likewise.
14358         (CFLAGS-test-test-fenv.c): Likewise.
14360 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14362         [BZ #2550]
14363         [BZ #2570]
14364         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14365         comparisons to determine direction to adjust input.
14367 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14369         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14370         output to the target.
14372         * scripts/localplt.awk: New file.
14373         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14374         (check-localplt-CFLAGS): Variable removed.
14375         ($(all-built-dso:=.jmprel)): New static pattern rule.
14376         (generated): Add those targets.
14377         (localplt-built-dso): New variable.
14378         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14380         * elf/check-localplt.c: File removed.
14382         * scripts/check-execstack.awk: New file.
14383         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14384         (check-execstack-CFLAGS): Variable removed.
14385         ($(objpfx)check-execstack.h): Target removed.
14386         ($(objpfx)execstack-default): New target.
14387         (generated): Add that instead of check-execstack.h.
14388         ($(all-built-dso:=.phdr)): New static pattern rule.
14389         (generated): Add those targets.
14390         * elf/check-execstack.c: File removed.
14392         * scripts/check-textrel.awk: New file.
14393         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14394         (check-textrel-CFLAGS): Variable removed.
14395         (all-built-dso): Use := to define.o
14396         ($(all-built-dso:=.dyn)): New static pattern rule.
14397         (generated): Add those targets.
14398         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14399         * config.make.in (READELF): New substituted variable.
14400         * elf/check-textrel.c: File removed.
14402 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14404         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14405         allow.
14406         * conform/data/ctype.h-data [C99-based standards] (isblank):
14407         Expect function.
14408         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14409         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14411         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14412         Specify type.  Require positive value.
14413         (EILSEQ): Likewise.
14414         (ERANGE): Likewise.
14415         [ISO || POSIX] (EILSEQ): Do not expect.
14416         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14417         Specify type.  Require positive value.
14418         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14419         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14420         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14421         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14422         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14423         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14424         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14425         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14426         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14427         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14428         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14429         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14430         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14431         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14432         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14433         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14434         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14435         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14436         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14437         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14438         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14439         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14440         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14441         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14442         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14443         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14444         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14445         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14446         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14447         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14448         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14449         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14450         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14451         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14452         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14453         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14454         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14455         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14456         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14457         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14458         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14459         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14460         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14461         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14462         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14463         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14464         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14465         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14466         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14467         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14468         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14469         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14470         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14471         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14472         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14473         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14474         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14475         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14476         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14477         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14478         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14479         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14480         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14481         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14482         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14483         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14484         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14485         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14486         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14487         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14488         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14489         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14490         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14491         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14492         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14493         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14494         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14495         Require >= 2.
14496         (FLT_ROUNDS): Expect as macro, not constant.
14497         (FLT_MANT_DIG): Use macro-int-constant.
14498         (DBL_MANT_DIG): Likewise.
14499         (LDBL_MANT_DIG): Likewise.
14500         (FLT_DIG): Likewise.
14501         (DBL_DIG): Likewise.
14502         (LDBL_DIG): Likewise.
14503         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
14504         (DBL_MIN_EXP): Likewise.
14505         (LDBL_MIN_EXP): Likewise.
14506         (FLT_MAX_EXP): Use macro-int-constant.
14507         (DBL_MAX_EXP): Likewise.
14508         (LDBL_MAX_EXP): Likewise.
14509         (FLT_MAX_10_EXP): Likewise.
14510         (DBL_MAX_10_EXP): Likewise.
14511         (LDBL_MAX_10_EXP): Likewise.
14512         (FLT_MAX): Use macro-constant.
14513         (DBL_MAX): Likewise.
14514         (LDBL_MAX): Likewise.
14515         (FLT_EPSILON): Use macro-constant.  Give upper bound.
14516         (DBL_EPSILON): Likewise.
14517         (LDBL_EPSILON): Likewise.
14518         (FLT_MIN): Likewise.
14519         (DBL_MIN): Likewise.
14520         (LDBL_MIN): Likewise.
14521         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14522         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14523         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14524         [ISO11] (FLT_HAS_SUBNORM): Likewise.
14525         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14526         [ISO11] (DBL_DECIMAL_DIG): Likewise.
14527         [ISO11] (FLT_DECIMAL_DIG): Likewise.
14528         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14529         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14530         [ISO11] (FLT_TRUE_MIN): Likewise.
14531         [ISO11] (LDBL_TRUE_MIN): Likewise.
14532         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14533         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14534         (SCHAR_MIN): Use macro-int-constant.  Specify type.
14535         (SCHAR_MAX): Likewise.
14536         (UCHAR_MAX): Likewise.
14537         (CHAR_MIN): Likewise.
14538         (CHAR_MAX): Likewise.
14539         (MB_LEN_MAX): Use macro-int-constant.
14540         (SHRT_MIN): Use macro-int-constant.  Specify type.
14541         (SHRT_MAX): Likewise.
14542         (USHRT_MAX): Likewise.
14543         (INT_MAX): Likewise.
14544         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
14545         bound negative.
14546         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14547         bound with "U".
14548         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14549         bound with "L".
14550         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
14551         bound negative.  Suffix upper bound with "L".
14552         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14553         bound with "UL".
14554         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14555         Specify type.
14556         [C99-based standards] (LLONG_MAX): Likewise.
14557         [C99-based standards] (ULLONG_MAX): Likewise.
14558         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
14559         == 0.
14560         [ISO11] (max_align_t): Require type.
14561         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14563         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14564         from $CFLAGS, without defining away __attribute__ calls.
14565         (checknamespace): Use $CFLAGS_namespace.
14567         * conform/conformtest.pl (@keywords): Only include C99 keywords
14568         for standards based on C99 or C11.
14570         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14571         Disable tests.
14572         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14573         UNIX98]: Likewise.
14575         * conform/conformtest.pl: Handle "macro-int-constant" and test for
14576         usability of symbols in #if.
14578         * conform/conformtest.pl: If macro or constant types start
14579         "promoted:", expect the symbol to be of the following type
14580         promoted by the integer promotions.
14582         * conform/conformtest.pl: Parse all "constant" and "macro" lines
14583         in one place.  Also handle "macro-constant".
14585         * conform/conformtest.pl: Only accept expected macro values with
14586         "==".  Parse all "macro" lines in one place.
14587         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14589         * conform/conformtest.pl: Handle braced types on "constant" lines
14590         instead of handling "typed-constant".
14591         * conform/data/signal.h-data: Use "constant" instead of
14592         "typed-constant".
14594         * conform/conformtest.pl: Handle "optional-" at start of lines in
14595         one place rather than duplicating several cases.  Handle each
14596         format of "macro" line with initial "optional-".
14598         * conform/conformtest.pl: Only accept expected constant or
14599         optional-constant values with "==".  Parse all "constant" lines in
14600         one place.  Parse all "optional-constant" lines in one place.
14601         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14602         * conform/data/fmtmsg.h-data: Likewise.
14603         * conform/data/netinet/in.h-data: Likewise.
14604         * conform/data/tar.h-data: Likewise.
14605         * conform/data/limits.h-data: Use "==" form on "constant" and
14606         "optional-constant" lines.
14608         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14609         Use -std=c99 for XOPEN2K.
14610         (@knownproblems): Remove.
14611         (newtoken): Don't check %isknown.
14613         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14614         Do not expect macro.
14615         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14616         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14617         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14618         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14619         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14620         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14621         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14622         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14623         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14624         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14625         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14626         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14627         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14628         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14629         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14630         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14631         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14632         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14633         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14634         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14635         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14636         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14637         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14638         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14639         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14640         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14641         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14642         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14643         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14644         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14645         [XPG3] (acosh): Likewise.
14646         [XPG3] (asinh): Likewise.
14647         [XPG3] (atanh): Likewise.
14648         [XPG3] (cbrt): Likewise.
14649         [XPG3] (expm1): Likewise.
14650         [XPG3] (ilogb): Likewise.
14651         [XPG3] (log1p): Likewise.
14652         [XPG3] (logb): Likewise.
14653         [XPG3] (nextafter): Likewise.
14654         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14655         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14656         [XPG3] (remainder): Likewise.
14657         [XPG3] (rint): Likewise.
14658         [XPG3 || XPG4 || UNIX98] (round): Likewise.
14659         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14660         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14661         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14662         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14663         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14664         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14665         [UNIX98 || XOPEN2K] (scalb): Expect.
14666         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14667         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14668         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14669         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14670         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14671         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14672         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14673         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14674         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14675         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14676         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14677         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14678         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14679         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14680         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14681         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14682         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14683         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14684         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14685         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14686         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14687         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14688         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14689         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14690         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14691         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14692         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14693         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14694         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14695         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14696         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14697         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14698         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14699         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14700         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14701         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14702         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14703         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14704         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14705         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14706         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14707         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14708         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14709         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14710         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14711         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14712         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14713         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14714         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14715         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14716         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14717         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14718         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14719         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14720         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14721         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14722         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14723         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14724         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14725         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14726         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14727         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14728         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14729         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14730         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14731         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14732         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14733         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14734         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14735         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14736         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14737         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14738         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14739         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14740         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14741         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14742         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14743         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14744         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14745         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14746         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14747         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14748         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14749         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14750         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14751         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14752         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14753         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14754         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14755         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14756         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14757         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14758         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14759         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14760         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14761         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14762         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14763         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14764         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14765         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14766         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14767         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14768         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14769         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14770         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14771         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14772         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14773         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14774         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14775         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14776         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14777         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14778         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14779         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14780         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14781         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14782         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14783         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14784         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14785         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14786         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14787         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14788         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14789         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14790         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14791         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14792         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14793         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14794         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14795         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14796         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14797         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14798         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14799         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14800         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14801         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14802         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14804         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14805         _XOPEN_SOURCE_EXTENDED for XPG4.
14807         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14809         * Makeconfig (localtime): Remove variable.
14810         (inst_localtime-file): Likewise.
14812 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14815         Update.
14816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14817         Update.
14818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14819         Update.
14820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14821         Update.
14822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14823         Update.
14824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14825         Update.
14826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14827         Update.
14828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14829         Update.
14830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14831         Update.
14833 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14835         [BZ #2550]
14836         [BZ #2570]
14837         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14838         comparisons to determine direction to adjust input.
14839         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14840         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14841         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14842         Likewise.
14843         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14844         Likewise.
14845         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14846         Likewise.
14847         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14848         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14849         Likewise.
14850         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14851         Likewise.
14852         * math/libm-test.inc (nexttoward_test): Add more tests.
14854 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14856         [BZ #14040]
14857         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14858         in version GLIBC_2.1, not GLIBC_2.0.
14859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14860         Likewise.
14862 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
14864         [BZ #13942]
14865         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14866         (1 - x) * (1 + x).
14867         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14868         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14869         * math/libm-test.inc (acos_test): Add more tests.
14870         (asin_test): Likewise.
14871         * sysdeps/i386/fpu/libm-test-ulps: Update.
14872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14874         [BZ #14034]
14875         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14876         of square root.
14877         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14878         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14879         * math/libm-test.inc (acos_test_tonearest): New function.
14880         (acos_test_towardzero): Likewise.
14881         (acos_test_downward): Likewise.
14882         (acos_test_upward): Likewise.
14883         (asin_test_tonearest): Likewise.
14884         (asin_test_towardzero): Likewise.
14885         (asin_test_downward): Likewise.
14886         (asin_test_upward): Likewise.
14887         (main): Call the new functions.
14888         * sysdeps/i386/fpu/libm-test-ulps: Update.
14889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14891         [BZ #13884]
14892         [BZ #13924]
14893         * math/e_exp10.c: Include <float.h>.
14894         (__ieee754_exp10): Handle underflow here rather than multiplying
14895         large negative argument by M_LN10.
14896         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14897         of __ieee754_expf.
14898         * math/e_exp10l.c: Include <float.h>.
14899         (__ieee754_exp10l): Handle underflow here rather than multiplying
14900         large negative argument by M_LN10l.
14901         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
14902         spurious overflow exception on underflow.
14904 2012-04-29  Marek Polacek  <polacek@redhat.com>
14906         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14907         (__fortify_function): New macro.
14908         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14909         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14910         __extern_always_inline.
14911         * libio/bits/stdio2.h: Likewise.
14912         * libio/bits/stdio.h: Likewise.
14913         * string/string.h: Likewise.
14914         * string/bits/string3.h: Likewise.
14915         * include/stdio.h: Likewise.
14916         * stdlib/bits/stdlib.h: Likewise.
14917         * stdlib/stdlib.h: Likewise.
14918         * rt/bits/mqueue2.h: Likewise.
14919         * rt/mqueue.h: Likewise.
14920         * posix/bits/unistd.h: Likewise.
14921         * posix/unistd.h: Likewise.
14922         * io/bits/poll2.h: Likewise.
14923         * io/bits/fcntl2.h: Likewise.
14924         * io/fcntl.h: Likewise.
14925         * io/sys/poll.h: Likewise.
14926         * misc/bits/syslog.h: Likewise.
14927         * misc/bits/syslog-ldbl.h: Likewise.
14928         * misc/sys/syslog.h: Likewise.
14929         * socket/bits/socket2.h: Likewise.
14930         * socket/sys/socket.h: Likewise.
14931         * debug/tst-chk1.c: Likewise.
14932         * wcsmbs/bits/wchar2.h: Likewise.
14933         * wcsmbs/bits/wchar-ldbl.h: Likewise.
14934         * wcsmbs/wchar.h: Likewise.
14936 2012-04-29  Andreas Jaeger  <aj@suse.de>
14938         * Makerules (tests): Remove enable-check-abi protection.
14939         (check-abi-warn): Remove.
14940         (check-abi-%): Remove check-abi-warn usage.
14942         * configure.in: Remove check-abi configure option.
14943         * configure: Regenerated.
14944         * config.make.in (enable-check-abi): Remove.
14946 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
14948         [BZ #14033]
14949         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14950         double functions to double *_finite functions.
14952         [BZ #13941]
14953         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14954         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14955         LDBL_MIN_EXP.
14956         * stdio-common/Makefile (tests): Add tst-sprintf3.
14957         * stdio-common/tst-sprintf3.c: New file.
14959         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14960         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14962 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14964         * conform/conformtest.pl: Remove duplicate typed-constant
14965         handling.
14967 2012-04-28  David S. Miller  <davem@davemloft.net>
14969         * Makerules (%.abilist): Add vpath on sysdep_dirs.
14970         (check-abi-%): Remove AWK script prerequisite and explicit
14971         abilist directory.
14972         (check-abi): Rewrite to just diff the symlist with the abilist.
14973         (config-tls, config-abi-config): Delete, no longer used.
14974         (update-abi-%): Remove AWK script and explicit abilist directory.
14975         (update-abi): Rewrite to simply compare and conditionally copy the
14976         symlist and the sysdep abilist file.  Remove update-abi-config
14977         checks.
14978         * abilist/ld.abilist: Remove.
14979         * abilist/libBrokenLocale.abilist: Remove.
14980         * abilist/libanl.abilist: Remove.
14981         * abilist/libcrypt.abilist: Remove.
14982         * abilist/libdl.abilist: Remove.
14983         * abilist/librt.abilist: Remove.
14984         * abilist/libthread_db.abilist: Remove.
14985         * abilist/libutil.abilist: Remove.
14986         * scripts/extract-abilist.awk: Remove.
14987         * scripts/merge-abilist.awk: Remove.
14988         * sysdeps/generic/libcidn.abilist: New file.
14989         * sysdeps/generic/libnss_compat.abilist: New file.
14990         * sysdeps/generic/libnss_db.abilist: New file.
14991         * sysdeps/generic/libnss_dns.abilist: New file.
14992         * sysdeps/generic/libnss_files.abilist: New file.
14993         * sysdeps/generic/libnss_hesiod.abilist: New file.
14994         * sysdeps/generic/libnss_nis.abilist: New file.
14995         * sysdeps/generic/libnss_nisplus.abilist: New file.
14996         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14997         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14998         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14999         file.
15000         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15001         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15002         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15003         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15004         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15005         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15006         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15007         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15008         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15009         file.
15010         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15011         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15012         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15013         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15014         file.
15015         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15016         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15017         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15018         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15019         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15020         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15021         file.
15022         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15023         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15024         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15025         file.
15026         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15028         New file.
15029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15030         New file.
15031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15032         New file.
15033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15034         New file.
15035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15036         New file.
15037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15038         New file.
15039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15040         New file.
15041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15042         New file.
15043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15044         New file.
15045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15046         New file.
15047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15048         New file.
15049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15050         New file.
15051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15052         New file.
15053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15054         file.
15055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15056         New file.
15057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15058         New file.
15059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15060         file.
15061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15062         New file.
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15064         New file.
15065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15066         file.
15067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15068         New file.
15069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15070         New file.
15071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15072         New file.
15073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15074         New file.
15075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15076         New file.
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15078         New file.
15079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15081         file.
15082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15083         New file.
15084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15085         file.
15086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15087         file.
15088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15089         file.
15090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15091         file.
15092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15093         file.
15094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15095         New file.
15096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15097         file.
15098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15099         file.
15100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15101         New file.
15102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15103         file.
15104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15106         file.
15107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15108         New file.
15109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15110         file.
15111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15112         file.
15113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15114         file.
15115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15116         file.
15117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15118         file.
15119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15120         New file.
15121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15122         file.
15123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15124         file.
15125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15126         New file.
15127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15128         file.
15129         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15130         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15131         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15132         file.
15133         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15134         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15135         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15136         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15137         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15138         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15139         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15140         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15141         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15142         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15145         file.
15146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15147         New file.
15148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15149         file.
15150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15151         file.
15152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15153         file.
15154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15155         file.
15156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15157         file.
15158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15159         New file.
15160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15161         New file.
15162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15163         file.
15164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15165         New file.
15166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15167         file.
15168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15170         file.
15171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15172         New file.
15173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15174         file.
15175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15176         file.
15177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15178         file.
15179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15180         file.
15181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15182         file.
15183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15184         New file.
15185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15186         New file.
15187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15188         file.
15189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15190         New file.
15191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15192         file.
15194 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15196         * conform/conformtest.pl: Fix typo in handling typed-constant from
15197         allow-header.
15199 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15201         * README: Cut down references to pre-2.6 Linux kernels and
15202         Linuxthreads.  Update lists of configurations in libc and ports
15203         and sort alphabetically.  Say "or newer" with Linux kernel version
15204         requirements.
15206         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15208 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15210         [BZ #887]
15211         * math/libm-test.inc (logb_test_downward): New test to expose
15212         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15213         rounding mode.
15215 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15217         [BZ #14027]
15218         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15219         to be done.
15220         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15221         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15223 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15225         * sysdeps/unix/i386/brk.S: Remove file.
15226         * sysdeps/unix/i386/dl-brk.S: Likewise.
15227         * sysdeps/unix/i386/pipe.S: Likewise.
15228         * sysdeps/unix/i386/sigreturn.S: Likewise.
15229         * sysdeps/unix/i386/syscall.S: Likewise.
15230         * sysdeps/unix/i386/vfork.S: Likewise.
15231         * sysdeps/unix/i386/wait.S: Likewise.
15233         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15234         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15236         * configure.in (arm*-none*): Do not allow without
15237         --enable-hacker-mode.
15238         (netbsd*): Remove case setting base_os.
15239         (386bsd*): Likewise.
15240         (freebsd*): Likewise.
15241         (bsdi*): Likewise.
15242         (osf*): Likewise.
15243         (sunos*): Likewise.
15244         (ultrix*): Likewise.
15245         (newsos*): Likewise.
15246         (dynix*): Likewise.
15247         (*bsd*): Likewise.
15248         (sysv*): Likewise.
15249         (isc*): Likewise.
15250         (esix*): Likewise.
15251         (sco*): Likewise.
15252         (minix*): Likewise.
15253         (irix4*): Likewise.
15254         (irix6*): Likewise.
15255         (solaris[2-9]*): Likewise.
15256         (none): Likewise.
15257         * configure: Regenerated.
15259 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15261         [BZ #11521]
15262         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15263         overflow or cancellation in calculating denominator.
15264         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15265         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15266         down expression to avoid unexpected rounding in newer GCCs.
15267         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15269 2012-04-26  David S. Miller  <davem@davemloft.net>
15271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15272         long-double compat symbols.
15273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15287 2012-04-25  David S. Miller  <davem@davemloft.net>
15289         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15290         HWCAP_* values only after the memory barriers have been defined.
15291         (atomic_full_barrier): Define.
15292         (atomic_read_barrier): Define.
15293         (atomic_write_barrier): Define.
15295 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15297         * shlib-versions: Add libgcc_s version information.
15298         * sysdeps/generic/libgcc_s.h: Remove.
15299         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15300         libgcc_s.h.
15301         * sysdeps/gnu/unwind-resume.c: Likewise.
15302         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15304 2012-04-25  David S. Miller  <davem@davemloft.net>
15306         * sysdeps/unix/sparc/brk.S: Delete.
15307         * sysdeps/unix/sparc/dl-brk.S: Delete.
15308         * sysdeps/unix/sparc/pipe.S: Delete.
15309         * sysdeps/unix/sparc/sysdep.S: Delete.
15310         * sysdeps/unix/sparc/sysdep.h: Delete.
15311         * sysdeps/unix/sparc/vfork.S: Delete.
15312         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15313         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15314         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15315         ret_ERRVAL, r0, r1, MOVE): Define.
15316         (JUMPTARGET): Remove.
15317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15318         sysdeps/unix/sparc/sysdep.h
15319         (ENTRY, END): Remove.
15320         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15322 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15324         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15325         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15326         -DIS_IN_build.
15328         * timezone/README: Update upstream location and email address for
15329         tzcode and tzdata.
15330         * timezone/zdump.c: Update from tzcode 2012b.
15331         * timezone/zic.c: Likewise.
15333         * configure.in (libc_cv_as_needed): Remove test.
15334         * configure: Regenerated.
15335         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15336         conditional definition.
15337         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15338         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15339         * config.make.in (have-as-needed): Remove variable.
15341 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15342             Paul Pluzhnikov  <ppluzhnikov@google.com>
15344         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15345         strings correctly.
15347 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15349         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15350         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15351         * sysdeps/sh/strlen.S: Likewise.
15353 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15355         * sysdeps/unix/fork.S: Remove file.
15356         * sysdeps/unix/i386/fork.S: Likewise.
15357         * sysdeps/unix/sparc/fork.S: Likewise.
15359         * sysdeps/unix/system.c: Remove file.
15360         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15362         * sysdeps/unix/getegid.S: Remove file.
15363         * sysdeps/unix/geteuid.S: Likewise.
15365 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15367         * scripts/check-localplt.awk: New file.
15368         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15369         of diff.
15370         * scripts/data/localplt-generic.data: Add a comment.
15372         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15373         NODE when __dir_mkfile failed.
15374         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15375         Reported by Ludovic Courtès <ludo@gnu.org>.
15377 2012-04-24  Andreas Jaeger  <aj@suse.de>
15379         * Makerules (common-clean): Also remove gen-as-const-headers
15380         files.
15382 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15384         * Makerules (native-compile): Do not change working directory for
15385         build.  Use $(OUTPUT_OPTION) in command.
15386         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15388 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15390         [BZ #13886]
15391         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15392         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15393         * math/libm-test.inc (floor_test): Add more tests.
15394         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15396 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15398         * sysdeps/unix/getdents.c: Remove file.
15399         * sysdeps/unix/sysv/getdents.c: Likewise.
15400         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15402         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15403         sysdeps/unix/mman/syscalls.list.
15404         (mmap): Likewise.
15405         (mprotect): Likewise.
15406         (msync): Likewise.
15407         (munmap): Likewise.
15408         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15409         * sysdeps/unix/mman/syscalls.list: Remove.
15410         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15412         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15413         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15414         * configure: Regenerated.
15415         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15416         $(libgcc_s_suffix).
15417         * config.make.in (libgcc_s_suffix): Remove variable.
15419 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15421         * sysdeps/unix/sysv/gethostname.c: Move to ...
15422         * sysdeps/posix/gethostname.c: ... here.
15424         * sysdeps/unix/execve.S: Remove file.
15426         * sysdeps/unix/_exit.S: Remove file.
15428 2012-04-23  Andreas Jaeger  <aj@suse.de>
15430         [BZ #13739]
15431         * manual/Makefile: Remove make dist support, there's no
15432         need for a stand-alone documentation tar ball.
15433         (TEXI2DVI): Define always, it's not in Makeconfig.
15434         (dist): Removed.
15435         (tar-it): Removed.
15436         (edition): Removed.
15437         (glibc-doc-$(edition).tar): Removed
15438         (%.Z): Removed.
15439         (%.gz): Removed.
15440         (%.uu): Removed.
15441         (ETAGS): Remove, it's in Makeconfig.
15442         (move-if-change): Remove, it's in Makeconfig.
15444 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15446         [BZ #13970]
15447         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15448         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15449         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15450         (strtod_l, strtof_l, strtold_l): Remove __wur.
15451         It is not necessarily an error to ignore strtol's return value.
15452         One can reliably look at the stored endptr to decide whether
15453         the number had valid syntax.
15455 2012-04-21  Andreas Jaeger  <aj@suse.de>
15457         [BZ #13739]
15458         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15460 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15462         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15463         * sysdeps/unix/sysv/Versions: Remove file.
15465 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15467         [BZ #13927]
15468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15470 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15472         [BZ #7064]
15473         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15474         version from __vm86.
15476 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15478         * sysdeps/unix/common/lxstat.c: Remove file.
15479         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15481         * sysdeps/unix/sysv/Makefile: Remove file.
15483         * sysdeps/unix/sysv/direct.h: Remove file.
15485         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15486         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15487         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15488         * sysdeps/unix/sysv/bits/signum.h: Likewise.
15489         * sysdeps/unix/sysv/bits/stat.h: Likewise.
15490         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15491         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15493         * sysdeps/unix/sysv/setrlimit.c: Remove file.
15495         * sysdeps/unix/xmknod.c: Remove file.
15496         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15498         * sysdeps/unix/sysv/settimeofday.c: Remove file.
15500         * sysdeps/unix/sysv/i386/time.S: Remove file.
15502         * sysdeps/unix/fxstat.c: Remove file.
15503         * sysdeps/unix/xstat.c: Likewise.
15504         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15506         * sysdeps/unix/sysv/sigaction.c: Remove file.
15508         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15509         (sysdep_headers): Remove variable.
15510         [termio.h not in sysdep_headers] (generated): Likewise.
15511         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15512         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15513         * sysdeps/unix/sysv/tcdrain.c: Likewise.
15514         * sysdeps/unix/sysv/tcflow.c: Likewise.
15515         * sysdeps/unix/sysv/tcflush.c: Likewise.
15516         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15517         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15518         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15519         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15520         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15522         * sysdeps/unix/siglist.c: Remove file.
15524         * sysdeps/unix/getppid.S: Remove file.
15526         * sysdeps/unix/mkdir.c: Remove file.
15527         * sysdeps/unix/rmdir.c: Likewise.
15529 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
15531         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15532         ERR_MAX value.
15533         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15534         errlist-compat value.
15536 2012-04-18  David S. Miller  <davem@davemloft.net>
15538         * sysdeps/generic/memcopy.h (reg_char): Delete.
15539         * debug/strcat_chk.c: Use char, not reg_char.
15540         * debug/strcpy_chk.c: Likewise.
15541         * debug/strncat_chk.c: Likewise.
15542         * debug/strncpy_chk.c: Likewise.
15543         * string/memchr.c: Likewise.
15544         * string/memrchr.c: Likewise.
15545         * string/rawmemchr.c: Likewise.
15546         * string/strcat.c: Likewise.
15547         * string/strchr.c: Likewise.
15548         * string/strchrnul.c: Likewise.
15549         * string/strcmp.c: Likewise.
15550         * string/strcpy.c: Likewise.
15551         * string/strncat.c: Likewise.
15552         * string/strncmp.c: Likewise.
15553         * string/strncpy.c: Likewise.
15555 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15557         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15558         __builtin_memcopy is called when src and dest ranges are known to not
15559         overlap.
15561 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15563         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15564         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15565         fwd_align_merge macro call.
15566         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15567         bwd_align_merge macro call.
15568         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15570 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15572         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15573         bwd_align_merge macros.
15574         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15575         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15576         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15578 2012-04-18  David S. Miller  <davem@davemloft.net>
15580         * sysdeps/sparc/sparc64/memcopy.h: Delete.
15582 2012-04-18  Andreas Jaeger  <aj@suse.de>
15584         [BZ# 6794]
15585         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15586         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15587         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15589         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15590         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15591         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15593         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15594         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15595         Adjust for changed ldbl-128 files.
15597         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15598         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15599         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15601 2012-04-17  David S. Miller  <davem@davemloft.net>
15603         * sysdeps/sparc/sparc32/memcopy.h: Delete.
15605 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
15607         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15608         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15609         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15610         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15611         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15612         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15614 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15616         [BZ #6794]
15617         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15618         * math/libm-test.inc: Add ilogb errno and exception tests.
15619         * math/w_ilogb.c: New file: ilogb wrapper.
15620         * math/w_ilogbf.c: New file: ilogbf wrapper.
15621         * math/w_ilogbl.c: New file: ilogbl wrapper.
15622         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15623         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15624         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15625         exception being thrown with 0.0 as argument.
15626         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15627         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15628         exception being thrown with 0.0 as argument.
15629         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15630         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15631         exception being thrown with 0.0 as argument.
15632         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15633         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15634         exception being thrown with 0.0 as argument.
15635         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15636         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15637         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15638         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15639         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15640         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15641         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15642         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15643         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15645 2012-04-17  Petr Baudis  <pasky@ucw.cz>
15647         * include/sys/uio.h: Change __vector to __iovec to avoid clash
15648         with altivec.
15650 2012-04-16  Marek Polacek  <polacek@redhat.com>
15652         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15654 2012-04-16  Marek Polacek  <polacek@redhat.com>
15656         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15657         operands of fdivp instruction.
15659 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15661         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15662         * elf/tst-auditmod3b.c: Likewise.
15663         * elf/tst-auditmod4b.c: Likewise.
15664         * elf/tst-auditmod5b.c: Likewise.
15665         * elf/tst-auditmod6b.c: Likewise.
15666         * elf/tst-auditmod6c.c: Likewise.
15667         * elf/tst-auditmod7b.c: Likewise.
15668         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15669         * sysdeps/x86_64/preconfigure.in: Likewise.
15670         * sysdeps/x86_64/preconfigure: Regenerated.
15672 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15674         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15675         __ILP32__.
15677 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
15679         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15680         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15682 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
15684         [BZ #13973]
15685         * locale/iso-639.def: Fix gl language name. Spotted by
15686         Yaron Shahrabani.
15688 2012-04-12  Roland McGrath  <roland@hack.frob.com>
15690         [BZ #2074]
15691         * libio/libio.h (__io_write_fn): Update comment.
15693 2012-04-12  Petr Baudis  <pasky@ucw.cz>
15695         [BZ #2074]
15696         * stdio.texi (Hook Functions): The user provided writer function
15697         is not allowed to return -1.
15699 2012-04-11  David S. Miller  <davem@davemloft.net>
15701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15703 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
15705         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15706         Add a leading slash to rtkaio.
15708 2012-04-11  Jim Meyering  <meyering@redhat.com>
15710         [BZ #11959]
15711         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15712         It is not necessarily an error to ignore fwrite's return
15713         value.  One can reliably use ferror to test for errors after
15714         the fact.
15716 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15718         * bits/types.h (__snseconds_t): New type.
15719         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15721         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15722         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15723         (__SNSECONDS_T_TYPE): Likewise.
15724         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15725         (__SNSECONDS_T_TYPE): Likewise.
15726         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15727         (__SNSECONDS_T_TYPE): Likewise.
15729 2012-04-10  Andreas Jaeger  <aj@suse.de>
15731         [BZ #2636]
15732         * manual/time.texi (Processor Time): Return type of times is
15733         elapsed real time since an arbitrary point in the past.
15734         (CPU Time): Move CLK_TCK from here...
15735         (Processor Time): ...to here.  Correct description.
15736         * manual/conf.texi (Constants for Sysconf): Correct description of
15737         _SC_CLK_TCK.
15739 2012-04-10  David S. Miller  <davem@davemloft.net>
15741         [BZ #13967]
15742         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15743         where the is a gap between DT_REL(A) and DT_JMPREL.
15745 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15747         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15748         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15749         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15751 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15753         * elf/dl-support.c (_dl_inhibit_cache): New variable.
15754         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15755         (dl_main): Handle --inhibit-cache.
15756         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15757         _dl_inhibit_cache.
15758         * elf/dl-load.c (_dl_map_object): Use it.
15759         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15761 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15763         [BZ #13872]
15764         * sysdeps/i386/fpu/e_powl.S (p78): New object.
15765         (__ieee754_powl): Saturate large exponents rather than testing for
15766         overflow of y*log2(x).
15767         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15768         * math/libm-test.inc (pow_test): Do not permit spurious overflow
15769         exceptions.
15771         [BZ #11521]
15772         * math/s_ctan.c: Include <float.h>.
15773         (__ctan): Avoid internal overflow or cancellation in calculating
15774         denominator.
15775         * math/s_ctanf.c: Likewise.
15776         * math/s_ctanl.c: Likewise.
15777         * math/s_ctanh.c: Likewise.
15778         * math/s_ctanhf.c: Likewise.
15779         * math/s_ctanhl.c: Likewise.
15780         * math/libm-test.inc (ctan_test): Add more tests.
15781         (ctanh_test): Likewise.
15782         * sysdeps/i386/fpu/libm-test-ulps: Update.
15783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15785 2012-04-09  Andreas Jaeger  <aj@suse.de>
15787         [BZ #6894]
15788         * manual/filesys.texi (Directory Entries): Mention that d_namlen
15789         is an optional BSD extension.
15791         [BZ #10254]
15792         * manual/stdio.texi (Opening Streams): Document additional fopen
15793         parameters.
15795 2012-04-09  Roland McGrath  <roland@hack.frob.com>
15797         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15798         %eax without telling the compiler.
15800 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
15802         [BZ # 13963]
15803         * manual/install.texi: Use sourceware.org.
15805 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15807         [BZ #13873]
15808         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15809         (__ieee754_pow): Generate overflow and underflow using huge*huge
15810         and tiny*tiny rather than just returning constant infinity or zero
15811         for large exponents.
15812         * math/libm-test.inc (pow_test): Require overflow exceptions for
15813         applicable cases of large exponents.
15815         [BZ #706]
15816         * sysdeps/i386/fpu/e_pow.S (p10): New object.
15817         (__ieee754_pow): Use iterative multiplication algorithm only for
15818         integer exponents with absolute value below 1024.  Check for odd
15819         integer exponents when using algorithm for real exponents.
15820         * math/libm-test.inc (pow_test): Add more tests.
15821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15823 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
15825         [BZ #13705]
15826         * math/libm-test.inc (exp_test): Do not allow overflow exception
15827         on underflow test.
15829 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
15831         [BZ #13705]
15832         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15833         instead of __kernel_standard_f.
15835 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
15837         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15838         * sysdeps/x86_64/memset_chk.S: Likewise.
15840 2012-04-08  Andreas Jaeger  <aj@suse.de>
15842         [BZ #10153]
15843         * manual/startup.texi (Environment Access): Describe return value
15844         for putenv and setenv.
15846         [BZ #6895]
15847         * manual/filesys.texi (Directory Entries): Add description for
15848         DT_LNK.
15850         [BZ #6890]
15851         * manual/filesys.texi (Directory Entries): Clarify that it's file
15852         system not operating system in the description of DT_UNKNOWN.
15854         [BZ #6578]
15855         * manual/syslog.texi (closelog): Fix reference, it's openlog.
15857 2012-04-08  Stephen Compall  <s11@member.fsf.org>
15859         [BZ #6649]
15860         * manual/llio.texi (Opening and Closing Files): Add cross
15861         reference to explain mode argument.
15863 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
15865         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15866         * sysdeps/x86_64/memset_chk.S: Likewise.
15868 2012-04-07  David S. Miller  <davem@davemloft.net>
15870         * elf/elf.h (R_SPARC_WDISP10): Define.
15871         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15872         R_SPARC_SIZE32.
15873         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15874         R_SPARC_SIZE64 and R_SPARC_H34.
15876 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
15878         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15879         conditions and remove no longer applicable assertion.
15881 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15883         * bits/byteswap.h: Include <features.h>.
15884         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15885         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15887 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15889         * bits/byteswap.h (__bswap_16): Removed.
15890         Include <bits/byteswap-16.h> to get __bswap_16.
15891         * sysdeps/i386/bits/byteswap.h: Likewise.
15892         * sysdeps/s390/bits/byteswap.h: Likewise.
15893         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15894         * bits/byteswap-16.h: New file.
15895         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15896         * sysdeps/s390/bits/byteswap-16.h: Likewise.
15897         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15898         * string/Makefile (headers): Add bits/byteswap-16.h.
15900 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15902         [BZ #13895]
15903         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15904         extra indirection.
15905         * nss/Makefile (tests-static, tests): Add tst-nss-static.
15906         * nss/tst-nss-static.c: New.
15908 2012-04-06  Robert Millan  <rmh@gnu.org>
15910         [BZ #6486]
15911         * manual/llio.texi (File Position Primitive): lseek
15912         refers to WHENCE when it really means OFFSET.
15914 2012-04-06  Andreas Jaeger  <aj@suse.de>
15916         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15917         strncmp declarations.
15919         * abilist/libc.abilist: Add __poll and __ppoll.
15921 2012-04-05  David S. Miller  <davem@davemloft.net>
15923         * scripts/check-local-headers.sh: Accept a host triplet in the
15924         path matched by the exclude regexp.
15926         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15927         definition.
15928         * sysdeps/powerpc/powerpc32/dl-machine.h
15929         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15930         * sysdeps/s390/s390-32/dl-machine.h
15931         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15932         * sysdeps/sparc/sparc32/dl-machine.h
15933         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15934         * sysdeps/sparc/sparc64/dl-machine.h
15935         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15937         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15938         lazy binding.
15939         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15940         undefined symbol errors.
15942         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15943         DT_NEEDED entries.
15945 2012-04-05  Michael Matz  <matz@suse.de>
15947         [BZ #13592]
15948         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15950 2012-04-05  Andreas Jaeger  <aj@suse.de>
15952         [BZ #13908]
15953         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15954         comment.
15956 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15958         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15959         which ROUND is no valid rounding mode.
15961 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15963         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15964         read again.
15965         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15967 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15969         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15970         an exception using FPU order intentionally.
15972 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15974         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15975         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15976         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15977         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15979 2012-04-05  Simon Josefsson  <simon@josefsson.org>
15981         [BZ #12340]
15982         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15983         EINVAL when BUFLEN is too smal.
15985 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15987         [BZ #13553]
15988         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15989         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15991 2012-04-03  Andreas Jaeger  <aj@suse.de>
15993         [BZ #13938]
15994         * manual/setjmp.texi (System V contexts): Fix sentence.
15996         [BZ #13926]
15997         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15998         New macro for this case.
15999         [!__GNUC__] (__bswap_64): New inline function for this case.
16000         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16001         * bits/byteswap.h: Likewise.
16002         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16003         ull, guard with __GLIBC_HAVE_LONG_LONG.
16005         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16006         __GLIBC_HAVE_LONG_LONG.
16008         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16009         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16011 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16013         [BZ #13691]
16014         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16015         inptr and inend, rather than using last_ch.
16017 2012-04-02  David S. Miller  <davem@davemloft.net>
16019         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16020         * stdio-common/printf-parse.h (read_int): Change return type to
16021         'int', return -1 on INT_MAX overflow.
16022         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16023         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16024         overflows INT_MAX.  Check for overflow of in-format-string precision
16025         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16026         SIZE_MAX not INT_MAX for integer overflow test.
16027         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16028         skip the construct in the format string but do not record anything.
16029         * stdio-common/bug22.c: Adjust to test both width/prevision
16030         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16031         explicitly for proper errno values.
16033 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16035         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16036         CHAR_MAX.
16037         * string/test-strcmp.c [! WIDE]: Likewise.
16038         * time/tst-mktime2.c: Likewise for INT_MAX.
16039         * string/test-string.h: #include <sys/param.h> for MIN.
16041         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16042         * sysdeps/i386/init-first.c (init): Likewise.
16043         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16044         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16045         * sysdeps/sh/init-first.c (init): Likewise.
16047 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16049         * po/ru.po: Update from translation team.
16050         * po/vi.po: Likewise.
16052 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16054         * resolv/nss_dns/dns-host.c: Merge copyright years.
16056 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16058         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16059         Optimize memcpy with prefetch if
16060         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16061         src, dst pointers have unequal 16 byte alignments.
16063 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16065         [BZ #13928]
16066         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16067         from a CNAME entry and return the minimum ttl for the query.
16068         (gaih_getanswer_slice): Likewise.
16070 2012-03-30  Jeff Law  <law@redhat.com>
16072         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16073         due to long keys.
16074         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16075         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16077         * resolv/nss_dns/dns-host.c: Update copyright year.
16079 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16081         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16082         requests to save a system call.  Fix check that all bytes are sent.
16084         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16085         comments for sendmmsg.
16087 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16089         [BZ #13691]
16090         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16091         with only 1 character between 0x0041 and 0x01b0.
16092         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16093         * wcsmbs/tst-mbsnrtowcs.c: New file.
16095 2012-03-29  David S. Miller  <davem@davemloft.net>
16097         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16098         small copies by hand.
16100 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16102         [BZ #13761]
16103         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16104         _nss_compat_initgroups_dyn): Fall back to malloc/free
16105         for large group memberships.
16107 2012-03-28  David S. Miller  <davem@davemloft.net>
16109         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16110         that branches into memcpy.
16111         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16112         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16113         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16114         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16115         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16116         bits.
16117         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16118         implementation too.
16119         * sysdeps/sparc/mempcpy.S: New file.
16121         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16122         the IFUNC routine in the libc case.
16123         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16125         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16126         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16127         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16128         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16129         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16130         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16131         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16132         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16134         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16135         loop to 256 bytes instead of 64 bytes and fix test signedness.
16137         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16138         * sysdeps/sparc/sparc32/Makefile: rather than here...
16139         * sysdeps/sparc/sparc64/Makefile: and here.
16141 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16143         * malloc/mallocbug.c: Avoid warnings about unused variables.
16145 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16147         [BZ #13760]
16148         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16149         in the right place. Discard and retry query if response is
16150         larger than input buffer size.
16152 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16154         [BZ #369]
16155         [BZ #2678]
16156         [BZ #3866]
16157         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16158         x for large integer exponent.
16159         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16160         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16161         sign of result as needed afterwards.
16162         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16163         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16164         result for underflowing pow the same as for overflow.
16165         (__kernel_standard_l): Handle powl overflow and underflow here
16166         rather than calling __kernel_standard.
16167         * math/libm-test.inc (pow_test): Add more tests.
16169         [BZ #3868]
16170         [BZ #13879]
16171         [BZ #13910]
16172         [BZ #13911]
16173         [BZ #13912]
16174         [BZ #13913]
16175         [BZ #13915]
16176         [BZ #13916]
16177         [BZ #13917]
16178         [BZ #13918]
16179         [BZ #13919]
16180         [BZ #13920]
16181         [BZ #13921]
16182         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16183         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16184         (__kernel_standard_l): New function.
16185         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16186         __kernel_standard.
16187         * math/w_acosl.c (__acosl): Likewise.
16188         * math/w_asinl.c (__asinl): Likewise.
16189         * math/w_atan2l.c (__atan2l): Likewise.
16190         * math/w_atanhl.c (__atanhl): Likewise.
16191         * math/w_coshl.c (__coshl): Likewise.
16192         * math/w_exp10l.c (__exp10l): Likewise.
16193         * math/w_exp2l.c (__exp2l): Likewise.
16194         * math/w_fmodl.c (__fmodl): Likewise.
16195         * math/w_hypotl.c (__hypotl): Likewise.
16196         * math/w_j0l.c (__j0l, __y0l): Likewise.
16197         * math/w_j1l.c (__j1l, __y1l): Likewise.
16198         * math/w_jnl.c (__jnl, __ynl): Likewise.
16199         * math/w_lgammal.c (__lgammal): Likewise.
16200         * math/w_log10l.c (__log10l): Likewise.
16201         * math/w_log2l.c (__log2l): Likewise.
16202         * math/w_logl.c (__logl): Likewise.
16203         * math/w_powl.c (__powl): Likewise.
16204         * math/w_remainderl.c (__remainderl): Likewise.
16205         * math/w_scalbl.c (sysv_scalbl): Likewise.
16206         * math/w_sinhl.c (__sinhl): Likewise.
16207         * math/w_sqrtl.c (__sqrtl): Likewise.
16208         * math/w_tgammal.c (__tgammal): Likewise.
16209         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16210         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16211         * math/libm-test.inc (acos_test): Add more tests.
16212         (acosh_test): Likewise.
16213         (asin_test): Likewise.
16214         (atanh_test): Likewise.
16215         (exp_test): Likewise.
16216         (exp10_test): Likewise.
16217         (exp2_test): Likewise.
16218         (expm1_test): Likewise.
16219         (lgamma_test): Likewise.
16220         (log_test): Likewise.
16221         (log10_test): Likewise.
16222         (log1p_test): Likewise.
16223         (log2_test): Likewise.
16224         (pow_test): Do not allow some spurious overflow exceptions.
16225         (sqrt_test): Add more tests.
16226         (tgamma_test): Likewise.
16227         (y0_test): Likewise.
16228         (y1_test): Likewise.
16229         (yn_test): Likewise.
16231 2012-03-27  Anton Blanchard  <anton@samba.org>
16233         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16234         MAP_HUGETLB.
16235         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16236         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16237         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16239 2012-03-27  David S. Miller  <davem@davemloft.net>
16241         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16243         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16244         have-as-vis3 check.
16246 2012-03-27  Andreas Jaeger  <aj@suse.de>
16248         * sysdeps/x86_64/elf/configure.in: Moved to ...
16249         * sysdeps/x86_64/configure.in: ... here.
16250         * sysdeps/x86_64/elf/start.S: Moved to ...
16251         * sysdeps/x86_64/start.S: ... here.
16252         * sysdeps/x86_64/elf/configure: Delete.
16254         * sysdeps/x86_64/configure.in: Merge contents from
16255         sysdeps/i386/configure.in (without i686 check).
16257         * sysdeps/i386/elf/Versions: Merge into ...
16258         * sysdeps/i386/Versions: ... this.
16259         * sysdeps/i386/elf/Versions: Delete file.
16260         * sysdeps/i386/elf/start.S: Moved to ...
16261         * sysdeps/i386/start.S: ...here.
16262         * sysdeps/i386/elf/configure.in: Merge into...
16263         * sysdeps/i386/configure.in: ...here.
16264         * sysdeps/i386/elf/configure.in: Delete file.
16265         * sysdeps/i386/elf/configure: Delete file.
16267         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16268         * debug/backtracesyms.c: ... here.
16269         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16270         * debug/backtracesymsfd.c: ... here.
16271         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16272         * sysdeps/generic/ifunc-sel.h: ... here.
16274         * sysdeps/unix/i386/start.c: Delete file.
16275         * sysdeps/unix/sparc/start.c: Delete file.
16276         * sysdeps/unix/start.c: Delete file.
16278         * sysdeps/sh/elf/configure.in: Moved to ...
16279         * sysdeps/sh/configure.in: ... here.
16280         * sysdeps/sh/elf/start.S: Moved to ...
16281         * sysdeps/sh/start.S: ... here.
16282         * sysdeps/sh/elf/configure: Delete file.
16284         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16285         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16286         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16287         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16288         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16289         * sysdeps/powerpc/powerpc64/start.S: here.
16290         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16291         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16292         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16293         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16294         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16296         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16297         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16298         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16299         * sysdeps/powerpc/powerpc32/start.S: ... here.
16300         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16301         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16302         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16304         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16305         * sysdeps/powerpc/ifunc-sel.h: ... here.
16306         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16307         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16309         * sysdeps/sparc/elf/configure.in: Moved to ...
16310         * sysdeps/sparc/configure.in: ... here.
16311         * sysdeps/sparc/elf/configure: Delete file.
16312         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16313         * sysdeps/sparc/sparc32/start.S: ... here.
16314         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16315         * sysdeps/sparc/sparc64/start.S: ... here.
16316         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16317         * sysdeps/sparc/sparc32/Makefile: ... this.
16318         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16319         * sysdeps/sparc/sparc64/Makefile: ... this.
16321         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16322         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16323         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16324         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16325         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16326         * sysdeps/s390/s390-32/setjmp.S: ... here.
16327         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16328         * sysdeps/s390/s390-32/configure.in: ... here.
16329         * sysdeps/s390/s390-32/elf/configure: Delete file.
16330         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16331         * sysdeps/s390/s390-32/start.S: ... here.
16333         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16334         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16335         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16336         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16337         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16338         * sysdeps/s390/s390-64/setjmp.S: ... here.
16339         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16340         * sysdeps/s390/s390-64/configure.in: ... here
16341         * sysdeps/s390/s390-64/elf/configure: Delete file.
16342         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16343         * sysdeps/s390/s390-64/start.S: ... here.
16344         * sysdeps/s390/s390-64/elf/configure: Delete.
16346         * configure.in: Remove support for elf directories in sysdeps.
16348         * configure: Regenerated.
16349         * sysdeps/i386/configure: Regenerated.
16350         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16351         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16352         * sysdeps/s390/s390-32/configure: Regenerated.
16353         * sysdeps/s390/s390-64/configure: Regenerated.
16354         * sysdeps/sh/configure: Regenerated.
16355         * sysdeps/sparc/configure: Regenerated.
16356         * sysdeps/x86_64/configure: Regenerated.
16358 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16363         denormal result into account.
16365 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16367         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16368         Reported by Allan McRae <allan@archlinux.org>.
16370 2012-03-23  Jeff Law  <law@redhat.com>
16372         * nss/getnssent.c (__nss_getent): Fix typo.
16374 2012-03-23  David S. Miller  <davem@davemloft.net>
16376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16378 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16380         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16381         to pad to uint64_t for each field.
16382         (dl_tls_index): Replace unsigned long with uint64_t.
16384 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16385         Paul Pluzhnikov  <ppluzhnikov@google.com>
16387         [BZ #6528]
16388         * grp/Makefile (otherlibs): Don't set it.
16389         * inet/Makefile (otherlibs): Likewise.
16390         * login/Makefile (otherlibs): Likewise.
16391         * nscd/Makefile (otherlibs): Likewise.
16392         * posix/Makefile (otherlibs): Likewise.
16393         * pwd/Makefile (otherlibs): Likewise.
16394         * rt/Makefile (otherlibs): Likewise.
16395         * sunrpc/Makefile (otherlibs): Likewise.
16396         * nss/Makefile (otherlibs): Likewise.
16397         Add libnss_files to routines and static-only-routines.
16398         ($(objpfx)getent): Remove rule.
16399         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16400         static-only-routines.
16402 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16404         [BZ #13892]
16405         * math/s_cexp.c: Include <float.h>.
16406         (__cexp): Handle exp result overflowing not necessarily
16407         overflowing both real and imaginary parts of result.
16408         * math/s_cexpf.c: Likewise.
16409         * math/s_cexpl.c: Likewise.
16410         * math/libm-test.inc (cexp_test): Add more tests.
16411         * sysdeps/i386/fpu/libm-test-ulps: Update.
16412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16414 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16416         * include/link.h (ELFW): New macro.
16417         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16418         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16420 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16422         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16423         with uint64_t.
16425 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16427         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16428         declaration.
16429         (struct La_x32_retval): Likewise.
16431 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16433         * sysdeps/x86_64/preconfigure.in: New file.
16434         * sysdeps/x86_64/preconfigure: New generated file.
16436 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16438         [BZ #13824]
16439         * math/e_exp2l.c: Include <float.h>.
16440         (__ieee754_exp2l): Handle overflow and underflow cases
16441         separately.  Only pass fractional part of argument to
16442         __ieee754_expl.
16443         * math/libm-test.inc (exp2_test): Add more tests.
16445         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16446         negating x to take absolute value.
16447         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16448         Likewise.
16449         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16450         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16451         Likewise.
16452         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16453         computing low part if x was negated.
16454         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16456 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16458         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16459         la_x32_gnu_pltexit.
16460         (pltexit): Cast int_retval to ptrdiff_t.
16461         * elf/tst-auditmod3b.c: Likewise.
16462         * elf/tst-auditmod4b.c: Likewise.
16463         * elf/tst-auditmod5b.c: Likewise.
16464         * elf/tst-auditmod6b.c: Likewise.
16465         * elf/tst-auditmod6c.c: Likewise.
16466         * elf/tst-auditmod7b.c: Likewise.
16468         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16469         and x32_gnu_pltexit.
16471         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16472         __ELF_NATIVE_CLASS.
16473         (La_x32_regs): New macro.
16474         (La_x32_retval): Likewise.
16475         (la_x32_gnu_pltenter): New function prototype.
16476         (la_x32_gnu_pltexit): Likewise.
16478 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
16480         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16481         exponent.
16483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16485         * configure.in (libc_cv_cc_nofma): Check for option to disable
16486         generation of FMA instructions.
16487         * configure: Regenerate.
16488         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16489         * sysdeps/ieee754/dbl-64/Makefile: New file.
16490         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16491         Remove brandred-fma4.
16492         (CFLAGS-brandred-fma4.c): Remove.
16493         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16494         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16495         define.
16496         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16497         define.
16499 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16501         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16502         LLONG_MAX != LONG_MAX.
16503         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16504         (_fitoa_word): Likewise.
16505         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16506         LLONG_MAX != LONG_MAX.
16507         * stdio-common/_itowa.h: Include <_itoa.h>.
16508         (_itowa_word): Use _ITOA_WORD_TYPE on value.
16509         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
16510         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
16511         only if not defined.
16512         (_ITOA_WORD_TYPE): Likewise.
16513         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16514         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16516 2012-03-21  David S. Miller  <davem@davemloft.net>
16518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16520 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16522         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16523         of x86_64 when setting libc_cv_slibdir, libdir and
16524         libc_cv_localedir.
16525         * sysdeps/unix/sysv/linux/configure: Regenerated.
16527 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16529         * manual/lang.texi (Old Varargs): Remove section.
16530         (How Variadic): Update menu.
16531         (va_start): Do not mention varargs.h.
16533 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16534             Joseph Myers  <joseph@codesourcery.com>
16536         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16537         link test.
16538         * configure: Regenerated.
16540 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16542         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16543         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16544         conformtest.pl
16546 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16548         * NOTES: Remove.
16549         * Makefile (files-for-dist): Remove NOTES.
16550         (NOTES): Remove rule.
16551         * README: Don't refer to NOTES.
16552         * manual/creature.texi: Don't include macros.texi.
16553         * manual/intro.texi (creature.texi): Remove comment referring to
16554         NOTES.
16556         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16557         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16558         * configure: Regenerated.
16559         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16560         LIBC_TRY_CC_OPTION.
16561         (libc_cv_as_i686): Likewise.
16562         (libc_cv_cc_avx): Likewise.
16563         (libc_cv_cc_sse2avx): Likewise.
16564         (libc_cv_cc_fma4): Likewise.
16565         (libc_cv_cc_novzeroupper): Likewise.
16566         * sysdeps/i386/configure: Regenerated.
16568         [BZ #13883]
16569         * sysdeps/i386/fpu/s_cexp.S: Remove.
16570         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16571         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16572         * math/libm-test.inc (cexp_test): Add more tests.
16573         * sysdeps/i386/fpu/libm-test-ulps: Update.
16574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16576 2012-03-21  Allan McRae  <allan@archlinux.org>
16578         * timezone/Makefile: Do not install iso3166.tab and zone.tab
16580 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16582         [BZ #13871]
16583         * math/w_exp2.c: Do not include <float.h>.
16584         (o_threshold, u_threshold): Remove.
16585         (__exp2): Calculate result before checking finiteness and calling
16586         __kernel_standard.
16587         * math/w_exp2f.c: Likewise.
16588         * math/w_exp2l.c: Likewise.
16589         * math/libm-test.inc (exp2_test): Require overflow exception for
16590         1e6 input.
16592         [BZ #3866]
16593         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16594         range of signed 64-bit integers before using fistpll.  Remove
16595         checks for whether integers fit in mantissa bits.
16596         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16597         the range of signed 32-bit integers before using fistpl.  Remove
16598         checks for whether integers fit in mantissa bits.
16599         * sysdeps/i386/fpu/e_powl.S (p64): New object.
16600         (__ieee754_powl): Test for y outside the range of signed 64-bit
16601         integers before using fistpll.  Reduce 64-bit values to 63-bit
16602         ones as needed.
16603         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16604         divide-by-zero is raised for zero to large negative powers.
16605         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16606         (__ieee754_powl): Test for y outside the range of signed 64-bit
16607         integers before using fistpll.  Reduce 64-bit values to 63-bit
16608         ones as needed.
16609         * math/libm-test.inc (pow_test): Add more tests.
16611 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16613         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16614         <stdio-common/_itoa.h>.
16615         * debug/segfault.c: Likewise.
16616         * elf/dl-cache.c: Likewise.
16617         * elf/dl-minimal.c: Likewise.
16618         * elf/dl-misc.c: Likewise.
16619         * elf/dl-sysdep.c: Likewise.
16620         * elf/dl-version.c: Likewise.
16621         * elf/rtld.c: Likewise.
16622         * hurd/hurdsock.c: Likewise.
16623         * hurd/lookup-retry.c: Likewise.
16624         * malloc/malloc.c: Likewise.
16625         * malloc/mtrace.c: Likewise.
16626         * nscd/nscd_getgr_r.c: Likewise.
16627         * nscd/nscd_getpw_r.c: Likewise.
16628         * nscd/nscd_getserv_r.c: Likewise.
16629         * posix/getopt_init.c: Likewise.
16630         * posix/wordexp.c: Likewise.
16631         * stdio-common/_itoa.c: Likewise.
16632         * stdio-common/printf_fphex.c: Likewise.
16633         * stdio-common/vfprintf.c: Likewise.
16634         * string/_strerror.c: Likewise.
16635         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16636         * sysdeps/i386/i686/hp-timing.h: Likewise.
16637         * sysdeps/mach/_strerror.c: Likewise.
16638         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16639         * sysdeps/mach/hurd/sethostid.c: Likewise.
16640         * sysdeps/mach/hurd/xmknodat.c: Likewise.
16641         * sysdeps/mach/xpg-strerror.c: Likewise.
16642         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16644         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16645         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16646         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16647         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16648         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16649         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16650         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16651         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16652         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16653         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16654         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16655         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16656         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16657         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16658         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16659         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16660         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16661         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16662         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16664         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16666         * stdio-common/_itoa.h: Moved to ...
16667         * sysdeps/generic/_itoa.h: Here.
16669         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16671         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16672         instead of "_itoa.h" and "_itowa.h".
16673         * stdio-common/vfprintf.: Likewise.
16675 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16677         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16678         <bits/wordsize.h>.
16679         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16680         (__signbit): Likwise.
16681         (llrintf): Likwise.
16682         (llrint): Likwise.
16684 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16686         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16687         __WORDSIZE != 64.
16689 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
16691         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16692         OVERFLOW_EXCEPTION_OK.
16693         * math/libm-test.inc ("Philosophy"): Update comment about
16694         exception testing.
16695         (OVERFLOW_EXCEPTION): Define.
16696         (OVERFLOW_EXCEPTION_OK): Likewise.
16697         (INVALID_EXCEPTION_OK): Renumber.
16698         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16699         (IGNORE_ZERO_INF_SIGN): Likewise.
16700         (test_exceptions): Handle FE_OVERFLOW.
16701         (exp10_test): Expect overflow exceptions.
16702         (exp2_test): Likewise.
16703         (expm1_test): Likewise.
16704         (nextafter_test): Likewise.
16705         (pow_test): Likewise.
16706         (scalbn_test): Likewise.
16707         (scalbln_test): Likewise.
16709 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16711         * sysdeps/x86_64/bits/atomic.h
16712         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16713         64bit integer.
16714         (atomic_exchange_acq): Likewise.
16715         (__arch_exchange_and_add_body): Likewise.
16716         (__arch_add_body): Likewise.
16717         (atomic_add_negative): Likewise.
16718         (atomic_add_zero): Likewise.
16720 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16722         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16723         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16725 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16727         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16728         Check __x86_64__ instead of __WORDSIZE.
16730 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16732         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16734 2012-03-19  David S. Miller  <davem@davemloft.net>
16736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16738         * sysdeps/sparc/fpu/fenv_private.h: New file.
16739         * sysdeps/sparc/fpu/math_private.h: Use it.
16740         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16741         Remove.
16742         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16743         (libc_feholdexcept_setroundl): Remove.
16744         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16745         Remove.
16746         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16747         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16749 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16751         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16752         int64_t instead of long int.
16753         (INSERT_WORDS64): Likwise.
16755 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16757         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16758         _Unwind_GetCFA return to _Unwind_Ptr first.
16760 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
16762         [BZ #13629]
16763         * math/s_clog.c: Include <float.h>.
16764         (__clog): Scale large or subnormal inputs.
16765         * math/s_clogf.c: Likewise.
16766         * math/s_clogl.c: Likewise.
16767         * math/s_clog10.c: Include <float.h>.
16768         (M_LOG10_2): Define.
16769         (__clog10): Scale large or subnormal inputs.
16770         * math/s_clog10f.c: Likewise.
16771         * math/s_clog10l.c: Likewise.
16772         * math/libm-test.inc (clog_test): Add more tests.
16773         (clog10_test): Likewise.
16774         * sysdeps/i386/fpu/libm-test-ulps: Update.
16775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16777         [BZ #11451]
16778         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16779         x and y.
16780         * math/libm-test.inc (atan2_test): Add another test.
16782         * Makerules (common-objdir-compile): Remove.
16783         * sysdeps/unix/Makefile (config-generated): Do not add
16784         $(unix-generated) to variable.
16785         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16786         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16787         Remove rule.
16788         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16789         Likewise.
16790         [generic bits/local_lim.h] (before-compile): Do not append to
16791         variable.
16792         [generic bits/local_lim.h] (common-generated): Likewise.
16793         [generic sys/param.h] (before-compile): Do not append to variable.
16794         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16795         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16796         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16797         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16798         include.
16799         [generic sys/param.h] (sys/param.h-includes): Remove variable.
16800         [generic sys/param.h] (sys/param.h-includes): Remove rule.
16801         [generic sys/param.h] ($(addprefix
16802         $(common-objpfx),$(sys/param.h-includes))): Likewise.
16803         [generic sys/param.h] (common-generated): Do not append to
16804         variable.
16805         [generic sys/param.h] (sysdep_headers): Likewise.
16806         [generic bits/errno.h] (before-compile): Do not append to
16807         variable.
16808         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16809         rule.
16810         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16811         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16812         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16813         [generic bits/errno.h] (common-generated): Do not append to
16814         variable.
16815         [generic bits/ioctls.h] (before-compile): Do not append to
16816         variable.
16817         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16818         rule.
16819         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16820         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16821         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16822         rule.
16823         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16824         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16825         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16826         [generic bits/ioctls.h] (common-generated): Do not append to
16827         variable.
16828         [generic sys/syscall.h] (syscall.h): Remove variable.
16829         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16830         rule.
16831         [generic sys/syscall.h] (before-compile): Do not append to
16832         variable.
16833         [generic sys/syscall.h] (common-generated): Likewise.
16834         * sysdeps/unix/errnos-tmpl.c: Remove file.
16835         * sysdeps/unix/errnos.awk: Likewise.
16836         * sysdeps/unix/ioctls-tmpl.c: Likewise.
16837         * sysdeps/unix/ioctls.awk: Likewise.
16838         * sysdeps/unix/mk-local_lim.c: Likewise.
16839         * sysdeps/unix/snarf-ioctls: Likewise.
16841 2012-03-19  Richard Henderson  <rth@twiddle.net>
16843         * sysdeps/i386/fpu/fenv_private.h: New file.
16844         * sysdeps/i386/fpu/math_private.h: Use it.
16845         (math_opt_barrier, math_force_eval): Remove.
16846         (libc_feholdexcept_setround_53bit): Remove.
16847         (libc_feupdateenv_53bit): Remove.
16848         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16849         (math_opt_barrier, math_force_eval): Remove.
16850         (libc_feholdexcept): Remove.
16851         (libc_feholdexcept_setround): Remove.
16852         (libc_fetestexcept, libc_fesetenv): Remove.
16853         (libc_feupdateenv_test): Remove.
16854         (libc_feupdateenv, libc_feholdsetround): Remove.
16855         (libc_feresetround): Remove.
16857         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16858         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16860         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16861         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16862         (libc_feupdateenv_testl): New.
16863         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16864         (libc_feupdateenv_testf): New.
16865         (libc_feupdateenv): Use libc_feupdateenv_test.
16866         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16867         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16869         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16870         (libc_feholdsetroundf, libc_feholdsetroundl): New.
16871         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16872         (libc_feresetround_noex): New.
16873         (libc_feresetround_noexf): New.
16874         (libc_feresetround_noexl): New.
16875         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16876         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16877         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16878         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16879         SET_RESTORE_ROUND.
16880         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16881         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16882         (__cos): Likewise.
16883         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16884         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16885         SET_RESTORE_ROUND_NOEX.
16886         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16887         SET_RESTORE_ROUND_NOEXF.
16888         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16889         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16890         (libc_feholdsetroundf): New.
16891         (libc_feresetround, libc_feresetroundf): New.
16893         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16894         (libc_feholdexcept_setround_53bit): Convert from macro to function.
16895         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
16897         * sysdeps/generic/math_private.h: Include <fenv.h>.
16898         (default_libc_feholdexcept): New.
16899         (default_libc_feholdexcept_setround): New.
16900         (default_libc_fesetenv, default_libc_feupdateenv): New.
16901         (libc_feholdexcept): Only define if undefined.
16902         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16903         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16904         (libc_feholdexcept_setroundl): Likewise.
16905         (libc_feholdexcept_setround_53bit): Likewise.
16906         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16907         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16908         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16909         (libc_feupdateenv_53bit): Likewise.
16910         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16911         (libc_feholdexcept): Convert from macro to inline function.
16912         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16913         (libc_fesetenv, libc_feupdateenv): Likewise.
16915         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16916         not previously defined.
16917         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16918         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16919         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16920         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16921         * sysdeps/ieee754/flt-32/math_private.h: New file.
16922         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16923         math_private.h below SET_FLOAT_WORD.
16924         (__isnan, __isinf_ns, __finite): Remove.
16925         (__isnanf, __isinf_nsf, __finitef): Remove.
16927 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
16929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16931 2012-03-17  David S. Miller  <davem@davemloft.net>
16933         [BZ #6471]
16934         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16935         for 2.16.
16937 2012-03-16  David S. Miller  <davem@davemloft.net>
16939         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16940         warnings.
16942         [BZ #6471]
16943         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16944         properly.
16945         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16946         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16947         sysdep_routines when subdir is sysvipc.
16948         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16949         __getshmlba helper.
16951         * sysdeps/sparc/fpu/libm-test/ulps: Update.
16953 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16955         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16956         [__LP64__].
16958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16960         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16961         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16962         (__lround): Renamed to ...
16963         (__llround): This.  Replace long int with long long int.
16964         Define lround functions as aliases of llround functions.
16965         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16967 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16969         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16970         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
16971         adresses to uintptr_t.  Replace "long int" and "unsigned long
16972         int" with "greg_t" on va_arg.
16974 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16976         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16977         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16979         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16980         Move e_machine check before EI_CLASS check.  Handle x32
16981         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16982         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16983         SKIP_EM_IA_64 and include
16984         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16986         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16987         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16988         (add_system_dir): New macro.
16990         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16991         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16993 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16995         [BZ #2551]
16996         [BZ #2552]
16997         [BZ #2553]
16998         [BZ #2554]
16999         [BZ #2562]
17000         [BZ #2563]
17001         [BZ #2565]
17002         [BZ #2566]
17003         [BZ #2576]
17004         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17005         (y0): Likewise.
17006         * math/w_j0f.c (j0f): Likewise.
17007         (y0f): Likewise.
17008         * math/w_j0l.c (__j0l): Likewise.
17009         (__y0l): Likewise.
17010         * math/w_j1.c (j1): Likewise.
17011         (y1): Likewise.
17012         * math/w_j1f.c (j1f): Likewise.
17013         (y1f): Likewise.
17014         * math/w_j1l.c (__j1l): Likewise.
17015         (__y1l): Likewise.
17016         * math/w_jn.c (jn): Likewise.
17017         (yn): Likewise.
17018         * math/w_jnf.c (jnf): Likewise.
17019         (ynf): Likewise.
17020         * math/w_jnl.c (__jnl): Likewise.
17021         (__ynl): Likewise.
17022         * math/libm-test.inc (j0_test): Add more tests.
17023         (j1_test): Likewise.
17024         (jn_test): Likewise.  Add trailing semicolon to existing test.
17025         (y0_test): Likewise.
17026         (y1_test): Likewise.
17027         * sysdeps/i386/fpu/libm-test-ulps: Update.
17028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17030         [BZ #13851]
17031         [BZ #13854]
17032         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17033         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17034         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17035         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17036         (__tanl): Set errno for infinite argument.
17037         * sysdeps/i386/fpu/mptan.c: Remove.
17038         * sysdeps/i386/fpu/s_tan.S: Likewise.
17039         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17040         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17041         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17042         * math/libm-test.inc (tan_test): Add more tests and enable more
17043         tests for double and long double.
17044         * sysdeps/i386/fpu/libm-test-ulps: Update.
17045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17047 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17049         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17050         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17052 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17054         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17055         * configure.in: Use it for both main tree and add-ons.
17056         * configure: Regenerated.
17058 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17060         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17062 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17064         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17065         in comment.
17067         [BZ #13851]
17068         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17069         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17070         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17071         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17072         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17073         infinite argument.
17074         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17075         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17076         != 0 for prec == 2.
17077         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17078         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17079         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17080         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17081         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17082         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17083         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17084         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17085         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17086         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17087         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17088         * math/libm-test.inc (cos_test): Add more tests and enable more
17089         tests for long double.
17090         (sin_test): Likewise.
17091         (sincos_test): Likewise.
17092         * sysdeps/i386/fpu/libm-test-ulps: Update.
17093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17095 2012-03-16  David S. Miller  <davem@davemloft.net>
17097         * sysdeps/sparc/fpu/math_private.h: New file.
17099 2012-03-15  David S. Miller  <davem@davemloft.net>
17101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17102         file.
17103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17105         file.
17106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17111         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17112         sysdep routines.
17113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17115         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17116         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17118         * sysdeps/sparc/sparc-ifunc.h: New file.
17119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17120         sparc-ifunc.h
17121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17123         Likewise.
17124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17125         Likewise.
17126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17130         Likewise.
17131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17136         Likewise.
17137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17138         Likewise.
17139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17144         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17145         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17146         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17158         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17160         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17161         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17162         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17164 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17166         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17167         scaling.
17168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17170 2012-03-15  Andreas Jaeger  <aj@suse.de>
17172         [BZ #13852]
17173         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17174         ieee754/flt-32 implementation for sin, cos and sincos.
17175         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17176         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17177         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17178         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17179         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17180         ieee754/flt-32 implementation for tan.
17182         * math/libm-test.inc (cos_test): Enable some large input tests for
17183         float as well
17184         (sin_test): Likewise.
17185         (sincos_test): Likewise.
17186         (tan_test): Add tests for large input.
17188         * sysdeps/i386/fpu/libm-test-ulps: Update.
17190 2012-03-15  Andreas Jaeger  <aj@suse.de>
17192         [BZ #13658]
17193         * math/libm-test.inc (cos_test): Add more test cases.
17194         (sin_test): Likewise.
17195         (sincos_test): Likewise.
17197 2012-03-15  Andreas Jaeger  <aj@suse.de>
17199         [BZ #13837]
17200         * math/libm-test.inc (cos_test): Add a test case for large input
17201         value.
17202         (sin_test): Likewise.
17203         (sincos_test): Likewise.
17205 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17206         Joseph Myers  <joseph@codesourcery.com>
17208         [BZ #13658]
17209         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17210         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17211         * sysdeps/i386/fpu/branred.c: Likewise.
17212         * sysdeps/i386/fpu/dosincos.c: Likewise.
17213         * sysdeps/i386/fpu/mpa.c: Likewise.
17214         * sysdeps/i386/fpu/s_cos.S: Likewise.
17215         * sysdeps/i386/fpu/s_sin.S: Likewise.
17216         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17217         * sysdeps/i386/fpu/sincos32.c: Likewise.
17219         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17220         Define.
17221         (libc_feupdateenv_53bit): Define.
17222         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17223         Define.
17224         (libc_feupdateenv_53bit): Define.
17226         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17227         53 bit (without extend i386 double precision).
17229         * math/libm-test.inc (sincos_test): Add tests for large input.
17230         (sin): Likewise.
17231         (cos): Likewise.
17233         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17235 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17239 2012-03-15  David S. Miller  <davem@davemloft.net>
17241         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17242         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17243         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17244         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17257         file.
17258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17260         file.
17261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17263         file.
17264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17266         file.
17267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17268         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17269         fmin/fmax sysdep routines.
17270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17272 2012-03-14  David S. Miller  <davem@davemloft.net>
17274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17277         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17279         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17280         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17281         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17295         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17296         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17297         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17300         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17301         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17302         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17303         routines.
17304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17305         file.
17306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17308         file.
17309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17311         file.
17312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17314         file.
17315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17317         file.
17318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17320         file.
17321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17322         file.
17323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17324         file.
17325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17326         file.
17327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17328         New file.
17329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17330         file.
17331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17332         file.
17333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17335         file.
17336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17338         file.
17339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17341         file.
17342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17344         VIS3 routines.
17346         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17347         New file.
17349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17351         * sysdeps/sparc/configure.in: New file.
17352         * sysdeps/sparc/configure: Generate.
17353         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17354         * configure: Regenerate.
17355         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17356         * config.make.in (have-as-vis3): New.
17357         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17358         available use -Av9d instead of -Av9a.
17359         * sysdeps/sparc/sparc64/Makefile: Likewise.
17360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17362         New file.
17363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17364         file.
17365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17366         New file.
17367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17368         file.
17369         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17372         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17373         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17375         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17376         fzeros/fnegs to load 0x80000000 into a float register instead of
17377         using the stack.
17378         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17380 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17383         bits/syscall.h.
17384         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17385         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17386         ($(inst_includedir)/bits/syscall.h): Remove rule.
17387         ($(objpfx)bits/syscall.d): Include instead of
17388         $(objpfx)syscall-list.d.
17389         (generated): Change syscall-list.h and syscall-list.d to
17390         bits/syscall.h and bits/syscall.d.
17392 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17394         [BZ #13846]
17395         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17397 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17399         [BZ #13841]
17400         * math/s_csqrt.c: Include <float.h>.
17401         (__csqrt): Scale large or subnormal inputs.
17402         * math/s_csqrtf.c: Likewise.
17403         * math/s_csqrtl.c: Likewise.
17404         * math/libm-test.inc (csqrt_test): Add more tests.
17405         * sysdeps/i386/fpu/libm-test-ulps: Update.
17406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17408         [BZ #13840]
17409         * math/libm-test.inc (hypot_test): Add more tests.
17411 2012-03-13  David S. Miller  <davem@davemloft.net>
17413         [BZ #13840]
17414         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17415         double-precision for the calculation instead of scaling.
17417 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17419         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17420         manipulate bits before adding and subtracting TWO52[sx].
17421         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17422         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17423         Likewise.
17424         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17426 2012-03-13  David S. Miller  <davem@davemloft.net>
17428         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17429         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17431         rtld-global-offsets.h
17432         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17434         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17435         large parameters.
17437         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17439         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17440         'err' in the ifdef scope in which it is actually used.
17442         * nss/nss_db/db-init.c: Include string.h
17444 2012-03-12  David S. Miller  <davem@davemloft.net>
17446         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17447         masking out of the most significant byte of random value used.
17448         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17449         Fix coding style in previous change.
17451         * sysdeps/unix/sysv/linux/kernel-features.h
17452         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17453         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17454         expression.
17455         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17456         later.
17458 2012-03-11  David S. Miller  <davem@davemloft.net>
17460         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17461         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17462         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17463         for 'resultvar' otherwise things get truncated on 64-bit.
17465         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17466         Fix masking out of the most significant byte of random value used.
17468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17470 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17474 2012-03-09  David S. Miller  <davem@davemloft.net>
17476         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17477         variables with appropriate CPP guards.
17478         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17479         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
17480         on resulting framesize and the management of the outregs buffer for pltexit.
17481         Preserve floating point return values across _dl_call_pltexit call.
17482         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17483         framesize and the management of the outregs buffer for pltexit.
17484         Preserve floating point return values across _dl_call_pltexit
17485         call.
17486         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17487         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17488         (print_exit): Fix format string for return register value.
17490 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
17492         * sunrpc/Makefile (others): Add rpcgen.
17493         ($(objpfx)rpcgen): Remove special build rule and dependency on
17494         libc.
17495         * sunrpc/rpcgen.c: New file.
17497 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
17499         [BZ #13673]
17500         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17501         * stdio-common/bug-vfprintf-nargs.c: Likewise.
17502         * sysdeps/i386/crti.S: Likewise.
17503         * sysdeps/i386/crtn.S: Likewise.
17504         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17505         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17506         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17507         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17508         * sysdeps/sh/crti.S: Likewise.
17509         * sysdeps/sh/crtn.S: Likewise.
17510         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17512         [BZ #13673]
17513         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17514         with URL.
17515         * locale/programs/locfile-kw.gperf: Likewise.
17516         * locale/programs/charmap-kw.h: Regenerated.
17517         * locale/programs/locfile-kw.h: Likewise.
17519         [BZ #13673]
17520         * intl/plural.y: Replace FSF snail mail address with URL.
17521         * intl/plural.c: Regenerated.
17523 2012-03-09  Richard Henderson  <rth@twiddle.net>
17525         * include/math_private.h: Remove file.
17526         * math/math_private.h: Move file ...
17527         * sysdeps/generic/math_private.h: ... here.
17529         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17530         * sysdeps/powerpc/fpu/math_private.h: Likewise.
17531         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17533         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17534         and <math_private.h>.
17535         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17536         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17537         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17538         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17539         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17540         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17541         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17542         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17543         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17544         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17545         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17546         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17547         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17548         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17549         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17550         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17551         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17552         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17553         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17554         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17555         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17556         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17557         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17559         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17560         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17561         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17562         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17563         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17564         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17565         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17566         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17567         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17568         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17569         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17570         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17571         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17572         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17573         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17574         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17575         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17576         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17577         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17578         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17579         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17580         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17581         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17582         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17583         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17584         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17585         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17586         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17587         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17588         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17589         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17590         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17591         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17592         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17593         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17594         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17595         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17596         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17598         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17599         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17600         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17601         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17602         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17603         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17604         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17605         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17606         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17607         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17608         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17609         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17610         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17611         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17613         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17614         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17615         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17616         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17617         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17618         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17619         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17620         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17621         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17622         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17623         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17624         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17625         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17626         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17627         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17628         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17629         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17630         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17631         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17632         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17633         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17634         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17635         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17636         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17637         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17638         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17639         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17640         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17641         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17642         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17643         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17644         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17645         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17646         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17647         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17648         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17649         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17650         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17651         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17652         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17653         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17654         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17655         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17656         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17657         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17658         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17659         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17660         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17661         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17662         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17663         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17664         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17665         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17666         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17667         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17668         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17669         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17670         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17671         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17672         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17673         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17674         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17675         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17676         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17677         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17678         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17679         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17680         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17681         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17682         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17683         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17684         * sysdeps/ieee754/k_standard.c: Likewise.
17685         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17686         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17687         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17688         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17689         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17690         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17691         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17692         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17693         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17694         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17695         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17696         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17697         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17698         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17699         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17700         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17701         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17702         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17703         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17704         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17705         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17706         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17707         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17708         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17709         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17710         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17711         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17712         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17713         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17714         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17715         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17716         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17717         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17718         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17719         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17720         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17721         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17722         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17723         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17724         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17725         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17726         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17727         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17728         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17729         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17730         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17731         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17732         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17733         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17734         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17735         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17736         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17737         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17738         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17739         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17740         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17741         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17742         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17743         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17744         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17745         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17746         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17747         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17748         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17749         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17750         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17751         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17752         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17753         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17754         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17755         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17756         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17757         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17758         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17759         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17760         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17761         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17762         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17763         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17764         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17765         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17766         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17767         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17768         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17769         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17770         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17771         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17772         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17773         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17774         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17775         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17776         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17777         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17778         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17779         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17780         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17781         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17782         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17783         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17784         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17785         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17786         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17787         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17788         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17789         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17790         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17791         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17792         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17793         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17794         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17795         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17796         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17797         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17798         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17799         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17800         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17801         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17802         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17803         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17804         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17805         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17806         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17807         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17808         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17809         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17810         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17811         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17812         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17813         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17814         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17815         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17816         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17817         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17818         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17819         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17820         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17821         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17822         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17823         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17824         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17825         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17826         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17827         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17828         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17829         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17830         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17831         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17832         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17833         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17834         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17835         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17836         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17837         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17838         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17839         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17840         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17841         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17842         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17843         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17844         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17845         * sysdeps/ieee754/s_lib_version.c: Likewise.
17846         * sysdeps/ieee754/s_matherr.c: Likewise.
17847         * sysdeps/ieee754/s_signgam.c: Likewise.
17848         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17849         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17850         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17851         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17852         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17853         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17854         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17855         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17856         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17857         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17858         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17859         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17860         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17861         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17862         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17863         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17864         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17865         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17866         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17867         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17868         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17870 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17872         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17873         * sunrpc/rpc_main.c: Likewise.
17874         * sunrpc/rpc_svcout.c: Likewise.
17876 2012-03-09  David S. Miller  <davem@davemloft.net>
17878         * include/math_private.h: New file.
17880 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17882         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17883         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17884         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17885         from <bits/socket_type.h>.
17886         (enum __socket_type): Don't define here.
17887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17888         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17889         bits/socket_type.h.
17891         [BZ #13566]
17892         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17893         checking __USE_GNU.
17895         * Makerules ($(inst_includedir)/%.h): New rule.
17896         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17897         (install-others): Remove variable setting.
17898         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17900 2012-03-08  Richard Henderson  <rth@twiddle.net>
17902         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17903         from macro to inline function; merge with the
17904         !__LIBC_INTERNAL_MATH_INLINES version.
17905         (__ieee754_sqrtf): Likewise.
17907         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17908         to inline function.
17909         (__rintf, __floor, __floorf): Likewise.
17911         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17912         macro to inline function.
17913         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17915         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17916         not <math/math_private.h>.
17918 2012-03-08  David S. Miller  <davem@davemloft.net>
17920         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17921         copyright year.
17922         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17924 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
17926         * resolv/gai_misc.c (handle_requests): Fix struct timespec
17927         normalization.
17928         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17929         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17931 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
17933         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
17934         be defined individually, they must be defined as a block.  Define
17935         S for printing a string instead of hidint the different by using a
17936         macro for adding the 'l'.
17937         * stdio-common/tst-fphex-wide.c: Adjust.
17939 2012-03-07  Marek Polacek  <polacek@redhat.com>
17941         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17943 2012-03-08  Marek Polacek  <polacek@redhat.com>
17945         [BZ #13806]
17946         * stdio-common/Makefile (tests): Add tst-fphex-wide.
17947         * stdio-common/tst-fphex.c: Define a few macros to make the
17948         test reusable.  Use them.
17949         * stdio-common/tst-fphex-wide.c: New file.
17951 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
17953         [BZ #6911]
17954         * manual/macros.texi (gnusystems): New macro.
17955         (nongnusystems): Likewise.
17956         (gnulinuxhurdsystems): Likewise.
17957         (gnuhurdsystems): Likewise..
17958         (gnulinuxsystems): Likewise.
17959         * manual/charset.texi: Use new macros or @theglibc{} to refer to
17960         variants of the GNU system, not "GNU system".
17961         * manual/conf.texi: Likewise.
17962         * manual/errno.texi: Likewise.  Update example of errno macro
17963         expansion.
17964         * manual/filesys.texi: Likewise.
17965         (getumask): Document as specific to GNU/Hurd.
17966         * manual/install.texi: Likewise.  Reword some references to
17967         GNU/Linux.
17968         * manual/intro.texi: Likewise.
17969         * manual/io.texi: Likewise.
17970         (File Name Portability): Detail which constraints are inapplicable
17971         to all GNU systems and which are only inapplicable to GNU/Hurd.
17972         * manual/job.texi: Likewise.
17973         * manual/llio.texi: Likewise.
17974         (O_NOCTTY): Document as present on GNU/Linux.
17975         * manual/maint.texi: Likewise.
17976         * manual/memory.texi: Likewise.
17977         * manual/pattern.texi: Likewise.
17978         * manual/pipe.texi: Likewise.
17979         * manual/process.texi: Likewise.
17980         * manual/resource.texi: Likewise.
17981         (RUSAGE_CHILDREN): Remove statement about specifying a particular
17982         child on GNU/Hurd.
17983         * manual/setjmp.texi: Likewise.
17984         * manual/signal.texi: Likewise.
17985         * manual/startup.texi: Likewise.
17986         * manual/stdio.texi: Likewise.
17987         * manual/terminal.texi: Likewise.
17988         (ONLCR): Document as POSIX.
17989         (OXTABS): Document availability on GNU/Linux as XTABS.
17990         (ONOEOT): Document availability separately from other bits.
17991         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17992         * manual/time.texi: Likewise.
17993         * manual/users.texi: Likewise.
17994         * INSTALL: Regenerated.
17995         * sysdeps/gnu/errlist.c: Regenerated.
17997         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17998         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17999         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18000         puts.
18001         * configure: Regenerated.
18003 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18005         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18006         default includes instead of AC_HEADER_CHECK.
18007         * sysdeps/i386/configure: Regenerated.
18009         [BZ #10716]
18010         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18011         * math/s_cacoshf.c (__cacoshf): Likewise.
18012         * math/s_cacoshl.c (__cacoshl): Likewise.
18013         * math/s_casinh.c (__casinh): Set signs of result from argument.
18014         * math/s_casinhf.c (__casinhf): Likewise.
18015         * math/s_casinhl.c (__casinhl): Likewise.
18016         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18017         (casinh_test): Add more tests.
18018         * sysdeps/i386/fpu/libm-test-ulps: Update.
18019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18021 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18023         * po/zh_TW.po: Update from translation team.
18025         * login/Makefile (distribute): Remove variable.
18026         * catgets/Makefile: Likewise.
18027         * mach/Makefile: Likewise.
18028         * malloc/Makefile: Likewise.
18029         * misc/Makefile: Likewise.
18030         * iconv/Makefile: Likewise.
18031         * nscd/Makefile: Likewise.
18032         * hurd/Makefile: Likewise.
18033         * manual/Makefile: Likewise.
18034         * locale/Makefile: Likewise.
18035         * intl/Makefile: Likewise.
18036         * conform/Makefile: Likewise.
18037         * nss/Makefile: Likewise.
18038         * time/Makefile: Likewise.
18039         * soft-fp/Makefile: Likewise.
18040         * dirent/Makefile: Likewise.
18041         * gmon/Makefile: Likewise.
18042         * po/Makefile: Likewise.
18043         * rt/Makefile: Likewise.
18044         * socket/Makefile: Likewise.
18045         * math/Makefile: Likewise.
18046         * signal/Makefile: Likewise.
18047         * debug/Makefile: Likewise.
18048         * elf/Makefile: Likewise.
18049         * timezone/Makefile: Likewise.
18050         * stdlib/Makefile: Likewise.
18051         * iconvdata/Makefile: Likewise.
18052         * sunrpc/Makefile: Likewise.
18053         * io/Makefile: Likewise.
18054         * argp/Makefile: Likewise.
18055         * inet/Makefile: Likewise.
18056         * hesiod/Makefile: Likewise.
18057         * grp/Makefile: Likewise.
18058         * csu/Makefile: Likewise.
18059         * wctype/Makefile: Likewise.
18060         * crypt/Makefile: Likewise.
18061         * libio/Makefile: Likewise.
18062         * string/Makefile: Likewise.
18063         * nis/Makefile: Likewise.
18064         * resolv/Makefile: Likewise.
18065         * stdio-common/Makefile: Likewise.
18066         * wcsmbs/Makefile: Likewise.
18067         * dlfcn/Makefile: Likewise.
18068         * posix/Makefile: Likewise.
18070         [BZ #6959]
18071         * timezone/Makefile: Don't install timezone files, just the programs
18072         and scripts.
18074 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18076         * nss/databases.def: Add missing gshadow entry.
18078         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18080 2012-03-06  Marek Polacek  <polacek@redhat.com>
18082         [BZ #13726]
18083         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18084         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18085         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18086         * stdio-common/tst-long-dbl-fphex.c: New file.
18088 2012-03-06  David S. Miller  <davem@davemloft.net>
18090         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18091         (set_obp_int): New function.
18092         (get_obp_int): New function.
18093         (__get_clockfreq_via_dev_openprom): Likewise.
18094         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18095         Avoid unused variable warnings on 'val' and use builtin_expect.
18096         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18097         __builtin_expect.
18098         (INLINE_CLONE_SYSCALL): Likewise.
18100 2012-03-05  David S. Miller  <davem@davemloft.net>
18102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18104 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18108         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18109         only for |x| >= 40.
18110         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18112 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18114         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18115         Replace gettimeofday with __vdso_gettimeofday.
18117         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18118         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18119         __vdso_clock_gettime and __vdso_getcpu.
18121         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18122         time with __vdso_time.
18124 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18126         * manual/lang.texi (size_t): Note types to which size_t may be
18127         equivalent with the GNU C Library, but do not describe when
18128         differences between them are significant.
18130 2012-03-05  Andreas Jaeger  <aj@suse.de>
18132         * sysdeps/i386/fpu/libm-test-ulps: Update.
18134 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18136         [BZ #3976]
18137         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18138         (__ieee754_pow): Save and restore rounding mode and use
18139         round-to-nearest for main computations.
18140         * math/libm-test.inc (pow_test_tonearest): New function.
18141         (pow_test_towardzero): Likewise.
18142         (pow_test_downward): Likewise.
18143         (pow_test_upward): Likewise.
18144         (main): Call the new functions.
18145         * sysdeps/i386/fpu/libm-test-ulps: Update.
18146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18148         [BZ #3976]
18149         * math/libm-test.inc (cosh_test_tonearest): New function.
18150         (cosh_test_towardzero): Likewise.
18151         (cosh_test_downward): Likewise.
18152         (cosh_test_upward): Likewise.
18153         (sinh_test_tonearest): Likewise.
18154         (sinh_test_towardzero): Likewise.
18155         (sinh_test_downward): Likewise.
18156         (sinh_test_upward): Likewise.
18157         (main): Call the new functions.
18158         * sysdeps/i386/fpu/libm-test-ulps: Update.
18159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18161 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18163         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18164         default stack guard is set in last bytes.
18165         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18167 2012-03-05  Kees Cook  <keescook@chromium.org>
18169         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18171         [BZ #13656]
18172         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18173         possibly allocate from heap instead of stack.
18174         * stdio-common/bug-vfprintf-nargs.c: New file.
18175         * stdio-common/Makefile (tests): Add nargs overflow test.
18177 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18181 2012-03-03  Marek Polacek  <polacek@redhat.com>
18183         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18184         * math/math_private.h: Likewise.
18185         * stdlib/tst-strtod.c: Likewise.
18186         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18187         * sysdeps/x86_64/bits/atomic.h: Likewise.
18189 2012-03-02  David S. Miller  <davem@davemloft.net>
18191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18195         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18196         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18197         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18198         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18200 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18202         [BZ #13792]
18203         * manual/examples/README: New file, says the example source files
18204         can be used under GPL>=2.
18205         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18206         line containing just "*/".
18207         * manual/examples/add.c: Add copyright header (GPL>=2).
18208         * manual/examples/argp-ex1.c: Likewise.
18209         * manual/examples/argp-ex2.c: Likewise.
18210         * manual/examples/argp-ex3.c: Likewise.
18211         * manual/examples/argp-ex4.c: Likewise.
18212         * manual/examples/atexit.c: Likewise.
18213         * manual/examples/db.c: Likewise.
18214         * manual/examples/dir.c: Likewise.
18215         * manual/examples/dir2.c: Likewise.
18216         * manual/examples/execinfo.c: Likewise.
18217         * manual/examples/filecli.c: Likewise.
18218         * manual/examples/filesrv.c: Likewise.
18219         * manual/examples/fmtmsgexpl.c: Likewise.
18220         * manual/examples/genpass.c: Likewise.
18221         * manual/examples/inetcli.c: Likewise.
18222         * manual/examples/inetsrv.c: Likewise.
18223         * manual/examples/isockad.c: Likewise.
18224         * manual/examples/longopt.c: Likewise.
18225         * manual/examples/memopen.c: Likewise.
18226         * manual/examples/memstrm.c: Likewise.
18227         * manual/examples/mkfsock.c: Likewise.
18228         * manual/examples/mkisock.c: Likewise.
18229         * manual/examples/mygetpass.c: Likewise.
18230         * manual/examples/pipe.c: Likewise.
18231         * manual/examples/popen.c: Likewise.
18232         * manual/examples/rprintf.c: Likewise.
18233         * manual/examples/search.c: Likewise.
18234         * manual/examples/select.c: Likewise.
18235         * manual/examples/setjmp.c: Likewise.
18236         * manual/examples/sigh1.c: Likewise.
18237         * manual/examples/sigusr.c: Likewise.
18238         * manual/examples/stpcpy.c: Likewise.
18239         * manual/examples/strdupa.c: Likewise.
18240         * manual/examples/strftim.c: Likewise.
18241         * manual/examples/strncat.c: Likewise.
18242         * manual/examples/subopt.c: Likewise.
18243         * manual/examples/swapcontext.c: Likewise.
18244         * manual/examples/termios.c: Likewise.
18245         * manual/examples/testopt.c: Likewise.
18246         * manual/examples/testpass.c: Likewise.
18247         * manual/examples/timeval_subtract.c: Likewise.
18249         [BZ #13792]
18250         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18251         function to ...
18252         * manual/timeval_subtract.c.texi: ... here, new file.
18254 2012-03-02  David S. Miller  <davem@davemloft.net>
18256         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18258 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18260         [BZ #3976]
18261         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18262         (__sin): Save and restore rounding mode and use round-to-nearest
18263         for all computations.
18264         (__cos): Save and restore rounding mode and use round-to-nearest
18265         for all computations.
18266         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18267         <fenv.h>.
18268         (tan): Save and restore rounding mode and use round-to-nearest for
18269         all computations.
18270         * math/libm-test.inc (cos_test_tonearest): New function.
18271         (cos_test_towardzero): Likewise.
18272         (cos_test_downward): Likewise.
18273         (cos_test_upward): Likewise.
18274         (sin_test_tonearest): Likewise.
18275         (sin_test_towardzero): Likewise.
18276         (sin_test_downward): Likewise.
18277         (sin_test_upward): Likewise.
18278         (tan_test_tonearest): Likewise.
18279         (tan_test_towardzero): Likewise.
18280         (tan_test_downward): Likewise.
18281         (tan_test_upward): Likewise.
18282         (main): Call the new functions.
18283         * sysdeps/i386/fpu/libm-test-ulps: Update.
18284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18286         [BZ #10135]
18287         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18288         small n, then large n, before computing and testing k+n.
18289         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18290         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18291         Likewise.
18292         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18293         Likewise.
18294         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18295         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18296         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18297         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18298         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18299         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18300         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18301         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18302         * math/libm-test.inc (scalbn_test): Add more tests.
18303         (scalbln_test): Likewise.
18305         * manual/filesys.texi (mode_t): Describe constraints on size and
18306         signedness, not exact equivalence to a particular type.
18307         (ino_t): Likewise.
18308         (ino64_t): Likewise.
18309         (dev_t): Likewise.
18310         (nlink_t): Likewise.
18311         (blkcnt_t): Likewise.
18312         (blkcnt64_t): Likewise.
18313         * manual/llio.texi (off_t): Likewise.
18315         [BZ #3976]
18316         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18317         (__ieee754_exp): Save and restore rounding mode and use
18318         round-to-nearest for all computations.
18319         * math/libm-test.inc (exp_test_tonearest): New function.
18320         (exp_test_towardzero): Likewise.
18321         (exp_test_downward): Likewise.
18322         (exp_test_upward): Likewise.
18323         (main): Call the new functions.
18324         * sysdeps/i386/fpu/libm-test-ulps: Update.
18325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18327 2012-03-01  Chris Demetriou  <cgd@google.com>
18329         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18330         have predictable order.
18332 2012-03-01  David S. Miller  <davem@davemloft.net>
18334         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18336         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18337         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18338         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18339         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18341         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18342         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18343         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18345         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18346         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18347         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18348         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18349         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18353         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18354         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18355         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18357         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18358         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18359         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18360         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18361         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18362         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18363         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18364         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18365         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18366         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18367         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18368         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18370         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18371         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18372         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18373         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18374         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18375         * sysdeps/sparc/elf/configure: Regenerated.
18377 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18379         * configure.in (AS, LD): Require binutils 2.20 or later.
18380         * configure: Regenerated.
18381         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18382         as required minimum version.
18383         * INSTALL: Regenerated.
18385         [BZ #2541]
18386         [BZ #4108]
18387         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18388         before squaring exponent.
18389         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18390         bottom long double and 27 bits of top long double before squaring
18391         exponent.
18392         * math/libm-test.inc (erfc_test): Add more tests.
18393         * sysdeps/i386/fpu/libm-test-ulps: Update.
18394         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18397 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18399         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18400         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18401         containing bit-fields.
18402         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18403         * soft-fp/single.h (_FP_UNION_S): Likewise.
18404         * soft-fp/double.h (_FP_UNION_D): Likewise.
18406 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18408         [BZ #13786]
18409         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18410         not include ../strcmp.S.
18411         [USE_AS_STRNCASECMP_L]: Likewise.
18412         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18413         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18414         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18415         (__strncasecmp_l_ia32): Define as alias to
18416         __strncasecmp_l_nonascii.
18418         [BZ #5794]
18419         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18420         * sysdeps/i386/fpu/libm-test-ulps: Update.
18421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18423         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18426 2012-02-29  Jeff Law  <law@redhat.com>
18428         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18429         out of bounds read.
18431 2012-02-29  Marek Polacek  <polacek@redhat.com>
18433         [BZ #13706]
18434         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18435         * elf/Makefile: Add rules to run tst-unused-dep.out.
18437 2012-02-28  David S. Miller  <davem@davemloft.net>
18439         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18440         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18441         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18442         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18443         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18444         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18446 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18448         * math/libm-test.inc (llround_test): Move one test from
18449         lround_test.  Use TEST_f_L in moved test.
18450         (lround_test): Move misplaced test to llround_test.  Add testcase
18451         from bug 2561.
18453 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18455         * sysdeps/x86_64/fpu/e_expf.S: New file.
18456         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18458 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18460         [BZ #13637]
18461         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18462         of remain_len that may cause incomplete multi-byte character and
18463         false match.
18464         * posix/bug-regex33.c: New file.
18465         * posix/Makefile (tests): Add bug-regex33.
18467 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18469         * manual/macros.texi: New file.
18470         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18471         * manual/libc.texinfo: Include macros.texi.
18472         * manual/creatute.texi: Likewise.
18473         * manual/install.texi: Likewise.
18474         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18475         @glibcadj{} in references to the GNU C Library.
18476         * manual/charset.texi: Likewise.
18477         * manual/conf.texi: Likewise.
18478         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18479         when not using those macros.
18480         * manual/creature.texi: Likewise.
18481         * manual/crypt.texi: Likewise.
18482         * manual/errno.texi: Likewise.
18483         * manual/filesys.texi: Likewise.
18484         * manual/header.texi: Likewise.
18485         * manual/install.texi: Likewise.
18486         * manual/intro.texi: Likewise.
18487         * manual/io.texi: Likewise.
18488         * manual/job.texi: Likewise.
18489         * manual/lang.texi: Likewise.
18490         * manual/libc.texiinfo: Likewise.
18491         * manual/llio.texi: Likewise.
18492         * manual/locale.texi: Likewise.
18493         * manual/maint.texi: Likewise.
18494         * manual/math.texi: Likewise.
18495         * manual/memory.texi: Likewise.
18496         * manual/message.texi: Likewise.
18497         * manual/nss.texi: Likewise.
18498         * manual/pattern.texi: Likewise.
18499         * manual/process.texi: Likewise.
18500         * manual/resource.texi: Likewise.
18501         * manual/search.texi: Likewise.
18502         * manual/setjmp.texi: Likewise.
18503         * manual/signal.texi: Likewise.
18504         * manual/socket.texi: Likewise.
18505         * manual/startup.texi: Likewise.
18506         * manual/stdio.texi: Likewise.
18507         * manual/string.texi: Likewise.
18508         * manual/sysinfo.texi: Likewise.
18509         * manual/syslog.texi: Likewise.
18510         * manual/terminal.texi: Likewise.
18511         * manual/time.texi: Likewise.
18512         * manual/users.texi: Likewise.
18513         * INSTALL: Regenerated.
18514         * NOTES: Regenerated.
18515         * sysdeps/gnu/errlist.c: Regenerated.
18517 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
18519         * include/dirent.h: Include <dirstream.h> before
18520         <dirent/dirent.h>.
18522 2012-02-28  David S. Miller  <davem@davemloft.net>
18524         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18525         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18526         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18527         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18529 2012-02-27  David S. Miller  <davem@davemloft.net>
18531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18533         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18534         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18537         frame pointer instead of stack pointer relative arg slot.
18538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18539         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18540         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18542 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
18544         [BZ #3992]
18545         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18547 2012-02-27  David S. Miller  <davem@davemloft.net>
18549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18553         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18554         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18555         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18556         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18558 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18560         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18561         later.  Allow versions 5-9.
18562         * configure: Regenerated.
18563         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18564         required minimum version and 4.6 as recommended version.  Do not
18565         mention bugs in GCC 2.7 and 2.8.
18566         * INSTALL: Regenerated.
18568 2012-02-27  David S. Miller  <davem@davemloft.net>
18570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18574         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18575         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18576         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18577         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18579         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18580         manipulate bits before adding and subtracting TWO112[sx].
18581         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18583 2012-02-27  Roland McGrath  <roland@hack.frob.com>
18585         [BZ #13775]
18586         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18587         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18588         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18589         being in POSIX, because they are in 1003.1-2008.
18591         * rt/tst-aio.c: Include <fcntl.h>.
18592         * rt/tst-aio7.c: Likewise.
18593         * rt/tst-aio64.c: Likewise.
18595         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18597 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18599         * manual/install.texi (--with-headers): Describe headers as
18600         interface headers, not private headers.
18601         (Specific advice for GNU/Linux systems): Describe use of headers
18602         from "make headers_install", not private headers from older
18603         kernels.
18604         * INSTALL: Regenerated.
18605         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18606         Change to 2.6.19.
18607         * sysdeps/unix/sysv/linux/configure: Regenerated.
18609         * manual/llio.texi (fclean): Remove documentation.
18611         * manual/Makefile (libc-texi-generated): New variable.  Include
18612         version.texi.
18613         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18614         $(libc-texi-generated), not duplicated list of files.
18615         (version.texi, stamp-version): New rules.
18616         (realclean): Remove $(libc-texi-generated), not individual files
18617         from that list.  Do not remove dir-add.texinfo.
18618         * manual/libc.texinfo: Comment out uses of edition numbers and
18619         references to printed manual.  Remove last-updated dates.
18620         (EDITION): Comment out.
18621         (ISBN): Likewise.
18622         (VERSION, UPDATED): Remove.
18623         (version.texi): Include.
18625 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
18627         * sysdeps/posix/spawni.c: Include <signal.h>.
18628         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18629         * sysdeps/pthread/aio_fsync.c: Likewise.
18631 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
18633         * conform/Makefile (tests): Run only when not cross-compiling and
18634         when fast-check is not defined.
18636         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18637         * conform/data/limits.h-data: Fixes for POSIX2008.
18638         * conform/run-conformtest.sh: Run all tests.
18639         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18640         headers.
18641         * include/bits/dlfcn.h: Likewise.
18642         * include/langinfo.h: Likewise.
18643         * include/monetary.h: Likewise.
18644         * include/sys/poll.h: Likewise.
18646         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18647         for __USE_GNU.
18648         * posix/spawn.h: Define __need_sigset_t.
18649         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18650         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18651         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
18652         to get sigevent_t only.
18653         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18654         only for __USE_GNU.
18655         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18656         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18657         process_vm_writev only for __USE_GNU.
18658         * termios/termios.h: Declare tcgetsid also for POSIX2008.
18660         * conform/Makefile: For now ignore errors from run-conformtest.
18661         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
18662         POSIX to avoid namespace pollution.  Don't prepend headers.
18663         * conform/data/aio.h-data: Fixes for POSIX testing.
18664         * conform/data/fcntl.h-data: Likewise.
18665         * conform/data/glob.h-data: Likewise.
18666         * conform/data/grp.h-data: Likewise.
18667         * conform/data/pthread.h-data: Likewise.
18668         * conform/data/pwd.h-data: Likewise.
18669         * conform/data/signal.h-data: Likewise.
18670         * conform/data/spawn.h-data: Likewise.
18671         * conform/data/stdio.h-data: Likewise.
18672         * conform/data/stdlib.h-data: Likewise.
18673         * conform/data/stropts.h-data: Likewise.
18674         * conform/data/sys/mman.h-data: Likewise.
18675         * conform/data/sys/stat.h-data: Likewise.
18676         * conform/data/sys/types.h-data: Likewise.
18677         * conform/data/sys/wait.h-data: Likewise.
18678         * conform/data/time.h-data: Likewise.
18679         * conform/data/unistd.h-data: Likewise.
18680         * conform/data/utime.h-data: Likewise.
18682         * io/sys/stat.h: fchmod was always in POSIX.
18683         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18684         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18685         * rt/aio.h: Define __need_timespec before including <time.h>.
18686         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18687         struct.  Add forward declaration of pthread_attr_t and use it in
18688         sigevent.
18689         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18690         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18691         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18692         always remove CLK_TCK definition.
18694 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
18696         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18698 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
18700         * conform/run-conformtest.sh: New file.
18701         * conform/Makefile: Run run-conformtest for tests.
18702         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
18703         support.
18705         * conform/data/uchar.h-data: New file.
18706         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18707         * conform/data/arpa/inet.h-data: Likewise.
18708         * conform/data/assert.h-data: Likewise.
18709         * conform/data/complex.h-data: Likewise.
18710         * conform/data/cpio.h-data: Likewise.
18711         * conform/data/ctype.h-data: Likewise.
18712         * conform/data/dirent.h-data: Likewise.
18713         * conform/data/dlfcn.h-data: Likewise.
18714         * conform/data/errno.h-data: Likewise.
18715         * conform/data/fcntl.h-data: Likewise.
18716         * conform/data/float.h-data: Likewise.
18717         * conform/data/fmtmsg.h-data: Likewise.
18718         * conform/data/fnmatch.h-data: Likewise.
18719         * conform/data/ftw.h-data: Likewise.
18720         * conform/data/glob.h-data: Likewise.
18721         * conform/data/grp.h-data: Likewise.
18722         * conform/data/iconv.h-data: Likewise.
18723         * conform/data/inttypes.h-data: Likewise.
18724         * conform/data/langinfo.h-data: Likewise.
18725         * conform/data/libgen.h-data: Likewise.
18726         * conform/data/limits.h-data: Likewise.
18727         * conform/data/locale.h-data: Likewise.
18728         * conform/data/math.h-data: Likewise.
18729         * conform/data/monetary.h-data: Likewise.
18730         * conform/data/mqueue.h-data: Likewise.
18731         * conform/data/ndbm.h-data: Likewise.
18732         * conform/data/net/if.h-data: Likewise.
18733         * conform/data/netdb.h-data: Likewise.
18734         * conform/data/netinet/in.h-data: Likewise.
18735         * conform/data/nl_types.h-data: Likewise.
18736         * conform/data/poll.h-data: Likewise.
18737         * conform/data/pthread.h-data: Likewise.
18738         * conform/data/pwd.h-data: Likewise.
18739         * conform/data/regex.h-data: Likewise.
18740         * conform/data/sched.h-data: Likewise.
18741         * conform/data/search.h-data: Likewise.
18742         * conform/data/semaphore.h-data: Likewise.
18743         * conform/data/setjmp.h-data: Likewise.
18744         * conform/data/signal.h-data: Likewise.
18745         * conform/data/spawn.h-data: Likewise.
18746         * conform/data/stdarg.h-data: Likewise.
18747         * conform/data/stdio.h-data: Likewise.
18748         * conform/data/stdlib.h-data: Likewise.
18749         * conform/data/string.h-data: Likewise.
18750         * conform/data/strings.h-data: Likewise.
18751         * conform/data/stropts.h-data: Likewise.
18752         * conform/data/sys/ipc.h-data: Likewise.
18753         * conform/data/sys/mman.h-data: Likewise.
18754         * conform/data/sys/msg.h-data: Likewise.
18755         * conform/data/sys/resource.h-data: Likewise.
18756         * conform/data/sys/select.h-data: Likewise.
18757         * conform/data/sys/sem.h-data: Likewise.
18758         * conform/data/sys/shm.h-data: Likewise.
18759         * conform/data/sys/socket.h-data: Likewise.
18760         * conform/data/sys/stat.h-data: Likewise.
18761         * conform/data/sys/statvfs.h-data: Likewise.
18762         * conform/data/sys/time.h-data: Likewise.
18763         * conform/data/sys/timeb.h-data: Likewise.
18764         * conform/data/sys/times.h-data: Likewise.
18765         * conform/data/sys/types.h-data: Likewise.
18766         * conform/data/sys/uio.h-data: Likewise.
18767         * conform/data/sys/un.h-data: Likewise.
18768         * conform/data/sys/utsname.h-data: Likewise.
18769         * conform/data/sys/wait.h-data: Likewise.
18770         * conform/data/syslog.h-data: Likewise.
18771         * conform/data/tar.h-data: Likewise.
18772         * conform/data/termios.h-data: Likewise.
18773         * conform/data/utime.h-data: Likewise.
18774         * conform/data/utmpx.h-data: Likewise.
18775         * conform/data/varargs.h-data: Likewise.
18776         * conform/data/wchar.h-data: Likewise.
18777         * conform/data/wctype.h-data: Likewise.
18778         * conform/data/wordexp.h-data: Likewise.
18780         * include/stropts.h: New file.
18781         * include/uchar.h: New file.
18782         * include/aio.h: Changes to allow conformtest.pl to use the headers.
18783         * include/assert.h: Likewise.
18784         * include/ctype.h: Likewise.
18785         * include/dirent.h: Likewise.
18786         * include/dlfcn.h: Likewise.
18787         * include/fcntl.h: Likewise.
18788         * include/fnmatch.h: Likewise.
18789         * include/glob.h: Likewise.
18790         * include/grp.h: Likewise.
18791         * include/libio.h: Likewise.
18792         * include/locale.h: Likewise.
18793         * include/math.h: Likewise.
18794         * include/net/if.h: Likewise.
18795         * include/netdb.h: Likewise.
18796         * include/netinet/in.h: Likewise.
18797         * include/pthread.h: Likewise.
18798         * include/pwd.h: Likewise.
18799         * include/regex.h: Likewise.
18800         * include/sched.h: Likewise.
18801         * include/search.h: Likewise.
18802         * include/setjmp.h: Likewise.
18803         * include/signal.h: Likewise.
18804         * include/stdio.h: Likewise.
18805         * include/stdlib.h: Likewise.
18806         * include/string.h: Likewise.
18807         * include/sys/cdefs.h: Likewise.
18808         * include/sys/mman.h: Likewise.
18809         * include/sys/msg.h: Likewise.
18810         * include/sys/resource.h: Likewise.
18811         * include/sys/select.h: Likewise.
18812         * include/sys/socket.h: Likewise.
18813         * include/sys/stat.h: Likewise.
18814         * include/sys/statvfs.h: Likewise.
18815         * include/sys/time.h: Likewise.
18816         * include/sys/times.h: Likewise.
18817         * include/sys/uio.h: Likewise.
18818         * include/sys/utsname.h: Likewise.
18819         * include/sys/wait.h: Likewise.
18820         * include/termios.h: Likewise.
18821         * include/time.h: Likewise.
18822         * include/ulimit.h: Likewise.
18823         * include/unistd.h: Likewise.
18824         * include/utime.h: Likewise.
18825         * include/wchar.h: Likewise.
18826         * include/wctype.h: Likewise.
18827         * include/wordexp.h: Likewise.
18829         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18831         * time/time.h: TIME_UTC must be a macro.
18832         Make timespec_get available for ISO C11 only as well.
18834 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
18836         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18837         Reported by Peng Haitao <penght@cn.fujitsu.com>.
18839 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18841         * configure.in: Use -o not -a in test for unsupported multi-arch.
18843 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18845         * manual/texinfo.tex: Update to version 2012-01-19.16.
18847 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18849         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18851 2012-02-24  Roland McGrath  <roland@hack.frob.com>
18853         [BZ #13738]
18854         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18855         * manual/fdl-1.3.texi: New file.
18856         * manual/fdl-1.1.texi: File removed.
18858         [BZ #13738]
18859         * manual/libc.texinfo (FDL_VERSION): New @set.
18860         Use it for mention of FDL in cover text.
18861         (Documentation License): Use it in @include file name.
18863 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18864             Roland McGrath  <roland@hack.frob.com>
18866         [BZ #5461]
18867         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18868         not LONG_LONG_MAX and LONG_LONG_MIN.
18869         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18870         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
18871         name.
18872         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18874 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18876         [BZ #2547]
18877         [BZ #11365]
18878         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18879         manipulate bits before adding and subtracting TWO23[sx].
18880         * math/libm-test.inc (nearbyint_test): Add more tests.
18882 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18884         [BZ #2548]
18885         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18886         bits before adding and subtracting TWO23[sx].
18887         * math/libm-test.inc (rint_test): Add more tests.
18888         (rint_test_tonearest): Likewise.
18889         (rint_test_towardzero): Likewise.
18890         (rint_test_downward): Likewise.
18891         (rint_test_upward: Likewise.
18893 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18895         [BZ #10110]
18896         * include/stdc-predef.h: New file.  Extracted from features.h.
18897         * include/features.h: Include stdc-predef.h.
18898         * Makefile (headers): Add stdc-predef.h.
18899         * CONFORMANCE (Compiler limitations): Update.
18901 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18903         * manual/libc.texinfo (VERSION, UPDATED): Revert.
18905 2012-02-21  David S. Miller  <davem@davemloft.net>
18907         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18908         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18910 2012-02-20  David S. Miller  <davem@davemloft.net>
18912         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18913         using a normal save/restore sequence, rather than allocating a
18914         dummy stack frame just to store a frame pointer and restore.
18915         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18917 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18919         * manual/install.texi: Fix stray word in line-wrapped comment.
18921 2012-02-20  David S. Miller  <davem@davemloft.net>
18923         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18924         both binutils and gcc support GOTDATA.
18926         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18927         "rd %pc" in the PIC register setup sequences.
18929         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18930         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18931         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18932         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18933         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18934         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18935         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18936         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18938         (SYSCALL_ERROR_HANDLER): Likewise.
18939         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18940         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18941         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18942         (SYSCALL_ERROR_HANDLER): Likewise.
18944         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18945         (HAVE_GCC_GOTDATA): New.
18946         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18947         relocation support in both binutils and gcc.
18948         * sysdeps/sparc/elf/configure: Regenerate.
18950         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18951         * sysdeps/sparc/sparc32/elf/configure: Delete.
18952         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18953         * sysdeps/sparc/sparc64/elf/configure: Delete.
18954         * sysdeps/sparc/elf/configure.in: New file.
18955         * sysdeps/sparc/elf/configure: Generate.
18957         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18958         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18959         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18960         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18961         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18963 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18965         * manual/install.texi: Do not mention specific glibc version
18966         numbers.
18967         * manual/libc.texinfo (VERSION, UPDATED): Update.
18968         (@copying): Use @copyright{} and range of years.
18970 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18972         [BZ #13695]
18973         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18974         [crti.S not in sysdirs] (generated): Do not append.
18975         [crti.S not in sysdirs] (omit-deps): Likewise.
18976         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18977         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18978         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18979         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18980         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18981         Likewise.
18982         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18983         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18984         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18985         * csu/defs.awk: Remove file.
18986         * sysdeps/generic/initfini.c: Likewise.
18987         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18988         variable.
18989         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18990         Likewise.
18992 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18994         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18995         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18996         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18997         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18998         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18999         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19000         <bits/epoll.h>.
19001         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19002         (__EPOLL_PACKED): Define to empty if not defined by
19003         <bits/epoll.h>.
19004         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19005         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19006         bits/epoll.h.
19008 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19010         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19011         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19012         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19013         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19014         <bits/timerfd.h>.
19015         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19017         bits/timerfd.h.
19019 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19021         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19022         in C locale.
19023         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19024         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19025         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19028 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19030         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19031         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19033 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19035         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19036         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19037         defined.
19038         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19039         Likewise.
19040         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19041         entry for 2.16.
19043 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19045         * math/w_acos.c: Use non-signaling floating-point comparisons.
19046         * math/w_acosf.c: Likewise.
19047         * math/w_acosh.c: Likewise.
19048         * math/w_acoshf.c: Likewise.
19049         * math/w_acoshl.c: Likewise.
19050         * math/w_acosl.c: Likewise.
19051         * math/w_asin.c: Likewise.
19052         * math/w_asinf.c: Likewise.
19053         * math/w_asinl.c: Likewise.
19054         * math/w_atanh.c: Likewise.
19055         * math/w_atanhf.c: Likewise.
19056         * math/w_atanhl.c: Likewise.
19057         * math/w_exp2.c: Likewise.
19058         * math/w_exp2f.c: Likewise.
19059         * math/w_exp2l.c: Likewise.
19060         * math/w_j0.c: Likewise.
19061         * math/w_j0f.c: Likewise.
19062         * math/w_j0l.c: Likewise.
19063         * math/w_j1.c: Likewise.
19064         * math/w_j1f.c: Likewise.
19065         * math/w_j1l.c: Likewise.
19066         * math/w_jn.c: Likewise.
19067         * math/w_jnf.c: Likewise.
19068         * math/w_log.c: Likewise.
19069         * math/w_log10.c: Likewise.
19070         * math/w_log10f.c: Likewise.
19071         * math/w_log10l.c: Likewise.
19072         * math/w_log2.c: Likewise.
19073         * math/w_log2f.c: Likewise.
19074         * math/w_log2l.c: Likewise.
19075         * math/w_logf.c: Likewise.
19076         * math/w_logl.c: Likewise.
19077         * math/w_sqrt.c: Likewise.
19078         * math/w_sqrtf.c: Likewise.
19079         * math/w_sqrtl.c: Likewise.
19080         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19081         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19082         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19083         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19084         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19086 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19088         [BZ #9739]
19089         * manual/string.texi (strnlen): Use correct parameter name in
19090         equivalent expression.
19092 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19094         [BZ #11174]
19095         * manual/users.texi (seteuid): Consistently use neweuid for
19096         argument name.
19098 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19100         [BZ #13704]
19101         * manual/nss.texi (Services in the NSS configuration): Correct
19102         list of services in example configuration file.
19104 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19106         [BZ #11322]
19107         * manual/arith.texi: Remove statements about negative zero
19108         behaving identically to zero.
19110 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19112         [BZ #5993]
19113         * manual/install.texi: Do not document upgrading from libc5.
19115 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19117         [BZ #4596]
19118         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19120 2012-02-18  David S. Miller  <davem@davemloft.net>
19122         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19123         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19124         %o7 across the call.
19125         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19126         instead.
19127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19128         SETUP_PIC_REG_LEAF.
19129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19130         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19131         * sysdeps/sparc/crtn.S: Likewise.
19133 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19135         * aout/Makefile: Remove.
19137 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19139         [BZ #13058]
19140         * manual/examples/argp-ex1.c (main): Format definition in GNU
19141         style.
19142         * manual/examples/argp-ex2.c (main): Likewise.
19143         * manual/examples/argp-ex3.c (main): Likewise.
19144         * manual/examples/argp-ex4.c (main): Likewise.
19145         * manual/examples/longopt.c (main): Use new-style prototype
19146         definition.
19147         * manual/examples/strncat.c (main): Specify return type and use
19148         (void) for arguments.
19149         * manual/examples/subopt.c (main): Use char **argv argument.
19151 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19153         [BZ #5077]
19154         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19155         rounding modes.
19157 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19159         [BZ #6907]
19160         * manual/string.texi (strchr): Change when strchrnul is
19161         recommended.
19163 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19165         [BZ #174]
19166         * manual/locale.texi (setlocale): Document LOCPATH.
19168 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19170         [BZ #10210]
19171         * manual/process.texi (execle): Move @dots{} before last argument.
19173 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19175         [BZ #12047]
19176         * manual/charset.texi (Generic Charset Conversion): Fix typo
19177         (LC_TYPE -> LC_CTYPE).
19179 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19181         [BZ #5805]
19182         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19183         (scalbnf): Likewise.
19184         (scalbnl): Likewise.
19185         (scalbln): Likewise.
19186         (scalblnf): Likewise.
19187         (scalblnl): Likewise.
19188         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19189         (vwarnx): Likewise.
19190         (verr): Likewise.
19191         (verrx): Likewise.
19192         * manual/filesys.texi (telldir): Use braces around return type.
19193         * manual/llio.texi (mmap): Add space after comma.
19194         (mmap64): Likewise.
19195         * manual/math.texi (jn): Use @var{} on parameter names.
19196         (jnf): Likewise.
19197         (jnl): Likewise.
19198         (yn): Likewise.
19199         (ynf): Likewise.
19200         (ynl): Likewise.
19201         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19202         line.
19203         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19204         "...".
19205         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19206         (sched_get_priority_max): Likewise.
19207         * manual/signal.texi (sigvec): Add space after comma.
19208         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19209         names.
19210         (if_indextoname): Likewise.
19211         (if_freenameindex): Likewise.
19212         (sendto): Use ',' instead of '.' in prototype.
19213         * manual/startup.texi (syscall): Use @dots{} instead of literal
19214         "...".
19215         * manual/stdio.texi (__fpending): Separate initial words of
19216         paragraph from @deftypefun line.
19217         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19218         "...".
19219         (vsyslog): Use @var{} on parameter names.
19220         * manual/terminal.texi (stty): Use @var{} on parameter names.
19221         * manual/users.texi (getutmp): Use @var{} on parameter names.
19222         (getutmpx): Likewise.
19224 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19226         [BZ #6884]
19227         * manual/stdio.texi (fopen): Fix typos in description of
19228         ",ccs=STRING".
19230 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19232         [BZ #4026]
19233         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19234         get clock_id definition.
19236 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19238         [BZ #4822]
19239         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19240         (madvise): Cast every argument to void on its own.
19242 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19244         [BZ #9902]
19245         * manual/startup.texi (Exit Status): Fix typo.
19247 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19249         [BZ #10140]
19250         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19251         * manual/examples/argp-ex2.c: Likewise.
19252         * manual/examples/argp-ex3.c: Likewise.
19254 2012-02-16  Richard Henderson  <rth@redhat.com>
19256         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19257         * sysdeps/s390/s390-32/initfini.c: Remove.
19258         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19259         * sysdeps/s390/s390-64/initfini.c: Remove.
19261 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19263         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19264         compiler output for sysdeps/generic/initfini.c.
19265         * sysdeps/sh/elf/initfini.c: Remove file.
19267 2012-02-16  David S. Miller  <davem@davemloft.net>
19269         [BZ #11494]
19270         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19272         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19273         * sysdeps/sparc/crti.S: New file.
19274         * sysdeps/sparc/crtn.S: New file.
19275         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19276         * sysdeps/sparc/sparc64/Makefile: Likewise.
19278 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19280         [BZ #3335]
19281         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19283 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19285         [BZ #4822]
19286         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19288         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19289         (write, read, close): Likewise.
19290         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19292 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19294         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19295         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19296         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19297         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19298         <bits/signalfd.h>.
19299         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19300         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19301         bits/signalfd.h.
19303 2012-02-14  Marek Polacek  <polacek@redhat.com>
19305         * sysdeps/x86_64/crti.S: New file.
19306         * sysdeps/x86_64/crtn.S: New file.
19307         * sysdeps/x86_64/elf/initfini.c: Remove file.
19309 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19311         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19312         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19313         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19314         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19315         <bits/inotify.h>.
19316         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19318         bits/inotify.h.
19320 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19322         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19323         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19324         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19325         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19326         <bits/eventfd.h>.
19327         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19329         bits/eventfd.h.
19331 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19333         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19334         __feraiseexcept instead of feraiseexcept.
19336         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19337         nanosleep invocations.
19338         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19339         strings, and add error checking for a nanosleep invocations.
19341 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19343         Replace FSF snail mail address with URLs, as per GNU coding standards.
19344         Most of the snail mail addresses were wrong anyway, and omitting
19345         them makes the source code easier to maintain.  Almost all of the
19346         changes are to license notices and to locale LC_IDENTIFICATION
19347         addresses, except for this one:
19348         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19349         not its snail mail address.
19351 2012-02-09  Richard Henderson  <rth@twiddle.net>
19353         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19354         of kernel-features.h.
19356         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19358 2012-02-08  Marek Polacek  <polacek@redhat.com>
19360         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19361         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19362         * sysdeps/gnu/_G_config.h: Likewise.
19363         * sysdeps/generic/_G_config.h: Likewise.
19365 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19367         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19368         tests.
19369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19371         * sysdeps/powerpc/powerpc32/crti.S: New file.
19372         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19373         * sysdeps/powerpc/powerpc64/crti.S: New file.
19374         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19376         * Makeconfig (have-initfini): Don't set.
19377         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19378         * configure.in (nopic_initfini): Don't substitute.
19379         * config.h.in (HAVE_INITFINI): Don't #undef.
19380         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19381         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19383 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19385         Support crti.S and crtn.S provided directly by architectures.
19386         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19387         [crti.S in sysdirs] (omit-deps): Likewise.
19388         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19389         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19390         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19391         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19392         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19393         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19394         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19395         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19396         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19397         compiler output for sysdeps/generic/initfini.c.
19398         * sysdeps/i386/elf/Makefile: Remove file.
19399         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19401 2012-02-07  Marek Polacek  <polacek@redhat.com>
19403         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19404         * sysdeps/gnu/_G_config.h: Likewise.
19405         * sysdeps/mach/hurd/_G_config.h: Likewise.
19407 2012-02-07  Marek Polacek  <polacek@redhat.com>
19409         * math/Makefile (tests): Add tst-CMPLX2.
19410         * math/tst-CMPLX2.c: New file.
19412 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19414         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19416         * math/libm-test.inc (jn_test): Add missing L suffix.
19418 2012-02-06  Marek Polacek  <polacek@redhat.com>
19420         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19421         * sysdeps/i386/fpu/e_powf.S: Likewise.
19422         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19423         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19424         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19425         * sysdeps/i386/fpu/e_pow.S: Likewise.
19426         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19427         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19428         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19429         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19430         * sysdeps/i386/fpu/e_log2.S: Likewise.
19431         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19432         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19433         * sysdeps/i386/fpu/e_powl.S: Likewise.
19434         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19435         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19436         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19437         * sysdeps/i386/fpu/e_logl.S: Likewise.
19438         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19439         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19440         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19441         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19442         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19443         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19444         * sysdeps/i386/fpu/e_log.S: Likewise.
19445         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19446         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19447         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19448         * sysdeps/i386/fpu/e_logf.S: Likewise.
19449         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19450         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19451         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19452         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19453         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19454         * sysdeps/i386/fpu/e_log10.S: Likewise.
19455         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19456         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19457         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19458         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19459         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19460         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19461         * sysdeps/i386/asm-syntax.h: Likewise.
19462         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19463         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19464         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19465         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19466         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19467         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19468         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19469         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19470         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19471         * sysdeps/powerpc/sysdep.h: Likewise.
19472         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19473         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19475 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19477         [BZ #411]
19478         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19480 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19482         * sysdeps/i386/sysdep.h: Include <features.h>.
19483         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19484         version.
19486 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
19488         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19489         Define.
19490         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19491         LOAD_PIC_REG_STR.
19493 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19495         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19496         (SETUP_PIC_REG): Use GET_PC_THUNK.
19497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19498         macro.
19500 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19502         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19503         for non-PIC compilation.
19504         (SETUP_PIC_REG): Add .p2align directive.
19505         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19506         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19507         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19508         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19509         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19510         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19511         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19512         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19513         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19514         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19515         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19516         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19517         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19518         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19519         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19520         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19521         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19522         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19523         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19524         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19525         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19526         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19527         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19528         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19529         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19531         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19532         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19533         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19534         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19535         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19536         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19537         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19538         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19539         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19540         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19541         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19542         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19543         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19544         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19545         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19547 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19549         * math/tst-CMPLX.c: Include <stdio.h>.
19551 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
19553         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19554         float.
19555         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19556         * sysdeps/sparc/bits/mathdef.h: Likewise.
19558 2012-01-31  Marek Polacek  <polacek@redhat.com>
19560         * libio/libio.h: Don't define _PARAMS.
19561         * locale/programs/config.h: Don't define PARAMS.
19562         * stdlib/strtol_l.c: Likewise.
19563         (__strtol_l): Remove PARAMS from the prototype.
19565 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
19567         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
19568         names.  Just use the correct names.  Remove unnecessary wrapper
19569         functions.
19570         * malloc/arena.c: Likewise.
19571         * malloc/hooks.c: Likewise.
19573         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19574         ARENA_TEST says not to.  Simplify test for creation of a new arena.
19575         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19577 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
19579         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19580         into tail calls.
19581         (update_get_addr): New function.
19582         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19583         GET_ADDR_MODULE parameter.
19585 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19587         * crypt/cert.c: Remove __STDC__ conditionals.
19588         * crypt/crypt-entry.c: Likewise.
19589         * crypt/crypt_util.c: Likewise.
19590         * libio/filedoalloc.c: Likewise.
19591         * libio/fileops.c: Likewise.
19592         * libio/genops.c: Likewise.
19593         * libio/iofclose.c: Likewise.
19594         * libio/iofdopen.c: Likewise.
19595         * libio/iofopen.c: Likewise.
19596         * libio/iofopen64.c: Likewise.
19597         * libio/iogetdelim.c: Likewise.
19598         * libio/iopopen.c: Likewise.
19599         * libio/obprintf.c: Likewise.
19600         * libio/oldfileops.c: Likewise.
19601         * libio/oldiofclose.c: Likewise.
19602         * libio/oldiofdopen.c: Likewise.
19603         * libio/oldiofopen.c: Likewise.
19604         * libio/oldiopopen.c: Likewise.
19605         * libio/wfiledoalloc.c: Likewise.
19606         * libio/wgenops.c: Likewise.
19607         * locale/programs/xmalloc.c: Likewise.
19608         * misc/syslog.c: Likewise.
19609         * stdio-common/xbug.c: Likewise.
19610         * string/memchr.c: Likewise.
19611         * string/memcmp.c: Likewise.
19612         * string/memrchr.c: Likewise.
19613         * string/rawmemchr.c: Likewise.
19614         * sysdeps/posix/getcwd.c: Likewise.
19615         * time/strftime_l.c: Likewise.
19617 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19619         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19620         * config.make.in (config-cflags-sse2avx): Define.
19621         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19622         Fix typo.
19624 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
19626         * scripts/config.guess: Update from upstream config git repository.
19627         * scripts/config.sub: Likewise.
19629 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
19631         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19632         (EM_NUM): Update.
19633         (R_TILEPRO_*, R_TILEGX_*): New macros.
19635         * scripts/firstversions.awk: Fix bug in version range handling.
19637         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19639         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19641         * include/sys/epoll.h: New file.
19642         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19643         libc_hidden_def.
19645 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
19647         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19648         Avoid unnecessary __WORDSIZE == 64 test.
19649         (fmaxf): Use VEX format if possible.
19650         (fmax): Likewise.
19651         (fminf): Likewise.
19652         (fmin): Likewise.
19654         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19655         * math/math_private.h: Remove libc_fegetround* and
19656         libc_fesetround*.
19657         * sysdeps/i386/configure.in: Check for -msse2avx.
19658         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19659         also if SSE2AVX is defined.
19660         Remove libc_fegetround* and libc_fesetround*.
19661         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19662         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
19663         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19664         of HAS_YMM_USABLE.
19665         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19666         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19667         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19668         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19669         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19671         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19673 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19675         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19676         size is not set.
19677         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19679 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
19681         [BZ #13618]
19682         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19683         relocation.
19684         * Makeconfig (libm): Define.
19685         * elf/Makefile: Add rules to build and run tst-relsort1.
19686         * elf/tst-relsort1.c: New file.
19687         * elf/tst-relsort1mod1.c: New file.
19688         * elf/tst-relsort1mod2.c: New file.
19690 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
19692         * math/s_ldexp.c: Remove __STDC__ conditionals.
19693         * math/s_ldexpf.c: Likewise.
19694         * math/s_ldexpl.c: Likewise.
19695         * math/s_nextafter.c: Likewise.
19696         * math/s_nexttowardf.c: Likewise.
19697         * math/s_significand.c: Likewise.
19698         * math/s_significandf.c: Likewise.
19699         * math/s_significandl.c: Likewise.
19700         * math/w_jnl.c: Likewise.
19701         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19702         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19703         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19704         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19705         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19706         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19707         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19708         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19709         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19710         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19711         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19712         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19713         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19714         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19715         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19716         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19717         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19718         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19719         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19720         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19721         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19722         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19723         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19724         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19725         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19726         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19727         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19728         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19729         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19730         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19731         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19732         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19733         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19734         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19735         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19736         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19737         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19738         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19739         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19740         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19741         * sysdeps/ieee754/k_standard.c: Likewise.
19742         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19743         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19744         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19745         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19746         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19747         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19748         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19749         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19750         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19751         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19752         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19753         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19754         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19755         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19756         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19757         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19758         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19759         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19760         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19761         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19762         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19763         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19764         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19765         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19766         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19767         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19768         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19769         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19771         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19772         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19773         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19774         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19775         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19776         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19777         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19778         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19779         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19780         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19781         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19782         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19783         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19784         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19785         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19786         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19787         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19788         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19789         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19790         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19791         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19792         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19793         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19794         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19795         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19796         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19797         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19798         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19799         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19800         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19801         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19802         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19803         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19804         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19805         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19806         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19807         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19808         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19809         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19810         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19811         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19812         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19813         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19814         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19815         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19816         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19817         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19818         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19819         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19820         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19821         * sysdeps/ieee754/s_matherr.c: Likewise.
19822         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19823         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19824         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19825         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19827 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19829         * crypt/md5.h: Remove __STDC__ conditionals.
19830         * libio/libioP.h: Likewise.
19831         * locale/programs/config.h: Likewise.
19832         * sysdeps/generic/sysdep.h: Likewise.
19833         * sysdeps/i386/asm-syntax.h: Likewise.
19834         * sysdeps/s390/asm-syntax.h: Likewise.
19835         * sysdeps/unix/sysdep.h: Likewise.
19836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19839 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19841         * libio/libio.h: Remove __STDC__ conditionals.
19842         * malloc/obstack.h: Likewise.
19843         * math/complex.h: Likewise.
19844         * math/math.h: Likewise.
19845         * sysdeps/generic/_G_config.h: Likewise.
19846         * sysdeps/gnu/_G_config.h: Likewise.
19847         * sysdeps/mach/hurd/_G_config.h: Likewise.
19848         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19849         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19850         * sysdeps/sparc/bits/mathdef.h: Likewise.
19852 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
19854         [BZ #13583]
19855         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19856         Clean up HAS_* macros.
19857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19858         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19859         possible.
19860         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19861         HAS_AVX.
19862         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19863         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19864         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19865         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19866         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19868 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
19870         * elf/tst-unique3.cc (gets): Remove declaration.
19871         * elf/tst-unique3lib.cc (gets): Likewise.
19872         * elf/tst-unique3lib2.cc (gets): Likewise.
19873         * elf/tst-unique4.cc (gets): Likewise.
19875 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
19877         * include/stdio.h: Add C++ protection.  Add gets declarations and
19878         definitions.
19879         * debug/tst-chk1.c: Don't declare gets here.
19880         * stdio-common/tst-gets.c: Likewise.
19882 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19884         * posix/glob: Remove directory.
19886 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19888         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19890 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
19892         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19893         of the non-standard EPFNOSUPPORT.
19895 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19897         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19898         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19899         ANYWHERE set to 1 only on KERN_NO_SPACE error.
19901 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
19903         * wcsmbs/uchar.h: Test __STDC_VERSION__.
19905 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
19907         * nscd/aicache.c (addhstaiX): Do not cache negative results of
19908         transient errors.
19909         * nscd/grpcache.c (cache_addgr): Likewise.
19910         * nscd/hstcache.c (cache_addhst): Likewise.
19911         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19912         * nscd/pwdcache.c (cache_addpw): Likewise.
19913         * nscd/servicescache.c (cache_addserv): Likewise.
19915 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
19917         * malloc/malloc.c: Various cleanups.
19918         * malloc/hooks.c: Likewise.
19920         * stdlib/Makefile (tests): Add bug-fmtmsg1.
19921         * stdlib/bug-fmtmsg1.c: New file.
19923         * stdlib/fmtmsg.c (init): Add missing unlock.
19924         Patch by Peng Haitao <penght@cn.fujitsu.com>.
19926 2012-01-12  Marek Polacek  <polacek@redhat.com>
19928         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19929         and _GNU_SOURCE.
19931 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19933         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19934         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19935         macro to ensure uniqueness of label name.
19936         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19937         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19939 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
19941         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19943         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19944         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19945         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19946         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19948 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
19950         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19952         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19953         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19954         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19956         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19958         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19959         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19960         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19961         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19963         * math/bits/math-finite.h: Add ldexp support.
19965 2012-01-10  Marek Polacek  <polacek@redhat.com>
19967         * locale/programs/localedef.h (show_archive_content): Add noreturn
19968         attribute.
19970 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
19972         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19974 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19976         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19978         * io/Makefile (headers): Add bits/poll2.h.
19980 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
19982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19983         typo #include statement.
19985 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19987         * include/sys/cdefs.h: Define __attribute_alloc_size.
19988         * catgets/gencat.c: Add alloc_size attribute and apply consistently
19989         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19990         * elf/pldd.c: Likewise.
19991         * iconv/iconv_charmap.c: Likewise.
19992         * iconv/iconvconfig.c: Likewise.
19993         * iconv/strtab.c: Likewise.
19994         * locale/programs/locale.c: Likewise.
19995         * locale/programs/localedef.h: Likewise.
19996         * locale/programs/simple-hash.c: Likewise.
19997         * nscd/nscd.h: Likewise.
19998         * nss/makedb.c: Likewise.
19999         * sysdeps/generic/ldconfig.h: Likewise.
20000         * locale/programs/localedef.c: Remove xmalloc prototype.
20001         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20003 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20005         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20006         appropriate.
20008 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20010         * math/Makefile (tests): Add tst-CMPLX.
20011         * math/tst-CMPLX.c: New file.
20013         * math/complex.h (CMPLXL): Fix typo.
20015         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20016         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20017         GLIBC_2.16.
20018         * debug/tst-chk1.c: Add poll and ppoll tests.
20019         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20020         * include/sys/poll.h: Add hidden proto for ppoll.
20021         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20022         * sysdeps/mach/hurd/ppoll.c: Likewise.
20023         * io/ppoll.c: Likewise.
20024         * debug/poll_chk.c: New file.
20025         * debug/ppoll_chk.c: New file.
20026         * include/bits/poll2.h: New file.
20027         * io/bits/poll2.h: New file.
20029         [BZ #1350]
20030         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20032         * configure.in: static is always set to yes.  Remove.
20033         * config.make.in: Don't set build-static.
20034         * Makeconfig: Remove use of build-static.
20035         * dlfcn/Makefile: Likewise.
20036         * elf/Makefile: Likewise.
20037         * math/Makefile: Likewise.
20038         * misc/Makefile: Likewise.
20039         * nptl/Makefile: Likewise.
20040         * sysdeps/mach/hurd/Makefile: Likewise.
20042         * configure.in: PWD_P is not used anymore.
20043         * config.make.in: Remove PWD_P entry.
20045         * configure.in: Remove last remnants of RANLIB.
20046         No need to check for signed size_t anymore.
20047         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20048         and IA-64.
20049         Remove __builtin_expect test because we require at least gcc 3.4.
20050         * aclocal.m4: Likewise.
20052         * wcsmbs/mbrtoc16.c: Implement using towc function.
20053         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20054         * wcsmbs/wcsmbsload.c: Likewise.
20055         * iconv/gconv_simple.c: Likewise.
20056         * iconv/gconv_int.h: Likewise.
20057         * iconv/gconv_builtin.h: Likewise.
20058         * iconv/iconv_prog.c: Remove CHAR16 handling.
20060         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20062         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20064         * configure.in: Remove --with-elf and --enable-bounded options.
20065         Dont set base_machine for ia64.  More non-ELF conditions removed.
20066         Remove testing and setting of leading underscore information.
20067         * config.make.in (build-bounded): Set to no.
20068         * config.h.in: Remove NO_UNDERSCORES entry.
20069         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20070         them.
20071         * csu/start.c: Remove !NO_UNDERSCORE code.
20072         * locale/localeinfo.h: Likewise.
20073         * sysdeps/generic/machine-gmon.h: Likewise.
20074         * sysdeps/generic/sysdep.h: Likewise.
20075         * sysdeps/i386/sysdep.h: Likewise.
20076         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20077         * sysdeps/mach/sysdep.h: Likewise.
20078         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20079         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20080         * sysdeps/sh/sysdep.h: Likewise.
20081         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20082         * sysdeps/unix/i386/sysdep.S: Likewise.
20083         * sysdeps/unix/sparc/start.c: Likewise.
20084         * sysdeps/unix/sparc/sysdep.S: Likewise.
20085         * sysdeps/unix/sparc/sysdep.h: Likewise.
20086         * sysdeps/unix/start.c: Likewise.
20087         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20088         * sysdeps/x86_64/sysdep.h: Likewise.
20090 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20092         [BZ #13553]
20093         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20094         for non-gcc.
20095         * argp/argp-fmtstream.h: Use const instead __const.
20096         * argp/argp.h: Likewise.
20097         * assert/assert.h: Likewise.
20098         * bits/fenv.h: Likewise.
20099         * bits/sched.h: Likewise.
20100         * bits/sigset.h: Likewise.
20101         * bits/sigthread.h: Likewise.
20102         * catgets/nl_types.h: Likewise.
20103         * conform/data/pthread.h-data: Likewise.
20104         * crypt/crypt-private.h: Likewise.
20105         * crypt/crypt.h: Likewise.
20106         * crypt/crypt_util.c: Likewise.
20107         * ctype/ctype.h: Likewise.
20108         * debug/execinfo.h: Likewise.
20109         * debug/mbsnrtowcs_chk.c: Likewise.
20110         * debug/mbsrtowcs_chk.c: Likewise.
20111         * debug/wcsnrtombs_chk.c: Likewise.
20112         * debug/wcsrtombs_chk.c: Likewise.
20113         * debug/wcstombs_chk.c: Likewise.
20114         * dirent/dirent.h: Likewise.
20115         * dlfcn/dlfcn.h: Likewise.
20116         * elf/neededtest4.c: Likewise.
20117         * grp/grp.h: Likewise.
20118         * gshadow/gshadow.h: Likewise.
20119         * iconv/gconv.h: Likewise.
20120         * iconv/gconv_int.h: Likewise.
20121         * iconv/gconv_simple.c: Likewise.
20122         * iconv/iconv.h: Likewise.
20123         * iconv/loop.c: Likewise.
20124         * iconv/skeleton.c: Likewise.
20125         * include/aio.h: Likewise.
20126         * include/aliases.h: Likewise.
20127         * include/argz.h: Likewise.
20128         * include/arpa/inet.h: Likewise.
20129         * include/assert.h: Likewise.
20130         * include/dirent.h: Likewise.
20131         * include/dlfcn.h: Likewise.
20132         * include/execinfo.h: Likewise.
20133         * include/fcntl.h: Likewise.
20134         * include/fenv.h: Likewise.
20135         * include/glob.h: Likewise.
20136         * include/grp.h: Likewise.
20137         * include/libintl.h: Likewise.
20138         * include/mntent.h: Likewise.
20139         * include/netdb.h: Likewise.
20140         * include/pwd.h: Likewise.
20141         * include/rpc/netdb.h: Likewise.
20142         * include/sched.h: Likewise.
20143         * include/search.h: Likewise.
20144         * include/shadow.h: Likewise.
20145         * include/signal.h: Likewise.
20146         * include/stdio.h: Likewise.
20147         * include/stdlib.h: Likewise.
20148         * include/string.h: Likewise.
20149         * include/sys/socket.h: Likewise.
20150         * include/sys/stat.h: Likewise.
20151         * include/sys/statfs.h: Likewise.
20152         * include/sys/statvfs.h: Likewise.
20153         * include/sys/syslog.h: Likewise.
20154         * include/sys/time.h: Likewise.
20155         * include/sys/uio.h: Likewise.
20156         * include/time.h: Likewise.
20157         * include/unistd.h: Likewise.
20158         * include/utmp.h: Likewise.
20159         * include/wchar.h: Likewise.
20160         * include/wctype.h: Likewise.
20161         * inet/aliases.h: Likewise.
20162         * inet/arpa/inet.h: Likewise.
20163         * inet/netinet/ether.h: Likewise.
20164         * inet/netinet/in.h: Likewise.
20165         * intl/libintl.h: Likewise.
20166         * io/bits/fcntl2.h: Likewise.
20167         * io/fcntl.h: Likewise.
20168         * io/ftw.h: Likewise.
20169         * io/sys/poll.h: Likewise.
20170         * io/sys/stat.h: Likewise.
20171         * io/sys/statfs.h: Likewise.
20172         * io/sys/statvfs.h: Likewise.
20173         * io/utime.h: Likewise.
20174         * libio/bits/stdio.h: Likewise.
20175         * libio/bits/stdio2.h: Likewise.
20176         * libio/libio.h: Likewise.
20177         * libio/libioP.h: Likewise.
20178         * libio/stdio.h: Likewise.
20179         * locale/lc-ctype.c: Likewise.
20180         * locale/locale.h: Likewise.
20181         * login/utmp.h: Likewise.
20182         * malloc/arena.c: Likewise.
20183         * malloc/malloc.c: Likewise.
20184         * malloc/malloc.h: Likewise.
20185         * malloc/mcheck.c: Likewise.
20186         * malloc/mtrace.c: Likewise.
20187         * math/bits/mathcalls.h: Likewise.
20188         * math/fenv.h: Likewise.
20189         * math/math_private.h: Likewise.
20190         * misc/bits/error.h: Likewise.
20191         * misc/bits/syslog.h: Likewise.
20192         * misc/err.h: Likewise.
20193         * misc/error.h: Likewise.
20194         * misc/fstab.h: Likewise.
20195         * misc/mntent.h: Likewise.
20196         * misc/regexp.h: Likewise.
20197         * misc/search.h: Likewise.
20198         * misc/sgtty.h: Likewise.
20199         * misc/sys/mman.h: Likewise.
20200         * misc/sys/syslog.h: Likewise.
20201         * misc/sys/uio.h: Likewise.
20202         * misc/sys/xattr.h: Likewise.
20203         * misc/ttyent.h: Likewise.
20204         * nis/rpcsvc/ypclnt.h: Likewise.
20205         * nss/nss.h: Likewise.
20206         * posix/bits/unistd.h: Likewise.
20207         * posix/fnmatch.h: Likewise.
20208         * posix/glob.h: Likewise.
20209         * posix/sched.h: Likewise.
20210         * posix/spawn.h: Likewise.
20211         * posix/sys/wait.h: Likewise.
20212         * posix/unistd.h: Likewise.
20213         * posix/wordexp.h: Likewise.
20214         * pwd/pwd.h: Likewise.
20215         * resolv/netdb.h: Likewise.
20216         * resource/sys/resource.h: Likewise.
20217         * rt/aio.h: Likewise.
20218         * rt/bits/mqueue2.h: Likewise.
20219         * rt/mqueue.h: Likewise.
20220         * shadow/shadow.h: Likewise.
20221         * signal/signal.h: Likewise.
20222         * socket/send.c: Likewise.
20223         * socket/sendto.c: Likewise.
20224         * socket/sys/socket.h: Likewise.
20225         * stdio-common/printf.h: Likewise.
20226         * stdlib/bits/stdlib.h: Likewise.
20227         * stdlib/fmtmsg.h: Likewise.
20228         * stdlib/monetary.h: Likewise.
20229         * stdlib/stdlib.h: Likewise.
20230         * stdlib/ucontext.h: Likewise.
20231         * streams/stropts.h: Likewise.
20232         * string/argz.h: Likewise.
20233         * string/bits/string2.h: Likewise.
20234         * string/string.h: Likewise.
20235         * string/strings.h: Likewise.
20236         * sunrpc/rpc/auth.h: Likewise.
20237         * sunrpc/rpc/auth_des.h: Likewise.
20238         * sunrpc/rpc/clnt.h: Likewise.
20239         * sunrpc/rpc/netdb.h: Likewise.
20240         * sunrpc/rpc/pmap_clnt.h: Likewise.
20241         * sunrpc/rpc/xdr.h: Likewise.
20242         * sysdeps/generic/inttypes.h: Likewise.
20243         * sysdeps/generic/net/if.h: Likewise.
20244         * sysdeps/generic/sys/swap.h: Likewise.
20245         * sysdeps/gnu/net/if.h: Likewise.
20246         * sysdeps/gnu/utmpx.h: Likewise.
20247         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20248         * sysdeps/i386/i486/bits/string.h: Likewise.
20249         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20250         * sysdeps/s390/bits/string.h: Likewise.
20251         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20252         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20253         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20254         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20255         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20256         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20257         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20258         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20259         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20260         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20261         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20262         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20263         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20264         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20265         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20266         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20267         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20268         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20269         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20270         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20271         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20272         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20273         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20274         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20275         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20276         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20277         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20278         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20279         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20280         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20281         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20282         * sysvipc/sys/ipc.h: Likewise.
20283         * sysvipc/sys/msg.h: Likewise.
20284         * sysvipc/sys/sem.h: Likewise.
20285         * sysvipc/sys/shm.h: Likewise.
20286         * termios/termios.h: Likewise.
20287         * time/sys/time.h: Likewise.
20288         * time/time.h: Likewise.
20289         * wcsmbs/bits/wchar2.h: Likewise.
20290         * wcsmbs/uchar.h: Likewise.
20291         * wcsmbs/wchar.h: Likewise.
20292         * wctype/wctype.h: Likewise.
20294         [BZ #13551]
20295         * Makeconfig: Remove all but ELF support including AIX support.
20296         * Makerules: Likewise.
20297         * config.h.in: Likewise.
20298         * config.make.in: Likewise.
20299         * configure: Likewise.
20300         * configure.in: Likewise.
20301         * csu/Makefile: Likewise.
20302         * csu/version.c: Likewise.
20303         * debug/Makefile: Likewise.
20304         * dlfcn/Makefile: Likewise.
20305         * elf/Makefile: Likewise.
20306         * extra-lib.mk: Likewise.
20307         * iconv/Makefile: Likewise.
20308         * include/libc-symbols.h: Likewise.
20309         * include/shlib-compat.h: Likewise.
20310         * resolv/Makefile: Likewise.
20311         * resolv/res_libc.c: Likewise.
20312         * rt/Makefile: Likewise.
20313         * sysdeps/i386/asm-syntax.h: Likewise.
20314         * sysdeps/i386/sysdep.h: Likewise.
20315         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20316         * sysdeps/mach/sysdep.h: Likewise.
20317         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20318         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20319         * sysdeps/s390/asm-syntax.h: Likewise.
20320         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20321         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20322         * sysdeps/sh/sysdep.h: Likewise.
20323         * sysdeps/unix/sparc/sysdep.h: Likewise.
20324         * sysdeps/wordsize-32/divdi3.c: Likewise.
20325         * sysdeps/x86_64/sysdep.h: Likewise.
20327         * argp/Versions: Remove _argp_unlock_xxx.
20329         [BZ #13559]
20330         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20331         * abilist/libBrokenLocale.abilist: Likewise.
20332         * abilist/libanl.abilist: Likewise.
20333         * abilist/libc.abilist: Likewise.
20334         * abilist/libcrypt.abilist: Likewise.
20335         * abilist/libdl.abilist: Likewise.
20336         * abilist/libm.abilist: Likewise.
20337         * abilist/libnsl.abilist: Likewise.
20338         * abilist/libpthread.abilist: Likewise.
20339         * abilist/libresolv.abilist: Likewise.
20340         * abilist/librt.abilist: Likewise.
20341         * abilist/libthread_db.abilist: Likewise.
20342         * abilist/libutil.abilist: Likewise.
20343         * abilist/libnss_db.abilist: New file.
20345         * scripts/abilist.awk: Add support for indirect functions.
20347         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20349         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20351         * shlib-versions: Remove entries for ports architectures.
20353         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20354         files in ports.
20355         * elf/stackguard-macros.h: Remove support for IA-64.
20356         * elf/tst-auditmod1.c: Likewise.
20357         * sysdeps/generic/ldsodefs.h: Likewise.
20359         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20360         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20361         configure files.
20363         [BZ #13552]
20364         * configure.in: Remove --enable-omitfp support.
20365         * FAQ.in: Adjust.
20366         * config.make.in: Likewise.
20367         * Makeconfig: Likewise.
20368         * manual/install.texi: Likewise.
20370         In case anyone cares, the IA-64 architecture could move to ports.
20371         * sysdeps/ia64/*: Removed.
20372         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20373         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20375         [BZ #13555]
20376         * configure.in: Remove entries for unsupported architectures.
20378         [BZ #13533]
20379         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20380         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20381         routines.
20382         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20383         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20384         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20385         fall back to using wcrtomb.
20386         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20387         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20388         renaming.
20389         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20390         * wcsmbs/tst-c16c32-1.c: New file.
20392         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20393         local variable.
20395         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20397         * elf/tst-unique3.cc: Add explicit declaration of gets.
20398         * elf/tst-unique3lib.cc: Likewise.
20399         * elf/tst-unique3lib2.cc: Likewise.
20400         * elf/tst-unique4.cc: Likewise.
20402         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20404 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20406         [BZ #13566]
20407         * assert/assert.h (static_assert): Don't define for C++.
20408         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20409         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20411 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20413         * iconv/loop.c (single loop): Fix assertion in storing of
20414         remaining bytes.
20416         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20418 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20420         * posix/getconf.c: Update copyright year.
20421         * nss/getent.c: Likewise.
20422         * nss/makedb.c: Likewise.
20423         * iconv/iconvconfig.c: Likewise.
20424         * iconv/iconv_prog.c: Likewise.
20425         * elf/ldconfig.c: Likewise.
20426         * elf/pldd.c: Likewise.
20427         * elf/sotruss.ksh: Likewise.
20428         * catgets/gencat.c: Likewise.
20429         * csu/version.c: Likewise.
20430         * elf/ldd.bash.in: Likewise.
20431         * elf/sprof.c (print_version): Likewise.
20432         * locale/programs/locale.c: Likewise.
20433         * locale/programs/localedef.c: Likewise.
20434         * login/programs/pt_chown.c: Likewise.
20435         * nscd/nscd.c (print_version): Likewise.
20436         * debug/xtrace.sh: Likewise.
20437         * malloc/memusage.sh: Likewise.
20438         * malloc/mtrace.pl: Likewise.
20439         * debug/catchsegv.sh: Likewise.
20441 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20443         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20444         pure attribute.
20446 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20448         [BZ #13533]
20449         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20450         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20451         transformations.
20452         * iconv/gconv_int.h: Likewise.
20453         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20454         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20455         from libc for GLIBC_2.16.
20456         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20457         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20458         * wcsmbs/uchar.h: Really define mbstate_t.
20459         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20460         * wcsmbs/c16rtomb.c: New file.
20461         * wcsmbs/mbrtoc16.c: New file.
20462         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20463         for C/POSIX locale.
20464         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20465         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20467         * wcsmbs/wchar.h: Add missing __restrict.
20469 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20471         [BZ #13532]
20472         * time/Makefile (routines): Add timespec_get.
20473         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20474         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20475         timespec for ISO C11.
20476         * time/timespec_get.c: New file.
20477         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20478         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20480         [BZ #13531]
20481         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20482         * stdlib/stdlib.h: Declare aligned_alloc.
20483         * Versions.def: Add GLIBC_2.16 for libc.
20484         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20486         [BZ 13527]
20487         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20488         ISO C11.
20490         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20491         code.
20493         [BZ #13528]
20494         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20496         [BZ #13529]
20497         * assert/assert.h (static_assert): Define.
20499         * version.h: Update for 2.16 development version.
20501         [BZ #13526]
20502         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20503         _ISOC11_SOURCE.
20505         * version.h (RELEASE): Bump for 2.15 release.
20506         * include/features.h (__GLIBC_MINOR__): Bump to 15.
20508         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20509         Patch by Marek Polacek <mpolacek@redhat.com>.
20511         * bits/byteswap.h: Protect long long constants with __extension__.
20512         * sysdeps/i386/bits/byteswap.h: Likewise.
20513         * sysdeps/ia64/bits/byteswap.h: Likewise.
20514         * sysdeps/s390/bits/byteswap.h: Likewise.
20515         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20517 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20519         [BZ #13540]
20520         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20521         destination buffer.
20522         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20524 2011-12-23  Marek Polacek  <polacek@redhat.com>
20526         * elf/dl-addr.c (determine_info): Add inline keyword.
20527         * elf/tst-auditmod4b.c (check_avx): Likewise.
20528         * elf/tst-auditmod6b.c (check_avx): Likewise.
20529         * elf/tst-auditmod6c.c (check_avx): Likewise.
20530         * elf/tst-auditmod7b.c (check_avx): Likewise.
20532 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20534         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20535         !__SSE_MATH__.
20537 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20539         [BZ #13540]
20540         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20541         processing for last bytes.
20543 2011-08-06  Bruno Haible  <bruno@clisp.org>
20545         [BZ #13061]
20546         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20547         U+0385, not to U+1FEE.
20549         [BZ #13062]
20550         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20551         entry for U+00A5 U+0301.
20553 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20555         [BZ #13166]
20556         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20557         buffer for the output is too small.
20559         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20560         optimization.
20562         [BZ #13185]
20563         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20564         SSE flags if possible.
20566 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20568         [BZ #13540]
20569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20570         processing for last bytes.
20572 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
20574         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20575         (syscall-list-default-options, syscall-list-default-condition)
20576         (syscall-list-includes): Define.
20577         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20578         list of ABIs and options and #if conditions for each ABI.  Do not
20579         handle common syscalls between ABIs specially.
20580         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20581         Remove.
20582         (syscall-list-variants, syscall-list-32bit-options)
20583         (syscall-list-32bit-condition, syscall-list-64bit-options)
20584         (syscall-list-64bit-condition): Define.
20585         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20586         (syscall-list-variants, syscall-list-32bit-options)
20587         (syscall-list-32bit-condition, syscall-list-64bit-options)
20588         (syscall-list-64bit-condition): Define.
20589         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20590         Remove.
20591         (syscall-list-variants, syscall-list-32bit-options)
20592         (syscall-list-32bit-condition, syscall-list-64bit-options)
20593         (syscall-list-64bit-condition): Define.
20594         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20595         Remove.
20596         (syscall-list-variants, syscall-list-32bit-options)
20597         (syscall-list-32bit-condition, syscall-list-64bit-options)
20598         (syscall-list-64bit-condition): Define.
20600 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20602         * locale/iso-639.def: Add brx entry.
20604         [BZ #13328]
20605         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20606         Proposed by Mariusz_Cukr <marcukr@op.pl>.
20608         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20609         __feraiseexcept_renamed.
20611 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20613         [BZ #13538]
20614         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20615         EPOLLET with unsigned values.
20616         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20617         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20619         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20620         to large cancellation.
20621         * math/s_cacoshf.c: Likewise.
20622         * math/s_cacoshl.c: Likewise.
20624 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
20626         [BZ #13305]
20627         [BZ #12786]
20628         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20629         * math/s_cacoshf.c: Likewise.
20630         * math/s_cacoshl.c: Likewise.
20632 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20634         [BZ #13439]
20635         * iconv/gconv.h: Define __GCONV_SWAP.
20636         * iconvdata/unicode.c: The swap bit must be stored in __flags.
20637         * iconvdata/utf-16.c: Likewise.
20638         * iconvdata/utf-32.c: Likewise.
20640 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20642         [BZ #13524]
20643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20644         numerator after shifting it by one limb.
20646 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
20648         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20649         under [__USE_EXTERN_INLINES].
20651 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20653         [BZ #13446]
20654         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20656 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20658         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20659         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20660         optimized code.
20661         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20662         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20663         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20664         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20665         for strncasecmp/strncasecmp_l compilation.
20666         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20667         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20669 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
20671         [BZ #13484]
20672         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20673         of __asm__.
20675 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20677         [BZ #13506]
20678         * time/tzfile.c (__tzfile_read): Check values from file header.
20680 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20682         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20683         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20684         * powerpc/powerpc32/dl-start.S: Likewise.
20685         * powerpc/powerpc32/elf/start.S: Likewise.
20686         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20687         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20688         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20689         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20690         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20691         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20692         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20693         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20694         * powerpc/powerpc32/fpu/s_round.S: Likewise.
20695         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20696         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20697         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20698         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20699         * powerpc/powerpc32/memset.S: Likewise.
20700         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20701         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20702         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20703         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20704         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20705         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20706         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20707         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20708         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20709         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20710         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20711         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20712         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20714 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20716         * math/libm-test.inc: Added more nearbyint tests.
20717         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20718         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20720         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20722 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
20724         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20725         FD_CLOEXEC.
20727 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20729         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20730         Add wcscpy-ssse3 wcscpy-c.
20731         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20732         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20733         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20734         * sysdeps/x86_64/wcschr.S: New file.
20735         * sysdeps/x86_64/wcsrchr.S: New file.
20736         * string/test-strcmp.c: Remove checking of wcscmp function for
20737         wrong alignments.
20738         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20739         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20740         wcsrchr-sse2 wcsrchr-c.
20741         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20742         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20743         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20744         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20745         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20746         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20747         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20748         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20749         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20750         * wcsmbc/wcschr.c (WCSCHR): New macro.
20752 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20754         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20755         * wcsmbs/test-wcsrchr.c: New file.
20756         * string/test-strrchr.c: Add wcsrchr support.
20757         (WIDE): New macro.
20758         * wcsmbs/test-wcscpy.c: New file.
20759         * string/test-strcpy.c: Add wcscpy support.
20760         (WIDE): New macro.
20762 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
20764         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20765         the inner loop.
20767 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
20769         [BZ #13472]
20770         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20772 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
20774         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20775         Minor optimizations.
20777         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20778         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20779         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20781 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
20783         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20784         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20785         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20786         for gcc to avoid warnings.
20787         * inet/Makefile (tests): Add tst-checks.
20788         * inet/tst-checks.c: New file.
20790         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20791         warning.
20793         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20794         __wmemcmp_sse2.
20796         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20797         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20799         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20801 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
20803         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20804         problem.
20806         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20808 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
20810         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20811         conditional on GCC version.
20812         (__arch_compare_and_exchange_val_8_acq)
20813         (__arch_compare_and_exchange_val_16_acq)
20814         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20815         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20816         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20818 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
20820         * sysdeps/sh/backtrace.c: New file.
20822 2011-12-02  Andreas Schwab  <schwab@redhat.com>
20824         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
20825         parenthesis.
20827 2011-12-01  Andreas Schwab  <schwab@redhat.com>
20829         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20830         falling back to utime.
20832 2011-11-30  Andreas Schwab  <schwab@redhat.com>
20834         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20835         expectations for float.
20837 2011-11-29  Andreas Schwab  <schwab@redhat.com>
20839         * locale/weight.h (findidx): Add parameter len.
20840         * locale/weightwc.h (findidx): Likewise.
20841         * posix/fnmatch_loop.c (FCT): Adjust caller.
20842         * posix/regcomp.c (build_equiv_class): Likewise.
20843         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20844         * posix/regexec.c (check_node_accept_bytes): Likewise.
20845         * string/strcoll_l.c (STRCOLL): Likewise.
20846         * string/strxfrm_l.c (STRXFRM): Likewise.
20848 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
20850         * Makefile.in: Remove CVSOPT handling.
20851         * configure.in: Remove use of AC_REVISION.
20852         * iconvdata/Makefile (distribute): No need to filter out CVS.
20853         * scripts/list-sources.sh: Remove CVS, subversion and monotone
20854         handling.
20856 2011-11-16  Andreas Schwab  <schwab@redhat.com>
20858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20859         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20860         [USE_AS_STRNCASECMP_L]: Likewise.
20861         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20862         NO_TLS_DIRECT_SEG_REFS.
20863         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20864         Fix argument offsets for non-PIC.
20865         [USE_AS_STRNCASECMP_L]: Likewise.
20866         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20867         NO_TLS_DIRECT_SEG_REFS.
20869 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20871         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20872         O_CLOEXEC.
20873         * locale/loadlocale.c (_nl_load_locale): Likewise.
20875 2011-11-15  Andreas Schwab  <schwab@redhat.com>
20877         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20878         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20879         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20880         (SYSCALL_GETTIME): Set errno on error.
20882         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20883         count references to noai6ai_cached.
20885 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20887         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20889         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20890         FD_CLOEXEC for /proc/self/maps.
20892         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20893         FD_CLOEXEC for /proc/meminfo.
20895         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20896         gai.conf.
20898         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
20899         FD_CLOEXEC for given file.
20901         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20903         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20904         FD_CLOEXEC for /etc/hosts.
20905         (_gethtent): Likewise.
20907         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20909         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20910         cancellation and set FD_CLOEXEC for /etc/netgroup.
20912         * nss/nss_files/files-key.c (search): Don't allow cancellation when
20913         reading /etc/publickey.
20915         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20916         allow cancellation when reading /etc/group.
20918         * nss/nss_files/files-alias.c (internal_setent): Don't allow
20919         cancellation.
20920         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
20922         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20923         when using data file.
20925         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20927         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20928         (write_nis_obj): Use "c" and "e" in fopen.
20930         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20932         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20934         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20936         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20938         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20939         locale.alias.
20941         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20943         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20945         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20947         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20948         file parsing and set FD_CLOEXEC.
20950 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20952         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20954 2011-11-14  Andreas Schwab  <schwab@redhat.com>
20956         * malloc/arena.c (arena_get2): Don't call reused_arena when
20957         _int_new_arena failed.
20959 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20961         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20962         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20963         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20964         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20965         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20966         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20967         to compile strcasecmp and strncasecmp.
20968         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20969         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20973 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
20975         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20976         locale-defines.sym to gen-as-const-headers.
20977         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20978         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20979         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20980         to compile strcasecmp and strncasecmp.
20981         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20982         strcasecmp_l and strncasecmp_l.
20983         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20984         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20985         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20986         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20987         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20988         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20989         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20990         * sysdeps/i386/i686/multiarch/strncase.S: New file.
20991         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20992         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20993         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20995 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
20997         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20998         result of SYSDEP_GETTIME_CPU to retval.
20999         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21000         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21002         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21003         variable.
21005         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21006         mantissa words.
21007         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21009         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21010         from unused variable.
21012         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21013         DWARF definitions.
21014         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21015         for assembling.
21017         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21018         over namespaces.
21020         * sunrpc/rpc_prot.c (rejected): Fix case value.
21022         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21023         unsigned long long int to avoid warnings in shift.
21025         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21026         of use of trans.
21027         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21028         variable tmp.
21030         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21031         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21032         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21034         * nis/nis_table.c (nis_list): Use variable of correct type for
21035         result of __follow_path call.
21037 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21039         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21040         of math functions ceil, trunc, floor, round, and sqrt, when
21041         avaliable on the platform.
21042         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21043         name clash.
21044         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21045         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21046         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21048 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21050         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21051         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21053 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21055         * include/unistd.h: Fix __readlink return type.
21056         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21058 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21060         * stdlib/ucontext.h: Undo last change for makecontext.
21062 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21064         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21066         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21067         * setjmp/setjmp.h: Mark functions as non-leaf.
21068         * setjmp/bits/setjmp2.h: Likewise.
21069         * stdlib/ucontext.h: Likewise.
21071 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21073         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21074         (reused_arena): Don't check arena limit.
21075         (arena_get2): Atomically check arena limit.
21077 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21079         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21080         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21082         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21083         instructions.
21085 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21087         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21088         handler when locking.
21090         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21091         Fix size of allocated buffer.
21093 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21095         [BZ #10103]
21096         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21097         declarations for long double functions.
21098         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21100         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21102 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21104         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21105         installed.
21107         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21108         is disabled.
21110 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21112         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21114 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21116         * include/alloca.h (stackinfo_alloca_round): Define.
21117         (extend_alloca): Use it.
21118         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21119         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21120         here.
21122         * scripts/check-local-headers.sh: Ignore libaudit.h.
21124         * nscd/Makefile (extra-objs): Make recursively expanded.
21126 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21128         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21129         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21131         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21132         * posix/tst-rfc3484-2.c: Likewise.
21133         * posix/tst-rfc3484-3.c: Likewise.
21135         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21136         process_vm_writev.
21137         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21138         process_vm_writev.
21139         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21140         process_vm_writev from libc using GLIBC_2.15 version.
21142         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21144 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21146         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21147         stack usage.
21149 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21151         [BZ #13367]
21152         * nss/getent.c (initgroups_keys): Show error message in case no group
21153         names are given.
21155         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21156         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21157         __bump_nl_timestamp.
21158         * nscd/connections (nscd_init): When host database is served open
21159         netlink socket and request notification about configuration changes.
21160         (main_loop_poll): Track netlink file descriptor and bump timestamp
21161         in case data becomes available.
21162         (main_loop_epoll): Likewise.
21163         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21164         (database_pers_head): Add extra_data fileds.
21165         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21166         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21167         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21168         Adjust caller.
21169         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21170         in6ai data, call __free_in6ai.
21171         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21172         Add -DHAVE_NETLINK.
21173         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21174         interface information.  Reuse previous data if netlink timestamp
21175         is not changed.
21176         (__bump_nl_timestamp): New function.
21177         (__free_in6ai): New function.
21179 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21181         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21182         close_not_cancel_no_status here.
21183         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21185 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21187         [BZ #13276]
21188         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21189         return value.
21191         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21192         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21193         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21195 2011-07-03  Andreas Jaeger  <aj@suse.de>
21197         [BZ #10709]
21198         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21199         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21200         * math/libm-test.inc (sin_test): Add test case.
21202 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21204         [BZ #13337]
21205         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21206         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21208         * elf/chroot_canon.c (chroot_canon): Cleanups.
21210         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21212         [BZ #13335]
21213         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21214         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21216         * string/test-strchr.c: Make usable for strchrnul testing.
21217         * string/test-strchrnul.c: New file.
21218         * string/Makefile (strop-tests): Add strchrnul.
21220         * po/it.po: Update from translation team.
21221         * po/es.po: Likewise.
21223 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21225         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21226         the three constants needed as parameters.  Drop the others.
21227         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21228         __m128i_strloadu_tolower.
21229         Create and initialize variable zero and use it in all the places
21230         where _mm_setzero_si128 was used.
21232         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21233         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21234         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21235         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21236         anymore.
21237         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21238         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21239         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21240         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21241         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21242         __mpranred, __mptan.
21243         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21244         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21245         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21246         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21247         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21248         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21249         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21250         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21251         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21253 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21255         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21256         redefine if SHARED.
21257         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21259         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21260         wide char related routines to wcsmbs subdir.
21262 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21264         [BZ #13344]
21265         * misc/sys/cdefs.h (__THROWNL): Define.
21266         * posix/unistd.h: Use __THREADNL instead of __THREAD
21267         for memory synchronization functions.
21269 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21271         [BZ #13349]
21272         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21273         doesn't exist.
21274         * manual/stdio.texi (Obstack Streams): Node removed.
21276 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21278         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21279         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21280         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21282         * math/math_private.h (math_force_eval): Allow non-addressable
21283         arguments.
21284         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21286 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21288         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21289         file is not needed.
21291         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21292         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21293         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21294         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21295         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21296         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21297         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21298         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21299         Add AVX variants.
21300         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21301         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21302         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21303         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21304         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21305         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21306         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21307         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21308         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21309         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21310         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21311         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21312         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21313         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21314         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21315         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21316         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21317         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21318         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21320         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21321         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21323         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21324         place.  Use VEX encoding when compiling for AVX.
21326 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21328         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21329         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21331         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21333 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21335         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21336         useless if() expression.
21337         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21338         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21339         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21340         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21341         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21342         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21343         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21344         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21345         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21346         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21347         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21348         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21349         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21350         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21351         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21352         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21353         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21354         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21355         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21357         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21359 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21361         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21362         condition.
21363         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21365 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21367         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21368         .text section.  Avoid duplicate constants.
21369         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21370         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21371         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21372         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21373         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21374         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21376         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21377         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21378         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21379         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21380         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21381         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21382         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21383         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21384         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21385         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21386         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21387         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21388         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21389         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21390         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21391         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21392         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21393         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21394         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21395         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21396         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21397         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21398         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21399         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21400         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21401         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21402         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21403         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21404         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21405         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21406         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21407         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21408         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21409         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21410         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21411         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21412         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21413         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21415 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21417         * sysdeps/x86_64/dla.h: Move to ...
21418         * sysdeps/x86_64/fpu/dla.h: ...here.
21419         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21420         situations.  Use __builtin_fma only for gcc 4.6 and up.
21422         * config.make.in: Add have-mfma4 entry.
21423         * configure.in: Substitute libc_cv_cc_fma4.
21424         * math/Makefile (dbl-only-routines): Add sincostab.
21425         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21426         Use __sincostab not sincos.
21427         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21428         name is a macro.
21429         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21430         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21431         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21432         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21433         using __copysign.
21434         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21435         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21436         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21437         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21438         and __inv.
21439         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21440         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21441         __copysign.
21442         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21443         define aliases when function name is a macro.
21444         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21445         sysdeps/ieee754/dbl-64/sincos.tbl.
21446         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21447         fma4-enabled routines.
21448         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21449         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21450         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21451         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21452         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21453         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21454         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21455         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21456         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21457         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21458         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21459         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21460         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21461         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21462         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21463         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21464         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21465         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21466         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21467         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21468         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21469         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21470         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21471         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21472         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21473         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21474         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21475         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21476         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21477         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21479         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21480         rename.
21481         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21482         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21483         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21485         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21486         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21487         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21488         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21490 2011-10-24  Andreas Schwab  <schwab@redhat.com>
21492         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21494 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21496         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21498         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21499         prediction.
21500         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21502         * string/strnlen.c: Don't define STRNLEN, reverse logic.
21503         Remove unused variable magic_bits.
21504         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21506         * string/strnlen.c: Define and use STRNLEN macro.
21507         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21508         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21509         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21510         * wcsmbs/wcslen.c: Define and use WCSLEN.
21511         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21512         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21513         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21514         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21515         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21516         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21517         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21519 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21522         strnlen-sse2-no-bsf.
21523         Rename strlen-no-bsf to strlen-sse2-no-bsf.
21524         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21525         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21526         Add strnlen support.
21527         (USE_AS_STRNLEN): New macro.
21528         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21529         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21530         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21531         * sysdeps/x86_64/wcslen.S: New file.
21533 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
21535         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21536         XMM-moves are used for copying on small sizes.
21538 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21540         * wcsmbs/Makefile (strop-tests): Add wcschr.
21541         * wcsmbs/test-wcschr.c: New file.
21542         * string/test-strchr.c: Update.
21543         Add wcschr support.
21544         (WIDE): New macro.
21546 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21548         * wcsmbs/Makefile (strop-tests): Add wcslen.
21549         * wcsmbs/test-wcslen.c: New file.
21550         * string/test-strlen.c: Update.
21551         Add wcslen support.
21552         (WIDE): New macro.
21554 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21556         * po/it.po: Update from translation team.
21558 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21560         * sysdeps/x86_64/wcscmp.S: Update.
21561         Fix wrong comparison semantics.
21562         wcscmp shall use signed comparison not unsigned.
21563         Don't use substraction to avoid overflow bug.
21564         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21565         * wcsmbc/wcscmp.c: Likewise.
21566         * string/test-strcmp.c: Likewise.
21567         Add new tests to check cases with negative values.
21569 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21571         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21572         * sysdeps/x86_64/dla.h: ...here.  New file.
21573         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21574         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21576         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21577         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21578         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21579         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21580         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21581         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21583 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
21585         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21586         __ynl_finite aliases.
21588 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21592         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21593         define DLA_FMA.
21594         [DLA_FMA] (EMULV): Use DLA_FMA.
21595         [DLA_FMA] (MUL12): Use EMULV.
21596         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21597         that are not needed.
21598         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21599         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21600         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21601         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21602         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21603         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21604         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21606 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
21608         * math/s_nan.c: Undef __nan.
21609         * math/s_nanf.c: Undef __nanf.
21610         * math/s_nanl.c: Undef __nanl.
21611         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21612         "math_private.h".
21614 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21616         * math/s_catan.c: Add branch predictions.
21617         * math/s_catanf.c: Likewise.
21618         * math/s_catanh.c: Likewise.
21619         * math/s_catanhf.c: Likewise.
21620         * math/s_catanhl.c: Likewise.
21621         * math/s_catanl.c: Likewise.
21622         * math/s_cexp.c: Likewise.
21623         * math/s_cexpf.c: Likewise.
21624         * math/s_cexpl.c: Likewise.
21625         * math/s_clog.c: Likewise.
21626         * math/s_clog10.c: Likewise.
21627         * math/s_clog10f.c: Likewise.
21628         * math/s_clog10l.c: Likewise.
21629         * math/s_clogf.c: Likewise.
21630         * math/s_clogl.c: Likewise.
21631         * math/s_csqrt.c: Likewise.
21632         * math/s_csqrtf.c: Likewise.
21633         * math/s_csqrtl.c: Likewise.
21634         * math/s_ctanf.c: Likewise.
21635         * math/s_ctanh.c: Likewise.
21636         * math/s_ctanhf.c: Likewise.
21637         * math/s_ctanhl.c: Likewise.
21638         * math/s_ctanl.c: Likewise.
21640         * math/math_private.h: Define __nan, __nanf, __nanl.
21641         * math/s_cacosh.c: Include <math_private.h>.
21642         * math/s_cacoshl.c: Likewise.
21643         * math/s_casinh.c: Likewise.
21644         * math/s_casinhf.c: Likewise.
21645         * math/s_casinhl.c: Likewise.
21646         * math/s_ccos.c: Rely entire on ccosh.
21647         * math/s_ccosf.c: Rely entire on ccoshf.
21648         * math/s_ccosl.c: Rely entirely on ccoshl.
21649         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
21650         Remove tests for FE_INVALID.
21651         * math/s_ccoshf.c: Likewise.
21652         * math/s_ccoshl.c: Likewise.
21653         * math/s_csin.c: Likewise.
21654         * math/s_csinf.c: Likewise.
21655         * math/s_csinh.c Likewise.
21656         * math/s_csinhf.c: Likewise.
21657         * math/s_csinhl.c: Likewise.
21658         * math/s_csinl.c: Likewise.
21659         * math/s_ctan.c: Likewise.
21660         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21661         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21662         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21664 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
21666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21667         compilation problems.
21669         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21670         __builtin_expect.
21672 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
21674         * sysdeps/i386/configure.in: Test for -mfma4 option.
21675         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21676         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21677         COMMON_CPUID_INDEX_80000001.
21678         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21679         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21680         use it if FMA3 is not supported.
21681         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21683         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21684         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21686 2011-10-20  Andreas Schwab  <schwab@redhat.com>
21688         [BZ #12892]
21689         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21690         it would create a cycle with a link time dependency.
21692 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
21694         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21695         instruction.
21696         * string/Makefile (strop-tests): Add rawmemchr.
21697         * string/test-rawmemchr.c: New file.
21699         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21700         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
21701         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
21702         when compiling str{,n}casecmp and when AVX is available.  Hook up
21703         new optimized code in initializers.
21705 2011-10-19  Andreas Schwab  <schwab@redhat.com>
21707         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21708         __feraiseexcept instead of feraiseexcept.
21710 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
21712         * math/math_private.h: Define defaults for libc_fetestexcept and
21713         libc_feupdateenv.
21714         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21715         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21716         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21717         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21718         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21719         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21720         libc_fetestexcept and libc_feupdateenv.
21722         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21723         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21724         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21725         * sysdeps/x86_64/fpu/math_private.h: Define special version of
21726         libc_feholdexcept_setround.
21728         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21729         Add s_nearbyint-c and s_nearbyintf-c.
21730         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21731         nearbyintf inlines.
21732         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21733         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21734         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21735         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21737         * math/math_private.h: Define defaults for libc_fegetround,
21738         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21739         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21740         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21741         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21742         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21743         standard functions.
21744         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21745         Remove comments and hacks for old compiler versions.
21746         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21747         libc_fegetround, libc_fesetround, libc_feholdexcept, and
21748         libc_feholdexceptl.
21750 2011-10-18  Andreas Schwab  <schwab@redhat.com>
21752         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21753         (__feraiseexcept_renamed): Add __NTH.
21754         (feraiseexcept): Add __NTH.  Rename local variables to fix
21755         namespace violations.
21757 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
21759         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21761         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21763         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21764         recently added interfaces.
21765         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21767         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21768         about macro parameter expansion.
21770         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21771         __NO_MATH_INLINES is defined.  Cleanups.
21773         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21774         and __floorf is target has SSE4.1.
21775         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21776         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21777         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21778         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21780         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21781         name.
21782         (floorf): Likewise.
21784         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21786 2011-10-17  Andreas Schwab  <schwab@redhat.com>
21788         * misc/sys/cdefs.h: Fix last change.
21790         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21791         database lookup.
21793 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
21795         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21797         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21798         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21799         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21800         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21801         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21802         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21803         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21804         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21805         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21806         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21807         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21808         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21809         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21810         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21811         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21812         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21813         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21814         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21815         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21816         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21817         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21818         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21820         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21821         ceil, ceilf, floor, floorf.
21823         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21824         Perform IRELATIVE relocations last.
21826         * elf/do-rel.h: Add another parameter nrelative, replacing the
21827         local variable with the same name.  Change name of the function
21828         to end in Rel or Rela (uppercase).
21829         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21830         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
21831         elf_dynamic_do_##reloc function.
21833 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21835         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21836         is sufficient, at least on modern CPUs.
21838         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21840         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21841         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21843         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21844         __expl_finite.
21845         * math/bits/math-finite.h: Add entries for exp.
21846         * math/e_expl.c: Add __*_finite alias.
21847         * sysdeps/i386/fpu/e_exp.S: Likewise.
21848         * sysdeps/i386/fpu/e_expf.S: Likewise.
21849         * sysdeps/i386/fpu/e_expl.c: Likewise.
21850         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21851         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21852         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21854         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21855         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21856         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21858         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21859         is sufficient, at least on modern CPUs.
21861         * ctype/ctype-info.c (__ctype_init): Define.
21862         * include/ctype.h (__ctype_init): Declare.
21863         (__ctype_b_loc): The variable is always initialized.
21864         (__ctype_toupper_loc): Likewise.
21865         (__ctype_tolower_loc): Likewise.
21866         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21867         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21869 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
21871         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21873         * configure.in: Also look in $cxxmachine/include for C++ system
21874         headers.
21876 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21878         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21879         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21880         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21881         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
21882         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21883         (USE_AS_WMEMCMP): New macro.
21884         Fixing indents.
21885         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21886         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21887         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21888         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21889         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21890         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21891         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21892         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21893         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21894         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21895         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21896         (USE_AS_WMEMCMP): New macro.
21897         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21898         * sysdeps/string/test-memcmp.c: Update.
21899         Fix simple_wmemcmp.
21900         Add new tests.
21901         * wcsmbs/wmemcmp.c: Update.
21902         (WMEMCMP): New macro.
21903         Fix overflow bug.
21905 2011-10-12  Andreas Jaeger  <aj@suse.de>
21907         [BZ #13268]
21908         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21910 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21912         * libio/iofwide.c (do_length): Avoid warning.
21914         * ctype/ctype.h (__isctype_f): Add missing __THROW.
21916 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
21918         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21920         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21921         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21922         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21923         * sysdeps/i386/i686/fpu/e_log.S: New file.
21924         * sysdeps/i386/i686/fpu/e_logf.S: New file.
21925         * sysdeps/i386/i686/fpu/e_logl.S: New file.
21927         * ctype/ctype.h: Add support for inlined isXXX functions when
21928         compiling C++ code.
21930 2011-10-14  Andreas Schwab  <schwab@redhat.com>
21932         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21934         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21936 2011-10-13  Roland McGrath  <roland@hack.frob.com>
21938         [BZ #13291]
21939         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21941 2011-10-13  Andreas Schwab  <schwab@redhat.com>
21943         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21944         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21945         feraiseexcept.
21947         * sysdeps/x86_64/memrchr.S: Check for zero size.
21949         * string/stratcliff.c: Add memrchr tests.
21951 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21953         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21954         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21955         rawmemchr-sse2 rawmemchr-sse2-bsf.
21956         * sysdeps/i386/i686/multiarch/memchr.S: New file.
21957         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21958         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21959         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21960         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21961         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21962         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21963         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21964         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21965         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21966         * string/memrchr.c (MEMRCHR): New macro.
21968 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
21970         Add integration with gcc's -ffinite-math-only and optimize wrapper
21971         functions in libm.
21972         * Versions.def: Define GLIBC_2.15 version for libm.
21973         * math/Makefile (headers): Add bits/math-finite.h.
21974         * math/bits/math-finite.h: New file.
21975         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21976         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21977         * math/e_acoshl.c: Add __*_finite alias.
21978         * math/e_acosl.c: Likewise.
21979         * math/e_asinl.c: Likewise.
21980         * math/e_atan2l.c: Likewise.
21981         * math/e_atanhl.c: Likewise.
21982         * math/e_coshl.c: Likewise.
21983         * math/e_exp10.c: Likewise.
21984         * math/e_exp10f.c: Likewise.
21985         * math/e_exp10l.c: Likewise.
21986         * math/e_exp2l.c: Likewise.
21987         * math/e_fmodl.c: Likewise.
21988         * math/e_gammal_r.c: Likewise.
21989         * math/e_hypotl.c: Likewise.
21990         * math/e_j0l.c: Likewise.
21991         * math/e_j1l.c: Likewise.
21992         * math/e_jnl.c: Likewise.
21993         * math/e_lgammal_r.c: Likewise.
21994         * math/e_log10l.c: Likewise.
21995         * math/e_log2l.c: Likewise.
21996         * math/e_logl.c: Likewise.
21997         * math/e_powl.c: Likewise.
21998         * math/e_sinhl.c: Likewise.
21999         * math/e_sqrtl.c: Likewise.
22000         * math/e_scalb.c: Completely rewritten and optimized.
22001         * math/e_scalbf.c: Likewise.
22002         * math/e_scalbl.c: Likewise.
22003         * math/w_acos.c: Likewise.
22004         * math/w_acosf.c: Likewise.
22005         * math/w_acosl.c: Likewise.
22006         * math/w_acosh.c: Likewise.
22007         * math/w_acoshf.c: Likewise.
22008         * math/w_acoshl.c: Likewise.
22009         * math/w_asin.c: Likewise.
22010         * math/w_asinf.c: Likewise.
22011         * math/w_asinl.c: Likewise.
22012         * math/w_atan2.c: Likewise.
22013         * math/w_atan2f.c: Likewise.
22014         * math/w_atan2l.c: Likewise.
22015         * math/w_atanh.c: Likewise.
22016         * math/w_atanhf.c: Likewise.
22017         * math/w_atanhl.c: Likewise.
22018         * math/w_exp10.c: Likewise.
22019         * math/w_exp10f.c: Likewise.
22020         * math/w_exp10l.c: Likewise.
22021         * math/w_fmod.c: Likewise.
22022         * math/w_fmodf.c: Likewise.
22023         * math/w_fmodl.c: Likewise.
22024         * math/w_j0.c: Likewise.
22025         * math/w_j0f.c: Likewise.
22026         * math/w_j0l.c: Likewise.
22027         * math/w_j1.c: Likewise.
22028         * math/w_j1f.c: Likewise.
22029         * math/w_j1l.c: Likewise.
22030         * math/w_jn.c: Likewise.
22031         * math/w_jnf.c: Likewise.
22032         * math/w_log.c: Likewise.
22033         * math/w_logf.c: Likewise.
22034         * math/w_logl.c: Likewise.
22035         * math/w_log10.c: Likewise.
22036         * math/w_log10f.c: Likewise.
22037         * math/w_log10l.c: Likewise.
22038         * math/w_log2.c: Likewise.
22039         * math/w_log2f.c: Likewise.
22040         * math/w_log2l.c: Likewise.
22041         * math/w_pow.c: Likewise.
22042         * math/w_powf.c: Likewise.
22043         * math/w_powl.c: Likewise.
22044         * math/w_remainder.c: Likewise.
22045         * math/w_remainderf.c: Likewise.
22046         * math/w_remainderl.c: Likewise.
22047         * math/w_scalb.c: Likewise.
22048         * math/w_scalbf.c: Likewise.
22049         * math/w_scalbl.c: Likewise.
22050         * math/w_sqrt.c: Likewise.
22051         * math/w_sqrtf.c: Likewise.
22052         * math/w_sqrtl.c: Likewise.
22053         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22054         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22055         used.
22056         * math/math_private.h: Declare __kernel_standard_f.
22057         * math/w_cosh.c: Remove cruft and optimize a bit.
22058         * math/w_coshf.c: Likewise.
22059         * math/w_coshl.c: Likewise.
22060         * math/w_exp2.c: Likewise.
22061         * math/w_exp2f.c: Likewise.
22062         * math/w_exp2l.c: Likewise.
22063         * math/w_hypot.c: Likewise.
22064         * math/w_hypotf.c: Likewise.
22065         * math/w_hypotl.c: Likewise.
22066         * math/w_lgamma.c: Likewise.
22067         * math/w_lgamma_r.c: Likewise.
22068         * math/w_lgammaf.c: Likewise.
22069         * math/w_lgammaf_r.c: Likewise.
22070         * math/w_lgammal.c: Likewise.
22071         * math/w_lgammal_r.c: Likewise.
22072         * math/w_sinh.c: Likewise.
22073         * math/w_sinhf.c: Likewise.
22074         * math/w_sinhl.c: Likewise.
22075         * math/w_tgamma.c: Likewise.
22076         * math/w_tgammaf.c: Likewise.
22077         * math/w_tgammal.c: Likewise.
22078         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22079         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22080         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22081         Minor optimizations.  Pretty printing.  Remove cruft.
22082         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22083         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22084         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22085         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22086         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22087         * sysdeps/i386/fpu/e_asin.S: Likewise.
22088         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22089         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22090         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22091         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22092         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22093         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22094         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22095         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22096         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22097         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22098         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22099         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22100         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22101         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22102         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22103         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22104         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22105         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22106         * sysdeps/i386/fpu/e_log.S: Likewise.
22107         * sysdeps/i386/fpu/e_log10.S: Likewise.
22108         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22109         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22110         * sysdeps/i386/fpu/e_log2.S: Likewise.
22111         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22112         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22113         * sysdeps/i386/fpu/e_logf.S: Likewise.
22114         * sysdeps/i386/fpu/e_logl.S: Likewise.
22115         * sysdeps/i386/fpu/e_pow.S: Likewise.
22116         * sysdeps/i386/fpu/e_powf.S: Likewise.
22117         * sysdeps/i386/fpu/e_powl.S: Likewise.
22118         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22119         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22120         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22121         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22122         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22123         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22124         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22125         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22126         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22127         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22128         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22129         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22130         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22131         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22132         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22133         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22134         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22135         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22136         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22137         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22138         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22139         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22140         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22141         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22142         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22143         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22144         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22145         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22146         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22147         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22148         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22149         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22150         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22151         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22152         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22153         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22154         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22155         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22156         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22157         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22158         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22159         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22160         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22161         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22162         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22163         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22164         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22165         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22166         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22167         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22168         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22169         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22170         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22171         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22172         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22173         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22174         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22175         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22176         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22177         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22178         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22179         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22180         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22181         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22182         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22183         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22184         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22185         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22186         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22187         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22188         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22189         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22190         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22191         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22192         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22193         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22194         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22195         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22196         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22197         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22198         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22199         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22200         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22201         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22202         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22203         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22204         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22205         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22206         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22207         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22208         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22209         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22210         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22211         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22212         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22213         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22214         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22215         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22216         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22217         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22218         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22219         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22220         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22221         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22222         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22223         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22224         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22225         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22226         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22227         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22228         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22229         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22230         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22231         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22232         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22233         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22234         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22235         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22236         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22237         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22238         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22239         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22240         (__isnanf): Likewise.
22241         (__isinf_ns): Likewise.
22242         (__isinf_nsf): Likewise.
22243         (__finite): Likewise.
22244         (__finitef): Likewise.
22245         (__ieee754_sqrt): Define as macro.
22246         (__ieee754_sqrtf): Define as macro.
22247         (__ieee754_sqrtl): Define as macro.
22248         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22249         inlined copy.
22250         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22251         __FINITE_MATH_ONLY__ consistent.
22252         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22254 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22256         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22257         of rawmemchr.
22259         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22261 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22263         * po/ja.po: Update from translation team.
22265 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22267         * locale/programs/locarchive.c (prepare_address_space): New function.
22268         (create_archive, enlarge_archive, open_archive): Use it.
22270         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22271         inside [SHARED], where it is used.
22273         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22275         * nss/getent.c (netgroup_keys): Remove unused variable.
22276         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22278 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22280         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22281         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22282         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22283         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22284         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22285         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22286         * math/Makefile (libm-calls): Add s_isinf_ns.
22287         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22288         * math/multc3.c: Likewise.
22289         * math/s_casin.c: Likewise.
22290         * math/s_casinf.c: Likewise.
22291         * math/s_casinl.c: Likewise.
22292         * math/s_ccos.c: Likewise.
22293         * math/s_ccosf.c: Likewise.
22294         * math/s_ccosl.c: Likewise.
22295         * math/s_ctan.c: Likewise.
22296         * math/s_ctanf.c: Likewise.
22297         * math/s_ctanh.c: Likewise.
22298         * math/s_ctanhf.c: Likewise.
22299         * math/s_ctanhl.c: Likewise.
22300         * math/s_ctanl.c: Likewise.
22301         * math/w_fmod.c: Likewise.
22302         * math/w_fmodf.c: Likewise.
22303         * math/w_fmodl.c: Likewise.
22304         * math/w_remainder.c: Likewise.
22305         * math/w_remainderf.c: Likewise.
22306         * math/w_remainderl.c: Likewise.
22307         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22308         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22309         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22311         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22312         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22313         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22314         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22316         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22317         of the number.
22318         * stdio-common/printf_fphex.c: Likewise.
22319         * stdio-common/printf_size.c: Likewise.
22321         * math/e_exp10.c: Include math_private.h using <...> not "...".
22322         * math/e_exp10f.c: Likewise.
22323         * math/e_exp10l.c: Likewise.
22324         * math/e_exp2l.c: Likewise.
22325         * math/e_j0l.c: Likewise.
22326         * math/e_j1l.c: Likewise.
22327         * math/e_jnl.c: Likewise.
22328         * math/e_lgammal_r.c: Likewise.
22329         * math/e_rem_pio2l.c: Likewise.
22330         * math/e_scalb.c: Likewise.
22331         * math/e_scalbf.c: Likewise.
22332         * math/e_scalbl.c: Likewise.
22333         * math/k_cosl.c: Likewise.
22334         * math/k_sinl.c: Likewise.
22335         * math/k_tanl.c: Likewise.
22336         * math/s_cacoshf.c: Likewise.
22337         * math/s_catan.c: Likewise.
22338         * math/s_catanf.c: Likewise.
22339         * math/s_catanh.c: Likewise.
22340         * math/s_catanhf.c: Likewise.
22341         * math/s_catanhl.c: Likewise.
22342         * math/s_catanl.c: Likewise.
22343         * math/s_ccosh.c: Likewise.
22344         * math/s_ccoshf.c: Likewise.
22345         * math/s_ccoshl.c: Likewise.
22346         * math/s_cexp.c: Likewise.
22347         * math/s_cexpf.c: Likewise.
22348         * math/s_cexpl.c: Likewise.
22349         * math/s_clog.c: Likewise.
22350         * math/s_clog10.c: Likewise.
22351         * math/s_clog10f.c: Likewise.
22352         * math/s_clog10l.c: Likewise.
22353         * math/s_clogf.c: Likewise.
22354         * math/s_clogl.c: Likewise.
22355         * math/s_csin.c: Likewise.
22356         * math/s_csinf.c: Likewise.
22357         * math/s_csinh.c: Likewise.
22358         * math/s_csinhf.c: Likewise.
22359         * math/s_csinhl.c: Likewise.
22360         * math/s_csinl.c: Likewise.
22361         * math/s_csqrt.c: Likewise.
22362         * math/s_csqrtf.c: Likewise.
22363         * math/s_csqrtl.c: Likewise.
22364         * math/s_ctan.c: Likewise.
22365         * math/s_ctanf.c: Likewise.
22366         * math/s_ctanh.c: Likewise.
22367         * math/s_ctanhf.c: Likewise.
22368         * math/s_ctanhl.c: Likewise.
22369         * math/s_ctanl.c: Likewise.
22370         * math/s_ldexp.c: Likewise.
22371         * math/s_ldexpf.c: Likewise.
22372         * math/s_ldexpl.c: Likewise.
22373         * math/s_significand.c: Likewise.
22374         * math/s_significandf.c: Likewise.
22375         * math/s_significandl.c: Likewise.
22376         * math/w_acos.c: Likewise.
22377         * math/w_acosf.c: Likewise.
22378         * math/w_acosh.c: Likewise.
22379         * math/w_acoshf.c: Likewise.
22380         * math/w_acoshl.c: Likewise.
22381         * math/w_acosl.c: Likewise.
22382         * math/w_asin.c: Likewise.
22383         * math/w_asinf.c: Likewise.
22384         * math/w_asinl.c: Likewise.
22385         * math/w_atan2.c: Likewise.
22386         * math/w_atan2f.c: Likewise.
22387         * math/w_atan2l.c: Likewise.
22388         * math/w_atanh.c: Likewise.
22389         * math/w_atanhf.c: Likewise.
22390         * math/w_atanhl.c: Likewise.
22391         * math/w_cosh.c: Likewise.
22392         * math/w_coshf.c: Likewise.
22393         * math/w_coshl.c: Likewise.
22394         * math/w_dremf.c: Likewise.
22395         * math/w_exp10.c: Likewise.
22396         * math/w_exp10f.c: Likewise.
22397         * math/w_exp10l.c: Likewise.
22398         * math/w_exp2.c: Likewise.
22399         * math/w_exp2f.c: Likewise.
22400         * math/w_fmod.c: Likewise.
22401         * math/w_fmodf.c: Likewise.
22402         * math/w_fmodl.c: Likewise.
22403         * math/w_hypot.c: Likewise.
22404         * math/w_hypotf.c: Likewise.
22405         * math/w_hypotl.c: Likewise.
22406         * math/w_j0.c: Likewise.
22407         * math/w_j0f.c: Likewise.
22408         * math/w_j0l.c: Likewise.
22409         * math/w_j1.c: Likewise.
22410         * math/w_j1f.c: Likewise.
22411         * math/w_j1l.c: Likewise.
22412         * math/w_jn.c: Likewise.
22413         * math/w_jnf.c: Likewise.
22414         * math/w_jnl.c: Likewise.
22415         * math/w_lgamma.c: Likewise.
22416         * math/w_lgamma_r.c: Likewise.
22417         * math/w_lgammaf.c: Likewise.
22418         * math/w_lgammaf_r.c: Likewise.
22419         * math/w_lgammal.c: Likewise.
22420         * math/w_lgammal_r.c: Likewise.
22421         * math/w_log.c: Likewise.
22422         * math/w_log10.c: Likewise.
22423         * math/w_log10f.c: Likewise.
22424         * math/w_log10l.c: Likewise.
22425         * math/w_log2.c: Likewise.
22426         * math/w_log2f.c: Likewise.
22427         * math/w_log2l.c: Likewise.
22428         * math/w_logf.c: Likewise.
22429         * math/w_logl.c: Likewise.
22430         * math/w_pow.c: Likewise.
22431         * math/w_powf.c: Likewise.
22432         * math/w_powl.c: Likewise.
22433         * math/w_remainder.c: Likewise.
22434         * math/w_remainderf.c: Likewise.
22435         * math/w_remainderl.c: Likewise.
22436         * math/w_scalb.c: Likewise.
22437         * math/w_scalbf.c: Likewise.
22438         * math/w_scalbl.c: Likewise.
22439         * math/w_sinh.c: Likewise.
22440         * math/w_sinhf.c: Likewise.
22441         * math/w_sinhl.c: Likewise.
22442         * math/w_sqrt.c: Likewise.
22443         * math/w_sqrtf.c: Likewise.
22444         * math/w_sqrtl.c: Likewise.
22445         * math/w_tgamma.c: Likewise.
22446         * math/w_tgammaf.c: Likewise.
22447         * math/w_tgammal.c: Likewise.
22449         * po/ja.po: Update from translation team.
22451 2011-09-29  Andreas Jaeger  <aj@suse.de>
22453         [BZ #13179]
22454         * sunrpc/netname.c (netname2host): Fix logic.
22456         [BZ #6779]
22457         [BZ #6783]
22458         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22459         correctly.
22460         * math/w_remainder.c (__remainder): Likewise.
22461         * math/w_remainderf.c (__remainderf): Likewise.
22462         * math/libm-test.inc (remainder_test): Add test cases.
22464 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22466         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22467         sdiv_qrnnd.
22469 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22471         * string/test-memcmp.c: Avoid unncessary #defines.
22472         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22474 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22476         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22477         Use new sse2 version for core i3 - i7 as it's faster
22478         than sse42 version.
22479         (bit_Prefer_PMINUB_for_stringop): New.
22480         * sysdeps/x86_64/rawmemchr.S: Update.
22481         Replace with faster SSE2 version.
22482         * sysdeps/x86_64/memrchr.S: New file.
22483         * sysdeps/x86_64/memchr.S: Update.
22484         Replace with faster SSE2 version.
22486 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
22488         * elf/dl-load.c (lose): Add cast to avoid warning.
22490 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22492         * po/ca.po: Update from translation team.
22494         * inet/getnetgrent_r.c: Hook up nscd.
22495         * nscd/Makefile (routines): Add nscd_netgroup.
22496         (nscd-modules): Add netgroupcache.
22497         (CFLAGS-netgroupcache.c): Define.
22498         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22499         (cache_search): Add const to second parameter.
22500         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22501         INNETGR.
22502         (dbs): Add netgrdb entry.
22503         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22504         (verify_persistent_db): Handle netgrdb.
22505         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22506         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22507         GETFDNETGR.
22508         (netgroup_response_header): Define.
22509         (innetgroup_response_header): Define.
22510         (datahead): Add netgroup_response_header and innetgroup_response_header
22511         elements.
22512         * nscd/nscd.conf: Add entries for netgroup cache.
22513         * nscd/nscd.h (dbtype): Add netgrdb.
22514         (_PATH_NSCD_NETGROUP_DB): Define.
22515         (netgroup_iov_disabled): Declare.
22516         (xmalloc, xcalloc, xrealloc): Move declarations here.
22517         (cache_search): Adjust prototype.
22518         Add netgroup-related prototypes.
22519         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22520         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22521         (__nscd_innetgr): Declare.
22522         * nscd/selinux.c (perms): Use access_vector_t as element type and
22523         add netgroup-related initializers.
22524         * nscd/netgroupcache.c: New file.
22525         * nscd/nscd_netgroup.c: New file.
22526         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22527         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22528         For four parameters use innetgr.
22529         * nss/nss_files/files-init.c: Add definition and callback for netgr.
22530         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22531         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22532         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22534         * nscd/connections.c (register_traced_file): Don't register file
22535         for disabled databases.
22537 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
22539         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22541         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22542         from tree and freeing node.
22544 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
22546         * nss/nsswitch.c (__nss_database_lookup): Handle
22547         nss_parse_service_list out of memory case.
22549 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
22551         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22552         out of memory case.
22554 2011-10-04  Andreas Schwab  <schwab@redhat.com>
22556         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22557         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22558         pass it down.
22559         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22560         elf_machine_rela, elf_machine_lazy_rel.
22561         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22562         (ELF_DYNAMIC_DO_REL): Likewise.
22563         (ELF_DYNAMIC_DO_RELA): Likewise.
22564         (ELF_DYNAMIC_RELOCATE): Likewise.
22565         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22566         to ELF_DYNAMIC_DO_REL.
22567         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22568         (dl_main): In trace mode always set __RTLD_NOIFUNC.
22569         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22570         elf_machine_rela.
22571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22572         skip_ifunc, don't call ifunc function if non-zero.
22573         (elf_machine_rela): Likewise.
22574         (elf_machine_lazy_rel): Likewise.
22575         (elf_machine_lazy_rela): Likewise.
22576         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22577         (elf_machine_lazy_rel): Likewise.
22578         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22579         Likewise.
22580         (elf_machine_lazy_rel): Likewise.
22581         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22582         Likewise.
22583         (elf_machine_lazy_rel): Likewise.
22584         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22585         (elf_machine_lazy_rel): Likewise.
22586         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22587         (elf_machine_lazy_rel): Likewise.
22588         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22589         (elf_machine_lazy_rel): Likewise.
22590         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22591         (elf_machine_lazy_rel): Likewise.
22592         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22593         (elf_machine_lazy_rel): Likewise.
22594         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22595         (elf_machine_lazy_rel): Likewise.
22597 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
22599         * nss/nss_files/files-init.c (_nss_files_init): Use static
22600         initialization for all the *_traced_file variables.
22602 2011-09-28  Andreas Schwab  <schwab@redhat.com>
22604         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22606 2011-09-27  Roland McGrath  <roland@hack.frob.com>
22608         [BZ #13226]
22609         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22611 2011-09-27  Andreas Schwab  <schwab@redhat.com>
22613         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22614         Reread the line before reparsing it.
22616 2011-09-26  Andreas Schwab  <schwab@redhat.com>
22618         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22620 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
22621             Maxim Kuvyrkov  <maxim@codesourcery.com>
22622             Joseph Myers  <joseph@codesourcery.com>
22624         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22625         if needed for __stack_chk_guard.
22627 2011-09-19  Roland McGrath  <roland@hack.frob.com>
22629         * sysdeps/posix/spawni.c (script_execute): Always define it.
22630         It will be optimized away if unused.
22631         (maybe_script_execute): New function.
22632         (__spawni): Call it.
22634         * Makerules: Don't include tls.make.
22635         (config-tls): Always set to thread.
22636         * tls.make.c: File removed.
22638 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
22640         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22641         * config.make.in (CPPFLAGS-config): New substituted variable.
22643 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22645         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22647         [BZ #13192]
22648         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22649         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22651 2011-09-15  Roland McGrath  <roland@hack.frob.com>
22653         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22654         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22655         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22656         (CALL_FAIL): Likewise.
22657         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22658         (CALL_FAIL): Macro removed.
22659         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22661 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22663         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22664         for __FINITE_MATH_ONLY__ == 1.
22666 2011-09-15  Andreas Schwab  <schwab@redhat.com>
22668         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22669         __ieee754_sqrt instead of sqrt.
22670         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22671         __ieee754_sqrtf instead of sqrtf.
22672         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22673         __floorf instead of floorf.
22674         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22675         __floorf, __truncf instead of floorf, truncf.
22677 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
22679         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22681         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22682         __extern_always_inline.
22683         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22684         32-bit.
22686 2011-09-14  Andreas Schwab  <schwab@redhat.com>
22688         * elf/rtld.c (dl_main): Also relocate in dependency order when
22689         doing symbol dependency testing.
22691 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
22693         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22694         Always define `refsym'.
22696 2011-09-13  Andreas Schwab  <schwab@redhat.com>
22698         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22699         (__FD_ELT): Renamed from __FDELT.
22700         * misc/bits/select2.h (__FD_ELT): Likewise.
22701         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22702         __FD_MASK instead of __FDELT, __FDMASK.
22703         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22704         Likewise.
22705         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22706         Likewise.
22708         * elf/Makefile (gen-ldd): Fix pattern.
22710         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22711         (init_tls): Likewise.
22713 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
22715         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22717 2011-09-12  Andreas Schwab  <schwab@redhat.com>
22719         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22720         `struct cmsghdr *' instead of `void *'.
22721         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22722         Likewise.
22724 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
22726         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22727         if non-absolute.
22728         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22729         ldd_rewrite_script.
22731 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
22733         * configure.in: Remove --with-tls option.
22734         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22735         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22736         out in case it is missing.
22737         * sysdeps/ia64/elf/configure.in: Likewise.
22738         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22739         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22740         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22741         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22742         * sysdeps/sh/elf/configure.in: Likewise.
22743         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22744         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22745         * sysdeps/x86_64/elf/configure.in: Likewise.
22746         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22747         * sysdeps/mach/hurd/tls.h: Likewise.
22749         [BZ #13067]
22750         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22752         [BZ #13090]
22753         * configure.in: Fix use of AC_INIT.
22755         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22757 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
22759         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22760         __set_errno.
22761         * malloc/hooks.c: Likewise.
22763         [BZ #11929]
22764         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
22765         variables statically.
22766         (narenas): Initialize.
22767         (list_lock): Initialize.
22768         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
22769         initializtion of main_arena and list_lock.  Small cleanups.
22770         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22771         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
22772         Add initializers to main_arena and mp_.
22773         (malloc_state): Remove pagesize member.  Change all users to use
22774         GLRO(dl_pagesize).
22776         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22777         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
22778         is always initialized.
22780         * malloc/malloc.c: Removed unused configurations and dead code.
22781         * malloc/arena.c: Likewise.
22782         * malloc/hooks.c: Likewise.
22783         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22785         * include/tls.h: Removed.  USE___THREAD must always be defined.
22786         * bits/libc-tsd.h: Don't handle !USE___THREAD.
22787         * elf/dl-libc.c: Likewise.
22788         * elf/dl-tsd.c: Likewise.
22789         * include/errno.h: Likewise.
22790         * include/netdb.h: Likewise.
22791         * include/resolv.h: Likewise.
22792         * inet/herrno-loc.c: Likewise.
22793         * inet/herrno.c: Likewise.
22794         * malloc/arena.c: Likewise.
22795         * malloc/hooks.c: Likewise.
22796         * malloc/malloc.c: Likewise.
22797         * resolv/res-state.c: Likewise.
22798         * resolv/res_libc.c: Likewise.
22799         * sysdeps/i386/dl-machine.h: Likewise.
22800         * sysdeps/ia64/dl-machine.h: Likewise.
22801         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22802         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22803         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22804         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22805         * sysdeps/sh/dl-machine.h: Likewise.
22806         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22807         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22808         * sysdeps/unix/i386/sysdep.S: Likewise.
22809         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22810         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22811         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22812         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22813         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22815         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22817         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22819         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22820         * sysdeps/x86_64/dl-machine.h: Likewise.
22821         * tls.make.c: Likewise.
22823         * configure.in: Remove --with-__thread option.  Make tests for
22824         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22825         tls_model attribute fail if no support is available.  Remove
22826         USE_IN_LIBIO.
22827         * Makeconfig: Adjust for dropped configure option.  All features are
22828         now mandatory.
22829         * Makerules: Likewise.
22830         * Versions.def: Likewise.
22831         * argp/argp-fmtstream.c: Likewise.
22832         * argp/argp-fmtstream.h: Likewise.
22833         * argp/argp-help.c: Likewise.
22834         * assert/assert.c: Likewise.
22835         * config.h.in: Likewise.
22836         * config.make.in: Likewise.
22837         * configure: Likewise.
22838         * configure.in: Likewise.
22839         * csu/Versions: Likewise.
22840         * csu/init.c: Likewise.
22841         * elf/tst-audit2.c: Likewise.
22842         * elf/tst-tls10.c: Likewise.
22843         * elf/tst-tls10.h: Likewise.
22844         * elf/tst-tls11.c: Likewise.
22845         * elf/tst-tls12.c: Likewise.
22846         * elf/tst-tls14.c: Likewise.
22847         * elf/tst-tlsmod11.c: Likewise.
22848         * elf/tst-tlsmod12.c: Likewise.
22849         * elf/tst-tlsmod13.c: Likewise.
22850         * elf/tst-tlsmod13a.c: Likewise.
22851         * elf/tst-tlsmod14a.c: Likewise.
22852         * elf/tst-tlsmod15b.c: Likewise.
22853         * elf/tst-tlsmod16a.c: Likewise.
22854         * elf/tst-tlsmod16b.c: Likewise.
22855         * elf/tst-tlsmod7.c: Likewise.
22856         * elf/tst-tlsmod8.c: Likewise.
22857         * elf/tst-tlsmod9.c: Likewise.
22858         * gmon/gmon.c: Likewise.
22859         * grp/fgetgrent_r.c: Likewise.
22860         * grp/putgrent.c: Likewise.
22861         * hurd/fopenport.c: Likewise.
22862         * include/libc-symbols.h: Likewise.
22863         * include/tls.h: Likewise.
22864         * intl/gettextP.h: Likewise.
22865         * intl/loadinfo.h: Likewise.
22866         * locale/global-locale.c: Likewise.
22867         * locale/localeinfo.h: Likewise.
22868         * mach/devstream.c: Likewise.
22869         * malloc/arena.c: Likewise.
22870         * malloc/set-freeres.c: Likewise.
22871         * misc/err.c: Likewise.
22872         * misc/getttyent.c: Likewise.
22873         * misc/mntent_r.c: Likewise.
22874         * posix/getopt.c: Likewise.
22875         * posix/wordexp.c: Likewise.
22876         * pwd/fgetpwent_r.c: Likewise.
22877         * resolv/Versions: Likewise.
22878         * resolv/res_hconf.c: Likewise.
22879         * shadow/fgetspent_r.c: Likewise.
22880         * shadow/putspent.c: Likewise.
22881         * stdio-common/printf_fphex.c: Likewise.
22882         * stdio-common/tmpfile.c: Likewise.
22883         * stdlib/abort.c: Likewise.
22884         * stdlib/fmtmsg.c: Likewise.
22885         * sunrpc/auth_unix.c: Likewise.
22886         * sunrpc/clnt_perr.c: Likewise.
22887         * sunrpc/clnt_tcp.c: Likewise.
22888         * sunrpc/clnt_udp.c: Likewise.
22889         * sunrpc/clnt_unix.c: Likewise.
22890         * sunrpc/openchild.c: Likewise.
22891         * sunrpc/svc_simple.c: Likewise.
22892         * sunrpc/svc_tcp.c: Likewise.
22893         * sunrpc/svc_udp.c: Likewise.
22894         * sunrpc/svc_unix.c: Likewise.
22895         * sunrpc/xdr.c: Likewise.
22896         * sunrpc/xdr_array.c: Likewise.
22897         * sunrpc/xdr_rec.c: Likewise.
22898         * sunrpc/xdr_ref.c: Likewise.
22899         * sunrpc/xdr_stdio.c: Likewise.
22901 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22903         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22905 2011-07-03  Andreas Jaeger  <aj@suse.de>
22907         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22908         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22909         regenerate with gen-libm-tests.pl.
22911 2010-05-12  Petr Baudis  <pasky@suse.cz>
22913         [BZ #11589]
22914         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22915         around j0() zero points by switching to j1().
22916         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22917         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22918         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22919         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22921 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22923         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22924         instead of 0.
22925         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22926         instead of 0.
22927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22928         Patch in part by Pavel Roskin <proski@gnu.org>.
22930         [BZ #13138]
22931         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22932         realloc.
22933         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
22934         Free memory block if necessary.
22936         [BZ #12847]
22937         * libio/genops.c (INTDEF): For string streams the _lock pointer can
22938         be NULL.  Don't lock in this case.
22940 2011-09-09  Roland McGrath  <roland@hack.frob.com>
22942         * elf/elf.h (ELFOSABI_GNU): New macro.
22943         (ELFOSABI_LINUX): Define to that.
22945 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
22947         * string/strncat.c (strncat): Undef the symbol in case it has been
22948         defined in bits/string.h.
22950 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22952         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22954         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22955         link map.
22957 2011-08-17  Andreas Jaeger  <aj@suse.de>
22959         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22961 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22962             Ian Lance Taylor  <iant@google.com>
22964         * math/libm-test.inc (lround_test): New testcase.
22965         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22967 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
22969         * Makefile: Remove support for automatic cvs check-ins.
22970         * Makerules: Likewise.
22971         * config.make.in: Likewise.
22972         * configure.in: Likewise.
22973         * intl/Makefile: Likewise.
22974         * locale/Makefile: Likewise.
22975         * po/Makefile: Likewise.
22976         * posix/Makefile: Likewise.
22977         * sysdeps/gnu/Makefile: Likewise.
22978         * sysdeps/mach/hurd/Makefile: Likewise.
22979         * sysdeps/sparc/sparc32/Makefile: Likewise.
22981         [BZ #13118]
22982         * posix/Makefile (bug-regex32-ENV): Define.
22983         Patch by John Stanley <jpsinthemix@verizon.net>.
22985         * misc/Makefile (headers): Add bits/select2.h.
22986         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22987         * misc/bits/select2.h: New file.
22988         * include/bits/select2.h: New file.
22989         * debug/Makefile (routines): Add fdelt_chk.
22990         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22991         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22992         FD_ISSET.
22993         * debug/fdelt_chk.c: New file.
22995         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
22996         * wcsmbs/test-wmemcmp.c: Likewise.
22997         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22998         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23000 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23002         * string/Makefile (strop-tests): Add memcmp.
23003         * string/test-wmemcmp.c: New file.
23004         * string/test-memcmp.c: Add wmemcmp support.
23006 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23008         [BZ #13153]
23009         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23010         2011-07-19 change.
23012         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23013         garbage value in a __mach_port_mod_refs call in the cases of the
23014         task-self and thread-self ports.
23016 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23018         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23020 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23022         * elf/dl-load.c (lose): Check for non-null L.
23024 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23026         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23028         * elf/dl-libc.c (dlerror_run): Pass back error code from
23029         dl_catch_error.
23031         [BZ #13123]
23032         * elf/dl-load.c (lose): Free l_origin if it is valid.
23034         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23035         names.
23036         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23037         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23038         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23039         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23040         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23041         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23043 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23045         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23046         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23047         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23048         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23049         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23050         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23051         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23052         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23053         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23054         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23056 2011-08-15  Alan Modra  <amodra@gmail.com>
23058         [BZ #13092]
23059         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23060         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23061         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23062         ppc_mcount to static-only-routines.
23063         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23064         __mcount_internal.
23065         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23066         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23068 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23070         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23071         for finite and infinity parameters.
23073 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23075         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23076         and add nop instructions for throughput optimization.
23077         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23079 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23081         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23082         aligned copy for power7 with vector-scalar instructions.
23083         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23085 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23088         AVX check.
23090 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23092         [BZ #13144]
23093         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23094         last change.
23096 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23098         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23099         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23100         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23101         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23102         clock_gettime.
23104 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23106         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23107         Forgot to demangle the pointer.
23109         * sysdeps/i386/sysdep.h: Define atom_text_section.
23110         * sysdeps/x86_64/sysdep.h: Likewise.
23111         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23112         section with atom_text_section.
23113         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23114         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23115         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23116         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23117         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23119         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23120         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23121         already be defined.  Change to take two parameters and don't assign
23122         result to variable.  Adjust all users.
23123         Define INTERNAL_GETTIME if not already defined.
23124         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23125         call.
23126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23127         HAVE_CLOCK_GETTIME_VSYSCALL.
23128         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23130         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23131         gettimeofday vsyscall, just use time.
23133 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23136         <errno.h>.
23138 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23140         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23141         syscall on x86-64.
23142         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23143         syscall.
23144         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23145         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23146         syscall if possible.
23148 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23150         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23151         e_ident.  Don't pass to find_mapsXX.
23152         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23154 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23157         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23158         * sysdeps/x86_64/multiarch/strchr.S: Update.
23159         Check bit_slow_BSF bit.
23160         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23161         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23162         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23164 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23166         [BZ #13134]
23167         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23168         before glibc 2.15.
23169         (tryshell): Define.
23170         (__spawni): Change last parameter to be flag.  Test
23171         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23172         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23173         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23174         * posix/spawni.c: Likewise.
23175         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23176         * posix/spawnp.c: Likewise.  Change normal version to use
23177         SPAWN_XFLAGS_USE_PATH.
23178         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23179         SPAWN_XFLAGS_TRY_SHELL.
23181         [BZ #13150]
23182         * posix/glob.h: Remove gcc 1.x support.
23184         [BZ #13068]
23185         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23187 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23190         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23191         strrchr-sse2-bsf
23192         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23193         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23194         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23195         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23196         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23197         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23199 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23201         * sysdeps/x86_64/wcscmp.S: New file.
23203         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23204         wcscmp-c wcscmp-sse2
23205         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23206         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23207         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23208         * wcsmbs/wcscmp.c: Allow renaming.
23210 2011-09-05  David S. Miller  <davem@davemloft.net>
23212         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23213         stack slot, rather than the struct return pointer slot.
23214         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23215         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23217         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23219 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23221         * po/ja.po: Update from translation team.
23223         [BZ #13144]
23224         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23225         kernel in 64-bit binaries.
23227 2011-09-01  David S. Miller  <davem@davemloft.net>
23229         * elf/elf.h (HWCAP_SPARC_*): Move to..
23230         * sysdeps/sparc/sysdep.h: this new file and add new values.
23231         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23232         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23233         _DL_HWCAP_COUNT to 24.
23234         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23235         entries.
23236         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23237         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23238         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23239         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23240         instead of magic constants.
23241         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23243 2011-08-31  David S. Miller  <davem@davemloft.net>
23245         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23246         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23247         Reimplement to do errno handling inline.
23248         (SYSCALL_ERROR_HANDLER): New macro.
23249         (__SYSCALL_STRING): Do not do errno handling in asm.
23250         (__CLONE_SYSCALL_STRING): Delete.
23251         (__INTERNAL_SYSCALL_STRING): Delete.
23252         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23253         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23254         (PSEUDO): Reimplement to do errno handling inline.
23255         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23256         (SYSCALL_ERROR_HANDLER): New macro.
23257         (__SYSCALL_STRING): Do not do errno handling in asm.
23258         (__CLONE_SYSCALL_STRING): Delete.
23259         (__INTERNAL_SYSCALL_STRING): Delete.
23260         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23261         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23262         i386.
23263         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23264         (inline_syscall*): Add 'err' argument.
23265         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23266         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23267         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23268         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23270         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23271         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23273 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23275         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23277 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23279         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23280         directive.
23282 2011-08-24  David S. Miller  <davem@davemloft.net>
23284         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23286 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23288         * elf/Makefile: Add rules to build and run unload8 test.
23289         * elf/unload8.c: New file.
23290         * elf/unload8mod1.c: New file.
23291         * elf/unload8mod1x.c: New file.
23292         * elf/unload8mod2.c: New file.
23293         * elf/unload8mod3.c: New file.
23295         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23296         it wasn't used.
23298 2011-08-23  David S. Miller  <davem@davemloft.net>
23300         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23301         subtract stack bias.
23302         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23303         %sp not %fp in calculations.
23304         (_JMPBUF_UNWINDS_ADJ): Likewise.
23306         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23307         (aio_suspend): Call it to force an exception region around the
23308         AIO_MISC_WAIT() invocation.
23310 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23312         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23313         backslash.
23315 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23317         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23318         protection macro.
23319         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23320         and <dl-machine.h>.
23321         (Elf64_FuncDesc): Remove.
23323 2011-08-22  David S. Miller  <davem@davemloft.net>
23325         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23326         sigaltstack check, add missing cfi directives.
23327         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23328         missing cfi directives, and sigaltstack handling.
23330 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23332         [BZ #11724]
23333         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23334         object is seen twice.
23335         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23337         * elf/Makefile (distribute): Add tst-initorder2.c.
23338         (tests): Add tst-initorder2.
23339         (modules-names): Add tst-initorder2a tst-initorder2b
23340         tst-initorder2c tst-initorder2d.  Add rules to build them.
23341         ($(objpfx)tst-initorder2.out): New rule.
23342         * elf/tst-initorder2.c: New file.
23343         * elf/tst-initorder2.exp: New file.
23345 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23347         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23349         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23350         dependencies back to end of function.
23352         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23353         $(elfobjdir)/ld.so.
23355 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23357         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23358         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23359         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23360         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23361         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23362         of __vdso_gettimeofday.
23363         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23364         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23365         attribute_hidden.
23366         (_libc_vdso_platform_setup): Remove initialization of
23367         __vdso_gettimeofday and __vdso_time.
23369 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23371         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23372         and fgetc_unlocked.
23373         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23374         getc_unlocked.
23376         * elf/dl-open.c (add_to_global): Report additions to the global scope
23377         for LD_DEBUG=scopes.
23378         (dl_open_worker): Also print scope of newly loaded dependencies.
23379         (_dl_show_scope): Indicate if there is no scope.
23381         [BZ #13114]
23382         * stdio-common/Makefile (tests): Add bug24.
23383         * stdio-common/bug24.c: New file.
23385 2011-08-19  Andreas Jaeger  <aj@suse.de>
23387         [BZ #13114]
23388         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23389         non-existant file when using close-on-exec mode.
23391 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23393         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23394         the very first instruction.
23396         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23397         the CFI state in the end.
23398         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23399         inclusion of dl-trampoline.h.
23400         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23402 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23404         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23405         expectations for long double.
23407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23408         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23410 2011-08-14  David S. Miller  <davem@davemloft.net>
23412         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23413         artificual limit depends upon the system page size.
23415 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23417         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23418         * resolv/Makefile: Define CFLAGS-libresolv.
23420 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23422         * nss/makedb.c (compute_tables): Make variables used in nested
23423         function static.
23425 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23427         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23428         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23429         if buffer was too small.
23431         * elf/pldd.c (main): Attach to all threads in the process.
23432         Rewrite /proc handling to use *at functions.
23434 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23436         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23437         specifies first scope to show.
23438         (dl_open_worker): Update callers.  Move printing scope of new
23439         object to before the relocation.
23440         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23441         * sysdeps/generic/ldsodefs.h: Update declaration.
23443         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23444         string for the scope number.
23446 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23448         * nscd/servicescache.c (cache_addserv): Make sure written is always
23449         initialized.
23451 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23453         * sysdeps/i386/i486/bits/atomic.h
23454         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23455         statement expression, so as to suppress "set but not used" warning.
23456         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23458         * string/strncat.c (STRNCAT): Use prototype definition.
23460         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23461         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23462         -Iprograms here.
23463         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23464         (localedef-modules): Add localedef.
23465         (locale-modules): Add locale.
23467         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23468         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23469         to avoid a warning.
23471 2011-08-14  David S. Miller  <davem@davemloft.net>
23473         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23474         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23476 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23478         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23479         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23480         * elf/rtld.c (dl_main): Set l_name of vDSO.
23481         Call _dl_show_scope when DL_DEBUG_SCOPES.
23482         (process_dl_debug): Recognize scopes flag and also set it for all.
23483         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23484         Declare _dl_show_scope.
23486         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23487         (do_dlopen): Pass caller_dlopen to dl_open.
23488         (__libc_dlopen_mode): Initialize caller_dlopen.
23490         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23491         of libc.  Make tolower call locale-independent.  Optimize a bit by
23492         using isdigit instead of isalnum.
23493         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23495 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
23497         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23498         was a dependency or dynamically loaded.
23500 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
23502         * intl/l10nflist.c: Allow architecture-specific pop function.
23503         * sysdeps/x86_64/l10nflist.c: New file.
23505         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23506         classification.
23508 2011-08-10  Andreas Schwab  <schwab@redhat.com>
23510         * include/dirent.h: Add libc_hidden_proto for scandirat and
23511         scandirat64.  Don't declare __scandirat64.
23512         * dirent/scandirat.c: Add libc_hidden_def.
23513         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23514         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23516 2011-08-10  David S. Miller  <davem@davemloft.net>
23518         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23519         enum.
23520         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23521         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23522         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23524 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
23526         * Versions.def [libc]: Add GLIBC_2.15.
23527         * dirent/Makefile (routines): Add scandirat and scandirat64.
23528         * dirent/Versions [libc]: Export scandirat and scandirat64 for
23529         GLIBC_2.15.
23530         * dirent/dirent.h: Declare scandirat and scandirat64.
23531         * dirent/scandirat.c: New file.
23532         * dirent/scandirat64.c: New file.
23533         * sysdeps/wordsize-64/scandirat.c: New file.
23534         * sysdeps/wordsize-64/scandirat64.c: New file.
23535         * dirent/opendir.c: Define opendirat.
23536         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
23537         using scandirat.
23538         * dirent/scandir64.c: Adjust for scandir.c change.
23539         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
23540         __scandirat64, and __scandir_cancel_handler.
23541         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
23542         additional parameter and use openat instead of open (outside of ld.so).
23543         Add new __opendir as wrapper around __opendirat.
23544         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23545         here without requiring old scandirat implementation.
23547 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
23549         * dirent/scandir.c (cancel_handler): Renamed to
23550         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
23551         defined.  Adjust users.
23552         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23553         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23555 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
23557         * string/test-string.h (IMPL): Use __STRING to expand name and then
23558         stringify it.
23560         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
23561         of cleanups.
23563 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23565         * string/Makefile: Update.
23566         (strop-tests): Append strncat.
23567         * string/test-wcscmp.c: New file.
23568         New comprehensive test for wcscmp.
23569         * string/test-strcmp.c: Update.
23570         (WIDE): New define.
23572 2011-07-22  Andreas Schwab  <schwab@redhat.com>
23574         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23575         line.
23577 2011-07-26  Andreas Schwab  <schwab@redhat.com>
23579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23580         encoding to ACE if AI_IDN.
23582 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
23584         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23585         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23587 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23589         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23590         Fix overflow bug in strncat.
23591         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23593         * string/test-strncat.c: Update.
23594         Add new tests for checking overflow bugs.
23596 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23598         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23599         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23600         * sysdeps/i386/i686/multiarch/strcat.S: New file.
23601         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23602         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23603         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23604         * sysdeps/i386/i686/multiarch/strncat.S: New file.
23605         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23606         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23608         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23609         (USE_AS_STRCAT): Define.
23610         Add strcat and strncat support.
23611         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23613 2011-07-25  Andreas Schwab  <schwab@redhat.com>
23615         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23616         __n bigger than INT_MAX+1.
23617         (__strncmp_g): Likewise.
23619 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
23621         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23622         * libio/stido.h: Likewise.
23624         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23625         (AF_NFC): Define.
23626         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23627         (AF_NFC): Define.
23629         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23630         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23631         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23632         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23633         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23635         [BZ #13021]
23636         * scripts/test-installation.pl: Don't expect libnss_test1 to be
23637         installed.
23639         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23640         typo.
23641         (_dl_x86_64_save_sse): Likewise.
23643 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
23645         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23646         OSXSAVE.
23647         (_dl_x86_64_save_sse): Likewise.
23649         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23651         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23653 2011-07-21  Andreas Schwab  <schwab@redhat.com>
23655         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23656         change.
23657         (_dl_x86_64_save_sse): Use correct AVX check.
23659 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23661         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23662         bug in strncpy/strncat.
23663         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23665 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
23667         * string/tester.c (test_strcat): Add tests for different alignments
23668         of source and destination.
23669         (test_strncat): Likewise.
23671 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23673         [BZ #12852]
23674         * posix/glob.c (glob): Check passed in values before using them in
23675         expressions to avoid some overflows.
23676         (glob_in_dir): Likewise.
23678         [BZ #13007]
23679         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23680         check for AVX enablement so that we don't crash with old kernels and
23681         new hardware.
23682         * elf/tst-audit4.c: Add same checks here.
23683         * elf/tst-audit6.c: Likewise.
23685         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23687 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
23689         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23691 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23693         * po/cs.po: Update from translation team.
23694         * po/bg.po: Likewise.
23696 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
23698         * misc/sys/cdefs.h: Add support for const attribute.
23699         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23700         to gnu_dev_{major,minor,makedev} functions.
23702 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
23704         * intl/dcigettext.c (get_output_charset): Add missing bracket.
23706 2011-07-20  Andreas Schwab  <schwab@redhat.com>
23708         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23709         strlen results.
23711 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23713         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23714         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23715         register in order to avoid conflicts with the soft frame pointer
23716         being held in r11 when necessary.
23717         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23718         (INTERNAL_VSYSCALL_NCS): Likewise.
23720 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
23722         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23723         * elf/dl-fini.c (_dl_fini): Adjust caller.
23724         * elf/dl-close.c (_dl_close_worker): Likewise.
23725         * sysdeps/generic/ldsodefs.h: Adjust declaration.
23727 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23729         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23730         "aux_cache->nlibs < 0".
23732         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23733         in the reload-count case.
23735 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23738         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23739         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23740         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23741         * sysdeps/x86_64/multiarch/strcat.S: New file.
23742         * sysdeps/x86_64/multiarch/strncat.S: New file.
23743         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23744         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23745         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23746         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23747         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23748         (USE_AS_STRCAT): Define.
23749         Add strcat and strncat support.
23750         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23751         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23752         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23753         * string/strncat.c: Update.
23754         (USE_AS_STRNCAT): Define.
23755         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23756         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23757         and i7.
23758         * sysdeps/x86_64/multiarch/init-arch.h
23759         (bit_Prefer_PMINUB_for_stringop): New.
23760         (index_Prefer_PMINUB_for_stringop): Likewise.
23761         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23762         bit_Prefer_PMINUB_for_stringop.
23764 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23766         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23767         buffer64.
23768         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23769         of casting of buffer.
23770         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23771         buffer32 and buffer64.
23772         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23773         writes instead of casting of buffer.
23774         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23775         buffer32.
23776         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23777         casting of buffer.
23779 2011-07-19  Andreas Schwab  <schwab@redhat.com>
23781         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23783 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23785         * nscd/nscd.c (termination_handler): Don't do anything for a database
23786         if it has not yet been initialized.
23788 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23790         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23792 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23794         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23796 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23798         * po/nl.po: Update from translation team.
23799         * po/sv.po: Likewise.
23801 2011-07-16  Roland McGrath  <roland@hack.frob.com>
23803         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23804         now disallowed by GCC.
23806         * configure.in (use-default-link): Default to yes if a test -shared
23807         link meets our qualifications.
23808         * configure: Regenerated.
23810         * config.make.in (output-format): New variable.
23811         * configure.in: Check for ld --print-output-format support.
23812         * configure: Regenerated.
23813         * Makerules ($(common-objpfx)format.lds)
23814         [$(output-format) != unknown]: Just use $(output-format),
23815         instead of the linker-script munging.
23817 2011-07-14  Roland McGrath  <roland@hack.frob.com>
23819         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23820         of $(common-objpfx)shlib.lds.
23821         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23823         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23824         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23826         * configure.in (-z relro check): Adjust test code to add a large
23827         writable data section after it.
23828         * configure: Regenerated.
23830 2011-07-11  Roland McGrath  <roland@hack.frob.com>
23832         * configure.in (-z relro check): Fix test code to make the variable
23833         truly const.
23834         * configure: Regenerated.
23836 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
23838         * nscd/nscd.h (struct traced_file): Define.
23839         (struct database_dyn): Remove inotify_descr, reset_res, and filename
23840         elements.  Add traced_files.
23841         (inotify_fd): Declare.
23842         (register_traced_file): Declare.
23843         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23844         (inotify_fd): Export.
23845         (resolv_conf_descr): Remove.
23846         (nscd_init): Move inotify descriptor creation to main.
23847         Don't register files for notification here.
23848         (register_traced_file): New function.
23849         (invalidate_cache): Don't use reset_res to determine whether to call
23850         res_init, go through the list of registered files.
23851         (main_loop_poll): The inotify descriptors are now stored in the
23852         structures for the traced files.
23853         (main_loop_epoll): Likewise
23854         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
23855         to __nss_disable_nscd.
23856         * nscd/cache.c (prune_cache): There is no single inotify descriptor
23857         for a database anymore.  Check the records for all the registered
23858         files instead.
23859         * nss/Makefile (libnss_files-routines): Add files-init.
23860         (libnss_db-routines): Add db-init.
23861         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23862         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23863         * nss/nss_db/db-init.c: New file.
23864         * nss/nss_files/files-init.c: New file.
23865         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
23866         __nss_lookup_function.
23867         (__nss_lookup_function): Call nss_load_library.
23868         (nss_load_all_libraries): New function.
23869         (__nss_disable_nscd): Take parameter with callback function for files
23870         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
23871         used for the cached services.
23872         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23873         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23874         options for features to all the files in nscd.
23876         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23878 2011-07-10  Roland McGrath  <roland@hack.frob.com>
23880         * csu/elf-init.c (__libc_csu_init): Comment typo.
23882 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
23884         * po/pl.po: Update from translation team.
23885         * po/ja.po: Likewise.
23886         * po/ru.po: Likewise.
23887         * po/ko.po: Likewise.
23888         * po/fr.po: Likewise.
23890 2011-07-09  Roland McGrath  <roland@hack.frob.com>
23892         * configure.in (.ctors/.dtors header and trailer check):
23893         Use an empirical test on a built program.
23894         * configure: Regenerated.
23896         * configure.in (-z relro check): Use an empirical test on a built DSO.
23897         Detect, but do not require, on ia64.
23898         * configure: Regenerated.
23900         * configure.in (READELF): Find it with AC_CHECK_TOOL.
23901         Update tests that use readelf to use $READELF instead.
23902         * configure: Regenerated.
23904 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
23906         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23907         if the result is not used.
23909 2011-07-05  Andreas Jaeger  <aj@suse.de>
23911         [BZ#9696]
23912         * stdlib/tst-strtod.c: Add testcase.
23914 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
23916         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23917         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23918         The latter has a higher limit.  Take additional parameter to pass to
23919         the new function.
23920         (__pathconf): Pass file to __statfs_link_max.
23921         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23922         __statfs_link_max.
23923         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23924         __statfs_link_max.
23926         [BZ #12868]
23927         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23928         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23929         Handle Lustre.
23930         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23931         (__statfs_filesize_max): Likewise.
23932         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23934 2011-07-05  Andreas Jaeger  <aj@suse.de>
23936         * resolv/res_comp.c (dn_skipname): Remove unused variable.
23938 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
23940         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23941         `status' variable.
23942         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23943         Likewise.
23945 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
23947         * Makefile (strop-tests): Add strncat.
23948         * string/test-strncat.c: New file.
23950 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
23952         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23954 2011-06-21  Andreas Jaeger  <aj@suse.de>
23956         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23957         Copy rule from iconvdata/Makefile.
23959 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23961         [BZ #12922]
23962         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23963         but no long options are defined, just return 'W'.
23965 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
23967         [BZ #9696]
23968         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23970 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23972         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23973         netgroups to read.
23974         (innetgr): Likewise.
23976 2011-07-05  Roland McGrath  <roland@hack.frob.com>
23978         * config.make.in (install_root): Default to $(DESTDIR).
23980 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
23982         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23984 2011-07-02  Roland McGrath  <roland@hack.frob.com>
23986         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23988         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23989         containing directory rather than embedding absolute directory names.
23991         * scripts/check-local-headers.sh: Rewritten using awk.
23992         Match by word, not by line.  Print error messages for matches.
23993         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23995         * Makerules [shlib-lds-flags empty]:
23996         ($(common-objpfx)libc_pic.opts): New target.
23997         ($(common-objpfx)libc_pic.os.clean): New target.
23998         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24000         * config.make.in (OBJCOPY): New variable.
24001         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24002         * configure: Regenerated.
24004         * config.make.in (use-default-link): New variable.
24005         * configure.in (use_default_link): Grok --with-default-link to set it.
24006         * configure: Regenerated.
24007         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24008         (shlib-lds, shlib-lds-flags): Define to empty.
24010         * Makerules (shlib-lds): New variable.
24011         (shlib-lds-flags): New variable.
24012         (build-shlib, build-moduile, build-module-asneeded): Use it.
24013         ($(common-objpfx)libc.so): Use $(shlib-lds).
24014         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24015         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24017         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24018         DT_FLAGS/DT_FLAGS_1 with zero flags.
24020         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24021         linker script munging.
24023 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24025         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24026         as 128-bit value.
24027         * crypt/sha512.c (sha512_process_block): Perform total addition using
24028         128-bit if possible.
24029         (__sha512_finish_ctx): Likewise.
24030         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24031         as 64-bit value.
24032         * crypt/sha256.c (SWAP64): Define.
24033         (sha256_process_block): Perform total addition using 64-bit if
24034         possible.
24035         (__sha256_finish_ctx): Likewise.
24037 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24039         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24040         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24041         * nscd/hstcache.c (cache_addhst): Likewise.
24042         * nscd/grpcache.c (cache_addgr): Likewise.
24043         * nscd/aicache.c (addhstaiX): Likewise
24044         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24046 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24048         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24049         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24050         * nscd/hstcache.c (cache_addhst): Likewise.
24051         * nscd/grpcache.c (cache_addgr): Likewise.
24052         * nscd/aicache.c (addhstaiX): Likewise
24054 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24056         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24057         domain only when needed.
24059 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24062         is always restored.
24064 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24066         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24067         are re-adding the entry.
24068         * nscd/servicescache.c (cache_addserv): Likewise.
24070 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24072         * sysdeps/generic/dl-irel.h: fix protection against multiple
24073         inclusions.
24074         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24076 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24078         [BZ #12935]
24079         * malloc/memusage.sh: Fix quoting in message.
24080         * debug/xtrace.sh: Likewise.
24082         * configure.in: Remove support for --experimental-malloc option, make
24083         it the default.
24084         * config.make.in: Likewise.
24085         * malloc/Makefile: Likewise.
24087 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24089         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24090         two-byte characters.
24092 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24094         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24095         AC_CACHE_CHECK invocation.
24096         * configure: Regenerated.
24098         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24100 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24102         [BZ #12350]
24103         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24104         bit from old_res_options.
24106         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24108         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24109         value type for setfct.
24111 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24113         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24114         __gettimeofday instead of gettimeofday.
24116 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24118         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24120 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24122         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24124         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24125         info.
24127 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24130         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24131         strcpy-sse2-unaligned strncpy-sse2-unaligned
24132         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24133         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24134         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24135         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24136         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24137         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24138         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24139         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24140         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24141         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24142         (STRCPY): Support SSE2 and SSSE3 versions.
24144 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24146         [BZ #12874]
24147         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24148         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24149         kernels which artificially limit size of requests.
24151 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24153         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24154         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24155         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24156         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24157         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24158         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24159         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24160         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24161         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24162         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24163         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24164         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24165         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24166         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24167         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24169         Enable unaligned load optimization for Intel Core i3, i5 and i7
24170         processors.
24171         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24172         Define.
24173         (index_Fast_Unaligned_Load): Define.
24174         (HAS_FAST_UNALIGNED_LOAD): Define.
24176 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24178         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24180 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24182         [BZ #12907]
24183         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24184         until it is clear that the information is realy needed.
24185         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24187 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24191 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24194         /sys/devices/system/cpu/online if it is usable.
24196         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24197         reading the information from the /proc filesystem to once a second.
24199 2011-06-21  Andreas Jaeger  <aj@suse.de>
24201         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24202         NULL after inclusion of kernel headers.
24204 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24206         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24207         calls to internal_setent.
24209         [BZ #12885]
24210         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24211         addresses using gethostbyname4_r ignore IPv4 addresses.
24213         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24214         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24216         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24218 2011-06-20  David S. Miller  <davem@davemloft.net>
24220         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24221         inclusions.
24222         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24224         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24225         (elf_irel): Use it.
24226         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24227         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24228         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24229         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24230         * sysdeps/x86_64/dl-irel.h: Likewise.
24232         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24233         * elf/dl-sym.c: Likewise.
24235 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24237         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24238         need to dereference resplen2.
24240 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24242         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24244 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24246         * Makeconfig: Define vardbdir and inst_vardbdir.
24247         * nss/Makefile: Add rules to install db-Makefile.
24249         * nss/nss_db/db-XXX.c: Cleanup.
24251         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24252         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24253         GLIBC_PRIVATE.
24254         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24255         * nss/makedb.c: Implement -g option to specify that value strings
24256         are generated and should not be added to table iterated over for
24257         get*ent calls.
24258         * nss/nss_db/db-initgroups.c: New file.
24260         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24261         interface.
24263         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24264         (internal_getgrouplist): Adjust to name change.
24265         Update use_initgroups_entry if this is not the first call.
24266         * nss/databases.def: Add initgroups entry.
24268         * nss/makedb.c (compute_tables): Check result of multiple hash table
24269         sizes to minimize maximum chain length.
24271 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24273         * Versions.def: Add entry for libnss_db.
24274         * shlib-versions: Likewise.
24275         * nss/Makefile: Add rules to build libnss_db.
24276         * nss/Versions: Add libnss_db information.  Organize libnss_files
24277         entries better.
24278         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24279         makedb progra.  Some minor improvements to generate smaller files.
24280         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24281         here from...
24282         * nss/makedb.c: ...here.
24283         Improve database format to be smaller and require less memory at
24284         runtime.
24285         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24286         db anymore.
24287         * nss/nss_db/db-netgrp.c: Likewise.
24288         * nss/nss_db/db-open.c: Likewise.
24289         * nss/nss_files/flies-XXX.x: Adjust comments.
24290         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24291         * nss/nss_files/files-grp.c: Likewise.
24292         * nss/nss_files/files-hosts.c: Likewise.
24293         * nss/nss_files/files-network.c: Likewise.
24294         * nss/nss_files/files-proto.c: Likewise.
24295         * nss/nss_files/files-pwd.c: Likewise.
24296         * nss/nss_files/files-rpc.c: Likewise.
24297         * nss/nss_files/files-service.c: Likewise.
24298         * nss/nss_files/files-sgrp.c: Likewise.
24299         * nss/nss_files/files-spwd.c: Likewise.
24300         * nss/nss_db/db-alias.c: Removed.
24301         * nss/nss_db/dummy-db.h: Removed.
24303 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24305         * nss/makedb.c: Rewritten to not use database library.
24306         * nss/Makefile: Update to build new makedb program.
24308 2011-06-14  Andreas Jaeger  <aj@suse.de>
24310         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24311         memset declaration.
24313 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24316         tmpbuf.
24318 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24320         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24321         * elf/Makefile ($(objpfx)ld.so): Likewise.
24323         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24324         Don't list ld.so twice in dependencies.
24326         * posix/bug-regex31.c: Include <stdlib.h>.
24328         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24330         * nis/nss_compat/compat-spwd.c
24331         (getspent_next_nss_netgr): Remove unused variable.
24332         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24334         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24335         nonmembers" output to use the right array.
24337         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24339         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24341         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24342         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24343         * catgets/gencat.c (read_input_file): Likewise.
24344         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24346         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24347         variable definition inside #if's controlling its use.
24349         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24351         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24353         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24355         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24356         unreachable code.
24358         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24360         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24361         * configure: Regenerated.
24363         * Makerules: Revert last change.
24364         * elf/Makefile: Likewise.
24366 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24368         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24369         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24370         (reloc-link): Likewise.
24372 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24374         * elf/Makefile: Add rules to build pldd.
24375         * elf/pldd.c: New file.
24376         * elf/pldd-xx.c: New file.
24378 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24380         * version.h: Update for 2.15 development version.
24382 2011-06-07  David S. Miller  <davem@davemloft.net>
24384         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24385         ifuncs.
24386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24387         elf_machine_lazy_rel): Likewise.
24388         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24389         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24390         elf_machine_lazy_rel): Likewise.
24391         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24392         dl_hwcap via passed in argument.
24393         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24394         Likewise.
24396 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24398         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24400 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24402         [BZ #12849]
24403         * manual/fdl-1.1.texi: New file, verbatim from:
24404         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24405         * manual/lgpl-2.1.texi: New file, verbatim from:
24406         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24407         * manual/Makefile (licenses): New variable, list those new file names.
24408         (texis): Use it.
24409         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24411         * manual/fdl.texi: File removed.
24412         * manual/lesser.texi: File removed.
24413         * manual/libc.texinfo (Copying, Documentation License):
24414         Use new @include file names, put @appendix directive before @include.
24416 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24418         [BZ #12841]
24419         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24420         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24421         (mq_open): Add __NTH.
24423 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24426         Assume Intel Core i3/i5/i7 processor if AVX is available.
24428 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24430         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24431         typo.
24433 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24435         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24436         memory.  Use alloca_account.  Fix memory leak when retrying.
24438 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24440         * version.h (RELEASE): Bump for 2.14 release.
24441         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24443         * config.make.in (RANLIB): Remove entry.
24445 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24447         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24448         (libc.pot): Work around missing support for .ksh extension in xgettext.
24450         [BZ #12684]
24451         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24452         if both request failed.
24453         (send_dg): In case of server errors clear resplen or *resplen2.
24455         [BZ #12454]
24456         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24457         when there are multiple maps.
24458         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24459         (_dl_fini): Remove test here.
24461         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24463 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24465         [BZ #12350]
24466         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24467         bit from old_res_options.
24468         (gaih_inet): Likewise.
24470         [BZ #11099]
24471         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24472         as signed.
24474         * resolv/res_init.c (res_setoptions): Make the code more compact.
24476         [BZ #11558]
24477         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24478         set RES_USEVC.
24480         [BZ #11634]
24481         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24483         * malloc/malloc.h: Mark malloc hook variables as deprecated.
24485         [BZ #11781]
24486         * malloc/malloc.h: Declare malloc hook variables as volatile.
24488         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24489         in last patch.
24491         [BZ #11799]
24492         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24493         raise in the comment.
24494         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24495         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24496         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24498 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
24500         [BZ #12811]
24501         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24502         grow the buffers more if it already has to be sufficient.
24503         (build_wcs_upper_buffer): Likewise.
24504         * posix/regexec.c (check_matching): Likewise.
24505         (clean_state_log_if_needed): Likewise.
24506         (extend_buffers): Don't enlarge buffers beyond size of the input
24507         buffer.
24508         Patches mostly by Emil Wojak <emil@wojak.eu>.
24509         * posix/bug-regex32.c: New file.
24510         * posix/Makefile (tests): Add bug-regex32.
24512         * locale/findlocale.c (_nl_find_locale): Return right away if
24513         _nl_explode_name failed.
24514         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24516         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24518         * debug/xtrace.sh: Unify messages.
24519         * malloc/memusage.sh: Likewise.
24521         [BZ #12813]
24522         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24523         time symbol from vDSO.  Substitute with vsyscall if not available.
24524         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24525         __vdso_time.
24527         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24528         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24529         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24530         Add sendmmsg and internal_sendmmsg.
24531         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24532         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24533         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24535         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24536         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24537         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24539 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
24541         [BZ #12813]
24542         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24543         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
24544         available.
24545         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24546         __vdso_getcpu.
24548         [BZ #12814]
24549         * iconvdata/Makefile (tests): Add bug-iconv9.
24550         * iconvdata/bug-iconv9.c: New file.
24552 2011-05-27  Andreas Schwab  <schwab@redhat.com>
24554         [BZ #12814]
24555         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24557 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
24559         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24560         (struct user_regs_struct): Change intcs field back to cs.
24562 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
24564         * po/ja.po: Update from translation team.
24566 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
24568         [BZ #12795]
24569         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24570         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24572 2011-05-20  Andreas Schwab  <schwab@redhat.com>
24574         * stdlib/longlong.h: Update from GCC.
24576 2011-05-23  Andreas Schwab  <schwab@redhat.com>
24578         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24579         parameter name.
24580         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24581         Add parameter name.
24582         (__sysconf): Pass it down.
24584 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
24586         [BZ #12671]
24587         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24588         some situations.
24589         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24590         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24591         add in in __libc_use_alloca calls.  Adjust callers.
24592         (glob): Use malloc in some situations.
24594         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24595         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24596         pltexit.
24598 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
24600         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24601         and CLOCK_BOOTTIME_ALARM.
24603         [BZ #12782]
24604         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24605         is returned.
24607         * string/_strerror.c (__strerror_r): Print negative errors as signed
24608         numbers.
24610         [BZ #12777]
24611         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24612         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24613         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24615         * configure.in: Fix typo in redirection and correct removal of test
24616         files in two cases.
24618         [BZ #12788]
24619         * locale/setlocale.c (new_composite_name): Fix test to check for
24620         identical name of all categories.
24622         [BZ #12792]
24623         * libio/filedoalloc.c (local_isatty): New function.
24624         (_IO_file_doallocate): Use local_isatty.
24625         * stdio-common/perror.c (perror): In case a new stream is used
24626         forward the stream error.
24627         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24628         error flag.
24630 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
24632         [BZ #11869]
24633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24634         alloca.
24635         * include/alloca.h (extend_alloca_account): Define.
24637         [BZ #11857]
24638         * posix/regex.h: Fix comments with documentation of user-accessible
24639         fields after compilation and describe correct free'ing of pattern
24640         after re_compile_pattern.
24641         Patch by Reuben Thomas <rrt@sc3d.org>.
24643 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
24645         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24646         and -mno-altivec to prevent the compiler from using Altivec and/or
24647         VSX instructions when the corresponding registers are not available.
24649 2011-05-19  Andreas Schwab  <schwab@redhat.com>
24651         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24653 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
24655         * libio/freopen.c (freopen): Use __dup2, not dup2.
24656         * libio/freopen64.c (freopen64): Likewise.
24658 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24660         [BZ #12775]
24661         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24662         * math/Makefile (tests): Add test-powl.
24663         (CFLAGS-test-powl.c): Define.
24664         * math/test-powl.c: New file.
24666 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24668         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24670 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
24672         [BZ #11837]
24673         * iconvdata/gb18030.c: Update to GB18020-2005.
24675 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
24677         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24678         RE_SYNTAX_POSIX_AWK): Update to match recent development.
24679         Patch by Aharon Robbins <arnold@skeeve.com>.
24681         [BZ #11892]
24682         * stdlib/putenv.c (putenv): Don't always create copy of the variable
24683         on the stack.
24685         [BZ #11895]
24686         * misc/pselect.c (__pselect): Handle timeout value errors hidden
24687         through underflows.
24689         [BZ #12766]
24690         * misc/error.c (error_at_line): Ensure file_name and old_file_name
24691         point to strings before performing equality test for error_one_per_line
24692         mode.
24694         [BZ #11697]
24695         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24697         [BZ #11820]
24698         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24699         (struct user_fpregs_struct): Avoid __uint*_t types.
24701         [BZ #6420]
24702         * malloc/mtrace.c (tr_where): Add additional parameter to point to
24703         symbol info.  Use it instead of calling _dl_addr locally.
24704         (lock_and_info): New function.
24705         (tr_freehook): Call lock_and_info and pass symbol info as additional
24706         parameter to tr_where.
24707         (tr_mallochook): Likewise.
24708         (tr_reallochook): Likewise.
24709         (tr_memalignhook): Likewise.
24711         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
24712         used and couldn't be at all thread-safe.
24714 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
24716         * libio/freopen.c (freopen): Don't close old file descriptor
24717         before the new one is opened.  Instead dup the new file descriptor
24718         to the old one after the new stream is created.
24719         * libio/freopen64.c (freopen64): Likewise.
24720         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24721         * libio/fileops.c (_IO_new_file_close_it): Handle new
24722         _IO_FLAGS2_NOCLOSE flag.
24723         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24724         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24725         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24726         _IO_FLAGS2_NOCLOSE flag.
24727         * include/unistd.h: Add hidden_proto for dup3.
24728         Define __have_dup3.
24729         * io/dup3.c: Define hidden symbol.
24730         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24732         [BZ #7101]
24733         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24734         when an incomplete long option is used.
24735         * posix/tst-getopt_long1.c: New file.
24736         * posix/Makefile (tests): Add tst-getopt_long1.
24738         [BZ #10138]
24739         * scripts/config.guess: Update from autoconf-2.68.
24740         * scripts/config.sub: Likewise.
24742         [BZ #10157]
24743         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24744         tests into ...
24745         (has_cpuclock): ...this.  New function.
24746         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24747         macro here based on has_cpuclock code.
24749         [BZ #10149]
24750         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24751         First byte (not low byte) is now always NUL.
24752         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24754         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24755         Use non-cancelable interfaces.
24757         [BZ #9809]
24758         * locale/iso-639.def: Add entry for Sorani.
24760         [BZ #11901]
24761         * include/stdlib.h: Move include protection to the right place.
24762         Define abort_msg_s.  Declare __abort_msg with it.
24763         * stdlib/abort.c (__abort_msg): Adjust type.
24764         * assert/assert.c (__assert_fail_base): New function.  Majority
24765         of code from __assert_fail.  Allocate memory for __abort_msg with
24766         mmap.
24767         (__assert_fail): Now call __assert_fail_base.
24768         * assert/assert-perr.c: Remove bulk of implementation.  Use
24769         __assert_fail_base.
24770         * include/assert.hL Declare __assert_fail_base.
24771         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24772         mmap.
24773         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24775 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
24777         [BZ #11952]
24778         [BZ #12453]
24779         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24780         until all modules are registered in the DTV.
24781         * elf/Makefile: Add rules to build and run tst-tls19.
24782         * elf/tst-tls19.c: New file.
24783         * elf/tst-tls19mod1.c: New file.
24784         * elf/tst-tls19mod2.c: New file.
24785         * elf/tst-tls19mod3.c: New file.
24786         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24788         [BZ #12083]
24789         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24790         correctly.
24792         [BZ #12601]
24793         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24794         two-byte sequence errors.
24795         * iconvdata/Makefile (tests): Add bug-iconv8.
24796         * iconvdata/bug-iconv8.c: New file.
24798         [BZ #12626]
24799         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24800         buf2 definition.
24802         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24804         [BZ #12432]
24805         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24806         (dummy_getcfa): New function.
24807         (init): Get _Unwind_GetCFA address, use dummy if not found.
24808         (backtrace_helper): In recursion check, also check whether CFA changes.
24809         (__backtrace): Completely initialize arg.
24811         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24812         storing incomplete byte sequence in state object.  Avoid testing for
24813         guaranteed too small input if we know there is enough data available.
24815 2011-05-11  Andreas Schwab  <schwab@redhat.com>
24817         * Makeconfig (+link-pie): Indent.
24818         * Rules (binaries-pie): Define if $(have-fpie) and
24819         $(build-shared).
24820         (binaries-shared): Also filter out $(binaries-pie).
24821         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24822         * nscd/Makefile (others-pie): Add nscd.
24823         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24824         ($(objpfx)nscd): Remove command override.
24825         * login/Makefile (others-pie): Add pt_chown.
24826         ($(objpfx)pt_chown): Remove command override.
24827         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24828         remove command overrides.
24830 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
24832         * libio/tst_putwc.c: Fix error messages.
24834         [BZ #12724]
24835         * libio/fileops.c (_IO_new_file_close_it): Always flush when
24836         currently writing and seek to current position when not.
24837         * libio/Makefile (tests): Add bug-fclose1.
24838         * libio/bug-fclose1.c: New file.
24840 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
24842         [BZ #12511]
24843         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24844         don't set DF_1_NODELETE here.
24845         (do_lookup_x): When entering new entry test for copy relocation
24846         and if necessary set DF_1_NODELETE flag.
24847         * elf/tst-unique4.cc: New file.
24848         * elf/tst-unique4.h: New file.
24849         * elf/tst-unique4lib.cc: New file.
24850         * elf/Makefile: Add rules to build and run tst-unique4.
24851         Patch by Piotr Bury <pbury@goahead.com>.
24853 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
24855         [BZ #12052]
24856         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24858         [BZ #12625]
24859         * misc/mntent_r.c (addmntent): Flush the stream after the output
24861         [BZ #12393]
24862         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24863         (is_trusted_path_normalize): Skip initial colon.  Append slash
24864         to empty buffer.  Duplicate is_trusted_path code but allow
24865         constructed patch to be prefix.
24866         (is_dst): Allow $ORIGIN followed by /.
24867         (_dl_dst_substitute): Correct clearing of check_for_trusted.
24868         Correct testing of result of is_trusted_path_normalize
24869         (decompose_rpath): Fix warning.
24871 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
24873         [BZ #11257]
24874         * grp/initgroups.c (internal_getgrouplist): When we found the service
24875         list through the initgroups entry in nsswitch.conf do not always
24876         continue on a successful lookup.  Don't always use the
24877         __nss_group_database value if it is set.
24878         * nss/nsswitch.conf (initgroups): Change action for successful db
24879         lookup to continue for compatibility.
24881 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
24883         [BZ #11532]
24884         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24885         and CP774 modules.
24886         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24887         and CP774 modules.
24888         * iconvdata/tst-tables.sh: Likewise.
24889         * iconvdata/cp770.c: New file.
24890         * iconvdata/cp771.c: New file.
24891         * iconvdata/cp772.c: New file.
24892         * iconvdata/cp773.c: New file.
24893         * iconvdata/cp774.c: New file.
24894         * iconvdata/testdata/CP770: New file.
24895         * iconvdata/testdata/CP770..UTF8: New file.
24896         * iconvdata/testdata/CP771: New file.
24897         * iconvdata/testdata/CP771..UTF8: New file.
24898         * iconvdata/testdata/CP772: New file.
24899         * iconvdata/testdata/CP772..UTF8: New file.
24900         * iconvdata/testdata/CP773: New file.
24901         * iconvdata/testdata/CP773..UTF8: New file.
24902         * iconvdata/testdata/CP774: New file.
24903         * iconvdata/testdata/CP774..UTF8: New file.
24905         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24906         END CHARMAP line.
24907         * iconvdata/gen-8bit-gap.sh: Likewise.
24908         * iconvdata/gen-8bit.sh: Likewise.
24910         * locale/iso-639.def: Add ary entry.
24912         [BZ #11258]
24913         * locale/C-translit.h.in: Add U20A1 transliteration.
24915         [BZ #12178]
24916         * locale/iso-639.def: Add wae entry.
24917         Patch by Kevin Bortis <bortis@translate-wae.ch>.
24919         [BZ #12545]
24920         * locale/programs/localedef.c (construct_output_path): Use ssize_t
24921         for n.
24923         [BZ #12711]
24924         * locale/C-translit.h.in: Add entry for U20B9.
24925         Patch by pravin.d.s@gmail.com.
24927 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
24929         [BZ #12713]
24930         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24931         ENAMETOOLONG use generic getcwd.
24932         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
24933         in rtld.  Use *stat64.
24934         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24935         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24936         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24937         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24938         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24939         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24940         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24941         __fstatat64 macros.
24942         * include/dirent.h: Add libc_hidden_proto for rewinddir.
24943         * dirent/rewinddir.c: Add libc_hidden_def.
24944         * sysdeps/mach/hurd/rewinddir.c: Likewise.
24945         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
24947         * include/dirent.h (__alloc_dir): Add flags parameter.
24948         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24949         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24950         __alloc_dir.
24951         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
24952         from fdopendir if O_CLOEXEC is already set.
24954 2011-03-15  Alan Modra  <amodra@gmail.com>
24956         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24957         l_tls_firstbyte_offset non-zero.  Save padding offset in
24958         l_tls_firstbyte_offset for later use.
24959         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24960         freeing static tls block.
24962 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
24964         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24965         where #ifdef was intended.  The intent is to prevent ARG_MAX from
24966         being defined by the kernel headers.
24968 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
24970         [BZ #12734]
24971         * resolv/resolv.h: Define RES_NOTLDQUERY.
24972         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24973         no-tld-query and set RES_NOTLDQUERY.
24974         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24975         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24976         modern BIND to search name as TLD unless forbidden.
24978 2011-05-07  Petr Baudis  <pasky@suse.cz>
24979             Ulrich Drepper  <drepper@gmail.com>
24981         [BZ #12393]
24982         * elf/dl-load.c (fillin_rpath): Move trusted path check...
24983         (is_trusted_path): ...to here.
24984         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24985         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24986         using is_trusted_path_normalize() in setuid scripts.
24988 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24990         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24991         __BEGIN/__END_DECLS.
24993 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
24995         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24996         NSS_STATUS_NOTFOUND if no record was found.
24998 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25000         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25001         (headers-not-in-tirpc): Remove rpc/netdb.h
25002         * resolv/netdb.h: Revert last change.
25004 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25006         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25007         circular dependency between libgcc.a and libc.a.
25009 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25011         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25012         * nis/Makefile: Don't install rpcsvc/*.
25013         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25014         instead of <rpc/types.h>.
25015         (MAXHOSTNAMELEN): Define.
25017 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25019         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25021 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25023         [BZ #12714]
25024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25025         gethostbyname4_r when IPv6 results are possible.
25027 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25029         [BZ #12723]
25030         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25031         _PC_PIPE_BUF handling.
25033 2011-04-30  Bruno Haible  <bruno@clisp.org>
25035         [BZ #12717]
25036         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25037         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25038         to 'int'.
25039         * inet/getnameinfo.c (getnameinfo): Likewise.
25041 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25043         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25044         to groups setting in database lookup.
25045         * nss/nsswitch.conf: Add initgroups entry.
25047 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25049         [BZ #12685]
25050         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25051         mode string.
25052         Patch by Eric Blake <eblake@redhat.com>.
25054 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25056         * sunrpc/Makefile (need-export-routines): Add svc_run.
25057         (routines): Remove svc_run.
25058         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25059         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25060         * sunrpc/svc_run.c (svc_run): Likewise.
25061         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25063 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25065         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25066         problem in reallocation in last patch.
25068 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25070         * sunrpc/Makefile: Move inclusion of Rules.
25072 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25074         * nss/nss_files/files-initgroups.c: New file.
25075         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25076         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25077         _nss_files_initgroups_dyn.
25079 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25081         * elf/elf.h (R_ARM_IRELATIVE): Define.
25083 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25085         * po/ru.po: Update from translation team.
25087 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25089         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25090         dependencies.
25092 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25094         [BZ #12653]
25095         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25096         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25097         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25098         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25099         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25101 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25103         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25104         differing bytes.
25105         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25106         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25107         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25109 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25111         [BZ #12420]
25112         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25113         storing it.
25114         * stdlib/bug-getcontext.c: New file.
25115         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25117 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25119         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25120         instructions into .machine "z9-109".
25121         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25122         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25124 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25126         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25127         between environment variables and auxiliary vector.
25129 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25131         * Makefile: Add rules to build linkobj/libc.so.
25132         * include/libc-symbols.h: Define libc_hidden_nolink.
25133         * include/rpc/auth.h: Mark functions which are to be hidden.
25134         * include/rpc/auth_des.h: Likewise.
25135         * include/rpc/auth_unix.h: Likewise.
25136         * include/rpc/clnt.h: Likewise.
25137         * include/rpc/des_crypt.h: Likewise.
25138         * include/rpc/key_prot.h: Likewise.
25139         * include/rpc/pmap_clnt.h: Likewise.
25140         * include/rpc/pmap_prot.h: Likewise.
25141         * include/rpc/pmap_rmt.h: Likewise.
25142         * include/rpc/rpc_msg.h: Likewise.
25143         * include/rpc/svc.h: Likewise.
25144         * include/rpc/svc_auth.h: Likewise.
25145         * include/rpc/xdr.h: Likewise.
25146         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25147         * nss/Makefile: Likewise.
25148         * sunrpc/Makefile: Don't install headers.  Build library with normal
25149         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25150         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25151         for the compat linking library.  Remove use of INTDEF/INTUSE.
25152         * sunrpc/auth_none.c: Likewise.
25153         * sunrpc/auth_unix.c: Likewise.
25154         * sunrpc/authdes_prot.c: Likewise.
25155         * sunrpc/authuxprot.c: Likewise.
25156         * sunrpc/clnt_gen.c: Likewise.
25157         * sunrpc/clnt_perr.c: Likewise.
25158         * sunrpc/clnt_raw.c: Likewise.
25159         * sunrpc/clnt_simp.c: Likewise.
25160         * sunrpc/clnt_tcp.c: Likewise.
25161         * sunrpc/clnt_udp.c: Likewise.
25162         * sunrpc/clnt_unix.c: Likewise.
25163         * sunrpc/des_crypt.c: Likewise.
25164         * sunrpc/des_soft.c: Likewise.
25165         * sunrpc/get_myaddr.c: Likewise.
25166         * sunrpc/key_call.c: Likewise.
25167         * sunrpc/key_prot.c: Likewise.
25168         * sunrpc/netname.c: Likewise.
25169         * sunrpc/pm_getmaps.c: Likewise.
25170         * sunrpc/pm_getport.c: Likewise.
25171         * sunrpc/pmap_clnt.c: Likewise.
25172         * sunrpc/pmap_prot.c: Likewise.
25173         * sunrpc/pmap_prot2.c: Likewise.
25174         * sunrpc/pmap_rmt.c: Likewise.
25175         * sunrpc/publickey.c: Likewise.
25176         * sunrpc/rpc_cmsg.c: Likewise.
25177         * sunrpc/rpc_common.c: Likewise.
25178         * sunrpc/rpc_dtable.c: Likewise.
25179         * sunrpc/rpc_prot.c: Likewise.
25180         * sunrpc/rpc_thread.c: Likewise.
25181         * sunrpc/rtime.c: Likewise.
25182         * sunrpc/svc.c: Likewise.
25183         * sunrpc/svc_auth.c: Likewise.
25184         * sunrpc/svc_authux.c: Likewise.
25185         * sunrpc/svc_raw.c: Likewise.
25186         * sunrpc/svc_run.c: Likewise.
25187         * sunrpc/svc_simple.c: Likewise.
25188         * sunrpc/svc_tcp.c: Likewise.
25189         * sunrpc/svc_udp.c: Likewise.
25190         * sunrpc/svc_unix.c: Likewise.
25191         * sunrpc/svcauth_des.c: Likewise.
25192         * sunrpc/xcrypt.c: Likewise.
25193         * sunrpc/xdr.c: Likewise.
25194         * sunrpc/xdr_array.c: Likewise.
25195         * sunrpc/xdr_float.c: Likewise.
25196         * sunrpc/xdr_intXX_t.c: Likewise.
25197         * sunrpc/xdr_mem.c: Likewise.
25198         * sunrpc/xdr_rec.c: Likewise.
25199         * sunrpc/xdr_ref.c: Likewise.
25200         * sunrpc/xdr_sizeof.c: Likewise.
25201         * sunrpc/xdr_stdio.c: Likewise.
25203 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25205         [BZ #12650]
25206         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25207         * sysdeps/ia64/dl-tls.h: Likewise.
25208         * sysdeps/powerpc/dl-tls.h: Likewise.
25209         * sysdeps/s390/dl-tls.h: Likewise.
25210         * sysdeps/sh/dl-tls.h: Likewise.
25211         * sysdeps/sparc/dl-tls.h: Likewise.
25212         * sysdeps/x86_64/dl-tls.h: Likewise.
25213         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25215 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25217         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25218         rpath element also skip the following colon.
25219         (expand_dynamic_string_token): Add is_path parameter and pass
25220         down to DL_DST_REQUIRED and _dl_dst_substitute.
25221         (decompose_rpath): Call expand_dynamic_string_token with
25222         non-zero is_path.  Ignore empty rpaths.
25223         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25224         with zero is_path.
25226 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25229         Make cancelable.
25231 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25233         [BZ #12655]
25234         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25235         Patch by Filipe David Manana <fdmanana@apache.org>.
25237 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25239         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25240         Maintain aligned stack.
25241         (CHECK_RSP): Remove unused macro.
25243 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25245         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25246         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25248 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25250         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25252         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25254 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25256         [BZ #12518]
25257         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25258         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25259         * sysdeps/x86_64/memmove.c: New file.
25260         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25261         (memcpy): Renamed to ...
25262         (__new_memcpy): This.
25263         (memcpy): Provide GLIBC_2_14 memcpy.
25264         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25265         (memcpy): Provide GLIBC_2_2_5 memcpy.
25267 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25269         [BZ #12631]
25270         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25272 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25274         * misc/syncfs.c: New file.
25275         * misc/Makefile (routines): Add syncfs.
25276         * posix/unistd.h: Declare syncfs.
25277         * sysdeps/unix/syscalls.list: Add syncfs.
25279 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25281         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25282         open_by_handle_at.
25283         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25284         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25285         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25286         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25288         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25289         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25291 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25293         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25294         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25295         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25296         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25297         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25299         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25301         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25302         sync_file_range.c with -fexceptions.
25303         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25304         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25305         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25306         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25307         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25308         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25309         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25310         sync_file_range as cancellation point
25311         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25312         now a wrapper around __call_sync_file_range with cancellation handling.
25313         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25314         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25315         function name to __call_sync_file_range.
25316         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25317         Add call_sync_file_range.
25319 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25322         bits/timex.h.
25324 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25326         * iconv/iconv.h: Fix typo in comment.
25327         * io/fcntl.h: Likewise.
25328         * libio/stdio.h: Likewise.
25329         * posix/spawn.h: Likewise.
25330         * posix/unistd.h: Likewise.
25331         * stdlib/stdlib.h: Likewise.
25332         * time/time.h: Likewise.
25333         * wcsmbs/wchar.h: Likewise.
25335         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25336         open_by_handle): Add.
25337         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25338         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25339         Augment a few comments.
25340         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25341         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25342         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25343         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25344         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25345         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25346         open_by_handle.
25348         * io/fcntl.h (AT_EMPTY_PATH): Define.
25350 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25352         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25353         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25354         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25355         to...
25356         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25357         * Versions.def: Add GLIBC_2.14.
25358         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25359         Export.
25361 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25363         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25364         round counter.
25365         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25367 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25369         [BZ #12597]
25370         * string/test-strncmp.c (do_page_test): New function.
25371         (check2): Likewise.
25372         (test_main): Call check2.
25373         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25375 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25377         [BZ #12587]
25378         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25379         Handle cache information in CPU leaf 4.
25380         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25382 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25384         [BZ #12583]
25385         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25386         character representation.
25387         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25389 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25391         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25392         END(__isnan) to END(__isnanf) to match function entry point/label
25393         EALIGN(__isnanf,...).
25395 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25397         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25399 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25401         [BZ #12510]
25402         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25403         copy from the symbol referenced in the relocation to initialize the
25404         used variable.
25405         Patch by Piotr Bury <pbury@goahead.com>.
25406         * elf/Makefile: Add rules to build and tst-unique3.
25407         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25408         * elf/tst-unique3.cc: New file.
25409         * elf/tst-unique3.h: New file.
25410         * elf/tst-unique3lib.cc: New file.
25411         * elf/tst-unique3lib2.cc: New file.
25413         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25415 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25417         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25418         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25419         to _start.
25421 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25423         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25424         to-be-loaded object along a path to loader is ld.so.
25426 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25427             Ulrich Drepper  <drepper@gmail.com>
25429         * sysdeps/x86_64/memset.S: After aligning destination, code
25430         branches to different locations depending on the value of
25431         misalignment, when multiarch is enabled. Fix this.
25433 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25435         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25436         Set _x86_64_preferred_memory_instruction for AMD processsors.
25437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25438         Set bit_Prefer_SSE_for_memop for AMD processors.
25440 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25442         * libio/fmemopen.c (fmemopen): Optimize a bit.
25444 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25446         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25448 2011-03-03  Roland McGrath  <roland@redhat.com>
25450         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25452 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25454         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25455         __bzero_ultra1 instead of __memset_ultra1.
25457 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25458             Ulrich Drepper  <drepper@gmail.com>
25460         [BZ #12509]
25461         * include/link.h (struct link_map): Add l_orig_initfini.
25462         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25463         returning unsuccessfully.
25464         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25465         close of a file loaded at startup, restore the original l_initfini
25466         list.
25467         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25468         list, store the pointer.
25469         * elf/Makefile ($(objpfx)noload-mem): New rule.
25470         (noload-ENV): Define.
25471         (tests): Add $(objpfx)noload-mem.
25472         * elf/noload.c: Include <memcheck.h>.
25473         (main): Call mtrace.  Close all opened handles.
25475 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25477         [BZ #12454]
25478         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25479         dependencies are missing.
25481 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25483         Fix __if_freereq crash: Unlike the generic version which uses free,
25484         Hurd needs munmap.
25485         * sysdeps/mach/hurd/ifreq.h: New file.
25487 2011-01-27  Petr Baudis  <pasky@suse.cz>
25488             Ulrich Drepper  <drepper@gmail.com>
25490         [BZ 12445]#
25491         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25492         to extend_alloca().
25493         * stdio-common/bug23.c: New file.
25494         * stdio-common/Makefile (tests): Add bug23.
25496 2010-09-28  Andreas Schwab  <schwab@redhat.com>
25497             Ulrich Drepper  <drepper@gmail.com>
25499         [BZ #12489]
25500         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25501         before performing relro protection.  At old place add assertion
25502         to make sure nothing changed.
25504 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
25505             Glauber de Oliveira Costa  <glommer@gmail.com>
25507         * elf/elf.h: Add new ARM TLS relocs.
25509 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
25511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25512         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25513         cast from r3.
25514         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
25515         'tests' variable.
25516         * sysdeps/wordsize-64/tst-writev.c: New file.
25518 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
25520         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25521         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25522         insns in _dl_start to prevent a TOC reference before relocs are
25523         resolved.
25525 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
25527         [BZ #12469]
25528         * Makeconfig: Remove RANLIB definition.
25529         * Makerules: Don't use RANLIB.
25530         * aclocal.m4: Remove ranlib test.
25531         * configure.in: No need to check for ranlib.
25532         * elf/rtld-Rules: Don't use RANLIB.
25534 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25536         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25537         protection macro.
25538         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25539         inclusion protection macro.
25541         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25542         SIGRTMIN and SIGRTMAX and print information in that case only when
25543         SIGRTMIN is defined.
25545 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
25547         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25548         arginfo fn returning -1.
25550         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25551         and thousands string is zero terminated.
25553 2011-02-03  Andreas Schwab  <schwab@redhat.com>
25555         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25556         sysdeps/unix/sysv/linux/bits/socket.h.
25558 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25560         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25561         (__CPU_COUNT): Remove old macros.
25562         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25563         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25564         (__CPU_ALLOC, __CPU_FREE): Add macros.
25565         (__sched_cpualloc, __sched_cpufree): Add declarations.
25567 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
25569         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25570         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25571         * nscd/aicache.c (addhstaiX): Return timeout of added value.
25572         (readdhstai): Return value of addhstaiX call.
25573         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25574         (addgrbyX): Return value returned by cache_addgr.
25575         (readdgrbyname): Return value returned by addgrbyX.
25576         (readdgrbygid): Likewise.
25577         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25578         (addpwbyX): Return value returned by cache_addpw.
25579         (readdpwbyname): Return value returned by addhstbyX.
25580         (readdpwbyuid): Likewise.
25581         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25582         (addservbyX): Return value returned by cache_addserv.
25583         (readdservbyname): Return value returned by addservbyX:
25584         (readdservbyport): Likewise.
25585         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25586         (addhstbyX): Return value returned by cache_addhst.
25587         (readdhstbyname): Return value returned by addhstbyX.
25588         (readdhstbyaddr): Likewise.
25589         (readdhstbynamev6): Likewise.
25590         (readdhstbyaddrv6): Likewise.
25591         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25592         (readdinitgroups): Return value returned by addinitgroupsX.
25593         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25594         (prune_cache): Keep track of timeout value of re-added entries.
25595         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25596         * nscd/nscd.h: Adjust prototypes of readd* functions.
25598 2011-02-04  Roland McGrath  <roland@redhat.com>
25600         * nis/nis_server.c (nis_servstate): Use the right name for 0.
25601         (nis_stats): Likewise.
25602         * nis/nis_modify.c (nis_modify): Likewise.
25603         * nis/nis_remove.c (nis_remove): Likewise.
25604         * nis/nis_add.c (nis_add): Likewise.
25606         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25608         * posix/fnmatch_loop.c: Add some consts.
25610         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25612 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
25614         [BZ #12460]
25615         * config.make.in (config-cflags-novzeroupper): Define.
25616         * configure.in: Substitute libc_cv_cc_novzeroupper.
25617         * elf/Makefile (AVX-CFLAGS): Define.
25618         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25619         (CFLAGS-tst-auditmod4a.c): Likewise.
25620         (CFLAGS-tst-auditmod4b.c): Likewise.
25621         (CFLAGS-tst-auditmod6b.c): Likewise.
25622         (CFLAGS-tst-auditmod6c.c): Likewise.
25623         (CFLAGS-tst-auditmod7b.c): Likewise.
25624         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25626 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
25628         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25629         function to the callback.
25630         Patch partly by Jiri Olsa <jolsa@redhat.com>.
25632 2011-02-02  Andreas Schwab  <schwab@redhat.com>
25634         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25635         of errno.
25637 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
25639         [BZ #11724]
25640         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25641         of constructors.
25642         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25643         of destructors.
25644         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25646         [BZ #11724]
25647         * elf/Makefile: Add rules to build and run new test.
25648         * elf/tst-initorder.c: New file.
25649         * elf/tst-initorder.exp: New file.
25650         * elf/tst-initordera1.c: New file.
25651         * elf/tst-initordera2.c: New file.
25652         * elf/tst-initordera3.c: New file.
25653         * elf/tst-initordera4.c: New file.
25654         * elf/tst-initorderb1.c: New file.
25655         * elf/tst-initorderb2.c: New file.
25656         * elf/tst-order-a1.c: New file.
25657         * elf/tst-order-a2.c: New file.
25658         * elf/tst-order-a3.c: New file.
25659         * elf/tst-order-a4.c: New file.
25660         * elf/tst-order-b1.c: New file.
25661         * elf/tst-order-b2.c: New file.
25662         * elf/tst-order-main.c: New file.
25663         New test case by George Gensure <werkt0@gmail.com>.
25665 2010-10-01  Andreas Schwab  <schwab@redhat.com>
25667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25668         decoding ACE if AI_CANONIDN.
25670 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
25672         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25674 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
25676         * version.h (RELEASE): Bump for 2.13 release.
25677         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25679         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25681         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25682         MADV_NOHUGEPAGE.
25683         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25684         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25685         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25686         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25687         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25688         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25690         * posix/getconf.c: Update copyright year.
25691         * catgets/gencat.c: Likewise.
25692         * csu/version.c: Likewise.
25693         * debug/catchsegv.sh: Likewise.
25694         * debug/xtrace.sh: Likewise.
25695         * elf/ldconfig.c: Likewise.
25696         * elf/ldd.bash.in: Likewise.
25697         * elf/sprof.c (print_version): Likewise.
25698         * iconv/iconv_prog.c: Likewise.
25699         * iconv/iconvconfig.c: Likewise.
25700         * locale/programs/locale.c: Likewise.
25701         * locale/programs/localedef.c: Likewise.
25702         * malloc/memusage.sh: Likewise.
25703         * malloc/mtrace.pl: Likewise.
25704         * nscd/nscd.c (print_version): Likewise.
25705         * nss/getent.c: Likewise.
25707         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25708         PF_CAIF, and PF_ALG.
25709         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25711 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
25713         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25714         (modules-names): Use them.
25715         (ifunc-test-modules, ifunc-pie-tests): Define.
25716         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25717         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25718         (test-extras): Likewise.
25719         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25720         $(compile-command.c).
25721         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25722         (all-built-dso): Define.
25723         (check-textrel.out, check-execstack.out): Depend on it.
25725         * configure.in: Don't override --enable-multi-arch.
25727 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
25729         [BZ #6812]
25730         * nscd/hstcache.c (tryagain): Define.
25731         (cache_addhst): Return tryagain not notfound for temporary errors.
25732         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25733         failed.
25735 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
25737         [BZ #10563]
25738         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25739         to make the syscall.
25740         * sysdeps/unix/sysv/linux/setgroups.c: New file.
25742         [BZ #12378]
25743         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25744         and fall back to matching as normal character if the string ends before
25745         the matching ']' is found.  This is what POSIX requires.
25746         * posix/testfnm.c: Adjust test result.
25747         * posix/globtest.sh: Adjust test result.  Add new test.
25748         * posix/tst-fnmatch.input: Likewise.
25749         * posix/tst-fnmatch2.c: Add new test.
25751 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
25753         * elf/Makefile (check-execstack): Revert last change.  Depend on
25754         check-execstack.h.
25755         (check-execstack.h): New target.
25756         (generated): Add check-execstack.h.
25757         * elf/check-execstack.c: Include "check-execstack.h".
25758         (main): Revert last change.
25759         (handle_file): Return zero if GNU_STACK is absent and
25760         DEFAULT_STACK_PERMS doesn't include PF_X.
25762 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
25764         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25765         in child fails because the descriptor is already closed.
25766         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25767         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25768         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25770         [BZ #12397]
25771         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25772         syscall.
25774         [BZ #10484]
25775         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25776         temporary buffer used to handle multi lookups locally.
25777         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25779 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25781         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25782         loader is ld.so.
25784 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
25786         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25787         alignment for SSE2.
25789 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25791         [BZ #12394]
25792         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25793         characters.  When rounding increased number of integer digits recompute
25794         number of groups.
25795         * stdio-common/tst-grouping.c: New file.
25796         * stdio-common/Makefile: Add rules to build and run tst-grouping.
25798 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
25800         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25801         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
25803         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25804         void.
25805         * bits/select.h: Likewise.
25807 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
25809         * po/ja.po: Update from translation team.
25811 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
25813         [BZ #11155]
25814         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25815         implementation just like for lxstat, fxstatat, et al.
25817 2010-12-27  Jim Meyering  <meyering@redhat.com>
25819         [BZ #12348]
25820         * posix/regexec.c (build_trtable): Return failure indication upon
25821         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
25823 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
25825         [BZ #12201]
25826         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25827         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25828         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25829         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25831         [BZ #12207]
25832         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25834         [BZ #12204]
25835         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25836         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25838 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25840         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25841         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25842         script has SORT_BY_INIT_PRIORITY.
25843         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25844         NO_CTORS_DTORS_SECTIONS is defined.
25845         * elf/soinit.c: Likewise.
25846         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25847         NO_CTORS_DTORS_SECTIONS is defined.
25848         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25849         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25850         * sysdeps/sh/init-first.c: Likewise.
25851         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25853 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
25855         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25856         always use the slow path.
25858 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
25860         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25861         similar rule which adds the sysdep directories to the header search in
25862         order to pick up the correct platform stackinfo.h.
25863         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25864         perform test if it is, otherwise return successfully without testing.
25865         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25866         DEFAULT_STACK_PERMS define in stackinfo.h.
25867         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25868         defined in stackinfo.h.
25869         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25870         DEFAULT_STACK_PERMS defined in stackinfo.h.
25871         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25872         * sysdeps/ia64/stackinfo.h: Likewise.
25873         * sysdeps/s390/stackinfo.h: Likewise.
25874         * sysdeps/sh/stackinfo.h: Likewise.
25875         * sysdeps/sparc/stackinfo.h: Likewise.
25876         * sysdeps/x86_64/stackinfo.h: Likewise.
25877         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25878         PF_X for powerpc64.  Retain PF_X for powerpc32.
25880 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
25882         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25883         accurately.
25884         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25885         GETDENTS_64BIT_ALIGNED.
25887 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
25889         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25891 2010-12-10  Andreas Schwab  <schwab@redhat.com>
25893         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25894         _GNU_SOURCE.
25896         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25897         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25898         Remove __restrict.
25899         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25900         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25902 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
25904         [BZ #11655]
25905         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25906         are initialized.
25908 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
25910         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25912 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
25914         * po/it.po: Update from translation team.
25916 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25918         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25919         unused codes.
25921 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
25923         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25925 2010-11-24  Andreas Schwab  <schwab@redhat.com>
25927         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25928         specially.
25929         (gaih_getanswer_slice): Likewise.
25931 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
25933         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25935 2010-05-31  Petr Baudis  <pasky@suse.cz>
25937         [BZ #11149]
25938         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25939         silently even in the chroot mode.
25941 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
25943         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25944         last patch a bit.  Pretty printing
25946 2010-05-31  Petr Baudis <pasky@suse.cz>
25948         [BZ #10085]
25949         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25950         initialization of skip_initgroups_dyn.
25952 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
25954         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25955         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25957 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
25959         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25961 2010-11-11  Andreas Schwab  <schwab@redhat.com>
25963         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25964         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25965         (tst-fnmatch-ENV): Set MALLOC_TRACE.
25966         ($(objpfx)tst-fnmatch-mem): New rule.
25967         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25968         * posix/tst-fnmatch.c (main): Call mtrace.
25970 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
25972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25973         Support Intel processor model 6 and model 0x2c.
25975 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
25977         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25978           signed comparison.
25980 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
25982         [BZ #12205]
25983         * string/test-strncasecmp.c (check_result): New function.
25984         (do_one_test): Use it.
25985         (check1): New function.
25986         (test_main): Use it.
25987         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25988         Support strcasecmp and strncasecmp.
25990 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
25992         [BZ #12194]
25993         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25994         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25996 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25998         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25999         IFUNC support.
26000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26001         memset-x86-64.
26002         * sysdeps/x86_64/multiarch/bzero.S: New file.
26003         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26004         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26005         * sysdeps/x86_64/multiarch/memset.S: New file.
26006         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26008         Set bit_Prefer_SSE_for_memop for Intel processors.
26009         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26010         Define.
26011         (index_Prefer_SSE_for_memop): Define.
26012         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26014 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26016         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26017         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26019 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26021         [BZ #12191]
26022         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26023         (__x86_64_raw_data_cache_size_half): Likewise.
26024         (__x86_64_raw_shared_cache_size): Likewise.
26025         (__x86_64_raw_shared_cache_size_half): Likewise.
26027         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26028         (__x86_64_raw_data_cache_size_half): Likewise.
26029         (__x86_64_raw_shared_cache_size): Likewise.
26030         (__x86_64_raw_shared_cache_size_half): Likewise.
26031         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26032         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26033         and __x86_64_raw_shared_cache_size_half.  Round
26034         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26035         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26036         to multiple of 256 bytes.
26038 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26040         [BZ #12167]
26041         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26042         of inacessible symlinks.  Verify result of symlink before returning it.
26043         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26044         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26046 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26048         * math/math.h (isinf): Fix typo in comment.
26050 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26052         * po/da.po: Update from translation team.
26054 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26056         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26057         is added to the list.
26059 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26060             Ulrich Drepper  <drepper@gmail.com>
26062         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26063         the global list here.  Move code to...
26064         (_dl_add_to_namespace_list): ...here.  New function.
26065         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26066         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26067         * elf/dl-load.c (lose): Don't remove the element from the list.
26068         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26069         (_dl_map_object): Likewise.
26071 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26073         [BZ #12159]
26074         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26075         into all bytes of SSE register.
26076         Patch by Richard Li <richardpku@gmail.com>.
26078 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26080         [BZ #12140]
26081         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26082         perturbing.
26084 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26086         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26087         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26088         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26089         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26091         submachine.
26092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26094 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26096         * include/dlfcn.h (__RTLD_SECURE): Define.
26097         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26098         mode & __RTLD_SECURE instead.
26099         (open_path): Rename preloaded parameter to secure.
26100         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26101         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26102         * elf/dl-deps.c (openaux): Likewise.
26103         * elf/rtld.c (struct map_args): Remove is_preloaded.
26104         (map_doit): Don't use it.
26105         (dl_main): Likewise.
26106         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26107         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26109 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26111         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26112         (sysd-rules-targets): Remove duplicates.
26113         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26114         rtld-%.$o dependency.
26116 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26118         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26119         _dl_map_object do it.
26121 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26123         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26124         fast fma builtins, define the macros in the C99 standard.
26125         (FP_FAST_FMAF): Likewise.
26126         (FP_FAST_FMAL): Likewise.
26127         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26129         * bits/mathdef.h: Update copyright year.
26130         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26132 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26134         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26135         builtins, define the macros in the C99 standard.
26136         (FP_FAST_FMAF): Likewise.
26137         (FP_FAST_FMAL): Likewise.
26138         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26139         multiply/add.
26140         (FP_FAST_FMAF): Likewise.
26142 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26144         [BZ #3268]
26145         * math/libm-test.inc (fma_test): Some new testcases.
26146         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26147         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26148         y and infinite z.  Do multiplication by C already in long double.
26149         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26150         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26151         y and infinite z.  Do bitwise or of inexact bit into u.d.
26152         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26153         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26154         * sysdeps/i386/fpu/s_fma.S: Removed.
26155         * sysdeps/i386/fpu/s_fmal.S: Removed.
26157 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26159         [BZ #3268]
26160         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26162         computation is not scheduled after fetestexcept.  Fix value
26163         of minimum denormal long double.
26165 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26167         [BZ #3268]
26168         * math/libm-test.inc (fma_test): Add some more tests.
26169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26170         correctly.
26172 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26174         * scripts/data/localplt-s390-linux-gnu.data: New file.
26175         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26177 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26179         [BZ #3268]
26180         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26181         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26182         instead of dbl-64.
26183         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26184         inlines.
26185         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26187         if one of x and y is very large and the other is subnormal.
26188         * sysdeps/s390/fpu/s_fmaf.c: New file.
26189         * sysdeps/s390/fpu/s_fma.c: New file.
26190         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26191         * sysdeps/powerpc/fpu/s_fma.S: New file.
26192         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26193         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26194         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26196 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26198         [BZ #3268]
26199         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26200         fma tests.
26201         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26202         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26203         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26204         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26205         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26206         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26207         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26209 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26211         [BZ #12078]
26212         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26213         * posix/bug-regex31.input: Add test case.
26215 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26217         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26218         * posix/bug-regex31.input: New file.
26220         [BZ #12078]
26221         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26222         (parse_sub_exp): Fix last change, use postorder.
26224         * posix/bug-regex31.c: New file.
26225         * posix/Makefile: Add rules to build and run bug-regex31.
26227         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26229         [BZ #12078]
26230         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26232         [BZ #12108]
26233         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26234         to have entries in sys_siglist.
26236         [BZ #12093]
26237         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26238         be NULL.
26240 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26242         [BZ #3268]
26243         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26244         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26245         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26246         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26247         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26248         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26249         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26250         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26251         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26252         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26253         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26254         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26255         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26256         * math/ftestexcept.c (fetestexcept): Likewise.
26257         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26258         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26259         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26260         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26261         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26262         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26263         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26265 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26267         [BZ #12107]
26268         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26269         newline.
26271 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26273         * string/bug-strstr1.c: New file.
26274         * string/Makefile: Add rules to build and run bug-strstr1.
26276 2010-10-05  Eric Blake  <eblake@redhat.com>
26278         [BZ #12092]
26279         * string/str-two-way.h (two_way_long_needle): Always clear memory
26280         when skipping input due to the shift table.
26282 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26284         [BZ #12005]
26285         * malloc/mcheck.c: Handle large requests.
26287         [BZ #12077]
26288         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26289         for strncmp and strncasecmp.
26290         * string/stratcliff.c: Add tests for strcmp and strncmp.
26291         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26293 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26295         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26296         __set_fpscr.
26298 2010-09-30  Andreas Jaeger  <aj@suse.de>
26300         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26301         (CGROUP_SUPER_MAGIC): Define.
26302         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26303         Handle btrfs and cgroup file systems.
26304         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26305         Likewise.
26307 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26309         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26310         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26312 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26314         [BZ #12067]
26315         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26316         trying to locate the ELF header.
26318 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26320         [BZ #11611]
26321         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26322         Mask out sign-bit copies when constructing f_fsid.
26324 2010-09-24  Petr Baudis <pasky@suse.cz>
26326         * debug/stack_chk_fail_local.c: Add missing licence exception.
26327         * debug/warning-nop.c: Likewise.
26329 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26331         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26332         implementing getdents64 using getdents syscall, set d_type if
26333         __ASSUME_GETDENTS32_D_TYPE.
26335 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26337         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26338         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26340 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26342         [BZ #12037]
26343         * posix/unistd.h: Undo change of feature selection for ftruncate from
26344         2010-01-11.
26346 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26348         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26349         detection.
26351 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26353         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26354         fanotify_mark.
26355         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26357 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26359         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26360         variables after CHECK_SP call.
26361         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26363 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26364             Ulrich Drepper  <drepper@redhat.com>
26366         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26367         re-relocationg ld.so.
26368         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26369         _dl_init_paths call.
26370         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26371         here anymore.
26373 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26375         * resolv/res_init.c (__res_vinit): Count the default server we added.
26377 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26378             Ulrich Drepper  <drepper@redhat.com>
26380         [BZ #11968]
26381         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26382         (____longjmp_chk): Use %ebx for saving value across system call.
26383         Add unwind info.
26385 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26387         * manual/Makefile: Don't mix pattern rules with normal rules.
26389 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26391         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26392         operation.
26393         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26394         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26395         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26396         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26397         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26398         Likewise.
26400 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26402         [BZ #11979]
26403         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26404         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26406 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26408         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26409         * sysdeps/x86_64/addmul_1.S: Likewise.
26410         * sysdeps/x86_64/lshift.S: Likewise.
26411         * sysdeps/x86_64/mul_1.S: Likewise.
26412         * sysdeps/x86_64/rshift.S: Likewise.
26413         * sysdeps/x86_64/sub_n.S: Likewise.
26414         * sysdeps/x86_64/submul_1.S: Likewise.
26416 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26418         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26419         Define __sched_param instead of SCHED_* and sched_param when
26420         <bits/sched.h> is included with __need_schedparam defined.
26421         * bits/sched.h [__need_schedparam]
26422         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26423         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26424         (__defined_schedparam): Define to 1.
26425         (__sched_param): New structure, identical to sched_param.
26426         (__need_schedparam): Undefine.
26428 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26430         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26431         (epoll_create1): Declare.
26433         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26435 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26437         [BZ #7066]
26438         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26439         shifting retval into place.
26441 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26443         * nis/rpcsvc/nis.h: Update copyright notice.
26444         * nis/rpcsvc/nis.x: Likewise.
26445         * nis/rpcsvc/nis_callback.h: Likewise.
26446         * nis/rpcsvc/nis_callback.x: Likewise.
26447         * nis/rpcsvc/nis_object.x: Likewise.
26448         * nis/rpcsvc/nis_tags.h: Likewise.
26449         * nis/rpcsvc/yp.h: Likewise.
26450         * nis/rpcsvc/yp.x: Likewise.
26451         * nis/rpcsvc/ypupd.h: Likewise.
26452         * nis/yp_xdr.c: Likewise.
26453         * nis/ypupdate_xdr.c: Likewise.
26455         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26456         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26457         (pmap_getport): Use __libc_rpc_getport.
26458         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26459         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26460         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26462 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26465         fanotify_mark.
26467 2010-08-27  Roland McGrath  <roland@redhat.com>
26469         * sysdeps/i386/i686/multiarch/Makefile
26470         (CFLAGS-varshift.c): New variable.
26472 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26474         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26475         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26477         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26479         * sysdeps/x86_64/strlen.S: Minimal code improvement.
26481 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26483         * sysdeps/x86_64/strlen.S: Unroll the loop.
26484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26485         strlen-sse2 strlen-sse2-bsf.
26486         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26487         __strlen_no_bsf if bit_Slow_BSF is set.
26488         (__strlen_sse42): Removed.
26489         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26490         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26492 2010-08-25  Roland McGrath  <roland@redhat.com>
26494         * sysdeps/x86_64/multiarch/varshift.S: File removed.
26495         * sysdeps/x86_64/multiarch/varshift.c: New file.
26496         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26497         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26498         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26499         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26501 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26503         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26504         strlen-sse2 strlen-sse2-bsf.
26505         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26506         __strlen_sse2_bsf if bit_Slow_BSF is unset.
26507         (__strlen_sse2): Removed.
26508         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26509         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26511         bit_Slow_BSF for Atom.
26512         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26513         (index_Slow_BSF): Define.
26514         (HAS_SLOW_BSF): Define.
26516 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
26518         [BZ #10851]
26519         * resolv/res_init.c (__res_vinit): When no server address at all
26520         is given default to loopback.
26522 2010-08-24  Roland McGrath  <roland@redhat.com>
26524         * configure.in: Remove config-name.h generation.
26525         * configure: Regenerated.
26526         * config-name.in: File removed.
26527         * scripts/config-uname.sh: New file.
26528         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26529         ($(objdir)config-name.h): New target.
26531         * sunrpc/rpc_parse.h: Avoid nested comment.
26533 2010-08-24  Richard Henderson  <rth@redhat.com>
26534             Ulrich Drepper  <drepper@redhat.com>
26535             H.J. Lu  <hongjiu.lu@intel.com>
26537         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26539         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26540         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
26541         _mm_alignr_epi8 with _mm_loadu_si128.
26542         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26543         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26544         (__m128i_shift_right): Removed.
26545         * sysdeps/i386/i686/multiarch/varshift.h: New file.
26546         * sysdeps/i386/i686/multiarch/varshift.S: New file.
26547         * sysdeps/x86_64/multiarch/varshift.h: New file.
26548         * sysdeps/x86_64/multiarch/varshift.S: New file.
26550 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
26552         * configure.in: Move assembler checks to before sysdep dir checking.
26554 2010-08-20  Petr Baudis  <pasky@suse.cz>
26556         * LICENSES: Sync the sunrpc license.
26558 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
26560         * sunrpc/auth_des.c: Update copyright notice once again.
26561         * sunrpc/auth_none.c: Likewise.
26562         * sunrpc/auth_unix.c: Likewise.
26563         * sunrpc/authdes_prot.c: Likewise.
26564         * sunrpc/authuxprot.c: Likewise.
26565         * sunrpc/bindrsvprt.c: Likewise.
26566         * sunrpc/clnt_gen.c: Likewise.
26567         * sunrpc/clnt_perr.c: Likewise.
26568         * sunrpc/clnt_raw.c: Likewise.
26569         * sunrpc/clnt_simp.c: Likewise.
26570         * sunrpc/clnt_tcp.c: Likewise.
26571         * sunrpc/clnt_udp.c: Likewise.
26572         * sunrpc/clnt_unix.c: Likewise.
26573         * sunrpc/des_crypt.c: Likewise.
26574         * sunrpc/des_soft.c: Likewise.
26575         * sunrpc/get_myaddr.c: Likewise.
26576         * sunrpc/getrpcport.c: Likewise.
26577         * sunrpc/key_call.c: Likewise.
26578         * sunrpc/key_prot.c: Likewise.
26579         * sunrpc/openchild.c: Likewise.
26580         * sunrpc/pm_getmaps.c: Likewise.
26581         * sunrpc/pm_getport.c: Likewise.
26582         * sunrpc/pmap_clnt.c: Likewise.
26583         * sunrpc/pmap_prot.c: Likewise.
26584         * sunrpc/pmap_prot2.c: Likewise.
26585         * sunrpc/pmap_rmt.c: Likewise.
26586         * sunrpc/rpc/auth.h: Likewise.
26587         * sunrpc/rpc/auth_unix.h: Likewise.
26588         * sunrpc/rpc/clnt.h: Likewise.
26589         * sunrpc/rpc/des_crypt.h: Likewise.
26590         * sunrpc/rpc/key_prot.h: Likewise.
26591         * sunrpc/rpc/netdb.h: Likewise.
26592         * sunrpc/rpc/pmap_clnt.h: Likewise.
26593         * sunrpc/rpc/pmap_prot.h: Likewise.
26594         * sunrpc/rpc/pmap_rmt.h: Likewise.
26595         * sunrpc/rpc/rpc.h: Likewise.
26596         * sunrpc/rpc/rpc_des.h: Likewise.
26597         * sunrpc/rpc/rpc_msg.h: Likewise.
26598         * sunrpc/rpc/svc.h: Likewise.
26599         * sunrpc/rpc/svc_auth.h: Likewise.
26600         * sunrpc/rpc/types.h: Likewise.
26601         * sunrpc/rpc/xdr.h: Likewise.
26602         * sunrpc/rpc_clntout.c: Likewise.
26603         * sunrpc/rpc_cmsg.c: Likewise.
26604         * sunrpc/rpc_common.c: Likewise.
26605         * sunrpc/rpc_cout.c: Likewise.
26606         * sunrpc/rpc_dtable.c: Likewise.
26607         * sunrpc/rpc_hout.c: Likewise.
26608         * sunrpc/rpc_main.c: Likewise.
26609         * sunrpc/rpc_parse.c: Likewise.
26610         * sunrpc/rpc_parse.h: Likewise.
26611         * sunrpc/rpc_prot.c: Likewise.
26612         * sunrpc/rpc_sample.c: Likewise.
26613         * sunrpc/rpc_scan.c: Likewise.
26614         * sunrpc/rpc_scan.h: Likewise.
26615         * sunrpc/rpc_svcout.c: Likewise.
26616         * sunrpc/rpc_tblout.c: Likewise.
26617         * sunrpc/rpc_util.c: Likewise.
26618         * sunrpc/rpc_util.h: Likewise.
26619         * sunrpc/rpcinfo.c: Likewise.
26620         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26621         * sunrpc/rpcsvc/key_prot.x: Likewise.
26622         * sunrpc/rpcsvc/klm_prot.x: Likewise.
26623         * sunrpc/rpcsvc/mount.x: Likewise.
26624         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26625         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26626         * sunrpc/rpcsvc/rex.x: Likewise.
26627         * sunrpc/rpcsvc/rstat.x: Likewise.
26628         * sunrpc/rpcsvc/rusers.x: Likewise.
26629         * sunrpc/rpcsvc/sm_inter.x: Likewise.
26630         * sunrpc/rpcsvc/spray.x: Likewise.
26631         * sunrpc/rpcsvc/yppasswd.x: Likewise.
26632         * sunrpc/rtime.c: Likewise.
26633         * sunrpc/svc.c: Likewise.
26634         * sunrpc/svc_auth.c: Likewise.
26635         * sunrpc/svc_authux.c: Likewise.
26636         * sunrpc/svc_raw.c: Likewise.
26637         * sunrpc/svc_run.c: Likewise.
26638         * sunrpc/svc_simple.c: Likewise.
26639         * sunrpc/svc_tcp.c: Likewise.
26640         * sunrpc/svc_udp.c: Likewise.
26641         * sunrpc/svc_unix.c: Likewise.
26642         * sunrpc/svcauth_des.c: Likewise.
26643         * sunrpc/xcrypt.c: Likewise.
26644         * sunrpc/xdr.c: Likewise.
26645         * sunrpc/xdr_array.c: Likewise.
26646         * sunrpc/xdr_float.c: Likewise.
26647         * sunrpc/xdr_mem.c: Likewise.
26648         * sunrpc/xdr_rec.c: Likewise.
26649         * sunrpc/xdr_ref.c: Likewise.
26650         * sunrpc/xdr_sizeof.c: Likewise.
26651         * sunrpc/xdr_stdio.c: Likewise.
26653         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26654         handling.
26656 2010-08-19  Andreas Schwab  <schwab@redhat.com>
26658         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26660 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
26662         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26663         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26664         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26665         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26666         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26667         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26668         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26669         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26670         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26671         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26672         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26673         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26674         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26675         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26677 2010-07-26  Anton Blanchard  <anton@samba.org>
26679         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26680         * malloc/arena.c (heap_trim): Likewise.
26682 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
26684         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26685         here.  Not...
26686         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26687         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26689 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26691         * sysdeps/i386/elf/Makefile: New file.
26693 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26695         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26696         from fanotify_init.
26697         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26698         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26700 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
26702         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26703         of strncasecmp_l.
26704         * sysdeps/multiarch/strcmp.S: Likewise.
26706 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
26708         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26709         strncase_l-nonascii.
26710         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26711         Add strncase_l-ssse3.
26712         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26713         * sysdeps/x86_64/strcmp.S: Likewise.
26714         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26715         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26716         * sysdeps/x86_64/strncase.S: New file.
26717         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26718         * sysdeps/x86_64/strncase_l.S: New file.
26719         * string/Makefile (strop-tests): Add strncasecmp.
26720         * string/test-strncasecmp.c: New file.
26722         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26723         warning.
26725         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26726         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26728 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26730         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26732 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
26734         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26735         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26736         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26738 2010-05-01  Alan Modra  <amodra@gmail.com>
26740         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26741         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26742         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26743         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26744         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26745         tidying.  Don't tail-call __sigjmp_save for static lib.
26746         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26747         save location.
26748         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26749         (CALL_MCOUNT): Add eh info, and nop after bl.
26750         (TAIL_CALL_SYSCALL_ERROR): New macro.
26751         (PSEUDO_RET): Use it.
26752         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26753         Correct save location of integer regs and cr.
26754         (_dl_profile_resolve): Correct cr save location.  Delete nops
26755         after bl when SHARED.  Reduce cfi size a little by better
26756         placement of cfi directives.
26757         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26758         make a stack frame.  Instead use parm save area as a temp.
26759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26760         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
26761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26762         Don't make a stack frame for parent, use parm save area.
26763         Increase child stack frame to 112 bytes.  Don't save unused reg,
26764         and adjust reg usage.  Set up cfi on error recovery and
26765         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26767         (__makecontext): Add dummy nop after jump to exit.
26768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26769         Use correct parm save area and cr save, reduce stack frame.
26770         Correct cfi for possible PSEUDO_RET frame setup.
26771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26772         Branch to local label emitted by PSEUDO_RET rather than
26773         __syscall_error.
26775 2010-08-12  Andreas Schwab  <schwab@redhat.com>
26777         [BZ #11904]
26778         * locale/programs/locale.c (print_assignment): New function.
26779         (show_locale_vars): Use it.
26781 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
26783         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26784         field.
26785         (struct statfs64): Likewise.
26786         (_STATFS_F_FLAGS): Define.
26787         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26788         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26789         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26790         (ST_VALID): Define locally.
26791         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26792         __statvfs_getflags, use the provided value.
26793         * sysdeps/unix/sysv/linux/kernel-features.h: Define
26794         __ASSUME_STATFS_F_FLAGS.
26796         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26798         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26799         Add sys/fanotify.h.
26800         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26801         fanotify_mask for GLIBC_2.13.
26802         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26803         fanotify_init and fanotify_mark.
26804         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26805         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26807         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26808         Add prlimit.
26809         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26810         prlimit64 for GLIBC_2.13.
26811         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26812         prlimit64.
26813         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26814         syscall.
26815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26816         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26817         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26818         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26819         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
26820         add prlimit alias.
26821         * sysdeps/unix/sysv/linux/prlimit.c: New file.
26823         [BZ #11903]
26824         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26825         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26827         * nss/Makefile: Add rules to build and run tst-nss-test1.
26828         * shlib-versions: Add entry for libnss_test1.
26829         * nss/nss_test1.c: New file.
26830         * nss/tst-nss-test1.c: New file.
26832         * nss/nsswitch.c (__nss_database_custom): Define new variable.
26833         (__nss_configure_lookup): Set appropriate entry in
26834         __nss_configure_lookup to true.
26835         * nss/nsswitch.h: Define enum with indeces of databases in
26836         databases and __nss_database_custom arrays.  Declare
26837         __nss_database_custom.
26838         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26839         to avoid using nscd when custom rules are installed.
26840         * nss/getXXbyYY_r.c: Likewise.
26841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26843         * nss/nss_files/files-parse.c: Whitespace fixes.
26845 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
26847         [BZ #11883]
26848         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26849         * posix/fnmatch_loop.c: Likewise.
26851 2010-07-17  Andi Kleen  <ak@linux.intel.com>
26853         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26854         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26855         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26856         * Versions.def [GLIBC_2.13]: Add.
26858 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
26860         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26861         Also fail if tpwd after pwuid call is NULL.
26863 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26865         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26866         when converting to ms.
26868 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26870         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26871         EOPNOTSUPP errors with ENOTTY.
26872         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26873         EOPNOTSUPP errors with ENOTTY.
26875 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
26877         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26878         Add strcasecmp_l-ssse3.
26879         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26880         strcasecmp.
26881         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26882         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26883         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26885 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
26887         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26889         * string/Makefile (strop-tests): Add strcasecmp.
26890         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26891         strcasecmp_l-nonascii.
26892         (gen-as-const-headers): Add locale-defines.sym.
26893         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26894         * sysdeps/x86_64/strcasecmp.S: New file.
26895         * sysdeps/x86_64/strcasecmp_l.S: New file.
26896         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26897         * sysdeps/x86_64/locale-defines.sym: New file.
26898         * string/test-strcasecmp.c: New file.
26900         * string/test-strcasestr.c: Test both ends of the range of characters.
26901         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26903 2010-07-29  Roland McGrath  <roland@redhat.com>
26905         [BZ #11856]
26906         * manual/locale.texi (Yes-or-No Questions): Fix example code.
26908 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
26910         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26911         for ld.so.
26913 2010-07-27  Andreas Schwab  <schwab@redhat.com>
26915         * manual/memory.texi (Malloc Tunable Parameters): Document
26916         M_PERTURB.
26918 2010-07-26  Roland McGrath  <roland@redhat.com>
26920         [BZ #11840]
26921         * configure.in (-fgnu89-inline check): Set and substitute
26922         gnu89_inline, not libc_cv_gnu89_inline.
26923         * configure: Regenerated.
26924         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26926 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
26928         * string/test-strnlen.c: New file.
26929         * string/Makefile (strop-tests): Add strnlen.
26930         * string/tester.c (test_strnlen): Add a few more test cases.
26931         * string/tst-strlen.c: Better error reporting.
26933         * sysdeps/x86_64/strnlen.S: New file.
26935 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
26937         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26938         lower-latency instructions.
26940 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
26942         * string/test-strcasestr.c: New file.
26943         * string/test-strstr.c: New file.
26944         * string/Makefile (strop-tests): Add strstr and strcasestr.
26945         * string/str-two-way.h: Don't undefine MAX.
26946         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26948 2010-07-21  Andreas Schwab  <schwab@redhat.com>
26950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26951         strcasestr-nonascii.
26952         (CFLAGS-strcasestr-nonascii.c): Define.
26953         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26954         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26955         Remove unused attribute.
26957 2010-07-20  Roland McGrath  <roland@redhat.com>
26959         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26960         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
26961         ld.so.cache was broken.  With it, there is no way to disable dsocaps
26962         like LD_HWCAP_MASK can disable hwcaps.
26964 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26966         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26968 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
26970         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26971         call in strcasestr.
26972         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26973         __strcasestr_sse42_nonascii.
26974         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26975         strcasestr-nonascii.c.
26976         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26978 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
26980         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26981         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26982         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26983         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26985 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
26987         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26988         fcntl.
26990 2010-07-06  Andreas Schwab  <schwab@redhat.com>
26992         [BZ #11577]
26993         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26994         dl_signal_cerror.
26996 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
26998         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26999         _PC_PIPE_BUF using F_GETPIPE_SZ.
27001 2010-07-05  Roland McGrath  <roland@redhat.com>
27003         * manual/arith.texi (Rounding Functions): Fix rint description
27004         implicit in round description.
27006 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27008         * elf/Makefile: Fix linking for a few tests to make recent linker
27009         happy.
27011 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27013         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27014         $(common-objpfx)libc_nonshared.a.
27016 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27018         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27019         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27020         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27021         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27022         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27023         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27024         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27025         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27040         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27041         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27042         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27043         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27044         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27045         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27046         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27047         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27048         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27049         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27050         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27051         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27067 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27069         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27070         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27071         * string/memmove.c (memmove): Renamed to ...
27072         (MEMMOVE): ...this.  Default to memmove.
27073         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27074         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27075         (END_CHK): Define.
27076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27077         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27078         mempcpy-ssse3-back memmove-ssse3-back.
27079         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27080         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27081         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27082         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27083         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27084         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27085         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27086         * sysdeps/x86_64/multiarch/memmove.c: New file.
27087         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27088         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27089         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27090         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27091         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27092         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27093         Define.
27094         (index_Fast_Copy_Backward): Define.
27095         (HAS_ARCH_FEATURE): Define.
27096         (HAS_FAST_REP_STRING): Define.
27097         (HAS_FAST_COPY_BACKWARD): Define.
27099 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27101         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27102         Restore proper fallback handling.
27104 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27106         [BZ #11701]
27107         * posix/group_member.c (__group_member): Correct checking loop.
27109         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27110         OOM in getpwuid_r correctly.  Return error number when the caller
27111         should return, otherwise -1.
27112         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27113         call returning > 0 value.
27114         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27116 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27118         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27119         libc_nonshared.a from targets in modules-names.
27121 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27123         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27124         requires it.
27126 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27128         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27129         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27130         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27131         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27133 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27135         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27137 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27139         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27140         and F_GETPIPE_SZ.
27141         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27142         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27144         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27145         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27146         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27148 2010-06-14  Roland McGrath  <roland@redhat.com>
27150         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27152 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27154         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27155         __REDIRECT followed by __THROW.
27156         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27157         * posix/getopt.h (getopt): Likewise.
27159 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27161         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27162         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27163         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27164         in AT_FLAGS.
27165         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27166         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27168 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27170         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27172 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27174         [BZ #11640]
27175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27176         Properly check family and model.
27178 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27180         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27182 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27184         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27186 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27188         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27189         symbol reference.
27191 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27193         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27194         symbol reference.
27196 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27198         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27199         and internal_recvmmsg.
27200         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27201         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27202         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27203         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27205         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27206         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27207         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27209 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27211         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27213 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27215         POWER7 optimizations.
27216         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27217         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27219 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27221         * version.h: Update for 2.13 development version.
27223 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27225         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27226         exceptions.  Return 0.
27228 2010-05-07  Roland McGrath  <roland@redhat.com>
27230         * elf/ldconfig.c (main): Add a const.
27232 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27234         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27235         (args_options): Add no-idn option.
27236         (ahosts_keys_int): Add idn_flags to ai_flags.
27237         (parse_option): Handle 'i' option to clear idn_flags.
27239         * malloc/malloc.c (_int_free): Possible race in the most recently
27240         added check.  Only act on the data if no current modification
27241         happened.
27243 See ChangeLog.17 for earlier changes.